@aerogel/core 0.0.0-next.b656a964404fbde17d9cce7668722596098e47fd → 0.0.0-next.b9379d15fd4f40346d655134b49c9015ead9c536
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.css +1 -0
- package/dist/aerogel-core.d.ts +649 -560
- package/dist/aerogel-core.js +1878 -1455
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +6 -4
- package/src/components/AppLayout.vue +1 -3
- package/src/components/AppOverlays.vue +0 -27
- package/src/components/contracts/AlertModal.ts +15 -0
- package/src/components/contracts/ConfirmModal.ts +12 -5
- package/src/components/contracts/DropdownMenu.ts +17 -3
- package/src/components/contracts/ErrorReportModal.ts +8 -4
- package/src/components/contracts/Input.ts +7 -7
- package/src/components/contracts/LoadingModal.ts +12 -4
- package/src/components/contracts/Modal.ts +12 -4
- package/src/components/contracts/PromptModal.ts +8 -2
- package/src/components/contracts/Select.ts +21 -12
- package/src/components/contracts/Toast.ts +4 -2
- package/src/components/contracts/index.ts +3 -1
- package/src/components/headless/HeadlessButton.vue +2 -1
- package/src/components/headless/HeadlessInput.vue +3 -3
- package/src/components/headless/HeadlessInputInput.vue +5 -5
- package/src/components/headless/HeadlessInputTextArea.vue +3 -3
- package/src/components/headless/HeadlessModal.vue +22 -51
- package/src/components/headless/HeadlessModalContent.vue +11 -5
- package/src/components/headless/HeadlessModalDescription.vue +12 -0
- package/src/components/headless/HeadlessSelect.vue +34 -18
- package/src/components/headless/HeadlessSelectOption.vue +1 -1
- package/src/components/headless/HeadlessSelectOptions.vue +16 -4
- package/src/components/headless/HeadlessSelectValue.vue +4 -1
- package/src/components/headless/HeadlessSwitch.vue +96 -0
- package/src/components/headless/index.ts +2 -0
- package/src/components/ui/AdvancedOptions.vue +1 -1
- package/src/components/ui/AlertModal.vue +7 -3
- package/src/components/ui/Button.vue +17 -15
- package/src/components/ui/Checkbox.vue +4 -4
- package/src/components/ui/ConfirmModal.vue +12 -4
- package/src/components/ui/DropdownMenu.vue +18 -19
- package/src/components/ui/DropdownMenuOption.vue +22 -0
- package/src/components/ui/DropdownMenuOptions.vue +44 -0
- package/src/components/ui/EditableContent.vue +3 -3
- package/src/components/ui/ErrorLogs.vue +19 -0
- package/src/components/ui/ErrorLogsModal.vue +48 -0
- package/src/components/ui/ErrorReportModal.vue +18 -7
- package/src/components/ui/Input.vue +3 -3
- package/src/components/ui/LoadingModal.vue +6 -4
- package/src/components/ui/Markdown.vue +29 -1
- package/src/components/ui/Modal.vue +74 -21
- package/src/components/ui/ModalContext.vue +2 -1
- package/src/components/ui/ProgressBar.vue +8 -7
- package/src/components/ui/PromptModal.vue +8 -5
- package/src/components/ui/Select.vue +10 -4
- package/src/components/ui/SelectLabel.vue +13 -2
- package/src/components/ui/SelectOption.vue +29 -0
- package/src/components/ui/SelectOptions.vue +24 -20
- package/src/components/ui/SelectTrigger.vue +2 -2
- package/src/components/ui/Switch.vue +11 -0
- package/src/components/ui/Toast.vue +19 -15
- package/src/components/ui/index.ts +6 -0
- package/src/directives/measure.ts +11 -5
- package/src/errors/Errors.ts +18 -15
- package/src/errors/index.ts +6 -2
- package/src/errors/settings/Debug.vue +39 -0
- package/src/errors/settings/index.ts +10 -0
- package/src/forms/FormController.test.ts +32 -9
- package/src/forms/FormController.ts +23 -22
- package/src/forms/index.ts +0 -1
- package/src/forms/utils.ts +34 -34
- package/src/index.css +34 -7
- package/src/lang/index.ts +3 -2
- package/src/lang/settings/Language.vue +2 -2
- package/src/services/App.ts +6 -1
- package/src/services/Events.test.ts +8 -8
- package/src/services/Events.ts +2 -8
- package/src/services/index.ts +3 -3
- package/src/ui/UI.state.ts +3 -13
- package/src/ui/UI.ts +87 -79
- package/src/ui/index.ts +16 -17
- package/src/utils/classes.ts +9 -17
- package/src/utils/composition/events.ts +2 -4
- package/src/utils/composition/forms.ts +7 -1
- package/src/utils/index.ts +1 -0
- package/src/utils/markdown.ts +35 -1
- package/src/utils/types.ts +3 -0
- package/src/utils/vue.ts +6 -1
- package/src/components/contracts/shared.ts +0 -9
- package/src/forms/composition.ts +0 -6
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -3,12 +3,15 @@ import { AllowedComponentProps } from 'vue';
|
|
|
3
3
|
import { App as App_2 } from 'vue';
|
|
4
4
|
import { AsTag } from 'reka-ui';
|
|
5
5
|
import { ClassValue } from 'clsx';
|
|
6
|
+
import { ClosureArgs } from '@noeldemartin/utils';
|
|
6
7
|
import { Component } from 'vue';
|
|
7
8
|
import { ComponentCustomProperties } from 'vue';
|
|
8
9
|
import { ComponentCustomProps } from 'vue';
|
|
10
|
+
import { ComponentExposed } from 'vue-component-type-helpers';
|
|
9
11
|
import { ComponentInternalInstance } from 'vue';
|
|
10
12
|
import { ComponentOptionsBase } from 'vue';
|
|
11
13
|
import { ComponentOptionsMixin } from 'vue';
|
|
14
|
+
import { ComponentProps } from 'vue-component-type-helpers';
|
|
12
15
|
import { ComponentProvideOptions } from 'vue';
|
|
13
16
|
import { ComponentPublicInstance } from 'vue';
|
|
14
17
|
import { ComputedGetter } from 'vue';
|
|
@@ -19,8 +22,10 @@ import { DebuggerEvent } from 'vue';
|
|
|
19
22
|
import { DeepReadonly } from 'vue';
|
|
20
23
|
import { DefineComponent } from 'vue';
|
|
21
24
|
import { DefineStoreOptions } from 'pinia';
|
|
25
|
+
import { DialogContent } from 'reka-ui';
|
|
26
|
+
import { DialogContentProps } from 'reka-ui';
|
|
27
|
+
import { DialogDescriptionProps } from 'reka-ui';
|
|
22
28
|
import { DialogOverlayProps } from 'reka-ui';
|
|
23
|
-
import { DialogRootProps } from 'reka-ui';
|
|
24
29
|
import { DialogTitleProps } from 'reka-ui';
|
|
25
30
|
import { Directive } from 'vue';
|
|
26
31
|
import { DropdownMenuContentProps } from 'reka-ui';
|
|
@@ -40,7 +45,6 @@ import { MagicObject } from '@noeldemartin/utils';
|
|
|
40
45
|
import { MaybeRef } from 'vue';
|
|
41
46
|
import { nextTick } from 'vue';
|
|
42
47
|
import { Nullable } from '@noeldemartin/utils';
|
|
43
|
-
import { ObjectValues } from '@noeldemartin/utils';
|
|
44
48
|
import { OnCleanup } from '@vue/reactivity';
|
|
45
49
|
import { Pinia } from 'pinia';
|
|
46
50
|
import { PrimitiveProps } from 'reka-ui';
|
|
@@ -48,6 +52,7 @@ import { PromisedValue } from '@noeldemartin/utils';
|
|
|
48
52
|
import { PropType } from 'vue';
|
|
49
53
|
import { PublicProps } from 'vue';
|
|
50
54
|
import { Ref } from 'vue';
|
|
55
|
+
import { SelectContentProps } from 'reka-ui';
|
|
51
56
|
import { SelectItemProps } from 'reka-ui';
|
|
52
57
|
import { ShallowUnwrapRef } from 'vue';
|
|
53
58
|
import { Slot } from 'vue';
|
|
@@ -59,43 +64,17 @@ import { VNodeProps } from 'vue';
|
|
|
59
64
|
import { WatchOptions } from 'vue';
|
|
60
65
|
import { WatchStopHandle } from 'vue';
|
|
61
66
|
|
|
62
|
-
export declare
|
|
63
|
-
__setElement(element?: HTMLElement): void;
|
|
64
|
-
}
|
|
67
|
+
export declare const __objectType: unique symbol;
|
|
65
68
|
|
|
66
69
|
declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
67
70
|
|
|
68
|
-
declare const __VLS_component_10: DefineComponent<
|
|
69
|
-
id: string;
|
|
70
|
-
name: ComputedRef<string | undefined>;
|
|
71
|
-
label: ComputedRef<string | undefined>;
|
|
72
|
-
description: ComputedRef<string | undefined>;
|
|
73
|
-
placeholder: ComputedRef<string>;
|
|
74
|
-
options: ComputedRef< {
|
|
75
|
-
key: string;
|
|
76
|
-
label: string;
|
|
77
|
-
value: AcceptableValue;
|
|
78
|
-
}[] | null>;
|
|
79
|
-
selectedOption: ComputedRef< {
|
|
80
|
-
key: string;
|
|
81
|
-
label: string;
|
|
82
|
-
value: AcceptableValue;
|
|
83
|
-
} | undefined>;
|
|
84
|
-
value: ComputedRef<Nullable<FormFieldValue>>;
|
|
85
|
-
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
86
|
-
required: ComputedRef<boolean | undefined>;
|
|
87
|
-
update(value: Nullable<FormFieldValue>): void;
|
|
88
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
89
|
-
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
90
|
-
}, string, PublicProps, Readonly<SelectProps> & Readonly<{
|
|
91
|
-
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
92
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
71
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
93
72
|
|
|
94
|
-
declare const __VLS_component_11: DefineComponent<
|
|
73
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
95
74
|
|
|
96
|
-
declare const __VLS_component_12: DefineComponent<
|
|
75
|
+
declare const __VLS_component_12: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
97
76
|
|
|
98
|
-
declare const __VLS_component_13: DefineComponent<
|
|
77
|
+
declare const __VLS_component_13: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
99
78
|
|
|
100
79
|
declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
101
80
|
|
|
@@ -110,7 +89,7 @@ declare const __VLS_component_18: DefineComponent<__VLS_Props_6, {}, {}, {}, {},
|
|
|
110
89
|
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
111
90
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
112
91
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
113
|
-
$
|
|
92
|
+
$inputRef: ({
|
|
114
93
|
$: ComponentInternalInstance;
|
|
115
94
|
$data: {};
|
|
116
95
|
$props: {
|
|
@@ -135,7 +114,7 @@ $parent: ComponentPublicInstance | null;
|
|
|
135
114
|
$host: Element | null;
|
|
136
115
|
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
137
116
|
$el: any;
|
|
138
|
-
$options: ComponentOptionsBase<Readonly<InputProps & {
|
|
117
|
+
$options: ComponentOptionsBase<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
139
118
|
as?: string;
|
|
140
119
|
}> & Readonly<{
|
|
141
120
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
@@ -170,11 +149,11 @@ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info:
|
|
|
170
149
|
$forceUpdate: () => void;
|
|
171
150
|
$nextTick: typeof nextTick;
|
|
172
151
|
$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;
|
|
173
|
-
} & Readonly<{}> & Omit<Readonly<InputProps & {
|
|
152
|
+
} & Readonly<{}> & Omit<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
174
153
|
as?: string;
|
|
175
154
|
}> & Readonly<{
|
|
176
155
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
177
|
-
}>, "id" | "value" | "name" | "description" | "errors" | "
|
|
156
|
+
}>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
|
|
178
157
|
id: string;
|
|
179
158
|
name: ComputedRef<string | undefined>;
|
|
180
159
|
label: ComputedRef<string | undefined>;
|
|
@@ -190,164 +169,49 @@ default?(_: {}): any;
|
|
|
190
169
|
}) | null;
|
|
191
170
|
}, any>;
|
|
192
171
|
|
|
193
|
-
declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {
|
|
172
|
+
declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {
|
|
173
|
+
align: "start" | "center" | "end" | undefined;
|
|
174
|
+
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
175
|
+
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
176
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
194
177
|
|
|
195
178
|
declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
196
179
|
|
|
197
180
|
declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
181
|
+
select: () => any;
|
|
182
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
183
|
+
onSelect?: (() => any) | undefined;
|
|
184
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
185
|
+
|
|
186
|
+
declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
187
|
+
|
|
188
|
+
declare const __VLS_component_22: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
198
189
|
update: (value: string | number) => any;
|
|
199
190
|
save: () => any;
|
|
200
|
-
}, string, PublicProps, Readonly<
|
|
191
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
201
192
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
202
193
|
onSave?: (() => any) | undefined;
|
|
203
194
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
204
|
-
$
|
|
195
|
+
$inputRef: HTMLInputElement;
|
|
205
196
|
}, HTMLDivElement>;
|
|
206
197
|
|
|
207
|
-
declare const
|
|
198
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
208
199
|
|
|
209
|
-
declare const
|
|
200
|
+
declare const __VLS_component_24: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
210
201
|
submit: () => any;
|
|
211
|
-
}, string, PublicProps, Readonly<
|
|
202
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
212
203
|
onSubmit?: (() => any) | undefined;
|
|
213
204
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
214
205
|
|
|
215
|
-
declare const
|
|
206
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
216
207
|
|
|
217
|
-
declare const
|
|
208
|
+
declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
218
209
|
|
|
219
|
-
declare const
|
|
220
|
-
close(result?: unknown): Promise<void>;
|
|
221
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
222
|
-
$modal: ({
|
|
223
|
-
$: ComponentInternalInstance;
|
|
224
|
-
$data: {};
|
|
225
|
-
$props: {
|
|
226
|
-
readonly persistent?: boolean | undefined;
|
|
227
|
-
readonly title?: string | undefined;
|
|
228
|
-
readonly description?: string | undefined;
|
|
229
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
230
|
-
$attrs: {
|
|
231
|
-
[x: string]: unknown;
|
|
232
|
-
};
|
|
233
|
-
$refs: {
|
|
234
|
-
[x: string]: unknown;
|
|
235
|
-
} & {
|
|
236
|
-
$root: ({
|
|
237
|
-
$: ComponentInternalInstance;
|
|
238
|
-
$data: {};
|
|
239
|
-
$props: {
|
|
240
|
-
readonly open?: boolean | undefined;
|
|
241
|
-
readonly defaultOpen?: boolean | undefined;
|
|
242
|
-
readonly modal?: boolean | undefined;
|
|
243
|
-
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
|
|
244
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
245
|
-
$attrs: {
|
|
246
|
-
[x: string]: unknown;
|
|
247
|
-
};
|
|
248
|
-
$refs: {
|
|
249
|
-
[x: string]: unknown;
|
|
250
|
-
};
|
|
251
|
-
$slots: Readonly<{
|
|
252
|
-
[name: string]: Slot<any> | undefined;
|
|
253
|
-
}>;
|
|
254
|
-
$root: ComponentPublicInstance | null;
|
|
255
|
-
$parent: ComponentPublicInstance | null;
|
|
256
|
-
$host: Element | null;
|
|
257
|
-
$emit: (event: "update:open", value: boolean) => void;
|
|
258
|
-
$el: any;
|
|
259
|
-
$options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
|
|
260
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
261
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
262
|
-
"update:open": (value: boolean) => any;
|
|
263
|
-
}, string, {
|
|
264
|
-
defaultOpen: boolean;
|
|
265
|
-
open: boolean;
|
|
266
|
-
modal: boolean;
|
|
267
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
268
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
269
|
-
created?: (() => void) | (() => void)[];
|
|
270
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
271
|
-
mounted?: (() => void) | (() => void)[];
|
|
272
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
273
|
-
updated?: (() => void) | (() => void)[];
|
|
274
|
-
activated?: (() => void) | (() => void)[];
|
|
275
|
-
deactivated?: (() => void) | (() => void)[];
|
|
276
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
277
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
278
|
-
destroyed?: (() => void) | (() => void)[];
|
|
279
|
-
unmounted?: (() => void) | (() => void)[];
|
|
280
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
281
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
282
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
283
|
-
};
|
|
284
|
-
$forceUpdate: () => void;
|
|
285
|
-
$nextTick: typeof nextTick;
|
|
286
|
-
$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;
|
|
287
|
-
} & Readonly<{
|
|
288
|
-
defaultOpen: boolean;
|
|
289
|
-
open: boolean;
|
|
290
|
-
modal: boolean;
|
|
291
|
-
}> & Omit<Readonly<DialogRootProps> & Readonly<{
|
|
292
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
293
|
-
}>, "open" | "defaultOpen" | "modal"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
294
|
-
$slots: Readonly<{
|
|
295
|
-
default: (props: {
|
|
296
|
-
open: boolean;
|
|
297
|
-
}) => any;
|
|
298
|
-
}> & {
|
|
299
|
-
default: (props: {
|
|
300
|
-
open: boolean;
|
|
301
|
-
}) => any;
|
|
302
|
-
};
|
|
303
|
-
}) | null;
|
|
304
|
-
};
|
|
305
|
-
$slots: Readonly<{
|
|
306
|
-
[name: string]: Slot<any> | undefined;
|
|
307
|
-
}>;
|
|
308
|
-
$root: ComponentPublicInstance | null;
|
|
309
|
-
$parent: ComponentPublicInstance | null;
|
|
310
|
-
$host: Element | null;
|
|
311
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
312
|
-
$el: any;
|
|
313
|
-
$options: ComponentOptionsBase<Readonly<ModalProps> & Readonly<{}>, {
|
|
314
|
-
close(result?: unknown): Promise<void>;
|
|
315
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
316
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
317
|
-
created?: (() => void) | (() => void)[];
|
|
318
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
319
|
-
mounted?: (() => void) | (() => void)[];
|
|
320
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
321
|
-
updated?: (() => void) | (() => void)[];
|
|
322
|
-
activated?: (() => void) | (() => void)[];
|
|
323
|
-
deactivated?: (() => void) | (() => void)[];
|
|
324
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
325
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
326
|
-
destroyed?: (() => void) | (() => void)[];
|
|
327
|
-
unmounted?: (() => void) | (() => void)[];
|
|
328
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
329
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
330
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
331
|
-
};
|
|
332
|
-
$forceUpdate: () => void;
|
|
333
|
-
$nextTick: typeof nextTick;
|
|
334
|
-
$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;
|
|
335
|
-
} & Readonly<{}> & Omit<Readonly<ModalProps> & Readonly<{}>, "close"> & ShallowUnwrapRef< {
|
|
336
|
-
close(result?: unknown): Promise<void>;
|
|
337
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
338
|
-
$slots: Readonly<ModalSlots> & ModalSlots;
|
|
339
|
-
}) | null;
|
|
340
|
-
}, any>;
|
|
210
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
341
211
|
|
|
342
|
-
declare const
|
|
343
|
-
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
344
|
-
}, string, PublicProps, Readonly<SelectProps> & Readonly<{
|
|
345
|
-
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
346
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
212
|
+
declare const __VLS_component_28: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
347
213
|
|
|
348
|
-
declare const
|
|
349
|
-
|
|
350
|
-
declare const __VLS_component_28: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
214
|
+
declare const __VLS_component_29: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
351
215
|
|
|
352
216
|
declare const __VLS_component_3: DefineComponent<__VLS_Props, {
|
|
353
217
|
id: string;
|
|
@@ -368,17 +232,30 @@ declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, Compone
|
|
|
368
232
|
|
|
369
233
|
declare const __VLS_component_5: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
370
234
|
|
|
371
|
-
declare const __VLS_component_6: DefineComponent<
|
|
372
|
-
|
|
373
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
374
|
-
$root: ({
|
|
235
|
+
declare const __VLS_component_6: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
236
|
+
$contentRef: ({
|
|
375
237
|
$: ComponentInternalInstance;
|
|
376
238
|
$data: {};
|
|
377
239
|
$props: {
|
|
378
|
-
readonly
|
|
379
|
-
readonly
|
|
380
|
-
readonly
|
|
381
|
-
readonly
|
|
240
|
+
readonly forceMount?: boolean | undefined;
|
|
241
|
+
readonly trapFocus?: boolean | undefined;
|
|
242
|
+
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
243
|
+
readonly asChild?: boolean | undefined;
|
|
244
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
245
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
246
|
+
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
247
|
+
originalEvent: PointerEvent;
|
|
248
|
+
}>) => any) | undefined | undefined;
|
|
249
|
+
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
250
|
+
originalEvent: FocusEvent;
|
|
251
|
+
}>) => any) | undefined | undefined;
|
|
252
|
+
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
253
|
+
originalEvent: PointerEvent;
|
|
254
|
+
}> | CustomEvent<{
|
|
255
|
+
originalEvent: FocusEvent;
|
|
256
|
+
}>) => any) | undefined | undefined;
|
|
257
|
+
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
258
|
+
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
382
259
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
383
260
|
$attrs: {
|
|
384
261
|
[x: string]: unknown;
|
|
@@ -392,17 +269,47 @@ $slots: Readonly<{
|
|
|
392
269
|
$root: ComponentPublicInstance | null;
|
|
393
270
|
$parent: ComponentPublicInstance | null;
|
|
394
271
|
$host: Element | null;
|
|
395
|
-
$emit: (event: "
|
|
272
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
273
|
+
originalEvent: PointerEvent;
|
|
274
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
275
|
+
originalEvent: FocusEvent;
|
|
276
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
277
|
+
originalEvent: PointerEvent;
|
|
278
|
+
}> | CustomEvent<{
|
|
279
|
+
originalEvent: FocusEvent;
|
|
280
|
+
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
396
281
|
$el: any;
|
|
397
|
-
$options: ComponentOptionsBase<Readonly<
|
|
398
|
-
|
|
282
|
+
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
283
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
284
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
285
|
+
originalEvent: PointerEvent;
|
|
286
|
+
}>) => any) | undefined;
|
|
287
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
288
|
+
originalEvent: FocusEvent;
|
|
289
|
+
}>) => any) | undefined;
|
|
290
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
291
|
+
originalEvent: PointerEvent;
|
|
292
|
+
}> | CustomEvent<{
|
|
293
|
+
originalEvent: FocusEvent;
|
|
294
|
+
}>) => any) | undefined;
|
|
295
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
296
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
399
297
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
298
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
299
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
300
|
+
originalEvent: PointerEvent;
|
|
301
|
+
}>) => any;
|
|
302
|
+
focusOutside: (event: CustomEvent<{
|
|
303
|
+
originalEvent: FocusEvent;
|
|
304
|
+
}>) => any;
|
|
305
|
+
interactOutside: (event: CustomEvent<{
|
|
306
|
+
originalEvent: PointerEvent;
|
|
307
|
+
}> | CustomEvent<{
|
|
308
|
+
originalEvent: FocusEvent;
|
|
309
|
+
}>) => any;
|
|
310
|
+
openAutoFocus: (event: Event) => any;
|
|
311
|
+
closeAutoFocus: (event: Event) => any;
|
|
312
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
406
313
|
beforeCreate?: (() => void) | (() => void)[];
|
|
407
314
|
created?: (() => void) | (() => void)[];
|
|
408
315
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -422,53 +329,81 @@ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info:
|
|
|
422
329
|
$forceUpdate: () => void;
|
|
423
330
|
$nextTick: typeof nextTick;
|
|
424
331
|
$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;
|
|
425
|
-
} & Readonly<{
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
}>
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
332
|
+
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
333
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
334
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
335
|
+
originalEvent: PointerEvent;
|
|
336
|
+
}>) => any) | undefined;
|
|
337
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
338
|
+
originalEvent: FocusEvent;
|
|
339
|
+
}>) => any) | undefined;
|
|
340
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
341
|
+
originalEvent: PointerEvent;
|
|
342
|
+
}> | CustomEvent<{
|
|
343
|
+
originalEvent: FocusEvent;
|
|
344
|
+
}>) => any) | undefined;
|
|
345
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
346
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
347
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
348
|
+
$slots: {
|
|
349
|
+
default?(_: {}): any;
|
|
350
|
+
default?(_: {}): any;
|
|
440
351
|
};
|
|
441
352
|
}) | null;
|
|
442
353
|
}, any>;
|
|
443
354
|
|
|
444
|
-
declare const __VLS_component_7: DefineComponent<
|
|
355
|
+
declare const __VLS_component_7: DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
445
356
|
|
|
446
357
|
declare const __VLS_component_8: DefineComponent<DialogOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
447
358
|
|
|
448
359
|
declare const __VLS_component_9: DefineComponent<DialogTitleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
449
360
|
|
|
361
|
+
declare type __VLS_PrettifyLocal<T> = {
|
|
362
|
+
[K in keyof T]: T[K];
|
|
363
|
+
} & {};
|
|
364
|
+
|
|
365
|
+
declare type __VLS_PrettifyLocal_2<T> = {
|
|
366
|
+
[K in keyof T]: T[K];
|
|
367
|
+
} & {};
|
|
368
|
+
|
|
369
|
+
declare type __VLS_PrettifyLocal_3<T> = {
|
|
370
|
+
[K in keyof T]: T[K];
|
|
371
|
+
} & {};
|
|
372
|
+
|
|
373
|
+
declare type __VLS_PrettifyLocal_4<T> = {
|
|
374
|
+
[K in keyof T]: T[K];
|
|
375
|
+
} & {};
|
|
376
|
+
|
|
377
|
+
declare type __VLS_PrettifyLocal_5<T> = {
|
|
378
|
+
[K in keyof T]: T[K];
|
|
379
|
+
} & {};
|
|
380
|
+
|
|
450
381
|
declare type __VLS_Props = InputProps & {
|
|
451
382
|
as?: string;
|
|
452
383
|
};
|
|
453
384
|
|
|
454
385
|
declare type __VLS_Props_10 = {
|
|
455
386
|
report: ErrorReport;
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
declare type __VLS_Props_11 = {
|
|
390
|
+
report: ErrorReport;
|
|
456
391
|
currentReport?: number;
|
|
457
392
|
totalReports?: number;
|
|
458
393
|
};
|
|
459
394
|
|
|
460
|
-
declare type
|
|
395
|
+
declare type __VLS_Props_12 = {
|
|
461
396
|
form?: FormController;
|
|
462
397
|
};
|
|
463
398
|
|
|
464
|
-
declare type
|
|
399
|
+
declare type __VLS_Props_13 = InputProps & {
|
|
465
400
|
inputClass?: HTMLAttributes['class'];
|
|
466
401
|
wrapperClass?: HTMLAttributes['class'];
|
|
467
402
|
};
|
|
468
403
|
|
|
469
|
-
declare type
|
|
404
|
+
declare type __VLS_Props_14 = Omit<ButtonProps, 'variant'>;
|
|
470
405
|
|
|
471
|
-
declare type
|
|
406
|
+
declare type __VLS_Props_15 = {
|
|
472
407
|
as?: string;
|
|
473
408
|
inline?: boolean;
|
|
474
409
|
langKey?: string;
|
|
@@ -478,12 +413,6 @@ declare type __VLS_Props_14 = {
|
|
|
478
413
|
actions?: Record<string, () => unknown>;
|
|
479
414
|
};
|
|
480
415
|
|
|
481
|
-
declare type __VLS_Props_15 = ModalProps & {
|
|
482
|
-
dismissable?: boolean;
|
|
483
|
-
wrapperClass?: HTMLAttributes['class'];
|
|
484
|
-
class?: HTMLAttributes['class'];
|
|
485
|
-
};
|
|
486
|
-
|
|
487
416
|
declare type __VLS_Props_16 = {
|
|
488
417
|
modal: UIModal;
|
|
489
418
|
childIndex?: number;
|
|
@@ -492,27 +421,42 @@ declare type __VLS_Props_16 = {
|
|
|
492
421
|
declare type __VLS_Props_17 = {
|
|
493
422
|
filledClass?: string;
|
|
494
423
|
progress?: number;
|
|
495
|
-
job?: Job
|
|
424
|
+
job?: Falsifiable<Job>;
|
|
496
425
|
};
|
|
497
426
|
|
|
498
427
|
declare type __VLS_Props_18 = {
|
|
499
428
|
class?: HTMLAttributes['class'];
|
|
500
429
|
};
|
|
501
430
|
|
|
502
|
-
declare type __VLS_Props_19 =
|
|
431
|
+
declare type __VLS_Props_19 = {
|
|
432
|
+
value: AcceptableValue;
|
|
503
433
|
class?: HTMLAttributes['class'];
|
|
434
|
+
innerClass?: HTMLAttributes['class'];
|
|
504
435
|
};
|
|
505
436
|
|
|
506
437
|
declare type __VLS_Props_2 = {
|
|
507
438
|
type?: string;
|
|
508
439
|
};
|
|
509
440
|
|
|
441
|
+
declare type __VLS_Props_20 = {
|
|
442
|
+
class?: HTMLAttributes['class'];
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
declare type __VLS_Props_21 = {
|
|
446
|
+
class?: HTMLAttributes['class'];
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
declare type __VLS_Props_22 = ToastProps & {
|
|
450
|
+
class?: HTMLAttributes['class'];
|
|
451
|
+
};
|
|
452
|
+
|
|
510
453
|
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
511
454
|
|
|
512
455
|
declare type __VLS_Props_4 = SelectItemProps;
|
|
513
456
|
|
|
514
457
|
declare type __VLS_Props_5 = {
|
|
515
|
-
class?:
|
|
458
|
+
class?: HTMLAttributes['class'];
|
|
459
|
+
innerClass?: HTMLAttributes['class'];
|
|
516
460
|
};
|
|
517
461
|
|
|
518
462
|
declare type __VLS_Props_6 = InputProps & {
|
|
@@ -521,6 +465,10 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
521
465
|
};
|
|
522
466
|
|
|
523
467
|
declare type __VLS_Props_7 = {
|
|
468
|
+
class?: HTMLAttributes['class'];
|
|
469
|
+
} & PrimitiveProps;
|
|
470
|
+
|
|
471
|
+
declare type __VLS_Props_8 = {
|
|
524
472
|
type?: string;
|
|
525
473
|
contentClass?: HTMLAttributes['class'];
|
|
526
474
|
ariaLabel?: string;
|
|
@@ -530,12 +478,8 @@ declare type __VLS_Props_7 = {
|
|
|
530
478
|
disabled?: boolean;
|
|
531
479
|
};
|
|
532
480
|
|
|
533
|
-
declare type __VLS_Props_8 = {
|
|
534
|
-
error: ErrorSource;
|
|
535
|
-
};
|
|
536
|
-
|
|
537
481
|
declare type __VLS_Props_9 = {
|
|
538
|
-
|
|
482
|
+
error: ErrorSource;
|
|
539
483
|
};
|
|
540
484
|
|
|
541
485
|
declare function __VLS_template(): {
|
|
@@ -551,10 +495,7 @@ declare function __VLS_template(): {
|
|
|
551
495
|
declare function __VLS_template_10(): {
|
|
552
496
|
attrs: Partial<{}>;
|
|
553
497
|
slots: {
|
|
554
|
-
default?(_: {
|
|
555
|
-
modelValue: Nullable<FormFieldValue>;
|
|
556
|
-
open: boolean;
|
|
557
|
-
}): any;
|
|
498
|
+
default?(_: {}): any;
|
|
558
499
|
};
|
|
559
500
|
refs: {};
|
|
560
501
|
rootEl: any;
|
|
@@ -629,7 +570,7 @@ declare function __VLS_template_18(): {
|
|
|
629
570
|
default?(_: {}): any;
|
|
630
571
|
};
|
|
631
572
|
refs: {
|
|
632
|
-
$
|
|
573
|
+
$inputRef: ({
|
|
633
574
|
$: ComponentInternalInstance;
|
|
634
575
|
$data: {};
|
|
635
576
|
$props: {
|
|
@@ -654,7 +595,7 @@ declare function __VLS_template_18(): {
|
|
|
654
595
|
$host: Element | null;
|
|
655
596
|
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
656
597
|
$el: any;
|
|
657
|
-
$options: ComponentOptionsBase<Readonly<InputProps & {
|
|
598
|
+
$options: ComponentOptionsBase<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
658
599
|
as?: string;
|
|
659
600
|
}> & Readonly<{
|
|
660
601
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
@@ -689,11 +630,11 @@ declare function __VLS_template_18(): {
|
|
|
689
630
|
$forceUpdate: () => void;
|
|
690
631
|
$nextTick: typeof nextTick;
|
|
691
632
|
$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;
|
|
692
|
-
} & Readonly<{}> & Omit<Readonly<InputProps & {
|
|
633
|
+
} & Readonly<{}> & Omit<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
693
634
|
as?: string;
|
|
694
635
|
}> & Readonly<{
|
|
695
636
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
696
|
-
}>, "id" | "value" | "name" | "description" | "errors" | "
|
|
637
|
+
}>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
|
|
697
638
|
id: string;
|
|
698
639
|
name: ComputedRef<string | undefined>;
|
|
699
640
|
label: ComputedRef<string | undefined>;
|
|
@@ -715,6 +656,7 @@ declare function __VLS_template_19(): {
|
|
|
715
656
|
attrs: Partial<{}>;
|
|
716
657
|
slots: {
|
|
717
658
|
default?(_: {}): any;
|
|
659
|
+
options?(_: {}): any;
|
|
718
660
|
};
|
|
719
661
|
refs: {};
|
|
720
662
|
rootEl: any;
|
|
@@ -730,17 +672,35 @@ declare function __VLS_template_2(): {
|
|
|
730
672
|
};
|
|
731
673
|
|
|
732
674
|
declare function __VLS_template_20(): {
|
|
675
|
+
attrs: Partial<{}>;
|
|
676
|
+
slots: {
|
|
677
|
+
default?(_: {}): any;
|
|
678
|
+
};
|
|
679
|
+
refs: {};
|
|
680
|
+
rootEl: any;
|
|
681
|
+
};
|
|
682
|
+
|
|
683
|
+
declare function __VLS_template_21(): {
|
|
684
|
+
attrs: Partial<{}>;
|
|
685
|
+
slots: {
|
|
686
|
+
default?(_: {}): any;
|
|
687
|
+
};
|
|
688
|
+
refs: {};
|
|
689
|
+
rootEl: any;
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
declare function __VLS_template_22(): {
|
|
733
693
|
attrs: Partial<{}>;
|
|
734
694
|
slots: {
|
|
735
695
|
default?(_: {}): any;
|
|
736
696
|
};
|
|
737
697
|
refs: {
|
|
738
|
-
$
|
|
698
|
+
$inputRef: HTMLInputElement;
|
|
739
699
|
};
|
|
740
700
|
rootEl: HTMLDivElement;
|
|
741
701
|
};
|
|
742
702
|
|
|
743
|
-
declare function
|
|
703
|
+
declare function __VLS_template_23(): {
|
|
744
704
|
attrs: Partial<{}>;
|
|
745
705
|
slots: Readonly<{
|
|
746
706
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -751,7 +711,7 @@ declare function __VLS_template_21(): {
|
|
|
751
711
|
rootEl: HTMLDivElement;
|
|
752
712
|
};
|
|
753
713
|
|
|
754
|
-
declare function
|
|
714
|
+
declare function __VLS_template_24(): {
|
|
755
715
|
attrs: Partial<{}>;
|
|
756
716
|
slots: {
|
|
757
717
|
default?(_: {}): any;
|
|
@@ -760,7 +720,7 @@ declare function __VLS_template_22(): {
|
|
|
760
720
|
rootEl: HTMLFormElement;
|
|
761
721
|
};
|
|
762
722
|
|
|
763
|
-
declare function
|
|
723
|
+
declare function __VLS_template_25(): {
|
|
764
724
|
attrs: Partial<{}>;
|
|
765
725
|
slots: {
|
|
766
726
|
default?(_: {}): any;
|
|
@@ -769,7 +729,7 @@ declare function __VLS_template_23(): {
|
|
|
769
729
|
rootEl: any;
|
|
770
730
|
};
|
|
771
731
|
|
|
772
|
-
declare function
|
|
732
|
+
declare function __VLS_template_26(): {
|
|
773
733
|
attrs: Partial<{}>;
|
|
774
734
|
slots: Readonly<{
|
|
775
735
|
default?(): VNode[];
|
|
@@ -780,133 +740,7 @@ declare function __VLS_template_24(): {
|
|
|
780
740
|
rootEl: any;
|
|
781
741
|
};
|
|
782
742
|
|
|
783
|
-
declare function
|
|
784
|
-
attrs: Partial<{}>;
|
|
785
|
-
slots: Readonly<ModalSlots> & ModalSlots;
|
|
786
|
-
refs: {
|
|
787
|
-
$modal: ({
|
|
788
|
-
$: ComponentInternalInstance;
|
|
789
|
-
$data: {};
|
|
790
|
-
$props: {
|
|
791
|
-
readonly persistent?: boolean | undefined;
|
|
792
|
-
readonly title?: string | undefined;
|
|
793
|
-
readonly description?: string | undefined;
|
|
794
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
795
|
-
$attrs: {
|
|
796
|
-
[x: string]: unknown;
|
|
797
|
-
};
|
|
798
|
-
$refs: {
|
|
799
|
-
[x: string]: unknown;
|
|
800
|
-
} & {
|
|
801
|
-
$root: ({
|
|
802
|
-
$: ComponentInternalInstance;
|
|
803
|
-
$data: {};
|
|
804
|
-
$props: {
|
|
805
|
-
readonly open?: boolean | undefined;
|
|
806
|
-
readonly defaultOpen?: boolean | undefined;
|
|
807
|
-
readonly modal?: boolean | undefined;
|
|
808
|
-
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
|
|
809
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
810
|
-
$attrs: {
|
|
811
|
-
[x: string]: unknown;
|
|
812
|
-
};
|
|
813
|
-
$refs: {
|
|
814
|
-
[x: string]: unknown;
|
|
815
|
-
};
|
|
816
|
-
$slots: Readonly<{
|
|
817
|
-
[name: string]: Slot<any> | undefined;
|
|
818
|
-
}>;
|
|
819
|
-
$root: ComponentPublicInstance | null;
|
|
820
|
-
$parent: ComponentPublicInstance | null;
|
|
821
|
-
$host: Element | null;
|
|
822
|
-
$emit: (event: "update:open", value: boolean) => void;
|
|
823
|
-
$el: any;
|
|
824
|
-
$options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
|
|
825
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
826
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
827
|
-
"update:open": (value: boolean) => any;
|
|
828
|
-
}, string, {
|
|
829
|
-
defaultOpen: boolean;
|
|
830
|
-
open: boolean;
|
|
831
|
-
modal: boolean;
|
|
832
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
833
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
834
|
-
created?: (() => void) | (() => void)[];
|
|
835
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
836
|
-
mounted?: (() => void) | (() => void)[];
|
|
837
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
838
|
-
updated?: (() => void) | (() => void)[];
|
|
839
|
-
activated?: (() => void) | (() => void)[];
|
|
840
|
-
deactivated?: (() => void) | (() => void)[];
|
|
841
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
842
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
843
|
-
destroyed?: (() => void) | (() => void)[];
|
|
844
|
-
unmounted?: (() => void) | (() => void)[];
|
|
845
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
846
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
847
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
848
|
-
};
|
|
849
|
-
$forceUpdate: () => void;
|
|
850
|
-
$nextTick: typeof nextTick;
|
|
851
|
-
$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;
|
|
852
|
-
} & Readonly<{
|
|
853
|
-
defaultOpen: boolean;
|
|
854
|
-
open: boolean;
|
|
855
|
-
modal: boolean;
|
|
856
|
-
}> & Omit<Readonly<DialogRootProps> & Readonly<{
|
|
857
|
-
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
858
|
-
}>, "open" | "defaultOpen" | "modal"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
859
|
-
$slots: Readonly<{
|
|
860
|
-
default: (props: {
|
|
861
|
-
open: boolean;
|
|
862
|
-
}) => any;
|
|
863
|
-
}> & {
|
|
864
|
-
default: (props: {
|
|
865
|
-
open: boolean;
|
|
866
|
-
}) => any;
|
|
867
|
-
};
|
|
868
|
-
}) | null;
|
|
869
|
-
};
|
|
870
|
-
$slots: Readonly<{
|
|
871
|
-
[name: string]: Slot<any> | undefined;
|
|
872
|
-
}>;
|
|
873
|
-
$root: ComponentPublicInstance | null;
|
|
874
|
-
$parent: ComponentPublicInstance | null;
|
|
875
|
-
$host: Element | null;
|
|
876
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
877
|
-
$el: any;
|
|
878
|
-
$options: ComponentOptionsBase<Readonly<ModalProps> & Readonly<{}>, {
|
|
879
|
-
close(result?: unknown): Promise<void>;
|
|
880
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
881
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
882
|
-
created?: (() => void) | (() => void)[];
|
|
883
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
884
|
-
mounted?: (() => void) | (() => void)[];
|
|
885
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
886
|
-
updated?: (() => void) | (() => void)[];
|
|
887
|
-
activated?: (() => void) | (() => void)[];
|
|
888
|
-
deactivated?: (() => void) | (() => void)[];
|
|
889
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
890
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
891
|
-
destroyed?: (() => void) | (() => void)[];
|
|
892
|
-
unmounted?: (() => void) | (() => void)[];
|
|
893
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
894
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
895
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
896
|
-
};
|
|
897
|
-
$forceUpdate: () => void;
|
|
898
|
-
$nextTick: typeof nextTick;
|
|
899
|
-
$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;
|
|
900
|
-
} & Readonly<{}> & Omit<Readonly<ModalProps> & Readonly<{}>, "close"> & ShallowUnwrapRef< {
|
|
901
|
-
close(result?: unknown): Promise<void>;
|
|
902
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
903
|
-
$slots: Readonly<ModalSlots> & ModalSlots;
|
|
904
|
-
}) | null;
|
|
905
|
-
};
|
|
906
|
-
rootEl: any;
|
|
907
|
-
};
|
|
908
|
-
|
|
909
|
-
declare function __VLS_template_26(): {
|
|
743
|
+
declare function __VLS_template_27(): {
|
|
910
744
|
attrs: Partial<{}>;
|
|
911
745
|
slots: {
|
|
912
746
|
default?(_: {}): any;
|
|
@@ -915,7 +749,7 @@ declare function __VLS_template_26(): {
|
|
|
915
749
|
rootEl: any;
|
|
916
750
|
};
|
|
917
751
|
|
|
918
|
-
declare function
|
|
752
|
+
declare function __VLS_template_28(): {
|
|
919
753
|
attrs: Partial<{}>;
|
|
920
754
|
slots: {
|
|
921
755
|
default?(_: {}): any;
|
|
@@ -924,10 +758,11 @@ declare function __VLS_template_27(): {
|
|
|
924
758
|
rootEl: any;
|
|
925
759
|
};
|
|
926
760
|
|
|
927
|
-
declare function
|
|
761
|
+
declare function __VLS_template_29(): {
|
|
928
762
|
attrs: Partial<{}>;
|
|
929
763
|
slots: {
|
|
930
764
|
default?(_: {}): any;
|
|
765
|
+
default?(_: {}): any;
|
|
931
766
|
};
|
|
932
767
|
refs: {};
|
|
933
768
|
rootEl: any;
|
|
@@ -964,16 +799,33 @@ declare function __VLS_template_5(): {
|
|
|
964
799
|
|
|
965
800
|
declare function __VLS_template_6(): {
|
|
966
801
|
attrs: Partial<{}>;
|
|
967
|
-
slots:
|
|
802
|
+
slots: {
|
|
803
|
+
default?(_: {}): any;
|
|
804
|
+
};
|
|
968
805
|
refs: {
|
|
969
|
-
$
|
|
806
|
+
$contentRef: ({
|
|
970
807
|
$: ComponentInternalInstance;
|
|
971
808
|
$data: {};
|
|
972
809
|
$props: {
|
|
973
|
-
readonly
|
|
974
|
-
readonly
|
|
975
|
-
readonly
|
|
976
|
-
readonly
|
|
810
|
+
readonly forceMount?: boolean | undefined;
|
|
811
|
+
readonly trapFocus?: boolean | undefined;
|
|
812
|
+
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
813
|
+
readonly asChild?: boolean | undefined;
|
|
814
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
815
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
816
|
+
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
817
|
+
originalEvent: PointerEvent;
|
|
818
|
+
}>) => any) | undefined | undefined;
|
|
819
|
+
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
820
|
+
originalEvent: FocusEvent;
|
|
821
|
+
}>) => any) | undefined | undefined;
|
|
822
|
+
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
823
|
+
originalEvent: PointerEvent;
|
|
824
|
+
}> | CustomEvent<{
|
|
825
|
+
originalEvent: FocusEvent;
|
|
826
|
+
}>) => any) | undefined | undefined;
|
|
827
|
+
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
828
|
+
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
977
829
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
978
830
|
$attrs: {
|
|
979
831
|
[x: string]: unknown;
|
|
@@ -987,17 +839,47 @@ declare function __VLS_template_6(): {
|
|
|
987
839
|
$root: ComponentPublicInstance | null;
|
|
988
840
|
$parent: ComponentPublicInstance | null;
|
|
989
841
|
$host: Element | null;
|
|
990
|
-
$emit: (event: "
|
|
842
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
843
|
+
originalEvent: PointerEvent;
|
|
844
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
845
|
+
originalEvent: FocusEvent;
|
|
846
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
847
|
+
originalEvent: PointerEvent;
|
|
848
|
+
}> | CustomEvent<{
|
|
849
|
+
originalEvent: FocusEvent;
|
|
850
|
+
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
991
851
|
$el: any;
|
|
992
|
-
$options: ComponentOptionsBase<Readonly<
|
|
993
|
-
|
|
852
|
+
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
853
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
854
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
855
|
+
originalEvent: PointerEvent;
|
|
856
|
+
}>) => any) | undefined;
|
|
857
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
858
|
+
originalEvent: FocusEvent;
|
|
859
|
+
}>) => any) | undefined;
|
|
860
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
861
|
+
originalEvent: PointerEvent;
|
|
862
|
+
}> | CustomEvent<{
|
|
863
|
+
originalEvent: FocusEvent;
|
|
864
|
+
}>) => any) | undefined;
|
|
865
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
866
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
994
867
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
868
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
869
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
870
|
+
originalEvent: PointerEvent;
|
|
871
|
+
}>) => any;
|
|
872
|
+
focusOutside: (event: CustomEvent<{
|
|
873
|
+
originalEvent: FocusEvent;
|
|
874
|
+
}>) => any;
|
|
875
|
+
interactOutside: (event: CustomEvent<{
|
|
876
|
+
originalEvent: PointerEvent;
|
|
877
|
+
}> | CustomEvent<{
|
|
878
|
+
originalEvent: FocusEvent;
|
|
879
|
+
}>) => any;
|
|
880
|
+
openAutoFocus: (event: Event) => any;
|
|
881
|
+
closeAutoFocus: (event: Event) => any;
|
|
882
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1001
883
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1002
884
|
created?: (() => void) | (() => void)[];
|
|
1003
885
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -1017,21 +899,25 @@ declare function __VLS_template_6(): {
|
|
|
1017
899
|
$forceUpdate: () => void;
|
|
1018
900
|
$nextTick: typeof nextTick;
|
|
1019
901
|
$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;
|
|
1020
|
-
} & Readonly<{
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
902
|
+
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
903
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
904
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
905
|
+
originalEvent: PointerEvent;
|
|
906
|
+
}>) => any) | undefined;
|
|
907
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
908
|
+
originalEvent: FocusEvent;
|
|
909
|
+
}>) => any) | undefined;
|
|
910
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
911
|
+
originalEvent: PointerEvent;
|
|
912
|
+
}> | CustomEvent<{
|
|
913
|
+
originalEvent: FocusEvent;
|
|
914
|
+
}>) => any) | undefined;
|
|
915
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
916
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
917
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
918
|
+
$slots: {
|
|
919
|
+
default?(_: {}): any;
|
|
920
|
+
default?(_: {}): any;
|
|
1035
921
|
};
|
|
1036
922
|
}) | null;
|
|
1037
923
|
};
|
|
@@ -1107,6 +993,8 @@ declare type __VLS_TemplateResult_27 = ReturnType<typeof __VLS_template_27>;
|
|
|
1107
993
|
|
|
1108
994
|
declare type __VLS_TemplateResult_28 = ReturnType<typeof __VLS_template_28>;
|
|
1109
995
|
|
|
996
|
+
declare type __VLS_TemplateResult_29 = ReturnType<typeof __VLS_template_29>;
|
|
997
|
+
|
|
1110
998
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1111
999
|
|
|
1112
1000
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
@@ -1247,6 +1135,12 @@ declare type __VLS_WithTemplateSlots_28<T, S> = T & {
|
|
|
1247
1135
|
};
|
|
1248
1136
|
};
|
|
1249
1137
|
|
|
1138
|
+
declare type __VLS_WithTemplateSlots_29<T, S> = T & {
|
|
1139
|
+
new (): {
|
|
1140
|
+
$slots: S;
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1250
1144
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
1251
1145
|
new (): {
|
|
1252
1146
|
$slots: S;
|
|
@@ -1310,7 +1204,13 @@ export declare interface AerogelTestingRuntime {
|
|
|
1310
1204
|
on: (typeof Events)['on'];
|
|
1311
1205
|
}
|
|
1312
1206
|
|
|
1313
|
-
export declare const AlertModal: DefineComponent<AlertModalProps, {
|
|
1207
|
+
export declare const AlertModal: DefineComponent<AlertModalProps, {
|
|
1208
|
+
close(result?: void | undefined): Promise<void>;
|
|
1209
|
+
$content: ModalContentInstance;
|
|
1210
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1211
|
+
|
|
1212
|
+
export declare interface AlertModalExpose extends ModalExpose<void> {
|
|
1213
|
+
}
|
|
1314
1214
|
|
|
1315
1215
|
export declare interface AlertModalProps {
|
|
1316
1216
|
title?: string;
|
|
@@ -1331,6 +1231,7 @@ export declare class AppService extends _default_3 {
|
|
|
1331
1231
|
readonly mounted: PromisedValue<void>;
|
|
1332
1232
|
isReady(): boolean;
|
|
1333
1233
|
isMounted(): boolean;
|
|
1234
|
+
addSetting(setting: AppSetting): void;
|
|
1334
1235
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1335
1236
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1336
1237
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
@@ -1347,7 +1248,7 @@ export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1347
1248
|
|
|
1348
1249
|
export declare function booleanInput(defaultValue?: boolean, options?: {
|
|
1349
1250
|
rules?: string;
|
|
1350
|
-
}): FormFieldDefinition<
|
|
1251
|
+
}): FormFieldDefinition<'boolean'>;
|
|
1351
1252
|
|
|
1352
1253
|
export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
|
|
1353
1254
|
|
|
@@ -1412,13 +1313,10 @@ export declare type ComputedStateDefinition<TState extends ServiceState, TComput
|
|
|
1412
1313
|
readonly [K in keyof TComputedState]: TComputedState[K];
|
|
1413
1314
|
}>;
|
|
1414
1315
|
|
|
1415
|
-
export declare
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
} & CVAConfig<T>): ComputedRef<string>;
|
|
1420
|
-
|
|
1421
|
-
export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1316
|
+
export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {
|
|
1317
|
+
close(result?: boolean | [boolean, Record<string, Nullable<boolean>>] | undefined): Promise<void>;
|
|
1318
|
+
$content: ModalContentInstance;
|
|
1319
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1422
1320
|
|
|
1423
1321
|
export declare type ConfirmModalCheckboxes = Record<string, {
|
|
1424
1322
|
label: string;
|
|
@@ -1426,6 +1324,9 @@ export declare type ConfirmModalCheckboxes = Record<string, {
|
|
|
1426
1324
|
required?: boolean;
|
|
1427
1325
|
}>;
|
|
1428
1326
|
|
|
1327
|
+
export declare interface ConfirmModalExpose extends ModalExpose<boolean | [boolean, Record<string, Nullable<boolean>>]> {
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1429
1330
|
export declare interface ConfirmModalProps {
|
|
1430
1331
|
title?: string;
|
|
1431
1332
|
message: string;
|
|
@@ -1457,7 +1358,7 @@ export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<ty
|
|
|
1457
1358
|
|
|
1458
1359
|
export declare function dateInput(defaultValue?: Date, options?: {
|
|
1459
1360
|
rules?: string;
|
|
1460
|
-
}): FormFieldDefinition<
|
|
1361
|
+
}): FormFieldDefinition<'date'>;
|
|
1461
1362
|
|
|
1462
1363
|
declare const _default: ServiceWithState< {
|
|
1463
1364
|
logs: ErrorReportLog[];
|
|
@@ -1508,8 +1409,9 @@ modals: UIModal[];
|
|
|
1508
1409
|
toasts: UIToast[];
|
|
1509
1410
|
layout: Layout;
|
|
1510
1411
|
}, {
|
|
1511
|
-
mobile: boolean;
|
|
1512
1412
|
desktop: boolean;
|
|
1413
|
+
mobile: boolean;
|
|
1414
|
+
openModals: UIModal<unknown>[];
|
|
1513
1415
|
}, Partial<{
|
|
1514
1416
|
modals: UIModal[];
|
|
1515
1417
|
toasts: UIToast[];
|
|
@@ -1526,7 +1428,7 @@ declare const defaultServices: {
|
|
|
1526
1428
|
|
|
1527
1429
|
export declare type DefaultServiceState = any;
|
|
1528
1430
|
|
|
1529
|
-
export declare function defineDirective(directive: Directive): Directive
|
|
1431
|
+
export declare function defineDirective<TValue = any, TModifiers extends string = string>(directive: Directive<any, TValue, TModifiers>): Directive<any, TValue, TModifiers>;
|
|
1530
1432
|
|
|
1531
1433
|
export declare function defineFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
|
|
1532
1434
|
|
|
@@ -1550,17 +1452,33 @@ export declare function dispatch(job: Job): Promise<void>;
|
|
|
1550
1452
|
|
|
1551
1453
|
export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1552
1454
|
|
|
1553
|
-
export declare
|
|
1455
|
+
export declare interface DropdownMenuExpose {
|
|
1456
|
+
align?: DropdownMenuContentProps['align'];
|
|
1457
|
+
side?: DropdownMenuContentProps['side'];
|
|
1458
|
+
options?: DropdownMenuOptionData[];
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1462
|
+
|
|
1463
|
+
export declare type DropdownMenuOptionData = {
|
|
1554
1464
|
label: string;
|
|
1555
|
-
|
|
1465
|
+
href?: string;
|
|
1466
|
+
route?: string;
|
|
1467
|
+
routeParams?: object;
|
|
1468
|
+
routeQuery?: object;
|
|
1469
|
+
click?: () => unknown;
|
|
1470
|
+
class?: string;
|
|
1556
1471
|
};
|
|
1557
1472
|
|
|
1473
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1474
|
+
|
|
1558
1475
|
export declare interface DropdownMenuProps {
|
|
1559
1476
|
align?: DropdownMenuContentProps['align'];
|
|
1560
|
-
|
|
1477
|
+
side?: DropdownMenuContentProps['side'];
|
|
1478
|
+
options?: Falsifiable<DropdownMenuOptionData>[];
|
|
1561
1479
|
}
|
|
1562
1480
|
|
|
1563
|
-
export declare const EditableContent:
|
|
1481
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1564
1482
|
|
|
1565
1483
|
export declare interface ElementSize {
|
|
1566
1484
|
width: number;
|
|
@@ -1571,7 +1489,11 @@ export declare type ErrorHandler = (error: ErrorSource) => boolean;
|
|
|
1571
1489
|
|
|
1572
1490
|
declare type ErrorHandler_2 = (error: ErrorSource) => string | undefined;
|
|
1573
1491
|
|
|
1574
|
-
export declare const
|
|
1492
|
+
export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1493
|
+
|
|
1494
|
+
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1495
|
+
|
|
1496
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1575
1497
|
|
|
1576
1498
|
export declare interface ErrorReport {
|
|
1577
1499
|
title: string;
|
|
@@ -1586,9 +1508,12 @@ export declare interface ErrorReportLog {
|
|
|
1586
1508
|
date: Date;
|
|
1587
1509
|
}
|
|
1588
1510
|
|
|
1589
|
-
export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
1511
|
+
export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
1512
|
+
close(result?: void | undefined): Promise<void>;
|
|
1513
|
+
$content: ModalContentInstance;
|
|
1514
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1590
1515
|
|
|
1591
|
-
export declare const ErrorReportModalButtons:
|
|
1516
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1592
1517
|
|
|
1593
1518
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1594
1519
|
id: string;
|
|
@@ -1598,11 +1523,15 @@ declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
|
1598
1523
|
click?(): void;
|
|
1599
1524
|
}
|
|
1600
1525
|
|
|
1601
|
-
declare interface
|
|
1526
|
+
export declare interface ErrorReportModalExpose extends ModalExpose {
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
export declare interface ErrorReportModalProps {
|
|
1530
|
+
report: ErrorReport;
|
|
1602
1531
|
reports: ErrorReport[];
|
|
1603
1532
|
}
|
|
1604
1533
|
|
|
1605
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1534
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1606
1535
|
|
|
1607
1536
|
export declare const Errors: Facade<ErrorsService>;
|
|
1608
1537
|
|
|
@@ -1613,11 +1542,13 @@ declare class ErrorsService extends _default {
|
|
|
1613
1542
|
private enabled;
|
|
1614
1543
|
enable(): void;
|
|
1615
1544
|
disable(): void;
|
|
1616
|
-
inspect(error: ErrorSource | ErrorReport[]): Promise<void>;
|
|
1545
|
+
inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
|
|
1546
|
+
inspect(reports: ErrorReport[]): Promise<void>;
|
|
1617
1547
|
report(error: ErrorSource, message?: string): Promise<void>;
|
|
1618
1548
|
see(report: ErrorReport): void;
|
|
1619
1549
|
seeAll(): void;
|
|
1620
1550
|
private logError;
|
|
1551
|
+
private isErrorReport;
|
|
1621
1552
|
private createErrorReport;
|
|
1622
1553
|
private createStartupErrorReport;
|
|
1623
1554
|
private createErrorReportFromError;
|
|
@@ -1651,22 +1582,16 @@ export declare class EventsService extends Service {
|
|
|
1651
1582
|
protected boot(): Promise<void>;
|
|
1652
1583
|
emit<Event extends EventWithoutPayload>(event: Event): Promise<void>;
|
|
1653
1584
|
emit<Event extends EventWithPayload>(event: Event, payload: EventsPayload[Event]): Promise<void>;
|
|
1654
|
-
emit<Event extends string>(event: UnknownEvent<Event>, payload?: unknown): Promise<void>;
|
|
1655
1585
|
on<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
|
|
1656
1586
|
on<Event extends EventWithoutPayload>(event: Event, priority: EventListenerPriority, listener: () => unknown): () => void;
|
|
1657
1587
|
on<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
|
|
1658
1588
|
on<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
1659
1589
|
on<Event extends EventWithPayload>(event: Event, priority: EventListenerPriority, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
1660
1590
|
on<Event extends EventWithPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
1661
|
-
on<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): () => void;
|
|
1662
|
-
on<Event extends string>(event: UnknownEvent<Event>, priority: EventListenerPriority, listener: EventListener_2): () => void;
|
|
1663
|
-
on<Event extends string>(event: UnknownEvent<Event>, options: Partial<EventListenerOptions_2>, listener: EventListener_2): () => void;
|
|
1664
1591
|
once<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
|
|
1665
1592
|
once<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
|
|
1666
1593
|
once<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
1667
1594
|
once<Event extends EventWithPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
1668
|
-
once<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): () => void;
|
|
1669
|
-
once<Event extends string>(event: UnknownEvent<Event>, options: Partial<EventListenerOptions_2>, listener: EventListener_2): () => void;
|
|
1670
1595
|
off(event: string, listener: EventListener_2): void;
|
|
1671
1596
|
protected registerListener(event: string, options: Partial<EventListenerOptions_2>, handler: EventListener_2): void;
|
|
1672
1597
|
}
|
|
@@ -1679,9 +1604,11 @@ export declare type EventWithPayload = {
|
|
|
1679
1604
|
[K in keyof EventsPayload]: EventsPayload[K] extends void ? never : K;
|
|
1680
1605
|
}[keyof EventsPayload];
|
|
1681
1606
|
|
|
1607
|
+
export declare type Falsifiable<T> = Nullable<T> | false;
|
|
1608
|
+
|
|
1682
1609
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1683
1610
|
|
|
1684
|
-
export declare const Form:
|
|
1611
|
+
export declare const Form: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1685
1612
|
|
|
1686
1613
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1687
1614
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1718,7 +1645,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
|
|
|
1718
1645
|
}
|
|
1719
1646
|
|
|
1720
1647
|
declare type FormData_2<T> = {
|
|
1721
|
-
-readonly [k in keyof T]: T[k] extends FormFieldDefinition<infer TType, infer TRules> ? TRules extends 'required' ? GetFormFieldValue<TType> : GetFormFieldValue<TType> | null : never;
|
|
1648
|
+
-readonly [k in keyof T]: T[k] extends FormFieldDefinition<infer TType, infer TRules, infer TObjectType> ? TRules extends 'required' ? GetFormFieldValue<TType, TObjectType> : GetFormFieldValue<TType, TObjectType> | null : never;
|
|
1722
1649
|
};
|
|
1723
1650
|
export { FormData_2 as FormData }
|
|
1724
1651
|
|
|
@@ -1726,24 +1653,17 @@ export declare type FormErrors<T> = {
|
|
|
1726
1653
|
[k in keyof T]: string[] | null;
|
|
1727
1654
|
};
|
|
1728
1655
|
|
|
1729
|
-
export declare interface FormFieldDefinition<TType extends FormFieldType = FormFieldType, TRules extends string = string> {
|
|
1656
|
+
export declare interface FormFieldDefinition<TType extends FormFieldType = FormFieldType, TRules extends string = string, TObjectType = object> {
|
|
1730
1657
|
type: TType;
|
|
1731
1658
|
trim?: boolean;
|
|
1732
1659
|
default?: GetFormFieldValue<TType>;
|
|
1733
1660
|
rules?: TRules;
|
|
1661
|
+
[__objectType]?: TObjectType;
|
|
1734
1662
|
}
|
|
1735
1663
|
|
|
1736
1664
|
export declare type FormFieldDefinitions = Record<string, FormFieldDefinition>;
|
|
1737
1665
|
|
|
1738
|
-
export declare type FormFieldType =
|
|
1739
|
-
|
|
1740
|
-
export declare const FormFieldTypes: {
|
|
1741
|
-
readonly String: "string";
|
|
1742
|
-
readonly Number: "number";
|
|
1743
|
-
readonly Boolean: "boolean";
|
|
1744
|
-
readonly Object: "object";
|
|
1745
|
-
readonly Date: "date";
|
|
1746
|
-
};
|
|
1666
|
+
export declare type FormFieldType = 'string' | 'number' | 'boolean' | 'object' | 'date';
|
|
1747
1667
|
|
|
1748
1668
|
export declare type FormFieldValidator<T = unknown> = (value: T) => string | string[] | undefined;
|
|
1749
1669
|
|
|
@@ -1753,13 +1673,11 @@ export declare function getCurrentLayout(): Layout;
|
|
|
1753
1673
|
|
|
1754
1674
|
export declare function getErrorMessage(error: ErrorSource): string;
|
|
1755
1675
|
|
|
1756
|
-
export declare type GetFormFieldValue<TType> = TType extends
|
|
1676
|
+
export declare type GetFormFieldValue<TType, TObjectType = object> = TType extends 'string' ? string : TType extends 'number' ? number : TType extends 'boolean' ? boolean : TType extends 'object' ? TObjectType extends object ? TObjectType : object : TType extends 'date' ? Date : never;
|
|
1757
1677
|
|
|
1758
|
-
export declare function
|
|
1678
|
+
export declare function getMarkdownRouter(): MarkdownRouter | null;
|
|
1759
1679
|
|
|
1760
|
-
export declare
|
|
1761
|
-
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
1762
|
-
}
|
|
1680
|
+
export declare function getPiniaStore(): Pinia;
|
|
1763
1681
|
|
|
1764
1682
|
export declare interface HasSelectOptionLabel {
|
|
1765
1683
|
label: string | (() => string);
|
|
@@ -1776,34 +1694,109 @@ export declare const HeadlessInputDescription: __VLS_WithTemplateSlots_4<typeof
|
|
|
1776
1694
|
export declare const HeadlessInputError: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1777
1695
|
|
|
1778
1696
|
export declare const HeadlessInputInput: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1779
|
-
$
|
|
1697
|
+
$inputRef: HTMLInputElement;
|
|
1780
1698
|
}, HTMLInputElement>;
|
|
1781
1699
|
|
|
1782
1700
|
export declare const HeadlessInputLabel: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1783
1701
|
|
|
1784
1702
|
export declare const HeadlessInputTextArea: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1785
|
-
$
|
|
1703
|
+
$textAreaRef: HTMLTextAreaElement;
|
|
1786
1704
|
}, HTMLTextAreaElement>;
|
|
1787
1705
|
|
|
1788
|
-
export declare const HeadlessModal:
|
|
1706
|
+
export declare const HeadlessModal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1707
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ModalProps & Partial<{}>> & PublicProps;
|
|
1708
|
+
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose<T>>>): void;
|
|
1709
|
+
attrs: any;
|
|
1710
|
+
slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
|
|
1711
|
+
emit: {};
|
|
1712
|
+
}>) => VNode & {
|
|
1713
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
export declare const HeadlessModalContent: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1789
1717
|
|
|
1790
|
-
export declare const
|
|
1718
|
+
export declare const HeadlessModalDescription: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1791
1719
|
|
|
1792
1720
|
export declare const HeadlessModalOverlay: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1793
1721
|
|
|
1794
1722
|
export declare const HeadlessModalTitle: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1795
1723
|
|
|
1796
|
-
export declare const HeadlessSelect:
|
|
1724
|
+
export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1725
|
+
props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
|
|
1726
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1727
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1728
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
1729
|
+
labelClass: any;
|
|
1730
|
+
optionsClass: any;
|
|
1731
|
+
align: "start" | "center" | "end" | undefined;
|
|
1732
|
+
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
1733
|
+
value: ComputedRef<T>;
|
|
1734
|
+
id: string;
|
|
1735
|
+
name: ComputedRef<string | undefined>;
|
|
1736
|
+
label: ComputedRef<string | undefined>;
|
|
1737
|
+
description: ComputedRef<string | undefined>;
|
|
1738
|
+
placeholder: ComputedRef<string>;
|
|
1739
|
+
options: ComputedRef< {
|
|
1740
|
+
key: string;
|
|
1741
|
+
label: string;
|
|
1742
|
+
value: AcceptableValue;
|
|
1743
|
+
}[] | null>;
|
|
1744
|
+
selectedOption: ComputedRef< {
|
|
1745
|
+
key: string;
|
|
1746
|
+
label: string;
|
|
1747
|
+
value: AcceptableValue;
|
|
1748
|
+
} | undefined>;
|
|
1749
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1750
|
+
required: ComputedRef<boolean | undefined>;
|
|
1751
|
+
update(value: T): void;
|
|
1752
|
+
}>): void;
|
|
1753
|
+
attrs: any;
|
|
1754
|
+
slots: {
|
|
1755
|
+
default?(_: {
|
|
1756
|
+
modelValue: T | undefined;
|
|
1757
|
+
open: boolean;
|
|
1758
|
+
}): any;
|
|
1759
|
+
};
|
|
1760
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
1761
|
+
}>) => VNode & {
|
|
1762
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1763
|
+
};
|
|
1764
|
+
|
|
1765
|
+
export declare const HeadlessSelectLabel: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1797
1766
|
|
|
1798
|
-
export declare const
|
|
1767
|
+
export declare const HeadlessSelectOption: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1799
1768
|
|
|
1800
|
-
export declare const
|
|
1769
|
+
export declare const HeadlessSelectOptions: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1801
1770
|
|
|
1802
|
-
export declare const
|
|
1771
|
+
export declare const HeadlessSelectTrigger: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1803
1772
|
|
|
1804
|
-
export declare const
|
|
1773
|
+
export declare const HeadlessSelectValue: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1805
1774
|
|
|
1806
|
-
export declare const
|
|
1775
|
+
export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1776
|
+
props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{
|
|
1777
|
+
readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1778
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & (InputProps<T> & {
|
|
1779
|
+
class?: HTMLAttributes["class"];
|
|
1780
|
+
labelClass?: HTMLAttributes["class"];
|
|
1781
|
+
inputClass?: HTMLAttributes["class"];
|
|
1782
|
+
thumbClass?: HTMLAttributes["class"];
|
|
1783
|
+
}) & Partial<{}>> & PublicProps;
|
|
1784
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
1785
|
+
id: string;
|
|
1786
|
+
name: ComputedRef<string | undefined>;
|
|
1787
|
+
label: ComputedRef<string | undefined>;
|
|
1788
|
+
description: ComputedRef<string | undefined>;
|
|
1789
|
+
value: ComputedRef<boolean | undefined>;
|
|
1790
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1791
|
+
required: ComputedRef<boolean | undefined>;
|
|
1792
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
1793
|
+
}>): void;
|
|
1794
|
+
attrs: any;
|
|
1795
|
+
slots: {};
|
|
1796
|
+
emit: (evt: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
1797
|
+
}>) => VNode & {
|
|
1798
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1799
|
+
};
|
|
1807
1800
|
|
|
1808
1801
|
export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1809
1802
|
|
|
@@ -1813,12 +1806,12 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1813
1806
|
|
|
1814
1807
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1815
1808
|
|
|
1816
|
-
export declare const Input: DefineComponent<
|
|
1809
|
+
export declare const Input: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1817
1810
|
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
1818
|
-
}, string, PublicProps, Readonly<
|
|
1811
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
1819
1812
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1820
1813
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1821
|
-
$
|
|
1814
|
+
$inputRef: ({
|
|
1822
1815
|
$: ComponentInternalInstance;
|
|
1823
1816
|
$data: {};
|
|
1824
1817
|
$props: {
|
|
@@ -1843,7 +1836,7 @@ $parent: ComponentPublicInstance | null;
|
|
|
1843
1836
|
$host: Element | null;
|
|
1844
1837
|
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
1845
1838
|
$el: any;
|
|
1846
|
-
$options: ComponentOptionsBase<Readonly<InputProps & {
|
|
1839
|
+
$options: ComponentOptionsBase<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
1847
1840
|
as?: string;
|
|
1848
1841
|
}> & Readonly<{
|
|
1849
1842
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
@@ -1878,11 +1871,11 @@ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info:
|
|
|
1878
1871
|
$forceUpdate: () => void;
|
|
1879
1872
|
$nextTick: typeof nextTick;
|
|
1880
1873
|
$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;
|
|
1881
|
-
} & Readonly<{}> & Omit<Readonly<InputProps & {
|
|
1874
|
+
} & Readonly<{}> & Omit<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
1882
1875
|
as?: string;
|
|
1883
1876
|
}> & Readonly<{
|
|
1884
1877
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1885
|
-
}>, "id" | "value" | "name" | "description" | "errors" | "
|
|
1878
|
+
}>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
|
|
1886
1879
|
id: string;
|
|
1887
1880
|
name: ComputedRef<string | undefined>;
|
|
1888
1881
|
label: ComputedRef<string | undefined>;
|
|
@@ -1898,26 +1891,26 @@ default?(_: {}): any;
|
|
|
1898
1891
|
}) | null;
|
|
1899
1892
|
}, any>;
|
|
1900
1893
|
|
|
1901
|
-
declare interface InputEmits {
|
|
1902
|
-
'update:modelValue': [value:
|
|
1894
|
+
export declare interface InputEmits<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
|
|
1895
|
+
'update:modelValue': [value: T];
|
|
1903
1896
|
}
|
|
1904
1897
|
|
|
1905
|
-
declare interface InputExpose {
|
|
1898
|
+
export declare interface InputExpose<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
|
|
1906
1899
|
id: string;
|
|
1907
1900
|
name: ComputedRef<Nullable<string>>;
|
|
1908
1901
|
label: ComputedRef<Nullable<string>>;
|
|
1909
1902
|
description: ComputedRef<Nullable<string | boolean>>;
|
|
1910
|
-
value: ComputedRef<
|
|
1903
|
+
value: ComputedRef<T>;
|
|
1911
1904
|
required: ComputedRef<Nullable<boolean>>;
|
|
1912
1905
|
errors: DeepReadonly<Ref<Nullable<string[]>>>;
|
|
1913
|
-
update(value:
|
|
1906
|
+
update(value: T): void;
|
|
1914
1907
|
}
|
|
1915
1908
|
|
|
1916
|
-
declare interface InputProps {
|
|
1909
|
+
export declare interface InputProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
|
|
1917
1910
|
name?: string;
|
|
1918
1911
|
label?: string;
|
|
1919
1912
|
description?: string;
|
|
1920
|
-
modelValue?:
|
|
1913
|
+
modelValue?: T;
|
|
1921
1914
|
}
|
|
1922
1915
|
|
|
1923
1916
|
export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
|
|
@@ -1990,9 +1983,15 @@ export declare const Layouts: {
|
|
|
1990
1983
|
readonly Desktop: "desktop";
|
|
1991
1984
|
};
|
|
1992
1985
|
|
|
1993
|
-
export declare const Link:
|
|
1986
|
+
export declare const Link: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1994
1987
|
|
|
1995
|
-
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
1988
|
+
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
1989
|
+
close(result?: void | undefined): Promise<void>;
|
|
1990
|
+
$content: ModalContentInstance;
|
|
1991
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1992
|
+
|
|
1993
|
+
export declare interface LoadingModalExpose extends ModalExpose {
|
|
1994
|
+
}
|
|
1996
1995
|
|
|
1997
1996
|
export declare interface LoadingModalProps {
|
|
1998
1997
|
title?: string;
|
|
@@ -2007,42 +2006,74 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
2007
2006
|
progress?: number;
|
|
2008
2007
|
}>;
|
|
2009
2008
|
|
|
2010
|
-
export declare const Markdown:
|
|
2009
|
+
export declare const Markdown: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
2010
|
+
|
|
2011
|
+
export declare interface MarkdownRouter {
|
|
2012
|
+
resolve(route: string): string;
|
|
2013
|
+
visit(route: string): Promise<void>;
|
|
2014
|
+
}
|
|
2011
2015
|
|
|
2012
2016
|
export declare type MeasureDirectiveListener = (size: ElementSize) => unknown;
|
|
2013
2017
|
|
|
2018
|
+
export declare type MeasureDirectiveModifiers = 'css' | 'watch';
|
|
2019
|
+
|
|
2020
|
+
export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
|
|
2021
|
+
css?: boolean;
|
|
2022
|
+
watch?: boolean;
|
|
2023
|
+
};
|
|
2024
|
+
|
|
2014
2025
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2015
2026
|
|
|
2016
|
-
export declare const Modal:
|
|
2027
|
+
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2028
|
+
props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
|
|
2029
|
+
wrapperClass?: HTMLAttributes["class"];
|
|
2030
|
+
class?: HTMLAttributes["class"];
|
|
2031
|
+
closeHidden?: boolean;
|
|
2032
|
+
}) & Partial<{}>> & PublicProps;
|
|
2033
|
+
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose<T>>>): void;
|
|
2034
|
+
attrs: any;
|
|
2035
|
+
slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
|
|
2036
|
+
emit: {};
|
|
2037
|
+
}>) => VNode & {
|
|
2038
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2039
|
+
};
|
|
2017
2040
|
|
|
2018
|
-
declare
|
|
2019
|
-
}
|
|
2041
|
+
export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
|
|
2020
2042
|
|
|
2021
2043
|
export declare const ModalContext: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2022
2044
|
|
|
2023
|
-
export declare interface ModalExpose {
|
|
2024
|
-
close(result?:
|
|
2045
|
+
export declare interface ModalExpose<Result = void> {
|
|
2046
|
+
close(result?: Result): Promise<void>;
|
|
2047
|
+
$content: ModalContentInstance;
|
|
2025
2048
|
}
|
|
2026
2049
|
|
|
2027
|
-
declare type
|
|
2050
|
+
export declare type ModalExposeResult<T> = T extends {
|
|
2051
|
+
close(result?: infer Result): Promise<void>;
|
|
2052
|
+
} ? Result : unknown;
|
|
2028
2053
|
|
|
2029
2054
|
export declare interface ModalProps {
|
|
2030
2055
|
persistent?: boolean;
|
|
2031
2056
|
title?: string;
|
|
2057
|
+
titleHidden?: boolean;
|
|
2032
2058
|
description?: string;
|
|
2059
|
+
descriptionHidden?: boolean;
|
|
2033
2060
|
}
|
|
2034
2061
|
|
|
2035
|
-
declare type ModalResult<
|
|
2062
|
+
export declare type ModalResult<T> = ModalExposeResult<ComponentExposed<T>>;
|
|
2036
2063
|
|
|
2037
|
-
export declare interface ModalSlots {
|
|
2064
|
+
export declare interface ModalSlots<Result = void> {
|
|
2038
2065
|
default(props: {
|
|
2039
|
-
close(result?:
|
|
2066
|
+
close(result?: Result): Promise<void>;
|
|
2040
2067
|
}): unknown;
|
|
2041
2068
|
}
|
|
2042
2069
|
|
|
2043
2070
|
export declare function numberInput(defaultValue?: number, options?: {
|
|
2044
2071
|
rules?: string;
|
|
2045
|
-
}): FormFieldDefinition<
|
|
2072
|
+
}): FormFieldDefinition<'number'>;
|
|
2073
|
+
|
|
2074
|
+
export declare function objectInput<T extends object>(defaultValue?: T, options?: {
|
|
2075
|
+
rules?: string;
|
|
2076
|
+
}): FormFieldDefinition<'object', string, T>;
|
|
2046
2077
|
|
|
2047
2078
|
export declare function onCleanMounted(operation: () => Function): void;
|
|
2048
2079
|
|
|
@@ -2064,7 +2095,13 @@ export { Plugin_2 as Plugin }
|
|
|
2064
2095
|
|
|
2065
2096
|
export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2066
2097
|
|
|
2067
|
-
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2098
|
+
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2099
|
+
close(result?: string | undefined): Promise<void>;
|
|
2100
|
+
$content: ModalContentInstance;
|
|
2101
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2102
|
+
|
|
2103
|
+
export declare interface PromptModalExpose extends ModalExpose<string> {
|
|
2104
|
+
}
|
|
2068
2105
|
|
|
2069
2106
|
export declare interface PromptModalProps {
|
|
2070
2107
|
title?: string;
|
|
@@ -2089,10 +2126,6 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2089
2126
|
trim?: boolean;
|
|
2090
2127
|
}>;
|
|
2091
2128
|
|
|
2092
|
-
export declare type RefsObject<T> = {
|
|
2093
|
-
[K in keyof T]: Ref<T[K]> | T[K];
|
|
2094
|
-
};
|
|
2095
|
-
|
|
2096
2129
|
export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
|
|
2097
2130
|
|
|
2098
2131
|
export declare function registerErrorHandler(handler: ErrorHandler_2): void;
|
|
@@ -2107,47 +2140,72 @@ export declare type Replace<TOriginal extends Record<string, unknown>, TReplacem
|
|
|
2107
2140
|
|
|
2108
2141
|
export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
|
|
2109
2142
|
|
|
2110
|
-
export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<
|
|
2143
|
+
export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<'boolean', 'required'>;
|
|
2144
|
+
|
|
2145
|
+
export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<'date', 'required'>;
|
|
2111
2146
|
|
|
2112
|
-
export declare function
|
|
2147
|
+
export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<'number', 'required'>;
|
|
2113
2148
|
|
|
2114
|
-
export declare function
|
|
2149
|
+
export declare function requiredObjectInput<T extends object>(defaultValue?: T): FormFieldDefinition<'object', 'required', T>;
|
|
2115
2150
|
|
|
2116
|
-
export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<
|
|
2151
|
+
export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<'string', 'required'>;
|
|
2117
2152
|
|
|
2118
2153
|
export declare function resetPiniaStore(): Pinia;
|
|
2119
2154
|
|
|
2120
2155
|
export declare function safeHtml(html: string): string;
|
|
2121
2156
|
|
|
2122
|
-
export declare const Select:
|
|
2157
|
+
export declare const Select: <T extends Nullable<FormFieldValue>>(__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<{
|
|
2158
|
+
props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{
|
|
2159
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2160
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2161
|
+
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
2162
|
+
attrs: any;
|
|
2163
|
+
slots: {
|
|
2164
|
+
default?(_: {}): any;
|
|
2165
|
+
};
|
|
2166
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
2167
|
+
}>) => VNode & {
|
|
2168
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2169
|
+
};
|
|
2123
2170
|
|
|
2124
|
-
export declare interface SelectEmits extends InputEmits {
|
|
2171
|
+
export declare interface SelectEmits<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputEmits<T> {
|
|
2125
2172
|
}
|
|
2126
2173
|
|
|
2127
|
-
export declare interface SelectExpose extends InputExpose {
|
|
2128
|
-
options: ComputedRef<Nullable<
|
|
2129
|
-
selectedOption: ComputedRef<Nullable<
|
|
2174
|
+
export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputExpose<T> {
|
|
2175
|
+
options: ComputedRef<Nullable<SelectOptionData[]>>;
|
|
2176
|
+
selectedOption: ComputedRef<Nullable<SelectOptionData>>;
|
|
2130
2177
|
placeholder: ComputedRef<string>;
|
|
2178
|
+
labelClass?: HTMLAttributes['class'];
|
|
2179
|
+
optionsClass?: HTMLAttributes['class'];
|
|
2180
|
+
align?: SelectContentProps['align'];
|
|
2181
|
+
side?: SelectContentProps['side'];
|
|
2131
2182
|
}
|
|
2132
2183
|
|
|
2133
2184
|
export declare const SelectLabel: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
2134
2185
|
|
|
2135
|
-
export declare
|
|
2186
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2187
|
+
|
|
2188
|
+
export declare type SelectOptionData = {
|
|
2136
2189
|
key: string;
|
|
2137
2190
|
label: string;
|
|
2138
2191
|
value: AcceptableValue;
|
|
2139
2192
|
};
|
|
2140
2193
|
|
|
2141
|
-
export declare const SelectOptions:
|
|
2194
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2142
2195
|
|
|
2143
|
-
export declare interface SelectProps extends InputProps {
|
|
2196
|
+
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2144
2197
|
as?: AsTag | Component;
|
|
2145
|
-
options?:
|
|
2198
|
+
options?: T[];
|
|
2146
2199
|
placeholder?: string;
|
|
2147
|
-
renderOption?: (option:
|
|
2200
|
+
renderOption?: (option: T) => string;
|
|
2201
|
+
compareOptions?: (a: T, b: T) => boolean;
|
|
2202
|
+
labelClass?: HTMLAttributes['class'];
|
|
2203
|
+
optionsClass?: HTMLAttributes['class'];
|
|
2204
|
+
align?: SelectContentProps['align'];
|
|
2205
|
+
side?: SelectContentProps['side'];
|
|
2148
2206
|
}
|
|
2149
2207
|
|
|
2150
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2208
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2151
2209
|
|
|
2152
2210
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2153
2211
|
static persist: string[];
|
|
@@ -2211,6 +2269,8 @@ export declare type ServiceState = Record<string, any>;
|
|
|
2211
2269
|
|
|
2212
2270
|
export declare type ServiceWithState<State extends ServiceState = ServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> = Constructor<Unref<State>> & Constructor<ComputedState> & Constructor<Service<Unref<State>, ComputedState, Unref<ServiceStorage>>>;
|
|
2213
2271
|
|
|
2272
|
+
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2273
|
+
|
|
2214
2274
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2215
2275
|
|
|
2216
2276
|
export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -2228,31 +2288,36 @@ declare class StorageService extends Service {
|
|
|
2228
2288
|
|
|
2229
2289
|
export declare function stringInput(defaultValue?: string, options?: {
|
|
2230
2290
|
rules?: string;
|
|
2231
|
-
}): FormFieldDefinition<
|
|
2291
|
+
}): FormFieldDefinition<'string'>;
|
|
2232
2292
|
|
|
2233
2293
|
export declare type SubmitFormListener = () => unknown;
|
|
2234
2294
|
|
|
2235
|
-
export declare const
|
|
2295
|
+
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2296
|
+
|
|
2297
|
+
export declare const Toast: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2236
2298
|
|
|
2237
|
-
declare interface ToastAction {
|
|
2299
|
+
export declare interface ToastAction {
|
|
2238
2300
|
label: string;
|
|
2239
2301
|
dismiss?: boolean;
|
|
2240
2302
|
click?(): unknown;
|
|
2241
2303
|
}
|
|
2242
2304
|
|
|
2305
|
+
export declare interface ToastExpose {
|
|
2306
|
+
}
|
|
2307
|
+
|
|
2243
2308
|
export declare interface ToastOptions {
|
|
2244
2309
|
component?: Component;
|
|
2245
2310
|
variant?: ToastVariant;
|
|
2246
2311
|
actions?: ToastAction[];
|
|
2247
2312
|
}
|
|
2248
2313
|
|
|
2249
|
-
declare interface ToastProps {
|
|
2314
|
+
export declare interface ToastProps {
|
|
2250
2315
|
message?: string;
|
|
2251
2316
|
actions?: ToastAction[];
|
|
2252
2317
|
variant?: ToastVariant;
|
|
2253
2318
|
}
|
|
2254
2319
|
|
|
2255
|
-
declare type ToastVariant = 'secondary' | 'danger';
|
|
2320
|
+
export declare type ToastVariant = 'secondary' | 'danger';
|
|
2256
2321
|
|
|
2257
2322
|
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
2258
2323
|
|
|
@@ -2260,30 +2325,43 @@ export declare const translateWithDefault: (key: string, defaultMessage: string,
|
|
|
2260
2325
|
|
|
2261
2326
|
export declare const UI: Facade<UIService>;
|
|
2262
2327
|
|
|
2263
|
-
export declare type UIComponent =
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
readonly ConfirmModal: "confirm-modal";
|
|
2268
|
-
readonly ErrorReportModal: "error-report-modal";
|
|
2269
|
-
readonly LoadingModal: "loading-modal";
|
|
2270
|
-
readonly PromptModal: "prompt-modal";
|
|
2271
|
-
readonly Toast: "toast";
|
|
2272
|
-
readonly StartupCrash: "startup-crash";
|
|
2328
|
+
export declare type UIComponent<Props = {}, Exposed = {}> = {
|
|
2329
|
+
new (...args: ClosureArgs): Exposed & {
|
|
2330
|
+
$props: Props;
|
|
2331
|
+
};
|
|
2273
2332
|
};
|
|
2274
2333
|
|
|
2334
|
+
export declare interface UIComponents {
|
|
2335
|
+
'alert-modal': UIComponent<AlertModalProps, AlertModalExpose>;
|
|
2336
|
+
'confirm-modal': UIComponent<ConfirmModalProps, ConfirmModalExpose>;
|
|
2337
|
+
'error-report-modal': UIComponent<ErrorReportModalProps, ErrorReportModalExpose>;
|
|
2338
|
+
'loading-modal': UIComponent<LoadingModalProps, LoadingModalExpose>;
|
|
2339
|
+
'prompt-modal': UIComponent<PromptModalProps, PromptModalExpose>;
|
|
2340
|
+
'router-link': UIComponent;
|
|
2341
|
+
'startup-crash': UIComponent;
|
|
2342
|
+
toast: UIComponent<ToastProps, ToastExpose>;
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2275
2345
|
declare interface UIModal<T = unknown> {
|
|
2276
2346
|
id: string;
|
|
2277
2347
|
properties: Record<string, unknown>;
|
|
2278
2348
|
component: Component;
|
|
2349
|
+
closing: boolean;
|
|
2279
2350
|
beforeClose: Promise<T | undefined>;
|
|
2280
2351
|
afterClose: Promise<T | undefined>;
|
|
2281
2352
|
}
|
|
2282
2353
|
|
|
2354
|
+
export declare interface UIModalContext {
|
|
2355
|
+
modal: UIModal;
|
|
2356
|
+
childIndex?: number;
|
|
2357
|
+
}
|
|
2358
|
+
|
|
2283
2359
|
export declare class UIService extends _default_4 {
|
|
2284
2360
|
private modalCallbacks;
|
|
2285
2361
|
private components;
|
|
2286
|
-
|
|
2362
|
+
registerComponent<T extends keyof UIComponents>(name: T, component: UIComponents[T]): void;
|
|
2363
|
+
resolveComponent<T extends keyof UIComponents>(name: T): UIComponents[T] | null;
|
|
2364
|
+
requireComponent<T extends keyof UIComponents>(name: T): UIComponents[T];
|
|
2287
2365
|
alert(message: string): void;
|
|
2288
2366
|
alert(title: string, message: string): void;
|
|
2289
2367
|
confirm(message: string, options?: ConfirmOptions): Promise<boolean>;
|
|
@@ -2296,8 +2374,8 @@ export declare class UIService extends _default_4 {
|
|
|
2296
2374
|
loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
|
|
2297
2375
|
loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
|
|
2298
2376
|
toast(message: string, options?: ToastOptions): void;
|
|
2299
|
-
|
|
2300
|
-
|
|
2377
|
+
modal<T extends Component>(...args: {} extends ComponentProps<T> ? [component: T, props?: AcceptRefs<ComponentProps<T>>] : [component: T, props: AcceptRefs<ComponentProps<T>>]): Promise<UIModal<ModalResult<T>>>;
|
|
2378
|
+
modalForm<T extends Component>(...args: {} extends ComponentProps<T> ? [component: T, props?: AcceptRefs<ComponentProps<T>>] : [component: T, props: AcceptRefs<ComponentProps<T>>]): Promise<ModalResult<T> | undefined>;
|
|
2301
2379
|
closeModal(id: string, result?: unknown): Promise<void>;
|
|
2302
2380
|
closeAllModals(): Promise<void>;
|
|
2303
2381
|
protected boot(): Promise<void>;
|
|
@@ -2315,53 +2393,66 @@ declare interface UIToast {
|
|
|
2315
2393
|
properties: Record<string, unknown>;
|
|
2316
2394
|
}
|
|
2317
2395
|
|
|
2318
|
-
export declare type UnknownEvent<T> = T extends keyof EventsPayload ? never : T;
|
|
2319
|
-
|
|
2320
2396
|
export declare type Unref<T> = {
|
|
2321
2397
|
[K in keyof T]: T[K] extends MaybeRef<infer Value> ? Value : T[K];
|
|
2322
2398
|
};
|
|
2323
2399
|
|
|
2400
|
+
export declare function useAlertModal(props: AlertModalProps): {
|
|
2401
|
+
renderedTitle: ComputedRef<string>;
|
|
2402
|
+
titleHidden: ComputedRef<boolean>;
|
|
2403
|
+
};
|
|
2404
|
+
|
|
2324
2405
|
export declare function useConfirmModal(props: ConfirmModalProps): {
|
|
2325
2406
|
form: FormController< {
|
|
2326
|
-
[x: string]: FormFieldDefinition<
|
|
2407
|
+
[x: string]: FormFieldDefinition<"boolean", string, object> | {
|
|
2327
2408
|
type: "boolean";
|
|
2328
2409
|
default: boolean | undefined;
|
|
2329
2410
|
required: string | undefined;
|
|
2330
2411
|
};
|
|
2331
2412
|
}> & FormData_2< {
|
|
2332
|
-
[x: string]: FormFieldDefinition<
|
|
2413
|
+
[x: string]: FormFieldDefinition<"boolean", string, object> | {
|
|
2333
2414
|
type: "boolean";
|
|
2334
2415
|
default: boolean | undefined;
|
|
2335
2416
|
required: string | undefined;
|
|
2336
2417
|
};
|
|
2337
2418
|
}>;
|
|
2419
|
+
renderedTitle: ComputedRef<string>;
|
|
2420
|
+
titleHidden: ComputedRef<boolean>;
|
|
2338
2421
|
renderedAcceptText: ComputedRef<string>;
|
|
2339
2422
|
renderedCancelText: ComputedRef<string>;
|
|
2340
2423
|
};
|
|
2341
2424
|
|
|
2425
|
+
export declare function useErrorReportModal(props: ErrorReportModalProps): {
|
|
2426
|
+
activeReportIndex: Ref<number, number>;
|
|
2427
|
+
details: ComputedRef<string>;
|
|
2428
|
+
nextReportText: string;
|
|
2429
|
+
previousReportText: string;
|
|
2430
|
+
activeReport: ComputedRef<ErrorReport>;
|
|
2431
|
+
};
|
|
2432
|
+
|
|
2342
2433
|
export declare function useEvent<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): void;
|
|
2343
2434
|
|
|
2344
2435
|
export declare function useEvent<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): void;
|
|
2345
2436
|
|
|
2346
|
-
export declare function useEvent<Payload>(event: string, listener: (payload: Payload) => unknown): void;
|
|
2347
|
-
|
|
2348
|
-
export declare function useEvent<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): void;
|
|
2349
|
-
|
|
2350
2437
|
export declare function useForm<const T extends FormFieldDefinitions>(fields: T): FormController<T> & FormData_2<T>;
|
|
2351
2438
|
|
|
2352
2439
|
export declare function useInputAttrs(): [ComputedRef<{}>, ComputedRef<ClassValue>];
|
|
2353
2440
|
|
|
2354
2441
|
export declare function useLoadingModal(props: LoadingModalProps): {
|
|
2442
|
+
renderedTitle: ComputedRef<string>;
|
|
2355
2443
|
renderedMessage: ComputedRef<string>;
|
|
2444
|
+
titleHidden: ComputedRef<boolean>;
|
|
2356
2445
|
showProgress: ComputedRef<boolean>;
|
|
2357
2446
|
};
|
|
2358
2447
|
|
|
2359
2448
|
export declare function usePromptModal(props: PromptModalProps): {
|
|
2360
2449
|
form: FormController< {
|
|
2361
|
-
readonly draft: FormFieldDefinition<"string", "required">;
|
|
2450
|
+
readonly draft: FormFieldDefinition<"string", "required", object>;
|
|
2362
2451
|
}> & FormData_2< {
|
|
2363
|
-
readonly draft: FormFieldDefinition<"string", "required">;
|
|
2452
|
+
readonly draft: FormFieldDefinition<"string", "required", object>;
|
|
2364
2453
|
}>;
|
|
2454
|
+
renderedTitle: ComputedRef<string>;
|
|
2455
|
+
renderedMessage: ComputedRef<string | null>;
|
|
2365
2456
|
renderedAcceptText: ComputedRef<string>;
|
|
2366
2457
|
renderedCancelText: ComputedRef<string>;
|
|
2367
2458
|
};
|
|
@@ -2370,6 +2461,12 @@ export declare function validate(value: unknown, rule: string): string[];
|
|
|
2370
2461
|
|
|
2371
2462
|
export declare const validators: Record<string, FormFieldValidator>;
|
|
2372
2463
|
|
|
2464
|
+
export declare function variantClasses<T>(value: {
|
|
2465
|
+
baseClasses?: string;
|
|
2466
|
+
} & CVAProps<T>, config: {
|
|
2467
|
+
baseClasses?: string;
|
|
2468
|
+
} & CVAConfig<T>): string;
|
|
2469
|
+
|
|
2373
2470
|
export declare type Variants<T extends Record<string, string | boolean>> = Required<{
|
|
2374
2471
|
[K in keyof T]: Exclude<T[K], undefined> extends string ? {
|
|
2375
2472
|
[key in Exclude<T[K], undefined>]: string | null;
|
|
@@ -2382,14 +2479,6 @@ export declare type Variants<T extends Record<string, string | boolean>> = Requi
|
|
|
2382
2479
|
export { }
|
|
2383
2480
|
|
|
2384
2481
|
|
|
2385
|
-
declare module '@aerogel/core' {
|
|
2386
|
-
interface EventsPayload {
|
|
2387
|
-
'application-ready': void;
|
|
2388
|
-
'application-mounted': void;
|
|
2389
|
-
}
|
|
2390
|
-
}
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
2482
|
declare module '@aerogel/core' {
|
|
2394
2483
|
interface AerogelOptions {
|
|
2395
2484
|
directives?: Record<string, Directive>;
|
|
@@ -2404,6 +2493,14 @@ declare module 'vue' {
|
|
|
2404
2493
|
}
|
|
2405
2494
|
|
|
2406
2495
|
|
|
2496
|
+
declare module '@aerogel/core' {
|
|
2497
|
+
interface EventsPayload {
|
|
2498
|
+
'application-ready': void;
|
|
2499
|
+
'application-mounted': void;
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
|
|
2407
2504
|
declare module '@aerogel/core' {
|
|
2408
2505
|
interface AerogelOptions {
|
|
2409
2506
|
handleError?(error: ErrorSource): boolean;
|
|
@@ -2451,7 +2548,7 @@ declare global {
|
|
|
2451
2548
|
|
|
2452
2549
|
declare module '@aerogel/core' {
|
|
2453
2550
|
interface AerogelOptions {
|
|
2454
|
-
components?: Partial<
|
|
2551
|
+
components?: Partial<Partial<UIComponents>>;
|
|
2455
2552
|
}
|
|
2456
2553
|
}
|
|
2457
2554
|
|
|
@@ -2462,47 +2559,39 @@ declare module '@aerogel/core' {
|
|
|
2462
2559
|
}
|
|
2463
2560
|
|
|
2464
2561
|
|
|
2465
|
-
declare global {
|
|
2466
|
-
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2467
|
-
}
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
declare module '@aerogel/core' {
|
|
2471
|
-
interface EventsPayload {
|
|
2472
|
-
error: {
|
|
2473
|
-
error: ErrorSource;
|
|
2474
|
-
message?: string;
|
|
2475
|
-
};
|
|
2476
|
-
}
|
|
2477
|
-
}
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
2562
|
declare module '@aerogel/core' {
|
|
2481
2563
|
interface EventsPayload {
|
|
2482
2564
|
'close-modal': {
|
|
2483
2565
|
id: string;
|
|
2484
2566
|
result?: unknown;
|
|
2485
2567
|
};
|
|
2486
|
-
'
|
|
2487
|
-
id: string;
|
|
2488
|
-
};
|
|
2489
|
-
'hide-overlays-backdrop': void;
|
|
2490
|
-
'modal-closed': {
|
|
2568
|
+
'modal-will-close': {
|
|
2491
2569
|
modal: UIModal;
|
|
2492
2570
|
result?: unknown;
|
|
2493
2571
|
};
|
|
2494
|
-
'modal-
|
|
2572
|
+
'modal-has-closed': {
|
|
2495
2573
|
modal: UIModal;
|
|
2496
2574
|
result?: unknown;
|
|
2497
2575
|
};
|
|
2498
|
-
|
|
2499
|
-
|
|
2576
|
+
}
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
declare module '@aerogel/core' {
|
|
2581
|
+
interface EventsPayload {
|
|
2582
|
+
error: {
|
|
2583
|
+
error: ErrorSource;
|
|
2584
|
+
message?: string;
|
|
2500
2585
|
};
|
|
2501
|
-
'show-overlays-backdrop': void;
|
|
2502
2586
|
}
|
|
2503
2587
|
}
|
|
2504
2588
|
|
|
2505
2589
|
|
|
2590
|
+
declare global {
|
|
2591
|
+
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2592
|
+
}
|
|
2593
|
+
|
|
2594
|
+
|
|
2506
2595
|
declare module '@aerogel/core' {
|
|
2507
2596
|
interface EventsPayload {
|
|
2508
2597
|
'purge-storage': void;
|