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