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