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