@aerogel/core 0.1.1 → 0.1.2-next.faf07b8323db56fdfa807f3b9ffa8af276fdf288
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.css +1 -1
- package/dist/aerogel-core.d.ts +539 -317
- package/dist/aerogel-core.js +2216 -1824
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +9 -3
- package/src/bootstrap/index.ts +2 -1
- package/src/components/AppLayout.vue +1 -1
- package/src/components/AppOverlays.vue +3 -2
- package/src/components/contracts/AlertModal.ts +1 -1
- package/src/components/contracts/Button.ts +1 -1
- package/src/components/contracts/Combobox.ts +5 -0
- package/src/components/contracts/ConfirmModal.ts +5 -2
- package/src/components/contracts/Modal.ts +8 -3
- package/src/components/contracts/PromptModal.ts +6 -2
- package/src/components/contracts/Select.ts +98 -4
- package/src/components/contracts/Toast.ts +1 -1
- package/src/components/contracts/index.ts +1 -0
- package/src/components/headless/HeadlessInputInput.vue +27 -5
- package/src/components/headless/HeadlessModal.vue +6 -34
- package/src/components/headless/HeadlessModalContent.vue +5 -12
- package/src/components/headless/HeadlessSelect.vue +10 -91
- package/src/components/headless/HeadlessSelectOption.vue +1 -5
- package/src/components/index.ts +1 -1
- package/src/components/ui/AdvancedOptions.vue +4 -13
- package/src/components/ui/Button.vue +1 -0
- package/src/components/ui/Combobox.vue +94 -0
- package/src/components/ui/ComboboxLabel.vue +29 -0
- package/src/components/ui/ComboboxOption.vue +46 -0
- package/src/components/ui/ComboboxOptions.vue +71 -0
- package/src/components/ui/ComboboxTrigger.vue +67 -0
- package/src/components/ui/ConfirmModal.vue +7 -2
- package/src/components/ui/Details.vue +33 -0
- package/src/components/ui/Form.vue +1 -1
- package/src/components/ui/Input.vue +12 -4
- package/src/components/ui/LoadingModal.vue +1 -2
- package/src/components/ui/Modal.vue +59 -34
- package/src/components/ui/ProgressBar.vue +16 -2
- package/src/components/ui/PromptModal.vue +7 -2
- package/src/components/ui/Select.vue +2 -0
- package/src/components/ui/SelectTrigger.vue +13 -2
- package/src/components/ui/SettingsModal.vue +1 -1
- package/src/components/ui/Toast.vue +1 -0
- package/src/components/ui/index.ts +6 -1
- package/src/components/vue/Provide.vue +11 -0
- package/src/components/vue/index.ts +1 -0
- package/src/directives/index.ts +7 -7
- package/src/errors/Errors.ts +4 -0
- package/src/errors/index.ts +5 -0
- package/src/forms/FormController.test.ts +4 -4
- package/src/forms/FormController.ts +23 -13
- package/src/forms/index.ts +11 -0
- package/src/forms/utils.ts +36 -17
- package/src/forms/validation.ts +5 -1
- package/src/index.css +10 -0
- package/src/jobs/Job.ts +1 -1
- package/src/plugins/index.ts +1 -3
- package/src/services/App.state.ts +1 -0
- package/src/services/App.ts +4 -0
- package/src/services/index.ts +7 -0
- package/src/testing/index.ts +1 -2
- package/src/ui/UI.state.ts +0 -11
- package/src/ui/UI.ts +43 -125
- package/src/ui/index.ts +1 -0
- package/src/ui/modals.ts +36 -0
- package/src/utils/classes.ts +2 -3
- package/src/utils/composition/reactiveSet.test.ts +32 -0
- package/src/utils/composition/reactiveSet.ts +61 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/time.ts +7 -0
- package/src/components/AppModals.vue +0 -14
- package/src/components/ui/ModalContext.vue +0 -31
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -3,20 +3,22 @@ import { AllowedComponentProps } from 'vue';
|
|
|
3
3
|
import { App as App_2 } from 'vue';
|
|
4
4
|
import { AsTag } from 'reka-ui';
|
|
5
5
|
import { ClassValue } from 'clsx';
|
|
6
|
-
import {
|
|
6
|
+
import { closeModal } from '@noeldemartin/vue-modals';
|
|
7
|
+
import { ComboboxGroupProps } from 'reka-ui';
|
|
8
|
+
import { ComboboxItemProps } from 'reka-ui';
|
|
7
9
|
import { Component } from 'vue';
|
|
8
10
|
import { ComponentCustomProperties } from 'vue';
|
|
9
11
|
import { ComponentCustomProps } from 'vue';
|
|
10
|
-
import { ComponentExposed } from 'vue-component-type-helpers';
|
|
11
12
|
import { ComponentInternalInstance } from 'vue';
|
|
12
13
|
import { ComponentOptionsBase } from 'vue';
|
|
13
14
|
import { ComponentOptionsMixin } from 'vue';
|
|
14
|
-
import { ComponentProps } from 'vue-component-type-helpers';
|
|
15
15
|
import { ComponentProvideOptions } from 'vue';
|
|
16
16
|
import { ComponentPublicInstance } from 'vue';
|
|
17
17
|
import { ComputedGetter } from 'vue';
|
|
18
|
+
import { ComputedOptions } from 'vue';
|
|
18
19
|
import { ComputedRef } from 'vue';
|
|
19
20
|
import { Constructor } from '@noeldemartin/utils';
|
|
21
|
+
import { createModal } from '@noeldemartin/vue-modals';
|
|
20
22
|
import { cva } from 'class-variance-authority';
|
|
21
23
|
import { DebuggerEvent } from 'vue';
|
|
22
24
|
import { DeepReadonly } from 'vue';
|
|
@@ -29,24 +31,33 @@ import { DialogOverlayProps } from 'reka-ui';
|
|
|
29
31
|
import { DialogTitleProps } from 'reka-ui';
|
|
30
32
|
import { Directive } from 'vue';
|
|
31
33
|
import { DropdownMenuContentProps } from 'reka-ui';
|
|
34
|
+
import { EmitFn } from 'vue';
|
|
32
35
|
import { Facade } from '@noeldemartin/utils';
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
36
|
+
import { FocusOutsideEvent } from 'reka-ui';
|
|
37
|
+
import { GetModalProps } from '@noeldemartin/vue-modals';
|
|
38
|
+
import { GetModalResponse } from '@noeldemartin/vue-modals';
|
|
35
39
|
import { _GettersTree } from 'pinia';
|
|
36
40
|
import { GlobalComponents } from 'vue';
|
|
37
41
|
import { GlobalDirectives } from 'vue';
|
|
38
42
|
import { HTMLAttributes } from 'vue';
|
|
39
43
|
import { InjectionKey } from 'vue';
|
|
44
|
+
import { injectModal } from '@noeldemartin/vue-modals';
|
|
40
45
|
import { JSError } from '@noeldemartin/utils';
|
|
41
46
|
import { LabelProps } from 'reka-ui';
|
|
42
47
|
import { Listeners } from '@noeldemartin/utils';
|
|
43
48
|
import { ListenersManager } from '@noeldemartin/utils';
|
|
44
49
|
import { MagicObject } from '@noeldemartin/utils';
|
|
45
50
|
import { MaybeRef } from 'vue';
|
|
51
|
+
import { MethodOptions } from 'vue';
|
|
52
|
+
import { ModalComponent } from '@noeldemartin/vue-modals';
|
|
53
|
+
import { ModalController } from '@noeldemartin/vue-modals';
|
|
54
|
+
import { modals } from '@noeldemartin/vue-modals';
|
|
55
|
+
import { ModalsPortal } from '@noeldemartin/vue-modals';
|
|
46
56
|
import { nextTick } from 'vue';
|
|
47
57
|
import { Nullable } from '@noeldemartin/utils';
|
|
48
58
|
import { OnCleanup } from '@vue/reactivity';
|
|
49
59
|
import { Pinia } from 'pinia';
|
|
60
|
+
import { PointerDownOutsideEvent } from 'reka-ui';
|
|
50
61
|
import { PrimitiveProps } from 'reka-ui';
|
|
51
62
|
import { PromisedValue } from '@noeldemartin/utils';
|
|
52
63
|
import { PropType } from 'vue';
|
|
@@ -55,6 +66,7 @@ import { Ref } from 'vue';
|
|
|
55
66
|
import { SelectContentProps } from 'reka-ui';
|
|
56
67
|
import { SelectItemProps } from 'reka-ui';
|
|
57
68
|
import { ShallowUnwrapRef } from 'vue';
|
|
69
|
+
import { showModal } from '@noeldemartin/vue-modals';
|
|
58
70
|
import { Slot } from 'vue';
|
|
59
71
|
import { StateTree } from 'pinia';
|
|
60
72
|
import { Store } from 'pinia';
|
|
@@ -153,7 +165,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
|
|
|
153
165
|
as?: string;
|
|
154
166
|
}> & Readonly<{
|
|
155
167
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
156
|
-
}>, "id" | "value" | "name" | "description" | "
|
|
168
|
+
}>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
157
169
|
id: string;
|
|
158
170
|
name: ComputedRef<string | undefined>;
|
|
159
171
|
label: ComputedRef<string | undefined>;
|
|
@@ -169,49 +181,53 @@ default?(_: {}): any;
|
|
|
169
181
|
}) | null;
|
|
170
182
|
}, any>;
|
|
171
183
|
|
|
172
|
-
declare const __VLS_component_19: DefineComponent<
|
|
184
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
185
|
+
|
|
186
|
+
declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
187
|
+
|
|
188
|
+
declare const __VLS_component_20: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
189
|
+
select: () => any;
|
|
190
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
191
|
+
onSelect?: (() => any) | undefined;
|
|
192
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
193
|
+
|
|
194
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
|
|
195
|
+
|
|
196
|
+
declare const __VLS_component_22: DefineComponent<DropdownMenuProps, {
|
|
173
197
|
align: "start" | "center" | "end" | undefined;
|
|
174
198
|
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
175
199
|
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
176
200
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
177
201
|
|
|
178
|
-
declare const
|
|
179
|
-
|
|
180
|
-
declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
202
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
181
203
|
select: () => any;
|
|
182
|
-
}, string, PublicProps, Readonly<
|
|
204
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
183
205
|
onSelect?: (() => any) | undefined;
|
|
184
206
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
185
207
|
|
|
186
|
-
declare const
|
|
208
|
+
declare const __VLS_component_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
187
209
|
|
|
188
|
-
declare const
|
|
210
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
189
211
|
update: (value: string | number) => any;
|
|
190
212
|
save: () => any;
|
|
191
|
-
}, string, PublicProps, Readonly<
|
|
213
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
192
214
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
193
215
|
onSave?: (() => any) | undefined;
|
|
194
216
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
195
217
|
$inputRef: HTMLInputElement;
|
|
196
218
|
}, HTMLDivElement>;
|
|
197
219
|
|
|
198
|
-
declare const
|
|
220
|
+
declare const __VLS_component_26: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
199
221
|
|
|
200
|
-
declare const
|
|
222
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
201
223
|
submit: () => any;
|
|
202
|
-
}, string, PublicProps, Readonly<
|
|
224
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
203
225
|
onSubmit?: (() => any) | undefined;
|
|
204
226
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
205
227
|
|
|
206
|
-
declare const
|
|
207
|
-
|
|
208
|
-
declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
209
|
-
|
|
210
|
-
declare const __VLS_component_27: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
228
|
+
declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
211
229
|
|
|
212
|
-
declare const
|
|
213
|
-
|
|
214
|
-
declare const __VLS_component_29: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
230
|
+
declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
215
231
|
|
|
216
232
|
declare const __VLS_component_3: DefineComponent<__VLS_Props, {
|
|
217
233
|
id: string;
|
|
@@ -228,7 +244,15 @@ update(value: unknown): void;
|
|
|
228
244
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
229
245
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
230
246
|
|
|
231
|
-
declare const __VLS_component_30: DefineComponent<
|
|
247
|
+
declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
248
|
+
|
|
249
|
+
declare const __VLS_component_31: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
250
|
+
|
|
251
|
+
declare const __VLS_component_32: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
252
|
+
|
|
253
|
+
declare const __VLS_component_33: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
254
|
+
|
|
255
|
+
declare const __VLS_component_34: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
232
256
|
|
|
233
257
|
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
234
258
|
|
|
@@ -240,23 +264,14 @@ $: ComponentInternalInstance;
|
|
|
240
264
|
$data: {};
|
|
241
265
|
$props: {
|
|
242
266
|
readonly forceMount?: boolean | undefined;
|
|
243
|
-
readonly trapFocus?: boolean | undefined;
|
|
244
267
|
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
245
268
|
readonly asChild?: boolean | undefined;
|
|
246
269
|
readonly as?: (AsTag | Component) | undefined;
|
|
247
270
|
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
248
|
-
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
249
|
-
originalEvent: PointerEvent;
|
|
250
|
-
}>) => any) | undefined | undefined;
|
|
251
|
-
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
252
|
-
originalEvent: FocusEvent;
|
|
253
|
-
}>) => any) | undefined | undefined;
|
|
254
|
-
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
255
|
-
originalEvent: PointerEvent;
|
|
256
|
-
}> | CustomEvent<{
|
|
257
|
-
originalEvent: FocusEvent;
|
|
258
|
-
}>) => any) | undefined | undefined;
|
|
259
271
|
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
272
|
+
readonly onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined | undefined;
|
|
273
|
+
readonly onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined | undefined;
|
|
274
|
+
readonly onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined | undefined;
|
|
260
275
|
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
261
276
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
262
277
|
$attrs: {
|
|
@@ -271,45 +286,21 @@ $slots: Readonly<{
|
|
|
271
286
|
$root: ComponentPublicInstance | null;
|
|
272
287
|
$parent: ComponentPublicInstance | null;
|
|
273
288
|
$host: Element | null;
|
|
274
|
-
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event:
|
|
275
|
-
originalEvent: PointerEvent;
|
|
276
|
-
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
277
|
-
originalEvent: FocusEvent;
|
|
278
|
-
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
279
|
-
originalEvent: PointerEvent;
|
|
280
|
-
}> | CustomEvent<{
|
|
281
|
-
originalEvent: FocusEvent;
|
|
282
|
-
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
289
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((event: "focusOutside", event: FocusOutsideEvent) => void) & ((event: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
283
290
|
$el: any;
|
|
284
291
|
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
285
292
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
286
|
-
onPointerDownOutside?: ((event: CustomEvent<{
|
|
287
|
-
originalEvent: PointerEvent;
|
|
288
|
-
}>) => any) | undefined;
|
|
289
|
-
onFocusOutside?: ((event: CustomEvent<{
|
|
290
|
-
originalEvent: FocusEvent;
|
|
291
|
-
}>) => any) | undefined;
|
|
292
|
-
onInteractOutside?: ((event: CustomEvent<{
|
|
293
|
-
originalEvent: PointerEvent;
|
|
294
|
-
}> | CustomEvent<{
|
|
295
|
-
originalEvent: FocusEvent;
|
|
296
|
-
}>) => any) | undefined;
|
|
297
293
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
294
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
295
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
296
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
298
297
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
299
298
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
300
299
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
301
|
-
pointerDownOutside: (event: CustomEvent<{
|
|
302
|
-
originalEvent: PointerEvent;
|
|
303
|
-
}>) => any;
|
|
304
|
-
focusOutside: (event: CustomEvent<{
|
|
305
|
-
originalEvent: FocusEvent;
|
|
306
|
-
}>) => any;
|
|
307
|
-
interactOutside: (event: CustomEvent<{
|
|
308
|
-
originalEvent: PointerEvent;
|
|
309
|
-
}> | CustomEvent<{
|
|
310
|
-
originalEvent: FocusEvent;
|
|
311
|
-
}>) => any;
|
|
312
300
|
openAutoFocus: (event: Event) => any;
|
|
301
|
+
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
302
|
+
focusOutside: (event: FocusOutsideEvent) => any;
|
|
303
|
+
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
313
304
|
closeAutoFocus: (event: Event) => any;
|
|
314
305
|
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
315
306
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -333,23 +324,16 @@ $nextTick: typeof nextTick;
|
|
|
333
324
|
$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;
|
|
334
325
|
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
335
326
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
336
|
-
onPointerDownOutside?: ((event: CustomEvent<{
|
|
337
|
-
originalEvent: PointerEvent;
|
|
338
|
-
}>) => any) | undefined;
|
|
339
|
-
onFocusOutside?: ((event: CustomEvent<{
|
|
340
|
-
originalEvent: FocusEvent;
|
|
341
|
-
}>) => any) | undefined;
|
|
342
|
-
onInteractOutside?: ((event: CustomEvent<{
|
|
343
|
-
originalEvent: PointerEvent;
|
|
344
|
-
}> | CustomEvent<{
|
|
345
|
-
originalEvent: FocusEvent;
|
|
346
|
-
}>) => any) | undefined;
|
|
347
327
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
328
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
329
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
330
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
348
331
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
349
332
|
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
350
333
|
$slots: {
|
|
351
|
-
default
|
|
352
|
-
|
|
334
|
+
default?: (props: {}) => any;
|
|
335
|
+
} & {
|
|
336
|
+
default?: (props: {}) => any;
|
|
353
337
|
};
|
|
354
338
|
}) | null;
|
|
355
339
|
}, any>;
|
|
@@ -380,32 +364,62 @@ declare type __VLS_PrettifyLocal_5<T> = {
|
|
|
380
364
|
[K in keyof T]: T[K];
|
|
381
365
|
} & {};
|
|
382
366
|
|
|
367
|
+
declare type __VLS_PrettifyLocal_6<T> = {
|
|
368
|
+
[K in keyof T]: T[K];
|
|
369
|
+
} & {};
|
|
370
|
+
|
|
383
371
|
declare type __VLS_Props = InputProps & {
|
|
384
372
|
as?: string;
|
|
385
373
|
};
|
|
386
374
|
|
|
387
375
|
declare type __VLS_Props_10 = {
|
|
388
|
-
|
|
376
|
+
label?: string;
|
|
377
|
+
contentClass?: HTMLAttributes['class'];
|
|
378
|
+
summaryClass?: HTMLAttributes['class'];
|
|
389
379
|
};
|
|
390
380
|
|
|
391
381
|
declare type __VLS_Props_11 = {
|
|
382
|
+
class?: HTMLAttributes['class'];
|
|
383
|
+
} & PrimitiveProps;
|
|
384
|
+
|
|
385
|
+
declare type __VLS_Props_12 = {
|
|
386
|
+
type?: string;
|
|
387
|
+
contentClass?: HTMLAttributes['class'];
|
|
388
|
+
ariaLabel?: string;
|
|
389
|
+
formAriaHidden?: boolean;
|
|
390
|
+
tabindex?: string;
|
|
391
|
+
text: string;
|
|
392
|
+
disabled?: boolean;
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
declare type __VLS_Props_13 = {
|
|
396
|
+
error: ErrorSource;
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
declare type __VLS_Props_14 = {
|
|
400
|
+
report: ErrorReport;
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
declare type __VLS_Props_15 = {
|
|
392
404
|
report: ErrorReport;
|
|
393
405
|
currentReport?: number;
|
|
394
406
|
totalReports?: number;
|
|
395
407
|
};
|
|
396
408
|
|
|
397
|
-
declare type
|
|
409
|
+
declare type __VLS_Props_16 = {
|
|
398
410
|
form?: FormController;
|
|
399
411
|
};
|
|
400
412
|
|
|
401
|
-
declare type
|
|
413
|
+
declare type __VLS_Props_17 = InputProps & {
|
|
402
414
|
inputClass?: HTMLAttributes['class'];
|
|
403
415
|
wrapperClass?: HTMLAttributes['class'];
|
|
416
|
+
descriptionClass?: HTMLAttributes['class'];
|
|
417
|
+
errorClass?: HTMLAttributes['class'];
|
|
404
418
|
};
|
|
405
419
|
|
|
406
|
-
declare type
|
|
420
|
+
declare type __VLS_Props_18 = Omit<ButtonProps, 'variant'>;
|
|
407
421
|
|
|
408
|
-
declare type
|
|
422
|
+
declare type __VLS_Props_19 = {
|
|
409
423
|
as?: string;
|
|
410
424
|
inline?: boolean;
|
|
411
425
|
langKey?: string;
|
|
@@ -415,40 +429,36 @@ declare type __VLS_Props_15 = {
|
|
|
415
429
|
actions?: Record<string, () => unknown>;
|
|
416
430
|
};
|
|
417
431
|
|
|
418
|
-
declare type
|
|
419
|
-
|
|
420
|
-
childIndex?: number;
|
|
432
|
+
declare type __VLS_Props_2 = {
|
|
433
|
+
type?: string;
|
|
421
434
|
};
|
|
422
435
|
|
|
423
|
-
declare type
|
|
436
|
+
declare type __VLS_Props_20 = {
|
|
424
437
|
filledClass?: string;
|
|
438
|
+
overflowClass?: string;
|
|
425
439
|
progress?: number;
|
|
426
440
|
job?: Falsifiable<Job>;
|
|
427
441
|
};
|
|
428
442
|
|
|
429
|
-
declare type
|
|
443
|
+
declare type __VLS_Props_21 = {
|
|
430
444
|
class?: HTMLAttributes['class'];
|
|
431
445
|
};
|
|
432
446
|
|
|
433
|
-
declare type
|
|
447
|
+
declare type __VLS_Props_22 = {
|
|
434
448
|
value: AcceptableValue;
|
|
435
449
|
class?: HTMLAttributes['class'];
|
|
436
450
|
innerClass?: HTMLAttributes['class'];
|
|
437
451
|
};
|
|
438
452
|
|
|
439
|
-
declare type
|
|
440
|
-
type?: string;
|
|
441
|
-
};
|
|
442
|
-
|
|
443
|
-
declare type __VLS_Props_20 = {
|
|
453
|
+
declare type __VLS_Props_23 = {
|
|
444
454
|
class?: HTMLAttributes['class'];
|
|
445
455
|
};
|
|
446
456
|
|
|
447
|
-
declare type
|
|
457
|
+
declare type __VLS_Props_24 = {
|
|
448
458
|
class?: HTMLAttributes['class'];
|
|
449
459
|
};
|
|
450
460
|
|
|
451
|
-
declare type
|
|
461
|
+
declare type __VLS_Props_25 = {
|
|
452
462
|
title: string;
|
|
453
463
|
titleId?: string;
|
|
454
464
|
description?: string;
|
|
@@ -456,15 +466,20 @@ declare type __VLS_Props_22 = {
|
|
|
456
466
|
layout?: 'vertical' | 'horizontal';
|
|
457
467
|
};
|
|
458
468
|
|
|
459
|
-
declare type
|
|
469
|
+
declare type __VLS_Props_26 = InputProps & {
|
|
460
470
|
inputClass?: HTMLAttributes['class'];
|
|
461
471
|
wrapperClass?: HTMLAttributes['class'];
|
|
462
472
|
};
|
|
463
473
|
|
|
464
|
-
declare type
|
|
474
|
+
declare type __VLS_Props_27 = ToastProps & {
|
|
465
475
|
class?: HTMLAttributes['class'];
|
|
466
476
|
};
|
|
467
477
|
|
|
478
|
+
declare type __VLS_Props_28 = {
|
|
479
|
+
name: string;
|
|
480
|
+
value: unknown;
|
|
481
|
+
};
|
|
482
|
+
|
|
468
483
|
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
469
484
|
|
|
470
485
|
declare type __VLS_Props_4 = SelectItemProps;
|
|
@@ -479,22 +494,12 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
479
494
|
labelClass?: HTMLAttributes['class'];
|
|
480
495
|
};
|
|
481
496
|
|
|
482
|
-
declare type __VLS_Props_7 =
|
|
483
|
-
class?: HTMLAttributes['class'];
|
|
484
|
-
} & PrimitiveProps;
|
|
497
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
485
498
|
|
|
486
|
-
declare type __VLS_Props_8 =
|
|
487
|
-
type?: string;
|
|
488
|
-
contentClass?: HTMLAttributes['class'];
|
|
489
|
-
ariaLabel?: string;
|
|
490
|
-
formAriaHidden?: boolean;
|
|
491
|
-
tabindex?: string;
|
|
492
|
-
text: string;
|
|
493
|
-
disabled?: boolean;
|
|
494
|
-
};
|
|
499
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
495
500
|
|
|
496
501
|
declare type __VLS_Props_9 = {
|
|
497
|
-
|
|
502
|
+
newInputValue?: (value: string) => Nullable<FormFieldValue>;
|
|
498
503
|
};
|
|
499
504
|
|
|
500
505
|
declare function __VLS_template(): {
|
|
@@ -649,7 +654,7 @@ declare function __VLS_template_18(): {
|
|
|
649
654
|
as?: string;
|
|
650
655
|
}> & Readonly<{
|
|
651
656
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
652
|
-
}>, "id" | "value" | "name" | "description" | "
|
|
657
|
+
}>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
653
658
|
id: string;
|
|
654
659
|
name: ComputedRef<string | undefined>;
|
|
655
660
|
label: ComputedRef<string | undefined>;
|
|
@@ -671,7 +676,6 @@ declare function __VLS_template_19(): {
|
|
|
671
676
|
attrs: Partial<{}>;
|
|
672
677
|
slots: {
|
|
673
678
|
default?(_: {}): any;
|
|
674
|
-
options?(_: {}): any;
|
|
675
679
|
};
|
|
676
680
|
refs: {};
|
|
677
681
|
rootEl: any;
|
|
@@ -698,13 +702,42 @@ declare function __VLS_template_20(): {
|
|
|
698
702
|
declare function __VLS_template_21(): {
|
|
699
703
|
attrs: Partial<{}>;
|
|
700
704
|
slots: {
|
|
705
|
+
label?(_: {}): any;
|
|
701
706
|
default?(_: {}): any;
|
|
702
707
|
};
|
|
703
708
|
refs: {};
|
|
704
|
-
rootEl:
|
|
709
|
+
rootEl: HTMLDetailsElement;
|
|
705
710
|
};
|
|
706
711
|
|
|
707
712
|
declare function __VLS_template_22(): {
|
|
713
|
+
attrs: Partial<{}>;
|
|
714
|
+
slots: {
|
|
715
|
+
default?(_: {}): any;
|
|
716
|
+
options?(_: {}): any;
|
|
717
|
+
};
|
|
718
|
+
refs: {};
|
|
719
|
+
rootEl: any;
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
declare function __VLS_template_23(): {
|
|
723
|
+
attrs: Partial<{}>;
|
|
724
|
+
slots: {
|
|
725
|
+
default?(_: {}): any;
|
|
726
|
+
};
|
|
727
|
+
refs: {};
|
|
728
|
+
rootEl: any;
|
|
729
|
+
};
|
|
730
|
+
|
|
731
|
+
declare function __VLS_template_24(): {
|
|
732
|
+
attrs: Partial<{}>;
|
|
733
|
+
slots: {
|
|
734
|
+
default?(_: {}): any;
|
|
735
|
+
};
|
|
736
|
+
refs: {};
|
|
737
|
+
rootEl: any;
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
declare function __VLS_template_25(): {
|
|
708
741
|
attrs: Partial<{}>;
|
|
709
742
|
slots: {
|
|
710
743
|
default?(_: {}): any;
|
|
@@ -715,7 +748,7 @@ declare function __VLS_template_22(): {
|
|
|
715
748
|
rootEl: HTMLDivElement;
|
|
716
749
|
};
|
|
717
750
|
|
|
718
|
-
declare function
|
|
751
|
+
declare function __VLS_template_26(): {
|
|
719
752
|
attrs: Partial<{}>;
|
|
720
753
|
slots: Readonly<{
|
|
721
754
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -726,7 +759,7 @@ declare function __VLS_template_23(): {
|
|
|
726
759
|
rootEl: HTMLDivElement;
|
|
727
760
|
};
|
|
728
761
|
|
|
729
|
-
declare function
|
|
762
|
+
declare function __VLS_template_27(): {
|
|
730
763
|
attrs: Partial<{}>;
|
|
731
764
|
slots: {
|
|
732
765
|
default?(_: {}): any;
|
|
@@ -735,7 +768,7 @@ declare function __VLS_template_24(): {
|
|
|
735
768
|
rootEl: HTMLFormElement;
|
|
736
769
|
};
|
|
737
770
|
|
|
738
|
-
declare function
|
|
771
|
+
declare function __VLS_template_28(): {
|
|
739
772
|
attrs: Partial<{}>;
|
|
740
773
|
slots: {
|
|
741
774
|
default?(_: {}): any;
|
|
@@ -744,7 +777,7 @@ declare function __VLS_template_25(): {
|
|
|
744
777
|
rootEl: any;
|
|
745
778
|
};
|
|
746
779
|
|
|
747
|
-
declare function
|
|
780
|
+
declare function __VLS_template_29(): {
|
|
748
781
|
attrs: Partial<{}>;
|
|
749
782
|
slots: Readonly<{
|
|
750
783
|
default?(): VNode[];
|
|
@@ -755,7 +788,7 @@ declare function __VLS_template_26(): {
|
|
|
755
788
|
rootEl: any;
|
|
756
789
|
};
|
|
757
790
|
|
|
758
|
-
declare function
|
|
791
|
+
declare function __VLS_template_3(): {
|
|
759
792
|
attrs: Partial<{}>;
|
|
760
793
|
slots: {
|
|
761
794
|
default?(_: {}): any;
|
|
@@ -764,7 +797,7 @@ declare function __VLS_template_27(): {
|
|
|
764
797
|
rootEl: any;
|
|
765
798
|
};
|
|
766
799
|
|
|
767
|
-
declare function
|
|
800
|
+
declare function __VLS_template_30(): {
|
|
768
801
|
attrs: Partial<{}>;
|
|
769
802
|
slots: {
|
|
770
803
|
default?(_: {}): any;
|
|
@@ -773,26 +806,26 @@ declare function __VLS_template_28(): {
|
|
|
773
806
|
rootEl: any;
|
|
774
807
|
};
|
|
775
808
|
|
|
776
|
-
declare function
|
|
809
|
+
declare function __VLS_template_31(): {
|
|
777
810
|
attrs: Partial<{}>;
|
|
778
811
|
slots: {
|
|
779
812
|
default?(_: {}): any;
|
|
780
|
-
default?(_: {}): any;
|
|
781
813
|
};
|
|
782
814
|
refs: {};
|
|
783
815
|
rootEl: any;
|
|
784
816
|
};
|
|
785
817
|
|
|
786
|
-
declare function
|
|
818
|
+
declare function __VLS_template_32(): {
|
|
787
819
|
attrs: Partial<{}>;
|
|
788
820
|
slots: {
|
|
789
821
|
default?(_: {}): any;
|
|
822
|
+
default?(_: {}): any;
|
|
790
823
|
};
|
|
791
824
|
refs: {};
|
|
792
825
|
rootEl: any;
|
|
793
826
|
};
|
|
794
827
|
|
|
795
|
-
declare function
|
|
828
|
+
declare function __VLS_template_33(): {
|
|
796
829
|
attrs: Partial<{}>;
|
|
797
830
|
slots: {
|
|
798
831
|
default?(_: {}): any;
|
|
@@ -801,6 +834,15 @@ declare function __VLS_template_30(): {
|
|
|
801
834
|
rootEl: HTMLDivElement;
|
|
802
835
|
};
|
|
803
836
|
|
|
837
|
+
declare function __VLS_template_34(): {
|
|
838
|
+
attrs: Partial<{}>;
|
|
839
|
+
slots: {
|
|
840
|
+
default?(_: {}): any;
|
|
841
|
+
};
|
|
842
|
+
refs: {};
|
|
843
|
+
rootEl: any;
|
|
844
|
+
};
|
|
845
|
+
|
|
804
846
|
declare function __VLS_template_4(): {
|
|
805
847
|
attrs: Partial<{}>;
|
|
806
848
|
slots: {
|
|
@@ -832,23 +874,14 @@ declare function __VLS_template_6(): {
|
|
|
832
874
|
$data: {};
|
|
833
875
|
$props: {
|
|
834
876
|
readonly forceMount?: boolean | undefined;
|
|
835
|
-
readonly trapFocus?: boolean | undefined;
|
|
836
877
|
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
837
878
|
readonly asChild?: boolean | undefined;
|
|
838
879
|
readonly as?: (AsTag | Component) | undefined;
|
|
839
880
|
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
840
|
-
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
841
|
-
originalEvent: PointerEvent;
|
|
842
|
-
}>) => any) | undefined | undefined;
|
|
843
|
-
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
844
|
-
originalEvent: FocusEvent;
|
|
845
|
-
}>) => any) | undefined | undefined;
|
|
846
|
-
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
847
|
-
originalEvent: PointerEvent;
|
|
848
|
-
}> | CustomEvent<{
|
|
849
|
-
originalEvent: FocusEvent;
|
|
850
|
-
}>) => any) | undefined | undefined;
|
|
851
881
|
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
882
|
+
readonly onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined | undefined;
|
|
883
|
+
readonly onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined | undefined;
|
|
884
|
+
readonly onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined | undefined;
|
|
852
885
|
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
853
886
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
854
887
|
$attrs: {
|
|
@@ -863,45 +896,21 @@ declare function __VLS_template_6(): {
|
|
|
863
896
|
$root: ComponentPublicInstance | null;
|
|
864
897
|
$parent: ComponentPublicInstance | null;
|
|
865
898
|
$host: Element | null;
|
|
866
|
-
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event:
|
|
867
|
-
originalEvent: PointerEvent;
|
|
868
|
-
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
869
|
-
originalEvent: FocusEvent;
|
|
870
|
-
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
871
|
-
originalEvent: PointerEvent;
|
|
872
|
-
}> | CustomEvent<{
|
|
873
|
-
originalEvent: FocusEvent;
|
|
874
|
-
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
899
|
+
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((event: "focusOutside", event: FocusOutsideEvent) => void) & ((event: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
875
900
|
$el: any;
|
|
876
901
|
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
877
902
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
878
|
-
onPointerDownOutside?: ((event: CustomEvent<{
|
|
879
|
-
originalEvent: PointerEvent;
|
|
880
|
-
}>) => any) | undefined;
|
|
881
|
-
onFocusOutside?: ((event: CustomEvent<{
|
|
882
|
-
originalEvent: FocusEvent;
|
|
883
|
-
}>) => any) | undefined;
|
|
884
|
-
onInteractOutside?: ((event: CustomEvent<{
|
|
885
|
-
originalEvent: PointerEvent;
|
|
886
|
-
}> | CustomEvent<{
|
|
887
|
-
originalEvent: FocusEvent;
|
|
888
|
-
}>) => any) | undefined;
|
|
889
903
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
904
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
905
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
906
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
890
907
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
891
908
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
892
909
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
893
|
-
pointerDownOutside: (event: CustomEvent<{
|
|
894
|
-
originalEvent: PointerEvent;
|
|
895
|
-
}>) => any;
|
|
896
|
-
focusOutside: (event: CustomEvent<{
|
|
897
|
-
originalEvent: FocusEvent;
|
|
898
|
-
}>) => any;
|
|
899
|
-
interactOutside: (event: CustomEvent<{
|
|
900
|
-
originalEvent: PointerEvent;
|
|
901
|
-
}> | CustomEvent<{
|
|
902
|
-
originalEvent: FocusEvent;
|
|
903
|
-
}>) => any;
|
|
904
910
|
openAutoFocus: (event: Event) => any;
|
|
911
|
+
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
912
|
+
focusOutside: (event: FocusOutsideEvent) => any;
|
|
913
|
+
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
905
914
|
closeAutoFocus: (event: Event) => any;
|
|
906
915
|
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
907
916
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -925,23 +934,16 @@ declare function __VLS_template_6(): {
|
|
|
925
934
|
$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;
|
|
926
935
|
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
927
936
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
928
|
-
onPointerDownOutside?: ((event: CustomEvent<{
|
|
929
|
-
originalEvent: PointerEvent;
|
|
930
|
-
}>) => any) | undefined;
|
|
931
|
-
onFocusOutside?: ((event: CustomEvent<{
|
|
932
|
-
originalEvent: FocusEvent;
|
|
933
|
-
}>) => any) | undefined;
|
|
934
|
-
onInteractOutside?: ((event: CustomEvent<{
|
|
935
|
-
originalEvent: PointerEvent;
|
|
936
|
-
}> | CustomEvent<{
|
|
937
|
-
originalEvent: FocusEvent;
|
|
938
|
-
}>) => any) | undefined;
|
|
939
937
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
938
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
939
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
940
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
940
941
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
941
942
|
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
942
943
|
$slots: {
|
|
943
|
-
default
|
|
944
|
-
|
|
944
|
+
default?: (props: {}) => any;
|
|
945
|
+
} & {
|
|
946
|
+
default?: (props: {}) => any;
|
|
945
947
|
};
|
|
946
948
|
}) | null;
|
|
947
949
|
};
|
|
@@ -1023,6 +1025,14 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
1023
1025
|
|
|
1024
1026
|
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
1025
1027
|
|
|
1028
|
+
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
1029
|
+
|
|
1030
|
+
declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
|
|
1031
|
+
|
|
1032
|
+
declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
|
|
1033
|
+
|
|
1034
|
+
declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
|
|
1035
|
+
|
|
1026
1036
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1027
1037
|
|
|
1028
1038
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1179,6 +1189,30 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
|
1179
1189
|
};
|
|
1180
1190
|
};
|
|
1181
1191
|
|
|
1192
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
1193
|
+
new (): {
|
|
1194
|
+
$slots: S;
|
|
1195
|
+
};
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1198
|
+
declare type __VLS_WithTemplateSlots_32<T, S> = T & {
|
|
1199
|
+
new (): {
|
|
1200
|
+
$slots: S;
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1204
|
+
declare type __VLS_WithTemplateSlots_33<T, S> = T & {
|
|
1205
|
+
new (): {
|
|
1206
|
+
$slots: S;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
|
|
1210
|
+
declare type __VLS_WithTemplateSlots_34<T, S> = T & {
|
|
1211
|
+
new (): {
|
|
1212
|
+
$slots: S;
|
|
1213
|
+
};
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1182
1216
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1183
1217
|
new (): {
|
|
1184
1218
|
$slots: S;
|
|
@@ -1221,6 +1255,13 @@ export declare type AcceptRefs<T> = {
|
|
|
1221
1255
|
|
|
1222
1256
|
export declare const AdvancedOptions: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1223
1257
|
|
|
1258
|
+
export declare type AerogelDirectives = typeof aerogelDirectives;
|
|
1259
|
+
|
|
1260
|
+
export declare const aerogelDirectives: {
|
|
1261
|
+
readonly measure: Directive<any, MeasureDirectiveValue, MeasureDirectiveModifiers>;
|
|
1262
|
+
readonly 'safe-html': Directive<any, string, string>;
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1224
1265
|
export declare type AerogelGlobalEvents = Partial<{
|
|
1225
1266
|
[Event in EventWithoutPayload]: () => unknown;
|
|
1226
1267
|
}> & Partial<{
|
|
@@ -1238,11 +1279,10 @@ export declare interface AerogelTestingRuntime {
|
|
|
1238
1279
|
}
|
|
1239
1280
|
|
|
1240
1281
|
export declare const AlertModal: DefineComponent<AlertModalProps, {
|
|
1241
|
-
close(result?: void | undefined): Promise<void>;
|
|
1242
1282
|
$content: ModalContentInstance;
|
|
1243
1283
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1244
1284
|
|
|
1245
|
-
export declare interface AlertModalExpose extends ModalExpose
|
|
1285
|
+
export declare interface AlertModalExpose extends ModalExpose {
|
|
1246
1286
|
}
|
|
1247
1287
|
|
|
1248
1288
|
export declare interface AlertModalProps {
|
|
@@ -1254,8 +1294,6 @@ export declare const App: Facade<AppService>;
|
|
|
1254
1294
|
|
|
1255
1295
|
export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1256
1296
|
|
|
1257
|
-
export declare const AppModals: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1258
|
-
|
|
1259
1297
|
export declare function appNamespace(): string;
|
|
1260
1298
|
|
|
1261
1299
|
export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1267,6 +1305,7 @@ export declare class AppService extends _default_3 {
|
|
|
1267
1305
|
isReady(): boolean;
|
|
1268
1306
|
isMounted(): boolean;
|
|
1269
1307
|
addSetting(setting: AppSetting): void;
|
|
1308
|
+
setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
|
|
1270
1309
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1271
1310
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1272
1311
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
@@ -1282,7 +1321,7 @@ export declare interface AppSetting {
|
|
|
1282
1321
|
export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1283
1322
|
|
|
1284
1323
|
export declare function booleanInput(defaultValue?: boolean, options?: {
|
|
1285
|
-
rules?: string;
|
|
1324
|
+
rules?: string[];
|
|
1286
1325
|
}): FormFieldDefinition<'boolean'>;
|
|
1287
1326
|
|
|
1288
1327
|
export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
|
|
@@ -1307,7 +1346,7 @@ export declare interface ButtonProps extends PrimitiveProps {
|
|
|
1307
1346
|
|
|
1308
1347
|
export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
|
|
1309
1348
|
|
|
1310
|
-
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
|
|
1349
|
+
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
|
|
1311
1350
|
|
|
1312
1351
|
declare const Cache_2: Facade<CacheService>;
|
|
1313
1352
|
export { Cache_2 as Cache }
|
|
@@ -1324,6 +1363,120 @@ export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component
|
|
|
1324
1363
|
|
|
1325
1364
|
export declare function classes(...inputs: ClassValue[]): string;
|
|
1326
1365
|
|
|
1366
|
+
export { closeModal }
|
|
1367
|
+
|
|
1368
|
+
export declare const Combobox: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1369
|
+
props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
|
|
1370
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1371
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & (SelectProps<T> & {
|
|
1372
|
+
newInputValue?: (value: string) => T;
|
|
1373
|
+
}) & Partial<{}>> & PublicProps;
|
|
1374
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
1375
|
+
renderOption: (option: T) => string;
|
|
1376
|
+
labelClass: ComputedRef<any>;
|
|
1377
|
+
optionsClass: ComputedRef<any>;
|
|
1378
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
1379
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
1380
|
+
value: ComputedRef<T>;
|
|
1381
|
+
id: string;
|
|
1382
|
+
name: ComputedRef<string | undefined>;
|
|
1383
|
+
label: ComputedRef<string | undefined>;
|
|
1384
|
+
description: ComputedRef<string | undefined>;
|
|
1385
|
+
placeholder: ComputedRef<string>;
|
|
1386
|
+
options: ComputedRef< {
|
|
1387
|
+
key: string;
|
|
1388
|
+
label: string;
|
|
1389
|
+
value: AcceptableValue;
|
|
1390
|
+
}[] | null>;
|
|
1391
|
+
selectedOption: ComputedRef< {
|
|
1392
|
+
key: string;
|
|
1393
|
+
label: string;
|
|
1394
|
+
value: AcceptableValue;
|
|
1395
|
+
} | undefined>;
|
|
1396
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1397
|
+
required: ComputedRef<boolean | undefined>;
|
|
1398
|
+
update(value: T): void;
|
|
1399
|
+
}>): void;
|
|
1400
|
+
attrs: any;
|
|
1401
|
+
slots: {};
|
|
1402
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
1403
|
+
}>) => VNode & {
|
|
1404
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1405
|
+
};
|
|
1406
|
+
|
|
1407
|
+
export declare type ComboboxContext = {
|
|
1408
|
+
input: string;
|
|
1409
|
+
preventChange: boolean;
|
|
1410
|
+
$group: HTMLDivElement | null;
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1413
|
+
export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1414
|
+
|
|
1415
|
+
export declare const ComboboxOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1416
|
+
|
|
1417
|
+
export declare const ComboboxOptions: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1418
|
+
select: () => any;
|
|
1419
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
1420
|
+
onSelect?: (() => any) | undefined;
|
|
1421
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1422
|
+
$group: ({
|
|
1423
|
+
$: ComponentInternalInstance;
|
|
1424
|
+
$data: {};
|
|
1425
|
+
$props: {
|
|
1426
|
+
readonly asChild?: boolean | undefined;
|
|
1427
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
1428
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1429
|
+
$attrs: {
|
|
1430
|
+
[x: string]: unknown;
|
|
1431
|
+
};
|
|
1432
|
+
$refs: {
|
|
1433
|
+
[x: string]: unknown;
|
|
1434
|
+
};
|
|
1435
|
+
$slots: Readonly<{
|
|
1436
|
+
[name: string]: Slot<any> | undefined;
|
|
1437
|
+
}>;
|
|
1438
|
+
$root: ComponentPublicInstance | null;
|
|
1439
|
+
$parent: ComponentPublicInstance | null;
|
|
1440
|
+
$host: Element | null;
|
|
1441
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1442
|
+
$el: any;
|
|
1443
|
+
$options: ComponentOptionsBase<Readonly<ComboboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1444
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1445
|
+
created?: (() => void) | (() => void)[];
|
|
1446
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1447
|
+
mounted?: (() => void) | (() => void)[];
|
|
1448
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1449
|
+
updated?: (() => void) | (() => void)[];
|
|
1450
|
+
activated?: (() => void) | (() => void)[];
|
|
1451
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1452
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1453
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1454
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1455
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1456
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1457
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1458
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1459
|
+
};
|
|
1460
|
+
$forceUpdate: () => void;
|
|
1461
|
+
$nextTick: typeof nextTick;
|
|
1462
|
+
$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;
|
|
1463
|
+
} & Readonly<{}> & Omit<Readonly<ComboboxGroupProps> & Readonly<{}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
1464
|
+
$slots: {
|
|
1465
|
+
default?: (props: {}) => any;
|
|
1466
|
+
};
|
|
1467
|
+
}) | null;
|
|
1468
|
+
}, any>;
|
|
1469
|
+
|
|
1470
|
+
export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1471
|
+
focus: () => any;
|
|
1472
|
+
blur: () => any;
|
|
1473
|
+
change: () => any;
|
|
1474
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
1475
|
+
onFocus?: (() => any) | undefined;
|
|
1476
|
+
onBlur?: (() => any) | undefined;
|
|
1477
|
+
onChange?: (() => any) | undefined;
|
|
1478
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1479
|
+
|
|
1327
1480
|
export declare type ComponentPropDefinitions<T> = {
|
|
1328
1481
|
[K in keyof T]: {
|
|
1329
1482
|
type?: PropType<T[K]>;
|
|
@@ -1349,9 +1502,12 @@ export declare type ComputedStateDefinition<TState extends ServiceState, TComput
|
|
|
1349
1502
|
}>;
|
|
1350
1503
|
|
|
1351
1504
|
export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {
|
|
1352
|
-
close(result?: boolean | [boolean, Record<string, Nullable<boolean>>] | undefined): Promise<void>;
|
|
1353
1505
|
$content: ModalContentInstance;
|
|
1354
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}
|
|
1506
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1507
|
+
close: (payload: ConfirmModalResult) => any;
|
|
1508
|
+
}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{
|
|
1509
|
+
onClose?: ((payload: ConfirmModalResult) => any) | undefined;
|
|
1510
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1355
1511
|
|
|
1356
1512
|
export declare type ConfirmModalCheckboxes = Record<string, {
|
|
1357
1513
|
label: string;
|
|
@@ -1359,7 +1515,10 @@ export declare type ConfirmModalCheckboxes = Record<string, {
|
|
|
1359
1515
|
required?: boolean;
|
|
1360
1516
|
}>;
|
|
1361
1517
|
|
|
1362
|
-
export declare interface
|
|
1518
|
+
export declare interface ConfirmModalEmits extends ModalEmits<ConfirmModalResult> {
|
|
1519
|
+
}
|
|
1520
|
+
|
|
1521
|
+
export declare interface ConfirmModalExpose extends ModalExpose {
|
|
1363
1522
|
}
|
|
1364
1523
|
|
|
1365
1524
|
export declare interface ConfirmModalProps {
|
|
@@ -1374,6 +1533,8 @@ export declare interface ConfirmModalProps {
|
|
|
1374
1533
|
required?: boolean;
|
|
1375
1534
|
}
|
|
1376
1535
|
|
|
1536
|
+
export declare type ConfirmModalResult = boolean | [boolean, Record<string, Nullable<boolean>>];
|
|
1537
|
+
|
|
1377
1538
|
export declare type ConfirmOptions = AcceptRefs<{
|
|
1378
1539
|
acceptText?: string;
|
|
1379
1540
|
acceptVariant?: ButtonVariant;
|
|
@@ -1387,12 +1548,14 @@ export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalChec
|
|
|
1387
1548
|
checkboxes?: T;
|
|
1388
1549
|
}
|
|
1389
1550
|
|
|
1390
|
-
export
|
|
1551
|
+
export { createModal }
|
|
1552
|
+
|
|
1553
|
+
export declare type CVAConfig<T> = NonNullable<Parameters<typeof cva<T>>[1]>;
|
|
1391
1554
|
|
|
1392
|
-
export declare type CVAProps<T> = NonNullable<
|
|
1555
|
+
export declare type CVAProps<T> = NonNullable<Parameters<ReturnType<typeof cva<T>>>[0]>;
|
|
1393
1556
|
|
|
1394
1557
|
export declare function dateInput(defaultValue?: Date, options?: {
|
|
1395
|
-
rules?: string;
|
|
1558
|
+
rules?: string[];
|
|
1396
1559
|
}): FormFieldDefinition<'date'>;
|
|
1397
1560
|
|
|
1398
1561
|
declare const _default: ServiceWithState< {
|
|
@@ -1426,6 +1589,7 @@ environment: string;
|
|
|
1426
1589
|
version: string;
|
|
1427
1590
|
sourceUrl: string | undefined;
|
|
1428
1591
|
settings: AppSetting[];
|
|
1592
|
+
settingsFullscreenOnMobile: boolean;
|
|
1429
1593
|
}, {
|
|
1430
1594
|
development: boolean;
|
|
1431
1595
|
staging: boolean;
|
|
@@ -1439,18 +1603,16 @@ environment: string;
|
|
|
1439
1603
|
version: string;
|
|
1440
1604
|
sourceUrl: string | undefined;
|
|
1441
1605
|
settings: AppSetting[];
|
|
1606
|
+
settingsFullscreenOnMobile: boolean;
|
|
1442
1607
|
}>>;
|
|
1443
1608
|
|
|
1444
1609
|
declare const _default_4: ServiceWithState< {
|
|
1445
|
-
modals: UIModal[];
|
|
1446
1610
|
toasts: UIToast[];
|
|
1447
1611
|
layout: Layout;
|
|
1448
1612
|
}, {
|
|
1449
1613
|
desktop: boolean;
|
|
1450
1614
|
mobile: boolean;
|
|
1451
|
-
openModals: UIModal<unknown>[];
|
|
1452
1615
|
}, Partial<{
|
|
1453
|
-
modals: UIModal[];
|
|
1454
1616
|
toasts: UIToast[];
|
|
1455
1617
|
layout: Layout;
|
|
1456
1618
|
}>>;
|
|
@@ -1467,7 +1629,7 @@ export declare type DefaultServiceState = any;
|
|
|
1467
1629
|
|
|
1468
1630
|
export declare function defineDirective<TValue = any, TModifiers extends string = string>(directive: Directive<any, TValue, TModifiers>): Directive<any, TValue, TModifiers>;
|
|
1469
1631
|
|
|
1470
|
-
export declare function
|
|
1632
|
+
export declare function defineFormValidationRules<T extends Record<string, FormFieldValidator>>(rules: T): T;
|
|
1471
1633
|
|
|
1472
1634
|
export declare function definePlugin<T extends Plugin_2>(plugin: T): T;
|
|
1473
1635
|
|
|
@@ -1485,9 +1647,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1485
1647
|
|
|
1486
1648
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1487
1649
|
|
|
1650
|
+
export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1651
|
+
|
|
1488
1652
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1489
1653
|
|
|
1490
|
-
export declare const DropdownMenu:
|
|
1654
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1491
1655
|
|
|
1492
1656
|
export declare interface DropdownMenuExpose {
|
|
1493
1657
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1495,7 +1659,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1495
1659
|
options?: readonly DropdownMenuOptionData[];
|
|
1496
1660
|
}
|
|
1497
1661
|
|
|
1498
|
-
export declare const DropdownMenuOption:
|
|
1662
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1499
1663
|
|
|
1500
1664
|
export declare type DropdownMenuOptionData = {
|
|
1501
1665
|
label: string;
|
|
@@ -1507,7 +1671,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1507
1671
|
class?: string;
|
|
1508
1672
|
};
|
|
1509
1673
|
|
|
1510
|
-
export declare const DropdownMenuOptions:
|
|
1674
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1511
1675
|
|
|
1512
1676
|
export declare interface DropdownMenuProps {
|
|
1513
1677
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1515,7 +1679,7 @@ export declare interface DropdownMenuProps {
|
|
|
1515
1679
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1516
1680
|
}
|
|
1517
1681
|
|
|
1518
|
-
export declare const EditableContent:
|
|
1682
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1519
1683
|
|
|
1520
1684
|
export declare interface ElementSize {
|
|
1521
1685
|
width: number;
|
|
@@ -1523,7 +1687,7 @@ export declare interface ElementSize {
|
|
|
1523
1687
|
}
|
|
1524
1688
|
|
|
1525
1689
|
export declare function enumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
|
|
1526
|
-
rules?: string;
|
|
1690
|
+
rules?: string[];
|
|
1527
1691
|
}): FormFieldDefinition<'enum', string, T>;
|
|
1528
1692
|
|
|
1529
1693
|
export declare type ErrorHandler = (error: ErrorSource) => boolean;
|
|
@@ -1534,7 +1698,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1534
1698
|
|
|
1535
1699
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1536
1700
|
|
|
1537
|
-
export declare const ErrorMessage: DefineComponent<
|
|
1701
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1538
1702
|
|
|
1539
1703
|
export declare interface ErrorReport {
|
|
1540
1704
|
title: string;
|
|
@@ -1550,11 +1714,10 @@ export declare interface ErrorReportLog {
|
|
|
1550
1714
|
}
|
|
1551
1715
|
|
|
1552
1716
|
export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
1553
|
-
close(result?: void | undefined): Promise<void>;
|
|
1554
1717
|
$content: ModalContentInstance;
|
|
1555
1718
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1556
1719
|
|
|
1557
|
-
export declare const ErrorReportModalButtons:
|
|
1720
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1558
1721
|
|
|
1559
1722
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1560
1723
|
id: string;
|
|
@@ -1572,7 +1735,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1572
1735
|
reports: ErrorReport[];
|
|
1573
1736
|
}
|
|
1574
1737
|
|
|
1575
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1738
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1576
1739
|
|
|
1577
1740
|
export declare const Errors: Facade<ErrorsService>;
|
|
1578
1741
|
|
|
@@ -1582,6 +1745,7 @@ declare class ErrorsService extends _default {
|
|
|
1582
1745
|
forceReporting: boolean;
|
|
1583
1746
|
private enabled;
|
|
1584
1747
|
private eruda;
|
|
1748
|
+
private erudaPlugins;
|
|
1585
1749
|
enable(): void;
|
|
1586
1750
|
disable(): void;
|
|
1587
1751
|
inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
|
|
@@ -1651,7 +1815,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1651
1815
|
|
|
1652
1816
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1653
1817
|
|
|
1654
|
-
export declare const Form:
|
|
1818
|
+
export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1655
1819
|
|
|
1656
1820
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1657
1821
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1666,6 +1830,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
|
|
|
1666
1830
|
setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
|
|
1667
1831
|
getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
|
|
1668
1832
|
getFieldRules<T extends keyof Fields>(field: T): string[];
|
|
1833
|
+
setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
|
|
1669
1834
|
getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
|
|
1670
1835
|
data(): FormData_2<Fields>;
|
|
1671
1836
|
validate(): boolean;
|
|
@@ -1701,7 +1866,7 @@ export declare interface FormFieldDefinition<TType extends FormFieldType = FormF
|
|
|
1701
1866
|
type: TType;
|
|
1702
1867
|
trim?: boolean;
|
|
1703
1868
|
default?: GetFormFieldValue<TType>;
|
|
1704
|
-
rules?: TRules;
|
|
1869
|
+
rules?: TRules[];
|
|
1705
1870
|
values?: readonly TValueType[];
|
|
1706
1871
|
[__valueType]?: TValueType;
|
|
1707
1872
|
}
|
|
@@ -1720,8 +1885,14 @@ export declare function getErrorMessage(error: ErrorSource): string;
|
|
|
1720
1885
|
|
|
1721
1886
|
export declare type GetFormFieldValue<TType, TValueType = unknown> = TType extends 'string' ? string : TType extends 'number' ? number : TType extends 'boolean' ? boolean : TType extends 'enum' ? TValueType : TType extends 'object' ? TValueType extends object ? TValueType : object : TType extends 'date' ? Date : never;
|
|
1722
1887
|
|
|
1888
|
+
export declare function getLocalTimezoneOffset(date?: Nullable<Date>): number;
|
|
1889
|
+
|
|
1723
1890
|
export declare function getMarkdownRouter(): MarkdownRouter | null;
|
|
1724
1891
|
|
|
1892
|
+
export { GetModalProps }
|
|
1893
|
+
|
|
1894
|
+
export { GetModalResponse }
|
|
1895
|
+
|
|
1725
1896
|
export declare function getPiniaStore(): Pinia;
|
|
1726
1897
|
|
|
1727
1898
|
export declare interface HasSelectOptionLabel {
|
|
@@ -1750,7 +1921,7 @@ $textAreaRef: HTMLTextAreaElement;
|
|
|
1750
1921
|
|
|
1751
1922
|
export declare const HeadlessModal: <T = void>(__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<{
|
|
1752
1923
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ModalProps & Partial<{}>> & PublicProps;
|
|
1753
|
-
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose
|
|
1924
|
+
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose>>): void;
|
|
1754
1925
|
attrs: any;
|
|
1755
1926
|
slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
|
|
1756
1927
|
emit: {};
|
|
@@ -1771,10 +1942,11 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
|
|
|
1771
1942
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1772
1943
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1773
1944
|
expose(exposed: ShallowUnwrapRef< {
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1945
|
+
renderOption: (option: T) => string;
|
|
1946
|
+
labelClass: ComputedRef<any>;
|
|
1947
|
+
optionsClass: ComputedRef<any>;
|
|
1948
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
1949
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
1778
1950
|
value: ComputedRef<T>;
|
|
1779
1951
|
id: string;
|
|
1780
1952
|
name: ComputedRef<string | undefined>;
|
|
@@ -1845,15 +2017,17 @@ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props:
|
|
|
1845
2017
|
|
|
1846
2018
|
export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1847
2019
|
|
|
2020
|
+
export { injectModal }
|
|
2021
|
+
|
|
1848
2022
|
export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
|
|
1849
2023
|
|
|
1850
2024
|
export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
|
|
1851
2025
|
|
|
1852
2026
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1853
2027
|
|
|
1854
|
-
export declare const Input: DefineComponent<
|
|
2028
|
+
export declare const Input: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1855
2029
|
"update:modelValue": (value: unknown) => any;
|
|
1856
|
-
}, string, PublicProps, Readonly<
|
|
2030
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1857
2031
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1858
2032
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1859
2033
|
$inputRef: ({
|
|
@@ -1920,7 +2094,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
|
|
|
1920
2094
|
as?: string;
|
|
1921
2095
|
}> & Readonly<{
|
|
1922
2096
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1923
|
-
}>, "id" | "value" | "name" | "description" | "
|
|
2097
|
+
}>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
1924
2098
|
id: string;
|
|
1925
2099
|
name: ComputedRef<string | undefined>;
|
|
1926
2100
|
label: ComputedRef<string | undefined>;
|
|
@@ -1958,7 +2132,7 @@ export declare interface InputProps<T extends Nullable<FormFieldValue> = Nullabl
|
|
|
1958
2132
|
modelValue?: T;
|
|
1959
2133
|
}
|
|
1960
2134
|
|
|
1961
|
-
export declare function installPlugins(plugins: Plugin_2[], ...args:
|
|
2135
|
+
export declare function installPlugins(plugins: Plugin_2[], ...args: Parameters<Plugin_2['install']>): Promise<void>;
|
|
1962
2136
|
|
|
1963
2137
|
export declare abstract class Job<Listener extends JobListener = JobListener, Status extends JobStatus = JobStatus, SerializedStatus extends JobStatus = JobStatus> {
|
|
1964
2138
|
protected status: Status;
|
|
@@ -2028,10 +2202,9 @@ export declare const Layouts: {
|
|
|
2028
2202
|
readonly Desktop: "desktop";
|
|
2029
2203
|
};
|
|
2030
2204
|
|
|
2031
|
-
export declare const Link:
|
|
2205
|
+
export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2032
2206
|
|
|
2033
2207
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
2034
|
-
close(result?: void | undefined): Promise<void>;
|
|
2035
2208
|
$content: ModalContentInstance;
|
|
2036
2209
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2037
2210
|
|
|
@@ -2052,7 +2225,7 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
2052
2225
|
delay?: number;
|
|
2053
2226
|
}>;
|
|
2054
2227
|
|
|
2055
|
-
export declare const Markdown:
|
|
2228
|
+
export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2056
2229
|
|
|
2057
2230
|
export declare interface MarkdownRouter {
|
|
2058
2231
|
resolve(route: string): string;
|
|
@@ -2068,15 +2241,17 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
|
|
|
2068
2241
|
watch?: boolean;
|
|
2069
2242
|
};
|
|
2070
2243
|
|
|
2244
|
+
export declare const MINUTE_MILLISECONDS = 60000;
|
|
2245
|
+
|
|
2071
2246
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2072
2247
|
|
|
2073
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2074
|
-
props:
|
|
2248
|
+
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2249
|
+
props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
|
|
2075
2250
|
wrapperClass?: HTMLAttributes["class"];
|
|
2076
2251
|
class?: HTMLAttributes["class"];
|
|
2077
2252
|
closeHidden?: boolean;
|
|
2078
2253
|
}) & Partial<{}>> & PublicProps;
|
|
2079
|
-
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose
|
|
2254
|
+
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose>>): void;
|
|
2080
2255
|
attrs: any;
|
|
2081
2256
|
slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
|
|
2082
2257
|
emit: {};
|
|
@@ -2084,41 +2259,46 @@ export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
2084
2259
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2085
2260
|
};
|
|
2086
2261
|
|
|
2262
|
+
export { ModalComponent }
|
|
2263
|
+
|
|
2087
2264
|
export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
|
|
2088
2265
|
|
|
2089
|
-
export
|
|
2266
|
+
export { ModalController }
|
|
2090
2267
|
|
|
2091
|
-
export declare interface
|
|
2092
|
-
|
|
2093
|
-
$content: ModalContentInstance;
|
|
2268
|
+
export declare interface ModalEmits<Result = never> {
|
|
2269
|
+
(event: 'close', payload: Result): void;
|
|
2094
2270
|
}
|
|
2095
2271
|
|
|
2096
|
-
export declare
|
|
2097
|
-
|
|
2098
|
-
}
|
|
2272
|
+
export declare interface ModalExpose {
|
|
2273
|
+
$content: ModalContentInstance;
|
|
2274
|
+
}
|
|
2099
2275
|
|
|
2100
2276
|
export declare interface ModalProps {
|
|
2101
2277
|
persistent?: boolean;
|
|
2278
|
+
fullscreen?: boolean;
|
|
2279
|
+
fullscreenOnMobile?: boolean;
|
|
2102
2280
|
title?: string;
|
|
2103
2281
|
titleHidden?: boolean;
|
|
2104
2282
|
description?: string;
|
|
2105
2283
|
descriptionHidden?: boolean;
|
|
2106
2284
|
}
|
|
2107
2285
|
|
|
2108
|
-
export
|
|
2286
|
+
export { modals }
|
|
2109
2287
|
|
|
2110
|
-
export declare interface ModalSlots<Result =
|
|
2288
|
+
export declare interface ModalSlots<Result = never> {
|
|
2111
2289
|
default(props: {
|
|
2112
2290
|
close(result?: Result): Promise<void>;
|
|
2113
2291
|
}): unknown;
|
|
2114
2292
|
}
|
|
2115
2293
|
|
|
2294
|
+
export { ModalsPortal }
|
|
2295
|
+
|
|
2116
2296
|
export declare function numberInput(defaultValue?: number, options?: {
|
|
2117
|
-
rules?: string;
|
|
2297
|
+
rules?: string[];
|
|
2118
2298
|
}): FormFieldDefinition<'number'>;
|
|
2119
2299
|
|
|
2120
2300
|
export declare function objectInput<T extends object>(defaultValue?: T, options?: {
|
|
2121
|
-
rules?: string;
|
|
2301
|
+
rules?: string[];
|
|
2122
2302
|
}): FormFieldDefinition<'object', string, T>;
|
|
2123
2303
|
|
|
2124
2304
|
export declare function onCleanMounted(operation: () => Function): void;
|
|
@@ -2139,14 +2319,20 @@ declare interface Plugin_2 {
|
|
|
2139
2319
|
}
|
|
2140
2320
|
export { Plugin_2 as Plugin }
|
|
2141
2321
|
|
|
2142
|
-
export declare const ProgressBar: DefineComponent<
|
|
2322
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2143
2323
|
|
|
2144
2324
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2145
|
-
close(result?: string | undefined): Promise<void>;
|
|
2146
2325
|
$content: ModalContentInstance;
|
|
2147
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}
|
|
2326
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2327
|
+
close: (payload: string) => any;
|
|
2328
|
+
}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{
|
|
2329
|
+
onClose?: ((payload: string) => any) | undefined;
|
|
2330
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2331
|
+
|
|
2332
|
+
export declare interface PromptModalEmits extends ModalEmits<PromptModalResult> {
|
|
2333
|
+
}
|
|
2148
2334
|
|
|
2149
|
-
export declare interface PromptModalExpose extends ModalExpose
|
|
2335
|
+
export declare interface PromptModalExpose extends ModalExpose {
|
|
2150
2336
|
}
|
|
2151
2337
|
|
|
2152
2338
|
export declare interface PromptModalProps {
|
|
@@ -2161,6 +2347,8 @@ export declare interface PromptModalProps {
|
|
|
2161
2347
|
cancelVariant?: ButtonVariant;
|
|
2162
2348
|
}
|
|
2163
2349
|
|
|
2350
|
+
export declare type PromptModalResult = string;
|
|
2351
|
+
|
|
2164
2352
|
export declare type PromptOptions = AcceptRefs<{
|
|
2165
2353
|
label?: string;
|
|
2166
2354
|
defaultValue?: string;
|
|
@@ -2172,10 +2360,27 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2172
2360
|
trim?: boolean;
|
|
2173
2361
|
}>;
|
|
2174
2362
|
|
|
2363
|
+
export declare const Provide: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
2364
|
+
|
|
2365
|
+
export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
|
|
2366
|
+
|
|
2367
|
+
export declare function reactiveSet<T>(initial?: T[] | Set<T>, options?: {
|
|
2368
|
+
equals?: (a: T, b: T) => boolean;
|
|
2369
|
+
}): {
|
|
2370
|
+
values(): T[];
|
|
2371
|
+
has(item: T): boolean;
|
|
2372
|
+
add(item: T): void;
|
|
2373
|
+
delete(item: T): void;
|
|
2374
|
+
clear(): void;
|
|
2375
|
+
reset(items?: T[] | Set<T>): void;
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2175
2378
|
export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
|
|
2176
2379
|
|
|
2177
2380
|
export declare function registerErrorHandler(handler: ErrorHandler_2): void;
|
|
2178
2381
|
|
|
2382
|
+
export declare function registerFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
|
|
2383
|
+
|
|
2179
2384
|
export declare function renderMarkdown(markdown: string): string;
|
|
2180
2385
|
|
|
2181
2386
|
export declare function renderVNode(node: VNode | string): string;
|
|
@@ -2186,24 +2391,36 @@ export declare type Replace<TOriginal extends Record<string, unknown>, TReplacem
|
|
|
2186
2391
|
|
|
2187
2392
|
export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
|
|
2188
2393
|
|
|
2189
|
-
export declare function requiredBooleanInput(defaultValue?: boolean
|
|
2394
|
+
export declare function requiredBooleanInput(defaultValue?: boolean, options?: {
|
|
2395
|
+
rules?: string[];
|
|
2396
|
+
}): FormFieldDefinition<'boolean', 'required'>;
|
|
2190
2397
|
|
|
2191
|
-
export declare function requiredDateInput(defaultValue?: Date
|
|
2398
|
+
export declare function requiredDateInput(defaultValue?: Date, options?: {
|
|
2399
|
+
rules?: string[];
|
|
2400
|
+
}): FormFieldDefinition<'date', 'required'>;
|
|
2192
2401
|
|
|
2193
|
-
export declare function requiredEnumInput<const T extends string>(values: readonly T[], defaultValue?: T
|
|
2402
|
+
export declare function requiredEnumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
|
|
2403
|
+
rules?: string[];
|
|
2404
|
+
}): FormFieldDefinition<'enum', 'required', T>;
|
|
2194
2405
|
|
|
2195
|
-
export declare function requiredNumberInput(defaultValue?: number
|
|
2406
|
+
export declare function requiredNumberInput(defaultValue?: number, options?: {
|
|
2407
|
+
rules?: string[];
|
|
2408
|
+
}): FormFieldDefinition<'number', 'required'>;
|
|
2196
2409
|
|
|
2197
|
-
export declare function requiredObjectInput<T extends object>(defaultValue?: T
|
|
2410
|
+
export declare function requiredObjectInput<T extends object>(defaultValue?: T, options?: {
|
|
2411
|
+
rules?: string[];
|
|
2412
|
+
}): FormFieldDefinition<'object', 'required', T>;
|
|
2198
2413
|
|
|
2199
|
-
export declare function requiredStringInput(defaultValue?: string
|
|
2414
|
+
export declare function requiredStringInput(defaultValue?: string, options?: {
|
|
2415
|
+
rules?: string[];
|
|
2416
|
+
}): FormFieldDefinition<'string', 'required'>;
|
|
2200
2417
|
|
|
2201
2418
|
export declare function resetPiniaStore(): Pinia;
|
|
2202
2419
|
|
|
2203
2420
|
export declare function safeHtml(html: string): string;
|
|
2204
2421
|
|
|
2205
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2206
|
-
props:
|
|
2422
|
+
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2423
|
+
props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
|
|
2207
2424
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2208
2425
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2209
2426
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2223,15 +2440,16 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2223
2440
|
options: ComputedRef<Nullable<readonly SelectOptionData[]>>;
|
|
2224
2441
|
selectedOption: ComputedRef<Nullable<SelectOptionData>>;
|
|
2225
2442
|
placeholder: ComputedRef<string>;
|
|
2226
|
-
labelClass
|
|
2227
|
-
optionsClass
|
|
2443
|
+
labelClass: ComputedRef<HTMLAttributes['class']>;
|
|
2444
|
+
optionsClass: ComputedRef<HTMLAttributes['class']>;
|
|
2228
2445
|
align?: SelectContentProps['align'];
|
|
2229
2446
|
side?: SelectContentProps['side'];
|
|
2447
|
+
renderOption: (option: T) => string;
|
|
2230
2448
|
}
|
|
2231
2449
|
|
|
2232
|
-
export declare const SelectLabel:
|
|
2450
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2233
2451
|
|
|
2234
|
-
export declare const SelectOption:
|
|
2452
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2235
2453
|
|
|
2236
2454
|
export declare type SelectOptionData = {
|
|
2237
2455
|
key: string;
|
|
@@ -2239,7 +2457,7 @@ export declare type SelectOptionData = {
|
|
|
2239
2457
|
value: AcceptableValue;
|
|
2240
2458
|
};
|
|
2241
2459
|
|
|
2242
|
-
export declare const SelectOptions:
|
|
2460
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2243
2461
|
|
|
2244
2462
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2245
2463
|
as?: AsTag | Component;
|
|
@@ -2253,7 +2471,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2253
2471
|
side?: SelectContentProps['side'];
|
|
2254
2472
|
}
|
|
2255
2473
|
|
|
2256
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2474
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2257
2475
|
|
|
2258
2476
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2259
2477
|
static persist: string[];
|
|
@@ -2320,10 +2538,12 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2320
2538
|
|
|
2321
2539
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2322
2540
|
|
|
2323
|
-
export declare const Setting:
|
|
2541
|
+
export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2324
2542
|
|
|
2325
2543
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2326
2544
|
|
|
2545
|
+
export { showModal }
|
|
2546
|
+
|
|
2327
2547
|
export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2328
2548
|
|
|
2329
2549
|
export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
|
|
@@ -2338,16 +2558,16 @@ declare class StorageService extends Service {
|
|
|
2338
2558
|
}
|
|
2339
2559
|
|
|
2340
2560
|
export declare function stringInput(defaultValue?: string, options?: {
|
|
2341
|
-
rules?: string;
|
|
2561
|
+
rules?: string[];
|
|
2342
2562
|
}): FormFieldDefinition<'string'>;
|
|
2343
2563
|
|
|
2344
2564
|
export declare type SubmitFormListener = () => unknown;
|
|
2345
2565
|
|
|
2346
2566
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2347
2567
|
|
|
2348
|
-
export declare const TextArea: DefineComponent<
|
|
2568
|
+
export declare const TextArea: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2349
2569
|
"update:modelValue": (value: unknown) => any;
|
|
2350
|
-
}, string, PublicProps, Readonly<
|
|
2570
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
2351
2571
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2352
2572
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2353
2573
|
$inputRef: ({
|
|
@@ -2414,7 +2634,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
|
|
|
2414
2634
|
as?: string;
|
|
2415
2635
|
}> & Readonly<{
|
|
2416
2636
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2417
|
-
}>, "id" | "value" | "name" | "description" | "
|
|
2637
|
+
}>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
2418
2638
|
id: string;
|
|
2419
2639
|
name: ComputedRef<string | undefined>;
|
|
2420
2640
|
label: ComputedRef<string | undefined>;
|
|
@@ -2430,7 +2650,7 @@ default?(_: {}): any;
|
|
|
2430
2650
|
}) | null;
|
|
2431
2651
|
}, any>;
|
|
2432
2652
|
|
|
2433
|
-
export declare const Toast: DefineComponent<
|
|
2653
|
+
export declare const Toast: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2434
2654
|
|
|
2435
2655
|
export declare interface ToastAction {
|
|
2436
2656
|
label: string;
|
|
@@ -2453,7 +2673,7 @@ export declare interface ToastProps {
|
|
|
2453
2673
|
variant?: ToastVariant;
|
|
2454
2674
|
}
|
|
2455
2675
|
|
|
2456
|
-
export declare type ToastVariant = 'secondary' | 'danger';
|
|
2676
|
+
export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
|
|
2457
2677
|
|
|
2458
2678
|
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
2459
2679
|
|
|
@@ -2461,39 +2681,22 @@ export declare const translateWithDefault: (key: string, defaultMessage: string,
|
|
|
2461
2681
|
|
|
2462
2682
|
export declare const UI: Facade<UIService>;
|
|
2463
2683
|
|
|
2464
|
-
export declare type UIComponent<Props = {}, Exposed = {}> = {
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
};
|
|
2468
|
-
};
|
|
2684
|
+
export declare type UIComponent<Props = {}, Exposed = {}, Emits = {}> = Constructor<{
|
|
2685
|
+
$emit?: Emits;
|
|
2686
|
+
} & Exposed> & Component<Props, {}, {}, ComputedOptions, MethodOptions, {}, {}>;
|
|
2469
2687
|
|
|
2470
2688
|
export declare interface UIComponents {
|
|
2471
2689
|
'alert-modal': UIComponent<AlertModalProps, AlertModalExpose>;
|
|
2472
|
-
'confirm-modal': UIComponent<ConfirmModalProps, ConfirmModalExpose>;
|
|
2690
|
+
'confirm-modal': UIComponent<ConfirmModalProps, ConfirmModalExpose, ConfirmModalEmits>;
|
|
2473
2691
|
'error-report-modal': UIComponent<ErrorReportModalProps, ErrorReportModalExpose>;
|
|
2474
2692
|
'loading-modal': UIComponent<LoadingModalProps, LoadingModalExpose>;
|
|
2475
|
-
'prompt-modal': UIComponent<PromptModalProps, PromptModalExpose>;
|
|
2693
|
+
'prompt-modal': UIComponent<PromptModalProps, PromptModalExpose, PromptModalEmits>;
|
|
2476
2694
|
'router-link': UIComponent;
|
|
2477
2695
|
'startup-crash': UIComponent;
|
|
2478
2696
|
toast: UIComponent<ToastProps, ToastExpose>;
|
|
2479
2697
|
}
|
|
2480
2698
|
|
|
2481
|
-
declare interface UIModal<T = unknown> {
|
|
2482
|
-
id: string;
|
|
2483
|
-
properties: Record<string, unknown>;
|
|
2484
|
-
component: Component;
|
|
2485
|
-
closing: boolean;
|
|
2486
|
-
beforeClose: Promise<T | undefined>;
|
|
2487
|
-
afterClose: Promise<T | undefined>;
|
|
2488
|
-
}
|
|
2489
|
-
|
|
2490
|
-
export declare interface UIModalContext {
|
|
2491
|
-
modal: UIModal;
|
|
2492
|
-
childIndex?: number;
|
|
2493
|
-
}
|
|
2494
|
-
|
|
2495
2699
|
export declare class UIService extends _default_4 {
|
|
2496
|
-
private modalCallbacks;
|
|
2497
2700
|
private components;
|
|
2498
2701
|
registerComponent<T extends keyof UIComponents>(name: T, component: UIComponents[T]): void;
|
|
2499
2702
|
resolveComponent<T extends keyof UIComponents>(name: T): UIComponents[T] | null;
|
|
@@ -2510,13 +2713,10 @@ export declare class UIService extends _default_4 {
|
|
|
2510
2713
|
loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
|
|
2511
2714
|
loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
|
|
2512
2715
|
toast(message: string, options?: ToastOptions): void;
|
|
2513
|
-
modal<T extends Component>(
|
|
2514
|
-
|
|
2515
|
-
closeModal(id: string, result?: unknown): Promise<void>;
|
|
2716
|
+
modal<T extends Component>(component: T & object extends GetModalProps<T> ? T : never, props?: GetModalProps<T>): Promise<GetModalResponse<T>>;
|
|
2717
|
+
modal<T extends Component>(component: T & object extends GetModalProps<T> ? never : T, props: GetModalProps<T>): Promise<GetModalResponse<T>>;
|
|
2516
2718
|
closeAllModals(): Promise<void>;
|
|
2517
2719
|
protected boot(): Promise<void>;
|
|
2518
|
-
private removeModal;
|
|
2519
|
-
private watchModalEvents;
|
|
2520
2720
|
private watchMountedEvent;
|
|
2521
2721
|
private watchViewportBreakpoints;
|
|
2522
2722
|
}
|
|
@@ -2581,6 +2781,13 @@ export declare function useLoadingModal(props: LoadingModalProps): {
|
|
|
2581
2781
|
showProgress: ComputedRef<boolean>;
|
|
2582
2782
|
};
|
|
2583
2783
|
|
|
2784
|
+
export declare function useModal<T = never>(): {
|
|
2785
|
+
close(result?: T): Promise<void>;
|
|
2786
|
+
id: ComputedRef<string>;
|
|
2787
|
+
visible: ComputedRef<boolean>;
|
|
2788
|
+
child: ComputedRef<ModalController<never> | null>;
|
|
2789
|
+
};
|
|
2790
|
+
|
|
2584
2791
|
export declare function usePromptModal(props: PromptModalProps): {
|
|
2585
2792
|
form: FormController< {
|
|
2586
2793
|
readonly draft: FormFieldDefinition<"string", "required", unknown>;
|
|
@@ -2593,6 +2800,38 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2593
2800
|
renderedCancelText: ComputedRef<string>;
|
|
2594
2801
|
};
|
|
2595
2802
|
|
|
2803
|
+
export declare function useSelect<T extends Nullable<FormFieldValue>>(props: Ref<SelectProps<T>>, emit: EmitFn<SelectEmits<T>>): {
|
|
2804
|
+
expose: {
|
|
2805
|
+
renderOption: (option: T) => string;
|
|
2806
|
+
labelClass: ComputedRef<any>;
|
|
2807
|
+
optionsClass: ComputedRef<any>;
|
|
2808
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
2809
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
2810
|
+
value: ComputedRef<T>;
|
|
2811
|
+
id: string;
|
|
2812
|
+
name: ComputedRef<string | undefined>;
|
|
2813
|
+
label: ComputedRef<string | undefined>;
|
|
2814
|
+
description: ComputedRef<string | undefined>;
|
|
2815
|
+
placeholder: ComputedRef<string>;
|
|
2816
|
+
options: ComputedRef<{
|
|
2817
|
+
key: string;
|
|
2818
|
+
label: string;
|
|
2819
|
+
value: AcceptableValue;
|
|
2820
|
+
}[] | null>;
|
|
2821
|
+
selectedOption: ComputedRef<{
|
|
2822
|
+
key: string;
|
|
2823
|
+
label: string;
|
|
2824
|
+
value: AcceptableValue;
|
|
2825
|
+
} | undefined>;
|
|
2826
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2827
|
+
required: ComputedRef<boolean | undefined>;
|
|
2828
|
+
update(value: T): void;
|
|
2829
|
+
};
|
|
2830
|
+
acceptableValue: ComputedRef<AcceptableValue>;
|
|
2831
|
+
update: (value: AcceptableValue) => void;
|
|
2832
|
+
renderOption: (option: T) => string;
|
|
2833
|
+
};
|
|
2834
|
+
|
|
2596
2835
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2597
2836
|
|
|
2598
2837
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|
|
@@ -2633,8 +2872,7 @@ declare module '@aerogel/core' {
|
|
|
2633
2872
|
|
|
2634
2873
|
|
|
2635
2874
|
declare module 'vue' {
|
|
2636
|
-
interface ComponentCustomDirectives {
|
|
2637
|
-
measure: Directive<string, string>;
|
|
2875
|
+
interface ComponentCustomDirectives extends AerogelDirectives {
|
|
2638
2876
|
}
|
|
2639
2877
|
}
|
|
2640
2878
|
|
|
@@ -2665,10 +2903,17 @@ declare module 'vue' {
|
|
|
2665
2903
|
}
|
|
2666
2904
|
|
|
2667
2905
|
|
|
2906
|
+
declare global {
|
|
2907
|
+
var testingRuntime: AerogelTestingRuntime | undefined;
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
|
|
2668
2911
|
declare module '@aerogel/core' {
|
|
2669
2912
|
interface AerogelOptions {
|
|
2670
2913
|
services?: Record<string, Service>;
|
|
2671
2914
|
settings?: AppSetting[];
|
|
2915
|
+
formValidationRules?: Record<string, FormFieldValidator>;
|
|
2916
|
+
settingsFullscreenOnMobile?: boolean;
|
|
2672
2917
|
}
|
|
2673
2918
|
}
|
|
2674
2919
|
|
|
@@ -2679,11 +2924,6 @@ declare module 'vue' {
|
|
|
2679
2924
|
}
|
|
2680
2925
|
|
|
2681
2926
|
|
|
2682
|
-
declare global {
|
|
2683
|
-
var testingRuntime: AerogelTestingRuntime | undefined;
|
|
2684
|
-
}
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
2927
|
declare module '@aerogel/core' {
|
|
2688
2928
|
interface AerogelOptions {
|
|
2689
2929
|
components?: Partial<Partial<UIComponents>>;
|
|
@@ -2702,16 +2942,6 @@ declare global {
|
|
|
2702
2942
|
}
|
|
2703
2943
|
|
|
2704
2944
|
|
|
2705
|
-
declare module '@aerogel/core' {
|
|
2706
|
-
interface EventsPayload {
|
|
2707
|
-
error: {
|
|
2708
|
-
error: ErrorSource;
|
|
2709
|
-
message?: string;
|
|
2710
|
-
};
|
|
2711
|
-
}
|
|
2712
|
-
}
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
2945
|
declare module '@aerogel/core' {
|
|
2716
2946
|
interface EventsPayload {
|
|
2717
2947
|
'purge-storage': void;
|
|
@@ -2721,17 +2951,9 @@ declare module '@aerogel/core' {
|
|
|
2721
2951
|
|
|
2722
2952
|
declare module '@aerogel/core' {
|
|
2723
2953
|
interface EventsPayload {
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
};
|
|
2728
|
-
'modal-will-close': {
|
|
2729
|
-
modal: UIModal;
|
|
2730
|
-
result?: unknown;
|
|
2731
|
-
};
|
|
2732
|
-
'modal-has-closed': {
|
|
2733
|
-
modal: UIModal;
|
|
2734
|
-
result?: unknown;
|
|
2954
|
+
error: {
|
|
2955
|
+
error: ErrorSource;
|
|
2956
|
+
message?: string;
|
|
2735
2957
|
};
|
|
2736
2958
|
}
|
|
2737
2959
|
}
|