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