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