@aerogel/core 0.1.1-next.01bc3a1d850a91b650f8cade6c0dd8e44109e0d8 → 0.1.1-next.095137d5f89c4b989d4961087f7a670de815e07f
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 +402 -115
- package/dist/aerogel-core.js +1713 -1306
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +2 -1
- package/src/bootstrap/index.ts +2 -1
- package/src/components/AppLayout.vue +1 -1
- package/src/components/contracts/Combobox.ts +5 -0
- package/src/components/contracts/Modal.ts +2 -0
- package/src/components/contracts/Select.ts +98 -4
- package/src/components/contracts/index.ts +1 -0
- package/src/components/headless/HeadlessInputInput.vue +9 -3
- 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/AdvancedOptions.vue +4 -13
- package/src/components/ui/Combobox.vue +94 -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 +67 -0
- package/src/components/ui/Details.vue +33 -0
- package/src/components/ui/Input.vue +12 -4
- package/src/components/ui/LoadingModal.vue +1 -2
- package/src/components/ui/Modal.vue +30 -11
- package/src/components/ui/ProgressBar.vue +16 -2
- package/src/components/ui/Select.vue +2 -0
- package/src/components/ui/SelectTrigger.vue +13 -2
- package/src/components/ui/SettingsModal.vue +1 -1
- package/src/components/ui/index.ts +6 -0
- package/src/components/vue/Provide.vue +11 -0
- package/src/components/vue/index.ts +1 -0
- package/src/errors/Errors.ts +4 -0
- package/src/forms/FormController.test.ts +4 -4
- package/src/forms/FormController.ts +7 -3
- package/src/forms/index.ts +11 -0
- package/src/forms/utils.ts +36 -17
- package/src/forms/validation.ts +5 -1
- package/src/index.css +10 -0
- package/src/jobs/Job.ts +1 -1
- package/src/services/App.state.ts +1 -0
- package/src/services/App.ts +4 -0
- package/src/services/index.ts +7 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/time.ts +2 -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';
|
|
@@ -164,7 +167,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
|
|
|
164
167
|
as?: string;
|
|
165
168
|
}> & Readonly<{
|
|
166
169
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
167
|
-
}>, "id" | "value" | "name" | "description" | "
|
|
170
|
+
}>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
168
171
|
id: string;
|
|
169
172
|
name: ComputedRef<string | undefined>;
|
|
170
173
|
label: ComputedRef<string | undefined>;
|
|
@@ -180,46 +183,50 @@ default?(_: {}): any;
|
|
|
180
183
|
}) | null;
|
|
181
184
|
}, any>;
|
|
182
185
|
|
|
183
|
-
declare const __VLS_component_19: DefineComponent<
|
|
186
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
187
|
+
|
|
188
|
+
declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
189
|
+
|
|
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, {
|
|
184
199
|
align: "start" | "center" | "end" | undefined;
|
|
185
200
|
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
186
201
|
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
187
202
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
188
203
|
|
|
189
|
-
declare const
|
|
190
|
-
|
|
191
|
-
declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
204
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
192
205
|
select: () => any;
|
|
193
|
-
}, string, PublicProps, Readonly<
|
|
206
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
194
207
|
onSelect?: (() => any) | undefined;
|
|
195
208
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
196
209
|
|
|
197
|
-
declare const
|
|
210
|
+
declare const __VLS_component_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
198
211
|
|
|
199
|
-
declare const
|
|
212
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
200
213
|
update: (value: string | number) => any;
|
|
201
214
|
save: () => any;
|
|
202
|
-
}, string, PublicProps, Readonly<
|
|
215
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
203
216
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
204
217
|
onSave?: (() => any) | undefined;
|
|
205
218
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
206
219
|
$inputRef: HTMLInputElement;
|
|
207
220
|
}, HTMLDivElement>;
|
|
208
221
|
|
|
209
|
-
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>;
|
|
210
223
|
|
|
211
|
-
declare const
|
|
224
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
212
225
|
submit: () => any;
|
|
213
|
-
}, string, PublicProps, Readonly<
|
|
226
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
214
227
|
onSubmit?: (() => any) | undefined;
|
|
215
228
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
216
229
|
|
|
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
|
-
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_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & 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,7 +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<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
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>;
|
|
254
|
+
|
|
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>;
|
|
243
258
|
|
|
244
259
|
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
245
260
|
|
|
@@ -351,32 +366,62 @@ declare type __VLS_PrettifyLocal_5<T> = {
|
|
|
351
366
|
[K in keyof T]: T[K];
|
|
352
367
|
} & {};
|
|
353
368
|
|
|
369
|
+
declare type __VLS_PrettifyLocal_6<T> = {
|
|
370
|
+
[K in keyof T]: T[K];
|
|
371
|
+
} & {};
|
|
372
|
+
|
|
354
373
|
declare type __VLS_Props = InputProps & {
|
|
355
374
|
as?: string;
|
|
356
375
|
};
|
|
357
376
|
|
|
358
377
|
declare type __VLS_Props_10 = {
|
|
359
|
-
|
|
378
|
+
label?: string;
|
|
379
|
+
contentClass?: HTMLAttributes['class'];
|
|
380
|
+
summaryClass?: HTMLAttributes['class'];
|
|
360
381
|
};
|
|
361
382
|
|
|
362
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 = {
|
|
402
|
+
report: ErrorReport;
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
declare type __VLS_Props_15 = {
|
|
363
406
|
report: ErrorReport;
|
|
364
407
|
currentReport?: number;
|
|
365
408
|
totalReports?: number;
|
|
366
409
|
};
|
|
367
410
|
|
|
368
|
-
declare type
|
|
411
|
+
declare type __VLS_Props_16 = {
|
|
369
412
|
form?: FormController;
|
|
370
413
|
};
|
|
371
414
|
|
|
372
|
-
declare type
|
|
415
|
+
declare type __VLS_Props_17 = InputProps & {
|
|
373
416
|
inputClass?: HTMLAttributes['class'];
|
|
374
417
|
wrapperClass?: HTMLAttributes['class'];
|
|
418
|
+
descriptionClass?: HTMLAttributes['class'];
|
|
419
|
+
errorClass?: HTMLAttributes['class'];
|
|
375
420
|
};
|
|
376
421
|
|
|
377
|
-
declare type
|
|
422
|
+
declare type __VLS_Props_18 = Omit<ButtonProps, 'variant'>;
|
|
378
423
|
|
|
379
|
-
declare type
|
|
424
|
+
declare type __VLS_Props_19 = {
|
|
380
425
|
as?: string;
|
|
381
426
|
inline?: boolean;
|
|
382
427
|
langKey?: string;
|
|
@@ -386,35 +431,36 @@ declare type __VLS_Props_15 = {
|
|
|
386
431
|
actions?: Record<string, () => unknown>;
|
|
387
432
|
};
|
|
388
433
|
|
|
389
|
-
declare type
|
|
434
|
+
declare type __VLS_Props_2 = {
|
|
435
|
+
type?: string;
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
declare type __VLS_Props_20 = {
|
|
390
439
|
filledClass?: string;
|
|
440
|
+
overflowClass?: string;
|
|
391
441
|
progress?: number;
|
|
392
442
|
job?: Falsifiable<Job>;
|
|
393
443
|
};
|
|
394
444
|
|
|
395
|
-
declare type
|
|
445
|
+
declare type __VLS_Props_21 = {
|
|
396
446
|
class?: HTMLAttributes['class'];
|
|
397
447
|
};
|
|
398
448
|
|
|
399
|
-
declare type
|
|
449
|
+
declare type __VLS_Props_22 = {
|
|
400
450
|
value: AcceptableValue;
|
|
401
451
|
class?: HTMLAttributes['class'];
|
|
402
452
|
innerClass?: HTMLAttributes['class'];
|
|
403
453
|
};
|
|
404
454
|
|
|
405
|
-
declare type
|
|
455
|
+
declare type __VLS_Props_23 = {
|
|
406
456
|
class?: HTMLAttributes['class'];
|
|
407
457
|
};
|
|
408
458
|
|
|
409
|
-
declare type
|
|
410
|
-
type?: string;
|
|
411
|
-
};
|
|
412
|
-
|
|
413
|
-
declare type __VLS_Props_20 = {
|
|
459
|
+
declare type __VLS_Props_24 = {
|
|
414
460
|
class?: HTMLAttributes['class'];
|
|
415
461
|
};
|
|
416
462
|
|
|
417
|
-
declare type
|
|
463
|
+
declare type __VLS_Props_25 = {
|
|
418
464
|
title: string;
|
|
419
465
|
titleId?: string;
|
|
420
466
|
description?: string;
|
|
@@ -422,15 +468,20 @@ declare type __VLS_Props_21 = {
|
|
|
422
468
|
layout?: 'vertical' | 'horizontal';
|
|
423
469
|
};
|
|
424
470
|
|
|
425
|
-
declare type
|
|
471
|
+
declare type __VLS_Props_26 = InputProps & {
|
|
426
472
|
inputClass?: HTMLAttributes['class'];
|
|
427
473
|
wrapperClass?: HTMLAttributes['class'];
|
|
428
474
|
};
|
|
429
475
|
|
|
430
|
-
declare type
|
|
476
|
+
declare type __VLS_Props_27 = ToastProps & {
|
|
431
477
|
class?: HTMLAttributes['class'];
|
|
432
478
|
};
|
|
433
479
|
|
|
480
|
+
declare type __VLS_Props_28 = {
|
|
481
|
+
name: string;
|
|
482
|
+
value: unknown;
|
|
483
|
+
};
|
|
484
|
+
|
|
434
485
|
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
435
486
|
|
|
436
487
|
declare type __VLS_Props_4 = SelectItemProps;
|
|
@@ -445,22 +496,12 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
445
496
|
labelClass?: HTMLAttributes['class'];
|
|
446
497
|
};
|
|
447
498
|
|
|
448
|
-
declare type __VLS_Props_7 =
|
|
449
|
-
class?: HTMLAttributes['class'];
|
|
450
|
-
} & PrimitiveProps;
|
|
499
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
451
500
|
|
|
452
|
-
declare type __VLS_Props_8 =
|
|
453
|
-
type?: string;
|
|
454
|
-
contentClass?: HTMLAttributes['class'];
|
|
455
|
-
ariaLabel?: string;
|
|
456
|
-
formAriaHidden?: boolean;
|
|
457
|
-
tabindex?: string;
|
|
458
|
-
text: string;
|
|
459
|
-
disabled?: boolean;
|
|
460
|
-
};
|
|
501
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
461
502
|
|
|
462
503
|
declare type __VLS_Props_9 = {
|
|
463
|
-
|
|
504
|
+
newInputValue?: (value: string) => Nullable<FormFieldValue>;
|
|
464
505
|
};
|
|
465
506
|
|
|
466
507
|
declare function __VLS_template(): {
|
|
@@ -615,7 +656,7 @@ declare function __VLS_template_18(): {
|
|
|
615
656
|
as?: string;
|
|
616
657
|
}> & Readonly<{
|
|
617
658
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
618
|
-
}>, "id" | "value" | "name" | "description" | "
|
|
659
|
+
}>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
619
660
|
id: string;
|
|
620
661
|
name: ComputedRef<string | undefined>;
|
|
621
662
|
label: ComputedRef<string | undefined>;
|
|
@@ -637,7 +678,6 @@ declare function __VLS_template_19(): {
|
|
|
637
678
|
attrs: Partial<{}>;
|
|
638
679
|
slots: {
|
|
639
680
|
default?(_: {}): any;
|
|
640
|
-
options?(_: {}): any;
|
|
641
681
|
};
|
|
642
682
|
refs: {};
|
|
643
683
|
rootEl: any;
|
|
@@ -664,13 +704,42 @@ declare function __VLS_template_20(): {
|
|
|
664
704
|
declare function __VLS_template_21(): {
|
|
665
705
|
attrs: Partial<{}>;
|
|
666
706
|
slots: {
|
|
707
|
+
label?(_: {}): any;
|
|
667
708
|
default?(_: {}): any;
|
|
668
709
|
};
|
|
669
710
|
refs: {};
|
|
670
|
-
rootEl:
|
|
711
|
+
rootEl: HTMLDetailsElement;
|
|
671
712
|
};
|
|
672
713
|
|
|
673
714
|
declare function __VLS_template_22(): {
|
|
715
|
+
attrs: Partial<{}>;
|
|
716
|
+
slots: {
|
|
717
|
+
default?(_: {}): any;
|
|
718
|
+
options?(_: {}): any;
|
|
719
|
+
};
|
|
720
|
+
refs: {};
|
|
721
|
+
rootEl: any;
|
|
722
|
+
};
|
|
723
|
+
|
|
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(): {
|
|
674
743
|
attrs: Partial<{}>;
|
|
675
744
|
slots: {
|
|
676
745
|
default?(_: {}): any;
|
|
@@ -681,7 +750,7 @@ declare function __VLS_template_22(): {
|
|
|
681
750
|
rootEl: HTMLDivElement;
|
|
682
751
|
};
|
|
683
752
|
|
|
684
|
-
declare function
|
|
753
|
+
declare function __VLS_template_26(): {
|
|
685
754
|
attrs: Partial<{}>;
|
|
686
755
|
slots: Readonly<{
|
|
687
756
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -692,7 +761,7 @@ declare function __VLS_template_23(): {
|
|
|
692
761
|
rootEl: HTMLDivElement;
|
|
693
762
|
};
|
|
694
763
|
|
|
695
|
-
declare function
|
|
764
|
+
declare function __VLS_template_27(): {
|
|
696
765
|
attrs: Partial<{}>;
|
|
697
766
|
slots: {
|
|
698
767
|
default?(_: {}): any;
|
|
@@ -701,7 +770,7 @@ declare function __VLS_template_24(): {
|
|
|
701
770
|
rootEl: HTMLFormElement;
|
|
702
771
|
};
|
|
703
772
|
|
|
704
|
-
declare function
|
|
773
|
+
declare function __VLS_template_28(): {
|
|
705
774
|
attrs: Partial<{}>;
|
|
706
775
|
slots: {
|
|
707
776
|
default?(_: {}): any;
|
|
@@ -710,7 +779,7 @@ declare function __VLS_template_25(): {
|
|
|
710
779
|
rootEl: any;
|
|
711
780
|
};
|
|
712
781
|
|
|
713
|
-
declare function
|
|
782
|
+
declare function __VLS_template_29(): {
|
|
714
783
|
attrs: Partial<{}>;
|
|
715
784
|
slots: Readonly<{
|
|
716
785
|
default?(): VNode[];
|
|
@@ -721,7 +790,7 @@ declare function __VLS_template_26(): {
|
|
|
721
790
|
rootEl: any;
|
|
722
791
|
};
|
|
723
792
|
|
|
724
|
-
declare function
|
|
793
|
+
declare function __VLS_template_3(): {
|
|
725
794
|
attrs: Partial<{}>;
|
|
726
795
|
slots: {
|
|
727
796
|
default?(_: {}): any;
|
|
@@ -730,7 +799,7 @@ declare function __VLS_template_27(): {
|
|
|
730
799
|
rootEl: any;
|
|
731
800
|
};
|
|
732
801
|
|
|
733
|
-
declare function
|
|
802
|
+
declare function __VLS_template_30(): {
|
|
734
803
|
attrs: Partial<{}>;
|
|
735
804
|
slots: {
|
|
736
805
|
default?(_: {}): any;
|
|
@@ -739,26 +808,26 @@ declare function __VLS_template_28(): {
|
|
|
739
808
|
rootEl: any;
|
|
740
809
|
};
|
|
741
810
|
|
|
742
|
-
declare function
|
|
811
|
+
declare function __VLS_template_31(): {
|
|
743
812
|
attrs: Partial<{}>;
|
|
744
813
|
slots: {
|
|
745
814
|
default?(_: {}): any;
|
|
746
|
-
default?(_: {}): any;
|
|
747
815
|
};
|
|
748
816
|
refs: {};
|
|
749
817
|
rootEl: any;
|
|
750
818
|
};
|
|
751
819
|
|
|
752
|
-
declare function
|
|
820
|
+
declare function __VLS_template_32(): {
|
|
753
821
|
attrs: Partial<{}>;
|
|
754
822
|
slots: {
|
|
755
823
|
default?(_: {}): any;
|
|
824
|
+
default?(_: {}): any;
|
|
756
825
|
};
|
|
757
826
|
refs: {};
|
|
758
827
|
rootEl: any;
|
|
759
828
|
};
|
|
760
829
|
|
|
761
|
-
declare function
|
|
830
|
+
declare function __VLS_template_33(): {
|
|
762
831
|
attrs: Partial<{}>;
|
|
763
832
|
slots: {
|
|
764
833
|
default?(_: {}): any;
|
|
@@ -767,6 +836,15 @@ declare function __VLS_template_30(): {
|
|
|
767
836
|
rootEl: HTMLDivElement;
|
|
768
837
|
};
|
|
769
838
|
|
|
839
|
+
declare function __VLS_template_34(): {
|
|
840
|
+
attrs: Partial<{}>;
|
|
841
|
+
slots: {
|
|
842
|
+
default?(_: {}): any;
|
|
843
|
+
};
|
|
844
|
+
refs: {};
|
|
845
|
+
rootEl: any;
|
|
846
|
+
};
|
|
847
|
+
|
|
770
848
|
declare function __VLS_template_4(): {
|
|
771
849
|
attrs: Partial<{}>;
|
|
772
850
|
slots: {
|
|
@@ -949,6 +1027,14 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
949
1027
|
|
|
950
1028
|
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
951
1029
|
|
|
1030
|
+
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
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
|
+
|
|
952
1038
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
953
1039
|
|
|
954
1040
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1105,6 +1191,30 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
|
1105
1191
|
};
|
|
1106
1192
|
};
|
|
1107
1193
|
|
|
1194
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
1195
|
+
new (): {
|
|
1196
|
+
$slots: S;
|
|
1197
|
+
};
|
|
1198
|
+
};
|
|
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
|
+
|
|
1108
1218
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1109
1219
|
new (): {
|
|
1110
1220
|
$slots: S;
|
|
@@ -1197,6 +1307,7 @@ export declare class AppService extends _default_3 {
|
|
|
1197
1307
|
isReady(): boolean;
|
|
1198
1308
|
isMounted(): boolean;
|
|
1199
1309
|
addSetting(setting: AppSetting): void;
|
|
1310
|
+
setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
|
|
1200
1311
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1201
1312
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1202
1313
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
@@ -1212,7 +1323,7 @@ export declare interface AppSetting {
|
|
|
1212
1323
|
export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1213
1324
|
|
|
1214
1325
|
export declare function booleanInput(defaultValue?: boolean, options?: {
|
|
1215
|
-
rules?: string;
|
|
1326
|
+
rules?: string[];
|
|
1216
1327
|
}): FormFieldDefinition<'boolean'>;
|
|
1217
1328
|
|
|
1218
1329
|
export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
|
|
@@ -1256,6 +1367,118 @@ export declare function classes(...inputs: ClassValue[]): string;
|
|
|
1256
1367
|
|
|
1257
1368
|
export { closeModal }
|
|
1258
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
|
+
|
|
1259
1482
|
export declare type ComponentPropDefinitions<T> = {
|
|
1260
1483
|
[K in keyof T]: {
|
|
1261
1484
|
type?: PropType<T[K]>;
|
|
@@ -1334,7 +1557,7 @@ export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>
|
|
|
1334
1557
|
export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
|
|
1335
1558
|
|
|
1336
1559
|
export declare function dateInput(defaultValue?: Date, options?: {
|
|
1337
|
-
rules?: string;
|
|
1560
|
+
rules?: string[];
|
|
1338
1561
|
}): FormFieldDefinition<'date'>;
|
|
1339
1562
|
|
|
1340
1563
|
declare const _default: ServiceWithState< {
|
|
@@ -1368,6 +1591,7 @@ environment: string;
|
|
|
1368
1591
|
version: string;
|
|
1369
1592
|
sourceUrl: string | undefined;
|
|
1370
1593
|
settings: AppSetting[];
|
|
1594
|
+
settingsFullscreenOnMobile: boolean;
|
|
1371
1595
|
}, {
|
|
1372
1596
|
development: boolean;
|
|
1373
1597
|
staging: boolean;
|
|
@@ -1381,6 +1605,7 @@ environment: string;
|
|
|
1381
1605
|
version: string;
|
|
1382
1606
|
sourceUrl: string | undefined;
|
|
1383
1607
|
settings: AppSetting[];
|
|
1608
|
+
settingsFullscreenOnMobile: boolean;
|
|
1384
1609
|
}>>;
|
|
1385
1610
|
|
|
1386
1611
|
declare const _default_4: ServiceWithState< {
|
|
@@ -1406,7 +1631,7 @@ export declare type DefaultServiceState = any;
|
|
|
1406
1631
|
|
|
1407
1632
|
export declare function defineDirective<TValue = any, TModifiers extends string = string>(directive: Directive<any, TValue, TModifiers>): Directive<any, TValue, TModifiers>;
|
|
1408
1633
|
|
|
1409
|
-
export declare function
|
|
1634
|
+
export declare function defineFormValidationRules<T extends Record<string, FormFieldValidator>>(rules: T): T;
|
|
1410
1635
|
|
|
1411
1636
|
export declare function definePlugin<T extends Plugin_2>(plugin: T): T;
|
|
1412
1637
|
|
|
@@ -1424,9 +1649,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1424
1649
|
|
|
1425
1650
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1426
1651
|
|
|
1652
|
+
export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1653
|
+
|
|
1427
1654
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1428
1655
|
|
|
1429
|
-
export declare const DropdownMenu:
|
|
1656
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1430
1657
|
|
|
1431
1658
|
export declare interface DropdownMenuExpose {
|
|
1432
1659
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1434,7 +1661,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1434
1661
|
options?: readonly DropdownMenuOptionData[];
|
|
1435
1662
|
}
|
|
1436
1663
|
|
|
1437
|
-
export declare const DropdownMenuOption:
|
|
1664
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1438
1665
|
|
|
1439
1666
|
export declare type DropdownMenuOptionData = {
|
|
1440
1667
|
label: string;
|
|
@@ -1446,7 +1673,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1446
1673
|
class?: string;
|
|
1447
1674
|
};
|
|
1448
1675
|
|
|
1449
|
-
export declare const DropdownMenuOptions:
|
|
1676
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1450
1677
|
|
|
1451
1678
|
export declare interface DropdownMenuProps {
|
|
1452
1679
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1454,7 +1681,7 @@ export declare interface DropdownMenuProps {
|
|
|
1454
1681
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1455
1682
|
}
|
|
1456
1683
|
|
|
1457
|
-
export declare const EditableContent:
|
|
1684
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1458
1685
|
|
|
1459
1686
|
export declare interface ElementSize {
|
|
1460
1687
|
width: number;
|
|
@@ -1462,7 +1689,7 @@ export declare interface ElementSize {
|
|
|
1462
1689
|
}
|
|
1463
1690
|
|
|
1464
1691
|
export declare function enumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
|
|
1465
|
-
rules?: string;
|
|
1692
|
+
rules?: string[];
|
|
1466
1693
|
}): FormFieldDefinition<'enum', string, T>;
|
|
1467
1694
|
|
|
1468
1695
|
export declare type ErrorHandler = (error: ErrorSource) => boolean;
|
|
@@ -1473,7 +1700,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1473
1700
|
|
|
1474
1701
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1475
1702
|
|
|
1476
|
-
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>;
|
|
1477
1704
|
|
|
1478
1705
|
export declare interface ErrorReport {
|
|
1479
1706
|
title: string;
|
|
@@ -1492,7 +1719,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1492
1719
|
$content: ModalContentInstance;
|
|
1493
1720
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1494
1721
|
|
|
1495
|
-
export declare const ErrorReportModalButtons:
|
|
1722
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1496
1723
|
|
|
1497
1724
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1498
1725
|
id: string;
|
|
@@ -1510,7 +1737,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1510
1737
|
reports: ErrorReport[];
|
|
1511
1738
|
}
|
|
1512
1739
|
|
|
1513
|
-
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>;
|
|
1514
1741
|
|
|
1515
1742
|
export declare const Errors: Facade<ErrorsService>;
|
|
1516
1743
|
|
|
@@ -1520,6 +1747,7 @@ declare class ErrorsService extends _default {
|
|
|
1520
1747
|
forceReporting: boolean;
|
|
1521
1748
|
private enabled;
|
|
1522
1749
|
private eruda;
|
|
1750
|
+
private erudaPlugins;
|
|
1523
1751
|
enable(): void;
|
|
1524
1752
|
disable(): void;
|
|
1525
1753
|
inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
|
|
@@ -1589,7 +1817,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1589
1817
|
|
|
1590
1818
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1591
1819
|
|
|
1592
|
-
export declare const Form:
|
|
1820
|
+
export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1593
1821
|
|
|
1594
1822
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1595
1823
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1604,6 +1832,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
|
|
|
1604
1832
|
setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
|
|
1605
1833
|
getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
|
|
1606
1834
|
getFieldRules<T extends keyof Fields>(field: T): string[];
|
|
1835
|
+
setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
|
|
1607
1836
|
getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
|
|
1608
1837
|
data(): FormData_2<Fields>;
|
|
1609
1838
|
validate(): boolean;
|
|
@@ -1639,7 +1868,7 @@ export declare interface FormFieldDefinition<TType extends FormFieldType = FormF
|
|
|
1639
1868
|
type: TType;
|
|
1640
1869
|
trim?: boolean;
|
|
1641
1870
|
default?: GetFormFieldValue<TType>;
|
|
1642
|
-
rules?: TRules;
|
|
1871
|
+
rules?: TRules[];
|
|
1643
1872
|
values?: readonly TValueType[];
|
|
1644
1873
|
[__valueType]?: TValueType;
|
|
1645
1874
|
}
|
|
@@ -1713,10 +1942,11 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
|
|
|
1713
1942
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1714
1943
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1715
1944
|
expose(exposed: ShallowUnwrapRef< {
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
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>;
|
|
1720
1950
|
value: ComputedRef<T>;
|
|
1721
1951
|
id: string;
|
|
1722
1952
|
name: ComputedRef<string | undefined>;
|
|
@@ -1795,9 +2025,9 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1795
2025
|
|
|
1796
2026
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1797
2027
|
|
|
1798
|
-
export declare const Input: DefineComponent<
|
|
2028
|
+
export declare const Input: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1799
2029
|
"update:modelValue": (value: unknown) => any;
|
|
1800
|
-
}, string, PublicProps, Readonly<
|
|
2030
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1801
2031
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1802
2032
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1803
2033
|
$inputRef: ({
|
|
@@ -1864,7 +2094,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
|
|
|
1864
2094
|
as?: string;
|
|
1865
2095
|
}> & Readonly<{
|
|
1866
2096
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1867
|
-
}>, "id" | "value" | "name" | "description" | "
|
|
2097
|
+
}>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
1868
2098
|
id: string;
|
|
1869
2099
|
name: ComputedRef<string | undefined>;
|
|
1870
2100
|
label: ComputedRef<string | undefined>;
|
|
@@ -1972,7 +2202,7 @@ export declare const Layouts: {
|
|
|
1972
2202
|
readonly Desktop: "desktop";
|
|
1973
2203
|
};
|
|
1974
2204
|
|
|
1975
|
-
export declare const Link:
|
|
2205
|
+
export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
1976
2206
|
|
|
1977
2207
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
1978
2208
|
$content: ModalContentInstance;
|
|
@@ -1995,7 +2225,9 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
1995
2225
|
delay?: number;
|
|
1996
2226
|
}>;
|
|
1997
2227
|
|
|
1998
|
-
export declare const
|
|
2228
|
+
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2229
|
+
|
|
2230
|
+
export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
1999
2231
|
|
|
2000
2232
|
export declare interface MarkdownRouter {
|
|
2001
2233
|
resolve(route: string): string;
|
|
@@ -2011,10 +2243,12 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
|
|
|
2011
2243
|
watch?: boolean;
|
|
2012
2244
|
};
|
|
2013
2245
|
|
|
2246
|
+
export declare const MINUTE_MILLISECONDS = 60000;
|
|
2247
|
+
|
|
2014
2248
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2015
2249
|
|
|
2016
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2017
|
-
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 & {
|
|
2018
2252
|
wrapperClass?: HTMLAttributes["class"];
|
|
2019
2253
|
class?: HTMLAttributes["class"];
|
|
2020
2254
|
closeHidden?: boolean;
|
|
@@ -2043,6 +2277,8 @@ export declare interface ModalExpose {
|
|
|
2043
2277
|
|
|
2044
2278
|
export declare interface ModalProps {
|
|
2045
2279
|
persistent?: boolean;
|
|
2280
|
+
fullscreen?: boolean;
|
|
2281
|
+
fullscreenOnMobile?: boolean;
|
|
2046
2282
|
title?: string;
|
|
2047
2283
|
titleHidden?: boolean;
|
|
2048
2284
|
description?: string;
|
|
@@ -2060,11 +2296,11 @@ export declare interface ModalSlots<Result = never> {
|
|
|
2060
2296
|
export { ModalsPortal }
|
|
2061
2297
|
|
|
2062
2298
|
export declare function numberInput(defaultValue?: number, options?: {
|
|
2063
|
-
rules?: string;
|
|
2299
|
+
rules?: string[];
|
|
2064
2300
|
}): FormFieldDefinition<'number'>;
|
|
2065
2301
|
|
|
2066
2302
|
export declare function objectInput<T extends object>(defaultValue?: T, options?: {
|
|
2067
|
-
rules?: string;
|
|
2303
|
+
rules?: string[];
|
|
2068
2304
|
}): FormFieldDefinition<'object', string, T>;
|
|
2069
2305
|
|
|
2070
2306
|
export declare function onCleanMounted(operation: () => Function): void;
|
|
@@ -2085,7 +2321,7 @@ declare interface Plugin_2 {
|
|
|
2085
2321
|
}
|
|
2086
2322
|
export { Plugin_2 as Plugin }
|
|
2087
2323
|
|
|
2088
|
-
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>;
|
|
2089
2325
|
|
|
2090
2326
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2091
2327
|
$content: ModalContentInstance;
|
|
@@ -2126,6 +2362,8 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2126
2362
|
trim?: boolean;
|
|
2127
2363
|
}>;
|
|
2128
2364
|
|
|
2365
|
+
export declare const Provide: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
2366
|
+
|
|
2129
2367
|
export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
|
|
2130
2368
|
|
|
2131
2369
|
export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
|
|
@@ -2141,6 +2379,8 @@ export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
|
|
|
2141
2379
|
|
|
2142
2380
|
export declare function registerErrorHandler(handler: ErrorHandler_2): void;
|
|
2143
2381
|
|
|
2382
|
+
export declare function registerFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
|
|
2383
|
+
|
|
2144
2384
|
export declare function renderMarkdown(markdown: string): string;
|
|
2145
2385
|
|
|
2146
2386
|
export declare function renderVNode(node: VNode | string): string;
|
|
@@ -2151,24 +2391,36 @@ export declare type Replace<TOriginal extends Record<string, unknown>, TReplacem
|
|
|
2151
2391
|
|
|
2152
2392
|
export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
|
|
2153
2393
|
|
|
2154
|
-
export declare function requiredBooleanInput(defaultValue?: boolean
|
|
2394
|
+
export declare function requiredBooleanInput(defaultValue?: boolean, options?: {
|
|
2395
|
+
rules?: string[];
|
|
2396
|
+
}): FormFieldDefinition<'boolean', 'required'>;
|
|
2155
2397
|
|
|
2156
|
-
export declare function requiredDateInput(defaultValue?: Date
|
|
2398
|
+
export declare function requiredDateInput(defaultValue?: Date, options?: {
|
|
2399
|
+
rules?: string[];
|
|
2400
|
+
}): FormFieldDefinition<'date', 'required'>;
|
|
2157
2401
|
|
|
2158
|
-
export declare function requiredEnumInput<const T extends string>(values: readonly T[], defaultValue?: T
|
|
2402
|
+
export declare function requiredEnumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
|
|
2403
|
+
rules?: string[];
|
|
2404
|
+
}): FormFieldDefinition<'enum', 'required', T>;
|
|
2159
2405
|
|
|
2160
|
-
export declare function requiredNumberInput(defaultValue?: number
|
|
2406
|
+
export declare function requiredNumberInput(defaultValue?: number, options?: {
|
|
2407
|
+
rules?: string[];
|
|
2408
|
+
}): FormFieldDefinition<'number', 'required'>;
|
|
2161
2409
|
|
|
2162
|
-
export declare function requiredObjectInput<T extends object>(defaultValue?: T
|
|
2410
|
+
export declare function requiredObjectInput<T extends object>(defaultValue?: T, options?: {
|
|
2411
|
+
rules?: string[];
|
|
2412
|
+
}): FormFieldDefinition<'object', 'required', T>;
|
|
2163
2413
|
|
|
2164
|
-
export declare function requiredStringInput(defaultValue?: string
|
|
2414
|
+
export declare function requiredStringInput(defaultValue?: string, options?: {
|
|
2415
|
+
rules?: string[];
|
|
2416
|
+
}): FormFieldDefinition<'string', 'required'>;
|
|
2165
2417
|
|
|
2166
2418
|
export declare function resetPiniaStore(): Pinia;
|
|
2167
2419
|
|
|
2168
2420
|
export declare function safeHtml(html: string): string;
|
|
2169
2421
|
|
|
2170
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2171
|
-
props:
|
|
2422
|
+
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<{
|
|
2423
|
+
props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
|
|
2172
2424
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2173
2425
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2174
2426
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2188,15 +2440,16 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2188
2440
|
options: ComputedRef<Nullable<readonly SelectOptionData[]>>;
|
|
2189
2441
|
selectedOption: ComputedRef<Nullable<SelectOptionData>>;
|
|
2190
2442
|
placeholder: ComputedRef<string>;
|
|
2191
|
-
labelClass
|
|
2192
|
-
optionsClass
|
|
2443
|
+
labelClass: ComputedRef<HTMLAttributes['class']>;
|
|
2444
|
+
optionsClass: ComputedRef<HTMLAttributes['class']>;
|
|
2193
2445
|
align?: SelectContentProps['align'];
|
|
2194
2446
|
side?: SelectContentProps['side'];
|
|
2447
|
+
renderOption: (option: T) => string;
|
|
2195
2448
|
}
|
|
2196
2449
|
|
|
2197
|
-
export declare const SelectLabel:
|
|
2450
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2198
2451
|
|
|
2199
|
-
export declare const SelectOption:
|
|
2452
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2200
2453
|
|
|
2201
2454
|
export declare type SelectOptionData = {
|
|
2202
2455
|
key: string;
|
|
@@ -2204,7 +2457,7 @@ export declare type SelectOptionData = {
|
|
|
2204
2457
|
value: AcceptableValue;
|
|
2205
2458
|
};
|
|
2206
2459
|
|
|
2207
|
-
export declare const SelectOptions:
|
|
2460
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2208
2461
|
|
|
2209
2462
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2210
2463
|
as?: AsTag | Component;
|
|
@@ -2218,7 +2471,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2218
2471
|
side?: SelectContentProps['side'];
|
|
2219
2472
|
}
|
|
2220
2473
|
|
|
2221
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2474
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2222
2475
|
|
|
2223
2476
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2224
2477
|
static persist: string[];
|
|
@@ -2285,7 +2538,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2285
2538
|
|
|
2286
2539
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2287
2540
|
|
|
2288
|
-
export declare const Setting:
|
|
2541
|
+
export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2289
2542
|
|
|
2290
2543
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2291
2544
|
|
|
@@ -2305,16 +2558,16 @@ declare class StorageService extends Service {
|
|
|
2305
2558
|
}
|
|
2306
2559
|
|
|
2307
2560
|
export declare function stringInput(defaultValue?: string, options?: {
|
|
2308
|
-
rules?: string;
|
|
2561
|
+
rules?: string[];
|
|
2309
2562
|
}): FormFieldDefinition<'string'>;
|
|
2310
2563
|
|
|
2311
2564
|
export declare type SubmitFormListener = () => unknown;
|
|
2312
2565
|
|
|
2313
2566
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2314
2567
|
|
|
2315
|
-
export declare const TextArea: DefineComponent<
|
|
2568
|
+
export declare const TextArea: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2316
2569
|
"update:modelValue": (value: unknown) => any;
|
|
2317
|
-
}, string, PublicProps, Readonly<
|
|
2570
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
2318
2571
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2319
2572
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2320
2573
|
$inputRef: ({
|
|
@@ -2381,7 +2634,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
|
|
|
2381
2634
|
as?: string;
|
|
2382
2635
|
}> & Readonly<{
|
|
2383
2636
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2384
|
-
}>, "id" | "value" | "name" | "description" | "
|
|
2637
|
+
}>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
2385
2638
|
id: string;
|
|
2386
2639
|
name: ComputedRef<string | undefined>;
|
|
2387
2640
|
label: ComputedRef<string | undefined>;
|
|
@@ -2397,7 +2650,7 @@ default?(_: {}): any;
|
|
|
2397
2650
|
}) | null;
|
|
2398
2651
|
}, any>;
|
|
2399
2652
|
|
|
2400
|
-
export declare const Toast: DefineComponent<
|
|
2653
|
+
export declare const Toast: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2401
2654
|
|
|
2402
2655
|
export declare interface ToastAction {
|
|
2403
2656
|
label: string;
|
|
@@ -2547,6 +2800,38 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2547
2800
|
renderedCancelText: ComputedRef<string>;
|
|
2548
2801
|
};
|
|
2549
2802
|
|
|
2803
|
+
export declare function useSelect<T extends Nullable<FormFieldValue>>(props: Ref<SelectProps<T>>, emit: EmitFn<SelectEmits<T>>): {
|
|
2804
|
+
expose: {
|
|
2805
|
+
renderOption: (option: T) => string;
|
|
2806
|
+
labelClass: ComputedRef<any>;
|
|
2807
|
+
optionsClass: ComputedRef<any>;
|
|
2808
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
2809
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
2810
|
+
value: ComputedRef<T>;
|
|
2811
|
+
id: string;
|
|
2812
|
+
name: ComputedRef<string | undefined>;
|
|
2813
|
+
label: ComputedRef<string | undefined>;
|
|
2814
|
+
description: ComputedRef<string | undefined>;
|
|
2815
|
+
placeholder: ComputedRef<string>;
|
|
2816
|
+
options: ComputedRef<{
|
|
2817
|
+
key: string;
|
|
2818
|
+
label: string;
|
|
2819
|
+
value: AcceptableValue;
|
|
2820
|
+
}[] | null>;
|
|
2821
|
+
selectedOption: ComputedRef<{
|
|
2822
|
+
key: string;
|
|
2823
|
+
label: string;
|
|
2824
|
+
value: AcceptableValue;
|
|
2825
|
+
} | undefined>;
|
|
2826
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2827
|
+
required: ComputedRef<boolean | undefined>;
|
|
2828
|
+
update(value: T): void;
|
|
2829
|
+
};
|
|
2830
|
+
acceptableValue: ComputedRef<AcceptableValue>;
|
|
2831
|
+
update: (value: AcceptableValue) => void;
|
|
2832
|
+
renderOption: (option: T) => string;
|
|
2833
|
+
};
|
|
2834
|
+
|
|
2550
2835
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2551
2836
|
|
|
2552
2837
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|
|
@@ -2622,6 +2907,8 @@ declare module '@aerogel/core' {
|
|
|
2622
2907
|
interface AerogelOptions {
|
|
2623
2908
|
services?: Record<string, Service>;
|
|
2624
2909
|
settings?: AppSetting[];
|
|
2910
|
+
formValidationRules?: Record<string, FormFieldValidator>;
|
|
2911
|
+
settingsFullscreenOnMobile?: boolean;
|
|
2625
2912
|
}
|
|
2626
2913
|
}
|
|
2627
2914
|
|
|
@@ -2632,6 +2919,11 @@ declare module 'vue' {
|
|
|
2632
2919
|
}
|
|
2633
2920
|
|
|
2634
2921
|
|
|
2922
|
+
declare global {
|
|
2923
|
+
var testingRuntime: AerogelTestingRuntime | undefined;
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2926
|
+
|
|
2635
2927
|
declare module '@aerogel/core' {
|
|
2636
2928
|
interface AerogelOptions {
|
|
2637
2929
|
components?: Partial<Partial<UIComponents>>;
|
|
@@ -2646,7 +2938,7 @@ declare module '@aerogel/core' {
|
|
|
2646
2938
|
|
|
2647
2939
|
|
|
2648
2940
|
declare global {
|
|
2649
|
-
var
|
|
2941
|
+
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2650
2942
|
}
|
|
2651
2943
|
|
|
2652
2944
|
|
|
@@ -2660,11 +2952,6 @@ declare module '@aerogel/core' {
|
|
|
2660
2952
|
}
|
|
2661
2953
|
|
|
2662
2954
|
|
|
2663
|
-
declare global {
|
|
2664
|
-
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2665
|
-
}
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
2955
|
declare module '@aerogel/core' {
|
|
2669
2956
|
interface EventsPayload {
|
|
2670
2957
|
'purge-storage': void;
|