@aerogel/core 0.0.0-next.d7394c3aa6aac799b0971e63819a8713d05a5123 → 0.0.0-next.eed7a057cf5b844cd9f7fc6bda2d8df49fcd6736
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 +2317 -667
- package/dist/aerogel-core.js +2789 -0
- package/dist/aerogel-core.js.map +1 -0
- package/package.json +19 -34
- package/src/bootstrap/bootstrap.test.ts +4 -7
- 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/composition.ts +1 -1
- package/src/components/forms/AGButton.vue +2 -2
- package/src/components/forms/AGCheckbox.vue +4 -3
- package/src/components/forms/AGForm.vue +2 -2
- package/src/components/forms/AGInput.vue +6 -4
- package/src/components/forms/AGSelect.vue +3 -3
- package/src/components/headless/forms/AGHeadlessButton.ts +1 -1
- package/src/components/headless/forms/AGHeadlessButton.vue +2 -2
- package/src/components/headless/forms/AGHeadlessInput.ts +11 -4
- package/src/components/headless/forms/AGHeadlessInput.vue +3 -3
- package/src/components/headless/forms/AGHeadlessInputDescription.vue +1 -1
- package/src/components/headless/forms/AGHeadlessInputError.vue +2 -2
- package/src/components/headless/forms/AGHeadlessInputInput.vue +4 -4
- package/src/components/headless/forms/AGHeadlessInputLabel.vue +1 -1
- package/src/components/headless/forms/AGHeadlessInputTextArea.vue +3 -3
- package/src/components/headless/forms/AGHeadlessSelect.ts +3 -3
- package/src/components/headless/forms/AGHeadlessSelect.vue +5 -5
- package/src/components/headless/forms/AGHeadlessSelectButton.vue +2 -2
- package/src/components/headless/forms/AGHeadlessSelectError.vue +2 -2
- package/src/components/headless/forms/AGHeadlessSelectLabel.vue +2 -2
- package/src/components/headless/forms/AGHeadlessSelectOption.vue +3 -3
- package/src/components/headless/forms/composition.ts +1 -1
- package/src/components/headless/modals/AGHeadlessModal.ts +6 -4
- package/src/components/headless/modals/AGHeadlessModal.vue +14 -8
- package/src/components/headless/modals/AGHeadlessModalPanel.vue +13 -9
- package/src/components/headless/modals/AGHeadlessModalTitle.vue +14 -4
- package/src/components/headless/snackbars/index.ts +3 -3
- package/src/components/lib/AGErrorMessage.vue +3 -3
- package/src/components/lib/AGMarkdown.vue +16 -3
- package/src/components/lib/AGMeasured.vue +1 -1
- package/src/components/lib/AGProgressBar.vue +55 -0
- package/src/components/lib/index.ts +1 -0
- package/src/components/modals/AGAlertModal.ts +6 -3
- package/src/components/modals/AGConfirmModal.ts +16 -7
- package/src/components/modals/AGConfirmModal.vue +2 -2
- package/src/components/modals/AGErrorReportModal.ts +8 -5
- package/src/components/modals/AGErrorReportModalButtons.vue +9 -9
- package/src/components/modals/AGErrorReportModalTitle.vue +2 -2
- package/src/components/modals/AGLoadingModal.ts +11 -5
- package/src/components/modals/AGModal.ts +1 -0
- package/src/components/modals/AGModal.vue +5 -2
- package/src/components/modals/AGModalContext.ts +1 -1
- package/src/components/modals/AGModalContext.vue +15 -5
- package/src/components/modals/AGPromptModal.ts +12 -7
- package/src/components/snackbars/AGSnackbar.vue +2 -2
- package/src/components/utils.ts +7 -4
- package/src/directives/index.ts +3 -5
- package/src/directives/measure.ts +1 -1
- 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 +4 -3
- package/src/forms/Form.ts +27 -17
- package/src/forms/composition.ts +2 -2
- package/src/forms/index.ts +2 -1
- package/src/forms/utils.ts +20 -4
- package/src/forms/validation.ts +19 -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 +7 -4
- package/src/lang/Lang.state.ts +1 -1
- package/src/lang/Lang.ts +5 -1
- package/src/lang/index.ts +7 -5
- package/src/plugins/Plugin.ts +1 -1
- package/src/plugins/index.ts +10 -7
- package/src/services/App.state.ts +13 -4
- package/src/services/App.ts +8 -3
- package/src/services/Cache.ts +1 -1
- package/src/services/Events.ts +15 -5
- package/src/services/Service.ts +116 -53
- package/src/services/Storage.ts +20 -0
- package/src/services/index.ts +10 -4
- package/src/services/utils.ts +18 -0
- package/src/testing/index.ts +4 -3
- package/src/testing/setup.ts +5 -19
- package/src/ui/UI.state.ts +2 -2
- package/src/ui/UI.ts +139 -54
- package/src/ui/index.ts +4 -4
- package/src/ui/utils.ts +1 -1
- 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 +14 -4
- 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/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 -17
- /package/src/{main.ts → index.ts} +0 -0
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -1,412 +1,720 @@
|
|
|
1
1
|
import { ListboxOptions as AGHeadlessSelectOptions } from '@headlessui/vue';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import { AllowedComponentProps } from 'vue';
|
|
3
|
+
import { App as App_2 } from 'vue';
|
|
4
|
+
import { Component } from 'vue';
|
|
5
|
+
import { ComponentCustomProperties } from '@vue/runtime-core';
|
|
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 { Directive } from 'vue';
|
|
11
19
|
import { ExtractPropTypes } from 'vue';
|
|
12
20
|
import { Facade } from '@noeldemartin/utils';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
21
|
+
import { GetClosureArgs } from '@noeldemartin/utils';
|
|
22
|
+
import { _GettersTree } from 'pinia';
|
|
23
|
+
import { GlobalComponents } from 'vue';
|
|
24
|
+
import { GlobalDirectives } from 'vue';
|
|
25
|
+
import { InjectionKey } from 'vue';
|
|
26
|
+
import { JSError } from '@noeldemartin/utils';
|
|
27
|
+
import { Listeners } from '@noeldemartin/utils';
|
|
28
|
+
import { ListenersManager } from '@noeldemartin/utils';
|
|
17
29
|
import { MagicObject } from '@noeldemartin/utils';
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
30
|
+
import { MaybeRef } from 'vue';
|
|
31
|
+
import { nextTick } from 'vue';
|
|
32
|
+
import { ObjectValues } from '@noeldemartin/utils';
|
|
33
|
+
import { ObjectWithout } from '@noeldemartin/utils';
|
|
34
|
+
import { ObjectWithoutEmpty } from '@noeldemartin/utils';
|
|
35
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
36
|
+
import { Pinia } from 'pinia';
|
|
37
|
+
import { Pretty } from '@noeldemartin/utils';
|
|
22
38
|
import { PromisedValue } from '@noeldemartin/utils';
|
|
23
39
|
import { PropType } from 'vue';
|
|
24
40
|
import { PublicProps } from 'vue';
|
|
25
41
|
import { Ref } from 'vue';
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
42
|
+
import { ShallowUnwrapRef } from 'vue';
|
|
43
|
+
import { Slot } from 'vue';
|
|
44
|
+
import { StateTree } from 'pinia';
|
|
45
|
+
import { Store } from 'pinia';
|
|
46
|
+
import { SubPartial } from '@noeldemartin/utils';
|
|
47
|
+
import { UnwrapNestedRefs } from 'vue';
|
|
32
48
|
import { VNode } from 'vue';
|
|
33
|
-
import
|
|
49
|
+
import { VNodeProps } from 'vue';
|
|
50
|
+
import { WatchOptions } from 'vue';
|
|
51
|
+
import { WatchStopHandle } from 'vue';
|
|
52
|
+
import { Writable } from '@noeldemartin/utils';
|
|
34
53
|
|
|
35
54
|
export declare interface __SetsElement {
|
|
36
55
|
__setElement(element?: HTMLElement): void;
|
|
37
56
|
}
|
|
38
57
|
|
|
39
|
-
|
|
40
|
-
[Event in EventWithoutPayload]: () => unknown;
|
|
41
|
-
}> & Partial<{
|
|
42
|
-
[Event in EventWithPayload]: EventListener_2<EventsPayload[Event]>;
|
|
43
|
-
}>;
|
|
44
|
-
|
|
45
|
-
export declare interface AerogelOptions {
|
|
46
|
-
plugins?: Plugin_2[];
|
|
47
|
-
install?(app: App_2): void | Promise<void>;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export declare interface AerogelTestingRuntime {
|
|
51
|
-
on: (typeof Events)['on'];
|
|
52
|
-
}
|
|
58
|
+
declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
53
59
|
|
|
54
|
-
|
|
55
|
-
|
|
60
|
+
declare const __VLS_component_10: DefineComponent<ExtractPropTypes< {
|
|
61
|
+
textClass: {
|
|
56
62
|
type?: PropType<string | null> | undefined;
|
|
57
63
|
validator?(value: unknown): boolean;
|
|
58
64
|
} & {
|
|
59
65
|
default: string | (() => string | null) | null;
|
|
60
66
|
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
validator?(value: unknown): boolean;
|
|
64
|
-
} & {
|
|
65
|
-
required: true;
|
|
66
|
-
};
|
|
67
|
-
}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
|
|
68
|
-
[key: string]: any;
|
|
69
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
70
|
-
title: {
|
|
67
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
68
|
+
textClass: {
|
|
71
69
|
type?: PropType<string | null> | undefined;
|
|
72
70
|
validator?(value: unknown): boolean;
|
|
73
71
|
} & {
|
|
74
72
|
default: string | (() => string | null) | null;
|
|
75
73
|
};
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} & {
|
|
80
|
-
required: true;
|
|
81
|
-
};
|
|
82
|
-
}>>, {
|
|
83
|
-
title: string | null;
|
|
84
|
-
}, {}>;
|
|
85
|
-
|
|
86
|
-
export declare type AGAlertModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof alertModalProps>>;
|
|
87
|
-
|
|
88
|
-
export declare const AGAppLayout: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
|
|
89
|
-
[key: string]: any;
|
|
90
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
74
|
+
}>> & Readonly<{}>, {
|
|
75
|
+
textClass: string | null;
|
|
76
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
91
77
|
|
|
92
|
-
|
|
93
|
-
[key: string]: any;
|
|
94
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
78
|
+
declare const __VLS_component_11: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
95
79
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
type?: PropType<
|
|
80
|
+
declare const __VLS_component_12: DefineComponent<ExtractPropTypes< {
|
|
81
|
+
value: {
|
|
82
|
+
type?: PropType<FormFieldValue> | undefined;
|
|
99
83
|
validator?(value: unknown): boolean;
|
|
100
84
|
} & {
|
|
101
|
-
|
|
85
|
+
required: true;
|
|
102
86
|
};
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
106
|
-
color: {
|
|
107
|
-
type?: PropType<"primary" | "secondary" | "danger" | "clear"> | undefined;
|
|
87
|
+
selectedClass: {
|
|
88
|
+
type?: PropType<string | null> | undefined;
|
|
108
89
|
validator?(value: unknown): boolean;
|
|
109
90
|
} & {
|
|
110
|
-
default:
|
|
91
|
+
default: string | (() => string | null) | null;
|
|
111
92
|
};
|
|
112
|
-
|
|
113
|
-
color: "primary" | "secondary" | "danger" | "clear";
|
|
114
|
-
}, {}>;
|
|
115
|
-
|
|
116
|
-
export declare const AGCheckbox: DefineComponent< {
|
|
117
|
-
name: {
|
|
93
|
+
unselectedClass: {
|
|
118
94
|
type?: PropType<string | null> | undefined;
|
|
119
95
|
validator?(value: unknown): boolean;
|
|
120
96
|
} & {
|
|
121
97
|
default: string | (() => string | null) | null;
|
|
122
98
|
};
|
|
123
|
-
|
|
124
|
-
[key: string]: any;
|
|
125
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
126
|
-
name: {
|
|
99
|
+
activeClass: {
|
|
127
100
|
type?: PropType<string | null> | undefined;
|
|
128
101
|
validator?(value: unknown): boolean;
|
|
129
102
|
} & {
|
|
130
103
|
default: string | (() => string | null) | null;
|
|
131
104
|
};
|
|
132
|
-
|
|
133
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
134
|
-
}, {
|
|
135
|
-
name: string | null;
|
|
136
|
-
}, {}>;
|
|
137
|
-
|
|
138
|
-
export declare const AGConfirmModal: DefineComponent< {
|
|
139
|
-
title: {
|
|
105
|
+
inactiveClass: {
|
|
140
106
|
type?: PropType<string | null> | undefined;
|
|
141
107
|
validator?(value: unknown): boolean;
|
|
142
108
|
} & {
|
|
143
109
|
default: string | (() => string | null) | null;
|
|
144
110
|
};
|
|
145
|
-
|
|
146
|
-
|
|
111
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
112
|
+
value: {
|
|
113
|
+
type?: PropType<FormFieldValue> | undefined;
|
|
147
114
|
validator?(value: unknown): boolean;
|
|
148
115
|
} & {
|
|
149
116
|
required: true;
|
|
150
117
|
};
|
|
151
|
-
|
|
118
|
+
selectedClass: {
|
|
152
119
|
type?: PropType<string | null> | undefined;
|
|
153
120
|
validator?(value: unknown): boolean;
|
|
154
121
|
} & {
|
|
155
122
|
default: string | (() => string | null) | null;
|
|
156
123
|
};
|
|
157
|
-
|
|
158
|
-
type?: PropType<
|
|
124
|
+
unselectedClass: {
|
|
125
|
+
type?: PropType<string | null> | undefined;
|
|
159
126
|
validator?(value: unknown): boolean;
|
|
160
127
|
} & {
|
|
161
|
-
default:
|
|
128
|
+
default: string | (() => string | null) | null;
|
|
162
129
|
};
|
|
163
|
-
|
|
130
|
+
activeClass: {
|
|
164
131
|
type?: PropType<string | null> | undefined;
|
|
165
132
|
validator?(value: unknown): boolean;
|
|
166
133
|
} & {
|
|
167
134
|
default: string | (() => string | null) | null;
|
|
168
135
|
};
|
|
169
|
-
|
|
170
|
-
type?: PropType<
|
|
136
|
+
inactiveClass: {
|
|
137
|
+
type?: PropType<string | null> | undefined;
|
|
171
138
|
validator?(value: unknown): boolean;
|
|
172
139
|
} & {
|
|
173
|
-
default:
|
|
140
|
+
default: string | (() => string | null) | null;
|
|
174
141
|
};
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
142
|
+
}>> & Readonly<{}>, {
|
|
143
|
+
selectedClass: string | null;
|
|
144
|
+
unselectedClass: string | null;
|
|
145
|
+
activeClass: string | null;
|
|
146
|
+
inactiveClass: string | null;
|
|
147
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
148
|
+
|
|
149
|
+
declare const __VLS_component_13: DefineComponent<ExtractPropTypes< {
|
|
150
|
+
cancellable: {
|
|
151
|
+
type?: PropType<boolean> | undefined;
|
|
180
152
|
validator?(value: unknown): boolean;
|
|
181
153
|
} & {
|
|
182
|
-
default:
|
|
154
|
+
default: boolean | (() => boolean) | null;
|
|
183
155
|
};
|
|
184
|
-
|
|
185
|
-
type?: PropType<
|
|
156
|
+
inline: {
|
|
157
|
+
type?: PropType<boolean> | undefined;
|
|
186
158
|
validator?(value: unknown): boolean;
|
|
187
159
|
} & {
|
|
188
|
-
|
|
160
|
+
default: boolean | (() => boolean) | null;
|
|
189
161
|
};
|
|
190
|
-
|
|
162
|
+
title: {
|
|
191
163
|
type?: PropType<string | null> | undefined;
|
|
192
164
|
validator?(value: unknown): boolean;
|
|
193
165
|
} & {
|
|
194
166
|
default: string | (() => string | null) | null;
|
|
195
167
|
};
|
|
196
|
-
|
|
197
|
-
|
|
168
|
+
}>, {
|
|
169
|
+
inline: Ref<boolean>;
|
|
170
|
+
cancellable: Ref<boolean>;
|
|
171
|
+
close(result?: unknown): Promise<void>;
|
|
172
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
173
|
+
cancellable: {
|
|
174
|
+
type?: PropType<boolean> | undefined;
|
|
198
175
|
validator?(value: unknown): boolean;
|
|
199
176
|
} & {
|
|
200
|
-
default:
|
|
177
|
+
default: boolean | (() => boolean) | null;
|
|
201
178
|
};
|
|
202
|
-
|
|
203
|
-
type?: PropType<
|
|
179
|
+
inline: {
|
|
180
|
+
type?: PropType<boolean> | undefined;
|
|
204
181
|
validator?(value: unknown): boolean;
|
|
205
182
|
} & {
|
|
206
|
-
default:
|
|
183
|
+
default: boolean | (() => boolean) | null;
|
|
207
184
|
};
|
|
208
|
-
|
|
209
|
-
type?: PropType<
|
|
185
|
+
title: {
|
|
186
|
+
type?: PropType<string | null> | undefined;
|
|
210
187
|
validator?(value: unknown): boolean;
|
|
211
188
|
} & {
|
|
212
|
-
default:
|
|
189
|
+
default: string | (() => string | null) | null;
|
|
213
190
|
};
|
|
214
|
-
}
|
|
191
|
+
}>> & Readonly<{}>, {
|
|
215
192
|
title: string | null;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
},
|
|
193
|
+
inline: boolean;
|
|
194
|
+
cancellable: boolean;
|
|
195
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
196
|
+
$root: unknown;
|
|
197
|
+
}, any>;
|
|
221
198
|
|
|
222
|
-
|
|
199
|
+
declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
223
200
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
type?: PropType<
|
|
201
|
+
declare const __VLS_component_15: DefineComponent<ExtractPropTypes< {
|
|
202
|
+
as: {
|
|
203
|
+
type?: PropType<string> | undefined;
|
|
227
204
|
validator?(value: unknown): boolean;
|
|
228
205
|
} & {
|
|
229
|
-
|
|
206
|
+
default: string | (() => string) | null;
|
|
230
207
|
};
|
|
231
|
-
},
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
error: {
|
|
235
|
-
type?: PropType<unknown> | undefined;
|
|
208
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
209
|
+
as: {
|
|
210
|
+
type?: PropType<string> | undefined;
|
|
236
211
|
validator?(value: unknown): boolean;
|
|
237
212
|
} & {
|
|
238
|
-
|
|
213
|
+
default: string | (() => string) | null;
|
|
239
214
|
};
|
|
240
|
-
}
|
|
215
|
+
}>> & Readonly<{}>, {
|
|
216
|
+
as: string;
|
|
217
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
241
218
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
219
|
+
declare const __VLS_component_16: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
220
|
+
|
|
221
|
+
declare const __VLS_component_17: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
222
|
+
|
|
223
|
+
declare const __VLS_component_18: DefineComponent<ExtractPropTypes< {
|
|
224
|
+
as: {
|
|
225
|
+
type?: PropType<string> | undefined;
|
|
245
226
|
validator?(value: unknown): boolean;
|
|
246
227
|
} & {
|
|
247
|
-
|
|
228
|
+
default: string | (() => string) | null;
|
|
248
229
|
};
|
|
249
|
-
},
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
report: {
|
|
253
|
-
type?: PropType<ErrorReport> | undefined;
|
|
230
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
231
|
+
as: {
|
|
232
|
+
type?: PropType<string> | undefined;
|
|
254
233
|
validator?(value: unknown): boolean;
|
|
255
234
|
} & {
|
|
256
|
-
|
|
235
|
+
default: string | (() => string) | null;
|
|
257
236
|
};
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
|
|
237
|
+
}>> & Readonly<{}>, {
|
|
238
|
+
as: string;
|
|
239
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
261
240
|
|
|
262
|
-
|
|
241
|
+
declare const __VLS_component_19: DefineComponent<ExtractPropTypes< {
|
|
263
242
|
report: {
|
|
264
243
|
type?: PropType<ErrorReport> | undefined;
|
|
265
244
|
validator?(value: unknown): boolean;
|
|
266
245
|
} & {
|
|
267
246
|
required: true;
|
|
268
247
|
};
|
|
269
|
-
|
|
270
|
-
type?: PropType<number | null> | undefined;
|
|
271
|
-
validator?(value: unknown): boolean;
|
|
272
|
-
} & {
|
|
273
|
-
default: number | (() => number | null) | null;
|
|
274
|
-
};
|
|
275
|
-
totalReports: {
|
|
276
|
-
type?: PropType<number | null> | undefined;
|
|
277
|
-
validator?(value: unknown): boolean;
|
|
278
|
-
} & {
|
|
279
|
-
default: number | (() => number | null) | null;
|
|
280
|
-
};
|
|
281
|
-
}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
|
|
282
|
-
[key: string]: any;
|
|
283
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
248
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
284
249
|
report: {
|
|
285
250
|
type?: PropType<ErrorReport> | undefined;
|
|
286
251
|
validator?(value: unknown): boolean;
|
|
287
252
|
} & {
|
|
288
253
|
required: true;
|
|
289
254
|
};
|
|
290
|
-
|
|
291
|
-
|
|
255
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
256
|
+
|
|
257
|
+
declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
|
|
258
|
+
color: {
|
|
259
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
292
260
|
validator?(value: unknown): boolean;
|
|
293
261
|
} & {
|
|
294
|
-
default:
|
|
262
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
295
263
|
};
|
|
296
|
-
|
|
297
|
-
|
|
264
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
265
|
+
color: {
|
|
266
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
298
267
|
validator?(value: unknown): boolean;
|
|
299
268
|
} & {
|
|
300
|
-
default:
|
|
269
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
301
270
|
};
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}, {}>;
|
|
271
|
+
}>> & Readonly<{}>, {
|
|
272
|
+
color: "clear" | "primary" | "secondary" | "danger";
|
|
273
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
306
274
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
type?: PropType<
|
|
275
|
+
declare const __VLS_component_20: DefineComponent<ExtractPropTypes< {
|
|
276
|
+
cancellable: {
|
|
277
|
+
type?: PropType<boolean> | undefined;
|
|
310
278
|
validator?(value: unknown): boolean;
|
|
311
279
|
} & {
|
|
312
|
-
default:
|
|
280
|
+
default: boolean | (() => boolean) | null;
|
|
313
281
|
};
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "submit"[], "submit", PublicProps, Readonly<ExtractPropTypes< {
|
|
317
|
-
form: {
|
|
318
|
-
type?: PropType<Form<FormFieldDefinitions> | null> | undefined;
|
|
282
|
+
inline: {
|
|
283
|
+
type?: PropType<boolean> | undefined;
|
|
319
284
|
validator?(value: unknown): boolean;
|
|
320
285
|
} & {
|
|
321
|
-
default:
|
|
286
|
+
default: boolean | (() => boolean) | null;
|
|
322
287
|
};
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
}, {
|
|
326
|
-
form: Form<FormFieldDefinitions> | null;
|
|
327
|
-
}, {}>;
|
|
328
|
-
|
|
329
|
-
export declare const AGHeadlessButton: DefineComponent< {
|
|
330
|
-
as: {
|
|
331
|
-
type?: PropType<Object | null> | undefined;
|
|
288
|
+
title: {
|
|
289
|
+
type?: PropType<string | null> | undefined;
|
|
332
290
|
validator?(value: unknown): boolean;
|
|
333
291
|
} & {
|
|
334
|
-
default:
|
|
292
|
+
default: string | (() => string | null) | null;
|
|
335
293
|
};
|
|
336
|
-
|
|
337
|
-
|
|
294
|
+
}>, {
|
|
295
|
+
inline: Ref<boolean>;
|
|
296
|
+
cancellable: Ref<boolean>;
|
|
297
|
+
close(result?: unknown): Promise<void>;
|
|
298
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
299
|
+
cancellable: {
|
|
300
|
+
type?: PropType<boolean> | undefined;
|
|
338
301
|
validator?(value: unknown): boolean;
|
|
339
302
|
} & {
|
|
340
|
-
default:
|
|
303
|
+
default: boolean | (() => boolean) | null;
|
|
341
304
|
};
|
|
342
|
-
|
|
343
|
-
type?: PropType<
|
|
305
|
+
inline: {
|
|
306
|
+
type?: PropType<boolean> | undefined;
|
|
344
307
|
validator?(value: unknown): boolean;
|
|
345
308
|
} & {
|
|
346
|
-
default:
|
|
309
|
+
default: boolean | (() => boolean) | null;
|
|
347
310
|
};
|
|
348
|
-
|
|
311
|
+
title: {
|
|
349
312
|
type?: PropType<string | null> | undefined;
|
|
350
313
|
validator?(value: unknown): boolean;
|
|
351
314
|
} & {
|
|
352
315
|
default: string | (() => string | null) | null;
|
|
353
316
|
};
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
317
|
+
}>> & Readonly<{}>, {
|
|
318
|
+
title: string | null;
|
|
319
|
+
inline: boolean;
|
|
320
|
+
cancellable: boolean;
|
|
321
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
322
|
+
$modal: ({
|
|
323
|
+
$: ComponentInternalInstance;
|
|
324
|
+
$data: {};
|
|
325
|
+
$props: Partial<{
|
|
326
|
+
title: string | null;
|
|
327
|
+
inline: boolean;
|
|
328
|
+
cancellable: boolean;
|
|
329
|
+
}> & Omit<{
|
|
330
|
+
readonly title: string | null;
|
|
331
|
+
readonly inline: boolean;
|
|
332
|
+
readonly cancellable: boolean;
|
|
333
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "inline" | "cancellable">;
|
|
334
|
+
$attrs: {
|
|
335
|
+
[x: string]: unknown;
|
|
359
336
|
};
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
validator?(value: unknown): boolean;
|
|
337
|
+
$refs: {
|
|
338
|
+
[x: string]: unknown;
|
|
363
339
|
} & {
|
|
364
|
-
|
|
340
|
+
$root: unknown;
|
|
365
341
|
};
|
|
366
|
-
|
|
342
|
+
$slots: Readonly<{
|
|
343
|
+
[name: string]: Slot<any> | undefined;
|
|
344
|
+
}>;
|
|
345
|
+
$root: ComponentPublicInstance | null;
|
|
346
|
+
$parent: ComponentPublicInstance | null;
|
|
347
|
+
$host: Element | null;
|
|
348
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
349
|
+
$el: any;
|
|
350
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
351
|
+
cancellable: {
|
|
367
352
|
type?: PropType<boolean> | undefined;
|
|
368
353
|
validator?(value: unknown): boolean;
|
|
369
354
|
} & {
|
|
370
355
|
default: boolean | (() => boolean) | null;
|
|
371
356
|
};
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
375
|
-
as: {
|
|
376
|
-
type?: PropType<Object | null> | undefined;
|
|
357
|
+
inline: {
|
|
358
|
+
type?: PropType<boolean> | undefined;
|
|
377
359
|
validator?(value: unknown): boolean;
|
|
378
360
|
} & {
|
|
379
|
-
default:
|
|
361
|
+
default: boolean | (() => boolean) | null;
|
|
380
362
|
};
|
|
381
|
-
|
|
363
|
+
title: {
|
|
382
364
|
type?: PropType<string | null> | undefined;
|
|
383
365
|
validator?(value: unknown): boolean;
|
|
384
366
|
} & {
|
|
385
367
|
default: string | (() => string | null) | null;
|
|
386
368
|
};
|
|
387
|
-
|
|
388
|
-
|
|
369
|
+
}>> & Readonly<{}>, {
|
|
370
|
+
inline: Ref<boolean>;
|
|
371
|
+
cancellable: Ref<boolean>;
|
|
372
|
+
close(result?: unknown): Promise<void>;
|
|
373
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
374
|
+
title: string | null;
|
|
375
|
+
inline: boolean;
|
|
376
|
+
cancellable: boolean;
|
|
377
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
378
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
379
|
+
created?: (() => void) | (() => void)[];
|
|
380
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
381
|
+
mounted?: (() => void) | (() => void)[];
|
|
382
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
383
|
+
updated?: (() => void) | (() => void)[];
|
|
384
|
+
activated?: (() => void) | (() => void)[];
|
|
385
|
+
deactivated?: (() => void) | (() => void)[];
|
|
386
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
387
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
388
|
+
destroyed?: (() => void) | (() => void)[];
|
|
389
|
+
unmounted?: (() => void) | (() => void)[];
|
|
390
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
391
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
392
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
393
|
+
};
|
|
394
|
+
$forceUpdate: () => void;
|
|
395
|
+
$nextTick: nextTick;
|
|
396
|
+
$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;
|
|
397
|
+
} & Readonly<{
|
|
398
|
+
title: string | null;
|
|
399
|
+
inline: boolean;
|
|
400
|
+
cancellable: boolean;
|
|
401
|
+
}> & Omit<Readonly<ExtractPropTypes< {
|
|
402
|
+
cancellable: {
|
|
403
|
+
type?: PropType<boolean> | undefined;
|
|
389
404
|
validator?(value: unknown): boolean;
|
|
390
405
|
} & {
|
|
391
|
-
default:
|
|
406
|
+
default: boolean | (() => boolean) | null;
|
|
392
407
|
};
|
|
393
|
-
|
|
408
|
+
inline: {
|
|
409
|
+
type?: PropType<boolean> | undefined;
|
|
410
|
+
validator?(value: unknown): boolean;
|
|
411
|
+
} & {
|
|
412
|
+
default: boolean | (() => boolean) | null;
|
|
413
|
+
};
|
|
414
|
+
title: {
|
|
394
415
|
type?: PropType<string | null> | undefined;
|
|
395
416
|
validator?(value: unknown): boolean;
|
|
396
417
|
} & {
|
|
397
418
|
default: string | (() => string | null) | null;
|
|
398
419
|
};
|
|
399
|
-
|
|
400
|
-
|
|
420
|
+
}>> & Readonly<{}>, "close" | ("title" | "inline" | "cancellable")> & ShallowUnwrapRef< {
|
|
421
|
+
inline: Ref<boolean>;
|
|
422
|
+
cancellable: Ref<boolean>;
|
|
423
|
+
close(result?: unknown): Promise<void>;
|
|
424
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
425
|
+
$slots: Readonly<{
|
|
426
|
+
default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
|
|
427
|
+
}> & {
|
|
428
|
+
default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
|
|
429
|
+
};
|
|
430
|
+
}) | null;
|
|
431
|
+
}, any>;
|
|
432
|
+
|
|
433
|
+
declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
434
|
+
|
|
435
|
+
declare const __VLS_component_3: DefineComponent<ExtractPropTypes< {
|
|
436
|
+
name: {
|
|
437
|
+
type?: PropType<string | null> | undefined;
|
|
401
438
|
validator?(value: unknown): boolean;
|
|
402
439
|
} & {
|
|
403
|
-
default:
|
|
440
|
+
default: string | (() => string | null) | null;
|
|
404
441
|
};
|
|
405
|
-
|
|
406
|
-
|
|
442
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
443
|
+
"update:modelValue": (...args: any[]) => void;
|
|
444
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
445
|
+
name: {
|
|
446
|
+
type?: PropType<string | null> | undefined;
|
|
407
447
|
validator?(value: unknown): boolean;
|
|
408
448
|
} & {
|
|
409
|
-
default:
|
|
449
|
+
default: string | (() => string | null) | null;
|
|
450
|
+
};
|
|
451
|
+
}>> & Readonly<{
|
|
452
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
453
|
+
}>, {
|
|
454
|
+
name: string | null;
|
|
455
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
456
|
+
$input: ({
|
|
457
|
+
$: ComponentInternalInstance;
|
|
458
|
+
$data: {};
|
|
459
|
+
$props: Partial<{
|
|
460
|
+
description: string | null;
|
|
461
|
+
name: string | null;
|
|
462
|
+
label: string | null;
|
|
463
|
+
as: string;
|
|
464
|
+
modelValue: FormFieldValue | null;
|
|
465
|
+
}> & Omit<{
|
|
466
|
+
readonly description: string | null;
|
|
467
|
+
readonly name: string | null;
|
|
468
|
+
readonly label: string | null;
|
|
469
|
+
readonly as: string;
|
|
470
|
+
readonly modelValue: FormFieldValue | null;
|
|
471
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
472
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "description" | "name" | "label" | "as" | "modelValue">;
|
|
473
|
+
$attrs: {
|
|
474
|
+
[x: string]: unknown;
|
|
475
|
+
};
|
|
476
|
+
$refs: {
|
|
477
|
+
[x: string]: unknown;
|
|
478
|
+
};
|
|
479
|
+
$slots: Readonly<{
|
|
480
|
+
[name: string]: Slot<any> | undefined;
|
|
481
|
+
}>;
|
|
482
|
+
$root: ComponentPublicInstance | null;
|
|
483
|
+
$parent: ComponentPublicInstance | null;
|
|
484
|
+
$host: Element | null;
|
|
485
|
+
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
486
|
+
$el: any;
|
|
487
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
488
|
+
name: {
|
|
489
|
+
type?: PropType<string | null> | undefined;
|
|
490
|
+
validator?(value: unknown): boolean;
|
|
491
|
+
} & {
|
|
492
|
+
default: string | (() => string | null) | null;
|
|
493
|
+
};
|
|
494
|
+
label: {
|
|
495
|
+
type?: PropType<string | null> | undefined;
|
|
496
|
+
validator?(value: unknown): boolean;
|
|
497
|
+
} & {
|
|
498
|
+
default: string | (() => string | null) | null;
|
|
499
|
+
};
|
|
500
|
+
description: {
|
|
501
|
+
type?: PropType<string | null> | undefined;
|
|
502
|
+
validator?(value: unknown): boolean;
|
|
503
|
+
} & {
|
|
504
|
+
default: string | (() => string | null) | null;
|
|
505
|
+
};
|
|
506
|
+
modelValue: {
|
|
507
|
+
type?: PropType<FormFieldValue | null> | undefined;
|
|
508
|
+
validator?(value: unknown): boolean;
|
|
509
|
+
} & {
|
|
510
|
+
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
511
|
+
};
|
|
512
|
+
as: {
|
|
513
|
+
type?: PropType<string> | undefined;
|
|
514
|
+
validator?(value: unknown): boolean;
|
|
515
|
+
} & {
|
|
516
|
+
default: string | (() => string) | null;
|
|
517
|
+
};
|
|
518
|
+
}>> & Readonly<{
|
|
519
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
520
|
+
}>, {
|
|
521
|
+
id: string;
|
|
522
|
+
name: ComputedRef<string | null>;
|
|
523
|
+
label: ComputedRef<string | null>;
|
|
524
|
+
description: ComputedRef<string | boolean | null>;
|
|
525
|
+
value: ComputedRef<FormFieldValue | null>;
|
|
526
|
+
required: ComputedRef<boolean | null>;
|
|
527
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
528
|
+
update(value: FormFieldValue | null): void;
|
|
529
|
+
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
530
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
531
|
+
"update:modelValue": (...args: any[]) => void;
|
|
532
|
+
}, string, {
|
|
533
|
+
description: string | null;
|
|
534
|
+
name: string | null;
|
|
535
|
+
label: string | null;
|
|
536
|
+
as: string;
|
|
537
|
+
modelValue: FormFieldValue | null;
|
|
538
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
539
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
540
|
+
created?: (() => void) | (() => void)[];
|
|
541
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
542
|
+
mounted?: (() => void) | (() => void)[];
|
|
543
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
544
|
+
updated?: (() => void) | (() => void)[];
|
|
545
|
+
activated?: (() => void) | (() => void)[];
|
|
546
|
+
deactivated?: (() => void) | (() => void)[];
|
|
547
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
548
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
549
|
+
destroyed?: (() => void) | (() => void)[];
|
|
550
|
+
unmounted?: (() => void) | (() => void)[];
|
|
551
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
552
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
553
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
554
|
+
};
|
|
555
|
+
$forceUpdate: () => void;
|
|
556
|
+
$nextTick: nextTick;
|
|
557
|
+
$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;
|
|
558
|
+
} & Readonly<{
|
|
559
|
+
description: string | null;
|
|
560
|
+
name: string | null;
|
|
561
|
+
label: string | null;
|
|
562
|
+
as: string;
|
|
563
|
+
modelValue: FormFieldValue | null;
|
|
564
|
+
}> & Omit<Readonly<ExtractPropTypes< {
|
|
565
|
+
name: {
|
|
566
|
+
type?: PropType<string | null> | undefined;
|
|
567
|
+
validator?(value: unknown): boolean;
|
|
568
|
+
} & {
|
|
569
|
+
default: string | (() => string | null) | null;
|
|
570
|
+
};
|
|
571
|
+
label: {
|
|
572
|
+
type?: PropType<string | null> | undefined;
|
|
573
|
+
validator?(value: unknown): boolean;
|
|
574
|
+
} & {
|
|
575
|
+
default: string | (() => string | null) | null;
|
|
576
|
+
};
|
|
577
|
+
description: {
|
|
578
|
+
type?: PropType<string | null> | undefined;
|
|
579
|
+
validator?(value: unknown): boolean;
|
|
580
|
+
} & {
|
|
581
|
+
default: string | (() => string | null) | null;
|
|
582
|
+
};
|
|
583
|
+
modelValue: {
|
|
584
|
+
type?: PropType<FormFieldValue | null> | undefined;
|
|
585
|
+
validator?(value: unknown): boolean;
|
|
586
|
+
} & {
|
|
587
|
+
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
588
|
+
};
|
|
589
|
+
as: {
|
|
590
|
+
type?: PropType<string> | undefined;
|
|
591
|
+
validator?(value: unknown): boolean;
|
|
592
|
+
} & {
|
|
593
|
+
default: string | (() => string) | null;
|
|
594
|
+
};
|
|
595
|
+
}>> & Readonly<{
|
|
596
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
597
|
+
}>, "id" | "value" | "required" | "errors" | "$el" | "update" | ("description" | "name" | "label" | "as" | "modelValue")> & ShallowUnwrapRef< {
|
|
598
|
+
id: string;
|
|
599
|
+
name: ComputedRef<string | null>;
|
|
600
|
+
label: ComputedRef<string | null>;
|
|
601
|
+
description: ComputedRef<string | boolean | null>;
|
|
602
|
+
value: ComputedRef<FormFieldValue | null>;
|
|
603
|
+
required: ComputedRef<boolean | null>;
|
|
604
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
605
|
+
update(value: FormFieldValue | null): void;
|
|
606
|
+
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
607
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
608
|
+
$slots: {
|
|
609
|
+
default?(_: {}): any;
|
|
610
|
+
default?(_: {}): any;
|
|
611
|
+
};
|
|
612
|
+
}) | null;
|
|
613
|
+
}, any>;
|
|
614
|
+
|
|
615
|
+
declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
|
|
616
|
+
form: {
|
|
617
|
+
type?: PropType<Form<FormFieldDefinitions> | null> | undefined;
|
|
618
|
+
validator?(value: unknown): boolean;
|
|
619
|
+
} & {
|
|
620
|
+
default: Form<FormFieldDefinitions> | (() => Form<FormFieldDefinitions> | null) | null;
|
|
621
|
+
};
|
|
622
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
623
|
+
submit: () => any;
|
|
624
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
625
|
+
form: {
|
|
626
|
+
type?: PropType<Form<FormFieldDefinitions> | null> | undefined;
|
|
627
|
+
validator?(value: unknown): boolean;
|
|
628
|
+
} & {
|
|
629
|
+
default: Form<FormFieldDefinitions> | (() => Form<FormFieldDefinitions> | null) | null;
|
|
630
|
+
};
|
|
631
|
+
}>> & Readonly<{
|
|
632
|
+
onSubmit?: (() => any) | undefined;
|
|
633
|
+
}>, {
|
|
634
|
+
form: Form<FormFieldDefinitions> | null;
|
|
635
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLFormElement>;
|
|
636
|
+
|
|
637
|
+
declare const __VLS_component_5: DefineComponent<ExtractPropTypes< {
|
|
638
|
+
as: {
|
|
639
|
+
type?: PropType<Object | null> | undefined;
|
|
640
|
+
validator?(value: unknown): boolean;
|
|
641
|
+
} & {
|
|
642
|
+
default: Object | (() => Object | null) | null;
|
|
643
|
+
};
|
|
644
|
+
href: {
|
|
645
|
+
type?: PropType<string | null> | undefined;
|
|
646
|
+
validator?(value: unknown): boolean;
|
|
647
|
+
} & {
|
|
648
|
+
default: string | (() => string | null) | null;
|
|
649
|
+
};
|
|
650
|
+
url: {
|
|
651
|
+
type?: PropType<string | null> | undefined;
|
|
652
|
+
validator?(value: unknown): boolean;
|
|
653
|
+
} & {
|
|
654
|
+
default: string | (() => string | null) | null;
|
|
655
|
+
};
|
|
656
|
+
route: {
|
|
657
|
+
type?: PropType<string | null> | undefined;
|
|
658
|
+
validator?(value: unknown): boolean;
|
|
659
|
+
} & {
|
|
660
|
+
default: string | (() => string | null) | null;
|
|
661
|
+
};
|
|
662
|
+
routeParams: {
|
|
663
|
+
type?: PropType< {}> | undefined;
|
|
664
|
+
validator?(value: unknown): boolean;
|
|
665
|
+
} & {
|
|
666
|
+
default: {} | (() => {}) | null;
|
|
667
|
+
};
|
|
668
|
+
routeQuery: {
|
|
669
|
+
type?: PropType< {}> | undefined;
|
|
670
|
+
validator?(value: unknown): boolean;
|
|
671
|
+
} & {
|
|
672
|
+
default: {} | (() => {}) | null;
|
|
673
|
+
};
|
|
674
|
+
submit: {
|
|
675
|
+
type?: PropType<boolean> | undefined;
|
|
676
|
+
validator?(value: unknown): boolean;
|
|
677
|
+
} & {
|
|
678
|
+
default: boolean | (() => boolean) | null;
|
|
679
|
+
};
|
|
680
|
+
}>, {
|
|
681
|
+
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
682
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
683
|
+
as: {
|
|
684
|
+
type?: PropType<Object | null> | undefined;
|
|
685
|
+
validator?(value: unknown): boolean;
|
|
686
|
+
} & {
|
|
687
|
+
default: Object | (() => Object | null) | null;
|
|
688
|
+
};
|
|
689
|
+
href: {
|
|
690
|
+
type?: PropType<string | null> | undefined;
|
|
691
|
+
validator?(value: unknown): boolean;
|
|
692
|
+
} & {
|
|
693
|
+
default: string | (() => string | null) | null;
|
|
694
|
+
};
|
|
695
|
+
url: {
|
|
696
|
+
type?: PropType<string | null> | undefined;
|
|
697
|
+
validator?(value: unknown): boolean;
|
|
698
|
+
} & {
|
|
699
|
+
default: string | (() => string | null) | null;
|
|
700
|
+
};
|
|
701
|
+
route: {
|
|
702
|
+
type?: PropType<string | null> | undefined;
|
|
703
|
+
validator?(value: unknown): boolean;
|
|
704
|
+
} & {
|
|
705
|
+
default: string | (() => string | null) | null;
|
|
706
|
+
};
|
|
707
|
+
routeParams: {
|
|
708
|
+
type?: PropType< {}> | undefined;
|
|
709
|
+
validator?(value: unknown): boolean;
|
|
710
|
+
} & {
|
|
711
|
+
default: {} | (() => {}) | null;
|
|
712
|
+
};
|
|
713
|
+
routeQuery: {
|
|
714
|
+
type?: PropType< {}> | undefined;
|
|
715
|
+
validator?(value: unknown): boolean;
|
|
716
|
+
} & {
|
|
717
|
+
default: {} | (() => {}) | null;
|
|
410
718
|
};
|
|
411
719
|
submit: {
|
|
412
720
|
type?: PropType<boolean> | undefined;
|
|
@@ -414,7 +722,7 @@ validator?(value: unknown): boolean;
|
|
|
414
722
|
} & {
|
|
415
723
|
default: boolean | (() => boolean) | null;
|
|
416
724
|
};
|
|
417
|
-
}
|
|
725
|
+
}>> & Readonly<{}>, {
|
|
418
726
|
as: Object | null;
|
|
419
727
|
href: string | null;
|
|
420
728
|
url: string | null;
|
|
@@ -422,9 +730,11 @@ route: string | null;
|
|
|
422
730
|
routeParams: {};
|
|
423
731
|
routeQuery: {};
|
|
424
732
|
submit: boolean;
|
|
425
|
-
}, {}
|
|
733
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
734
|
+
$root: unknown;
|
|
735
|
+
}, any>;
|
|
426
736
|
|
|
427
|
-
|
|
737
|
+
declare const __VLS_component_6: DefineComponent<ExtractPropTypes< {
|
|
428
738
|
name: {
|
|
429
739
|
type?: PropType<string | null> | undefined;
|
|
430
740
|
validator?(value: unknown): boolean;
|
|
@@ -455,9 +765,19 @@ validator?(value: unknown): boolean;
|
|
|
455
765
|
} & {
|
|
456
766
|
default: string | (() => string) | null;
|
|
457
767
|
};
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
|
|
768
|
+
}>, {
|
|
769
|
+
id: string;
|
|
770
|
+
name: ComputedRef<string | null>;
|
|
771
|
+
label: ComputedRef<string | null>;
|
|
772
|
+
description: ComputedRef<string | boolean | null>;
|
|
773
|
+
value: ComputedRef<FormFieldValue | null>;
|
|
774
|
+
required: ComputedRef<boolean | null>;
|
|
775
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
776
|
+
update(value: FormFieldValue | null): void;
|
|
777
|
+
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
778
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
779
|
+
"update:modelValue": (...args: any[]) => void;
|
|
780
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
461
781
|
name: {
|
|
462
782
|
type?: PropType<string | null> | undefined;
|
|
463
783
|
validator?(value: unknown): boolean;
|
|
@@ -488,110 +808,1075 @@ validator?(value: unknown): boolean;
|
|
|
488
808
|
} & {
|
|
489
809
|
default: string | (() => string) | null;
|
|
490
810
|
};
|
|
491
|
-
}>> & {
|
|
811
|
+
}>> & Readonly<{
|
|
492
812
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
493
|
-
}
|
|
494
|
-
|
|
813
|
+
}>, {
|
|
814
|
+
description: string | null;
|
|
495
815
|
name: string | null;
|
|
496
816
|
label: string | null;
|
|
497
|
-
|
|
817
|
+
as: string;
|
|
498
818
|
modelValue: FormFieldValue | null;
|
|
499
|
-
}, {}>;
|
|
819
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
500
820
|
|
|
501
|
-
|
|
502
|
-
[key: string]: any;
|
|
503
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
821
|
+
declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
504
822
|
|
|
505
|
-
|
|
506
|
-
[key: string]: any;
|
|
507
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
823
|
+
declare const __VLS_component_8: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
508
824
|
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
type?: PropType<string> | undefined;
|
|
825
|
+
declare const __VLS_component_9: DefineComponent<ExtractPropTypes< {
|
|
826
|
+
name: {
|
|
827
|
+
type?: PropType<string | null> | undefined;
|
|
512
828
|
validator?(value: unknown): boolean;
|
|
513
829
|
} & {
|
|
514
|
-
default: string | (() => string) | null;
|
|
830
|
+
default: string | (() => string | null) | null;
|
|
515
831
|
};
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
519
|
-
type: {
|
|
520
|
-
type?: PropType<string> | undefined;
|
|
832
|
+
label: {
|
|
833
|
+
type?: PropType<string | null> | undefined;
|
|
521
834
|
validator?(value: unknown): boolean;
|
|
522
835
|
} & {
|
|
523
|
-
default: string | (() => string) | null;
|
|
836
|
+
default: string | (() => string | null) | null;
|
|
524
837
|
};
|
|
525
|
-
|
|
526
|
-
type
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
838
|
+
options: {
|
|
839
|
+
type?: PropType<FormFieldValue[]> | undefined;
|
|
840
|
+
validator?(value: unknown): boolean;
|
|
841
|
+
} & {
|
|
842
|
+
required: true;
|
|
843
|
+
};
|
|
844
|
+
noSelectionText: {
|
|
845
|
+
type?: PropType<string | null> | undefined;
|
|
846
|
+
validator?(value: unknown): boolean;
|
|
847
|
+
} & {
|
|
848
|
+
default: string | (() => string | null) | null;
|
|
849
|
+
};
|
|
850
|
+
optionsText: {
|
|
851
|
+
type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
|
|
852
|
+
validator?(value: unknown): boolean;
|
|
853
|
+
} & {
|
|
854
|
+
default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
|
|
855
|
+
};
|
|
856
|
+
modelValue: {
|
|
857
|
+
type?: PropType<FormFieldValue | null> | undefined;
|
|
858
|
+
validator?(value: unknown): boolean;
|
|
859
|
+
} & {
|
|
860
|
+
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
861
|
+
};
|
|
862
|
+
}>, {
|
|
863
|
+
id: string;
|
|
864
|
+
label: ComputedRef<string | null>;
|
|
865
|
+
noSelectionText: ComputedRef<string>;
|
|
866
|
+
buttonText: ComputedRef<string>;
|
|
867
|
+
renderText: ComputedRef<(value: FormFieldValue) => string>;
|
|
868
|
+
selectedOption: ComputedRef<FormFieldValue | null>;
|
|
869
|
+
options: ComputedRef<FormFieldValue[]>;
|
|
870
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
871
|
+
update(value: FormFieldValue): void;
|
|
872
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
873
|
+
"update:modelValue": (...args: any[]) => void;
|
|
874
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
875
|
+
name: {
|
|
876
|
+
type?: PropType<string | null> | undefined;
|
|
877
|
+
validator?(value: unknown): boolean;
|
|
878
|
+
} & {
|
|
879
|
+
default: string | (() => string | null) | null;
|
|
880
|
+
};
|
|
881
|
+
label: {
|
|
882
|
+
type?: PropType<string | null> | undefined;
|
|
883
|
+
validator?(value: unknown): boolean;
|
|
884
|
+
} & {
|
|
885
|
+
default: string | (() => string | null) | null;
|
|
886
|
+
};
|
|
887
|
+
options: {
|
|
888
|
+
type?: PropType<FormFieldValue[]> | undefined;
|
|
889
|
+
validator?(value: unknown): boolean;
|
|
890
|
+
} & {
|
|
891
|
+
required: true;
|
|
892
|
+
};
|
|
893
|
+
noSelectionText: {
|
|
894
|
+
type?: PropType<string | null> | undefined;
|
|
895
|
+
validator?(value: unknown): boolean;
|
|
896
|
+
} & {
|
|
897
|
+
default: string | (() => string | null) | null;
|
|
898
|
+
};
|
|
899
|
+
optionsText: {
|
|
900
|
+
type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
|
|
901
|
+
validator?(value: unknown): boolean;
|
|
902
|
+
} & {
|
|
903
|
+
default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
|
|
904
|
+
};
|
|
905
|
+
modelValue: {
|
|
906
|
+
type?: PropType<FormFieldValue | null> | undefined;
|
|
907
|
+
validator?(value: unknown): boolean;
|
|
908
|
+
} & {
|
|
909
|
+
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
910
|
+
};
|
|
911
|
+
}>> & Readonly<{
|
|
912
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
913
|
+
}>, {
|
|
914
|
+
name: string | null;
|
|
915
|
+
label: string | null;
|
|
916
|
+
modelValue: FormFieldValue | null;
|
|
917
|
+
noSelectionText: string | null;
|
|
918
|
+
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
919
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
920
|
+
|
|
921
|
+
declare function __VLS_template(): {
|
|
922
|
+
attrs: Partial<{}>;
|
|
923
|
+
slots: {
|
|
924
|
+
'startup-crash'?(_: {}): any;
|
|
925
|
+
default?(_: {}): any;
|
|
926
|
+
};
|
|
927
|
+
refs: {};
|
|
928
|
+
rootEl: HTMLDivElement;
|
|
929
|
+
};
|
|
930
|
+
|
|
931
|
+
declare function __VLS_template_10(): {
|
|
932
|
+
attrs: Partial<{}>;
|
|
933
|
+
slots: {
|
|
934
|
+
default?(_: {
|
|
935
|
+
value: unknown;
|
|
936
|
+
open: unknown;
|
|
937
|
+
disabled: unknown;
|
|
938
|
+
}): any;
|
|
939
|
+
icon?(_: {}): any;
|
|
940
|
+
};
|
|
941
|
+
refs: {};
|
|
942
|
+
rootEl: any;
|
|
943
|
+
};
|
|
944
|
+
|
|
945
|
+
declare function __VLS_template_11(): {
|
|
946
|
+
attrs: Partial<{}>;
|
|
947
|
+
slots: {
|
|
948
|
+
default?(_: {
|
|
949
|
+
open: unknown;
|
|
950
|
+
disabled: unknown;
|
|
951
|
+
}): any;
|
|
952
|
+
};
|
|
953
|
+
refs: {};
|
|
954
|
+
rootEl: any;
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
declare function __VLS_template_12(): {
|
|
958
|
+
attrs: Partial<{}>;
|
|
959
|
+
slots: {
|
|
960
|
+
default?(_: {
|
|
961
|
+
active: unknown;
|
|
962
|
+
selected: unknown;
|
|
963
|
+
disabled: unknown;
|
|
964
|
+
}): any;
|
|
965
|
+
};
|
|
966
|
+
refs: {};
|
|
967
|
+
rootEl: any;
|
|
968
|
+
};
|
|
969
|
+
|
|
970
|
+
declare function __VLS_template_13(): {
|
|
971
|
+
attrs: Partial<{}>;
|
|
972
|
+
slots: Readonly<{
|
|
973
|
+
default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
|
|
974
|
+
}> & {
|
|
975
|
+
default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
|
|
976
|
+
};
|
|
977
|
+
refs: {
|
|
978
|
+
$root: unknown;
|
|
979
|
+
};
|
|
980
|
+
rootEl: any;
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
declare function __VLS_template_14(): {
|
|
984
|
+
attrs: Partial<{}>;
|
|
985
|
+
slots: {
|
|
986
|
+
default?(_: {}): any;
|
|
987
|
+
};
|
|
988
|
+
refs: {};
|
|
989
|
+
rootEl: any;
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
declare function __VLS_template_15(): {
|
|
993
|
+
attrs: Partial<{}>;
|
|
994
|
+
slots: {
|
|
995
|
+
default?(_: {}): any;
|
|
996
|
+
};
|
|
997
|
+
refs: {};
|
|
998
|
+
rootEl: any;
|
|
999
|
+
};
|
|
1000
|
+
|
|
1001
|
+
declare function __VLS_template_16(): {
|
|
1002
|
+
attrs: Partial<{}>;
|
|
1003
|
+
slots: {
|
|
1004
|
+
default?(_: {}): any;
|
|
1005
|
+
};
|
|
1006
|
+
refs: {};
|
|
1007
|
+
rootEl: HTMLDivElement;
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
declare function __VLS_template_17(): {
|
|
1011
|
+
attrs: Partial<{}>;
|
|
1012
|
+
slots: {
|
|
1013
|
+
default?(_: {}): any;
|
|
1014
|
+
};
|
|
1015
|
+
refs: {};
|
|
1016
|
+
rootEl: any;
|
|
1017
|
+
};
|
|
1018
|
+
|
|
1019
|
+
declare function __VLS_template_18(): {
|
|
1020
|
+
attrs: Partial<{}>;
|
|
1021
|
+
slots: {
|
|
1022
|
+
default?(_: {}): any;
|
|
1023
|
+
};
|
|
1024
|
+
refs: {};
|
|
1025
|
+
rootEl: any;
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
declare function __VLS_template_19(): {
|
|
1029
|
+
attrs: Partial<{}>;
|
|
1030
|
+
slots: {
|
|
1031
|
+
default?(_: {
|
|
1032
|
+
key: number;
|
|
1033
|
+
}): any;
|
|
1034
|
+
};
|
|
1035
|
+
refs: {};
|
|
1036
|
+
rootEl: HTMLDivElement;
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
declare function __VLS_template_2(): {
|
|
1040
|
+
attrs: Partial<{}>;
|
|
1041
|
+
slots: {
|
|
1042
|
+
default?(_: {}): any;
|
|
1043
|
+
};
|
|
1044
|
+
refs: {};
|
|
1045
|
+
rootEl: any;
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
declare function __VLS_template_20(): {
|
|
1049
|
+
attrs: Partial<{}>;
|
|
1050
|
+
slots: {
|
|
1051
|
+
default?(_: {
|
|
1052
|
+
close: (result?: unknown) => Promise<void>;
|
|
1053
|
+
}): any;
|
|
1054
|
+
};
|
|
1055
|
+
refs: {
|
|
1056
|
+
$modal: ({
|
|
1057
|
+
$: ComponentInternalInstance;
|
|
1058
|
+
$data: {};
|
|
1059
|
+
$props: Partial<{
|
|
1060
|
+
title: string | null;
|
|
1061
|
+
inline: boolean;
|
|
1062
|
+
cancellable: boolean;
|
|
1063
|
+
}> & Omit<{
|
|
1064
|
+
readonly title: string | null;
|
|
1065
|
+
readonly inline: boolean;
|
|
1066
|
+
readonly cancellable: boolean;
|
|
1067
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "title" | "inline" | "cancellable">;
|
|
1068
|
+
$attrs: {
|
|
1069
|
+
[x: string]: unknown;
|
|
1070
|
+
};
|
|
1071
|
+
$refs: {
|
|
1072
|
+
[x: string]: unknown;
|
|
1073
|
+
} & {
|
|
1074
|
+
$root: unknown;
|
|
1075
|
+
};
|
|
1076
|
+
$slots: Readonly<{
|
|
1077
|
+
[name: string]: Slot<any> | undefined;
|
|
1078
|
+
}>;
|
|
1079
|
+
$root: ComponentPublicInstance | null;
|
|
1080
|
+
$parent: ComponentPublicInstance | null;
|
|
1081
|
+
$host: Element | null;
|
|
1082
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1083
|
+
$el: any;
|
|
1084
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
1085
|
+
cancellable: {
|
|
1086
|
+
type?: PropType<boolean> | undefined;
|
|
1087
|
+
validator?(value: unknown): boolean;
|
|
1088
|
+
} & {
|
|
1089
|
+
default: boolean | (() => boolean) | null;
|
|
1090
|
+
};
|
|
1091
|
+
inline: {
|
|
1092
|
+
type?: PropType<boolean> | undefined;
|
|
1093
|
+
validator?(value: unknown): boolean;
|
|
1094
|
+
} & {
|
|
1095
|
+
default: boolean | (() => boolean) | null;
|
|
1096
|
+
};
|
|
1097
|
+
title: {
|
|
1098
|
+
type?: PropType<string | null> | undefined;
|
|
1099
|
+
validator?(value: unknown): boolean;
|
|
1100
|
+
} & {
|
|
1101
|
+
default: string | (() => string | null) | null;
|
|
1102
|
+
};
|
|
1103
|
+
}>> & Readonly<{}>, {
|
|
1104
|
+
inline: Ref<boolean>;
|
|
1105
|
+
cancellable: Ref<boolean>;
|
|
1106
|
+
close(result?: unknown): Promise<void>;
|
|
1107
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
1108
|
+
title: string | null;
|
|
1109
|
+
inline: boolean;
|
|
1110
|
+
cancellable: boolean;
|
|
1111
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1112
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1113
|
+
created?: (() => void) | (() => void)[];
|
|
1114
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1115
|
+
mounted?: (() => void) | (() => void)[];
|
|
1116
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1117
|
+
updated?: (() => void) | (() => void)[];
|
|
1118
|
+
activated?: (() => void) | (() => void)[];
|
|
1119
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1120
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1121
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1122
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1123
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1124
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1125
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1126
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1127
|
+
};
|
|
1128
|
+
$forceUpdate: () => void;
|
|
1129
|
+
$nextTick: nextTick;
|
|
1130
|
+
$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;
|
|
1131
|
+
} & Readonly<{
|
|
1132
|
+
title: string | null;
|
|
1133
|
+
inline: boolean;
|
|
1134
|
+
cancellable: boolean;
|
|
1135
|
+
}> & Omit<Readonly<ExtractPropTypes< {
|
|
1136
|
+
cancellable: {
|
|
1137
|
+
type?: PropType<boolean> | undefined;
|
|
1138
|
+
validator?(value: unknown): boolean;
|
|
1139
|
+
} & {
|
|
1140
|
+
default: boolean | (() => boolean) | null;
|
|
1141
|
+
};
|
|
1142
|
+
inline: {
|
|
1143
|
+
type?: PropType<boolean> | undefined;
|
|
1144
|
+
validator?(value: unknown): boolean;
|
|
1145
|
+
} & {
|
|
1146
|
+
default: boolean | (() => boolean) | null;
|
|
1147
|
+
};
|
|
1148
|
+
title: {
|
|
1149
|
+
type?: PropType<string | null> | undefined;
|
|
1150
|
+
validator?(value: unknown): boolean;
|
|
1151
|
+
} & {
|
|
1152
|
+
default: string | (() => string | null) | null;
|
|
1153
|
+
};
|
|
1154
|
+
}>> & Readonly<{}>, "close" | ("title" | "inline" | "cancellable")> & ShallowUnwrapRef< {
|
|
1155
|
+
inline: Ref<boolean>;
|
|
1156
|
+
cancellable: Ref<boolean>;
|
|
1157
|
+
close(result?: unknown): Promise<void>;
|
|
1158
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1159
|
+
$slots: Readonly<{
|
|
1160
|
+
default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
|
|
1161
|
+
}> & {
|
|
1162
|
+
default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
|
|
1163
|
+
};
|
|
1164
|
+
}) | null;
|
|
1165
|
+
};
|
|
1166
|
+
rootEl: any;
|
|
1167
|
+
};
|
|
1168
|
+
|
|
1169
|
+
declare function __VLS_template_21(): {
|
|
1170
|
+
attrs: Partial<{}>;
|
|
1171
|
+
slots: {
|
|
1172
|
+
default?(_: {}): any;
|
|
1173
|
+
};
|
|
1174
|
+
refs: {};
|
|
1175
|
+
rootEl: any;
|
|
1176
|
+
};
|
|
1177
|
+
|
|
1178
|
+
declare function __VLS_template_3(): {
|
|
1179
|
+
attrs: Partial<{}>;
|
|
1180
|
+
slots: {
|
|
1181
|
+
default?(_: {}): any;
|
|
1182
|
+
};
|
|
1183
|
+
refs: {
|
|
1184
|
+
$input: ({
|
|
1185
|
+
$: ComponentInternalInstance;
|
|
1186
|
+
$data: {};
|
|
1187
|
+
$props: Partial<{
|
|
1188
|
+
description: string | null;
|
|
1189
|
+
name: string | null;
|
|
1190
|
+
label: string | null;
|
|
1191
|
+
as: string;
|
|
1192
|
+
modelValue: FormFieldValue | null;
|
|
1193
|
+
}> & Omit<{
|
|
1194
|
+
readonly description: string | null;
|
|
1195
|
+
readonly name: string | null;
|
|
1196
|
+
readonly label: string | null;
|
|
1197
|
+
readonly as: string;
|
|
1198
|
+
readonly modelValue: FormFieldValue | null;
|
|
1199
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1200
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "description" | "name" | "label" | "as" | "modelValue">;
|
|
1201
|
+
$attrs: {
|
|
1202
|
+
[x: string]: unknown;
|
|
1203
|
+
};
|
|
1204
|
+
$refs: {
|
|
1205
|
+
[x: string]: unknown;
|
|
1206
|
+
};
|
|
1207
|
+
$slots: Readonly<{
|
|
1208
|
+
[name: string]: Slot<any> | undefined;
|
|
1209
|
+
}>;
|
|
1210
|
+
$root: ComponentPublicInstance | null;
|
|
1211
|
+
$parent: ComponentPublicInstance | null;
|
|
1212
|
+
$host: Element | null;
|
|
1213
|
+
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1214
|
+
$el: any;
|
|
1215
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
1216
|
+
name: {
|
|
1217
|
+
type?: PropType<string | null> | undefined;
|
|
1218
|
+
validator?(value: unknown): boolean;
|
|
1219
|
+
} & {
|
|
1220
|
+
default: string | (() => string | null) | null;
|
|
1221
|
+
};
|
|
1222
|
+
label: {
|
|
1223
|
+
type?: PropType<string | null> | undefined;
|
|
1224
|
+
validator?(value: unknown): boolean;
|
|
1225
|
+
} & {
|
|
1226
|
+
default: string | (() => string | null) | null;
|
|
1227
|
+
};
|
|
1228
|
+
description: {
|
|
1229
|
+
type?: PropType<string | null> | undefined;
|
|
1230
|
+
validator?(value: unknown): boolean;
|
|
1231
|
+
} & {
|
|
1232
|
+
default: string | (() => string | null) | null;
|
|
1233
|
+
};
|
|
1234
|
+
modelValue: {
|
|
1235
|
+
type?: PropType<FormFieldValue | null> | undefined;
|
|
1236
|
+
validator?(value: unknown): boolean;
|
|
1237
|
+
} & {
|
|
1238
|
+
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
1239
|
+
};
|
|
1240
|
+
as: {
|
|
1241
|
+
type?: PropType<string> | undefined;
|
|
1242
|
+
validator?(value: unknown): boolean;
|
|
1243
|
+
} & {
|
|
1244
|
+
default: string | (() => string) | null;
|
|
1245
|
+
};
|
|
1246
|
+
}>> & Readonly<{
|
|
1247
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1248
|
+
}>, {
|
|
1249
|
+
id: string;
|
|
1250
|
+
name: ComputedRef<string | null>;
|
|
1251
|
+
label: ComputedRef<string | null>;
|
|
1252
|
+
description: ComputedRef<string | boolean | null>;
|
|
1253
|
+
value: ComputedRef<FormFieldValue | null>;
|
|
1254
|
+
required: ComputedRef<boolean | null>;
|
|
1255
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
1256
|
+
update(value: FormFieldValue | null): void;
|
|
1257
|
+
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
1258
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1259
|
+
"update:modelValue": (...args: any[]) => void;
|
|
1260
|
+
}, string, {
|
|
1261
|
+
description: string | null;
|
|
1262
|
+
name: string | null;
|
|
1263
|
+
label: string | null;
|
|
1264
|
+
as: string;
|
|
1265
|
+
modelValue: FormFieldValue | null;
|
|
1266
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1267
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1268
|
+
created?: (() => void) | (() => void)[];
|
|
1269
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1270
|
+
mounted?: (() => void) | (() => void)[];
|
|
1271
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1272
|
+
updated?: (() => void) | (() => void)[];
|
|
1273
|
+
activated?: (() => void) | (() => void)[];
|
|
1274
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1275
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1276
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1277
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1278
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1279
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1280
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1281
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1282
|
+
};
|
|
1283
|
+
$forceUpdate: () => void;
|
|
1284
|
+
$nextTick: nextTick;
|
|
1285
|
+
$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;
|
|
1286
|
+
} & Readonly<{
|
|
1287
|
+
description: string | null;
|
|
1288
|
+
name: string | null;
|
|
1289
|
+
label: string | null;
|
|
1290
|
+
as: string;
|
|
1291
|
+
modelValue: FormFieldValue | null;
|
|
1292
|
+
}> & Omit<Readonly<ExtractPropTypes< {
|
|
1293
|
+
name: {
|
|
1294
|
+
type?: PropType<string | null> | undefined;
|
|
1295
|
+
validator?(value: unknown): boolean;
|
|
1296
|
+
} & {
|
|
1297
|
+
default: string | (() => string | null) | null;
|
|
1298
|
+
};
|
|
1299
|
+
label: {
|
|
1300
|
+
type?: PropType<string | null> | undefined;
|
|
1301
|
+
validator?(value: unknown): boolean;
|
|
1302
|
+
} & {
|
|
1303
|
+
default: string | (() => string | null) | null;
|
|
1304
|
+
};
|
|
1305
|
+
description: {
|
|
1306
|
+
type?: PropType<string | null> | undefined;
|
|
1307
|
+
validator?(value: unknown): boolean;
|
|
1308
|
+
} & {
|
|
1309
|
+
default: string | (() => string | null) | null;
|
|
1310
|
+
};
|
|
1311
|
+
modelValue: {
|
|
1312
|
+
type?: PropType<FormFieldValue | null> | undefined;
|
|
1313
|
+
validator?(value: unknown): boolean;
|
|
1314
|
+
} & {
|
|
1315
|
+
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
1316
|
+
};
|
|
1317
|
+
as: {
|
|
1318
|
+
type?: PropType<string> | undefined;
|
|
1319
|
+
validator?(value: unknown): boolean;
|
|
1320
|
+
} & {
|
|
1321
|
+
default: string | (() => string) | null;
|
|
1322
|
+
};
|
|
1323
|
+
}>> & Readonly<{
|
|
1324
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1325
|
+
}>, "id" | "value" | "required" | "errors" | "$el" | "update" | ("description" | "name" | "label" | "as" | "modelValue")> & ShallowUnwrapRef< {
|
|
1326
|
+
id: string;
|
|
1327
|
+
name: ComputedRef<string | null>;
|
|
1328
|
+
label: ComputedRef<string | null>;
|
|
1329
|
+
description: ComputedRef<string | boolean | null>;
|
|
1330
|
+
value: ComputedRef<FormFieldValue | null>;
|
|
1331
|
+
required: ComputedRef<boolean | null>;
|
|
1332
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
1333
|
+
update(value: FormFieldValue | null): void;
|
|
1334
|
+
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
1335
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1336
|
+
$slots: {
|
|
1337
|
+
default?(_: {}): any;
|
|
1338
|
+
default?(_: {}): any;
|
|
1339
|
+
};
|
|
1340
|
+
}) | null;
|
|
1341
|
+
};
|
|
1342
|
+
rootEl: any;
|
|
1343
|
+
};
|
|
1344
|
+
|
|
1345
|
+
declare function __VLS_template_4(): {
|
|
1346
|
+
attrs: Partial<{}>;
|
|
1347
|
+
slots: {
|
|
1348
|
+
default?(_: {}): any;
|
|
1349
|
+
};
|
|
1350
|
+
refs: {};
|
|
1351
|
+
rootEl: HTMLFormElement;
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
declare function __VLS_template_5(): {
|
|
1355
|
+
attrs: Partial<{}>;
|
|
1356
|
+
slots: {
|
|
1357
|
+
default?(_: {}): any;
|
|
1358
|
+
};
|
|
1359
|
+
refs: {
|
|
1360
|
+
$root: unknown;
|
|
1361
|
+
};
|
|
1362
|
+
rootEl: any;
|
|
1363
|
+
};
|
|
1364
|
+
|
|
1365
|
+
declare function __VLS_template_6(): {
|
|
1366
|
+
attrs: Partial<{}>;
|
|
1367
|
+
slots: {
|
|
1368
|
+
default?(_: {}): any;
|
|
1369
|
+
default?(_: {}): any;
|
|
1370
|
+
};
|
|
1371
|
+
refs: {};
|
|
1372
|
+
rootEl: any;
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1375
|
+
declare function __VLS_template_7(): {
|
|
1376
|
+
attrs: Partial<{}>;
|
|
1377
|
+
slots: {
|
|
1378
|
+
default?(_: {
|
|
1379
|
+
id: string;
|
|
1380
|
+
}): any;
|
|
1381
|
+
};
|
|
1382
|
+
refs: {};
|
|
1383
|
+
rootEl: any;
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
declare function __VLS_template_8(): {
|
|
1387
|
+
attrs: Partial<{}>;
|
|
1388
|
+
slots: {
|
|
1389
|
+
default?(_: {}): any;
|
|
1390
|
+
};
|
|
1391
|
+
refs: {};
|
|
1392
|
+
rootEl: any;
|
|
1393
|
+
};
|
|
1394
|
+
|
|
1395
|
+
declare function __VLS_template_9(): {
|
|
1396
|
+
attrs: Partial<{}>;
|
|
1397
|
+
slots: {
|
|
1398
|
+
default?(_: {
|
|
1399
|
+
value: unknown;
|
|
1400
|
+
open: unknown;
|
|
1401
|
+
disabled: unknown;
|
|
1402
|
+
}): any;
|
|
1403
|
+
};
|
|
1404
|
+
refs: {};
|
|
1405
|
+
rootEl: any;
|
|
1406
|
+
};
|
|
1407
|
+
|
|
1408
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
1409
|
+
|
|
1410
|
+
declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
1411
|
+
|
|
1412
|
+
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
1413
|
+
|
|
1414
|
+
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
1415
|
+
|
|
1416
|
+
declare type __VLS_TemplateResult_13 = ReturnType<typeof __VLS_template_13>;
|
|
1417
|
+
|
|
1418
|
+
declare type __VLS_TemplateResult_14 = ReturnType<typeof __VLS_template_14>;
|
|
1419
|
+
|
|
1420
|
+
declare type __VLS_TemplateResult_15 = ReturnType<typeof __VLS_template_15>;
|
|
1421
|
+
|
|
1422
|
+
declare type __VLS_TemplateResult_16 = ReturnType<typeof __VLS_template_16>;
|
|
1423
|
+
|
|
1424
|
+
declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
|
|
1425
|
+
|
|
1426
|
+
declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
|
|
1427
|
+
|
|
1428
|
+
declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
|
|
1429
|
+
|
|
1430
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1431
|
+
|
|
1432
|
+
declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
|
|
1433
|
+
|
|
1434
|
+
declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
|
|
1435
|
+
|
|
1436
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
1437
|
+
|
|
1438
|
+
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1439
|
+
|
|
1440
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
1441
|
+
|
|
1442
|
+
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
1443
|
+
|
|
1444
|
+
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
1445
|
+
|
|
1446
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
1447
|
+
|
|
1448
|
+
declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
|
|
1449
|
+
|
|
1450
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
1451
|
+
new (): {
|
|
1452
|
+
$slots: S;
|
|
1453
|
+
};
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
1457
|
+
new (): {
|
|
1458
|
+
$slots: S;
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1461
|
+
|
|
1462
|
+
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
1463
|
+
new (): {
|
|
1464
|
+
$slots: S;
|
|
1465
|
+
};
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
1469
|
+
new (): {
|
|
1470
|
+
$slots: S;
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1473
|
+
|
|
1474
|
+
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
1475
|
+
new (): {
|
|
1476
|
+
$slots: S;
|
|
1477
|
+
};
|
|
1478
|
+
};
|
|
1479
|
+
|
|
1480
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
1481
|
+
new (): {
|
|
1482
|
+
$slots: S;
|
|
1483
|
+
};
|
|
1484
|
+
};
|
|
1485
|
+
|
|
1486
|
+
declare type __VLS_WithTemplateSlots_15<T, S> = T & {
|
|
1487
|
+
new (): {
|
|
1488
|
+
$slots: S;
|
|
1489
|
+
};
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
declare type __VLS_WithTemplateSlots_16<T, S> = T & {
|
|
1493
|
+
new (): {
|
|
1494
|
+
$slots: S;
|
|
1495
|
+
};
|
|
1496
|
+
};
|
|
1497
|
+
|
|
1498
|
+
declare type __VLS_WithTemplateSlots_17<T, S> = T & {
|
|
1499
|
+
new (): {
|
|
1500
|
+
$slots: S;
|
|
1501
|
+
};
|
|
1502
|
+
};
|
|
1503
|
+
|
|
1504
|
+
declare type __VLS_WithTemplateSlots_18<T, S> = T & {
|
|
1505
|
+
new (): {
|
|
1506
|
+
$slots: S;
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
|
|
1510
|
+
declare type __VLS_WithTemplateSlots_19<T, S> = T & {
|
|
1511
|
+
new (): {
|
|
1512
|
+
$slots: S;
|
|
1513
|
+
};
|
|
1514
|
+
};
|
|
1515
|
+
|
|
1516
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1517
|
+
new (): {
|
|
1518
|
+
$slots: S;
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
declare type __VLS_WithTemplateSlots_20<T, S> = T & {
|
|
1523
|
+
new (): {
|
|
1524
|
+
$slots: S;
|
|
1525
|
+
};
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
declare type __VLS_WithTemplateSlots_21<T, S> = T & {
|
|
1529
|
+
new (): {
|
|
1530
|
+
$slots: S;
|
|
1531
|
+
};
|
|
1532
|
+
};
|
|
1533
|
+
|
|
1534
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
1535
|
+
new (): {
|
|
1536
|
+
$slots: S;
|
|
1537
|
+
};
|
|
1538
|
+
};
|
|
1539
|
+
|
|
1540
|
+
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1541
|
+
new (): {
|
|
1542
|
+
$slots: S;
|
|
1543
|
+
};
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
1547
|
+
new (): {
|
|
1548
|
+
$slots: S;
|
|
1549
|
+
};
|
|
1550
|
+
};
|
|
1551
|
+
|
|
1552
|
+
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
1553
|
+
new (): {
|
|
1554
|
+
$slots: S;
|
|
1555
|
+
};
|
|
1556
|
+
};
|
|
1557
|
+
|
|
1558
|
+
declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
1559
|
+
new (): {
|
|
1560
|
+
$slots: S;
|
|
1561
|
+
};
|
|
1562
|
+
};
|
|
1563
|
+
|
|
1564
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
1565
|
+
new (): {
|
|
1566
|
+
$slots: S;
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1570
|
+
declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
1571
|
+
new (): {
|
|
1572
|
+
$slots: S;
|
|
1573
|
+
};
|
|
1574
|
+
};
|
|
1575
|
+
|
|
1576
|
+
export declare type AcceptRefs<T> = {
|
|
1577
|
+
[K in keyof T]: T[K] | RefUnion<T[K]>;
|
|
1578
|
+
};
|
|
1579
|
+
|
|
1580
|
+
export declare type AerogelGlobalEvents = Partial<{
|
|
1581
|
+
[Event in EventWithoutPayload]: () => unknown;
|
|
1582
|
+
}> & Partial<{
|
|
1583
|
+
[Event in EventWithPayload]: EventListener_2<EventsPayload[Event]>;
|
|
1584
|
+
}>;
|
|
1585
|
+
|
|
1586
|
+
export declare interface AerogelOptions {
|
|
1587
|
+
plugins?: Plugin_2[];
|
|
1588
|
+
install?(app: App_2): void | Promise<void>;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1591
|
+
export declare interface AerogelTestingRuntime {
|
|
1592
|
+
on: (typeof Events)['on'];
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
export declare const AGAlertModal: DefineComponent<ExtractPropTypes< {
|
|
1596
|
+
title: {
|
|
1597
|
+
type?: PropType<string | null> | undefined;
|
|
1598
|
+
validator?(value: unknown): boolean;
|
|
1599
|
+
} & {
|
|
1600
|
+
default: string | (() => string | null) | null;
|
|
1601
|
+
};
|
|
1602
|
+
message: {
|
|
1603
|
+
type?: PropType<string> | undefined;
|
|
1604
|
+
validator?(value: unknown): boolean;
|
|
1605
|
+
} & {
|
|
1606
|
+
required: true;
|
|
1607
|
+
};
|
|
1608
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1609
|
+
title: {
|
|
1610
|
+
type?: PropType<string | null> | undefined;
|
|
1611
|
+
validator?(value: unknown): boolean;
|
|
1612
|
+
} & {
|
|
1613
|
+
default: string | (() => string | null) | null;
|
|
1614
|
+
};
|
|
1615
|
+
message: {
|
|
1616
|
+
type?: PropType<string> | undefined;
|
|
1617
|
+
validator?(value: unknown): boolean;
|
|
1618
|
+
} & {
|
|
1619
|
+
required: true;
|
|
1620
|
+
};
|
|
1621
|
+
}>> & Readonly<{}>, {
|
|
1622
|
+
title: string | null;
|
|
1623
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1624
|
+
|
|
1625
|
+
export declare type AGAlertModalProps = Pretty<AcceptRefs<ObjectWithout<ExtractPropTypes<typeof alertModalProps>, null | undefined>>>;
|
|
1626
|
+
|
|
1627
|
+
export declare const AGAppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1628
|
+
|
|
1629
|
+
export declare const AGAppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1630
|
+
$backdrop: HTMLDivElement;
|
|
1631
|
+
}, any>;
|
|
1632
|
+
|
|
1633
|
+
export declare const AGButton: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1634
|
+
|
|
1635
|
+
export declare const AGCheckbox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1636
|
+
|
|
1637
|
+
export declare const AGConfirmModal: DefineComponent<ExtractPropTypes< {
|
|
1638
|
+
title: {
|
|
1639
|
+
type?: PropType<string | null> | undefined;
|
|
1640
|
+
validator?(value: unknown): boolean;
|
|
1641
|
+
} & {
|
|
1642
|
+
default: string | (() => string | null) | null;
|
|
1643
|
+
};
|
|
1644
|
+
message: {
|
|
1645
|
+
type?: PropType<string> | undefined;
|
|
1646
|
+
validator?(value: unknown): boolean;
|
|
1647
|
+
} & {
|
|
1648
|
+
required: true;
|
|
1649
|
+
};
|
|
1650
|
+
acceptText: {
|
|
1651
|
+
type?: PropType<string | null> | undefined;
|
|
1652
|
+
validator?(value: unknown): boolean;
|
|
1653
|
+
} & {
|
|
1654
|
+
default: string | (() => string | null) | null;
|
|
1655
|
+
};
|
|
1656
|
+
acceptColor: {
|
|
1657
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1658
|
+
validator?(value: unknown): boolean;
|
|
1659
|
+
} & {
|
|
1660
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1661
|
+
};
|
|
1662
|
+
cancelText: {
|
|
1663
|
+
type?: PropType<string | null> | undefined;
|
|
1664
|
+
validator?(value: unknown): boolean;
|
|
1665
|
+
} & {
|
|
1666
|
+
default: string | (() => string | null) | null;
|
|
1667
|
+
};
|
|
1668
|
+
cancelColor: {
|
|
1669
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1670
|
+
validator?(value: unknown): boolean;
|
|
1671
|
+
} & {
|
|
1672
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1673
|
+
};
|
|
1674
|
+
checkboxes: {
|
|
1675
|
+
type?: PropType<ConfirmCheckboxes | null> | undefined;
|
|
1676
|
+
validator?(value: unknown): boolean;
|
|
1677
|
+
} & {
|
|
1678
|
+
default: ConfirmCheckboxes | (() => ConfirmCheckboxes | null) | null;
|
|
1679
|
+
};
|
|
1680
|
+
actions: {
|
|
1681
|
+
type?: PropType<Record<string, () => unknown> | null> | undefined;
|
|
1682
|
+
validator?(value: unknown): boolean;
|
|
1683
|
+
} & {
|
|
1684
|
+
default: Record<string, () => unknown> | (() => Record<string, () => unknown> | null) | null;
|
|
1685
|
+
};
|
|
1686
|
+
required: {
|
|
1687
|
+
type?: PropType<boolean> | undefined;
|
|
1688
|
+
validator?(value: unknown): boolean;
|
|
1689
|
+
} & {
|
|
1690
|
+
default: boolean | (() => boolean) | null;
|
|
1691
|
+
};
|
|
1692
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1693
|
+
title: {
|
|
1694
|
+
type?: PropType<string | null> | undefined;
|
|
1695
|
+
validator?(value: unknown): boolean;
|
|
1696
|
+
} & {
|
|
1697
|
+
default: string | (() => string | null) | null;
|
|
1698
|
+
};
|
|
1699
|
+
message: {
|
|
1700
|
+
type?: PropType<string> | undefined;
|
|
1701
|
+
validator?(value: unknown): boolean;
|
|
1702
|
+
} & {
|
|
1703
|
+
required: true;
|
|
1704
|
+
};
|
|
1705
|
+
acceptText: {
|
|
1706
|
+
type?: PropType<string | null> | undefined;
|
|
1707
|
+
validator?(value: unknown): boolean;
|
|
1708
|
+
} & {
|
|
1709
|
+
default: string | (() => string | null) | null;
|
|
1710
|
+
};
|
|
1711
|
+
acceptColor: {
|
|
1712
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1713
|
+
validator?(value: unknown): boolean;
|
|
1714
|
+
} & {
|
|
1715
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1716
|
+
};
|
|
1717
|
+
cancelText: {
|
|
1718
|
+
type?: PropType<string | null> | undefined;
|
|
1719
|
+
validator?(value: unknown): boolean;
|
|
1720
|
+
} & {
|
|
1721
|
+
default: string | (() => string | null) | null;
|
|
1722
|
+
};
|
|
1723
|
+
cancelColor: {
|
|
1724
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1725
|
+
validator?(value: unknown): boolean;
|
|
1726
|
+
} & {
|
|
1727
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1728
|
+
};
|
|
1729
|
+
checkboxes: {
|
|
1730
|
+
type?: PropType<ConfirmCheckboxes | null> | undefined;
|
|
1731
|
+
validator?(value: unknown): boolean;
|
|
1732
|
+
} & {
|
|
1733
|
+
default: ConfirmCheckboxes | (() => ConfirmCheckboxes | null) | null;
|
|
1734
|
+
};
|
|
1735
|
+
actions: {
|
|
1736
|
+
type?: PropType<Record<string, () => unknown> | null> | undefined;
|
|
1737
|
+
validator?(value: unknown): boolean;
|
|
1738
|
+
} & {
|
|
1739
|
+
default: Record<string, () => unknown> | (() => Record<string, () => unknown> | null) | null;
|
|
1740
|
+
};
|
|
1741
|
+
required: {
|
|
1742
|
+
type?: PropType<boolean> | undefined;
|
|
1743
|
+
validator?(value: unknown): boolean;
|
|
1744
|
+
} & {
|
|
1745
|
+
default: boolean | (() => boolean) | null;
|
|
1746
|
+
};
|
|
1747
|
+
}>> & Readonly<{}>, {
|
|
1748
|
+
actions: Record<string, () => unknown> | null;
|
|
1749
|
+
required: boolean;
|
|
1750
|
+
title: string | null;
|
|
1751
|
+
acceptText: string | null;
|
|
1752
|
+
acceptColor: "clear" | "primary" | "secondary" | "danger";
|
|
1753
|
+
cancelText: string | null;
|
|
1754
|
+
cancelColor: "clear" | "primary" | "secondary" | "danger";
|
|
1755
|
+
checkboxes: ConfirmCheckboxes | null;
|
|
1756
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1757
|
+
|
|
1758
|
+
export declare type AGConfirmModalProps = Pretty<AcceptRefs<SubPartial<ObjectWithout<ExtractPropTypes<typeof confirmModalProps>, null | undefined>, 'acceptColor' | 'cancelColor'>>>;
|
|
1759
|
+
|
|
1760
|
+
export declare const AGErrorMessage: DefineComponent<ExtractPropTypes< {
|
|
1761
|
+
error: {
|
|
1762
|
+
type?: PropType<unknown> | undefined;
|
|
1763
|
+
validator?(value: unknown): boolean;
|
|
1764
|
+
} & {
|
|
1765
|
+
required: true;
|
|
1766
|
+
};
|
|
1767
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1768
|
+
error: {
|
|
1769
|
+
type?: PropType<unknown> | undefined;
|
|
1770
|
+
validator?(value: unknown): boolean;
|
|
1771
|
+
} & {
|
|
1772
|
+
required: true;
|
|
1773
|
+
};
|
|
1774
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1775
|
+
|
|
1776
|
+
export declare const AGErrorReportModalButtons: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1777
|
+
|
|
1778
|
+
export declare type AGErrorReportModalProps = Pretty<AcceptRefs<ObjectWithout<ExtractPropTypes<typeof errorReportModalProps>, null | undefined>>>;
|
|
1779
|
+
|
|
1780
|
+
export declare const AGErrorReportModalTitle: DefineComponent<ExtractPropTypes< {
|
|
1781
|
+
report: {
|
|
1782
|
+
type?: PropType<ErrorReport> | undefined;
|
|
1783
|
+
validator?(value: unknown): boolean;
|
|
1784
|
+
} & {
|
|
1785
|
+
required: true;
|
|
1786
|
+
};
|
|
1787
|
+
currentReport: {
|
|
1788
|
+
type?: PropType<number | null> | undefined;
|
|
540
1789
|
validator?(value: unknown): boolean;
|
|
541
1790
|
} & {
|
|
542
|
-
default:
|
|
1791
|
+
default: number | (() => number | null) | null;
|
|
543
1792
|
};
|
|
544
|
-
|
|
545
|
-
type?: PropType<
|
|
1793
|
+
totalReports: {
|
|
1794
|
+
type?: PropType<number | null> | undefined;
|
|
546
1795
|
validator?(value: unknown): boolean;
|
|
547
1796
|
} & {
|
|
548
|
-
default:
|
|
1797
|
+
default: number | (() => number | null) | null;
|
|
549
1798
|
};
|
|
550
|
-
},
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
cancellable: {
|
|
554
|
-
type?: PropType<boolean> | undefined;
|
|
1799
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1800
|
+
report: {
|
|
1801
|
+
type?: PropType<ErrorReport> | undefined;
|
|
555
1802
|
validator?(value: unknown): boolean;
|
|
556
1803
|
} & {
|
|
557
|
-
|
|
1804
|
+
required: true;
|
|
558
1805
|
};
|
|
559
|
-
|
|
560
|
-
type?: PropType<
|
|
1806
|
+
currentReport: {
|
|
1807
|
+
type?: PropType<number | null> | undefined;
|
|
561
1808
|
validator?(value: unknown): boolean;
|
|
562
1809
|
} & {
|
|
563
|
-
default:
|
|
1810
|
+
default: number | (() => number | null) | null;
|
|
564
1811
|
};
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
}
|
|
1812
|
+
totalReports: {
|
|
1813
|
+
type?: PropType<number | null> | undefined;
|
|
1814
|
+
validator?(value: unknown): boolean;
|
|
1815
|
+
} & {
|
|
1816
|
+
default: number | (() => number | null) | null;
|
|
1817
|
+
};
|
|
1818
|
+
}>> & Readonly<{}>, {
|
|
1819
|
+
currentReport: number | null;
|
|
1820
|
+
totalReports: number | null;
|
|
1821
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
569
1822
|
|
|
570
|
-
export declare const
|
|
571
|
-
[key: string]: any;
|
|
572
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
1823
|
+
export declare const AGForm: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
573
1824
|
|
|
574
|
-
export declare const
|
|
575
|
-
|
|
1825
|
+
export declare const AGHeadlessButton: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1826
|
+
|
|
1827
|
+
export declare const AGHeadlessInput: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
1828
|
+
|
|
1829
|
+
export declare const AGHeadlessInputDescription: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
1830
|
+
|
|
1831
|
+
export declare const AGHeadlessInputError: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1832
|
+
|
|
1833
|
+
export declare const AGHeadlessInputInput: DefineComponent<ExtractPropTypes< {
|
|
1834
|
+
type: {
|
|
576
1835
|
type?: PropType<string> | undefined;
|
|
577
1836
|
validator?(value: unknown): boolean;
|
|
578
1837
|
} & {
|
|
579
1838
|
default: string | (() => string) | null;
|
|
580
1839
|
};
|
|
581
|
-
},
|
|
582
|
-
|
|
583
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
584
|
-
as: {
|
|
1840
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1841
|
+
type: {
|
|
585
1842
|
type?: PropType<string> | undefined;
|
|
586
1843
|
validator?(value: unknown): boolean;
|
|
587
1844
|
} & {
|
|
588
1845
|
default: string | (() => string) | null;
|
|
589
1846
|
};
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
}, {}
|
|
1847
|
+
}>> & Readonly<{}>, {
|
|
1848
|
+
type: string;
|
|
1849
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1850
|
+
$input: HTMLInputElement;
|
|
1851
|
+
}, HTMLInputElement>;
|
|
1852
|
+
|
|
1853
|
+
export declare const AGHeadlessInputLabel: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
1854
|
+
|
|
1855
|
+
export declare const AGHeadlessInputTextArea: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1856
|
+
$textArea: HTMLTextAreaElement;
|
|
1857
|
+
}, HTMLTextAreaElement>;
|
|
1858
|
+
|
|
1859
|
+
export declare const AGHeadlessModal: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1860
|
+
|
|
1861
|
+
export declare const AGHeadlessModalPanel: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1862
|
+
|
|
1863
|
+
export declare const AGHeadlessModalTitle: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1864
|
+
|
|
1865
|
+
export declare const AGHeadlessSelect: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1866
|
+
|
|
1867
|
+
export declare const AGHeadlessSelectButton: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
593
1868
|
|
|
594
|
-
export declare const
|
|
1869
|
+
export declare const AGHeadlessSelectError: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1870
|
+
|
|
1871
|
+
export declare const AGHeadlessSelectLabel: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1872
|
+
|
|
1873
|
+
export declare const AGHeadlessSelectOption: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1874
|
+
|
|
1875
|
+
export { AGHeadlessSelectOptions }
|
|
1876
|
+
|
|
1877
|
+
export declare const AGHeadlessSnackbar: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1878
|
+
|
|
1879
|
+
export declare const AGInput: DefineComponent<ExtractPropTypes< {
|
|
595
1880
|
name: {
|
|
596
1881
|
type?: PropType<string | null> | undefined;
|
|
597
1882
|
validator?(value: unknown): boolean;
|
|
@@ -604,33 +1889,21 @@ validator?(value: unknown): boolean;
|
|
|
604
1889
|
} & {
|
|
605
1890
|
default: string | (() => string | null) | null;
|
|
606
1891
|
};
|
|
607
|
-
|
|
608
|
-
type?: PropType<FormFieldValue[]> | undefined;
|
|
609
|
-
validator?(value: unknown): boolean;
|
|
610
|
-
} & {
|
|
611
|
-
required: true;
|
|
612
|
-
};
|
|
613
|
-
noSelectionText: {
|
|
1892
|
+
description: {
|
|
614
1893
|
type?: PropType<string | null> | undefined;
|
|
615
1894
|
validator?(value: unknown): boolean;
|
|
616
1895
|
} & {
|
|
617
1896
|
default: string | (() => string | null) | null;
|
|
618
1897
|
};
|
|
619
|
-
optionsText: {
|
|
620
|
-
type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
|
|
621
|
-
validator?(value: unknown): boolean;
|
|
622
|
-
} & {
|
|
623
|
-
default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
|
|
624
|
-
};
|
|
625
1898
|
modelValue: {
|
|
626
1899
|
type?: PropType<FormFieldValue | null> | undefined;
|
|
627
1900
|
validator?(value: unknown): boolean;
|
|
628
1901
|
} & {
|
|
629
1902
|
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
630
1903
|
};
|
|
631
|
-
},
|
|
632
|
-
|
|
633
|
-
}
|
|
1904
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1905
|
+
"update:modelValue": (...args: any[]) => void;
|
|
1906
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
634
1907
|
name: {
|
|
635
1908
|
type?: PropType<string | null> | undefined;
|
|
636
1909
|
validator?(value: unknown): boolean;
|
|
@@ -643,146 +1916,135 @@ validator?(value: unknown): boolean;
|
|
|
643
1916
|
} & {
|
|
644
1917
|
default: string | (() => string | null) | null;
|
|
645
1918
|
};
|
|
646
|
-
|
|
647
|
-
type?: PropType<FormFieldValue[]> | undefined;
|
|
648
|
-
validator?(value: unknown): boolean;
|
|
649
|
-
} & {
|
|
650
|
-
required: true;
|
|
651
|
-
};
|
|
652
|
-
noSelectionText: {
|
|
1919
|
+
description: {
|
|
653
1920
|
type?: PropType<string | null> | undefined;
|
|
654
1921
|
validator?(value: unknown): boolean;
|
|
655
1922
|
} & {
|
|
656
1923
|
default: string | (() => string | null) | null;
|
|
657
1924
|
};
|
|
658
|
-
optionsText: {
|
|
659
|
-
type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
|
|
660
|
-
validator?(value: unknown): boolean;
|
|
661
|
-
} & {
|
|
662
|
-
default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
|
|
663
|
-
};
|
|
664
1925
|
modelValue: {
|
|
665
1926
|
type?: PropType<FormFieldValue | null> | undefined;
|
|
666
1927
|
validator?(value: unknown): boolean;
|
|
667
1928
|
} & {
|
|
668
1929
|
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
669
1930
|
};
|
|
670
|
-
}>> & {
|
|
1931
|
+
}>> & Readonly<{
|
|
671
1932
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
672
|
-
}
|
|
1933
|
+
}>, {
|
|
1934
|
+
description: string | null;
|
|
1935
|
+
name: string | null;
|
|
1936
|
+
label: string | null;
|
|
673
1937
|
modelValue: FormFieldValue | null;
|
|
1938
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1939
|
+
$input: ({
|
|
1940
|
+
$: ComponentInternalInstance;
|
|
1941
|
+
$data: {};
|
|
1942
|
+
$props: Partial<{
|
|
1943
|
+
description: string | null;
|
|
674
1944
|
name: string | null;
|
|
675
1945
|
label: string | null;
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
703
|
-
|
|
704
|
-
export declare const AGHeadlessSelectLabel: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
|
|
705
|
-
[key: string]: any;
|
|
706
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
707
|
-
|
|
708
|
-
export declare const AGHeadlessSelectOption: DefineComponent< {
|
|
709
|
-
value: {
|
|
710
|
-
type?: PropType<FormFieldValue> | undefined;
|
|
711
|
-
validator?(value: unknown): boolean;
|
|
712
|
-
} & {
|
|
713
|
-
required: true;
|
|
714
|
-
};
|
|
715
|
-
selectedClass: {
|
|
716
|
-
type?: PropType<string | null> | undefined;
|
|
717
|
-
validator?(value: unknown): boolean;
|
|
718
|
-
} & {
|
|
719
|
-
default: string | (() => string | null) | null;
|
|
720
|
-
};
|
|
721
|
-
unselectedClass: {
|
|
722
|
-
type?: PropType<string | null> | undefined;
|
|
723
|
-
validator?(value: unknown): boolean;
|
|
724
|
-
} & {
|
|
725
|
-
default: string | (() => string | null) | null;
|
|
726
|
-
};
|
|
727
|
-
activeClass: {
|
|
728
|
-
type?: PropType<string | null> | undefined;
|
|
729
|
-
validator?(value: unknown): boolean;
|
|
730
|
-
} & {
|
|
731
|
-
default: string | (() => string | null) | null;
|
|
732
|
-
};
|
|
733
|
-
inactiveClass: {
|
|
1946
|
+
as: string;
|
|
1947
|
+
modelValue: FormFieldValue | null;
|
|
1948
|
+
}> & Omit<{
|
|
1949
|
+
readonly description: string | null;
|
|
1950
|
+
readonly name: string | null;
|
|
1951
|
+
readonly label: string | null;
|
|
1952
|
+
readonly as: string;
|
|
1953
|
+
readonly modelValue: FormFieldValue | null;
|
|
1954
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1955
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "description" | "name" | "label" | "as" | "modelValue">;
|
|
1956
|
+
$attrs: {
|
|
1957
|
+
[x: string]: unknown;
|
|
1958
|
+
};
|
|
1959
|
+
$refs: {
|
|
1960
|
+
[x: string]: unknown;
|
|
1961
|
+
};
|
|
1962
|
+
$slots: Readonly<{
|
|
1963
|
+
[name: string]: Slot<any> | undefined;
|
|
1964
|
+
}>;
|
|
1965
|
+
$root: ComponentPublicInstance | null;
|
|
1966
|
+
$parent: ComponentPublicInstance | null;
|
|
1967
|
+
$host: Element | null;
|
|
1968
|
+
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1969
|
+
$el: any;
|
|
1970
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
1971
|
+
name: {
|
|
734
1972
|
type?: PropType<string | null> | undefined;
|
|
735
1973
|
validator?(value: unknown): boolean;
|
|
736
1974
|
} & {
|
|
737
1975
|
default: string | (() => string | null) | null;
|
|
738
1976
|
};
|
|
739
|
-
|
|
740
|
-
[key: string]: any;
|
|
741
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
742
|
-
value: {
|
|
743
|
-
type?: PropType<FormFieldValue> | undefined;
|
|
744
|
-
validator?(value: unknown): boolean;
|
|
745
|
-
} & {
|
|
746
|
-
required: true;
|
|
747
|
-
};
|
|
748
|
-
selectedClass: {
|
|
1977
|
+
label: {
|
|
749
1978
|
type?: PropType<string | null> | undefined;
|
|
750
1979
|
validator?(value: unknown): boolean;
|
|
751
1980
|
} & {
|
|
752
1981
|
default: string | (() => string | null) | null;
|
|
753
1982
|
};
|
|
754
|
-
|
|
1983
|
+
description: {
|
|
755
1984
|
type?: PropType<string | null> | undefined;
|
|
756
1985
|
validator?(value: unknown): boolean;
|
|
757
1986
|
} & {
|
|
758
1987
|
default: string | (() => string | null) | null;
|
|
759
1988
|
};
|
|
760
|
-
|
|
761
|
-
type?: PropType<
|
|
1989
|
+
modelValue: {
|
|
1990
|
+
type?: PropType<FormFieldValue | null> | undefined;
|
|
762
1991
|
validator?(value: unknown): boolean;
|
|
763
1992
|
} & {
|
|
764
|
-
default:
|
|
1993
|
+
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
765
1994
|
};
|
|
766
|
-
|
|
767
|
-
type?: PropType<string
|
|
1995
|
+
as: {
|
|
1996
|
+
type?: PropType<string> | undefined;
|
|
768
1997
|
validator?(value: unknown): boolean;
|
|
769
1998
|
} & {
|
|
770
|
-
default: string | (() => string
|
|
1999
|
+
default: string | (() => string) | null;
|
|
771
2000
|
};
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
2001
|
+
}>> & Readonly<{
|
|
2002
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2003
|
+
}>, {
|
|
2004
|
+
id: string;
|
|
2005
|
+
name: ComputedRef<string | null>;
|
|
2006
|
+
label: ComputedRef<string | null>;
|
|
2007
|
+
description: ComputedRef<string | boolean | null>;
|
|
2008
|
+
value: ComputedRef<FormFieldValue | null>;
|
|
2009
|
+
required: ComputedRef<boolean | null>;
|
|
2010
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
2011
|
+
update(value: FormFieldValue | null): void;
|
|
2012
|
+
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
2013
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2014
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2015
|
+
}, string, {
|
|
2016
|
+
description: string | null;
|
|
2017
|
+
name: string | null;
|
|
2018
|
+
label: string | null;
|
|
2019
|
+
as: string;
|
|
2020
|
+
modelValue: FormFieldValue | null;
|
|
2021
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2022
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2023
|
+
created?: (() => void) | (() => void)[];
|
|
2024
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2025
|
+
mounted?: (() => void) | (() => void)[];
|
|
2026
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2027
|
+
updated?: (() => void) | (() => void)[];
|
|
2028
|
+
activated?: (() => void) | (() => void)[];
|
|
2029
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2030
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2031
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2032
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2033
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2034
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2035
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2036
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2037
|
+
};
|
|
2038
|
+
$forceUpdate: () => void;
|
|
2039
|
+
$nextTick: nextTick;
|
|
2040
|
+
$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;
|
|
2041
|
+
} & Readonly<{
|
|
2042
|
+
description: string | null;
|
|
2043
|
+
name: string | null;
|
|
2044
|
+
label: string | null;
|
|
2045
|
+
as: string;
|
|
2046
|
+
modelValue: FormFieldValue | null;
|
|
2047
|
+
}> & Omit<Readonly<ExtractPropTypes< {
|
|
786
2048
|
name: {
|
|
787
2049
|
type?: PropType<string | null> | undefined;
|
|
788
2050
|
validator?(value: unknown): boolean;
|
|
@@ -807,67 +2069,81 @@ validator?(value: unknown): boolean;
|
|
|
807
2069
|
} & {
|
|
808
2070
|
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
809
2071
|
};
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
813
|
-
name: {
|
|
814
|
-
type?: PropType<string | null> | undefined;
|
|
2072
|
+
as: {
|
|
2073
|
+
type?: PropType<string> | undefined;
|
|
815
2074
|
validator?(value: unknown): boolean;
|
|
816
2075
|
} & {
|
|
817
|
-
default: string | (() => string
|
|
2076
|
+
default: string | (() => string) | null;
|
|
818
2077
|
};
|
|
819
|
-
|
|
2078
|
+
}>> & Readonly<{
|
|
2079
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2080
|
+
}>, "id" | "value" | "required" | "errors" | "$el" | "update" | ("description" | "name" | "label" | "as" | "modelValue")> & ShallowUnwrapRef< {
|
|
2081
|
+
id: string;
|
|
2082
|
+
name: ComputedRef<string | null>;
|
|
2083
|
+
label: ComputedRef<string | null>;
|
|
2084
|
+
description: ComputedRef<string | boolean | null>;
|
|
2085
|
+
value: ComputedRef<FormFieldValue | null>;
|
|
2086
|
+
required: ComputedRef<boolean | null>;
|
|
2087
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
2088
|
+
update(value: FormFieldValue | null): void;
|
|
2089
|
+
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
2090
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
2091
|
+
$slots: {
|
|
2092
|
+
default?(_: {}): any;
|
|
2093
|
+
default?(_: {}): any;
|
|
2094
|
+
};
|
|
2095
|
+
}) | null;
|
|
2096
|
+
}, any>;
|
|
2097
|
+
|
|
2098
|
+
export declare const AGLink: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
2099
|
+
|
|
2100
|
+
export declare const AGLoadingModal: DefineComponent<ExtractPropTypes< {
|
|
2101
|
+
title: {
|
|
820
2102
|
type?: PropType<string | null> | undefined;
|
|
821
2103
|
validator?(value: unknown): boolean;
|
|
822
2104
|
} & {
|
|
823
2105
|
default: string | (() => string | null) | null;
|
|
824
2106
|
};
|
|
825
|
-
|
|
2107
|
+
message: {
|
|
826
2108
|
type?: PropType<string | null> | undefined;
|
|
827
2109
|
validator?(value: unknown): boolean;
|
|
828
2110
|
} & {
|
|
829
2111
|
default: string | (() => string | null) | null;
|
|
830
2112
|
};
|
|
831
|
-
|
|
832
|
-
type?: PropType<
|
|
2113
|
+
progress: {
|
|
2114
|
+
type?: PropType<number | null> | undefined;
|
|
833
2115
|
validator?(value: unknown): boolean;
|
|
834
2116
|
} & {
|
|
835
|
-
default:
|
|
2117
|
+
default: number | (() => number | null) | null;
|
|
836
2118
|
};
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
label: string | null;
|
|
840
|
-
description: string | null;
|
|
841
|
-
modelValue: FormFieldValue | null;
|
|
842
|
-
}, {}>;
|
|
843
|
-
|
|
844
|
-
export declare const AGLink: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
|
|
845
|
-
[key: string]: any;
|
|
846
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
847
|
-
|
|
848
|
-
export declare const AGLoadingModal: DefineComponent< {
|
|
849
|
-
message: {
|
|
2119
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2120
|
+
title: {
|
|
850
2121
|
type?: PropType<string | null> | undefined;
|
|
851
2122
|
validator?(value: unknown): boolean;
|
|
852
2123
|
} & {
|
|
853
2124
|
default: string | (() => string | null) | null;
|
|
854
2125
|
};
|
|
855
|
-
}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
|
|
856
|
-
[key: string]: any;
|
|
857
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
858
2126
|
message: {
|
|
859
2127
|
type?: PropType<string | null> | undefined;
|
|
860
2128
|
validator?(value: unknown): boolean;
|
|
861
2129
|
} & {
|
|
862
2130
|
default: string | (() => string | null) | null;
|
|
863
2131
|
};
|
|
864
|
-
|
|
2132
|
+
progress: {
|
|
2133
|
+
type?: PropType<number | null> | undefined;
|
|
2134
|
+
validator?(value: unknown): boolean;
|
|
2135
|
+
} & {
|
|
2136
|
+
default: number | (() => number | null) | null;
|
|
2137
|
+
};
|
|
2138
|
+
}>> & Readonly<{}>, {
|
|
2139
|
+
progress: number | null;
|
|
2140
|
+
title: string | null;
|
|
865
2141
|
message: string | null;
|
|
866
|
-
}, {}>;
|
|
2142
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
867
2143
|
|
|
868
|
-
export declare type AGLoadingModalProps =
|
|
2144
|
+
export declare type AGLoadingModalProps = AcceptRefs<ObjectWithout<ExtractPropTypes<typeof loadingModalProps>, null | undefined>>;
|
|
869
2145
|
|
|
870
|
-
export declare const AGMarkdown: DefineComponent< {
|
|
2146
|
+
export declare const AGMarkdown: DefineComponent<ExtractPropTypes< {
|
|
871
2147
|
as: {
|
|
872
2148
|
type?: PropType<string | null> | undefined;
|
|
873
2149
|
validator?(value: unknown): boolean;
|
|
@@ -898,9 +2174,13 @@ validator?(value: unknown): boolean;
|
|
|
898
2174
|
} & {
|
|
899
2175
|
default: string | (() => string | null) | null;
|
|
900
2176
|
};
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
2177
|
+
actions: {
|
|
2178
|
+
type?: PropType<Record<string, () => unknown> | null> | undefined;
|
|
2179
|
+
validator?(value: unknown): boolean;
|
|
2180
|
+
} & {
|
|
2181
|
+
default: Record<string, () => unknown> | (() => Record<string, () => unknown> | null) | null;
|
|
2182
|
+
};
|
|
2183
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
904
2184
|
as: {
|
|
905
2185
|
type?: PropType<string | null> | undefined;
|
|
906
2186
|
validator?(value: unknown): boolean;
|
|
@@ -931,102 +2211,102 @@ validator?(value: unknown): boolean;
|
|
|
931
2211
|
} & {
|
|
932
2212
|
default: string | (() => string | null) | null;
|
|
933
2213
|
};
|
|
934
|
-
|
|
2214
|
+
actions: {
|
|
2215
|
+
type?: PropType<Record<string, () => unknown> | null> | undefined;
|
|
2216
|
+
validator?(value: unknown): boolean;
|
|
2217
|
+
} & {
|
|
2218
|
+
default: Record<string, () => unknown> | (() => Record<string, () => unknown> | null) | null;
|
|
2219
|
+
};
|
|
2220
|
+
}>> & Readonly<{}>, {
|
|
2221
|
+
actions: Record<string, () => unknown> | null;
|
|
2222
|
+
text: string | null;
|
|
935
2223
|
as: string | null;
|
|
936
2224
|
inline: boolean;
|
|
937
2225
|
langKey: string | null;
|
|
938
2226
|
langParams: number | Record<string, unknown> | null;
|
|
939
|
-
|
|
940
|
-
}, {}>;
|
|
2227
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
941
2228
|
|
|
942
|
-
export declare const AGMeasured:
|
|
943
|
-
|
|
944
|
-
|
|
2229
|
+
export declare const AGMeasured: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
2230
|
+
|
|
2231
|
+
export declare const AGModal: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
2232
|
+
|
|
2233
|
+
export declare const AGModalContext: DefineComponent<ExtractPropTypes< {
|
|
2234
|
+
modal: {
|
|
2235
|
+
type?: PropType<Modal<unknown>> | undefined;
|
|
945
2236
|
validator?(value: unknown): boolean;
|
|
946
2237
|
} & {
|
|
947
|
-
|
|
2238
|
+
required: true;
|
|
948
2239
|
};
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
952
|
-
as: {
|
|
953
|
-
type?: PropType<string> | undefined;
|
|
2240
|
+
childIndex: {
|
|
2241
|
+
type?: PropType<number> | undefined;
|
|
954
2242
|
validator?(value: unknown): boolean;
|
|
955
2243
|
} & {
|
|
956
|
-
default:
|
|
2244
|
+
default: number | (() => number) | null;
|
|
957
2245
|
};
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
export declare const AGModal: DefineComponent< {
|
|
963
|
-
cancellable: {
|
|
964
|
-
type?: PropType<boolean> | undefined;
|
|
2246
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2247
|
+
modal: {
|
|
2248
|
+
type?: PropType<Modal<unknown>> | undefined;
|
|
965
2249
|
validator?(value: unknown): boolean;
|
|
966
2250
|
} & {
|
|
967
|
-
|
|
2251
|
+
required: true;
|
|
968
2252
|
};
|
|
969
|
-
|
|
970
|
-
type?: PropType<
|
|
2253
|
+
childIndex: {
|
|
2254
|
+
type?: PropType<number> | undefined;
|
|
971
2255
|
validator?(value: unknown): boolean;
|
|
972
2256
|
} & {
|
|
973
|
-
default:
|
|
2257
|
+
default: number | (() => number) | null;
|
|
974
2258
|
};
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
|
|
2259
|
+
}>> & Readonly<{}>, {
|
|
2260
|
+
childIndex: number;
|
|
2261
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2262
|
+
|
|
2263
|
+
export declare const AGModalTitle: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
2264
|
+
|
|
2265
|
+
export declare const AGProgressBar: DefineComponent<ExtractPropTypes< {
|
|
2266
|
+
progress: {
|
|
2267
|
+
type?: PropType<number | null> | undefined;
|
|
980
2268
|
validator?(value: unknown): boolean;
|
|
981
2269
|
} & {
|
|
982
|
-
default:
|
|
2270
|
+
default: number | (() => number | null) | null;
|
|
983
2271
|
};
|
|
984
|
-
|
|
985
|
-
type?: PropType<string
|
|
2272
|
+
barClass: {
|
|
2273
|
+
type?: PropType<string> | undefined;
|
|
986
2274
|
validator?(value: unknown): boolean;
|
|
987
2275
|
} & {
|
|
988
|
-
default: string | (() => string
|
|
2276
|
+
default: string | (() => string) | null;
|
|
989
2277
|
};
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
title: string | null;
|
|
993
|
-
}, {}>;
|
|
994
|
-
|
|
995
|
-
export declare const AGModalContext: DefineComponent< {
|
|
996
|
-
modal: {
|
|
997
|
-
type?: PropType<Modal<unknown>> | undefined;
|
|
2278
|
+
job: {
|
|
2279
|
+
type?: PropType<Job<JobListener, JobStatus, JobStatus> | null> | undefined;
|
|
998
2280
|
validator?(value: unknown): boolean;
|
|
999
2281
|
} & {
|
|
1000
|
-
|
|
2282
|
+
default: Job<JobListener, JobStatus, JobStatus> | (() => Job<JobListener, JobStatus, JobStatus> | null) | null;
|
|
1001
2283
|
};
|
|
1002
|
-
|
|
1003
|
-
|
|
2284
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2285
|
+
progress: {
|
|
2286
|
+
type?: PropType<number | null> | undefined;
|
|
1004
2287
|
validator?(value: unknown): boolean;
|
|
1005
2288
|
} & {
|
|
1006
|
-
|
|
2289
|
+
default: number | (() => number | null) | null;
|
|
1007
2290
|
};
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1011
|
-
modal: {
|
|
1012
|
-
type?: PropType<Modal<unknown>> | undefined;
|
|
2291
|
+
barClass: {
|
|
2292
|
+
type?: PropType<string> | undefined;
|
|
1013
2293
|
validator?(value: unknown): boolean;
|
|
1014
2294
|
} & {
|
|
1015
|
-
|
|
2295
|
+
default: string | (() => string) | null;
|
|
1016
2296
|
};
|
|
1017
|
-
|
|
1018
|
-
type?: PropType<
|
|
2297
|
+
job: {
|
|
2298
|
+
type?: PropType<Job<JobListener, JobStatus, JobStatus> | null> | undefined;
|
|
1019
2299
|
validator?(value: unknown): boolean;
|
|
1020
2300
|
} & {
|
|
1021
|
-
|
|
2301
|
+
default: Job<JobListener, JobStatus, JobStatus> | (() => Job<JobListener, JobStatus, JobStatus> | null) | null;
|
|
1022
2302
|
};
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
}
|
|
2303
|
+
}>> & Readonly<{}>, {
|
|
2304
|
+
progress: number | null;
|
|
2305
|
+
barClass: string;
|
|
2306
|
+
job: Job<JobListener, JobStatus, JobStatus> | null;
|
|
2307
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1028
2308
|
|
|
1029
|
-
export declare const AGPromptModal: DefineComponent< {
|
|
2309
|
+
export declare const AGPromptModal: DefineComponent<ExtractPropTypes< {
|
|
1030
2310
|
title: {
|
|
1031
2311
|
type?: PropType<string | null> | undefined;
|
|
1032
2312
|
validator?(value: unknown): boolean;
|
|
@@ -1064,10 +2344,10 @@ validator?(value: unknown): boolean;
|
|
|
1064
2344
|
default: string | (() => string | null) | null;
|
|
1065
2345
|
};
|
|
1066
2346
|
acceptColor: {
|
|
1067
|
-
type?: PropType<"
|
|
2347
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1068
2348
|
validator?(value: unknown): boolean;
|
|
1069
2349
|
} & {
|
|
1070
|
-
default: "
|
|
2350
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1071
2351
|
};
|
|
1072
2352
|
cancelText: {
|
|
1073
2353
|
type?: PropType<string | null> | undefined;
|
|
@@ -1076,14 +2356,12 @@ validator?(value: unknown): boolean;
|
|
|
1076
2356
|
default: string | (() => string | null) | null;
|
|
1077
2357
|
};
|
|
1078
2358
|
cancelColor: {
|
|
1079
|
-
type?: PropType<"
|
|
2359
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1080
2360
|
validator?(value: unknown): boolean;
|
|
1081
2361
|
} & {
|
|
1082
|
-
default: "
|
|
2362
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1083
2363
|
};
|
|
1084
|
-
},
|
|
1085
|
-
[key: string]: any;
|
|
1086
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2364
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1087
2365
|
title: {
|
|
1088
2366
|
type?: PropType<string | null> | undefined;
|
|
1089
2367
|
validator?(value: unknown): boolean;
|
|
@@ -1121,10 +2399,10 @@ validator?(value: unknown): boolean;
|
|
|
1121
2399
|
default: string | (() => string | null) | null;
|
|
1122
2400
|
};
|
|
1123
2401
|
acceptColor: {
|
|
1124
|
-
type?: PropType<"
|
|
2402
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1125
2403
|
validator?(value: unknown): boolean;
|
|
1126
2404
|
} & {
|
|
1127
|
-
default: "
|
|
2405
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1128
2406
|
};
|
|
1129
2407
|
cancelText: {
|
|
1130
2408
|
type?: PropType<string | null> | undefined;
|
|
@@ -1133,25 +2411,25 @@ validator?(value: unknown): boolean;
|
|
|
1133
2411
|
default: string | (() => string | null) | null;
|
|
1134
2412
|
};
|
|
1135
2413
|
cancelColor: {
|
|
1136
|
-
type?: PropType<"
|
|
2414
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1137
2415
|
validator?(value: unknown): boolean;
|
|
1138
2416
|
} & {
|
|
1139
|
-
default: "
|
|
2417
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1140
2418
|
};
|
|
1141
|
-
}
|
|
1142
|
-
title: string | null;
|
|
2419
|
+
}>> & Readonly<{}>, {
|
|
1143
2420
|
label: string | null;
|
|
2421
|
+
title: string | null;
|
|
1144
2422
|
defaultValue: string | null;
|
|
1145
|
-
placeholder: string | null;
|
|
1146
2423
|
acceptText: string | null;
|
|
1147
|
-
acceptColor: "
|
|
2424
|
+
acceptColor: "clear" | "primary" | "secondary" | "danger";
|
|
1148
2425
|
cancelText: string | null;
|
|
1149
|
-
cancelColor: "
|
|
1150
|
-
|
|
2426
|
+
cancelColor: "clear" | "primary" | "secondary" | "danger";
|
|
2427
|
+
placeholder: string | null;
|
|
2428
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1151
2429
|
|
|
1152
|
-
export declare type AGPromptModalProps = SubPartial<
|
|
2430
|
+
export declare type AGPromptModalProps = Pretty<AcceptRefs<SubPartial<ObjectWithout<ExtractPropTypes<typeof promptModalProps>, null | undefined>, 'acceptColor' | 'cancelColor'>>>;
|
|
1153
2431
|
|
|
1154
|
-
export declare const AGSelect: DefineComponent< {
|
|
2432
|
+
export declare const AGSelect: DefineComponent<ExtractPropTypes< {
|
|
1155
2433
|
name: {
|
|
1156
2434
|
type?: PropType<string | null> | undefined;
|
|
1157
2435
|
validator?(value: unknown): boolean;
|
|
@@ -1182,9 +2460,9 @@ validator?(value: unknown): boolean;
|
|
|
1182
2460
|
} & {
|
|
1183
2461
|
default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
|
|
1184
2462
|
};
|
|
1185
|
-
},
|
|
1186
|
-
|
|
1187
|
-
}
|
|
2463
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2464
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2465
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1188
2466
|
name: {
|
|
1189
2467
|
type?: PropType<string | null> | undefined;
|
|
1190
2468
|
validator?(value: unknown): boolean;
|
|
@@ -1215,16 +2493,190 @@ validator?(value: unknown): boolean;
|
|
|
1215
2493
|
} & {
|
|
1216
2494
|
default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
|
|
1217
2495
|
};
|
|
1218
|
-
}>> & {
|
|
2496
|
+
}>> & Readonly<{
|
|
1219
2497
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1220
|
-
}
|
|
2498
|
+
}>, {
|
|
1221
2499
|
name: string | null;
|
|
1222
2500
|
label: string | null;
|
|
1223
2501
|
noSelectionText: string | null;
|
|
1224
2502
|
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
1225
|
-
}, {}
|
|
1226
|
-
|
|
1227
|
-
|
|
2503
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
2504
|
+
$select: ({
|
|
2505
|
+
$: ComponentInternalInstance;
|
|
2506
|
+
$data: {};
|
|
2507
|
+
$props: Partial<{
|
|
2508
|
+
name: string | null;
|
|
2509
|
+
label: string | null;
|
|
2510
|
+
modelValue: FormFieldValue | null;
|
|
2511
|
+
noSelectionText: string | null;
|
|
2512
|
+
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
2513
|
+
}> & Omit<{
|
|
2514
|
+
readonly name: string | null;
|
|
2515
|
+
readonly label: string | null;
|
|
2516
|
+
readonly modelValue: FormFieldValue | null;
|
|
2517
|
+
readonly options: FormFieldValue[];
|
|
2518
|
+
readonly noSelectionText: string | null;
|
|
2519
|
+
readonly optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
2520
|
+
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2521
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "label" | "modelValue" | "noSelectionText" | "optionsText">;
|
|
2522
|
+
$attrs: {
|
|
2523
|
+
[x: string]: unknown;
|
|
2524
|
+
};
|
|
2525
|
+
$refs: {
|
|
2526
|
+
[x: string]: unknown;
|
|
2527
|
+
};
|
|
2528
|
+
$slots: Readonly<{
|
|
2529
|
+
[name: string]: Slot<any> | undefined;
|
|
2530
|
+
}>;
|
|
2531
|
+
$root: ComponentPublicInstance | null;
|
|
2532
|
+
$parent: ComponentPublicInstance | null;
|
|
2533
|
+
$host: Element | null;
|
|
2534
|
+
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
2535
|
+
$el: any;
|
|
2536
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
2537
|
+
name: {
|
|
2538
|
+
type?: PropType<string | null> | undefined;
|
|
2539
|
+
validator?(value: unknown): boolean;
|
|
2540
|
+
} & {
|
|
2541
|
+
default: string | (() => string | null) | null;
|
|
2542
|
+
};
|
|
2543
|
+
label: {
|
|
2544
|
+
type?: PropType<string | null> | undefined;
|
|
2545
|
+
validator?(value: unknown): boolean;
|
|
2546
|
+
} & {
|
|
2547
|
+
default: string | (() => string | null) | null;
|
|
2548
|
+
};
|
|
2549
|
+
options: {
|
|
2550
|
+
type?: PropType<FormFieldValue[]> | undefined;
|
|
2551
|
+
validator?(value: unknown): boolean;
|
|
2552
|
+
} & {
|
|
2553
|
+
required: true;
|
|
2554
|
+
};
|
|
2555
|
+
noSelectionText: {
|
|
2556
|
+
type?: PropType<string | null> | undefined;
|
|
2557
|
+
validator?(value: unknown): boolean;
|
|
2558
|
+
} & {
|
|
2559
|
+
default: string | (() => string | null) | null;
|
|
2560
|
+
};
|
|
2561
|
+
optionsText: {
|
|
2562
|
+
type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
|
|
2563
|
+
validator?(value: unknown): boolean;
|
|
2564
|
+
} & {
|
|
2565
|
+
default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
|
|
2566
|
+
};
|
|
2567
|
+
modelValue: {
|
|
2568
|
+
type?: PropType<FormFieldValue | null> | undefined;
|
|
2569
|
+
validator?(value: unknown): boolean;
|
|
2570
|
+
} & {
|
|
2571
|
+
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
2572
|
+
};
|
|
2573
|
+
}>> & Readonly<{
|
|
2574
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2575
|
+
}>, {
|
|
2576
|
+
id: string;
|
|
2577
|
+
label: ComputedRef<string | null>;
|
|
2578
|
+
noSelectionText: ComputedRef<string>;
|
|
2579
|
+
buttonText: ComputedRef<string>;
|
|
2580
|
+
renderText: ComputedRef<(value: FormFieldValue) => string>;
|
|
2581
|
+
selectedOption: ComputedRef<FormFieldValue | null>;
|
|
2582
|
+
options: ComputedRef<FormFieldValue[]>;
|
|
2583
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
2584
|
+
update(value: FormFieldValue): void;
|
|
2585
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2586
|
+
"update:modelValue": (...args: any[]) => void;
|
|
2587
|
+
}, string, {
|
|
2588
|
+
name: string | null;
|
|
2589
|
+
label: string | null;
|
|
2590
|
+
modelValue: FormFieldValue | null;
|
|
2591
|
+
noSelectionText: string | null;
|
|
2592
|
+
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
2593
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2594
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2595
|
+
created?: (() => void) | (() => void)[];
|
|
2596
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2597
|
+
mounted?: (() => void) | (() => void)[];
|
|
2598
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2599
|
+
updated?: (() => void) | (() => void)[];
|
|
2600
|
+
activated?: (() => void) | (() => void)[];
|
|
2601
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2602
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2603
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2604
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2605
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2606
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2607
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2608
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2609
|
+
};
|
|
2610
|
+
$forceUpdate: () => void;
|
|
2611
|
+
$nextTick: nextTick;
|
|
2612
|
+
$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;
|
|
2613
|
+
} & Readonly<{
|
|
2614
|
+
name: string | null;
|
|
2615
|
+
label: string | null;
|
|
2616
|
+
modelValue: FormFieldValue | null;
|
|
2617
|
+
noSelectionText: string | null;
|
|
2618
|
+
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
2619
|
+
}> & Omit<Readonly<ExtractPropTypes< {
|
|
2620
|
+
name: {
|
|
2621
|
+
type?: PropType<string | null> | undefined;
|
|
2622
|
+
validator?(value: unknown): boolean;
|
|
2623
|
+
} & {
|
|
2624
|
+
default: string | (() => string | null) | null;
|
|
2625
|
+
};
|
|
2626
|
+
label: {
|
|
2627
|
+
type?: PropType<string | null> | undefined;
|
|
2628
|
+
validator?(value: unknown): boolean;
|
|
2629
|
+
} & {
|
|
2630
|
+
default: string | (() => string | null) | null;
|
|
2631
|
+
};
|
|
2632
|
+
options: {
|
|
2633
|
+
type?: PropType<FormFieldValue[]> | undefined;
|
|
2634
|
+
validator?(value: unknown): boolean;
|
|
2635
|
+
} & {
|
|
2636
|
+
required: true;
|
|
2637
|
+
};
|
|
2638
|
+
noSelectionText: {
|
|
2639
|
+
type?: PropType<string | null> | undefined;
|
|
2640
|
+
validator?(value: unknown): boolean;
|
|
2641
|
+
} & {
|
|
2642
|
+
default: string | (() => string | null) | null;
|
|
2643
|
+
};
|
|
2644
|
+
optionsText: {
|
|
2645
|
+
type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
|
|
2646
|
+
validator?(value: unknown): boolean;
|
|
2647
|
+
} & {
|
|
2648
|
+
default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
|
|
2649
|
+
};
|
|
2650
|
+
modelValue: {
|
|
2651
|
+
type?: PropType<FormFieldValue | null> | undefined;
|
|
2652
|
+
validator?(value: unknown): boolean;
|
|
2653
|
+
} & {
|
|
2654
|
+
default: FormFieldValue | (() => FormFieldValue | null) | null;
|
|
2655
|
+
};
|
|
2656
|
+
}>> & Readonly<{
|
|
2657
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
2658
|
+
}>, "id" | "errors" | "update" | "options" | "selectedOption" | "buttonText" | "renderText" | ("name" | "label" | "modelValue" | "noSelectionText" | "optionsText")> & ShallowUnwrapRef< {
|
|
2659
|
+
id: string;
|
|
2660
|
+
label: ComputedRef<string | null>;
|
|
2661
|
+
noSelectionText: ComputedRef<string>;
|
|
2662
|
+
buttonText: ComputedRef<string>;
|
|
2663
|
+
renderText: ComputedRef<(value: FormFieldValue) => string>;
|
|
2664
|
+
selectedOption: ComputedRef<FormFieldValue | null>;
|
|
2665
|
+
options: ComputedRef<FormFieldValue[]>;
|
|
2666
|
+
errors: DeepReadonly<Ref<string[] | null>>;
|
|
2667
|
+
update(value: FormFieldValue): void;
|
|
2668
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
2669
|
+
$slots: {
|
|
2670
|
+
default?(_: {
|
|
2671
|
+
value: unknown;
|
|
2672
|
+
open: unknown;
|
|
2673
|
+
disabled: unknown;
|
|
2674
|
+
}): any;
|
|
2675
|
+
};
|
|
2676
|
+
}) | null;
|
|
2677
|
+
}, any>;
|
|
2678
|
+
|
|
2679
|
+
export declare const AGSnackbar: DefineComponent<ExtractPropTypes< {
|
|
1228
2680
|
id: {
|
|
1229
2681
|
type?: PropType<string> | undefined;
|
|
1230
2682
|
validator?(value: unknown): boolean;
|
|
@@ -1249,9 +2701,7 @@ validator?(value: unknown): boolean;
|
|
|
1249
2701
|
} & {
|
|
1250
2702
|
default: "secondary" | "danger" | (() => "secondary" | "danger") | null;
|
|
1251
2703
|
};
|
|
1252
|
-
},
|
|
1253
|
-
[key: string]: any;
|
|
1254
|
-
}>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2704
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
1255
2705
|
id: {
|
|
1256
2706
|
type?: PropType<string> | undefined;
|
|
1257
2707
|
validator?(value: unknown): boolean;
|
|
@@ -1276,16 +2726,14 @@ validator?(value: unknown): boolean;
|
|
|
1276
2726
|
} & {
|
|
1277
2727
|
default: "secondary" | "danger" | (() => "secondary" | "danger") | null;
|
|
1278
2728
|
};
|
|
1279
|
-
}
|
|
2729
|
+
}>> & Readonly<{}>, {
|
|
1280
2730
|
actions: SnackbarAction[];
|
|
1281
2731
|
color: "secondary" | "danger";
|
|
1282
|
-
}, {}>;
|
|
2732
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1283
2733
|
|
|
1284
2734
|
export declare type AGSnackbarProps = ObjectWithoutEmpty<ExtractPropTypes<typeof snackbarProps>>;
|
|
1285
2735
|
|
|
1286
|
-
export declare const AGStartupCrash: DefineComponent< {},
|
|
1287
|
-
[key: string]: any;
|
|
1288
|
-
}>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
|
|
2736
|
+
export declare const AGStartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1289
2737
|
|
|
1290
2738
|
export declare const alertModalProps: {
|
|
1291
2739
|
title: {
|
|
@@ -1302,7 +2750,7 @@ export declare const alertModalProps: {
|
|
|
1302
2750
|
};
|
|
1303
2751
|
};
|
|
1304
2752
|
|
|
1305
|
-
export declare const App: Facade<AppService
|
|
2753
|
+
export declare const App: Facade<AppService>;
|
|
1306
2754
|
|
|
1307
2755
|
export declare class AppService extends _default_3 {
|
|
1308
2756
|
readonly name: string;
|
|
@@ -1313,6 +2761,7 @@ export declare class AppService extends _default_3 {
|
|
|
1313
2761
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1314
2762
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1315
2763
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
2764
|
+
service<T extends keyof Services>(name: T): Services[T] | null;
|
|
1316
2765
|
protected boot(): Promise<void>;
|
|
1317
2766
|
}
|
|
1318
2767
|
|
|
@@ -1323,7 +2772,9 @@ declare type BaseProp<T> = {
|
|
|
1323
2772
|
validator?(value: unknown): boolean;
|
|
1324
2773
|
};
|
|
1325
2774
|
|
|
1326
|
-
export declare function booleanInput(defaultValue?: boolean
|
|
2775
|
+
export declare function booleanInput(defaultValue?: boolean, options?: {
|
|
2776
|
+
rules?: string;
|
|
2777
|
+
}): FormFieldDefinition<typeof FormFieldTypes.Boolean>;
|
|
1327
2778
|
|
|
1328
2779
|
export declare function booleanProp(defaultValue?: boolean): OptionalProp<boolean>;
|
|
1329
2780
|
|
|
@@ -1333,7 +2784,7 @@ export declare function bootstrap(rootComponent: Component, options?: AerogelOpt
|
|
|
1333
2784
|
|
|
1334
2785
|
export declare function bootstrapApplication(app: App_2, options?: AerogelOptions): Promise<void>;
|
|
1335
2786
|
|
|
1336
|
-
declare const Cache_2: Facade<CacheService
|
|
2787
|
+
declare const Cache_2: Facade<CacheService>;
|
|
1337
2788
|
export { Cache_2 as Cache }
|
|
1338
2789
|
|
|
1339
2790
|
export declare class CacheService extends Service {
|
|
@@ -1360,11 +2811,17 @@ export declare function componentRef<T>(): Ref<UnwrapNestedRefs<T> | undefined>;
|
|
|
1360
2811
|
export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
|
|
1361
2812
|
|
|
1362
2813
|
export declare type ComputedStateDefinition<TState extends ServiceState, TComputedState extends ServiceState> = {
|
|
1363
|
-
[K in keyof TComputedState]: (state:
|
|
2814
|
+
[K in keyof TComputedState]: (state: Unref<TState>) => TComputedState[K];
|
|
1364
2815
|
} & ThisType<{
|
|
1365
2816
|
readonly [K in keyof TComputedState]: TComputedState[K];
|
|
1366
2817
|
}>;
|
|
1367
2818
|
|
|
2819
|
+
export declare type ConfirmCheckboxes = Record<string, {
|
|
2820
|
+
label: string;
|
|
2821
|
+
default?: boolean;
|
|
2822
|
+
required?: boolean;
|
|
2823
|
+
}>;
|
|
2824
|
+
|
|
1368
2825
|
export declare const confirmModalProps: {
|
|
1369
2826
|
title: {
|
|
1370
2827
|
type?: PropType<string | null> | undefined;
|
|
@@ -1385,10 +2842,10 @@ export declare const confirmModalProps: {
|
|
|
1385
2842
|
default: string | (() => string | null) | null;
|
|
1386
2843
|
};
|
|
1387
2844
|
acceptColor: {
|
|
1388
|
-
type?: PropType<"
|
|
2845
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1389
2846
|
validator?(value: unknown): boolean;
|
|
1390
2847
|
} & {
|
|
1391
|
-
default: "
|
|
2848
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1392
2849
|
};
|
|
1393
2850
|
cancelText: {
|
|
1394
2851
|
type?: PropType<string | null> | undefined;
|
|
@@ -1397,122 +2854,128 @@ export declare const confirmModalProps: {
|
|
|
1397
2854
|
default: string | (() => string | null) | null;
|
|
1398
2855
|
};
|
|
1399
2856
|
cancelColor: {
|
|
1400
|
-
type?: PropType<"
|
|
2857
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
2858
|
+
validator?(value: unknown): boolean;
|
|
2859
|
+
} & {
|
|
2860
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
2861
|
+
};
|
|
2862
|
+
checkboxes: {
|
|
2863
|
+
type?: PropType<ConfirmCheckboxes | null> | undefined;
|
|
2864
|
+
validator?(value: unknown): boolean;
|
|
2865
|
+
} & {
|
|
2866
|
+
default: ConfirmCheckboxes | (() => ConfirmCheckboxes | null) | null;
|
|
2867
|
+
};
|
|
2868
|
+
actions: {
|
|
2869
|
+
type?: PropType<Record<string, () => unknown> | null> | undefined;
|
|
2870
|
+
validator?(value: unknown): boolean;
|
|
2871
|
+
} & {
|
|
2872
|
+
default: Record<string, () => unknown> | (() => Record<string, () => unknown> | null) | null;
|
|
2873
|
+
};
|
|
2874
|
+
required: {
|
|
2875
|
+
type?: PropType<boolean> | undefined;
|
|
1401
2876
|
validator?(value: unknown): boolean;
|
|
1402
2877
|
} & {
|
|
1403
|
-
default:
|
|
2878
|
+
default: boolean | (() => boolean) | null;
|
|
1404
2879
|
};
|
|
1405
2880
|
};
|
|
1406
2881
|
|
|
1407
|
-
export declare
|
|
2882
|
+
export declare type ConfirmOptions = AcceptRefs<{
|
|
1408
2883
|
acceptText?: string;
|
|
1409
2884
|
acceptColor?: Color;
|
|
1410
2885
|
cancelText?: string;
|
|
1411
2886
|
cancelColor?: Color;
|
|
2887
|
+
actions?: Record<string, () => unknown>;
|
|
2888
|
+
required?: boolean;
|
|
2889
|
+
}>;
|
|
2890
|
+
|
|
2891
|
+
export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmCheckboxes = ConfirmCheckboxes> extends ConfirmOptions {
|
|
2892
|
+
checkboxes?: T;
|
|
1412
2893
|
}
|
|
1413
2894
|
|
|
1414
|
-
export declare function dateInput(defaultValue?: Date
|
|
2895
|
+
export declare function dateInput(defaultValue?: Date, options?: {
|
|
2896
|
+
rules?: string;
|
|
2897
|
+
}): FormFieldDefinition<typeof FormFieldTypes.Date>;
|
|
1415
2898
|
|
|
1416
|
-
declare const _default:
|
|
1417
|
-
logs: ErrorReportLog[];
|
|
1418
|
-
startupErrors: ErrorReport[];
|
|
1419
|
-
}>> & Constructor< {
|
|
1420
|
-
hasErrors: boolean;
|
|
1421
|
-
hasNewErrors: boolean;
|
|
1422
|
-
hasStartupErrors: boolean;
|
|
1423
|
-
}> & Constructor<Service<UnrefServiceState< {
|
|
2899
|
+
declare const _default: ServiceWithState< {
|
|
1424
2900
|
logs: ErrorReportLog[];
|
|
1425
2901
|
startupErrors: ErrorReport[];
|
|
1426
|
-
}
|
|
2902
|
+
}, {
|
|
1427
2903
|
hasErrors: boolean;
|
|
1428
2904
|
hasNewErrors: boolean;
|
|
1429
2905
|
hasStartupErrors: boolean;
|
|
1430
|
-
}, Partial<
|
|
2906
|
+
}, Partial<{
|
|
1431
2907
|
logs: ErrorReportLog[];
|
|
1432
2908
|
startupErrors: ErrorReport[];
|
|
1433
|
-
}
|
|
2909
|
+
}>>;
|
|
1434
2910
|
|
|
1435
|
-
declare const _default_2:
|
|
1436
|
-
locale: string | null;
|
|
1437
|
-
locales: string[];
|
|
1438
|
-
fallbackLocale: string;
|
|
1439
|
-
}>> & Constructor< {}> & Constructor<Service<UnrefServiceState< {
|
|
2911
|
+
declare const _default_2: ServiceWithState< {
|
|
1440
2912
|
locale: string | null;
|
|
1441
2913
|
locales: string[];
|
|
1442
2914
|
fallbackLocale: string;
|
|
1443
|
-
}
|
|
2915
|
+
}, {}, Partial<{
|
|
1444
2916
|
locale: string | null;
|
|
1445
2917
|
locales: string[];
|
|
1446
2918
|
fallbackLocale: string;
|
|
1447
|
-
}
|
|
2919
|
+
}>>;
|
|
1448
2920
|
|
|
1449
|
-
declare const _default_3:
|
|
2921
|
+
declare const _default_3: ServiceWithState< {
|
|
1450
2922
|
plugins: Record<string, Plugin_2>;
|
|
2923
|
+
instance: App_2 | null;
|
|
1451
2924
|
environment: string;
|
|
1452
2925
|
version: string;
|
|
1453
2926
|
sourceUrl: string | undefined;
|
|
1454
|
-
}
|
|
1455
|
-
development: boolean;
|
|
1456
|
-
testing: boolean;
|
|
1457
|
-
versionName: string;
|
|
1458
|
-
versionUrl: string;
|
|
1459
|
-
}> & Constructor<Service<UnrefServiceState< {
|
|
1460
|
-
plugins: Record<string, Plugin_2>;
|
|
1461
|
-
environment: string;
|
|
1462
|
-
version: string;
|
|
1463
|
-
sourceUrl: string | undefined;
|
|
1464
|
-
}>, {
|
|
2927
|
+
}, {
|
|
1465
2928
|
development: boolean;
|
|
2929
|
+
staging: boolean;
|
|
1466
2930
|
testing: boolean;
|
|
1467
2931
|
versionName: string;
|
|
1468
2932
|
versionUrl: string;
|
|
1469
|
-
}, Partial<
|
|
2933
|
+
}, Partial<{
|
|
1470
2934
|
plugins: Record<string, Plugin_2>;
|
|
2935
|
+
instance: App_2 | null;
|
|
1471
2936
|
environment: string;
|
|
1472
2937
|
version: string;
|
|
1473
2938
|
sourceUrl: string | undefined;
|
|
1474
|
-
}
|
|
2939
|
+
}>>;
|
|
1475
2940
|
|
|
1476
|
-
declare const _default_4:
|
|
1477
|
-
modals: Modal
|
|
1478
|
-
snackbars: Snackbar[];
|
|
1479
|
-
layout: Layout;
|
|
1480
|
-
}>> & Constructor< {
|
|
1481
|
-
mobile: boolean;
|
|
1482
|
-
desktop: boolean;
|
|
1483
|
-
}> & Constructor<Service<UnrefServiceState< {
|
|
1484
|
-
modals: Modal<unknown>[];
|
|
2941
|
+
declare const _default_4: ServiceWithState< {
|
|
2942
|
+
modals: Modal[];
|
|
1485
2943
|
snackbars: Snackbar[];
|
|
1486
2944
|
layout: Layout;
|
|
1487
|
-
}
|
|
2945
|
+
}, {
|
|
1488
2946
|
mobile: boolean;
|
|
1489
2947
|
desktop: boolean;
|
|
1490
|
-
}, Partial<
|
|
1491
|
-
modals: Modal
|
|
2948
|
+
}, Partial<{
|
|
2949
|
+
modals: Modal[];
|
|
1492
2950
|
snackbars: Snackbar[];
|
|
1493
2951
|
layout: Layout;
|
|
1494
|
-
}
|
|
2952
|
+
}>>;
|
|
1495
2953
|
|
|
1496
2954
|
export declare type DefaultServices = typeof defaultServices;
|
|
1497
2955
|
|
|
1498
2956
|
declare const defaultServices: {
|
|
1499
|
-
$app: Facade<AppService
|
|
1500
|
-
$events: Facade<EventsService
|
|
2957
|
+
$app: Facade<AppService>;
|
|
2958
|
+
$events: Facade<EventsService>;
|
|
2959
|
+
$storage: Facade<StorageService>;
|
|
1501
2960
|
};
|
|
1502
2961
|
|
|
1503
2962
|
export declare type DefaultServiceState = any;
|
|
1504
2963
|
|
|
1505
2964
|
export declare function defineDirective(directive: Directive): Directive;
|
|
1506
2965
|
|
|
2966
|
+
export declare function defineFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
|
|
2967
|
+
|
|
1507
2968
|
export declare function definePlugin<T extends Plugin_2>(plugin: T): T;
|
|
1508
2969
|
|
|
1509
|
-
export declare function defineServiceState<State extends ServiceState = ServiceState, ComputedState extends ServiceState = {}
|
|
2970
|
+
export declare function defineServiceState<State extends ServiceState = ServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>>(options: {
|
|
1510
2971
|
name: string;
|
|
1511
2972
|
initialState: State | (() => State);
|
|
1512
2973
|
persist?: (keyof State)[];
|
|
2974
|
+
watch?: StateWatchers<Service, State>;
|
|
1513
2975
|
computed?: ComputedStateDefinition<State, ComputedState>;
|
|
1514
|
-
serialize?: (state: Partial<State>) =>
|
|
1515
|
-
|
|
2976
|
+
serialize?: (state: Partial<State>) => ServiceStorage;
|
|
2977
|
+
restore?: (state: ServiceStorage) => Partial<State>;
|
|
2978
|
+
}): ServiceWithState<State, ComputedState, ServiceStorage>;
|
|
1516
2979
|
|
|
1517
2980
|
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>;
|
|
1518
2981
|
|
|
@@ -1529,6 +2992,8 @@ export declare function enumProp<Enum extends Record<string, unknown>>(enumerati
|
|
|
1529
2992
|
|
|
1530
2993
|
export declare type ErrorHandler = (error: ErrorSource) => boolean;
|
|
1531
2994
|
|
|
2995
|
+
declare type ErrorHandler_2 = (error: ErrorSource) => string | undefined;
|
|
2996
|
+
|
|
1532
2997
|
export declare interface ErrorReport {
|
|
1533
2998
|
title: string;
|
|
1534
2999
|
description?: string;
|
|
@@ -1551,7 +3016,7 @@ export declare const errorReportModalProps: {
|
|
|
1551
3016
|
};
|
|
1552
3017
|
};
|
|
1553
3018
|
|
|
1554
|
-
export declare const Errors: Facade<ErrorsService
|
|
3019
|
+
export declare const Errors: Facade<ErrorsService>;
|
|
1555
3020
|
|
|
1556
3021
|
export declare type ErrorSource = string | Error | JSError | unknown;
|
|
1557
3022
|
|
|
@@ -1576,7 +3041,7 @@ declare type EventListener_2<T = unknown> = (payload: T) => unknown;
|
|
|
1576
3041
|
export { EventListener_2 as EventListener }
|
|
1577
3042
|
|
|
1578
3043
|
declare interface EventListenerOptions_2 {
|
|
1579
|
-
priority:
|
|
3044
|
+
priority: EventListenerPriority;
|
|
1580
3045
|
}
|
|
1581
3046
|
export { EventListenerOptions_2 as EventListenerOptions }
|
|
1582
3047
|
|
|
@@ -1586,7 +3051,9 @@ export declare const EventListenerPriorities: {
|
|
|
1586
3051
|
readonly High: 256;
|
|
1587
3052
|
};
|
|
1588
3053
|
|
|
1589
|
-
export declare
|
|
3054
|
+
export declare type EventListenerPriority = (typeof EventListenerPriorities)[keyof typeof EventListenerPriorities];
|
|
3055
|
+
|
|
3056
|
+
export declare const Events: Facade<EventsService>;
|
|
1590
3057
|
|
|
1591
3058
|
export declare interface EventsPayload {
|
|
1592
3059
|
}
|
|
@@ -1598,10 +3065,13 @@ export declare class EventsService extends Service {
|
|
|
1598
3065
|
emit<Event extends EventWithPayload>(event: Event, payload: EventsPayload[Event]): Promise<void>;
|
|
1599
3066
|
emit<Event extends string>(event: UnknownEvent<Event>, payload?: unknown): Promise<void>;
|
|
1600
3067
|
on<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
|
|
3068
|
+
on<Event extends EventWithoutPayload>(event: Event, priority: EventListenerPriority, listener: () => unknown): () => void;
|
|
1601
3069
|
on<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
|
|
1602
3070
|
on<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
3071
|
+
on<Event extends EventWithPayload>(event: Event, priority: EventListenerPriority, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
1603
3072
|
on<Event extends EventWithPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
|
|
1604
3073
|
on<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): () => void;
|
|
3074
|
+
on<Event extends string>(event: UnknownEvent<Event>, priority: EventListenerPriority, listener: EventListener_2): () => void;
|
|
1605
3075
|
on<Event extends string>(event: UnknownEvent<Event>, options: Partial<EventListenerOptions_2>, listener: EventListener_2): () => void;
|
|
1606
3076
|
once<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
|
|
1607
3077
|
once<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
|
|
@@ -1691,6 +3161,8 @@ export declare const FormFieldTypes: {
|
|
|
1691
3161
|
readonly Date: "date";
|
|
1692
3162
|
};
|
|
1693
3163
|
|
|
3164
|
+
export declare type FormFieldValidator<T = unknown> = (value: T) => string | string[] | undefined;
|
|
3165
|
+
|
|
1694
3166
|
export declare type FormFieldValue = GetFormFieldValue<FormFieldType>;
|
|
1695
3167
|
|
|
1696
3168
|
export declare function getCurrentLayout(): Layout;
|
|
@@ -1756,6 +3228,7 @@ export declare type IAGHeadlessSelectOptionSlotProps = {
|
|
|
1756
3228
|
};
|
|
1757
3229
|
|
|
1758
3230
|
export declare interface IAGModal {
|
|
3231
|
+
inline: Ref<boolean>;
|
|
1759
3232
|
cancellable: Ref<boolean>;
|
|
1760
3233
|
close(result?: unknown): Promise<void>;
|
|
1761
3234
|
}
|
|
@@ -1775,6 +3248,8 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1775
3248
|
|
|
1776
3249
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1777
3250
|
|
|
3251
|
+
export declare const inputEmits: readonly ["update:modelValue"];
|
|
3252
|
+
|
|
1778
3253
|
export declare const inputProps: {
|
|
1779
3254
|
name: {
|
|
1780
3255
|
type?: PropType<string | null> | undefined;
|
|
@@ -1804,11 +3279,44 @@ export declare const inputProps: {
|
|
|
1804
3279
|
|
|
1805
3280
|
export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
|
|
1806
3281
|
|
|
1807
|
-
export declare abstract class Job {
|
|
1808
|
-
|
|
3282
|
+
export declare abstract class Job<Listener extends JobListener = JobListener, Status extends JobStatus = JobStatus, SerializedStatus extends JobStatus = JobStatus> {
|
|
3283
|
+
protected status: Status;
|
|
3284
|
+
protected _listeners: ListenersManager<JobListener>;
|
|
3285
|
+
protected _progress?: number;
|
|
3286
|
+
protected _cancelled?: PromisedValue<void>;
|
|
3287
|
+
protected _started: PromisedValue<void>;
|
|
3288
|
+
protected _completed: PromisedValue<void>;
|
|
3289
|
+
constructor();
|
|
3290
|
+
start(): Promise<void>;
|
|
3291
|
+
cancel(): Promise<void>;
|
|
3292
|
+
serialize(): SerializedStatus;
|
|
3293
|
+
get listeners(): Listeners<Listener>;
|
|
3294
|
+
get progress(): number;
|
|
3295
|
+
get cancelled(): boolean;
|
|
3296
|
+
get started(): Promise<void>;
|
|
3297
|
+
get completed(): Promise<void>;
|
|
3298
|
+
protected abstract run(): Promise<void>;
|
|
3299
|
+
protected getInitialStatus(): Status;
|
|
3300
|
+
protected beforeStart(): void;
|
|
3301
|
+
protected assertNotCancelled(): void;
|
|
3302
|
+
protected calculateCurrentProgress(status?: JobStatus): number;
|
|
3303
|
+
protected updateProgress(update?: (status: Status) => unknown): Promise<void>;
|
|
3304
|
+
protected serializeStatus(status: Status): SerializedStatus;
|
|
3305
|
+
}
|
|
3306
|
+
|
|
3307
|
+
export declare class JobCancelledError extends JSError {
|
|
1809
3308
|
}
|
|
1810
3309
|
|
|
1811
|
-
export declare
|
|
3310
|
+
export declare interface JobListener {
|
|
3311
|
+
onUpdated?(progress: number): unknown;
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
export declare interface JobStatus {
|
|
3315
|
+
completed: boolean;
|
|
3316
|
+
children?: JobStatus[];
|
|
3317
|
+
}
|
|
3318
|
+
|
|
3319
|
+
export declare const Lang: Facade<LangService>;
|
|
1812
3320
|
|
|
1813
3321
|
export declare interface LangProvider {
|
|
1814
3322
|
getLocale(): string;
|
|
@@ -1839,15 +3347,35 @@ export declare const Layouts: {
|
|
|
1839
3347
|
readonly Desktop: "desktop";
|
|
1840
3348
|
};
|
|
1841
3349
|
|
|
3350
|
+
export declare function listenerProp<T extends Function = Function>(): OptionalProp<T | null>;
|
|
3351
|
+
|
|
1842
3352
|
export declare const loadingModalProps: {
|
|
3353
|
+
title: {
|
|
3354
|
+
type?: PropType<string | null> | undefined;
|
|
3355
|
+
validator?(value: unknown): boolean;
|
|
3356
|
+
} & {
|
|
3357
|
+
default: string | (() => string | null) | null;
|
|
3358
|
+
};
|
|
1843
3359
|
message: {
|
|
1844
3360
|
type?: PropType<string | null> | undefined;
|
|
1845
3361
|
validator?(value: unknown): boolean;
|
|
1846
3362
|
} & {
|
|
1847
3363
|
default: string | (() => string | null) | null;
|
|
1848
3364
|
};
|
|
3365
|
+
progress: {
|
|
3366
|
+
type?: PropType<number | null> | undefined;
|
|
3367
|
+
validator?(value: unknown): boolean;
|
|
3368
|
+
} & {
|
|
3369
|
+
default: number | (() => number | null) | null;
|
|
3370
|
+
};
|
|
1849
3371
|
};
|
|
1850
3372
|
|
|
3373
|
+
export declare type LoadingOptions = AcceptRefs<{
|
|
3374
|
+
title?: string;
|
|
3375
|
+
message?: string;
|
|
3376
|
+
progress?: number;
|
|
3377
|
+
}>;
|
|
3378
|
+
|
|
1851
3379
|
export declare type MeasureDirectiveListener = (size: ElementSize) => unknown;
|
|
1852
3380
|
|
|
1853
3381
|
export declare function mixedProp<T>(type?: PropType<T>): OptionalProp<T | null>;
|
|
@@ -1876,6 +3404,12 @@ export declare const modalProps: {
|
|
|
1876
3404
|
} & {
|
|
1877
3405
|
default: boolean | (() => boolean) | null;
|
|
1878
3406
|
};
|
|
3407
|
+
inline: {
|
|
3408
|
+
type?: PropType<boolean> | undefined;
|
|
3409
|
+
validator?(value: unknown): boolean;
|
|
3410
|
+
} & {
|
|
3411
|
+
default: boolean | (() => boolean) | null;
|
|
3412
|
+
};
|
|
1879
3413
|
title: {
|
|
1880
3414
|
type?: PropType<string | null> | undefined;
|
|
1881
3415
|
validator?(value: unknown): boolean;
|
|
@@ -1886,7 +3420,9 @@ export declare const modalProps: {
|
|
|
1886
3420
|
|
|
1887
3421
|
declare type ModalResult<TComponent> = TComponent extends ModalComponent<Record<string, unknown>, infer TResult> ? TResult : never;
|
|
1888
3422
|
|
|
1889
|
-
export declare function numberInput(defaultValue?: number
|
|
3423
|
+
export declare function numberInput(defaultValue?: number, options?: {
|
|
3424
|
+
rules?: string;
|
|
3425
|
+
}): FormFieldDefinition<typeof FormFieldTypes.Number>;
|
|
1890
3426
|
|
|
1891
3427
|
export declare function numberProp(): OptionalProp<number | null>;
|
|
1892
3428
|
|
|
@@ -1906,6 +3442,8 @@ declare type OptionalProp<T> = BaseProp<T> & {
|
|
|
1906
3442
|
default: T | (() => T) | null;
|
|
1907
3443
|
};
|
|
1908
3444
|
|
|
3445
|
+
export declare function persistent<T extends object>(name: string, defaults: T): UnwrapNestedRefs<T>;
|
|
3446
|
+
|
|
1909
3447
|
declare interface Plugin_2 {
|
|
1910
3448
|
name?: string;
|
|
1911
3449
|
install(app: App_2, options: AerogelOptions): void | Promise<void>;
|
|
@@ -1950,10 +3488,10 @@ export declare const promptModalProps: {
|
|
|
1950
3488
|
default: string | (() => string | null) | null;
|
|
1951
3489
|
};
|
|
1952
3490
|
acceptColor: {
|
|
1953
|
-
type?: PropType<"
|
|
3491
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1954
3492
|
validator?(value: unknown): boolean;
|
|
1955
3493
|
} & {
|
|
1956
|
-
default: "
|
|
3494
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1957
3495
|
};
|
|
1958
3496
|
cancelText: {
|
|
1959
3497
|
type?: PropType<string | null> | undefined;
|
|
@@ -1962,14 +3500,14 @@ export declare const promptModalProps: {
|
|
|
1962
3500
|
default: string | (() => string | null) | null;
|
|
1963
3501
|
};
|
|
1964
3502
|
cancelColor: {
|
|
1965
|
-
type?: PropType<"
|
|
3503
|
+
type?: PropType<"clear" | "primary" | "secondary" | "danger"> | undefined;
|
|
1966
3504
|
validator?(value: unknown): boolean;
|
|
1967
3505
|
} & {
|
|
1968
|
-
default: "
|
|
3506
|
+
default: "clear" | "primary" | "secondary" | "danger" | (() => "clear" | "primary" | "secondary" | "danger") | null;
|
|
1969
3507
|
};
|
|
1970
3508
|
};
|
|
1971
3509
|
|
|
1972
|
-
export declare
|
|
3510
|
+
export declare type PromptOptions = AcceptRefs<{
|
|
1973
3511
|
label?: string;
|
|
1974
3512
|
defaultValue?: string;
|
|
1975
3513
|
placeholder?: string;
|
|
@@ -1978,10 +3516,22 @@ export declare interface PromptOptions {
|
|
|
1978
3516
|
cancelText?: string;
|
|
1979
3517
|
cancelColor?: Color;
|
|
1980
3518
|
trim?: boolean;
|
|
1981
|
-
}
|
|
3519
|
+
}>;
|
|
3520
|
+
|
|
3521
|
+
export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
|
|
3522
|
+
|
|
3523
|
+
export declare function registerErrorHandler(handler: ErrorHandler_2): void;
|
|
1982
3524
|
|
|
1983
3525
|
export declare function removeInteractiveClasses(classes: string): string;
|
|
1984
3526
|
|
|
3527
|
+
export declare function renderMarkdown(markdown: string): string;
|
|
3528
|
+
|
|
3529
|
+
export declare type Replace<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>> = {
|
|
3530
|
+
[K in keyof TOriginal]: TReplacements extends Record<K, infer Replacement> ? Replacement : TOriginal[K];
|
|
3531
|
+
};
|
|
3532
|
+
|
|
3533
|
+
export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
|
|
3534
|
+
|
|
1985
3535
|
export declare function requiredArrayProp<T>(): RequiredProp<T[]>;
|
|
1986
3536
|
|
|
1987
3537
|
export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<typeof FormFieldTypes.Boolean, 'required'>;
|
|
@@ -2008,6 +3558,8 @@ export declare function requiredStringProp(): RequiredProp<string>;
|
|
|
2008
3558
|
|
|
2009
3559
|
export declare function resetPiniaStore(): Pinia;
|
|
2010
3560
|
|
|
3561
|
+
export declare function safeHtml(html: string): string;
|
|
3562
|
+
|
|
2011
3563
|
export declare const selectEmits: readonly ["update:modelValue"];
|
|
2012
3564
|
|
|
2013
3565
|
export declare const selectProps: {
|
|
@@ -2043,14 +3595,17 @@ export declare const selectProps: {
|
|
|
2043
3595
|
};
|
|
2044
3596
|
};
|
|
2045
3597
|
|
|
2046
|
-
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage
|
|
3598
|
+
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2047
3599
|
static persist: string[];
|
|
2048
3600
|
protected _name: string;
|
|
2049
3601
|
private _booted;
|
|
2050
3602
|
private _computedStateKeys;
|
|
3603
|
+
private _watchers;
|
|
2051
3604
|
private _store;
|
|
2052
3605
|
constructor();
|
|
2053
3606
|
get booted(): PromisedValue<void>;
|
|
3607
|
+
static<T extends typeof Service>(): T;
|
|
3608
|
+
static<T extends typeof Service, K extends keyof T>(property: K): T[K];
|
|
2054
3609
|
launch(): Promise<void>;
|
|
2055
3610
|
hasPersistedState(): boolean;
|
|
2056
3611
|
hasState<P extends keyof State>(property: P): boolean;
|
|
@@ -2058,39 +3613,50 @@ export declare class Service<State extends ServiceState = DefaultServiceState, C
|
|
|
2058
3613
|
getState<P extends keyof State>(property: P): State[P];
|
|
2059
3614
|
setState<P extends keyof State>(property: P, value: State[P]): void;
|
|
2060
3615
|
setState(state: Partial<State>): void;
|
|
3616
|
+
updatePersistedState<T extends keyof State>(key: T): void;
|
|
3617
|
+
updatePersistedState<T extends keyof State>(keys: T[]): void;
|
|
2061
3618
|
protected __get(property: string): unknown;
|
|
2062
3619
|
protected __set(property: string, value: unknown): void;
|
|
2063
|
-
protected onStateUpdated(
|
|
3620
|
+
protected onStateUpdated(update: Partial<State>, old: Partial<State>): void;
|
|
3621
|
+
protected onPersistentStateUpdated(persisted: Partial<State>): void;
|
|
2064
3622
|
protected usesStore(): boolean;
|
|
2065
3623
|
protected getName(): string | null;
|
|
2066
3624
|
protected getInitialState(): State;
|
|
2067
3625
|
protected getComputedStateDefinition(): ComputedStateDefinition<State, ComputedState>;
|
|
2068
|
-
protected
|
|
3626
|
+
protected getStateWatchers(): StateWatchers<Service, State>;
|
|
3627
|
+
protected serializePersistedState(state: Partial<State>): ServiceStorage;
|
|
3628
|
+
protected deserializePersistedState(state: ServiceStorage): Partial<State>;
|
|
2069
3629
|
protected frameworkBoot(): Promise<void>;
|
|
2070
3630
|
protected boot(): Promise<void>;
|
|
2071
|
-
protected
|
|
3631
|
+
protected restorePersistedState(): void;
|
|
2072
3632
|
protected requireStore(): Store<string, State, ComputedState, {}>;
|
|
2073
3633
|
}
|
|
2074
3634
|
|
|
3635
|
+
export declare class ServiceBootError extends JSError {
|
|
3636
|
+
constructor(serviceNamespace: string, cause: unknown);
|
|
3637
|
+
}
|
|
3638
|
+
|
|
2075
3639
|
export declare type ServiceConstructor<T extends Service = Service> = Constructor<T> & typeof Service;
|
|
2076
3640
|
|
|
2077
3641
|
export declare interface Services extends DefaultServices {
|
|
2078
3642
|
}
|
|
2079
3643
|
|
|
2080
3644
|
declare const services: {
|
|
2081
|
-
$errors: Facade<ErrorsService
|
|
3645
|
+
$errors: Facade<ErrorsService>;
|
|
2082
3646
|
};
|
|
2083
3647
|
|
|
2084
3648
|
declare const services_2: {
|
|
2085
|
-
$lang: Facade<LangService
|
|
3649
|
+
$lang: Facade<LangService>;
|
|
2086
3650
|
};
|
|
2087
3651
|
|
|
2088
3652
|
declare const services_3: {
|
|
2089
|
-
$ui: Facade<UIService
|
|
3653
|
+
$ui: Facade<UIService>;
|
|
2090
3654
|
};
|
|
2091
3655
|
|
|
2092
3656
|
export declare type ServiceState = Record<string, any>;
|
|
2093
3657
|
|
|
3658
|
+
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>>>;
|
|
3659
|
+
|
|
2094
3660
|
export declare interface ShowSnackbarOptions {
|
|
2095
3661
|
component?: Component;
|
|
2096
3662
|
color?: SnackbarColor;
|
|
@@ -2145,7 +3711,20 @@ export declare const snackbarProps: {
|
|
|
2145
3711
|
};
|
|
2146
3712
|
};
|
|
2147
3713
|
|
|
2148
|
-
export declare
|
|
3714
|
+
export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
|
|
3715
|
+
[K in keyof TState]?: (this: TService, value: TState[K], oldValue: TState[K]) => unknown;
|
|
3716
|
+
};
|
|
3717
|
+
|
|
3718
|
+
declare const Storage_2: Facade<StorageService>;
|
|
3719
|
+
export { Storage_2 as Storage }
|
|
3720
|
+
|
|
3721
|
+
declare class StorageService extends Service {
|
|
3722
|
+
purge(): Promise<void>;
|
|
3723
|
+
}
|
|
3724
|
+
|
|
3725
|
+
export declare function stringInput(defaultValue?: string, options?: {
|
|
3726
|
+
rules?: string;
|
|
3727
|
+
}): FormFieldDefinition<typeof FormFieldTypes.String>;
|
|
2149
3728
|
|
|
2150
3729
|
export declare function stringProp(): OptionalProp<string | null>;
|
|
2151
3730
|
|
|
@@ -2153,11 +3732,11 @@ export declare function stringProp(defaultValue: string): OptionalProp<string>;
|
|
|
2153
3732
|
|
|
2154
3733
|
export declare type SubmitFormListener = () => unknown;
|
|
2155
3734
|
|
|
2156
|
-
export declare const translate: (key: string, parameters?:
|
|
3735
|
+
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
2157
3736
|
|
|
2158
|
-
export declare const translateWithDefault: (key: string, defaultMessage: string, parameters?:
|
|
3737
|
+
export declare const translateWithDefault: (key: string, defaultMessage: string, parameters?: Record<string, unknown> | number) => string;
|
|
2159
3738
|
|
|
2160
|
-
export declare const UI: Facade<UIService
|
|
3739
|
+
export declare const UI: Facade<UIService>;
|
|
2161
3740
|
|
|
2162
3741
|
export declare type UIComponent = ObjectValues<typeof UIComponents>;
|
|
2163
3742
|
|
|
@@ -2179,27 +3758,32 @@ export declare class UIService extends _default_4 {
|
|
|
2179
3758
|
alert(title: string, message: string): void;
|
|
2180
3759
|
confirm(message: string, options?: ConfirmOptions): Promise<boolean>;
|
|
2181
3760
|
confirm(title: string, message: string, options?: ConfirmOptions): Promise<boolean>;
|
|
3761
|
+
confirm<T extends ConfirmCheckboxes>(message: string, options?: ConfirmOptionsWithCheckboxes<T>): Promise<[boolean, Record<keyof T, boolean>]>;
|
|
3762
|
+
confirm<T extends ConfirmCheckboxes>(title: string, message: string, options?: ConfirmOptionsWithCheckboxes<T>): Promise<[boolean, Record<keyof T, boolean>]>;
|
|
2182
3763
|
prompt(message: string, options?: PromptOptions): Promise<string | null>;
|
|
2183
3764
|
prompt(title: string, message: string, options?: PromptOptions): Promise<string | null>;
|
|
2184
3765
|
loading<T>(operation: Promise<T> | (() => T)): Promise<T>;
|
|
2185
3766
|
loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
|
|
3767
|
+
loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
|
|
2186
3768
|
showSnackbar(message: string, options?: ShowSnackbarOptions): void;
|
|
2187
3769
|
hideSnackbar(id: string): void;
|
|
2188
3770
|
registerComponent(name: UIComponent, component: Component): void;
|
|
2189
3771
|
openModal<TModalComponent extends ModalComponent>(component: TModalComponent, properties?: ModalProperties<TModalComponent>): Promise<Modal<ModalResult<TModalComponent>>>;
|
|
2190
3772
|
closeModal(id: string, result?: unknown): Promise<void>;
|
|
3773
|
+
closeAllModals(): Promise<void>;
|
|
2191
3774
|
protected boot(): Promise<void>;
|
|
3775
|
+
private removeModal;
|
|
2192
3776
|
private watchModalEvents;
|
|
2193
3777
|
private watchMountedEvent;
|
|
2194
|
-
private
|
|
3778
|
+
private watchViewportBreakpoints;
|
|
2195
3779
|
}
|
|
2196
3780
|
|
|
2197
3781
|
export declare type UIServices = typeof services_3;
|
|
2198
3782
|
|
|
2199
3783
|
export declare type UnknownEvent<T> = T extends keyof EventsPayload ? never : T;
|
|
2200
3784
|
|
|
2201
|
-
export declare type
|
|
2202
|
-
[K in keyof
|
|
3785
|
+
export declare type Unref<T> = {
|
|
3786
|
+
[K in keyof T]: T[K] extends MaybeRef<infer Value> ? Value : T[K];
|
|
2203
3787
|
};
|
|
2204
3788
|
|
|
2205
3789
|
export declare function useAlertModalProps(): typeof alertModalProps;
|
|
@@ -2212,7 +3796,7 @@ export declare function useConfirmModal(props: ExtractPropTypes<typeof confirmMo
|
|
|
2212
3796
|
export declare function useConfirmModalProps(): typeof confirmModalProps;
|
|
2213
3797
|
|
|
2214
3798
|
export declare function useErrorReportModal(props: ExtractPropTypes<typeof errorReportModalProps>): {
|
|
2215
|
-
activeReportIndex: Ref<number>;
|
|
3799
|
+
activeReportIndex: Ref<number, number>;
|
|
2216
3800
|
details: ComputedRef<string>;
|
|
2217
3801
|
nextReportText: string;
|
|
2218
3802
|
previousReportText: string;
|
|
@@ -2233,10 +3817,13 @@ export declare function useForm<const T extends FormFieldDefinitions>(fields: T)
|
|
|
2233
3817
|
|
|
2234
3818
|
export declare function useInputAttrs(): [ComputedRef<{}>, ComputedRef<unknown>];
|
|
2235
3819
|
|
|
3820
|
+
export declare function useInputEmits(): Writable<typeof inputEmits>;
|
|
3821
|
+
|
|
2236
3822
|
export declare function useInputProps(): typeof inputProps;
|
|
2237
3823
|
|
|
2238
3824
|
export declare function useLoadingModal(props: ExtractPropTypes<typeof loadingModalProps>): {
|
|
2239
3825
|
renderedMessage: ComputedRef<string>;
|
|
3826
|
+
showProgress: ComputedRef<boolean>;
|
|
2240
3827
|
};
|
|
2241
3828
|
|
|
2242
3829
|
export declare function useLoadingModalProps(): typeof loadingModalProps;
|
|
@@ -2262,28 +3849,46 @@ export declare function useSnackbar(props: ExtractPropTypes<typeof snackbarProps
|
|
|
2262
3849
|
|
|
2263
3850
|
export declare function useSnackbarProps(): typeof snackbarProps;
|
|
2264
3851
|
|
|
3852
|
+
export declare function validate(value: unknown, rule: string): string[];
|
|
3853
|
+
|
|
3854
|
+
export declare const validators: Record<string, FormFieldValidator>;
|
|
3855
|
+
|
|
2265
3856
|
export { }
|
|
2266
3857
|
|
|
2267
|
-
|
|
3858
|
+
|
|
3859
|
+
declare module '@aerogel/core' {
|
|
3860
|
+
interface EventsPayload {
|
|
2268
3861
|
'application-ready': void;
|
|
2269
3862
|
'application-mounted': void;
|
|
2270
3863
|
}
|
|
3864
|
+
}
|
|
2271
3865
|
|
|
2272
|
-
|
|
3866
|
+
|
|
3867
|
+
declare module '@aerogel/core' {
|
|
3868
|
+
interface AerogelOptions {
|
|
2273
3869
|
directives?: Record<string, Directive>;
|
|
2274
3870
|
}
|
|
3871
|
+
}
|
|
2275
3872
|
|
|
2276
|
-
export interface EventsPayload {
|
|
2277
|
-
error: { error: ErrorSource; message?: string };
|
|
2278
|
-
}
|
|
2279
3873
|
|
|
2280
|
-
|
|
3874
|
+
declare module '@aerogel/core' {
|
|
3875
|
+
interface AerogelOptions {
|
|
2281
3876
|
handleError?(error: ErrorSource): boolean;
|
|
2282
3877
|
}
|
|
3878
|
+
}
|
|
3879
|
+
|
|
3880
|
+
|
|
3881
|
+
declare module '@aerogel/core' {
|
|
3882
|
+
interface Services extends ErrorsServices {
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
2283
3885
|
|
|
2284
|
-
export interface Services extends ErrorsServices {}
|
|
2285
3886
|
|
|
2286
|
-
|
|
3887
|
+
declare module '@aerogel/core' {
|
|
3888
|
+
interface Services extends LangServices {
|
|
3889
|
+
}
|
|
3890
|
+
}
|
|
3891
|
+
|
|
2287
3892
|
|
|
2288
3893
|
declare module '@vue/runtime-core' {
|
|
2289
3894
|
interface ComponentCustomProperties {
|
|
@@ -2291,36 +3896,81 @@ declare module '@vue/runtime-core' {
|
|
|
2291
3896
|
}
|
|
2292
3897
|
}
|
|
2293
3898
|
|
|
2294
|
-
declare global {
|
|
2295
|
-
// eslint-disable-next-line no-var
|
|
2296
|
-
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2297
|
-
}
|
|
2298
3899
|
|
|
2299
|
-
|
|
3900
|
+
declare module '@aerogel/core' {
|
|
3901
|
+
interface AerogelOptions {
|
|
2300
3902
|
services?: Record<string, Service>;
|
|
2301
3903
|
}
|
|
3904
|
+
}
|
|
3905
|
+
|
|
2302
3906
|
|
|
2303
3907
|
declare module '@vue/runtime-core' {
|
|
2304
|
-
interface ComponentCustomProperties extends Services {
|
|
3908
|
+
interface ComponentCustomProperties extends Services {
|
|
3909
|
+
}
|
|
2305
3910
|
}
|
|
2306
3911
|
|
|
3912
|
+
|
|
2307
3913
|
declare global {
|
|
2308
|
-
// eslint-disable-next-line no-var
|
|
2309
3914
|
var testingRuntime: AerogelTestingRuntime | undefined;
|
|
2310
3915
|
}
|
|
2311
3916
|
|
|
2312
|
-
export interface EventsPayload {
|
|
2313
|
-
'close-modal': { id: string; result?: unknown };
|
|
2314
|
-
'hide-modal': { id: string };
|
|
2315
|
-
'hide-overlays-backdrop': void;
|
|
2316
|
-
'modal-closed': { modal: Modal; result?: unknown };
|
|
2317
|
-
'modal-will-close': { modal: Modal; result?: unknown };
|
|
2318
|
-
'show-modal': { id: string };
|
|
2319
|
-
'show-overlays-backdrop': void;
|
|
2320
|
-
}
|
|
2321
3917
|
|
|
2322
|
-
|
|
3918
|
+
declare module '@aerogel/core' {
|
|
3919
|
+
interface AerogelOptions {
|
|
2323
3920
|
components?: Partial<Record<UIComponent, Component>>;
|
|
2324
3921
|
}
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3924
|
+
|
|
3925
|
+
declare module '@aerogel/core' {
|
|
3926
|
+
interface Services extends UIServices {
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
|
|
3930
|
+
|
|
3931
|
+
declare global {
|
|
3932
|
+
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
|
|
3936
|
+
declare module '@aerogel/core' {
|
|
3937
|
+
interface EventsPayload {
|
|
3938
|
+
error: {
|
|
3939
|
+
error: ErrorSource;
|
|
3940
|
+
message?: string;
|
|
3941
|
+
};
|
|
3942
|
+
}
|
|
3943
|
+
}
|
|
3944
|
+
|
|
3945
|
+
|
|
3946
|
+
declare module '@aerogel/core' {
|
|
3947
|
+
interface EventsPayload {
|
|
3948
|
+
'purge-storage': void;
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
|
|
2325
3952
|
|
|
2326
|
-
|
|
3953
|
+
declare module '@aerogel/core' {
|
|
3954
|
+
interface EventsPayload {
|
|
3955
|
+
'close-modal': {
|
|
3956
|
+
id: string;
|
|
3957
|
+
result?: unknown;
|
|
3958
|
+
};
|
|
3959
|
+
'hide-modal': {
|
|
3960
|
+
id: string;
|
|
3961
|
+
};
|
|
3962
|
+
'hide-overlays-backdrop': void;
|
|
3963
|
+
'modal-closed': {
|
|
3964
|
+
modal: Modal;
|
|
3965
|
+
result?: unknown;
|
|
3966
|
+
};
|
|
3967
|
+
'modal-will-close': {
|
|
3968
|
+
modal: Modal;
|
|
3969
|
+
result?: unknown;
|
|
3970
|
+
};
|
|
3971
|
+
'show-modal': {
|
|
3972
|
+
id: string;
|
|
3973
|
+
};
|
|
3974
|
+
'show-overlays-backdrop': void;
|
|
3975
|
+
}
|
|
3976
|
+
}
|