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