@aerogel/core 0.1.1-next.9bd06e629f34098543a54bdb87e8996767876d42 → 0.1.1-next.a0176c6dfcf389f63a56ef9d70349b4fe1e6e316
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 +377 -95
- package/dist/aerogel-core.js +1675 -1314
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +2 -1
- package/src/components/AppLayout.vue +1 -1
- package/src/components/AppOverlays.vue +1 -1
- package/src/components/contracts/Button.ts +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/Toast.ts +1 -1
- package/src/components/contracts/index.ts +1 -0
- package/src/components/headless/HeadlessInputInput.vue +13 -5
- package/src/components/headless/HeadlessModal.vue +3 -12
- package/src/components/headless/HeadlessModalContent.vue +1 -1
- 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/Button.vue +1 -0
- package/src/components/ui/Combobox.vue +78 -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 +33 -0
- package/src/components/ui/Input.vue +12 -4
- package/src/components/ui/LoadingModal.vue +1 -2
- package/src/components/ui/Modal.vue +32 -13
- package/src/components/ui/ProgressBar.vue +16 -2
- package/src/components/ui/SettingsModal.vue +1 -1
- package/src/components/ui/Toast.vue +1 -0
- 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.ts +4 -0
- 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 +5 -0
- package/src/ui/UI.ts +2 -2
- package/src/ui/index.ts +1 -11
- package/src/ui/modals.ts +36 -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';
|
|
@@ -40,6 +43,7 @@ import { GlobalComponents } from 'vue';
|
|
|
40
43
|
import { GlobalDirectives } from 'vue';
|
|
41
44
|
import { HTMLAttributes } from 'vue';
|
|
42
45
|
import { InjectionKey } from 'vue';
|
|
46
|
+
import { injectModal } from '@noeldemartin/vue-modals';
|
|
43
47
|
import { JSError } from '@noeldemartin/utils';
|
|
44
48
|
import { LabelProps } from 'reka-ui';
|
|
45
49
|
import { Listeners } from '@noeldemartin/utils';
|
|
@@ -48,6 +52,7 @@ import { MagicObject } from '@noeldemartin/utils';
|
|
|
48
52
|
import { MaybeRef } from 'vue';
|
|
49
53
|
import { MethodOptions } from 'vue';
|
|
50
54
|
import { ModalComponent } from '@noeldemartin/vue-modals';
|
|
55
|
+
import { ModalController } from '@noeldemartin/vue-modals';
|
|
51
56
|
import { modals } from '@noeldemartin/vue-modals';
|
|
52
57
|
import { ModalsPortal } from '@noeldemartin/vue-modals';
|
|
53
58
|
import { nextTick } from 'vue';
|
|
@@ -68,7 +73,6 @@ import { Slot } from 'vue';
|
|
|
68
73
|
import { StateTree } from 'pinia';
|
|
69
74
|
import { Store } from 'pinia';
|
|
70
75
|
import { UnwrapNestedRefs } from 'vue';
|
|
71
|
-
import { useModal } from '@noeldemartin/vue-modals';
|
|
72
76
|
import { VNode } from 'vue';
|
|
73
77
|
import { VNodeProps } from 'vue';
|
|
74
78
|
import { WatchOptions } from 'vue';
|
|
@@ -179,46 +183,50 @@ default?(_: {}): any;
|
|
|
179
183
|
}) | null;
|
|
180
184
|
}, any>;
|
|
181
185
|
|
|
182
|
-
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, {
|
|
183
199
|
align: "start" | "center" | "end" | undefined;
|
|
184
200
|
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
185
201
|
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
186
202
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
187
203
|
|
|
188
|
-
declare const
|
|
189
|
-
|
|
190
|
-
declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
204
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
191
205
|
select: () => any;
|
|
192
|
-
}, string, PublicProps, Readonly<
|
|
206
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
193
207
|
onSelect?: (() => any) | undefined;
|
|
194
208
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
195
209
|
|
|
196
|
-
declare const
|
|
210
|
+
declare const __VLS_component_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
197
211
|
|
|
198
|
-
declare const
|
|
212
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
199
213
|
update: (value: string | number) => any;
|
|
200
214
|
save: () => any;
|
|
201
|
-
}, string, PublicProps, Readonly<
|
|
215
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
202
216
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
203
217
|
onSave?: (() => any) | undefined;
|
|
204
218
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
205
219
|
$inputRef: HTMLInputElement;
|
|
206
220
|
}, HTMLDivElement>;
|
|
207
221
|
|
|
208
|
-
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>;
|
|
209
223
|
|
|
210
|
-
declare const
|
|
224
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
211
225
|
submit: () => any;
|
|
212
|
-
}, string, PublicProps, Readonly<
|
|
226
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
213
227
|
onSubmit?: (() => any) | undefined;
|
|
214
228
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
215
229
|
|
|
216
|
-
declare const __VLS_component_25: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
217
|
-
|
|
218
|
-
declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
219
|
-
|
|
220
|
-
declare const __VLS_component_27: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
221
|
-
|
|
222
230
|
declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
223
231
|
|
|
224
232
|
declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -238,7 +246,15 @@ update(value: unknown): void;
|
|
|
238
246
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
239
247
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
240
248
|
|
|
241
|
-
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>;
|
|
242
258
|
|
|
243
259
|
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
244
260
|
|
|
@@ -350,32 +366,62 @@ declare type __VLS_PrettifyLocal_5<T> = {
|
|
|
350
366
|
[K in keyof T]: T[K];
|
|
351
367
|
} & {};
|
|
352
368
|
|
|
369
|
+
declare type __VLS_PrettifyLocal_6<T> = {
|
|
370
|
+
[K in keyof T]: T[K];
|
|
371
|
+
} & {};
|
|
372
|
+
|
|
353
373
|
declare type __VLS_Props = InputProps & {
|
|
354
374
|
as?: string;
|
|
355
375
|
};
|
|
356
376
|
|
|
357
377
|
declare type __VLS_Props_10 = {
|
|
358
|
-
|
|
378
|
+
label?: string;
|
|
379
|
+
contentClass?: HTMLAttributes['class'];
|
|
380
|
+
summaryClass?: HTMLAttributes['class'];
|
|
359
381
|
};
|
|
360
382
|
|
|
361
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 = {
|
|
362
406
|
report: ErrorReport;
|
|
363
407
|
currentReport?: number;
|
|
364
408
|
totalReports?: number;
|
|
365
409
|
};
|
|
366
410
|
|
|
367
|
-
declare type
|
|
411
|
+
declare type __VLS_Props_16 = {
|
|
368
412
|
form?: FormController;
|
|
369
413
|
};
|
|
370
414
|
|
|
371
|
-
declare type
|
|
415
|
+
declare type __VLS_Props_17 = InputProps & {
|
|
372
416
|
inputClass?: HTMLAttributes['class'];
|
|
373
417
|
wrapperClass?: HTMLAttributes['class'];
|
|
418
|
+
descriptionClass?: HTMLAttributes['class'];
|
|
419
|
+
errorClass?: HTMLAttributes['class'];
|
|
374
420
|
};
|
|
375
421
|
|
|
376
|
-
declare type
|
|
422
|
+
declare type __VLS_Props_18 = Omit<ButtonProps, 'variant'>;
|
|
377
423
|
|
|
378
|
-
declare type
|
|
424
|
+
declare type __VLS_Props_19 = {
|
|
379
425
|
as?: string;
|
|
380
426
|
inline?: boolean;
|
|
381
427
|
langKey?: string;
|
|
@@ -385,35 +431,36 @@ declare type __VLS_Props_15 = {
|
|
|
385
431
|
actions?: Record<string, () => unknown>;
|
|
386
432
|
};
|
|
387
433
|
|
|
388
|
-
declare type
|
|
434
|
+
declare type __VLS_Props_2 = {
|
|
435
|
+
type?: string;
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
declare type __VLS_Props_20 = {
|
|
389
439
|
filledClass?: string;
|
|
440
|
+
overflowClass?: string;
|
|
390
441
|
progress?: number;
|
|
391
442
|
job?: Falsifiable<Job>;
|
|
392
443
|
};
|
|
393
444
|
|
|
394
|
-
declare type
|
|
445
|
+
declare type __VLS_Props_21 = {
|
|
395
446
|
class?: HTMLAttributes['class'];
|
|
396
447
|
};
|
|
397
448
|
|
|
398
|
-
declare type
|
|
449
|
+
declare type __VLS_Props_22 = {
|
|
399
450
|
value: AcceptableValue;
|
|
400
451
|
class?: HTMLAttributes['class'];
|
|
401
452
|
innerClass?: HTMLAttributes['class'];
|
|
402
453
|
};
|
|
403
454
|
|
|
404
|
-
declare type
|
|
455
|
+
declare type __VLS_Props_23 = {
|
|
405
456
|
class?: HTMLAttributes['class'];
|
|
406
457
|
};
|
|
407
458
|
|
|
408
|
-
declare type
|
|
409
|
-
type?: string;
|
|
410
|
-
};
|
|
411
|
-
|
|
412
|
-
declare type __VLS_Props_20 = {
|
|
459
|
+
declare type __VLS_Props_24 = {
|
|
413
460
|
class?: HTMLAttributes['class'];
|
|
414
461
|
};
|
|
415
462
|
|
|
416
|
-
declare type
|
|
463
|
+
declare type __VLS_Props_25 = {
|
|
417
464
|
title: string;
|
|
418
465
|
titleId?: string;
|
|
419
466
|
description?: string;
|
|
@@ -421,15 +468,20 @@ declare type __VLS_Props_21 = {
|
|
|
421
468
|
layout?: 'vertical' | 'horizontal';
|
|
422
469
|
};
|
|
423
470
|
|
|
424
|
-
declare type
|
|
471
|
+
declare type __VLS_Props_26 = InputProps & {
|
|
425
472
|
inputClass?: HTMLAttributes['class'];
|
|
426
473
|
wrapperClass?: HTMLAttributes['class'];
|
|
427
474
|
};
|
|
428
475
|
|
|
429
|
-
declare type
|
|
476
|
+
declare type __VLS_Props_27 = ToastProps & {
|
|
430
477
|
class?: HTMLAttributes['class'];
|
|
431
478
|
};
|
|
432
479
|
|
|
480
|
+
declare type __VLS_Props_28 = {
|
|
481
|
+
name: string;
|
|
482
|
+
value: unknown;
|
|
483
|
+
};
|
|
484
|
+
|
|
433
485
|
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
434
486
|
|
|
435
487
|
declare type __VLS_Props_4 = SelectItemProps;
|
|
@@ -444,22 +496,12 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
444
496
|
labelClass?: HTMLAttributes['class'];
|
|
445
497
|
};
|
|
446
498
|
|
|
447
|
-
declare type __VLS_Props_7 =
|
|
448
|
-
class?: HTMLAttributes['class'];
|
|
449
|
-
} & PrimitiveProps;
|
|
499
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
450
500
|
|
|
451
|
-
declare type __VLS_Props_8 =
|
|
452
|
-
type?: string;
|
|
453
|
-
contentClass?: HTMLAttributes['class'];
|
|
454
|
-
ariaLabel?: string;
|
|
455
|
-
formAriaHidden?: boolean;
|
|
456
|
-
tabindex?: string;
|
|
457
|
-
text: string;
|
|
458
|
-
disabled?: boolean;
|
|
459
|
-
};
|
|
501
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
460
502
|
|
|
461
503
|
declare type __VLS_Props_9 = {
|
|
462
|
-
|
|
504
|
+
newInputValue?: (value: string) => Nullable<FormFieldValue>;
|
|
463
505
|
};
|
|
464
506
|
|
|
465
507
|
declare function __VLS_template(): {
|
|
@@ -636,7 +678,6 @@ declare function __VLS_template_19(): {
|
|
|
636
678
|
attrs: Partial<{}>;
|
|
637
679
|
slots: {
|
|
638
680
|
default?(_: {}): any;
|
|
639
|
-
options?(_: {}): any;
|
|
640
681
|
};
|
|
641
682
|
refs: {};
|
|
642
683
|
rootEl: any;
|
|
@@ -663,13 +704,42 @@ declare function __VLS_template_20(): {
|
|
|
663
704
|
declare function __VLS_template_21(): {
|
|
664
705
|
attrs: Partial<{}>;
|
|
665
706
|
slots: {
|
|
707
|
+
label?(_: {}): any;
|
|
666
708
|
default?(_: {}): any;
|
|
667
709
|
};
|
|
668
710
|
refs: {};
|
|
669
|
-
rootEl:
|
|
711
|
+
rootEl: HTMLDetailsElement;
|
|
670
712
|
};
|
|
671
713
|
|
|
672
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(): {
|
|
673
743
|
attrs: Partial<{}>;
|
|
674
744
|
slots: {
|
|
675
745
|
default?(_: {}): any;
|
|
@@ -680,7 +750,7 @@ declare function __VLS_template_22(): {
|
|
|
680
750
|
rootEl: HTMLDivElement;
|
|
681
751
|
};
|
|
682
752
|
|
|
683
|
-
declare function
|
|
753
|
+
declare function __VLS_template_26(): {
|
|
684
754
|
attrs: Partial<{}>;
|
|
685
755
|
slots: Readonly<{
|
|
686
756
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -691,7 +761,7 @@ declare function __VLS_template_23(): {
|
|
|
691
761
|
rootEl: HTMLDivElement;
|
|
692
762
|
};
|
|
693
763
|
|
|
694
|
-
declare function
|
|
764
|
+
declare function __VLS_template_27(): {
|
|
695
765
|
attrs: Partial<{}>;
|
|
696
766
|
slots: {
|
|
697
767
|
default?(_: {}): any;
|
|
@@ -700,7 +770,7 @@ declare function __VLS_template_24(): {
|
|
|
700
770
|
rootEl: HTMLFormElement;
|
|
701
771
|
};
|
|
702
772
|
|
|
703
|
-
declare function
|
|
773
|
+
declare function __VLS_template_28(): {
|
|
704
774
|
attrs: Partial<{}>;
|
|
705
775
|
slots: {
|
|
706
776
|
default?(_: {}): any;
|
|
@@ -709,7 +779,7 @@ declare function __VLS_template_25(): {
|
|
|
709
779
|
rootEl: any;
|
|
710
780
|
};
|
|
711
781
|
|
|
712
|
-
declare function
|
|
782
|
+
declare function __VLS_template_29(): {
|
|
713
783
|
attrs: Partial<{}>;
|
|
714
784
|
slots: Readonly<{
|
|
715
785
|
default?(): VNode[];
|
|
@@ -720,7 +790,7 @@ declare function __VLS_template_26(): {
|
|
|
720
790
|
rootEl: any;
|
|
721
791
|
};
|
|
722
792
|
|
|
723
|
-
declare function
|
|
793
|
+
declare function __VLS_template_3(): {
|
|
724
794
|
attrs: Partial<{}>;
|
|
725
795
|
slots: {
|
|
726
796
|
default?(_: {}): any;
|
|
@@ -729,7 +799,7 @@ declare function __VLS_template_27(): {
|
|
|
729
799
|
rootEl: any;
|
|
730
800
|
};
|
|
731
801
|
|
|
732
|
-
declare function
|
|
802
|
+
declare function __VLS_template_30(): {
|
|
733
803
|
attrs: Partial<{}>;
|
|
734
804
|
slots: {
|
|
735
805
|
default?(_: {}): any;
|
|
@@ -738,26 +808,26 @@ declare function __VLS_template_28(): {
|
|
|
738
808
|
rootEl: any;
|
|
739
809
|
};
|
|
740
810
|
|
|
741
|
-
declare function
|
|
811
|
+
declare function __VLS_template_31(): {
|
|
742
812
|
attrs: Partial<{}>;
|
|
743
813
|
slots: {
|
|
744
814
|
default?(_: {}): any;
|
|
745
|
-
default?(_: {}): any;
|
|
746
815
|
};
|
|
747
816
|
refs: {};
|
|
748
817
|
rootEl: any;
|
|
749
818
|
};
|
|
750
819
|
|
|
751
|
-
declare function
|
|
820
|
+
declare function __VLS_template_32(): {
|
|
752
821
|
attrs: Partial<{}>;
|
|
753
822
|
slots: {
|
|
754
823
|
default?(_: {}): any;
|
|
824
|
+
default?(_: {}): any;
|
|
755
825
|
};
|
|
756
826
|
refs: {};
|
|
757
827
|
rootEl: any;
|
|
758
828
|
};
|
|
759
829
|
|
|
760
|
-
declare function
|
|
830
|
+
declare function __VLS_template_33(): {
|
|
761
831
|
attrs: Partial<{}>;
|
|
762
832
|
slots: {
|
|
763
833
|
default?(_: {}): any;
|
|
@@ -766,6 +836,15 @@ declare function __VLS_template_30(): {
|
|
|
766
836
|
rootEl: HTMLDivElement;
|
|
767
837
|
};
|
|
768
838
|
|
|
839
|
+
declare function __VLS_template_34(): {
|
|
840
|
+
attrs: Partial<{}>;
|
|
841
|
+
slots: {
|
|
842
|
+
default?(_: {}): any;
|
|
843
|
+
};
|
|
844
|
+
refs: {};
|
|
845
|
+
rootEl: any;
|
|
846
|
+
};
|
|
847
|
+
|
|
769
848
|
declare function __VLS_template_4(): {
|
|
770
849
|
attrs: Partial<{}>;
|
|
771
850
|
slots: {
|
|
@@ -948,6 +1027,14 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
948
1027
|
|
|
949
1028
|
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
950
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
|
+
|
|
951
1038
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
952
1039
|
|
|
953
1040
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1104,6 +1191,30 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
|
1104
1191
|
};
|
|
1105
1192
|
};
|
|
1106
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
|
+
|
|
1107
1218
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1108
1219
|
new (): {
|
|
1109
1220
|
$slots: S;
|
|
@@ -1196,6 +1307,7 @@ export declare class AppService extends _default_3 {
|
|
|
1196
1307
|
isReady(): boolean;
|
|
1197
1308
|
isMounted(): boolean;
|
|
1198
1309
|
addSetting(setting: AppSetting): void;
|
|
1310
|
+
setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
|
|
1199
1311
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1200
1312
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1201
1313
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
@@ -1236,7 +1348,7 @@ export declare interface ButtonProps extends PrimitiveProps {
|
|
|
1236
1348
|
|
|
1237
1349
|
export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
|
|
1238
1350
|
|
|
1239
|
-
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
|
|
1351
|
+
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
|
|
1240
1352
|
|
|
1241
1353
|
declare const Cache_2: Facade<CacheService>;
|
|
1242
1354
|
export { Cache_2 as Cache }
|
|
@@ -1255,6 +1367,118 @@ export declare function classes(...inputs: ClassValue[]): string;
|
|
|
1255
1367
|
|
|
1256
1368
|
export { closeModal }
|
|
1257
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
|
+
|
|
1258
1482
|
export declare type ComponentPropDefinitions<T> = {
|
|
1259
1483
|
[K in keyof T]: {
|
|
1260
1484
|
type?: PropType<T[K]>;
|
|
@@ -1367,6 +1591,7 @@ environment: string;
|
|
|
1367
1591
|
version: string;
|
|
1368
1592
|
sourceUrl: string | undefined;
|
|
1369
1593
|
settings: AppSetting[];
|
|
1594
|
+
settingsFullscreenOnMobile: boolean;
|
|
1370
1595
|
}, {
|
|
1371
1596
|
development: boolean;
|
|
1372
1597
|
staging: boolean;
|
|
@@ -1380,6 +1605,7 @@ environment: string;
|
|
|
1380
1605
|
version: string;
|
|
1381
1606
|
sourceUrl: string | undefined;
|
|
1382
1607
|
settings: AppSetting[];
|
|
1608
|
+
settingsFullscreenOnMobile: boolean;
|
|
1383
1609
|
}>>;
|
|
1384
1610
|
|
|
1385
1611
|
declare const _default_4: ServiceWithState< {
|
|
@@ -1423,9 +1649,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1423
1649
|
|
|
1424
1650
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1425
1651
|
|
|
1652
|
+
export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1653
|
+
|
|
1426
1654
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1427
1655
|
|
|
1428
|
-
export declare const DropdownMenu:
|
|
1656
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1429
1657
|
|
|
1430
1658
|
export declare interface DropdownMenuExpose {
|
|
1431
1659
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1433,7 +1661,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1433
1661
|
options?: readonly DropdownMenuOptionData[];
|
|
1434
1662
|
}
|
|
1435
1663
|
|
|
1436
|
-
export declare const DropdownMenuOption:
|
|
1664
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1437
1665
|
|
|
1438
1666
|
export declare type DropdownMenuOptionData = {
|
|
1439
1667
|
label: string;
|
|
@@ -1445,7 +1673,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1445
1673
|
class?: string;
|
|
1446
1674
|
};
|
|
1447
1675
|
|
|
1448
|
-
export declare const DropdownMenuOptions:
|
|
1676
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1449
1677
|
|
|
1450
1678
|
export declare interface DropdownMenuProps {
|
|
1451
1679
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1453,7 +1681,7 @@ export declare interface DropdownMenuProps {
|
|
|
1453
1681
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1454
1682
|
}
|
|
1455
1683
|
|
|
1456
|
-
export declare const EditableContent:
|
|
1684
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1457
1685
|
|
|
1458
1686
|
export declare interface ElementSize {
|
|
1459
1687
|
width: number;
|
|
@@ -1472,7 +1700,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1472
1700
|
|
|
1473
1701
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1474
1702
|
|
|
1475
|
-
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>;
|
|
1476
1704
|
|
|
1477
1705
|
export declare interface ErrorReport {
|
|
1478
1706
|
title: string;
|
|
@@ -1491,7 +1719,7 @@ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
|
1491
1719
|
$content: ModalContentInstance;
|
|
1492
1720
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1493
1721
|
|
|
1494
|
-
export declare const ErrorReportModalButtons:
|
|
1722
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1495
1723
|
|
|
1496
1724
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1497
1725
|
id: string;
|
|
@@ -1509,7 +1737,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1509
1737
|
reports: ErrorReport[];
|
|
1510
1738
|
}
|
|
1511
1739
|
|
|
1512
|
-
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>;
|
|
1513
1741
|
|
|
1514
1742
|
export declare const Errors: Facade<ErrorsService>;
|
|
1515
1743
|
|
|
@@ -1519,6 +1747,7 @@ declare class ErrorsService extends _default {
|
|
|
1519
1747
|
forceReporting: boolean;
|
|
1520
1748
|
private enabled;
|
|
1521
1749
|
private eruda;
|
|
1750
|
+
private erudaPlugins;
|
|
1522
1751
|
enable(): void;
|
|
1523
1752
|
disable(): void;
|
|
1524
1753
|
inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
|
|
@@ -1588,7 +1817,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1588
1817
|
|
|
1589
1818
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1590
1819
|
|
|
1591
|
-
export declare const Form:
|
|
1820
|
+
export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1592
1821
|
|
|
1593
1822
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1594
1823
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1603,6 +1832,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
|
|
|
1603
1832
|
setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
|
|
1604
1833
|
getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
|
|
1605
1834
|
getFieldRules<T extends keyof Fields>(field: T): string[];
|
|
1835
|
+
setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
|
|
1606
1836
|
getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
|
|
1607
1837
|
data(): FormData_2<Fields>;
|
|
1608
1838
|
validate(): boolean;
|
|
@@ -1712,10 +1942,11 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
|
|
|
1712
1942
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1713
1943
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1714
1944
|
expose(exposed: ShallowUnwrapRef< {
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
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>;
|
|
1719
1950
|
value: ComputedRef<T>;
|
|
1720
1951
|
id: string;
|
|
1721
1952
|
name: ComputedRef<string | undefined>;
|
|
@@ -1786,15 +2017,17 @@ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props:
|
|
|
1786
2017
|
|
|
1787
2018
|
export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1788
2019
|
|
|
2020
|
+
export { injectModal }
|
|
2021
|
+
|
|
1789
2022
|
export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
|
|
1790
2023
|
|
|
1791
2024
|
export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
|
|
1792
2025
|
|
|
1793
2026
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1794
2027
|
|
|
1795
|
-
export declare const Input: DefineComponent<
|
|
2028
|
+
export declare const Input: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1796
2029
|
"update:modelValue": (value: unknown) => any;
|
|
1797
|
-
}, string, PublicProps, Readonly<
|
|
2030
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1798
2031
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1799
2032
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1800
2033
|
$inputRef: ({
|
|
@@ -1969,7 +2202,7 @@ export declare const Layouts: {
|
|
|
1969
2202
|
readonly Desktop: "desktop";
|
|
1970
2203
|
};
|
|
1971
2204
|
|
|
1972
|
-
export declare const Link:
|
|
2205
|
+
export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
1973
2206
|
|
|
1974
2207
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
1975
2208
|
$content: ModalContentInstance;
|
|
@@ -1992,7 +2225,9 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
1992
2225
|
delay?: number;
|
|
1993
2226
|
}>;
|
|
1994
2227
|
|
|
1995
|
-
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"]>;
|
|
1996
2231
|
|
|
1997
2232
|
export declare interface MarkdownRouter {
|
|
1998
2233
|
resolve(route: string): string;
|
|
@@ -2008,10 +2243,12 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
|
|
|
2008
2243
|
watch?: boolean;
|
|
2009
2244
|
};
|
|
2010
2245
|
|
|
2246
|
+
export declare const MINUTE_MILLISECONDS = 60000;
|
|
2247
|
+
|
|
2011
2248
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2012
2249
|
|
|
2013
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2014
|
-
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 & {
|
|
2015
2252
|
wrapperClass?: HTMLAttributes["class"];
|
|
2016
2253
|
class?: HTMLAttributes["class"];
|
|
2017
2254
|
closeHidden?: boolean;
|
|
@@ -2028,6 +2265,8 @@ export { ModalComponent }
|
|
|
2028
2265
|
|
|
2029
2266
|
export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
|
|
2030
2267
|
|
|
2268
|
+
export { ModalController }
|
|
2269
|
+
|
|
2031
2270
|
export declare interface ModalEmits<Result = never> {
|
|
2032
2271
|
(event: 'close', payload: Result): void;
|
|
2033
2272
|
}
|
|
@@ -2038,6 +2277,8 @@ export declare interface ModalExpose {
|
|
|
2038
2277
|
|
|
2039
2278
|
export declare interface ModalProps {
|
|
2040
2279
|
persistent?: boolean;
|
|
2280
|
+
fullscreen?: boolean;
|
|
2281
|
+
fullscreenOnMobile?: boolean;
|
|
2041
2282
|
title?: string;
|
|
2042
2283
|
titleHidden?: boolean;
|
|
2043
2284
|
description?: string;
|
|
@@ -2080,7 +2321,7 @@ declare interface Plugin_2 {
|
|
|
2080
2321
|
}
|
|
2081
2322
|
export { Plugin_2 as Plugin }
|
|
2082
2323
|
|
|
2083
|
-
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>;
|
|
2084
2325
|
|
|
2085
2326
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2086
2327
|
$content: ModalContentInstance;
|
|
@@ -2121,6 +2362,8 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2121
2362
|
trim?: boolean;
|
|
2122
2363
|
}>;
|
|
2123
2364
|
|
|
2365
|
+
export declare const Provide: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
2366
|
+
|
|
2124
2367
|
export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
|
|
2125
2368
|
|
|
2126
2369
|
export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
|
|
@@ -2162,8 +2405,8 @@ export declare function resetPiniaStore(): Pinia;
|
|
|
2162
2405
|
|
|
2163
2406
|
export declare function safeHtml(html: string): string;
|
|
2164
2407
|
|
|
2165
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2166
|
-
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<{
|
|
2167
2410
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2168
2411
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2169
2412
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2183,15 +2426,16 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2183
2426
|
options: ComputedRef<Nullable<readonly SelectOptionData[]>>;
|
|
2184
2427
|
selectedOption: ComputedRef<Nullable<SelectOptionData>>;
|
|
2185
2428
|
placeholder: ComputedRef<string>;
|
|
2186
|
-
labelClass
|
|
2187
|
-
optionsClass
|
|
2429
|
+
labelClass: ComputedRef<HTMLAttributes['class']>;
|
|
2430
|
+
optionsClass: ComputedRef<HTMLAttributes['class']>;
|
|
2188
2431
|
align?: SelectContentProps['align'];
|
|
2189
2432
|
side?: SelectContentProps['side'];
|
|
2433
|
+
renderOption: (option: T) => string;
|
|
2190
2434
|
}
|
|
2191
2435
|
|
|
2192
|
-
export declare const SelectLabel:
|
|
2436
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2193
2437
|
|
|
2194
|
-
export declare const SelectOption:
|
|
2438
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2195
2439
|
|
|
2196
2440
|
export declare type SelectOptionData = {
|
|
2197
2441
|
key: string;
|
|
@@ -2199,7 +2443,7 @@ export declare type SelectOptionData = {
|
|
|
2199
2443
|
value: AcceptableValue;
|
|
2200
2444
|
};
|
|
2201
2445
|
|
|
2202
|
-
export declare const SelectOptions:
|
|
2446
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2203
2447
|
|
|
2204
2448
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2205
2449
|
as?: AsTag | Component;
|
|
@@ -2213,7 +2457,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2213
2457
|
side?: SelectContentProps['side'];
|
|
2214
2458
|
}
|
|
2215
2459
|
|
|
2216
|
-
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>;
|
|
2217
2461
|
|
|
2218
2462
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2219
2463
|
static persist: string[];
|
|
@@ -2280,7 +2524,7 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2280
2524
|
|
|
2281
2525
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2282
2526
|
|
|
2283
|
-
export declare const Setting:
|
|
2527
|
+
export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2284
2528
|
|
|
2285
2529
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2286
2530
|
|
|
@@ -2307,9 +2551,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2307
2551
|
|
|
2308
2552
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2309
2553
|
|
|
2310
|
-
export declare const TextArea: DefineComponent<
|
|
2554
|
+
export declare const TextArea: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2311
2555
|
"update:modelValue": (value: unknown) => any;
|
|
2312
|
-
}, string, PublicProps, Readonly<
|
|
2556
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
2313
2557
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2314
2558
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2315
2559
|
$inputRef: ({
|
|
@@ -2392,7 +2636,7 @@ default?(_: {}): any;
|
|
|
2392
2636
|
}) | null;
|
|
2393
2637
|
}, any>;
|
|
2394
2638
|
|
|
2395
|
-
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>;
|
|
2396
2640
|
|
|
2397
2641
|
export declare interface ToastAction {
|
|
2398
2642
|
label: string;
|
|
@@ -2415,7 +2659,7 @@ export declare interface ToastProps {
|
|
|
2415
2659
|
variant?: ToastVariant;
|
|
2416
2660
|
}
|
|
2417
2661
|
|
|
2418
|
-
export declare type ToastVariant = 'secondary' | 'danger';
|
|
2662
|
+
export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
|
|
2419
2663
|
|
|
2420
2664
|
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
2421
2665
|
|
|
@@ -2523,7 +2767,12 @@ export declare function useLoadingModal(props: LoadingModalProps): {
|
|
|
2523
2767
|
showProgress: ComputedRef<boolean>;
|
|
2524
2768
|
};
|
|
2525
2769
|
|
|
2526
|
-
export
|
|
2770
|
+
export declare function useModal<T = never>(): {
|
|
2771
|
+
close(result?: T): Promise<void>;
|
|
2772
|
+
id: ComputedRef<string>;
|
|
2773
|
+
visible: ComputedRef<boolean>;
|
|
2774
|
+
child: ComputedRef<ModalController<never> | null>;
|
|
2775
|
+
};
|
|
2527
2776
|
|
|
2528
2777
|
export declare function usePromptModal(props: PromptModalProps): {
|
|
2529
2778
|
form: FormController< {
|
|
@@ -2537,6 +2786,38 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2537
2786
|
renderedCancelText: ComputedRef<string>;
|
|
2538
2787
|
};
|
|
2539
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
|
+
|
|
2540
2821
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2541
2822
|
|
|
2542
2823
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|
|
@@ -2612,6 +2893,7 @@ declare module '@aerogel/core' {
|
|
|
2612
2893
|
interface AerogelOptions {
|
|
2613
2894
|
services?: Record<string, Service>;
|
|
2614
2895
|
settings?: AppSetting[];
|
|
2896
|
+
settingsFullscreenOnMobile?: boolean;
|
|
2615
2897
|
}
|
|
2616
2898
|
}
|
|
2617
2899
|
|