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