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