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