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