@aerogel/core 0.0.0-next.08ce43db6eedda463e336bacd33f6c9a741096f4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aerogel-core.d.ts +2963 -0
- package/dist/aerogel-core.js +3262 -0
- package/dist/aerogel-core.js.map +1 -0
- package/package.json +49 -0
- package/src/bootstrap/bootstrap.test.ts +54 -0
- package/src/bootstrap/index.ts +49 -0
- package/src/bootstrap/options.ts +8 -0
- package/src/components/AppLayout.vue +16 -0
- package/src/components/AppModals.vue +14 -0
- package/src/components/AppOverlays.vue +9 -0
- package/src/components/AppToasts.vue +16 -0
- package/src/components/contracts/AlertModal.ts +4 -0
- package/src/components/contracts/Button.ts +16 -0
- package/src/components/contracts/ConfirmModal.ts +41 -0
- package/src/components/contracts/DropdownMenu.ts +20 -0
- package/src/components/contracts/ErrorReportModal.ts +29 -0
- package/src/components/contracts/Input.ts +26 -0
- package/src/components/contracts/LoadingModal.ts +22 -0
- package/src/components/contracts/Modal.ts +21 -0
- package/src/components/contracts/PromptModal.ts +30 -0
- package/src/components/contracts/Select.ts +44 -0
- package/src/components/contracts/Toast.ts +13 -0
- package/src/components/contracts/index.ts +11 -0
- package/src/components/headless/HeadlessButton.vue +51 -0
- package/src/components/headless/HeadlessInput.vue +59 -0
- package/src/components/headless/HeadlessInputDescription.vue +27 -0
- package/src/components/headless/HeadlessInputError.vue +22 -0
- package/src/components/headless/HeadlessInputInput.vue +75 -0
- package/src/components/headless/HeadlessInputLabel.vue +18 -0
- package/src/components/headless/HeadlessInputTextArea.vue +40 -0
- package/src/components/headless/HeadlessModal.vue +57 -0
- package/src/components/headless/HeadlessModalContent.vue +30 -0
- package/src/components/headless/HeadlessModalDescription.vue +12 -0
- package/src/components/headless/HeadlessModalOverlay.vue +12 -0
- package/src/components/headless/HeadlessModalTitle.vue +12 -0
- package/src/components/headless/HeadlessSelect.vue +119 -0
- package/src/components/headless/HeadlessSelectError.vue +25 -0
- package/src/components/headless/HeadlessSelectLabel.vue +25 -0
- package/src/components/headless/HeadlessSelectOption.vue +34 -0
- package/src/components/headless/HeadlessSelectOptions.vue +37 -0
- package/src/components/headless/HeadlessSelectTrigger.vue +22 -0
- package/src/components/headless/HeadlessSelectValue.vue +18 -0
- package/src/components/headless/HeadlessToast.vue +18 -0
- package/src/components/headless/HeadlessToastAction.vue +13 -0
- package/src/components/headless/index.ts +19 -0
- package/src/components/index.ts +8 -0
- package/src/components/ui/AdvancedOptions.vue +18 -0
- package/src/components/ui/AlertModal.vue +13 -0
- package/src/components/ui/Button.vue +98 -0
- package/src/components/ui/Checkbox.vue +56 -0
- package/src/components/ui/ConfirmModal.vue +42 -0
- package/src/components/ui/DropdownMenu.vue +32 -0
- package/src/components/ui/DropdownMenuOption.vue +14 -0
- package/src/components/ui/DropdownMenuOptions.vue +27 -0
- package/src/components/ui/EditableContent.vue +82 -0
- package/src/components/ui/ErrorMessage.vue +15 -0
- package/src/components/ui/ErrorReportModal.vue +62 -0
- package/src/components/ui/ErrorReportModalButtons.vue +118 -0
- package/src/components/ui/ErrorReportModalTitle.vue +24 -0
- package/src/components/ui/Form.vue +24 -0
- package/src/components/ui/Input.vue +56 -0
- package/src/components/ui/Link.vue +12 -0
- package/src/components/ui/LoadingModal.vue +32 -0
- package/src/components/ui/Markdown.vue +69 -0
- package/src/components/ui/Modal.vue +121 -0
- package/src/components/ui/ModalContext.vue +30 -0
- package/src/components/ui/ProgressBar.vue +51 -0
- package/src/components/ui/PromptModal.vue +35 -0
- package/src/components/ui/Select.vue +27 -0
- package/src/components/ui/SelectLabel.vue +17 -0
- package/src/components/ui/SelectOption.vue +29 -0
- package/src/components/ui/SelectOptions.vue +30 -0
- package/src/components/ui/SelectTrigger.vue +29 -0
- package/src/components/ui/SettingsModal.vue +15 -0
- package/src/components/ui/StartupCrash.vue +31 -0
- package/src/components/ui/Toast.vue +42 -0
- package/src/components/ui/index.ts +30 -0
- package/src/directives/index.ts +36 -0
- package/src/directives/measure.ts +40 -0
- package/src/errors/Errors.state.ts +31 -0
- package/src/errors/Errors.ts +184 -0
- package/src/errors/JobCancelledError.ts +3 -0
- package/src/errors/ServiceBootError.ts +9 -0
- package/src/errors/index.ts +49 -0
- package/src/errors/utils.ts +35 -0
- package/src/forms/FormController.test.ts +87 -0
- package/src/forms/FormController.ts +245 -0
- package/src/forms/composition.ts +6 -0
- package/src/forms/index.ts +5 -0
- package/src/forms/utils.ts +84 -0
- package/src/forms/validation.ts +19 -0
- package/src/index.css +72 -0
- package/src/index.ts +12 -0
- package/src/jobs/Job.ts +147 -0
- package/src/jobs/index.ts +10 -0
- package/src/jobs/listeners.ts +3 -0
- package/src/jobs/status.ts +4 -0
- package/src/lang/DefaultLangProvider.ts +46 -0
- package/src/lang/Lang.state.ts +11 -0
- package/src/lang/Lang.ts +75 -0
- package/src/lang/index.ts +36 -0
- package/src/lang/settings/Language.vue +48 -0
- package/src/lang/settings/index.ts +10 -0
- package/src/lang/utils.ts +4 -0
- package/src/plugins/Plugin.ts +8 -0
- package/src/plugins/index.ts +29 -0
- package/src/services/App.state.ts +50 -0
- package/src/services/App.ts +63 -0
- package/src/services/Cache.ts +43 -0
- package/src/services/Events.test.ts +39 -0
- package/src/services/Events.ts +159 -0
- package/src/services/Service.ts +324 -0
- package/src/services/Storage.ts +20 -0
- package/src/services/index.ts +72 -0
- package/src/services/store.ts +30 -0
- package/src/services/utils.ts +18 -0
- package/src/testing/index.ts +26 -0
- package/src/testing/setup.ts +11 -0
- package/src/types/shims.d.ts +7 -0
- package/src/types/ts-reset.d.ts +1 -0
- package/src/types/vite.d.ts +1 -0
- package/src/ui/UI.state.ts +46 -0
- package/src/ui/UI.ts +385 -0
- package/src/ui/index.ts +53 -0
- package/src/ui/utils.ts +16 -0
- package/src/utils/classes.ts +49 -0
- package/src/utils/composition/events.ts +22 -0
- package/src/utils/composition/forms.ts +21 -0
- package/src/utils/composition/hooks.ts +9 -0
- package/src/utils/composition/persistent.test.ts +33 -0
- package/src/utils/composition/persistent.ts +11 -0
- package/src/utils/composition/state.test.ts +47 -0
- package/src/utils/composition/state.ts +33 -0
- package/src/utils/index.ts +9 -0
- package/src/utils/markdown.test.ts +50 -0
- package/src/utils/markdown.ts +34 -0
- package/src/utils/types.ts +3 -0
- package/src/utils/vue.ts +56 -0
|
@@ -0,0 +1,2963 @@
|
|
|
1
|
+
import { AcceptableValue } from 'reka-ui';
|
|
2
|
+
import { AllowedComponentProps } from 'vue';
|
|
3
|
+
import { App as App_2 } from 'vue';
|
|
4
|
+
import { AsTag } from 'reka-ui';
|
|
5
|
+
import { ClassValue } from 'clsx';
|
|
6
|
+
import { Component } from 'vue';
|
|
7
|
+
import { ComponentCustomProperties } from 'vue';
|
|
8
|
+
import { ComponentCustomProps } from 'vue';
|
|
9
|
+
import { ComponentInternalInstance } from 'vue';
|
|
10
|
+
import { ComponentOptionsBase } from 'vue';
|
|
11
|
+
import { ComponentOptionsMixin } from 'vue';
|
|
12
|
+
import { ComponentProvideOptions } from 'vue';
|
|
13
|
+
import { ComponentPublicInstance } from 'vue';
|
|
14
|
+
import { ComputedGetter } from 'vue';
|
|
15
|
+
import { ComputedRef } from 'vue';
|
|
16
|
+
import { Constructor } from '@noeldemartin/utils';
|
|
17
|
+
import { cva } from 'class-variance-authority';
|
|
18
|
+
import { DebuggerEvent } from 'vue';
|
|
19
|
+
import { DeepReadonly } from 'vue';
|
|
20
|
+
import { DefineComponent } from 'vue';
|
|
21
|
+
import { DefineStoreOptions } from 'pinia';
|
|
22
|
+
import { DialogContent } from 'reka-ui';
|
|
23
|
+
import { DialogContentProps } from 'reka-ui';
|
|
24
|
+
import { DialogDescriptionProps } from 'reka-ui';
|
|
25
|
+
import { DialogOverlayProps } from 'reka-ui';
|
|
26
|
+
import { DialogTitleProps } from 'reka-ui';
|
|
27
|
+
import { Directive } from 'vue';
|
|
28
|
+
import { DropdownMenuContentProps } from 'reka-ui';
|
|
29
|
+
import { Facade } from '@noeldemartin/utils';
|
|
30
|
+
import { GetClosureArgs } from '@noeldemartin/utils';
|
|
31
|
+
import { GetClosureResult } from '@noeldemartin/utils';
|
|
32
|
+
import { _GettersTree } from 'pinia';
|
|
33
|
+
import { GlobalComponents } from 'vue';
|
|
34
|
+
import { GlobalDirectives } from 'vue';
|
|
35
|
+
import { HTMLAttributes } from 'vue';
|
|
36
|
+
import { InjectionKey } from 'vue';
|
|
37
|
+
import { JSError } from '@noeldemartin/utils';
|
|
38
|
+
import { LabelProps } from 'reka-ui';
|
|
39
|
+
import { Listeners } from '@noeldemartin/utils';
|
|
40
|
+
import { ListenersManager } from '@noeldemartin/utils';
|
|
41
|
+
import { MagicObject } from '@noeldemartin/utils';
|
|
42
|
+
import { MaybeRef } from 'vue';
|
|
43
|
+
import { nextTick } from 'vue';
|
|
44
|
+
import { Nullable } from '@noeldemartin/utils';
|
|
45
|
+
import { ObjectValues } from '@noeldemartin/utils';
|
|
46
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
47
|
+
import { Pinia } from 'pinia';
|
|
48
|
+
import { PrimitiveProps } from 'reka-ui';
|
|
49
|
+
import { PromisedValue } from '@noeldemartin/utils';
|
|
50
|
+
import { PropType } from 'vue';
|
|
51
|
+
import { PublicProps } from 'vue';
|
|
52
|
+
import { Ref } from 'vue';
|
|
53
|
+
import { SelectContentProps } from 'reka-ui';
|
|
54
|
+
import { SelectItemProps } from 'reka-ui';
|
|
55
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
56
|
+
import { Slot } from 'vue';
|
|
57
|
+
import { StateTree } from 'pinia';
|
|
58
|
+
import { Store } from 'pinia';
|
|
59
|
+
import { UnwrapNestedRefs } from 'vue';
|
|
60
|
+
import { VNode } from 'vue';
|
|
61
|
+
import { VNodeProps } from 'vue';
|
|
62
|
+
import { WatchOptions } from 'vue';
|
|
63
|
+
import { WatchStopHandle } from 'vue';
|
|
64
|
+
|
|
65
|
+
declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
66
|
+
|
|
67
|
+
declare const __VLS_component_10: DefineComponent<DialogTitleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
68
|
+
|
|
69
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
70
|
+
|
|
71
|
+
declare const __VLS_component_12: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
72
|
+
|
|
73
|
+
declare const __VLS_component_13: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
74
|
+
|
|
75
|
+
declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
76
|
+
|
|
77
|
+
declare const __VLS_component_15: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
78
|
+
|
|
79
|
+
declare const __VLS_component_16: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
80
|
+
|
|
81
|
+
declare const __VLS_component_17: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDetailsElement>;
|
|
82
|
+
|
|
83
|
+
declare const __VLS_component_18: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
84
|
+
|
|
85
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
86
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
87
|
+
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
88
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
89
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
90
|
+
$inputRef: ({
|
|
91
|
+
$: ComponentInternalInstance;
|
|
92
|
+
$data: {};
|
|
93
|
+
$props: {
|
|
94
|
+
readonly name?: string | undefined;
|
|
95
|
+
readonly label?: string | undefined;
|
|
96
|
+
readonly description?: string | undefined;
|
|
97
|
+
readonly modelValue?: Nullable<FormFieldValue>;
|
|
98
|
+
readonly as?: string | undefined;
|
|
99
|
+
readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
100
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
101
|
+
$attrs: {
|
|
102
|
+
[x: string]: unknown;
|
|
103
|
+
};
|
|
104
|
+
$refs: {
|
|
105
|
+
[x: string]: unknown;
|
|
106
|
+
};
|
|
107
|
+
$slots: Readonly<{
|
|
108
|
+
[name: string]: Slot<any> | undefined;
|
|
109
|
+
}>;
|
|
110
|
+
$root: ComponentPublicInstance | null;
|
|
111
|
+
$parent: ComponentPublicInstance | null;
|
|
112
|
+
$host: Element | null;
|
|
113
|
+
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
114
|
+
$el: any;
|
|
115
|
+
$options: ComponentOptionsBase<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
116
|
+
as?: string;
|
|
117
|
+
}> & Readonly<{
|
|
118
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
119
|
+
}>, {
|
|
120
|
+
id: string;
|
|
121
|
+
name: ComputedRef<string | undefined>;
|
|
122
|
+
label: ComputedRef<string | undefined>;
|
|
123
|
+
description: ComputedRef<string | undefined>;
|
|
124
|
+
value: ComputedRef<Nullable<FormFieldValue>>;
|
|
125
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
126
|
+
required: ComputedRef<boolean | undefined>;
|
|
127
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
128
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
129
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
130
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
131
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
132
|
+
created?: (() => void) | (() => void)[];
|
|
133
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
134
|
+
mounted?: (() => void) | (() => void)[];
|
|
135
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
136
|
+
updated?: (() => void) | (() => void)[];
|
|
137
|
+
activated?: (() => void) | (() => void)[];
|
|
138
|
+
deactivated?: (() => void) | (() => void)[];
|
|
139
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
140
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
141
|
+
destroyed?: (() => void) | (() => void)[];
|
|
142
|
+
unmounted?: (() => void) | (() => void)[];
|
|
143
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
144
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
145
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
146
|
+
};
|
|
147
|
+
$forceUpdate: () => void;
|
|
148
|
+
$nextTick: typeof nextTick;
|
|
149
|
+
$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;
|
|
150
|
+
} & Readonly<{}> & Omit<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
151
|
+
as?: string;
|
|
152
|
+
}> & Readonly<{
|
|
153
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
154
|
+
}>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
|
|
155
|
+
id: string;
|
|
156
|
+
name: ComputedRef<string | undefined>;
|
|
157
|
+
label: ComputedRef<string | undefined>;
|
|
158
|
+
description: ComputedRef<string | undefined>;
|
|
159
|
+
value: ComputedRef<Nullable<FormFieldValue>>;
|
|
160
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
161
|
+
required: ComputedRef<boolean | undefined>;
|
|
162
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
163
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
164
|
+
$slots: {
|
|
165
|
+
default?(_: {}): any;
|
|
166
|
+
};
|
|
167
|
+
}) | null;
|
|
168
|
+
}, any>;
|
|
169
|
+
|
|
170
|
+
declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
171
|
+
|
|
172
|
+
declare const __VLS_component_20: 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>;
|
|
177
|
+
|
|
178
|
+
declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
179
|
+
select: () => any;
|
|
180
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
181
|
+
onSelect?: (() => any) | undefined;
|
|
182
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
183
|
+
|
|
184
|
+
declare const __VLS_component_22: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
185
|
+
|
|
186
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
187
|
+
update: (value: string | number) => any;
|
|
188
|
+
save: () => any;
|
|
189
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
190
|
+
onUpdate?: ((value: string | number) => any) | undefined;
|
|
191
|
+
onSave?: (() => any) | undefined;
|
|
192
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
193
|
+
$inputRef: HTMLInputElement;
|
|
194
|
+
}, HTMLDivElement>;
|
|
195
|
+
|
|
196
|
+
declare const __VLS_component_24: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
197
|
+
|
|
198
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
199
|
+
submit: () => any;
|
|
200
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
201
|
+
onSubmit?: (() => any) | undefined;
|
|
202
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
203
|
+
|
|
204
|
+
declare const __VLS_component_26: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
205
|
+
|
|
206
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
207
|
+
|
|
208
|
+
declare const __VLS_component_28: DefineComponent<__VLS_Props_15, {
|
|
209
|
+
close: ((result?: unknown) => Promise<void>) | Ref<(result?: unknown) => Promise<void>, (result?: unknown) => Promise<void>>;
|
|
210
|
+
$content: Ref<undefined, undefined> | ModalContentInstance | Ref<null, null> | Ref<{
|
|
211
|
+
$: ComponentInternalInstance;
|
|
212
|
+
$data: {};
|
|
213
|
+
$props: {
|
|
214
|
+
readonly forceMount?: boolean | undefined;
|
|
215
|
+
readonly trapFocus?: boolean | undefined;
|
|
216
|
+
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
217
|
+
readonly asChild?: boolean | undefined;
|
|
218
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
219
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
220
|
+
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
221
|
+
originalEvent: PointerEvent;
|
|
222
|
+
}>) => any) | undefined | undefined;
|
|
223
|
+
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
224
|
+
originalEvent: FocusEvent;
|
|
225
|
+
}>) => any) | undefined | undefined;
|
|
226
|
+
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
227
|
+
originalEvent: PointerEvent;
|
|
228
|
+
}> | CustomEvent<{
|
|
229
|
+
originalEvent: FocusEvent;
|
|
230
|
+
}>) => any) | undefined | undefined;
|
|
231
|
+
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
232
|
+
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
233
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
234
|
+
$attrs: {
|
|
235
|
+
[x: string]: unknown;
|
|
236
|
+
};
|
|
237
|
+
$refs: {
|
|
238
|
+
[x: string]: unknown;
|
|
239
|
+
};
|
|
240
|
+
$slots: Readonly<{
|
|
241
|
+
[name: string]: Slot<any> | undefined;
|
|
242
|
+
}>;
|
|
243
|
+
$root: ComponentPublicInstance | null;
|
|
244
|
+
$parent: ComponentPublicInstance | null;
|
|
245
|
+
$host: Element | null;
|
|
246
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
247
|
+
originalEvent: PointerEvent;
|
|
248
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
249
|
+
originalEvent: FocusEvent;
|
|
250
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
251
|
+
originalEvent: PointerEvent;
|
|
252
|
+
}> | CustomEvent<{
|
|
253
|
+
originalEvent: FocusEvent;
|
|
254
|
+
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
255
|
+
$el: any;
|
|
256
|
+
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
257
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
258
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
259
|
+
originalEvent: PointerEvent;
|
|
260
|
+
}>) => any) | undefined;
|
|
261
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
262
|
+
originalEvent: FocusEvent;
|
|
263
|
+
}>) => any) | undefined;
|
|
264
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
265
|
+
originalEvent: PointerEvent;
|
|
266
|
+
}> | CustomEvent<{
|
|
267
|
+
originalEvent: FocusEvent;
|
|
268
|
+
}>) => any) | undefined;
|
|
269
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
270
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
271
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
272
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
273
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
274
|
+
originalEvent: PointerEvent;
|
|
275
|
+
}>) => any;
|
|
276
|
+
focusOutside: (event: CustomEvent<{
|
|
277
|
+
originalEvent: FocusEvent;
|
|
278
|
+
}>) => any;
|
|
279
|
+
interactOutside: (event: CustomEvent<{
|
|
280
|
+
originalEvent: PointerEvent;
|
|
281
|
+
}> | CustomEvent<{
|
|
282
|
+
originalEvent: FocusEvent;
|
|
283
|
+
}>) => any;
|
|
284
|
+
openAutoFocus: (event: Event) => any;
|
|
285
|
+
closeAutoFocus: (event: Event) => any;
|
|
286
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
287
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
288
|
+
created?: (() => void) | (() => void)[];
|
|
289
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
290
|
+
mounted?: (() => void) | (() => void)[];
|
|
291
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
292
|
+
updated?: (() => void) | (() => void)[];
|
|
293
|
+
activated?: (() => void) | (() => void)[];
|
|
294
|
+
deactivated?: (() => void) | (() => void)[];
|
|
295
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
296
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
297
|
+
destroyed?: (() => void) | (() => void)[];
|
|
298
|
+
unmounted?: (() => void) | (() => void)[];
|
|
299
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
300
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
301
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
302
|
+
};
|
|
303
|
+
$forceUpdate: () => void;
|
|
304
|
+
$nextTick: typeof nextTick;
|
|
305
|
+
$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;
|
|
306
|
+
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
307
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
308
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
309
|
+
originalEvent: PointerEvent;
|
|
310
|
+
}>) => any) | undefined;
|
|
311
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
312
|
+
originalEvent: FocusEvent;
|
|
313
|
+
}>) => any) | undefined;
|
|
314
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
315
|
+
originalEvent: PointerEvent;
|
|
316
|
+
}> | CustomEvent<{
|
|
317
|
+
originalEvent: FocusEvent;
|
|
318
|
+
}>) => any) | undefined;
|
|
319
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
320
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
321
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
322
|
+
$slots: {
|
|
323
|
+
default?(_: {}): any;
|
|
324
|
+
default?(_: {}): any;
|
|
325
|
+
};
|
|
326
|
+
}, {
|
|
327
|
+
$: ComponentInternalInstance;
|
|
328
|
+
$data: {};
|
|
329
|
+
$props: {
|
|
330
|
+
readonly forceMount?: boolean | undefined;
|
|
331
|
+
readonly trapFocus?: boolean | undefined;
|
|
332
|
+
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
333
|
+
readonly asChild?: boolean | undefined;
|
|
334
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
335
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
336
|
+
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
337
|
+
originalEvent: PointerEvent;
|
|
338
|
+
}>) => any) | undefined | undefined;
|
|
339
|
+
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
340
|
+
originalEvent: FocusEvent;
|
|
341
|
+
}>) => any) | undefined | undefined;
|
|
342
|
+
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
343
|
+
originalEvent: PointerEvent;
|
|
344
|
+
}> | CustomEvent<{
|
|
345
|
+
originalEvent: FocusEvent;
|
|
346
|
+
}>) => any) | undefined | undefined;
|
|
347
|
+
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
348
|
+
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
349
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
350
|
+
$attrs: {
|
|
351
|
+
[x: string]: unknown;
|
|
352
|
+
};
|
|
353
|
+
$refs: {
|
|
354
|
+
[x: string]: unknown;
|
|
355
|
+
};
|
|
356
|
+
$slots: Readonly<{
|
|
357
|
+
[name: string]: Slot<any> | undefined;
|
|
358
|
+
}>;
|
|
359
|
+
$root: ComponentPublicInstance | null;
|
|
360
|
+
$parent: ComponentPublicInstance | null;
|
|
361
|
+
$host: Element | null;
|
|
362
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
363
|
+
originalEvent: PointerEvent;
|
|
364
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
365
|
+
originalEvent: FocusEvent;
|
|
366
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
367
|
+
originalEvent: PointerEvent;
|
|
368
|
+
}> | CustomEvent<{
|
|
369
|
+
originalEvent: FocusEvent;
|
|
370
|
+
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
371
|
+
$el: any;
|
|
372
|
+
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
373
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
374
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
375
|
+
originalEvent: PointerEvent;
|
|
376
|
+
}>) => any) | undefined;
|
|
377
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
378
|
+
originalEvent: FocusEvent;
|
|
379
|
+
}>) => any) | undefined;
|
|
380
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
381
|
+
originalEvent: PointerEvent;
|
|
382
|
+
}> | CustomEvent<{
|
|
383
|
+
originalEvent: FocusEvent;
|
|
384
|
+
}>) => any) | undefined;
|
|
385
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
386
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
387
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
388
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
389
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
390
|
+
originalEvent: PointerEvent;
|
|
391
|
+
}>) => any;
|
|
392
|
+
focusOutside: (event: CustomEvent<{
|
|
393
|
+
originalEvent: FocusEvent;
|
|
394
|
+
}>) => any;
|
|
395
|
+
interactOutside: (event: CustomEvent<{
|
|
396
|
+
originalEvent: PointerEvent;
|
|
397
|
+
}> | CustomEvent<{
|
|
398
|
+
originalEvent: FocusEvent;
|
|
399
|
+
}>) => any;
|
|
400
|
+
openAutoFocus: (event: Event) => any;
|
|
401
|
+
closeAutoFocus: (event: Event) => any;
|
|
402
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
403
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
404
|
+
created?: (() => void) | (() => void)[];
|
|
405
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
406
|
+
mounted?: (() => void) | (() => void)[];
|
|
407
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
408
|
+
updated?: (() => void) | (() => void)[];
|
|
409
|
+
activated?: (() => void) | (() => void)[];
|
|
410
|
+
deactivated?: (() => void) | (() => void)[];
|
|
411
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
412
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
413
|
+
destroyed?: (() => void) | (() => void)[];
|
|
414
|
+
unmounted?: (() => void) | (() => void)[];
|
|
415
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
416
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
417
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
418
|
+
};
|
|
419
|
+
$forceUpdate: () => void;
|
|
420
|
+
$nextTick: typeof nextTick;
|
|
421
|
+
$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<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
423
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
424
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
425
|
+
originalEvent: PointerEvent;
|
|
426
|
+
}>) => any) | undefined;
|
|
427
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
428
|
+
originalEvent: FocusEvent;
|
|
429
|
+
}>) => any) | undefined;
|
|
430
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
431
|
+
originalEvent: PointerEvent;
|
|
432
|
+
}> | CustomEvent<{
|
|
433
|
+
originalEvent: FocusEvent;
|
|
434
|
+
}>) => any) | undefined;
|
|
435
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
436
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
437
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
438
|
+
$slots: {
|
|
439
|
+
default?(_: {}): any;
|
|
440
|
+
default?(_: {}): any;
|
|
441
|
+
};
|
|
442
|
+
}>;
|
|
443
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
444
|
+
|
|
445
|
+
declare const __VLS_component_29: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
446
|
+
|
|
447
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props, {
|
|
448
|
+
id: string;
|
|
449
|
+
name: ComputedRef<string | undefined>;
|
|
450
|
+
label: ComputedRef<string | undefined>;
|
|
451
|
+
description: ComputedRef<string | undefined>;
|
|
452
|
+
value: ComputedRef<Nullable<FormFieldValue>>;
|
|
453
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
454
|
+
required: ComputedRef<boolean | undefined>;
|
|
455
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
456
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
457
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
458
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
459
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
460
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
461
|
+
|
|
462
|
+
declare const __VLS_component_30: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
463
|
+
|
|
464
|
+
declare const __VLS_component_31: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
465
|
+
|
|
466
|
+
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
467
|
+
|
|
468
|
+
declare const __VLS_component_5: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
469
|
+
|
|
470
|
+
declare const __VLS_component_6: DefineComponent<ModalProps, {
|
|
471
|
+
close: ((result?: unknown) => Promise<void>) | Ref<(result?: unknown) => Promise<void>, (result?: unknown) => Promise<void>>;
|
|
472
|
+
$content: Ref<undefined, undefined> | ModalContentInstance | Ref<null, null> | Ref< {
|
|
473
|
+
$: ComponentInternalInstance;
|
|
474
|
+
$data: {};
|
|
475
|
+
$props: {
|
|
476
|
+
readonly forceMount?: boolean | undefined;
|
|
477
|
+
readonly trapFocus?: boolean | undefined;
|
|
478
|
+
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
479
|
+
readonly asChild?: boolean | undefined;
|
|
480
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
481
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
482
|
+
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
483
|
+
originalEvent: PointerEvent;
|
|
484
|
+
}>) => any) | undefined | undefined;
|
|
485
|
+
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
486
|
+
originalEvent: FocusEvent;
|
|
487
|
+
}>) => any) | undefined | undefined;
|
|
488
|
+
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
489
|
+
originalEvent: PointerEvent;
|
|
490
|
+
}> | CustomEvent<{
|
|
491
|
+
originalEvent: FocusEvent;
|
|
492
|
+
}>) => any) | undefined | undefined;
|
|
493
|
+
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
494
|
+
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
495
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
496
|
+
$attrs: {
|
|
497
|
+
[x: string]: unknown;
|
|
498
|
+
};
|
|
499
|
+
$refs: {
|
|
500
|
+
[x: string]: unknown;
|
|
501
|
+
};
|
|
502
|
+
$slots: Readonly<{
|
|
503
|
+
[name: string]: Slot<any> | undefined;
|
|
504
|
+
}>;
|
|
505
|
+
$root: ComponentPublicInstance | null;
|
|
506
|
+
$parent: ComponentPublicInstance | null;
|
|
507
|
+
$host: Element | null;
|
|
508
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
509
|
+
originalEvent: PointerEvent;
|
|
510
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
511
|
+
originalEvent: FocusEvent;
|
|
512
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
513
|
+
originalEvent: PointerEvent;
|
|
514
|
+
}> | CustomEvent<{
|
|
515
|
+
originalEvent: FocusEvent;
|
|
516
|
+
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
517
|
+
$el: any;
|
|
518
|
+
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
519
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
520
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
521
|
+
originalEvent: PointerEvent;
|
|
522
|
+
}>) => any) | undefined;
|
|
523
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
524
|
+
originalEvent: FocusEvent;
|
|
525
|
+
}>) => any) | undefined;
|
|
526
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
527
|
+
originalEvent: PointerEvent;
|
|
528
|
+
}> | CustomEvent<{
|
|
529
|
+
originalEvent: FocusEvent;
|
|
530
|
+
}>) => any) | undefined;
|
|
531
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
532
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
533
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
534
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
535
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
536
|
+
originalEvent: PointerEvent;
|
|
537
|
+
}>) => any;
|
|
538
|
+
focusOutside: (event: CustomEvent<{
|
|
539
|
+
originalEvent: FocusEvent;
|
|
540
|
+
}>) => any;
|
|
541
|
+
interactOutside: (event: CustomEvent<{
|
|
542
|
+
originalEvent: PointerEvent;
|
|
543
|
+
}> | CustomEvent<{
|
|
544
|
+
originalEvent: FocusEvent;
|
|
545
|
+
}>) => any;
|
|
546
|
+
openAutoFocus: (event: Event) => any;
|
|
547
|
+
closeAutoFocus: (event: Event) => any;
|
|
548
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
549
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
550
|
+
created?: (() => void) | (() => void)[];
|
|
551
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
552
|
+
mounted?: (() => void) | (() => void)[];
|
|
553
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
554
|
+
updated?: (() => void) | (() => void)[];
|
|
555
|
+
activated?: (() => void) | (() => void)[];
|
|
556
|
+
deactivated?: (() => void) | (() => void)[];
|
|
557
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
558
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
559
|
+
destroyed?: (() => void) | (() => void)[];
|
|
560
|
+
unmounted?: (() => void) | (() => void)[];
|
|
561
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
562
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
563
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
564
|
+
};
|
|
565
|
+
$forceUpdate: () => void;
|
|
566
|
+
$nextTick: typeof nextTick;
|
|
567
|
+
$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;
|
|
568
|
+
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
569
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
570
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
571
|
+
originalEvent: PointerEvent;
|
|
572
|
+
}>) => any) | undefined;
|
|
573
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
574
|
+
originalEvent: FocusEvent;
|
|
575
|
+
}>) => any) | undefined;
|
|
576
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
577
|
+
originalEvent: PointerEvent;
|
|
578
|
+
}> | CustomEvent<{
|
|
579
|
+
originalEvent: FocusEvent;
|
|
580
|
+
}>) => any) | undefined;
|
|
581
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
582
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
583
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
584
|
+
$slots: {
|
|
585
|
+
default?(_: {}): any;
|
|
586
|
+
default?(_: {}): any;
|
|
587
|
+
};
|
|
588
|
+
}, {
|
|
589
|
+
$: ComponentInternalInstance;
|
|
590
|
+
$data: {};
|
|
591
|
+
$props: {
|
|
592
|
+
readonly forceMount?: boolean | undefined;
|
|
593
|
+
readonly trapFocus?: boolean | undefined;
|
|
594
|
+
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
595
|
+
readonly asChild?: boolean | undefined;
|
|
596
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
597
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
598
|
+
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
599
|
+
originalEvent: PointerEvent;
|
|
600
|
+
}>) => any) | undefined | undefined;
|
|
601
|
+
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
602
|
+
originalEvent: FocusEvent;
|
|
603
|
+
}>) => any) | undefined | undefined;
|
|
604
|
+
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
605
|
+
originalEvent: PointerEvent;
|
|
606
|
+
}> | CustomEvent<{
|
|
607
|
+
originalEvent: FocusEvent;
|
|
608
|
+
}>) => any) | undefined | undefined;
|
|
609
|
+
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
610
|
+
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
611
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
612
|
+
$attrs: {
|
|
613
|
+
[x: string]: unknown;
|
|
614
|
+
};
|
|
615
|
+
$refs: {
|
|
616
|
+
[x: string]: unknown;
|
|
617
|
+
};
|
|
618
|
+
$slots: Readonly<{
|
|
619
|
+
[name: string]: Slot<any> | undefined;
|
|
620
|
+
}>;
|
|
621
|
+
$root: ComponentPublicInstance | null;
|
|
622
|
+
$parent: ComponentPublicInstance | null;
|
|
623
|
+
$host: Element | null;
|
|
624
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
625
|
+
originalEvent: PointerEvent;
|
|
626
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
627
|
+
originalEvent: FocusEvent;
|
|
628
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
629
|
+
originalEvent: PointerEvent;
|
|
630
|
+
}> | CustomEvent<{
|
|
631
|
+
originalEvent: FocusEvent;
|
|
632
|
+
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
633
|
+
$el: any;
|
|
634
|
+
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
635
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
636
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
637
|
+
originalEvent: PointerEvent;
|
|
638
|
+
}>) => any) | undefined;
|
|
639
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
640
|
+
originalEvent: FocusEvent;
|
|
641
|
+
}>) => any) | undefined;
|
|
642
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
643
|
+
originalEvent: PointerEvent;
|
|
644
|
+
}> | CustomEvent<{
|
|
645
|
+
originalEvent: FocusEvent;
|
|
646
|
+
}>) => any) | undefined;
|
|
647
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
648
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
649
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
650
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
651
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
652
|
+
originalEvent: PointerEvent;
|
|
653
|
+
}>) => any;
|
|
654
|
+
focusOutside: (event: CustomEvent<{
|
|
655
|
+
originalEvent: FocusEvent;
|
|
656
|
+
}>) => any;
|
|
657
|
+
interactOutside: (event: CustomEvent<{
|
|
658
|
+
originalEvent: PointerEvent;
|
|
659
|
+
}> | CustomEvent<{
|
|
660
|
+
originalEvent: FocusEvent;
|
|
661
|
+
}>) => any;
|
|
662
|
+
openAutoFocus: (event: Event) => any;
|
|
663
|
+
closeAutoFocus: (event: Event) => any;
|
|
664
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
665
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
666
|
+
created?: (() => void) | (() => void)[];
|
|
667
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
668
|
+
mounted?: (() => void) | (() => void)[];
|
|
669
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
670
|
+
updated?: (() => void) | (() => void)[];
|
|
671
|
+
activated?: (() => void) | (() => void)[];
|
|
672
|
+
deactivated?: (() => void) | (() => void)[];
|
|
673
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
674
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
675
|
+
destroyed?: (() => void) | (() => void)[];
|
|
676
|
+
unmounted?: (() => void) | (() => void)[];
|
|
677
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
678
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
679
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
680
|
+
};
|
|
681
|
+
$forceUpdate: () => void;
|
|
682
|
+
$nextTick: typeof nextTick;
|
|
683
|
+
$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;
|
|
684
|
+
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
685
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
686
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
687
|
+
originalEvent: PointerEvent;
|
|
688
|
+
}>) => any) | undefined;
|
|
689
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
690
|
+
originalEvent: FocusEvent;
|
|
691
|
+
}>) => any) | undefined;
|
|
692
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
693
|
+
originalEvent: PointerEvent;
|
|
694
|
+
}> | CustomEvent<{
|
|
695
|
+
originalEvent: FocusEvent;
|
|
696
|
+
}>) => any) | undefined;
|
|
697
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
698
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
699
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
700
|
+
$slots: {
|
|
701
|
+
default?(_: {}): any;
|
|
702
|
+
default?(_: {}): any;
|
|
703
|
+
};
|
|
704
|
+
}>;
|
|
705
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
706
|
+
|
|
707
|
+
declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
708
|
+
$contentRef: ({
|
|
709
|
+
$: ComponentInternalInstance;
|
|
710
|
+
$data: {};
|
|
711
|
+
$props: {
|
|
712
|
+
readonly forceMount?: boolean | undefined;
|
|
713
|
+
readonly trapFocus?: boolean | undefined;
|
|
714
|
+
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
715
|
+
readonly asChild?: boolean | undefined;
|
|
716
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
717
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
718
|
+
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
719
|
+
originalEvent: PointerEvent;
|
|
720
|
+
}>) => any) | undefined | undefined;
|
|
721
|
+
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
722
|
+
originalEvent: FocusEvent;
|
|
723
|
+
}>) => any) | undefined | undefined;
|
|
724
|
+
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
725
|
+
originalEvent: PointerEvent;
|
|
726
|
+
}> | CustomEvent<{
|
|
727
|
+
originalEvent: FocusEvent;
|
|
728
|
+
}>) => any) | undefined | undefined;
|
|
729
|
+
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
730
|
+
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
731
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
732
|
+
$attrs: {
|
|
733
|
+
[x: string]: unknown;
|
|
734
|
+
};
|
|
735
|
+
$refs: {
|
|
736
|
+
[x: string]: unknown;
|
|
737
|
+
};
|
|
738
|
+
$slots: Readonly<{
|
|
739
|
+
[name: string]: Slot<any> | undefined;
|
|
740
|
+
}>;
|
|
741
|
+
$root: ComponentPublicInstance | null;
|
|
742
|
+
$parent: ComponentPublicInstance | null;
|
|
743
|
+
$host: Element | null;
|
|
744
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
745
|
+
originalEvent: PointerEvent;
|
|
746
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
747
|
+
originalEvent: FocusEvent;
|
|
748
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
749
|
+
originalEvent: PointerEvent;
|
|
750
|
+
}> | CustomEvent<{
|
|
751
|
+
originalEvent: FocusEvent;
|
|
752
|
+
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
753
|
+
$el: any;
|
|
754
|
+
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
755
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
756
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
757
|
+
originalEvent: PointerEvent;
|
|
758
|
+
}>) => any) | undefined;
|
|
759
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
760
|
+
originalEvent: FocusEvent;
|
|
761
|
+
}>) => any) | undefined;
|
|
762
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
763
|
+
originalEvent: PointerEvent;
|
|
764
|
+
}> | CustomEvent<{
|
|
765
|
+
originalEvent: FocusEvent;
|
|
766
|
+
}>) => any) | undefined;
|
|
767
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
768
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
769
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
770
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
771
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
772
|
+
originalEvent: PointerEvent;
|
|
773
|
+
}>) => any;
|
|
774
|
+
focusOutside: (event: CustomEvent<{
|
|
775
|
+
originalEvent: FocusEvent;
|
|
776
|
+
}>) => any;
|
|
777
|
+
interactOutside: (event: CustomEvent<{
|
|
778
|
+
originalEvent: PointerEvent;
|
|
779
|
+
}> | CustomEvent<{
|
|
780
|
+
originalEvent: FocusEvent;
|
|
781
|
+
}>) => any;
|
|
782
|
+
openAutoFocus: (event: Event) => any;
|
|
783
|
+
closeAutoFocus: (event: Event) => any;
|
|
784
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
785
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
786
|
+
created?: (() => void) | (() => void)[];
|
|
787
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
788
|
+
mounted?: (() => void) | (() => void)[];
|
|
789
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
790
|
+
updated?: (() => void) | (() => void)[];
|
|
791
|
+
activated?: (() => void) | (() => void)[];
|
|
792
|
+
deactivated?: (() => void) | (() => void)[];
|
|
793
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
794
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
795
|
+
destroyed?: (() => void) | (() => void)[];
|
|
796
|
+
unmounted?: (() => void) | (() => void)[];
|
|
797
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
798
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
799
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
800
|
+
};
|
|
801
|
+
$forceUpdate: () => void;
|
|
802
|
+
$nextTick: typeof nextTick;
|
|
803
|
+
$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;
|
|
804
|
+
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
805
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
806
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
807
|
+
originalEvent: PointerEvent;
|
|
808
|
+
}>) => any) | undefined;
|
|
809
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
810
|
+
originalEvent: FocusEvent;
|
|
811
|
+
}>) => any) | undefined;
|
|
812
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
813
|
+
originalEvent: PointerEvent;
|
|
814
|
+
}> | CustomEvent<{
|
|
815
|
+
originalEvent: FocusEvent;
|
|
816
|
+
}>) => any) | undefined;
|
|
817
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
818
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
819
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
820
|
+
$slots: {
|
|
821
|
+
default?(_: {}): any;
|
|
822
|
+
default?(_: {}): any;
|
|
823
|
+
};
|
|
824
|
+
}) | null;
|
|
825
|
+
}, any>;
|
|
826
|
+
|
|
827
|
+
declare const __VLS_component_8: DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
828
|
+
|
|
829
|
+
declare const __VLS_component_9: DefineComponent<DialogOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
830
|
+
|
|
831
|
+
declare type __VLS_PrettifyLocal<T> = {
|
|
832
|
+
[K in keyof T]: T[K];
|
|
833
|
+
} & {};
|
|
834
|
+
|
|
835
|
+
declare type __VLS_PrettifyLocal_2<T> = {
|
|
836
|
+
[K in keyof T]: T[K];
|
|
837
|
+
} & {};
|
|
838
|
+
|
|
839
|
+
declare type __VLS_Props = InputProps & {
|
|
840
|
+
as?: string;
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
declare type __VLS_Props_10 = {
|
|
844
|
+
report: ErrorReport;
|
|
845
|
+
currentReport?: number;
|
|
846
|
+
totalReports?: number;
|
|
847
|
+
};
|
|
848
|
+
|
|
849
|
+
declare type __VLS_Props_11 = {
|
|
850
|
+
form?: FormController;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
declare type __VLS_Props_12 = InputProps & {
|
|
854
|
+
inputClass?: HTMLAttributes['class'];
|
|
855
|
+
wrapperClass?: HTMLAttributes['class'];
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
declare type __VLS_Props_13 = Omit<ButtonProps, 'variant'>;
|
|
859
|
+
|
|
860
|
+
declare type __VLS_Props_14 = {
|
|
861
|
+
as?: string;
|
|
862
|
+
inline?: boolean;
|
|
863
|
+
langKey?: string;
|
|
864
|
+
langParams?: number | Record<string, unknown>;
|
|
865
|
+
langDefault?: string;
|
|
866
|
+
text?: string;
|
|
867
|
+
actions?: Record<string, () => unknown>;
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
declare type __VLS_Props_15 = ModalProps & {
|
|
871
|
+
dismissable?: boolean;
|
|
872
|
+
wrapperClass?: HTMLAttributes['class'];
|
|
873
|
+
class?: HTMLAttributes['class'];
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
declare type __VLS_Props_16 = {
|
|
877
|
+
modal: UIModal;
|
|
878
|
+
childIndex?: number;
|
|
879
|
+
};
|
|
880
|
+
|
|
881
|
+
declare type __VLS_Props_17 = {
|
|
882
|
+
filledClass?: string;
|
|
883
|
+
progress?: number;
|
|
884
|
+
job?: Falsifiable<Job>;
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
declare type __VLS_Props_18 = {
|
|
888
|
+
value: AcceptableValue;
|
|
889
|
+
class?: HTMLAttributes['class'];
|
|
890
|
+
innerClass?: HTMLAttributes['class'];
|
|
891
|
+
};
|
|
892
|
+
|
|
893
|
+
declare type __VLS_Props_19 = {
|
|
894
|
+
class?: HTMLAttributes['class'];
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
declare type __VLS_Props_2 = {
|
|
898
|
+
type?: string;
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
declare type __VLS_Props_20 = {
|
|
902
|
+
class?: HTMLAttributes['class'];
|
|
903
|
+
};
|
|
904
|
+
|
|
905
|
+
declare type __VLS_Props_21 = ToastProps & {
|
|
906
|
+
class?: HTMLAttributes['class'];
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
910
|
+
|
|
911
|
+
declare type __VLS_Props_4 = SelectItemProps;
|
|
912
|
+
|
|
913
|
+
declare type __VLS_Props_5 = {
|
|
914
|
+
class?: HTMLAttributes['class'];
|
|
915
|
+
innerClass?: HTMLAttributes['class'];
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
declare type __VLS_Props_6 = InputProps & {
|
|
919
|
+
inputClass?: HTMLAttributes['class'];
|
|
920
|
+
labelClass?: HTMLAttributes['class'];
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
declare type __VLS_Props_7 = {
|
|
924
|
+
type?: string;
|
|
925
|
+
contentClass?: HTMLAttributes['class'];
|
|
926
|
+
ariaLabel?: string;
|
|
927
|
+
formAriaHidden?: boolean;
|
|
928
|
+
tabindex?: string;
|
|
929
|
+
text: string;
|
|
930
|
+
disabled?: boolean;
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
declare type __VLS_Props_8 = {
|
|
934
|
+
error: ErrorSource;
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
declare type __VLS_Props_9 = {
|
|
938
|
+
report: ErrorReport;
|
|
939
|
+
};
|
|
940
|
+
|
|
941
|
+
declare function __VLS_template(): {
|
|
942
|
+
attrs: Partial<{}>;
|
|
943
|
+
slots: {
|
|
944
|
+
'startup-crash'?(_: {}): any;
|
|
945
|
+
default?(_: {}): any;
|
|
946
|
+
};
|
|
947
|
+
refs: {};
|
|
948
|
+
rootEl: HTMLDivElement;
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
declare function __VLS_template_10(): {
|
|
952
|
+
attrs: Partial<{}>;
|
|
953
|
+
slots: {
|
|
954
|
+
default?(_: {}): any;
|
|
955
|
+
};
|
|
956
|
+
refs: {};
|
|
957
|
+
rootEl: any;
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
declare function __VLS_template_11(): {
|
|
961
|
+
attrs: Partial<{}>;
|
|
962
|
+
slots: {
|
|
963
|
+
default?(_: {}): any;
|
|
964
|
+
};
|
|
965
|
+
refs: {};
|
|
966
|
+
rootEl: any;
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
declare function __VLS_template_12(): {
|
|
970
|
+
attrs: Partial<{}>;
|
|
971
|
+
slots: {
|
|
972
|
+
default?(_: {}): any;
|
|
973
|
+
};
|
|
974
|
+
refs: {};
|
|
975
|
+
rootEl: any;
|
|
976
|
+
};
|
|
977
|
+
|
|
978
|
+
declare function __VLS_template_13(): {
|
|
979
|
+
attrs: Partial<{}>;
|
|
980
|
+
slots: {
|
|
981
|
+
default?(_: {}): any;
|
|
982
|
+
};
|
|
983
|
+
refs: {};
|
|
984
|
+
rootEl: any;
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
declare function __VLS_template_14(): {
|
|
988
|
+
attrs: Partial<{}>;
|
|
989
|
+
slots: {
|
|
990
|
+
default?(_: {}): any;
|
|
991
|
+
};
|
|
992
|
+
refs: {};
|
|
993
|
+
rootEl: any;
|
|
994
|
+
};
|
|
995
|
+
|
|
996
|
+
declare function __VLS_template_15(): {
|
|
997
|
+
attrs: Partial<{}>;
|
|
998
|
+
slots: {
|
|
999
|
+
default?(_: {}): any;
|
|
1000
|
+
};
|
|
1001
|
+
refs: {};
|
|
1002
|
+
rootEl: any;
|
|
1003
|
+
};
|
|
1004
|
+
|
|
1005
|
+
declare function __VLS_template_16(): {
|
|
1006
|
+
attrs: Partial<{}>;
|
|
1007
|
+
slots: {
|
|
1008
|
+
default?(_: {}): any;
|
|
1009
|
+
};
|
|
1010
|
+
refs: {};
|
|
1011
|
+
rootEl: any;
|
|
1012
|
+
};
|
|
1013
|
+
|
|
1014
|
+
declare function __VLS_template_17(): {
|
|
1015
|
+
attrs: Partial<{}>;
|
|
1016
|
+
slots: {
|
|
1017
|
+
default?(_: {}): any;
|
|
1018
|
+
};
|
|
1019
|
+
refs: {};
|
|
1020
|
+
rootEl: HTMLDetailsElement;
|
|
1021
|
+
};
|
|
1022
|
+
|
|
1023
|
+
declare function __VLS_template_18(): {
|
|
1024
|
+
attrs: Partial<{}>;
|
|
1025
|
+
slots: {
|
|
1026
|
+
default?(_: {}): any;
|
|
1027
|
+
};
|
|
1028
|
+
refs: {};
|
|
1029
|
+
rootEl: any;
|
|
1030
|
+
};
|
|
1031
|
+
|
|
1032
|
+
declare function __VLS_template_19(): {
|
|
1033
|
+
attrs: Partial<{}>;
|
|
1034
|
+
slots: {
|
|
1035
|
+
default?(_: {}): any;
|
|
1036
|
+
};
|
|
1037
|
+
refs: {
|
|
1038
|
+
$inputRef: ({
|
|
1039
|
+
$: ComponentInternalInstance;
|
|
1040
|
+
$data: {};
|
|
1041
|
+
$props: {
|
|
1042
|
+
readonly name?: string | undefined;
|
|
1043
|
+
readonly label?: string | undefined;
|
|
1044
|
+
readonly description?: string | undefined;
|
|
1045
|
+
readonly modelValue?: Nullable<FormFieldValue>;
|
|
1046
|
+
readonly as?: string | undefined;
|
|
1047
|
+
readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1048
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1049
|
+
$attrs: {
|
|
1050
|
+
[x: string]: unknown;
|
|
1051
|
+
};
|
|
1052
|
+
$refs: {
|
|
1053
|
+
[x: string]: unknown;
|
|
1054
|
+
};
|
|
1055
|
+
$slots: Readonly<{
|
|
1056
|
+
[name: string]: Slot<any> | undefined;
|
|
1057
|
+
}>;
|
|
1058
|
+
$root: ComponentPublicInstance | null;
|
|
1059
|
+
$parent: ComponentPublicInstance | null;
|
|
1060
|
+
$host: Element | null;
|
|
1061
|
+
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
1062
|
+
$el: any;
|
|
1063
|
+
$options: ComponentOptionsBase<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
1064
|
+
as?: string;
|
|
1065
|
+
}> & Readonly<{
|
|
1066
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1067
|
+
}>, {
|
|
1068
|
+
id: string;
|
|
1069
|
+
name: ComputedRef<string | undefined>;
|
|
1070
|
+
label: ComputedRef<string | undefined>;
|
|
1071
|
+
description: ComputedRef<string | undefined>;
|
|
1072
|
+
value: ComputedRef<Nullable<FormFieldValue>>;
|
|
1073
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1074
|
+
required: ComputedRef<boolean | undefined>;
|
|
1075
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
1076
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1077
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
1078
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1079
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1080
|
+
created?: (() => void) | (() => void)[];
|
|
1081
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1082
|
+
mounted?: (() => void) | (() => void)[];
|
|
1083
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1084
|
+
updated?: (() => void) | (() => void)[];
|
|
1085
|
+
activated?: (() => void) | (() => void)[];
|
|
1086
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1087
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1088
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1089
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1090
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1091
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1092
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1093
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1094
|
+
};
|
|
1095
|
+
$forceUpdate: () => void;
|
|
1096
|
+
$nextTick: typeof nextTick;
|
|
1097
|
+
$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;
|
|
1098
|
+
} & Readonly<{}> & Omit<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
1099
|
+
as?: string;
|
|
1100
|
+
}> & Readonly<{
|
|
1101
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1102
|
+
}>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
|
|
1103
|
+
id: string;
|
|
1104
|
+
name: ComputedRef<string | undefined>;
|
|
1105
|
+
label: ComputedRef<string | undefined>;
|
|
1106
|
+
description: ComputedRef<string | undefined>;
|
|
1107
|
+
value: ComputedRef<Nullable<FormFieldValue>>;
|
|
1108
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1109
|
+
required: ComputedRef<boolean | undefined>;
|
|
1110
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
1111
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1112
|
+
$slots: {
|
|
1113
|
+
default?(_: {}): any;
|
|
1114
|
+
};
|
|
1115
|
+
}) | null;
|
|
1116
|
+
};
|
|
1117
|
+
rootEl: any;
|
|
1118
|
+
};
|
|
1119
|
+
|
|
1120
|
+
declare function __VLS_template_2(): {
|
|
1121
|
+
attrs: Partial<{}>;
|
|
1122
|
+
slots: {
|
|
1123
|
+
default?(_: {}): any;
|
|
1124
|
+
};
|
|
1125
|
+
refs: {};
|
|
1126
|
+
rootEl: any;
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
declare function __VLS_template_20(): {
|
|
1130
|
+
attrs: Partial<{}>;
|
|
1131
|
+
slots: {
|
|
1132
|
+
default?(_: {}): any;
|
|
1133
|
+
options?(_: {}): any;
|
|
1134
|
+
};
|
|
1135
|
+
refs: {};
|
|
1136
|
+
rootEl: any;
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
declare function __VLS_template_21(): {
|
|
1140
|
+
attrs: Partial<{}>;
|
|
1141
|
+
slots: {
|
|
1142
|
+
default?(_: {}): any;
|
|
1143
|
+
};
|
|
1144
|
+
refs: {};
|
|
1145
|
+
rootEl: any;
|
|
1146
|
+
};
|
|
1147
|
+
|
|
1148
|
+
declare function __VLS_template_22(): {
|
|
1149
|
+
attrs: Partial<{}>;
|
|
1150
|
+
slots: {
|
|
1151
|
+
default?(_: {}): any;
|
|
1152
|
+
};
|
|
1153
|
+
refs: {};
|
|
1154
|
+
rootEl: any;
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
declare function __VLS_template_23(): {
|
|
1158
|
+
attrs: Partial<{}>;
|
|
1159
|
+
slots: {
|
|
1160
|
+
default?(_: {}): any;
|
|
1161
|
+
};
|
|
1162
|
+
refs: {
|
|
1163
|
+
$inputRef: HTMLInputElement;
|
|
1164
|
+
};
|
|
1165
|
+
rootEl: HTMLDivElement;
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
declare function __VLS_template_24(): {
|
|
1169
|
+
attrs: Partial<{}>;
|
|
1170
|
+
slots: Readonly<{
|
|
1171
|
+
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
1172
|
+
}> & {
|
|
1173
|
+
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
1174
|
+
};
|
|
1175
|
+
refs: {};
|
|
1176
|
+
rootEl: HTMLDivElement;
|
|
1177
|
+
};
|
|
1178
|
+
|
|
1179
|
+
declare function __VLS_template_25(): {
|
|
1180
|
+
attrs: Partial<{}>;
|
|
1181
|
+
slots: {
|
|
1182
|
+
default?(_: {}): any;
|
|
1183
|
+
};
|
|
1184
|
+
refs: {};
|
|
1185
|
+
rootEl: HTMLFormElement;
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1188
|
+
declare function __VLS_template_26(): {
|
|
1189
|
+
attrs: Partial<{}>;
|
|
1190
|
+
slots: {
|
|
1191
|
+
default?(_: {}): any;
|
|
1192
|
+
};
|
|
1193
|
+
refs: {};
|
|
1194
|
+
rootEl: any;
|
|
1195
|
+
};
|
|
1196
|
+
|
|
1197
|
+
declare function __VLS_template_27(): {
|
|
1198
|
+
attrs: Partial<{}>;
|
|
1199
|
+
slots: Readonly<{
|
|
1200
|
+
default?(): VNode[];
|
|
1201
|
+
}> & {
|
|
1202
|
+
default?(): VNode[];
|
|
1203
|
+
};
|
|
1204
|
+
refs: {};
|
|
1205
|
+
rootEl: any;
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1208
|
+
declare function __VLS_template_28(): {
|
|
1209
|
+
attrs: Partial<{}>;
|
|
1210
|
+
slots: Readonly<ModalSlots> & ModalSlots;
|
|
1211
|
+
refs: {};
|
|
1212
|
+
rootEl: any;
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1215
|
+
declare function __VLS_template_29(): {
|
|
1216
|
+
attrs: Partial<{}>;
|
|
1217
|
+
slots: {
|
|
1218
|
+
default?(_: {}): any;
|
|
1219
|
+
};
|
|
1220
|
+
refs: {};
|
|
1221
|
+
rootEl: any;
|
|
1222
|
+
};
|
|
1223
|
+
|
|
1224
|
+
declare function __VLS_template_3(): {
|
|
1225
|
+
attrs: Partial<{}>;
|
|
1226
|
+
slots: {
|
|
1227
|
+
default?(_: {}): any;
|
|
1228
|
+
};
|
|
1229
|
+
refs: {};
|
|
1230
|
+
rootEl: any;
|
|
1231
|
+
};
|
|
1232
|
+
|
|
1233
|
+
declare function __VLS_template_30(): {
|
|
1234
|
+
attrs: Partial<{}>;
|
|
1235
|
+
slots: {
|
|
1236
|
+
default?(_: {}): any;
|
|
1237
|
+
};
|
|
1238
|
+
refs: {};
|
|
1239
|
+
rootEl: any;
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
declare function __VLS_template_31(): {
|
|
1243
|
+
attrs: Partial<{}>;
|
|
1244
|
+
slots: {
|
|
1245
|
+
default?(_: {}): any;
|
|
1246
|
+
};
|
|
1247
|
+
refs: {};
|
|
1248
|
+
rootEl: any;
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
declare function __VLS_template_4(): {
|
|
1252
|
+
attrs: Partial<{}>;
|
|
1253
|
+
slots: {
|
|
1254
|
+
default?(_: {
|
|
1255
|
+
id: string;
|
|
1256
|
+
}): any;
|
|
1257
|
+
};
|
|
1258
|
+
refs: {};
|
|
1259
|
+
rootEl: any;
|
|
1260
|
+
};
|
|
1261
|
+
|
|
1262
|
+
declare function __VLS_template_5(): {
|
|
1263
|
+
attrs: Partial<{}>;
|
|
1264
|
+
slots: {
|
|
1265
|
+
default?(_: {}): any;
|
|
1266
|
+
};
|
|
1267
|
+
refs: {};
|
|
1268
|
+
rootEl: any;
|
|
1269
|
+
};
|
|
1270
|
+
|
|
1271
|
+
declare function __VLS_template_6(): {
|
|
1272
|
+
attrs: Partial<{}>;
|
|
1273
|
+
slots: Readonly<ModalSlots> & ModalSlots;
|
|
1274
|
+
refs: {};
|
|
1275
|
+
rootEl: any;
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
declare function __VLS_template_7(): {
|
|
1279
|
+
attrs: Partial<{}>;
|
|
1280
|
+
slots: {
|
|
1281
|
+
default?(_: {}): any;
|
|
1282
|
+
};
|
|
1283
|
+
refs: {
|
|
1284
|
+
$contentRef: ({
|
|
1285
|
+
$: ComponentInternalInstance;
|
|
1286
|
+
$data: {};
|
|
1287
|
+
$props: {
|
|
1288
|
+
readonly forceMount?: boolean | undefined;
|
|
1289
|
+
readonly trapFocus?: boolean | undefined;
|
|
1290
|
+
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
1291
|
+
readonly asChild?: boolean | undefined;
|
|
1292
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
1293
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
1294
|
+
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
1295
|
+
originalEvent: PointerEvent;
|
|
1296
|
+
}>) => any) | undefined | undefined;
|
|
1297
|
+
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
1298
|
+
originalEvent: FocusEvent;
|
|
1299
|
+
}>) => any) | undefined | undefined;
|
|
1300
|
+
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
1301
|
+
originalEvent: PointerEvent;
|
|
1302
|
+
}> | CustomEvent<{
|
|
1303
|
+
originalEvent: FocusEvent;
|
|
1304
|
+
}>) => any) | undefined | undefined;
|
|
1305
|
+
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
1306
|
+
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
1307
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1308
|
+
$attrs: {
|
|
1309
|
+
[x: string]: unknown;
|
|
1310
|
+
};
|
|
1311
|
+
$refs: {
|
|
1312
|
+
[x: string]: unknown;
|
|
1313
|
+
};
|
|
1314
|
+
$slots: Readonly<{
|
|
1315
|
+
[name: string]: Slot<any> | undefined;
|
|
1316
|
+
}>;
|
|
1317
|
+
$root: ComponentPublicInstance | null;
|
|
1318
|
+
$parent: ComponentPublicInstance | null;
|
|
1319
|
+
$host: Element | null;
|
|
1320
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
|
|
1321
|
+
originalEvent: PointerEvent;
|
|
1322
|
+
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
1323
|
+
originalEvent: FocusEvent;
|
|
1324
|
+
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
1325
|
+
originalEvent: PointerEvent;
|
|
1326
|
+
}> | CustomEvent<{
|
|
1327
|
+
originalEvent: FocusEvent;
|
|
1328
|
+
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
1329
|
+
$el: any;
|
|
1330
|
+
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
1331
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1332
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
1333
|
+
originalEvent: PointerEvent;
|
|
1334
|
+
}>) => any) | undefined;
|
|
1335
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
1336
|
+
originalEvent: FocusEvent;
|
|
1337
|
+
}>) => any) | undefined;
|
|
1338
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
1339
|
+
originalEvent: PointerEvent;
|
|
1340
|
+
}> | CustomEvent<{
|
|
1341
|
+
originalEvent: FocusEvent;
|
|
1342
|
+
}>) => any) | undefined;
|
|
1343
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
1344
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
1345
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1346
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
1347
|
+
pointerDownOutside: (event: CustomEvent<{
|
|
1348
|
+
originalEvent: PointerEvent;
|
|
1349
|
+
}>) => any;
|
|
1350
|
+
focusOutside: (event: CustomEvent<{
|
|
1351
|
+
originalEvent: FocusEvent;
|
|
1352
|
+
}>) => any;
|
|
1353
|
+
interactOutside: (event: CustomEvent<{
|
|
1354
|
+
originalEvent: PointerEvent;
|
|
1355
|
+
}> | CustomEvent<{
|
|
1356
|
+
originalEvent: FocusEvent;
|
|
1357
|
+
}>) => any;
|
|
1358
|
+
openAutoFocus: (event: Event) => any;
|
|
1359
|
+
closeAutoFocus: (event: Event) => any;
|
|
1360
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1361
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1362
|
+
created?: (() => void) | (() => void)[];
|
|
1363
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1364
|
+
mounted?: (() => void) | (() => void)[];
|
|
1365
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1366
|
+
updated?: (() => void) | (() => void)[];
|
|
1367
|
+
activated?: (() => void) | (() => void)[];
|
|
1368
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1369
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1370
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1371
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1372
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1373
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1374
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1375
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1376
|
+
};
|
|
1377
|
+
$forceUpdate: () => void;
|
|
1378
|
+
$nextTick: typeof nextTick;
|
|
1379
|
+
$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;
|
|
1380
|
+
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
1381
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1382
|
+
onPointerDownOutside?: ((event: CustomEvent<{
|
|
1383
|
+
originalEvent: PointerEvent;
|
|
1384
|
+
}>) => any) | undefined;
|
|
1385
|
+
onFocusOutside?: ((event: CustomEvent<{
|
|
1386
|
+
originalEvent: FocusEvent;
|
|
1387
|
+
}>) => any) | undefined;
|
|
1388
|
+
onInteractOutside?: ((event: CustomEvent<{
|
|
1389
|
+
originalEvent: PointerEvent;
|
|
1390
|
+
}> | CustomEvent<{
|
|
1391
|
+
originalEvent: FocusEvent;
|
|
1392
|
+
}>) => any) | undefined;
|
|
1393
|
+
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
1394
|
+
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
1395
|
+
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
1396
|
+
$slots: {
|
|
1397
|
+
default?(_: {}): any;
|
|
1398
|
+
default?(_: {}): any;
|
|
1399
|
+
};
|
|
1400
|
+
}) | null;
|
|
1401
|
+
};
|
|
1402
|
+
rootEl: any;
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
declare function __VLS_template_8(): {
|
|
1406
|
+
attrs: Partial<{}>;
|
|
1407
|
+
slots: {
|
|
1408
|
+
default?(_: {}): any;
|
|
1409
|
+
};
|
|
1410
|
+
refs: {};
|
|
1411
|
+
rootEl: any;
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
declare function __VLS_template_9(): {
|
|
1415
|
+
attrs: Partial<{}>;
|
|
1416
|
+
slots: {
|
|
1417
|
+
default?(_: {}): any;
|
|
1418
|
+
};
|
|
1419
|
+
refs: {};
|
|
1420
|
+
rootEl: any;
|
|
1421
|
+
};
|
|
1422
|
+
|
|
1423
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
1424
|
+
|
|
1425
|
+
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
1426
|
+
|
|
1427
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
1428
|
+
|
|
1429
|
+
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
1430
|
+
|
|
1431
|
+
declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
|
|
1432
|
+
|
|
1433
|
+
declare type __VLS_TemplateResult_14 = ReturnType<typeof __VLS_template_14>;
|
|
1434
|
+
|
|
1435
|
+
declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
|
|
1436
|
+
|
|
1437
|
+
declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
|
|
1438
|
+
|
|
1439
|
+
declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
|
|
1440
|
+
|
|
1441
|
+
declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
|
|
1442
|
+
|
|
1443
|
+
declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
|
|
1444
|
+
|
|
1445
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1446
|
+
|
|
1447
|
+
declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
|
|
1448
|
+
|
|
1449
|
+
declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
|
|
1450
|
+
|
|
1451
|
+
declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
|
|
1452
|
+
|
|
1453
|
+
declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
|
|
1454
|
+
|
|
1455
|
+
declare type __VLS_TemplateResult_24 = ReturnType<typeof __VLS_template_24>;
|
|
1456
|
+
|
|
1457
|
+
declare type __VLS_TemplateResult_25 = ReturnType<typeof __VLS_template_25>;
|
|
1458
|
+
|
|
1459
|
+
declare type __VLS_TemplateResult_26 = ReturnType<typeof __VLS_template_26>;
|
|
1460
|
+
|
|
1461
|
+
declare type __VLS_TemplateResult_27 = ReturnType<typeof __VLS_template_27>;
|
|
1462
|
+
|
|
1463
|
+
declare type __VLS_TemplateResult_28 = ReturnType<typeof __VLS_template_28>;
|
|
1464
|
+
|
|
1465
|
+
declare type __VLS_TemplateResult_29 = ReturnType<typeof __VLS_template_29>;
|
|
1466
|
+
|
|
1467
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1468
|
+
|
|
1469
|
+
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
1470
|
+
|
|
1471
|
+
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
1472
|
+
|
|
1473
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1474
|
+
|
|
1475
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
1476
|
+
|
|
1477
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
1478
|
+
|
|
1479
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
1480
|
+
|
|
1481
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
1482
|
+
|
|
1483
|
+
declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
|
|
1484
|
+
|
|
1485
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1486
|
+
new (): {
|
|
1487
|
+
$slots: S;
|
|
1488
|
+
};
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
1492
|
+
new (): {
|
|
1493
|
+
$slots: S;
|
|
1494
|
+
};
|
|
1495
|
+
};
|
|
1496
|
+
|
|
1497
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
1498
|
+
new (): {
|
|
1499
|
+
$slots: S;
|
|
1500
|
+
};
|
|
1501
|
+
};
|
|
1502
|
+
|
|
1503
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
1504
|
+
new (): {
|
|
1505
|
+
$slots: S;
|
|
1506
|
+
};
|
|
1507
|
+
};
|
|
1508
|
+
|
|
1509
|
+
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
1510
|
+
new (): {
|
|
1511
|
+
$slots: S;
|
|
1512
|
+
};
|
|
1513
|
+
};
|
|
1514
|
+
|
|
1515
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
1516
|
+
new (): {
|
|
1517
|
+
$slots: S;
|
|
1518
|
+
};
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
declare type __VLS_WithTemplateSlots_15<T, S> = T & {
|
|
1522
|
+
new (): {
|
|
1523
|
+
$slots: S;
|
|
1524
|
+
};
|
|
1525
|
+
};
|
|
1526
|
+
|
|
1527
|
+
declare type __VLS_WithTemplateSlots_16<T, S> = T & {
|
|
1528
|
+
new (): {
|
|
1529
|
+
$slots: S;
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1533
|
+
declare type __VLS_WithTemplateSlots_17<T, S> = T & {
|
|
1534
|
+
new (): {
|
|
1535
|
+
$slots: S;
|
|
1536
|
+
};
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
declare type __VLS_WithTemplateSlots_18<T, S> = T & {
|
|
1540
|
+
new (): {
|
|
1541
|
+
$slots: S;
|
|
1542
|
+
};
|
|
1543
|
+
};
|
|
1544
|
+
|
|
1545
|
+
declare type __VLS_WithTemplateSlots_19<T, S> = T & {
|
|
1546
|
+
new (): {
|
|
1547
|
+
$slots: S;
|
|
1548
|
+
};
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1552
|
+
new (): {
|
|
1553
|
+
$slots: S;
|
|
1554
|
+
};
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
declare type __VLS_WithTemplateSlots_20<T, S> = T & {
|
|
1558
|
+
new (): {
|
|
1559
|
+
$slots: S;
|
|
1560
|
+
};
|
|
1561
|
+
};
|
|
1562
|
+
|
|
1563
|
+
declare type __VLS_WithTemplateSlots_21<T, S> = T & {
|
|
1564
|
+
new (): {
|
|
1565
|
+
$slots: S;
|
|
1566
|
+
};
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1569
|
+
declare type __VLS_WithTemplateSlots_22<T, S> = T & {
|
|
1570
|
+
new (): {
|
|
1571
|
+
$slots: S;
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
|
|
1575
|
+
declare type __VLS_WithTemplateSlots_23<T, S> = T & {
|
|
1576
|
+
new (): {
|
|
1577
|
+
$slots: S;
|
|
1578
|
+
};
|
|
1579
|
+
};
|
|
1580
|
+
|
|
1581
|
+
declare type __VLS_WithTemplateSlots_24<T, S> = T & {
|
|
1582
|
+
new (): {
|
|
1583
|
+
$slots: S;
|
|
1584
|
+
};
|
|
1585
|
+
};
|
|
1586
|
+
|
|
1587
|
+
declare type __VLS_WithTemplateSlots_25<T, S> = T & {
|
|
1588
|
+
new (): {
|
|
1589
|
+
$slots: S;
|
|
1590
|
+
};
|
|
1591
|
+
};
|
|
1592
|
+
|
|
1593
|
+
declare type __VLS_WithTemplateSlots_26<T, S> = T & {
|
|
1594
|
+
new (): {
|
|
1595
|
+
$slots: S;
|
|
1596
|
+
};
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
declare type __VLS_WithTemplateSlots_27<T, S> = T & {
|
|
1600
|
+
new (): {
|
|
1601
|
+
$slots: S;
|
|
1602
|
+
};
|
|
1603
|
+
};
|
|
1604
|
+
|
|
1605
|
+
declare type __VLS_WithTemplateSlots_28<T, S> = T & {
|
|
1606
|
+
new (): {
|
|
1607
|
+
$slots: S;
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1611
|
+
declare type __VLS_WithTemplateSlots_29<T, S> = T & {
|
|
1612
|
+
new (): {
|
|
1613
|
+
$slots: S;
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
|
|
1617
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
1618
|
+
new (): {
|
|
1619
|
+
$slots: S;
|
|
1620
|
+
};
|
|
1621
|
+
};
|
|
1622
|
+
|
|
1623
|
+
declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
1624
|
+
new (): {
|
|
1625
|
+
$slots: S;
|
|
1626
|
+
};
|
|
1627
|
+
};
|
|
1628
|
+
|
|
1629
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
1630
|
+
new (): {
|
|
1631
|
+
$slots: S;
|
|
1632
|
+
};
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1636
|
+
new (): {
|
|
1637
|
+
$slots: S;
|
|
1638
|
+
};
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
1642
|
+
new (): {
|
|
1643
|
+
$slots: S;
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
1646
|
+
|
|
1647
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
1648
|
+
new (): {
|
|
1649
|
+
$slots: S;
|
|
1650
|
+
};
|
|
1651
|
+
};
|
|
1652
|
+
|
|
1653
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
1654
|
+
new (): {
|
|
1655
|
+
$slots: S;
|
|
1656
|
+
};
|
|
1657
|
+
};
|
|
1658
|
+
|
|
1659
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
1660
|
+
new (): {
|
|
1661
|
+
$slots: S;
|
|
1662
|
+
};
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
1666
|
+
new (): {
|
|
1667
|
+
$slots: S;
|
|
1668
|
+
};
|
|
1669
|
+
};
|
|
1670
|
+
|
|
1671
|
+
export declare type AcceptRefs<T> = {
|
|
1672
|
+
[K in keyof T]: T[K] | RefUnion<T[K]>;
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
export declare const AdvancedOptions: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1676
|
+
|
|
1677
|
+
export declare type AerogelGlobalEvents = Partial<{
|
|
1678
|
+
[Event in EventWithoutPayload]: () => unknown;
|
|
1679
|
+
}> & Partial<{
|
|
1680
|
+
[Event in EventWithPayload]: EventListener_2<EventsPayload[Event]>;
|
|
1681
|
+
}>;
|
|
1682
|
+
|
|
1683
|
+
export declare interface AerogelOptions {
|
|
1684
|
+
plugins?: Plugin_2[];
|
|
1685
|
+
install?(app: App_2): void | Promise<void>;
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
export declare interface AerogelTestingRuntime {
|
|
1689
|
+
on: (typeof Events)['on'];
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
export declare const AlertModal: DefineComponent<AlertModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1693
|
+
|
|
1694
|
+
export declare interface AlertModalProps {
|
|
1695
|
+
title?: string;
|
|
1696
|
+
message: string;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
export declare const App: Facade<AppService>;
|
|
1700
|
+
|
|
1701
|
+
export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1702
|
+
|
|
1703
|
+
export declare const AppModals: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1704
|
+
|
|
1705
|
+
export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1706
|
+
|
|
1707
|
+
export declare class AppService extends _default_3 {
|
|
1708
|
+
readonly name: string;
|
|
1709
|
+
readonly ready: PromisedValue<void>;
|
|
1710
|
+
readonly mounted: PromisedValue<void>;
|
|
1711
|
+
isReady(): boolean;
|
|
1712
|
+
isMounted(): boolean;
|
|
1713
|
+
addSetting(setting: AppSetting): void;
|
|
1714
|
+
whenReady<T>(callback: () => T): Promise<T>;
|
|
1715
|
+
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1716
|
+
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
1717
|
+
service<T extends keyof Services>(name: T): Services[T] | null;
|
|
1718
|
+
protected boot(): Promise<void>;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
export declare interface AppSetting {
|
|
1722
|
+
component: Component;
|
|
1723
|
+
priority: number;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1727
|
+
|
|
1728
|
+
export declare function booleanInput(defaultValue?: boolean, options?: {
|
|
1729
|
+
rules?: string;
|
|
1730
|
+
}): FormFieldDefinition<typeof FormFieldTypes.Boolean>;
|
|
1731
|
+
|
|
1732
|
+
export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
|
|
1733
|
+
|
|
1734
|
+
export declare function bootstrap(rootComponent: Component, options?: AerogelOptions): Promise<void>;
|
|
1735
|
+
|
|
1736
|
+
export declare function bootstrapApplication(app: App_2, options?: AerogelOptions): Promise<void>;
|
|
1737
|
+
|
|
1738
|
+
export declare const Button: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1739
|
+
|
|
1740
|
+
export declare interface ButtonProps extends PrimitiveProps {
|
|
1741
|
+
class?: HTMLAttributes['class'];
|
|
1742
|
+
disabled?: boolean;
|
|
1743
|
+
href?: string;
|
|
1744
|
+
route?: string;
|
|
1745
|
+
routeParams?: object;
|
|
1746
|
+
routeQuery?: object;
|
|
1747
|
+
size?: ButtonSize;
|
|
1748
|
+
submit?: boolean;
|
|
1749
|
+
variant?: ButtonVariant;
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
|
|
1753
|
+
|
|
1754
|
+
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
|
|
1755
|
+
|
|
1756
|
+
declare const Cache_2: Facade<CacheService>;
|
|
1757
|
+
export { Cache_2 as Cache }
|
|
1758
|
+
|
|
1759
|
+
export declare class CacheService extends Service {
|
|
1760
|
+
private cache?;
|
|
1761
|
+
get(url: string): Promise<Response | null>;
|
|
1762
|
+
store(url: string, response: Response): Promise<void>;
|
|
1763
|
+
replace(url: string, response: Response): Promise<void>;
|
|
1764
|
+
protected open(): Promise<Cache>;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
export declare const Checkbox: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1768
|
+
|
|
1769
|
+
export declare function classes(...inputs: ClassValue[]): string;
|
|
1770
|
+
|
|
1771
|
+
export declare type ComponentPropDefinitions<T> = {
|
|
1772
|
+
[K in keyof T]: {
|
|
1773
|
+
type?: PropType<T[K]>;
|
|
1774
|
+
default: T[K] | (() => T[K]) | null;
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1777
|
+
|
|
1778
|
+
export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
|
|
1779
|
+
|
|
1780
|
+
export declare function computedDebounce<T>(options: ComputedDebounceOptions<T>, getter: ComputedGetter<T>): ComputedRef<T>;
|
|
1781
|
+
|
|
1782
|
+
export declare function computedDebounce<T>(getter: ComputedGetter<T>): ComputedRef<T | null>;
|
|
1783
|
+
|
|
1784
|
+
export declare interface ComputedDebounceOptions<T> {
|
|
1785
|
+
initial?: T;
|
|
1786
|
+
delay?: number;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
export declare type ComputedStateDefinition<TState extends ServiceState, TComputedState extends ServiceState> = {
|
|
1790
|
+
[K in keyof TComputedState]: (state: Unref<TState>) => TComputedState[K];
|
|
1791
|
+
} & ThisType<{
|
|
1792
|
+
readonly [K in keyof TComputedState]: TComputedState[K];
|
|
1793
|
+
}>;
|
|
1794
|
+
|
|
1795
|
+
export declare function computedVariantClasses<T>(value: RefsObject<{
|
|
1796
|
+
baseClasses?: string;
|
|
1797
|
+
} & CVAProps<T>>, config: {
|
|
1798
|
+
baseClasses?: string;
|
|
1799
|
+
} & CVAConfig<T>): ComputedRef<string>;
|
|
1800
|
+
|
|
1801
|
+
export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1802
|
+
|
|
1803
|
+
export declare type ConfirmModalCheckboxes = Record<string, {
|
|
1804
|
+
label: string;
|
|
1805
|
+
default?: boolean;
|
|
1806
|
+
required?: boolean;
|
|
1807
|
+
}>;
|
|
1808
|
+
|
|
1809
|
+
export declare interface ConfirmModalProps {
|
|
1810
|
+
title?: string;
|
|
1811
|
+
message: string;
|
|
1812
|
+
acceptText?: string;
|
|
1813
|
+
acceptVariant?: ButtonVariant;
|
|
1814
|
+
cancelText?: string;
|
|
1815
|
+
cancelVariant?: ButtonVariant;
|
|
1816
|
+
checkboxes?: ConfirmModalCheckboxes;
|
|
1817
|
+
actions?: Record<string, () => unknown>;
|
|
1818
|
+
required?: boolean;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
export declare type ConfirmOptions = AcceptRefs<{
|
|
1822
|
+
acceptText?: string;
|
|
1823
|
+
acceptVariant?: ButtonVariant;
|
|
1824
|
+
cancelText?: string;
|
|
1825
|
+
cancelVariant?: ButtonVariant;
|
|
1826
|
+
actions?: Record<string, () => unknown>;
|
|
1827
|
+
required?: boolean;
|
|
1828
|
+
}>;
|
|
1829
|
+
|
|
1830
|
+
export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalCheckboxes = ConfirmModalCheckboxes> extends ConfirmOptions {
|
|
1831
|
+
checkboxes?: T;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>;
|
|
1835
|
+
|
|
1836
|
+
export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
|
|
1837
|
+
|
|
1838
|
+
export declare function dateInput(defaultValue?: Date, options?: {
|
|
1839
|
+
rules?: string;
|
|
1840
|
+
}): FormFieldDefinition<typeof FormFieldTypes.Date>;
|
|
1841
|
+
|
|
1842
|
+
declare const _default: ServiceWithState< {
|
|
1843
|
+
logs: ErrorReportLog[];
|
|
1844
|
+
startupErrors: ErrorReport[];
|
|
1845
|
+
}, {
|
|
1846
|
+
hasErrors: boolean;
|
|
1847
|
+
hasNewErrors: boolean;
|
|
1848
|
+
hasStartupErrors: boolean;
|
|
1849
|
+
}, Partial<{
|
|
1850
|
+
logs: ErrorReportLog[];
|
|
1851
|
+
startupErrors: ErrorReport[];
|
|
1852
|
+
}>>;
|
|
1853
|
+
|
|
1854
|
+
declare const _default_2: ServiceWithState< {
|
|
1855
|
+
locale: string | null;
|
|
1856
|
+
locales: string[];
|
|
1857
|
+
fallbackLocale: string;
|
|
1858
|
+
}, {}, Partial<{
|
|
1859
|
+
locale: string | null;
|
|
1860
|
+
locales: string[];
|
|
1861
|
+
fallbackLocale: string;
|
|
1862
|
+
}>>;
|
|
1863
|
+
|
|
1864
|
+
declare const _default_3: ServiceWithState< {
|
|
1865
|
+
plugins: Record<string, Plugin_2>;
|
|
1866
|
+
instance: App_2 | null;
|
|
1867
|
+
environment: string;
|
|
1868
|
+
version: string;
|
|
1869
|
+
sourceUrl: string | undefined;
|
|
1870
|
+
settings: AppSetting[];
|
|
1871
|
+
}, {
|
|
1872
|
+
development: boolean;
|
|
1873
|
+
staging: boolean;
|
|
1874
|
+
testing: boolean;
|
|
1875
|
+
versionName: string;
|
|
1876
|
+
versionUrl: string;
|
|
1877
|
+
}, Partial<{
|
|
1878
|
+
plugins: Record<string, Plugin_2>;
|
|
1879
|
+
instance: App_2 | null;
|
|
1880
|
+
environment: string;
|
|
1881
|
+
version: string;
|
|
1882
|
+
sourceUrl: string | undefined;
|
|
1883
|
+
settings: AppSetting[];
|
|
1884
|
+
}>>;
|
|
1885
|
+
|
|
1886
|
+
declare const _default_4: ServiceWithState< {
|
|
1887
|
+
modals: UIModal[];
|
|
1888
|
+
toasts: UIToast[];
|
|
1889
|
+
layout: Layout;
|
|
1890
|
+
}, {
|
|
1891
|
+
desktop: boolean;
|
|
1892
|
+
mobile: boolean;
|
|
1893
|
+
openModals: UIModal<unknown>[];
|
|
1894
|
+
}, Partial<{
|
|
1895
|
+
modals: UIModal[];
|
|
1896
|
+
toasts: UIToast[];
|
|
1897
|
+
layout: Layout;
|
|
1898
|
+
}>>;
|
|
1899
|
+
|
|
1900
|
+
export declare type DefaultServices = typeof defaultServices;
|
|
1901
|
+
|
|
1902
|
+
declare const defaultServices: {
|
|
1903
|
+
$app: Facade<AppService>;
|
|
1904
|
+
$events: Facade<EventsService>;
|
|
1905
|
+
$storage: Facade<StorageService>;
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1908
|
+
export declare type DefaultServiceState = any;
|
|
1909
|
+
|
|
1910
|
+
export declare function defineDirective(directive: Directive): Directive;
|
|
1911
|
+
|
|
1912
|
+
export declare function defineFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
|
|
1913
|
+
|
|
1914
|
+
export declare function definePlugin<T extends Plugin_2>(plugin: T): T;
|
|
1915
|
+
|
|
1916
|
+
export declare function defineServiceState<State extends ServiceState = ServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>>(options: {
|
|
1917
|
+
name: string;
|
|
1918
|
+
initialState: State | (() => State);
|
|
1919
|
+
persist?: (keyof State)[];
|
|
1920
|
+
watch?: StateWatchers<Service, State>;
|
|
1921
|
+
computed?: ComputedStateDefinition<State, ComputedState>;
|
|
1922
|
+
serialize?: (state: Partial<State>) => ServiceStorage;
|
|
1923
|
+
restore?: (state: ServiceStorage) => Partial<State>;
|
|
1924
|
+
}): ServiceWithState<State, ComputedState, ServiceStorage>;
|
|
1925
|
+
|
|
1926
|
+
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>;
|
|
1927
|
+
|
|
1928
|
+
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1929
|
+
|
|
1930
|
+
export declare function dispatch(job: Job): Promise<void>;
|
|
1931
|
+
|
|
1932
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1933
|
+
|
|
1934
|
+
export declare interface DropdownMenuExpose {
|
|
1935
|
+
align?: DropdownMenuContentProps['align'];
|
|
1936
|
+
side?: DropdownMenuContentProps['side'];
|
|
1937
|
+
options?: DropdownMenuOptionData[];
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1941
|
+
|
|
1942
|
+
export declare type DropdownMenuOptionData = {
|
|
1943
|
+
label: string;
|
|
1944
|
+
click: () => unknown;
|
|
1945
|
+
};
|
|
1946
|
+
|
|
1947
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1948
|
+
|
|
1949
|
+
export declare interface DropdownMenuProps {
|
|
1950
|
+
align?: DropdownMenuContentProps['align'];
|
|
1951
|
+
side?: DropdownMenuContentProps['side'];
|
|
1952
|
+
options?: Falsifiable<DropdownMenuOptionData>[];
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1956
|
+
|
|
1957
|
+
export declare interface ElementSize {
|
|
1958
|
+
width: number;
|
|
1959
|
+
height: number;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
export declare type ErrorHandler = (error: ErrorSource) => boolean;
|
|
1963
|
+
|
|
1964
|
+
declare type ErrorHandler_2 = (error: ErrorSource) => string | undefined;
|
|
1965
|
+
|
|
1966
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1967
|
+
|
|
1968
|
+
export declare interface ErrorReport {
|
|
1969
|
+
title: string;
|
|
1970
|
+
description?: string;
|
|
1971
|
+
details?: string;
|
|
1972
|
+
error?: Error | JSError | unknown;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
export declare interface ErrorReportLog {
|
|
1976
|
+
report: ErrorReport;
|
|
1977
|
+
seen: boolean;
|
|
1978
|
+
date: Date;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1982
|
+
|
|
1983
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1984
|
+
|
|
1985
|
+
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1986
|
+
id: string;
|
|
1987
|
+
description: string;
|
|
1988
|
+
iconComponent: Component;
|
|
1989
|
+
url?: string;
|
|
1990
|
+
click?(): void;
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
export declare interface ErrorReportModalProps {
|
|
1994
|
+
reports: ErrorReport[];
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1998
|
+
|
|
1999
|
+
export declare const Errors: Facade<ErrorsService>;
|
|
2000
|
+
|
|
2001
|
+
export declare type ErrorSource = string | Error | JSError | unknown;
|
|
2002
|
+
|
|
2003
|
+
declare class ErrorsService extends _default {
|
|
2004
|
+
forceReporting: boolean;
|
|
2005
|
+
private enabled;
|
|
2006
|
+
enable(): void;
|
|
2007
|
+
disable(): void;
|
|
2008
|
+
inspect(error: ErrorSource | ErrorReport[]): Promise<void>;
|
|
2009
|
+
report(error: ErrorSource, message?: string): Promise<void>;
|
|
2010
|
+
see(report: ErrorReport): void;
|
|
2011
|
+
seeAll(): void;
|
|
2012
|
+
private logError;
|
|
2013
|
+
private createErrorReport;
|
|
2014
|
+
private createStartupErrorReport;
|
|
2015
|
+
private createErrorReportFromError;
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
export declare type ErrorsServices = typeof services;
|
|
2019
|
+
|
|
2020
|
+
declare type EventListener_2<T = unknown> = (payload: T) => unknown;
|
|
2021
|
+
export { EventListener_2 as EventListener }
|
|
2022
|
+
|
|
2023
|
+
declare interface EventListenerOptions_2 {
|
|
2024
|
+
priority: EventListenerPriority;
|
|
2025
|
+
}
|
|
2026
|
+
export { EventListenerOptions_2 as EventListenerOptions }
|
|
2027
|
+
|
|
2028
|
+
export declare const EventListenerPriorities: {
|
|
2029
|
+
readonly Low: -256;
|
|
2030
|
+
readonly Default: 0;
|
|
2031
|
+
readonly High: 256;
|
|
2032
|
+
};
|
|
2033
|
+
|
|
2034
|
+
export declare type EventListenerPriority = (typeof EventListenerPriorities)[keyof typeof EventListenerPriorities];
|
|
2035
|
+
|
|
2036
|
+
export declare const Events: Facade<EventsService>;
|
|
2037
|
+
|
|
2038
|
+
export declare interface EventsPayload {
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
export declare class EventsService extends Service {
|
|
2042
|
+
private listeners;
|
|
2043
|
+
protected boot(): Promise<void>;
|
|
2044
|
+
emit<Event extends EventWithoutPayload>(event: Event): Promise<void>;
|
|
2045
|
+
emit<Event extends EventWithPayload>(event: Event, payload: EventsPayload[Event]): Promise<void>;
|
|
2046
|
+
on<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
|
|
2047
|
+
on<Event extends EventWithoutPayload>(event: Event, priority: EventListenerPriority, listener: () => unknown): () => void;
|
|
2048
|
+
on<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
|
|
2049
|
+
on<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
2050
|
+
on<Event extends EventWithPayload>(event: Event, priority: EventListenerPriority, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
2051
|
+
on<Event extends EventWithPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
2052
|
+
once<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
|
|
2053
|
+
once<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
|
|
2054
|
+
once<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
2055
|
+
once<Event extends EventWithPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
2056
|
+
off(event: string, listener: EventListener_2): void;
|
|
2057
|
+
protected registerListener(event: string, options: Partial<EventListenerOptions_2>, handler: EventListener_2): void;
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
export declare type EventWithoutPayload = {
|
|
2061
|
+
[K in keyof EventsPayload]: EventsPayload[K] extends void ? K : never;
|
|
2062
|
+
}[keyof EventsPayload];
|
|
2063
|
+
|
|
2064
|
+
export declare type EventWithPayload = {
|
|
2065
|
+
[K in keyof EventsPayload]: EventsPayload[K] extends void ? never : K;
|
|
2066
|
+
}[keyof EventsPayload];
|
|
2067
|
+
|
|
2068
|
+
export declare type Falsifiable<T> = Nullable<T> | false;
|
|
2069
|
+
|
|
2070
|
+
export declare type FocusFormListener = (input: string) => unknown;
|
|
2071
|
+
|
|
2072
|
+
export declare const Form: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
2073
|
+
|
|
2074
|
+
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
2075
|
+
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
2076
|
+
private _fields;
|
|
2077
|
+
private _data;
|
|
2078
|
+
private _submitted;
|
|
2079
|
+
private _errors;
|
|
2080
|
+
private _listeners;
|
|
2081
|
+
constructor(fields: Fields);
|
|
2082
|
+
get valid(): boolean;
|
|
2083
|
+
get submitted(): boolean;
|
|
2084
|
+
setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
|
|
2085
|
+
getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
|
|
2086
|
+
getFieldRules<T extends keyof Fields>(field: T): string[];
|
|
2087
|
+
data(): FormData_2<Fields>;
|
|
2088
|
+
validate(): boolean;
|
|
2089
|
+
reset(options?: {
|
|
2090
|
+
keepData?: boolean;
|
|
2091
|
+
keepErrors?: boolean;
|
|
2092
|
+
}): void;
|
|
2093
|
+
submit(): boolean;
|
|
2094
|
+
on(event: 'focus', listener: FocusFormListener): () => void;
|
|
2095
|
+
on(event: 'submit', listener: SubmitFormListener): () => void;
|
|
2096
|
+
off(event: 'focus', listener: FocusFormListener): void;
|
|
2097
|
+
off(event: 'submit', listener: SubmitFormListener): void;
|
|
2098
|
+
focus(input: string): Promise<void>;
|
|
2099
|
+
protected __get(property: string): unknown;
|
|
2100
|
+
protected __set(property: string, value: unknown): void;
|
|
2101
|
+
private getFieldErrors;
|
|
2102
|
+
private getInitialData;
|
|
2103
|
+
private getInitialErrors;
|
|
2104
|
+
private resetData;
|
|
2105
|
+
private resetErrors;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
declare type FormData_2<T> = {
|
|
2109
|
+
-readonly [k in keyof T]: T[k] extends FormFieldDefinition<infer TType, infer TRules> ? TRules extends 'required' ? GetFormFieldValue<TType> : GetFormFieldValue<TType> | null : never;
|
|
2110
|
+
};
|
|
2111
|
+
export { FormData_2 as FormData }
|
|
2112
|
+
|
|
2113
|
+
export declare type FormErrors<T> = {
|
|
2114
|
+
[k in keyof T]: string[] | null;
|
|
2115
|
+
};
|
|
2116
|
+
|
|
2117
|
+
export declare interface FormFieldDefinition<TType extends FormFieldType = FormFieldType, TRules extends string = string> {
|
|
2118
|
+
type: TType;
|
|
2119
|
+
trim?: boolean;
|
|
2120
|
+
default?: GetFormFieldValue<TType>;
|
|
2121
|
+
rules?: TRules;
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
export declare type FormFieldDefinitions = Record<string, FormFieldDefinition>;
|
|
2125
|
+
|
|
2126
|
+
export declare type FormFieldType = ObjectValues<typeof FormFieldTypes>;
|
|
2127
|
+
|
|
2128
|
+
export declare const FormFieldTypes: {
|
|
2129
|
+
readonly String: "string";
|
|
2130
|
+
readonly Number: "number";
|
|
2131
|
+
readonly Boolean: "boolean";
|
|
2132
|
+
readonly Object: "object";
|
|
2133
|
+
readonly Date: "date";
|
|
2134
|
+
};
|
|
2135
|
+
|
|
2136
|
+
export declare type FormFieldValidator<T = unknown> = (value: T) => string | string[] | undefined;
|
|
2137
|
+
|
|
2138
|
+
export declare type FormFieldValue = GetFormFieldValue<FormFieldType>;
|
|
2139
|
+
|
|
2140
|
+
export declare function getCurrentLayout(): Layout;
|
|
2141
|
+
|
|
2142
|
+
export declare function getErrorMessage(error: ErrorSource): string;
|
|
2143
|
+
|
|
2144
|
+
export declare type GetFormFieldValue<TType> = TType extends typeof FormFieldTypes.String ? string : TType extends typeof FormFieldTypes.Number ? number : TType extends typeof FormFieldTypes.Boolean ? boolean : TType extends typeof FormFieldTypes.Object ? object : TType extends typeof FormFieldTypes.Date ? Date : never;
|
|
2145
|
+
|
|
2146
|
+
export declare function getPiniaStore(): Pinia;
|
|
2147
|
+
|
|
2148
|
+
export declare interface HasSelectOptionLabel {
|
|
2149
|
+
label: string | (() => string);
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
export declare function hasSelectOptionLabel(option: unknown): option is HasSelectOptionLabel;
|
|
2153
|
+
|
|
2154
|
+
export declare const HeadlessButton: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
2155
|
+
|
|
2156
|
+
export declare const HeadlessInput: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
2157
|
+
|
|
2158
|
+
export declare const HeadlessInputDescription: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
2159
|
+
|
|
2160
|
+
export declare const HeadlessInputError: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2161
|
+
|
|
2162
|
+
export declare const HeadlessInputInput: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2163
|
+
$inputRef: HTMLInputElement;
|
|
2164
|
+
}, HTMLInputElement>;
|
|
2165
|
+
|
|
2166
|
+
export declare const HeadlessInputLabel: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
2167
|
+
|
|
2168
|
+
export declare const HeadlessInputTextArea: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
2169
|
+
$textAreaRef: HTMLTextAreaElement;
|
|
2170
|
+
}, HTMLTextAreaElement>;
|
|
2171
|
+
|
|
2172
|
+
export declare const HeadlessModal: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
2173
|
+
|
|
2174
|
+
export declare const HeadlessModalContent: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
2175
|
+
|
|
2176
|
+
export declare const HeadlessModalDescription: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
2177
|
+
|
|
2178
|
+
export declare const HeadlessModalOverlay: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
2179
|
+
|
|
2180
|
+
export declare const HeadlessModalTitle: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
2181
|
+
|
|
2182
|
+
export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__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<{
|
|
2183
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
2184
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2185
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2186
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
2187
|
+
labelClass: any;
|
|
2188
|
+
optionsClass: any;
|
|
2189
|
+
align: "start" | "center" | "end" | undefined;
|
|
2190
|
+
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
2191
|
+
value: ComputedRef<T>;
|
|
2192
|
+
id: string;
|
|
2193
|
+
name: ComputedRef<string | undefined>;
|
|
2194
|
+
label: ComputedRef<string | undefined>;
|
|
2195
|
+
description: ComputedRef<string | undefined>;
|
|
2196
|
+
placeholder: ComputedRef<string>;
|
|
2197
|
+
options: ComputedRef< {
|
|
2198
|
+
key: string;
|
|
2199
|
+
label: string;
|
|
2200
|
+
value: AcceptableValue;
|
|
2201
|
+
}[] | null>;
|
|
2202
|
+
selectedOption: ComputedRef< {
|
|
2203
|
+
key: string;
|
|
2204
|
+
label: string;
|
|
2205
|
+
value: AcceptableValue;
|
|
2206
|
+
} | undefined>;
|
|
2207
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2208
|
+
required: ComputedRef<boolean | undefined>;
|
|
2209
|
+
update(value: T): void;
|
|
2210
|
+
}>): void;
|
|
2211
|
+
attrs: any;
|
|
2212
|
+
slots: {
|
|
2213
|
+
default?(_: {
|
|
2214
|
+
modelValue: T | undefined;
|
|
2215
|
+
open: boolean;
|
|
2216
|
+
}): any;
|
|
2217
|
+
};
|
|
2218
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
2219
|
+
}>) => VNode & {
|
|
2220
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2221
|
+
};
|
|
2222
|
+
|
|
2223
|
+
export declare const HeadlessSelectLabel: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
2224
|
+
|
|
2225
|
+
export declare const HeadlessSelectOption: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
2226
|
+
|
|
2227
|
+
export declare const HeadlessSelectOptions: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
2228
|
+
|
|
2229
|
+
export declare const HeadlessSelectTrigger: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
2230
|
+
|
|
2231
|
+
export declare const HeadlessSelectValue: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
2232
|
+
|
|
2233
|
+
export declare const HeadlessToast: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
2234
|
+
|
|
2235
|
+
export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
|
|
2236
|
+
|
|
2237
|
+
export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
|
|
2238
|
+
|
|
2239
|
+
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
2240
|
+
|
|
2241
|
+
export declare const Input: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2242
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
2243
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
2244
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
2245
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2246
|
+
$inputRef: ({
|
|
2247
|
+
$: ComponentInternalInstance;
|
|
2248
|
+
$data: {};
|
|
2249
|
+
$props: {
|
|
2250
|
+
readonly name?: string | undefined;
|
|
2251
|
+
readonly label?: string | undefined;
|
|
2252
|
+
readonly description?: string | undefined;
|
|
2253
|
+
readonly modelValue?: Nullable<FormFieldValue>;
|
|
2254
|
+
readonly as?: string | undefined;
|
|
2255
|
+
readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
2256
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
2257
|
+
$attrs: {
|
|
2258
|
+
[x: string]: unknown;
|
|
2259
|
+
};
|
|
2260
|
+
$refs: {
|
|
2261
|
+
[x: string]: unknown;
|
|
2262
|
+
};
|
|
2263
|
+
$slots: Readonly<{
|
|
2264
|
+
[name: string]: Slot<any> | undefined;
|
|
2265
|
+
}>;
|
|
2266
|
+
$root: ComponentPublicInstance | null;
|
|
2267
|
+
$parent: ComponentPublicInstance | null;
|
|
2268
|
+
$host: Element | null;
|
|
2269
|
+
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
2270
|
+
$el: any;
|
|
2271
|
+
$options: ComponentOptionsBase<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
2272
|
+
as?: string;
|
|
2273
|
+
}> & Readonly<{
|
|
2274
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
2275
|
+
}>, {
|
|
2276
|
+
id: string;
|
|
2277
|
+
name: ComputedRef<string | undefined>;
|
|
2278
|
+
label: ComputedRef<string | undefined>;
|
|
2279
|
+
description: ComputedRef<string | undefined>;
|
|
2280
|
+
value: ComputedRef<Nullable<FormFieldValue>>;
|
|
2281
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2282
|
+
required: ComputedRef<boolean | undefined>;
|
|
2283
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
2284
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2285
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
2286
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2287
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2288
|
+
created?: (() => void) | (() => void)[];
|
|
2289
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2290
|
+
mounted?: (() => void) | (() => void)[];
|
|
2291
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2292
|
+
updated?: (() => void) | (() => void)[];
|
|
2293
|
+
activated?: (() => void) | (() => void)[];
|
|
2294
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2295
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2296
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2297
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2298
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2299
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2300
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2301
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2302
|
+
};
|
|
2303
|
+
$forceUpdate: () => void;
|
|
2304
|
+
$nextTick: typeof nextTick;
|
|
2305
|
+
$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;
|
|
2306
|
+
} & Readonly<{}> & Omit<Readonly<InputProps<Nullable<FormFieldValue>> & {
|
|
2307
|
+
as?: string;
|
|
2308
|
+
}> & Readonly<{
|
|
2309
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
2310
|
+
}>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
|
|
2311
|
+
id: string;
|
|
2312
|
+
name: ComputedRef<string | undefined>;
|
|
2313
|
+
label: ComputedRef<string | undefined>;
|
|
2314
|
+
description: ComputedRef<string | undefined>;
|
|
2315
|
+
value: ComputedRef<Nullable<FormFieldValue>>;
|
|
2316
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2317
|
+
required: ComputedRef<boolean | undefined>;
|
|
2318
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
2319
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
2320
|
+
$slots: {
|
|
2321
|
+
default?(_: {}): any;
|
|
2322
|
+
};
|
|
2323
|
+
}) | null;
|
|
2324
|
+
}, any>;
|
|
2325
|
+
|
|
2326
|
+
export declare interface InputEmits<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
|
|
2327
|
+
'update:modelValue': [value: T];
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
export declare interface InputExpose<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
|
|
2331
|
+
id: string;
|
|
2332
|
+
name: ComputedRef<Nullable<string>>;
|
|
2333
|
+
label: ComputedRef<Nullable<string>>;
|
|
2334
|
+
description: ComputedRef<Nullable<string | boolean>>;
|
|
2335
|
+
value: ComputedRef<T>;
|
|
2336
|
+
required: ComputedRef<Nullable<boolean>>;
|
|
2337
|
+
errors: DeepReadonly<Ref<Nullable<string[]>>>;
|
|
2338
|
+
update(value: T): void;
|
|
2339
|
+
}
|
|
2340
|
+
|
|
2341
|
+
export declare interface InputProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
|
|
2342
|
+
name?: string;
|
|
2343
|
+
label?: string;
|
|
2344
|
+
description?: string;
|
|
2345
|
+
modelValue?: T;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
|
|
2349
|
+
|
|
2350
|
+
export declare abstract class Job<Listener extends JobListener = JobListener, Status extends JobStatus = JobStatus, SerializedStatus extends JobStatus = JobStatus> {
|
|
2351
|
+
protected status: Status;
|
|
2352
|
+
protected _listeners: ListenersManager<JobListener>;
|
|
2353
|
+
protected _progress?: number;
|
|
2354
|
+
protected _cancelled?: PromisedValue<void>;
|
|
2355
|
+
protected _started: PromisedValue<void>;
|
|
2356
|
+
protected _completed: PromisedValue<void>;
|
|
2357
|
+
constructor();
|
|
2358
|
+
start(): Promise<void>;
|
|
2359
|
+
cancel(): Promise<void>;
|
|
2360
|
+
serialize(): SerializedStatus;
|
|
2361
|
+
get listeners(): Listeners<Listener>;
|
|
2362
|
+
get progress(): number;
|
|
2363
|
+
get cancelled(): boolean;
|
|
2364
|
+
get started(): Promise<void>;
|
|
2365
|
+
get completed(): Promise<void>;
|
|
2366
|
+
protected abstract run(): Promise<void>;
|
|
2367
|
+
protected getInitialStatus(): Status;
|
|
2368
|
+
protected beforeStart(): void;
|
|
2369
|
+
protected assertNotCancelled(): void;
|
|
2370
|
+
protected calculateCurrentProgress(status?: JobStatus): number;
|
|
2371
|
+
protected updateProgress(update?: (status: Status) => unknown): Promise<void>;
|
|
2372
|
+
protected serializeStatus(status: Status): SerializedStatus;
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
export declare class JobCancelledError extends JSError {
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
export declare interface JobListener {
|
|
2379
|
+
onUpdated?(progress: number): unknown;
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
export declare interface JobStatus {
|
|
2383
|
+
completed: boolean;
|
|
2384
|
+
children?: JobStatus[];
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
export declare const Lang: Facade<LangService>;
|
|
2388
|
+
|
|
2389
|
+
export declare interface LangProvider {
|
|
2390
|
+
getLocale(): string;
|
|
2391
|
+
setLocale(locale: string): Promise<void>;
|
|
2392
|
+
getFallbackLocale(): string;
|
|
2393
|
+
setFallbackLocale(fallbackLocale: string): Promise<void>;
|
|
2394
|
+
getLocales(): string[];
|
|
2395
|
+
translate(key: string, parameters?: Record<string, unknown> | number): string;
|
|
2396
|
+
translateWithDefault(key: string, defaultMessage: string, parameters?: Record<string, unknown> | number): string;
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
declare class LangService extends _default_2 {
|
|
2400
|
+
private provider;
|
|
2401
|
+
constructor();
|
|
2402
|
+
setProvider(provider: LangProvider): Promise<void>;
|
|
2403
|
+
translate(key: string, parameters?: Record<string, unknown> | number): string;
|
|
2404
|
+
translateWithDefault(key: string, defaultMessage: string, parameters?: Record<string, unknown> | number): string;
|
|
2405
|
+
getBrowserLocale(): string;
|
|
2406
|
+
protected boot(): Promise<void>;
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
export declare type LangServices = typeof services_2;
|
|
2410
|
+
|
|
2411
|
+
export declare type Layout = (typeof Layouts)[keyof typeof Layouts];
|
|
2412
|
+
|
|
2413
|
+
export declare const Layouts: {
|
|
2414
|
+
readonly Mobile: "mobile";
|
|
2415
|
+
readonly Desktop: "desktop";
|
|
2416
|
+
};
|
|
2417
|
+
|
|
2418
|
+
export declare const Link: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
2419
|
+
|
|
2420
|
+
export declare const LoadingModal: DefineComponent<LoadingModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2421
|
+
|
|
2422
|
+
export declare interface LoadingModalProps {
|
|
2423
|
+
title?: string;
|
|
2424
|
+
message?: string;
|
|
2425
|
+
progress?: number;
|
|
2426
|
+
job?: Job;
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2429
|
+
export declare type LoadingOptions = AcceptRefs<{
|
|
2430
|
+
title?: string;
|
|
2431
|
+
message?: string;
|
|
2432
|
+
progress?: number;
|
|
2433
|
+
}>;
|
|
2434
|
+
|
|
2435
|
+
export declare const Markdown: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
2436
|
+
|
|
2437
|
+
export declare type MeasureDirectiveListener = (size: ElementSize) => unknown;
|
|
2438
|
+
|
|
2439
|
+
export declare const MOBILE_BREAKPOINT = 768;
|
|
2440
|
+
|
|
2441
|
+
export declare const Modal: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2442
|
+
|
|
2443
|
+
declare interface ModalComponent<Properties extends object = object, Result = unknown> {
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
|
|
2447
|
+
|
|
2448
|
+
export declare const ModalContext: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2449
|
+
|
|
2450
|
+
export declare interface ModalExpose {
|
|
2451
|
+
close(result?: unknown): Promise<void>;
|
|
2452
|
+
$content: ModalContentInstance;
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
declare type ModalProperties<TComponent> = TComponent extends ModalComponent<infer TProperties, unknown> ? TProperties : never;
|
|
2456
|
+
|
|
2457
|
+
export declare interface ModalProps {
|
|
2458
|
+
persistent?: boolean;
|
|
2459
|
+
title?: string;
|
|
2460
|
+
titleHidden?: boolean;
|
|
2461
|
+
description?: string;
|
|
2462
|
+
descriptionHidden?: boolean;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
declare type ModalResult<TComponent> = TComponent extends ModalComponent<Record<string, unknown>, infer TResult> ? TResult : never;
|
|
2466
|
+
|
|
2467
|
+
export declare interface ModalSlots {
|
|
2468
|
+
default(props: {
|
|
2469
|
+
close(result?: unknown): Promise<void>;
|
|
2470
|
+
}): unknown;
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2473
|
+
export declare function numberInput(defaultValue?: number, options?: {
|
|
2474
|
+
rules?: string;
|
|
2475
|
+
}): FormFieldDefinition<typeof FormFieldTypes.Number>;
|
|
2476
|
+
|
|
2477
|
+
export declare function onCleanMounted(operation: () => Function): void;
|
|
2478
|
+
|
|
2479
|
+
export declare function onFormFocus(input: {
|
|
2480
|
+
name: Nullable<string>;
|
|
2481
|
+
}, listener: () => unknown): void;
|
|
2482
|
+
|
|
2483
|
+
export declare function persistent<T extends object>(name: string, defaults: T): UnwrapNestedRefs<T>;
|
|
2484
|
+
|
|
2485
|
+
export declare type PickComponentProps<TValues, TDefinitions> = {
|
|
2486
|
+
[K in keyof TValues]: K extends keyof TDefinitions ? TValues[K] : never;
|
|
2487
|
+
};
|
|
2488
|
+
|
|
2489
|
+
declare interface Plugin_2 {
|
|
2490
|
+
name?: string;
|
|
2491
|
+
install(app: App_2, options: AerogelOptions): void | Promise<void>;
|
|
2492
|
+
}
|
|
2493
|
+
export { Plugin_2 as Plugin }
|
|
2494
|
+
|
|
2495
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2496
|
+
|
|
2497
|
+
export declare const PromptModal: DefineComponent<PromptModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2498
|
+
|
|
2499
|
+
export declare interface PromptModalProps {
|
|
2500
|
+
title?: string;
|
|
2501
|
+
message: string;
|
|
2502
|
+
label?: string;
|
|
2503
|
+
defaultValue?: string;
|
|
2504
|
+
placeholder?: string;
|
|
2505
|
+
acceptText?: string;
|
|
2506
|
+
acceptVariant?: ButtonVariant;
|
|
2507
|
+
cancelText?: string;
|
|
2508
|
+
cancelVariant?: ButtonVariant;
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2511
|
+
export declare type PromptOptions = AcceptRefs<{
|
|
2512
|
+
label?: string;
|
|
2513
|
+
defaultValue?: string;
|
|
2514
|
+
placeholder?: string;
|
|
2515
|
+
acceptText?: string;
|
|
2516
|
+
acceptVariant?: ButtonVariant;
|
|
2517
|
+
cancelText?: string;
|
|
2518
|
+
cancelVariant?: ButtonVariant;
|
|
2519
|
+
trim?: boolean;
|
|
2520
|
+
}>;
|
|
2521
|
+
|
|
2522
|
+
export declare type RefsObject<T> = {
|
|
2523
|
+
[K in keyof T]: Ref<T[K]> | T[K];
|
|
2524
|
+
};
|
|
2525
|
+
|
|
2526
|
+
export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
|
|
2527
|
+
|
|
2528
|
+
export declare function registerErrorHandler(handler: ErrorHandler_2): void;
|
|
2529
|
+
|
|
2530
|
+
export declare function renderMarkdown(markdown: string): string;
|
|
2531
|
+
|
|
2532
|
+
export declare function renderVNode(node: VNode | string): string;
|
|
2533
|
+
|
|
2534
|
+
export declare type Replace<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>> = {
|
|
2535
|
+
[K in keyof TOriginal]: TReplacements extends Record<K, infer Replacement> ? Replacement : TOriginal[K];
|
|
2536
|
+
};
|
|
2537
|
+
|
|
2538
|
+
export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
|
|
2539
|
+
|
|
2540
|
+
export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<typeof FormFieldTypes.Boolean, 'required'>;
|
|
2541
|
+
|
|
2542
|
+
export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<typeof FormFieldTypes.Date>;
|
|
2543
|
+
|
|
2544
|
+
export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<typeof FormFieldTypes.Number, 'required'>;
|
|
2545
|
+
|
|
2546
|
+
export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<typeof FormFieldTypes.String, 'required'>;
|
|
2547
|
+
|
|
2548
|
+
export declare function resetPiniaStore(): Pinia;
|
|
2549
|
+
|
|
2550
|
+
export declare function safeHtml(html: string): string;
|
|
2551
|
+
|
|
2552
|
+
export declare const Select: <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<{
|
|
2553
|
+
props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
|
|
2554
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2555
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2556
|
+
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
2557
|
+
attrs: any;
|
|
2558
|
+
slots: {
|
|
2559
|
+
default?(_: {}): any;
|
|
2560
|
+
};
|
|
2561
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
2562
|
+
}>) => VNode & {
|
|
2563
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2564
|
+
};
|
|
2565
|
+
|
|
2566
|
+
export declare interface SelectEmits<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputEmits<T> {
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputExpose<T> {
|
|
2570
|
+
options: ComputedRef<Nullable<SelectOptionData[]>>;
|
|
2571
|
+
selectedOption: ComputedRef<Nullable<SelectOptionData>>;
|
|
2572
|
+
placeholder: ComputedRef<string>;
|
|
2573
|
+
labelClass?: HTMLAttributes['class'];
|
|
2574
|
+
optionsClass?: HTMLAttributes['class'];
|
|
2575
|
+
align?: SelectContentProps['align'];
|
|
2576
|
+
side?: SelectContentProps['side'];
|
|
2577
|
+
}
|
|
2578
|
+
|
|
2579
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2580
|
+
|
|
2581
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2582
|
+
|
|
2583
|
+
export declare type SelectOptionData = {
|
|
2584
|
+
key: string;
|
|
2585
|
+
label: string;
|
|
2586
|
+
value: AcceptableValue;
|
|
2587
|
+
};
|
|
2588
|
+
|
|
2589
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2590
|
+
|
|
2591
|
+
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2592
|
+
as?: AsTag | Component;
|
|
2593
|
+
options?: T[];
|
|
2594
|
+
placeholder?: string;
|
|
2595
|
+
renderOption?: (option: T) => string;
|
|
2596
|
+
labelClass?: HTMLAttributes['class'];
|
|
2597
|
+
optionsClass?: HTMLAttributes['class'];
|
|
2598
|
+
align?: SelectContentProps['align'];
|
|
2599
|
+
side?: SelectContentProps['side'];
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2603
|
+
|
|
2604
|
+
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2605
|
+
static persist: string[];
|
|
2606
|
+
protected _name: string;
|
|
2607
|
+
private _booted;
|
|
2608
|
+
private _computedStateKeys;
|
|
2609
|
+
private _watchers;
|
|
2610
|
+
private _store;
|
|
2611
|
+
constructor();
|
|
2612
|
+
get booted(): PromisedValue<void>;
|
|
2613
|
+
static<T extends typeof Service>(): T;
|
|
2614
|
+
static<T extends typeof Service, K extends keyof T>(property: K): T[K];
|
|
2615
|
+
launch(): Promise<void>;
|
|
2616
|
+
hasPersistedState(): boolean;
|
|
2617
|
+
hasState<P extends keyof State>(property: P): boolean;
|
|
2618
|
+
getState(): State;
|
|
2619
|
+
getState<P extends keyof State>(property: P): State[P];
|
|
2620
|
+
setState<P extends keyof State>(property: P, value: State[P]): void;
|
|
2621
|
+
setState(state: Partial<State>): void;
|
|
2622
|
+
updatePersistedState<T extends keyof State>(key: T): void;
|
|
2623
|
+
updatePersistedState<T extends keyof State>(keys: T[]): void;
|
|
2624
|
+
protected __get(property: string): unknown;
|
|
2625
|
+
protected __set(property: string, value: unknown): void;
|
|
2626
|
+
protected onStateUpdated(update: Partial<State>, old: Partial<State>): void;
|
|
2627
|
+
protected onPersistentStateUpdated(persisted: Partial<State>): void;
|
|
2628
|
+
protected usesStore(): boolean;
|
|
2629
|
+
protected getName(): string | null;
|
|
2630
|
+
protected getInitialState(): State;
|
|
2631
|
+
protected getComputedStateDefinition(): ComputedStateDefinition<State, ComputedState>;
|
|
2632
|
+
protected getStateWatchers(): StateWatchers<Service, State>;
|
|
2633
|
+
protected serializePersistedState(state: Partial<State>): ServiceStorage;
|
|
2634
|
+
protected deserializePersistedState(state: ServiceStorage): Partial<State>;
|
|
2635
|
+
protected frameworkBoot(): Promise<void>;
|
|
2636
|
+
protected boot(): Promise<void>;
|
|
2637
|
+
protected restorePersistedState(): void;
|
|
2638
|
+
protected requireStore(): Store<string, State, ComputedState, {}>;
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2641
|
+
export declare class ServiceBootError extends JSError {
|
|
2642
|
+
constructor(serviceNamespace: string, cause: unknown);
|
|
2643
|
+
}
|
|
2644
|
+
|
|
2645
|
+
export declare type ServiceConstructor<T extends Service = Service> = Constructor<T> & typeof Service;
|
|
2646
|
+
|
|
2647
|
+
export declare interface Services extends DefaultServices {
|
|
2648
|
+
}
|
|
2649
|
+
|
|
2650
|
+
declare const services: {
|
|
2651
|
+
$errors: Facade<ErrorsService>;
|
|
2652
|
+
};
|
|
2653
|
+
|
|
2654
|
+
declare const services_2: {
|
|
2655
|
+
$lang: Facade<LangService>;
|
|
2656
|
+
};
|
|
2657
|
+
|
|
2658
|
+
declare const services_3: {
|
|
2659
|
+
$ui: Facade<UIService>;
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
export declare type ServiceState = Record<string, any>;
|
|
2663
|
+
|
|
2664
|
+
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>>>;
|
|
2665
|
+
|
|
2666
|
+
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2667
|
+
|
|
2668
|
+
export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2669
|
+
|
|
2670
|
+
export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
|
|
2671
|
+
[K in keyof TState]?: (this: TService, value: TState[K], oldValue: TState[K]) => unknown;
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
declare const Storage_2: Facade<StorageService>;
|
|
2675
|
+
export { Storage_2 as Storage }
|
|
2676
|
+
|
|
2677
|
+
declare class StorageService extends Service {
|
|
2678
|
+
purge(): Promise<void>;
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2681
|
+
export declare function stringInput(defaultValue?: string, options?: {
|
|
2682
|
+
rules?: string;
|
|
2683
|
+
}): FormFieldDefinition<typeof FormFieldTypes.String>;
|
|
2684
|
+
|
|
2685
|
+
export declare type SubmitFormListener = () => unknown;
|
|
2686
|
+
|
|
2687
|
+
export declare const Toast: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2688
|
+
|
|
2689
|
+
export declare interface ToastAction {
|
|
2690
|
+
label: string;
|
|
2691
|
+
dismiss?: boolean;
|
|
2692
|
+
click?(): unknown;
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
export declare interface ToastOptions {
|
|
2696
|
+
component?: Component;
|
|
2697
|
+
variant?: ToastVariant;
|
|
2698
|
+
actions?: ToastAction[];
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
export declare interface ToastProps {
|
|
2702
|
+
message?: string;
|
|
2703
|
+
actions?: ToastAction[];
|
|
2704
|
+
variant?: ToastVariant;
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2707
|
+
export declare type ToastVariant = 'secondary' | 'danger';
|
|
2708
|
+
|
|
2709
|
+
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
2710
|
+
|
|
2711
|
+
export declare const translateWithDefault: (key: string, defaultMessage: string, parameters?: Record<string, unknown> | number) => string;
|
|
2712
|
+
|
|
2713
|
+
export declare const UI: Facade<UIService>;
|
|
2714
|
+
|
|
2715
|
+
export declare type UIComponent = ObjectValues<typeof UIComponents>;
|
|
2716
|
+
|
|
2717
|
+
export declare const UIComponents: {
|
|
2718
|
+
readonly AlertModal: "alert-modal";
|
|
2719
|
+
readonly ConfirmModal: "confirm-modal";
|
|
2720
|
+
readonly ErrorReportModal: "error-report-modal";
|
|
2721
|
+
readonly LoadingModal: "loading-modal";
|
|
2722
|
+
readonly PromptModal: "prompt-modal";
|
|
2723
|
+
readonly Toast: "toast";
|
|
2724
|
+
readonly StartupCrash: "startup-crash";
|
|
2725
|
+
readonly RouterLink: "router-link";
|
|
2726
|
+
};
|
|
2727
|
+
|
|
2728
|
+
declare interface UIModal<T = unknown> {
|
|
2729
|
+
id: string;
|
|
2730
|
+
properties: Record<string, unknown>;
|
|
2731
|
+
component: Component;
|
|
2732
|
+
closing: boolean;
|
|
2733
|
+
beforeClose: Promise<T | undefined>;
|
|
2734
|
+
afterClose: Promise<T | undefined>;
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
export declare class UIService extends _default_4 {
|
|
2738
|
+
private modalCallbacks;
|
|
2739
|
+
private components;
|
|
2740
|
+
resolveComponent(name: UIComponent): Component | null;
|
|
2741
|
+
requireComponent(name: UIComponent): Component;
|
|
2742
|
+
alert(message: string): void;
|
|
2743
|
+
alert(title: string, message: string): void;
|
|
2744
|
+
confirm(message: string, options?: ConfirmOptions): Promise<boolean>;
|
|
2745
|
+
confirm(title: string, message: string, options?: ConfirmOptions): Promise<boolean>;
|
|
2746
|
+
confirm<T extends ConfirmModalCheckboxes>(message: string, options?: ConfirmOptionsWithCheckboxes<T>): Promise<[boolean, Record<keyof T, boolean>]>;
|
|
2747
|
+
confirm<T extends ConfirmModalCheckboxes>(title: string, message: string, options?: ConfirmOptionsWithCheckboxes<T>): Promise<[boolean, Record<keyof T, boolean>]>;
|
|
2748
|
+
prompt(message: string, options?: PromptOptions): Promise<string | null>;
|
|
2749
|
+
prompt(title: string, message: string, options?: PromptOptions): Promise<string | null>;
|
|
2750
|
+
loading<T>(operation: Promise<T> | (() => T)): Promise<T>;
|
|
2751
|
+
loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
|
|
2752
|
+
loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
|
|
2753
|
+
toast(message: string, options?: ToastOptions): void;
|
|
2754
|
+
registerComponent(name: UIComponent, component: Component): void;
|
|
2755
|
+
openModal<TModalComponent extends ModalComponent>(component: TModalComponent, properties?: ModalProperties<TModalComponent>): Promise<UIModal<ModalResult<TModalComponent>>>;
|
|
2756
|
+
closeModal(id: string, result?: unknown): Promise<void>;
|
|
2757
|
+
closeAllModals(): Promise<void>;
|
|
2758
|
+
protected boot(): Promise<void>;
|
|
2759
|
+
private removeModal;
|
|
2760
|
+
private watchModalEvents;
|
|
2761
|
+
private watchMountedEvent;
|
|
2762
|
+
private watchViewportBreakpoints;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
export declare type UIServices = typeof services_3;
|
|
2766
|
+
|
|
2767
|
+
declare interface UIToast {
|
|
2768
|
+
id: string;
|
|
2769
|
+
component: Component;
|
|
2770
|
+
properties: Record<string, unknown>;
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2773
|
+
export declare type Unref<T> = {
|
|
2774
|
+
[K in keyof T]: T[K] extends MaybeRef<infer Value> ? Value : T[K];
|
|
2775
|
+
};
|
|
2776
|
+
|
|
2777
|
+
export declare function useConfirmModal(props: ConfirmModalProps): {
|
|
2778
|
+
form: FormController< {
|
|
2779
|
+
[x: string]: FormFieldDefinition<FormFieldType, string> | {
|
|
2780
|
+
type: "boolean";
|
|
2781
|
+
default: boolean | undefined;
|
|
2782
|
+
required: string | undefined;
|
|
2783
|
+
};
|
|
2784
|
+
}> & FormData_2< {
|
|
2785
|
+
[x: string]: FormFieldDefinition<FormFieldType, string> | {
|
|
2786
|
+
type: "boolean";
|
|
2787
|
+
default: boolean | undefined;
|
|
2788
|
+
required: string | undefined;
|
|
2789
|
+
};
|
|
2790
|
+
}>;
|
|
2791
|
+
renderedAcceptText: ComputedRef<string>;
|
|
2792
|
+
renderedCancelText: ComputedRef<string>;
|
|
2793
|
+
};
|
|
2794
|
+
|
|
2795
|
+
export declare function useErrorReportModal(props: ErrorReportModalProps): {
|
|
2796
|
+
activeReportIndex: Ref<number, number>;
|
|
2797
|
+
details: ComputedRef<string>;
|
|
2798
|
+
nextReportText: string;
|
|
2799
|
+
previousReportText: string;
|
|
2800
|
+
report: ComputedRef<ErrorReport>;
|
|
2801
|
+
};
|
|
2802
|
+
|
|
2803
|
+
export declare function useEvent<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): void;
|
|
2804
|
+
|
|
2805
|
+
export declare function useEvent<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): void;
|
|
2806
|
+
|
|
2807
|
+
export declare function useForm<const T extends FormFieldDefinitions>(fields: T): FormController<T> & FormData_2<T>;
|
|
2808
|
+
|
|
2809
|
+
export declare function useInputAttrs(): [ComputedRef<{}>, ComputedRef<ClassValue>];
|
|
2810
|
+
|
|
2811
|
+
export declare function useLoadingModal(props: LoadingModalProps): {
|
|
2812
|
+
renderedTitle: ComputedRef<string>;
|
|
2813
|
+
renderedMessage: ComputedRef<string>;
|
|
2814
|
+
titleHidden: ComputedRef<boolean>;
|
|
2815
|
+
showProgress: ComputedRef<boolean>;
|
|
2816
|
+
};
|
|
2817
|
+
|
|
2818
|
+
export declare function usePromptModal(props: PromptModalProps): {
|
|
2819
|
+
form: FormController< {
|
|
2820
|
+
readonly draft: FormFieldDefinition<"string", "required">;
|
|
2821
|
+
}> & FormData_2< {
|
|
2822
|
+
readonly draft: FormFieldDefinition<"string", "required">;
|
|
2823
|
+
}>;
|
|
2824
|
+
renderedTitle: ComputedRef<string>;
|
|
2825
|
+
renderedMessage: ComputedRef<string | null>;
|
|
2826
|
+
renderedAcceptText: ComputedRef<string>;
|
|
2827
|
+
renderedCancelText: ComputedRef<string>;
|
|
2828
|
+
};
|
|
2829
|
+
|
|
2830
|
+
export declare function validate(value: unknown, rule: string): string[];
|
|
2831
|
+
|
|
2832
|
+
export declare const validators: Record<string, FormFieldValidator>;
|
|
2833
|
+
|
|
2834
|
+
export declare type Variants<T extends Record<string, string | boolean>> = Required<{
|
|
2835
|
+
[K in keyof T]: Exclude<T[K], undefined> extends string ? {
|
|
2836
|
+
[key in Exclude<T[K], undefined>]: string | null;
|
|
2837
|
+
} : {
|
|
2838
|
+
true: string | null;
|
|
2839
|
+
false: string | null;
|
|
2840
|
+
};
|
|
2841
|
+
}>;
|
|
2842
|
+
|
|
2843
|
+
export { }
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
declare module '@aerogel/core' {
|
|
2847
|
+
interface EventsPayload {
|
|
2848
|
+
'application-ready': void;
|
|
2849
|
+
'application-mounted': void;
|
|
2850
|
+
}
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
|
|
2854
|
+
declare module '@aerogel/core' {
|
|
2855
|
+
interface AerogelOptions {
|
|
2856
|
+
directives?: Record<string, Directive>;
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
declare module 'vue' {
|
|
2862
|
+
interface ComponentCustomDirectives {
|
|
2863
|
+
measure: Directive<string, string>;
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
2866
|
+
|
|
2867
|
+
|
|
2868
|
+
declare module '@aerogel/core' {
|
|
2869
|
+
interface AerogelOptions {
|
|
2870
|
+
handleError?(error: ErrorSource): boolean;
|
|
2871
|
+
}
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
declare module '@aerogel/core' {
|
|
2876
|
+
interface Services extends ErrorsServices {
|
|
2877
|
+
}
|
|
2878
|
+
}
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
declare module '@aerogel/core' {
|
|
2882
|
+
interface Services extends LangServices {
|
|
2883
|
+
}
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
declare module 'vue' {
|
|
2888
|
+
interface ComponentCustomProperties {
|
|
2889
|
+
$td: typeof translateWithDefault;
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
declare module '@aerogel/core' {
|
|
2895
|
+
interface AerogelOptions {
|
|
2896
|
+
services?: Record<string, Service>;
|
|
2897
|
+
settings?: AppSetting[];
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
declare module 'vue' {
|
|
2903
|
+
interface ComponentCustomProperties extends Services {
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
declare global {
|
|
2909
|
+
var testingRuntime: AerogelTestingRuntime | undefined;
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
declare module '@aerogel/core' {
|
|
2914
|
+
interface AerogelOptions {
|
|
2915
|
+
components?: Partial<Record<UIComponent, Component>>;
|
|
2916
|
+
}
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
declare module '@aerogel/core' {
|
|
2921
|
+
interface Services extends UIServices {
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
|
|
2926
|
+
declare global {
|
|
2927
|
+
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
declare module '@aerogel/core' {
|
|
2932
|
+
interface EventsPayload {
|
|
2933
|
+
error: {
|
|
2934
|
+
error: ErrorSource;
|
|
2935
|
+
message?: string;
|
|
2936
|
+
};
|
|
2937
|
+
}
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
declare module '@aerogel/core' {
|
|
2942
|
+
interface EventsPayload {
|
|
2943
|
+
'purge-storage': void;
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
|
|
2947
|
+
|
|
2948
|
+
declare module '@aerogel/core' {
|
|
2949
|
+
interface EventsPayload {
|
|
2950
|
+
'close-modal': {
|
|
2951
|
+
id: string;
|
|
2952
|
+
result?: unknown;
|
|
2953
|
+
};
|
|
2954
|
+
'modal-will-close': {
|
|
2955
|
+
modal: UIModal;
|
|
2956
|
+
result?: unknown;
|
|
2957
|
+
};
|
|
2958
|
+
'modal-has-closed': {
|
|
2959
|
+
modal: UIModal;
|
|
2960
|
+
result?: unknown;
|
|
2961
|
+
};
|
|
2962
|
+
}
|
|
2963
|
+
}
|