@aerogel/core 0.0.0-next.c2e6acc000e97a1020c2e232678563c53884dd0e → 0.0.0-next.c33ad773d3eb977461630ff22012d99eeedf46cb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aerogel-core.d.ts +1025 -429
- package/dist/aerogel-core.js +1601 -1440
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AppModals.vue +1 -1
- package/src/components/AppOverlays.vue +2 -7
- package/src/components/AppToasts.vue +16 -0
- package/src/components/contracts/Button.ts +1 -0
- package/src/components/contracts/DropdownMenu.ts +11 -0
- package/src/components/contracts/Input.ts +4 -4
- package/src/components/contracts/Modal.ts +4 -0
- package/src/components/contracts/Select.ts +33 -0
- package/src/components/contracts/Toast.ts +13 -0
- package/src/components/contracts/index.ts +2 -0
- package/src/components/headless/HeadlessButton.vue +7 -2
- package/src/components/headless/HeadlessInputDescription.vue +1 -1
- package/src/components/headless/HeadlessInputInput.vue +3 -3
- package/src/components/headless/HeadlessInputTextArea.vue +2 -2
- package/src/components/headless/HeadlessModal.vue +4 -2
- package/src/components/headless/HeadlessModalOverlay.vue +2 -2
- package/src/components/headless/HeadlessModalTitle.vue +2 -2
- package/src/components/headless/HeadlessSelect.vue +92 -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 +30 -0
- package/src/components/headless/HeadlessSelectTrigger.vue +22 -0
- package/src/components/headless/HeadlessSelectValue.vue +15 -0
- package/src/components/headless/HeadlessToast.vue +18 -0
- package/src/components/headless/HeadlessToastAction.vue +13 -0
- package/src/components/headless/index.ts +7 -3
- package/src/components/index.ts +2 -8
- package/src/components/ui/AdvancedOptions.vue +18 -0
- package/src/components/ui/AlertModal.vue +1 -1
- package/src/components/ui/Button.vue +54 -14
- package/src/components/ui/Checkbox.vue +17 -10
- package/src/components/ui/ConfirmModal.vue +3 -3
- package/src/components/ui/DropdownMenu.vue +33 -0
- package/src/components/ui/EditableContent.vue +82 -0
- package/src/components/{lib/AGErrorMessage.vue → ui/ErrorMessage.vue} +2 -3
- package/src/components/ui/ErrorReportModal.vue +1 -1
- package/src/components/ui/ErrorReportModalButtons.vue +6 -8
- package/src/components/ui/ErrorReportModalTitle.vue +1 -1
- package/src/components/ui/Input.vue +8 -4
- package/src/components/ui/Link.vue +2 -2
- package/src/components/ui/LoadingModal.vue +3 -3
- package/src/components/ui/Markdown.vue +10 -3
- package/src/components/ui/Modal.vue +23 -8
- package/src/components/ui/PromptModal.vue +4 -4
- package/src/components/ui/Select.vue +53 -0
- package/src/components/ui/Toast.vue +42 -0
- package/src/components/ui/index.ts +7 -0
- package/src/components/utils.ts +4 -4
- package/src/errors/Errors.ts +4 -5
- package/src/index.css +33 -0
- package/src/ui/UI.state.ts +2 -2
- package/src/ui/UI.ts +12 -20
- package/src/ui/index.ts +4 -4
- package/src/utils/vue.ts +0 -4
- package/src/components/AppSnackbars.vue +0 -13
- package/src/components/constants.ts +0 -8
- package/src/components/forms/AGSelect.story.vue +0 -46
- package/src/components/forms/AGSelect.vue +0 -54
- package/src/components/forms/index.ts +0 -1
- 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 -8
- package/src/components/headless/snackbars/AGHeadlessSnackbar.vue +0 -10
- package/src/components/headless/snackbars/index.ts +0 -40
- package/src/components/lib/AGMeasured.vue +0 -16
- package/src/components/lib/index.ts +0 -3
- package/src/components/snackbars/AGSnackbar.vue +0 -38
- package/src/components/snackbars/index.ts +0 -3
- /package/src/components/{lib/AGStartupCrash.vue → ui/StartupCrash.vue} +0 -0
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AcceptableValue } from 'reka-ui';
|
|
1
2
|
import { AllowedComponentProps } from 'vue';
|
|
2
3
|
import { App as App_2 } from 'vue';
|
|
3
4
|
import { ClassValue } from 'clsx';
|
|
@@ -19,7 +20,7 @@ import { DialogOverlayProps } from 'reka-ui';
|
|
|
19
20
|
import { DialogRootProps } from 'reka-ui';
|
|
20
21
|
import { DialogTitleProps } from 'reka-ui';
|
|
21
22
|
import { Directive } from 'vue';
|
|
22
|
-
import {
|
|
23
|
+
import { DropdownMenuContentProps } from 'reka-ui';
|
|
23
24
|
import { Facade } from '@noeldemartin/utils';
|
|
24
25
|
import { GetClosureArgs } from '@noeldemartin/utils';
|
|
25
26
|
import { _GettersTree } from 'pinia';
|
|
@@ -28,6 +29,7 @@ import { GlobalDirectives } from 'vue';
|
|
|
28
29
|
import { HTMLAttributes } from 'vue';
|
|
29
30
|
import { InjectionKey } from 'vue';
|
|
30
31
|
import { JSError } from '@noeldemartin/utils';
|
|
32
|
+
import { LabelProps } from 'reka-ui';
|
|
31
33
|
import { Listeners } from '@noeldemartin/utils';
|
|
32
34
|
import { ListenersManager } from '@noeldemartin/utils';
|
|
33
35
|
import { MagicObject } from '@noeldemartin/utils';
|
|
@@ -35,7 +37,6 @@ import { MaybeRef } from 'vue';
|
|
|
35
37
|
import { nextTick } from 'vue';
|
|
36
38
|
import { Nullable } from '@noeldemartin/utils';
|
|
37
39
|
import { ObjectValues } from '@noeldemartin/utils';
|
|
38
|
-
import { ObjectWithoutEmpty } from '@noeldemartin/utils';
|
|
39
40
|
import { OnCleanup } from '@vue/reactivity';
|
|
40
41
|
import { Pinia } from 'pinia';
|
|
41
42
|
import { PrimitiveProps } from 'reka-ui';
|
|
@@ -43,6 +44,7 @@ import { PromisedValue } from '@noeldemartin/utils';
|
|
|
43
44
|
import { PropType } from 'vue';
|
|
44
45
|
import { PublicProps } from 'vue';
|
|
45
46
|
import { Ref } from 'vue';
|
|
47
|
+
import { SelectItemProps } from 'reka-ui';
|
|
46
48
|
import { ShallowUnwrapRef } from 'vue';
|
|
47
49
|
import { Slot } from 'vue';
|
|
48
50
|
import { StateTree } from 'pinia';
|
|
@@ -52,7 +54,6 @@ import { VNode } from 'vue';
|
|
|
52
54
|
import { VNodeProps } from 'vue';
|
|
53
55
|
import { WatchOptions } from 'vue';
|
|
54
56
|
import { WatchStopHandle } from 'vue';
|
|
55
|
-
import { Writable } from '@noeldemartin/utils';
|
|
56
57
|
|
|
57
58
|
export declare interface __SetsElement {
|
|
58
59
|
__setElement(element?: HTMLElement): void;
|
|
@@ -60,112 +61,387 @@ export declare interface __SetsElement {
|
|
|
60
61
|
|
|
61
62
|
declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
62
63
|
|
|
63
|
-
declare const __VLS_component_10: DefineComponent<
|
|
64
|
-
name: OptionalProp<string | null>;
|
|
65
|
-
label: OptionalProp<string | null>;
|
|
66
|
-
options: RequiredProp<FormFieldValue[]>;
|
|
67
|
-
noSelectionText: OptionalProp<string | null>;
|
|
68
|
-
optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
|
|
69
|
-
modelValue: OptionalProp<FormFieldValue | null>;
|
|
70
|
-
}>, {
|
|
64
|
+
declare const __VLS_component_10: DefineComponent<SelectProps, {
|
|
71
65
|
id: string;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
66
|
+
name: ComputedRef<string | undefined>;
|
|
67
|
+
label: ComputedRef<string | undefined>;
|
|
68
|
+
description: ComputedRef<string | undefined>;
|
|
69
|
+
placeholder: ComputedRef<string>;
|
|
70
|
+
options: ComputedRef< {
|
|
71
|
+
key: string;
|
|
72
|
+
label: string;
|
|
73
|
+
value: AcceptableValue;
|
|
74
|
+
}[] | null>;
|
|
75
|
+
selectedOption: ComputedRef< {
|
|
76
|
+
key: string;
|
|
77
|
+
label: string;
|
|
78
|
+
value: AcceptableValue;
|
|
79
|
+
} | undefined>;
|
|
80
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
81
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
82
|
+
required: ComputedRef<boolean | undefined>;
|
|
83
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
80
84
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
81
|
-
"update:modelValue": (...args: any[]) => void;
|
|
82
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
83
|
-
name: OptionalProp<string | null>;
|
|
84
|
-
label: OptionalProp<string | null>;
|
|
85
|
-
options: RequiredProp<FormFieldValue[]>;
|
|
86
|
-
noSelectionText: OptionalProp<string | null>;
|
|
87
|
-
optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
|
|
88
|
-
modelValue: OptionalProp<FormFieldValue | null>;
|
|
89
|
-
}>> & Readonly<{
|
|
90
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
91
|
-
}>, {
|
|
92
|
-
name: string | null;
|
|
93
|
-
label: string | null;
|
|
94
|
-
modelValue: FormFieldValue | null;
|
|
95
|
-
noSelectionText: string | null;
|
|
96
|
-
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
97
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
98
|
-
|
|
99
|
-
declare const __VLS_component_11: DefineComponent<ExtractPropTypes< {
|
|
100
|
-
textClass: OptionalProp<string | null>;
|
|
101
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
102
|
-
textClass: OptionalProp<string | null>;
|
|
103
|
-
}>> & Readonly<{}>, {
|
|
104
|
-
textClass: string | null;
|
|
105
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
106
|
-
|
|
107
|
-
declare const __VLS_component_12: DefineComponent<ExtractPropTypes< {
|
|
108
|
-
value: RequiredProp<any>;
|
|
109
|
-
selectedClass: OptionalProp<string | null>;
|
|
110
|
-
unselectedClass: OptionalProp<string | null>;
|
|
111
|
-
activeClass: OptionalProp<string | null>;
|
|
112
|
-
inactiveClass: OptionalProp<string | null>;
|
|
113
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
114
|
-
value: RequiredProp<any>;
|
|
115
|
-
selectedClass: OptionalProp<string | null>;
|
|
116
|
-
unselectedClass: OptionalProp<string | null>;
|
|
117
|
-
activeClass: OptionalProp<string | null>;
|
|
118
|
-
inactiveClass: OptionalProp<string | null>;
|
|
119
|
-
}>> & Readonly<{}>, {
|
|
120
|
-
selectedClass: string | null;
|
|
121
|
-
unselectedClass: string | null;
|
|
122
|
-
activeClass: string | null;
|
|
123
|
-
inactiveClass: string | null;
|
|
124
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
125
|
-
|
|
126
|
-
declare const __VLS_component_13: DefineComponent<ExtractPropTypes< {
|
|
127
|
-
class: OptionalProp<string>;
|
|
128
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
129
|
-
class: OptionalProp<string>;
|
|
130
|
-
}>> & Readonly<{}>, {
|
|
131
|
-
class: string;
|
|
132
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
133
|
-
|
|
134
|
-
declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
135
|
-
|
|
136
|
-
declare const __VLS_component_15: DefineComponent<ExtractPropTypes< {
|
|
137
|
-
as: OptionalProp<string>;
|
|
138
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
139
|
-
as: OptionalProp<string>;
|
|
140
|
-
}>> & Readonly<{}>, {
|
|
141
|
-
as: string;
|
|
142
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
143
|
-
|
|
144
|
-
declare const __VLS_component_16: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
145
|
-
|
|
146
|
-
declare const __VLS_component_17: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
147
85
|
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
148
|
-
}, string, PublicProps, Readonly<
|
|
86
|
+
}, string, PublicProps, Readonly<SelectProps> & Readonly<{
|
|
87
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
88
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
89
|
+
|
|
90
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
91
|
+
|
|
92
|
+
declare const __VLS_component_12: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
93
|
+
|
|
94
|
+
declare const __VLS_component_13: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
95
|
+
|
|
96
|
+
declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
97
|
+
|
|
98
|
+
declare const __VLS_component_15: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
99
|
+
|
|
100
|
+
declare const __VLS_component_16: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDetailsElement>;
|
|
101
|
+
|
|
102
|
+
declare const __VLS_component_17: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
103
|
+
|
|
104
|
+
declare const __VLS_component_18: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
105
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
106
|
+
}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
|
|
149
107
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
150
108
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
151
|
-
$input:
|
|
109
|
+
$input: ({
|
|
110
|
+
$: ComponentInternalInstance;
|
|
111
|
+
$data: {};
|
|
112
|
+
$props: {
|
|
113
|
+
readonly name?: string | undefined;
|
|
114
|
+
readonly label?: string | undefined;
|
|
115
|
+
readonly description?: string | undefined;
|
|
116
|
+
readonly modelValue?: FormFieldValue | undefined;
|
|
117
|
+
readonly as?: string | undefined;
|
|
118
|
+
readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
119
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
120
|
+
$attrs: {
|
|
121
|
+
[x: string]: unknown;
|
|
122
|
+
};
|
|
123
|
+
$refs: {
|
|
124
|
+
[x: string]: unknown;
|
|
125
|
+
};
|
|
126
|
+
$slots: Readonly<{
|
|
127
|
+
[name: string]: Slot<any> | undefined;
|
|
128
|
+
}>;
|
|
129
|
+
$root: ComponentPublicInstance | null;
|
|
130
|
+
$parent: ComponentPublicInstance | null;
|
|
131
|
+
$host: Element | null;
|
|
132
|
+
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
133
|
+
$el: any;
|
|
134
|
+
$options: ComponentOptionsBase<Readonly<InputProps & {
|
|
135
|
+
as?: string;
|
|
136
|
+
}> & Readonly<{
|
|
137
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
138
|
+
}>, {
|
|
139
|
+
id: string;
|
|
140
|
+
name: ComputedRef<string | undefined>;
|
|
141
|
+
label: ComputedRef<string | undefined>;
|
|
142
|
+
description: ComputedRef<string | undefined>;
|
|
143
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
144
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
145
|
+
required: ComputedRef<boolean | undefined>;
|
|
146
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
147
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
148
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
149
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
150
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
151
|
+
created?: (() => void) | (() => void)[];
|
|
152
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
153
|
+
mounted?: (() => void) | (() => void)[];
|
|
154
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
155
|
+
updated?: (() => void) | (() => void)[];
|
|
156
|
+
activated?: (() => void) | (() => void)[];
|
|
157
|
+
deactivated?: (() => void) | (() => void)[];
|
|
158
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
159
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
160
|
+
destroyed?: (() => void) | (() => void)[];
|
|
161
|
+
unmounted?: (() => void) | (() => void)[];
|
|
162
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
163
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
164
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
165
|
+
};
|
|
166
|
+
$forceUpdate: () => void;
|
|
167
|
+
$nextTick: typeof nextTick;
|
|
168
|
+
$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;
|
|
169
|
+
} & Readonly<{}> & Omit<Readonly<InputProps & {
|
|
170
|
+
as?: string;
|
|
171
|
+
}> & Readonly<{
|
|
172
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
173
|
+
}>, "id" | "value" | "required" | "description" | "name" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
174
|
+
id: string;
|
|
175
|
+
name: ComputedRef<string | undefined>;
|
|
176
|
+
label: ComputedRef<string | undefined>;
|
|
177
|
+
description: ComputedRef<string | undefined>;
|
|
178
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
179
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
180
|
+
required: ComputedRef<boolean | undefined>;
|
|
181
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
182
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
183
|
+
$slots: {
|
|
184
|
+
default?(_: {}): any;
|
|
185
|
+
};
|
|
186
|
+
}) | null;
|
|
152
187
|
}, any>;
|
|
153
188
|
|
|
154
|
-
declare const
|
|
189
|
+
declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
190
|
+
|
|
191
|
+
declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
155
192
|
|
|
156
|
-
declare const
|
|
193
|
+
declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
194
|
+
update: (value: string | number) => any;
|
|
195
|
+
save: () => any;
|
|
196
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
197
|
+
onUpdate?: ((value: string | number) => any) | undefined;
|
|
198
|
+
onSave?: (() => any) | undefined;
|
|
199
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
200
|
+
$input: HTMLInputElement;
|
|
201
|
+
}, HTMLDivElement>;
|
|
202
|
+
|
|
203
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
204
|
+
|
|
205
|
+
declare const __VLS_component_22: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
157
206
|
submit: () => any;
|
|
158
|
-
}, string, PublicProps, Readonly<
|
|
207
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
159
208
|
onSubmit?: (() => any) | undefined;
|
|
160
209
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
161
210
|
|
|
162
|
-
declare const
|
|
211
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
163
212
|
|
|
164
|
-
declare const
|
|
213
|
+
declare const __VLS_component_24: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
165
214
|
|
|
166
|
-
declare const
|
|
215
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_15, {
|
|
216
|
+
close(result?: unknown): Promise<void>;
|
|
217
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
218
|
+
$modal: ({
|
|
219
|
+
$: ComponentInternalInstance;
|
|
220
|
+
$data: {};
|
|
221
|
+
$props: {
|
|
222
|
+
readonly persistent?: boolean | undefined;
|
|
223
|
+
readonly title?: string | undefined;
|
|
224
|
+
readonly description?: string | undefined;
|
|
225
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
226
|
+
$attrs: {
|
|
227
|
+
[x: string]: unknown;
|
|
228
|
+
};
|
|
229
|
+
$refs: {
|
|
230
|
+
[x: string]: unknown;
|
|
231
|
+
} & {
|
|
232
|
+
$root: ({
|
|
233
|
+
$: ComponentInternalInstance;
|
|
234
|
+
$data: {};
|
|
235
|
+
$props: {
|
|
236
|
+
readonly open?: boolean | undefined;
|
|
237
|
+
readonly defaultOpen?: boolean | undefined;
|
|
238
|
+
readonly modal?: boolean | undefined;
|
|
239
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
|
|
240
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
241
|
+
$attrs: {
|
|
242
|
+
[x: string]: unknown;
|
|
243
|
+
};
|
|
244
|
+
$refs: {
|
|
245
|
+
[x: string]: unknown;
|
|
246
|
+
};
|
|
247
|
+
$slots: Readonly<{
|
|
248
|
+
[name: string]: Slot<any> | undefined;
|
|
249
|
+
}>;
|
|
250
|
+
$root: ComponentPublicInstance | null;
|
|
251
|
+
$parent: ComponentPublicInstance | null;
|
|
252
|
+
$host: Element | null;
|
|
253
|
+
$emit: (event: "update:open", value: boolean) => void;
|
|
254
|
+
$el: any;
|
|
255
|
+
$options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
|
|
256
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
257
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
258
|
+
"update:open": (value: boolean) => any;
|
|
259
|
+
}, string, {
|
|
260
|
+
defaultOpen: boolean;
|
|
261
|
+
open: boolean;
|
|
262
|
+
modal: boolean;
|
|
263
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
264
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
265
|
+
created?: (() => void) | (() => void)[];
|
|
266
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
267
|
+
mounted?: (() => void) | (() => void)[];
|
|
268
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
269
|
+
updated?: (() => void) | (() => void)[];
|
|
270
|
+
activated?: (() => void) | (() => void)[];
|
|
271
|
+
deactivated?: (() => void) | (() => void)[];
|
|
272
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
273
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
274
|
+
destroyed?: (() => void) | (() => void)[];
|
|
275
|
+
unmounted?: (() => void) | (() => void)[];
|
|
276
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
277
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
278
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
279
|
+
};
|
|
280
|
+
$forceUpdate: () => void;
|
|
281
|
+
$nextTick: typeof nextTick;
|
|
282
|
+
$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;
|
|
283
|
+
} & Readonly<{
|
|
284
|
+
defaultOpen: boolean;
|
|
285
|
+
open: boolean;
|
|
286
|
+
modal: boolean;
|
|
287
|
+
}> & Omit<Readonly<DialogRootProps> & Readonly<{
|
|
288
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
289
|
+
}>, "modal" | "open" | "defaultOpen"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
290
|
+
$slots: Readonly<{
|
|
291
|
+
default: (props: {
|
|
292
|
+
open: boolean;
|
|
293
|
+
}) => any;
|
|
294
|
+
}> & {
|
|
295
|
+
default: (props: {
|
|
296
|
+
open: boolean;
|
|
297
|
+
}) => any;
|
|
298
|
+
};
|
|
299
|
+
}) | null;
|
|
300
|
+
};
|
|
301
|
+
$slots: Readonly<{
|
|
302
|
+
[name: string]: Slot<any> | undefined;
|
|
303
|
+
}>;
|
|
304
|
+
$root: ComponentPublicInstance | null;
|
|
305
|
+
$parent: ComponentPublicInstance | null;
|
|
306
|
+
$host: Element | null;
|
|
307
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
308
|
+
$el: any;
|
|
309
|
+
$options: ComponentOptionsBase<Readonly<ModalProps> & Readonly<{}>, {
|
|
310
|
+
close(result?: unknown): Promise<void>;
|
|
311
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
312
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
313
|
+
created?: (() => void) | (() => void)[];
|
|
314
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
315
|
+
mounted?: (() => void) | (() => void)[];
|
|
316
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
317
|
+
updated?: (() => void) | (() => void)[];
|
|
318
|
+
activated?: (() => void) | (() => void)[];
|
|
319
|
+
deactivated?: (() => void) | (() => void)[];
|
|
320
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
321
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
322
|
+
destroyed?: (() => void) | (() => void)[];
|
|
323
|
+
unmounted?: (() => void) | (() => void)[];
|
|
324
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
325
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
326
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
327
|
+
};
|
|
328
|
+
$forceUpdate: () => void;
|
|
329
|
+
$nextTick: typeof nextTick;
|
|
330
|
+
$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;
|
|
331
|
+
} & Readonly<{}> & Omit<Readonly<ModalProps> & Readonly<{}>, "close"> & ShallowUnwrapRef< {
|
|
332
|
+
close(result?: unknown): Promise<void>;
|
|
333
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
334
|
+
$slots: Readonly<ModalSlots> & ModalSlots;
|
|
335
|
+
}) | null;
|
|
336
|
+
}, any>;
|
|
167
337
|
|
|
168
|
-
declare const
|
|
338
|
+
declare const __VLS_component_26: DefineComponent<SelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
339
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
340
|
+
}, string, PublicProps, Readonly<SelectProps> & Readonly<{
|
|
341
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
342
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
343
|
+
$select: ({
|
|
344
|
+
$: ComponentInternalInstance;
|
|
345
|
+
$data: {};
|
|
346
|
+
$props: {
|
|
347
|
+
readonly options?: unknown[] | undefined;
|
|
348
|
+
readonly placeholder?: string | undefined;
|
|
349
|
+
readonly renderOption?: ((option: unknown) => string) | undefined;
|
|
350
|
+
readonly name?: string | undefined;
|
|
351
|
+
readonly label?: string | undefined;
|
|
352
|
+
readonly description?: string | undefined;
|
|
353
|
+
readonly modelValue?: FormFieldValue | undefined;
|
|
354
|
+
readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
355
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
356
|
+
$attrs: {
|
|
357
|
+
[x: string]: unknown;
|
|
358
|
+
};
|
|
359
|
+
$refs: {
|
|
360
|
+
[x: string]: unknown;
|
|
361
|
+
};
|
|
362
|
+
$slots: Readonly<{
|
|
363
|
+
[name: string]: Slot<any> | undefined;
|
|
364
|
+
}>;
|
|
365
|
+
$root: ComponentPublicInstance | null;
|
|
366
|
+
$parent: ComponentPublicInstance | null;
|
|
367
|
+
$host: Element | null;
|
|
368
|
+
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
369
|
+
$el: any;
|
|
370
|
+
$options: ComponentOptionsBase<Readonly<SelectProps> & Readonly<{
|
|
371
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
372
|
+
}>, {
|
|
373
|
+
id: string;
|
|
374
|
+
name: ComputedRef<string | undefined>;
|
|
375
|
+
label: ComputedRef<string | undefined>;
|
|
376
|
+
description: ComputedRef<string | undefined>;
|
|
377
|
+
placeholder: ComputedRef<string>;
|
|
378
|
+
options: ComputedRef< {
|
|
379
|
+
key: string;
|
|
380
|
+
label: string;
|
|
381
|
+
value: AcceptableValue;
|
|
382
|
+
}[] | null>;
|
|
383
|
+
selectedOption: ComputedRef< {
|
|
384
|
+
key: string;
|
|
385
|
+
label: string;
|
|
386
|
+
value: AcceptableValue;
|
|
387
|
+
} | undefined>;
|
|
388
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
389
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
390
|
+
required: ComputedRef<boolean | undefined>;
|
|
391
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
392
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
393
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
394
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
395
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
396
|
+
created?: (() => void) | (() => void)[];
|
|
397
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
398
|
+
mounted?: (() => void) | (() => void)[];
|
|
399
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
400
|
+
updated?: (() => void) | (() => void)[];
|
|
401
|
+
activated?: (() => void) | (() => void)[];
|
|
402
|
+
deactivated?: (() => void) | (() => void)[];
|
|
403
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
404
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
405
|
+
destroyed?: (() => void) | (() => void)[];
|
|
406
|
+
unmounted?: (() => void) | (() => void)[];
|
|
407
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
408
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
409
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
410
|
+
};
|
|
411
|
+
$forceUpdate: () => void;
|
|
412
|
+
$nextTick: typeof nextTick;
|
|
413
|
+
$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;
|
|
414
|
+
} & Readonly<{}> & Omit<Readonly<SelectProps> & Readonly<{
|
|
415
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
416
|
+
}>, "id" | "value" | "required" | "description" | "name" | "errors" | "label" | "placeholder" | "update" | "options" | "selectedOption"> & ShallowUnwrapRef< {
|
|
417
|
+
id: string;
|
|
418
|
+
name: ComputedRef<string | undefined>;
|
|
419
|
+
label: ComputedRef<string | undefined>;
|
|
420
|
+
description: ComputedRef<string | undefined>;
|
|
421
|
+
placeholder: ComputedRef<string>;
|
|
422
|
+
options: ComputedRef< {
|
|
423
|
+
key: string;
|
|
424
|
+
label: string;
|
|
425
|
+
value: AcceptableValue;
|
|
426
|
+
}[] | null>;
|
|
427
|
+
selectedOption: ComputedRef< {
|
|
428
|
+
key: string;
|
|
429
|
+
label: string;
|
|
430
|
+
value: AcceptableValue;
|
|
431
|
+
} | undefined>;
|
|
432
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
433
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
434
|
+
required: ComputedRef<boolean | undefined>;
|
|
435
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
436
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
437
|
+
$slots: {
|
|
438
|
+
default?(_: {
|
|
439
|
+
modelValue: FormFieldValue | undefined;
|
|
440
|
+
open: unknown;
|
|
441
|
+
}): any;
|
|
442
|
+
};
|
|
443
|
+
}) | null;
|
|
444
|
+
}, any>;
|
|
169
445
|
|
|
170
446
|
declare const __VLS_component_3: DefineComponent<__VLS_Props, {
|
|
171
447
|
id: string;
|
|
@@ -176,7 +452,7 @@ value: ComputedRef<string | number | boolean | object | undefined>;
|
|
|
176
452
|
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
177
453
|
required: ComputedRef<boolean | undefined>;
|
|
178
454
|
update(value: Nullable<FormFieldValue>): void;
|
|
179
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
455
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
180
456
|
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
181
457
|
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
182
458
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
@@ -186,7 +462,9 @@ declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, Compone
|
|
|
186
462
|
|
|
187
463
|
declare const __VLS_component_5: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
188
464
|
|
|
189
|
-
declare const __VLS_component_6: DefineComponent<ModalProps, {
|
|
465
|
+
declare const __VLS_component_6: DefineComponent<ModalProps, {
|
|
466
|
+
close(result?: unknown): Promise<void>;
|
|
467
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
190
468
|
$root: ({
|
|
191
469
|
$: ComponentInternalInstance;
|
|
192
470
|
$data: {};
|
|
@@ -236,7 +514,7 @@ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
|
236
514
|
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
237
515
|
};
|
|
238
516
|
$forceUpdate: () => void;
|
|
239
|
-
$nextTick: nextTick;
|
|
517
|
+
$nextTick: typeof nextTick;
|
|
240
518
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
241
519
|
} & Readonly<{
|
|
242
520
|
defaultOpen: boolean;
|
|
@@ -267,58 +545,87 @@ declare type __VLS_Props = InputProps & {
|
|
|
267
545
|
as?: string;
|
|
268
546
|
};
|
|
269
547
|
|
|
270
|
-
declare type __VLS_Props_10 =
|
|
548
|
+
declare type __VLS_Props_10 = {
|
|
549
|
+
report: ErrorReport;
|
|
550
|
+
currentReport?: number;
|
|
551
|
+
totalReports?: number;
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
declare type __VLS_Props_11 = {
|
|
555
|
+
form?: FormController;
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
declare type __VLS_Props_12 = InputProps & {
|
|
559
|
+
inputClass?: HTMLAttributes['class'];
|
|
560
|
+
wrapperClass?: HTMLAttributes['class'];
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
declare type __VLS_Props_13 = Omit<ButtonProps, 'variant'>;
|
|
564
|
+
|
|
565
|
+
declare type __VLS_Props_14 = {
|
|
566
|
+
as?: string;
|
|
567
|
+
inline?: boolean;
|
|
568
|
+
langKey?: string;
|
|
569
|
+
langParams?: number | Record<string, unknown>;
|
|
570
|
+
langDefault?: string;
|
|
571
|
+
text?: string;
|
|
572
|
+
actions?: Record<string, () => unknown>;
|
|
573
|
+
};
|
|
574
|
+
|
|
575
|
+
declare type __VLS_Props_15 = ModalProps & {
|
|
576
|
+
dismissable?: boolean;
|
|
271
577
|
wrapperClass?: HTMLAttributes['class'];
|
|
272
578
|
class?: HTMLAttributes['class'];
|
|
273
579
|
};
|
|
274
580
|
|
|
275
|
-
declare type
|
|
581
|
+
declare type __VLS_Props_16 = {
|
|
276
582
|
modal: UIModal;
|
|
277
583
|
childIndex?: number;
|
|
278
584
|
};
|
|
279
585
|
|
|
280
|
-
declare type
|
|
586
|
+
declare type __VLS_Props_17 = {
|
|
281
587
|
filledClass?: string;
|
|
282
588
|
progress?: number;
|
|
283
589
|
job?: Job;
|
|
284
590
|
};
|
|
285
591
|
|
|
592
|
+
declare type __VLS_Props_18 = ToastProps & {
|
|
593
|
+
class?: HTMLAttributes['class'];
|
|
594
|
+
};
|
|
595
|
+
|
|
286
596
|
declare type __VLS_Props_2 = {
|
|
287
597
|
type?: string;
|
|
288
598
|
};
|
|
289
599
|
|
|
290
|
-
declare type __VLS_Props_3 =
|
|
291
|
-
inputClass?: HTMLAttributes['class'];
|
|
292
|
-
};
|
|
600
|
+
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
293
601
|
|
|
294
|
-
declare type __VLS_Props_4 =
|
|
295
|
-
report: ErrorReport;
|
|
296
|
-
};
|
|
602
|
+
declare type __VLS_Props_4 = SelectItemProps;
|
|
297
603
|
|
|
298
604
|
declare type __VLS_Props_5 = {
|
|
299
|
-
|
|
300
|
-
currentReport?: number;
|
|
301
|
-
totalReports?: number;
|
|
605
|
+
class?: string;
|
|
302
606
|
};
|
|
303
607
|
|
|
304
|
-
declare type __VLS_Props_6 = {
|
|
305
|
-
|
|
608
|
+
declare type __VLS_Props_6 = InputProps & {
|
|
609
|
+
inputClass?: HTMLAttributes['class'];
|
|
610
|
+
labelClass?: HTMLAttributes['class'];
|
|
306
611
|
};
|
|
307
612
|
|
|
308
|
-
declare type __VLS_Props_7 =
|
|
309
|
-
|
|
310
|
-
|
|
613
|
+
declare type __VLS_Props_7 = {
|
|
614
|
+
type?: string;
|
|
615
|
+
contentClass?: HTMLAttributes['class'];
|
|
616
|
+
ariaLabel?: string;
|
|
617
|
+
formAriaHidden?: boolean;
|
|
618
|
+
tabindex?: string;
|
|
619
|
+
text: string;
|
|
620
|
+
disabled?: boolean;
|
|
311
621
|
};
|
|
312
622
|
|
|
313
|
-
declare type __VLS_Props_8 =
|
|
623
|
+
declare type __VLS_Props_8 = {
|
|
624
|
+
error: ErrorSource;
|
|
625
|
+
};
|
|
314
626
|
|
|
315
627
|
declare type __VLS_Props_9 = {
|
|
316
|
-
|
|
317
|
-
inline?: boolean;
|
|
318
|
-
langKey?: string;
|
|
319
|
-
langParams?: number | Record<string, unknown>;
|
|
320
|
-
text?: string;
|
|
321
|
-
actions?: Record<string, () => unknown>;
|
|
628
|
+
report: ErrorReport;
|
|
322
629
|
};
|
|
323
630
|
|
|
324
631
|
declare function __VLS_template(): {
|
|
@@ -335,7 +642,7 @@ declare function __VLS_template_10(): {
|
|
|
335
642
|
attrs: Partial<{}>;
|
|
336
643
|
slots: {
|
|
337
644
|
default?(_: {
|
|
338
|
-
modelValue: FormFieldValue |
|
|
645
|
+
modelValue: FormFieldValue | undefined;
|
|
339
646
|
open: unknown;
|
|
340
647
|
}): any;
|
|
341
648
|
};
|
|
@@ -347,7 +654,6 @@ declare function __VLS_template_11(): {
|
|
|
347
654
|
attrs: Partial<{}>;
|
|
348
655
|
slots: {
|
|
349
656
|
default?(_: {}): any;
|
|
350
|
-
icon?(_: {}): any;
|
|
351
657
|
};
|
|
352
658
|
refs: {};
|
|
353
659
|
rootEl: any;
|
|
@@ -377,7 +683,7 @@ declare function __VLS_template_14(): {
|
|
|
377
683
|
default?(_: {}): any;
|
|
378
684
|
};
|
|
379
685
|
refs: {};
|
|
380
|
-
rootEl:
|
|
686
|
+
rootEl: any;
|
|
381
687
|
};
|
|
382
688
|
|
|
383
689
|
declare function __VLS_template_15(): {
|
|
@@ -395,7 +701,7 @@ declare function __VLS_template_16(): {
|
|
|
395
701
|
default?(_: {}): any;
|
|
396
702
|
};
|
|
397
703
|
refs: {};
|
|
398
|
-
rootEl:
|
|
704
|
+
rootEl: HTMLDetailsElement;
|
|
399
705
|
};
|
|
400
706
|
|
|
401
707
|
declare function __VLS_template_17(): {
|
|
@@ -403,21 +709,96 @@ declare function __VLS_template_17(): {
|
|
|
403
709
|
slots: {
|
|
404
710
|
default?(_: {}): any;
|
|
405
711
|
};
|
|
406
|
-
refs: {
|
|
407
|
-
$input: unknown;
|
|
408
|
-
};
|
|
712
|
+
refs: {};
|
|
409
713
|
rootEl: any;
|
|
410
714
|
};
|
|
411
715
|
|
|
412
716
|
declare function __VLS_template_18(): {
|
|
413
717
|
attrs: Partial<{}>;
|
|
414
|
-
slots:
|
|
415
|
-
default(
|
|
416
|
-
}> & {
|
|
417
|
-
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
718
|
+
slots: {
|
|
719
|
+
default?(_: {}): any;
|
|
418
720
|
};
|
|
419
|
-
refs: {
|
|
420
|
-
|
|
721
|
+
refs: {
|
|
722
|
+
$input: ({
|
|
723
|
+
$: ComponentInternalInstance;
|
|
724
|
+
$data: {};
|
|
725
|
+
$props: {
|
|
726
|
+
readonly name?: string | undefined;
|
|
727
|
+
readonly label?: string | undefined;
|
|
728
|
+
readonly description?: string | undefined;
|
|
729
|
+
readonly modelValue?: FormFieldValue | undefined;
|
|
730
|
+
readonly as?: string | undefined;
|
|
731
|
+
readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
732
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
733
|
+
$attrs: {
|
|
734
|
+
[x: string]: unknown;
|
|
735
|
+
};
|
|
736
|
+
$refs: {
|
|
737
|
+
[x: string]: unknown;
|
|
738
|
+
};
|
|
739
|
+
$slots: Readonly<{
|
|
740
|
+
[name: string]: Slot<any> | undefined;
|
|
741
|
+
}>;
|
|
742
|
+
$root: ComponentPublicInstance | null;
|
|
743
|
+
$parent: ComponentPublicInstance | null;
|
|
744
|
+
$host: Element | null;
|
|
745
|
+
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
746
|
+
$el: any;
|
|
747
|
+
$options: ComponentOptionsBase<Readonly<InputProps & {
|
|
748
|
+
as?: string;
|
|
749
|
+
}> & Readonly<{
|
|
750
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
751
|
+
}>, {
|
|
752
|
+
id: string;
|
|
753
|
+
name: ComputedRef<string | undefined>;
|
|
754
|
+
label: ComputedRef<string | undefined>;
|
|
755
|
+
description: ComputedRef<string | undefined>;
|
|
756
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
757
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
758
|
+
required: ComputedRef<boolean | undefined>;
|
|
759
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
760
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
761
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
762
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
763
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
764
|
+
created?: (() => void) | (() => void)[];
|
|
765
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
766
|
+
mounted?: (() => void) | (() => void)[];
|
|
767
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
768
|
+
updated?: (() => void) | (() => void)[];
|
|
769
|
+
activated?: (() => void) | (() => void)[];
|
|
770
|
+
deactivated?: (() => void) | (() => void)[];
|
|
771
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
772
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
773
|
+
destroyed?: (() => void) | (() => void)[];
|
|
774
|
+
unmounted?: (() => void) | (() => void)[];
|
|
775
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
776
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
777
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
778
|
+
};
|
|
779
|
+
$forceUpdate: () => void;
|
|
780
|
+
$nextTick: typeof nextTick;
|
|
781
|
+
$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;
|
|
782
|
+
} & Readonly<{}> & Omit<Readonly<InputProps & {
|
|
783
|
+
as?: string;
|
|
784
|
+
}> & Readonly<{
|
|
785
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
786
|
+
}>, "id" | "value" | "required" | "description" | "name" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
787
|
+
id: string;
|
|
788
|
+
name: ComputedRef<string | undefined>;
|
|
789
|
+
label: ComputedRef<string | undefined>;
|
|
790
|
+
description: ComputedRef<string | undefined>;
|
|
791
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
792
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
793
|
+
required: ComputedRef<boolean | undefined>;
|
|
794
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
795
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
796
|
+
$slots: {
|
|
797
|
+
default?(_: {}): any;
|
|
798
|
+
};
|
|
799
|
+
}) | null;
|
|
800
|
+
};
|
|
801
|
+
rootEl: any;
|
|
421
802
|
};
|
|
422
803
|
|
|
423
804
|
declare function __VLS_template_19(): {
|
|
@@ -426,7 +807,7 @@ declare function __VLS_template_19(): {
|
|
|
426
807
|
default?(_: {}): any;
|
|
427
808
|
};
|
|
428
809
|
refs: {};
|
|
429
|
-
rootEl:
|
|
810
|
+
rootEl: any;
|
|
430
811
|
};
|
|
431
812
|
|
|
432
813
|
declare function __VLS_template_2(): {
|
|
@@ -439,6 +820,37 @@ declare function __VLS_template_2(): {
|
|
|
439
820
|
};
|
|
440
821
|
|
|
441
822
|
declare function __VLS_template_20(): {
|
|
823
|
+
attrs: Partial<{}>;
|
|
824
|
+
slots: {
|
|
825
|
+
default?(_: {}): any;
|
|
826
|
+
};
|
|
827
|
+
refs: {
|
|
828
|
+
$input: HTMLInputElement;
|
|
829
|
+
};
|
|
830
|
+
rootEl: HTMLDivElement;
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
declare function __VLS_template_21(): {
|
|
834
|
+
attrs: Partial<{}>;
|
|
835
|
+
slots: Readonly<{
|
|
836
|
+
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
837
|
+
}> & {
|
|
838
|
+
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
839
|
+
};
|
|
840
|
+
refs: {};
|
|
841
|
+
rootEl: HTMLDivElement;
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
declare function __VLS_template_22(): {
|
|
845
|
+
attrs: Partial<{}>;
|
|
846
|
+
slots: {
|
|
847
|
+
default?(_: {}): any;
|
|
848
|
+
};
|
|
849
|
+
refs: {};
|
|
850
|
+
rootEl: HTMLFormElement;
|
|
851
|
+
};
|
|
852
|
+
|
|
853
|
+
declare function __VLS_template_23(): {
|
|
442
854
|
attrs: Partial<{}>;
|
|
443
855
|
slots: {
|
|
444
856
|
default?(_: {}): any;
|
|
@@ -447,21 +859,251 @@ declare function __VLS_template_20(): {
|
|
|
447
859
|
rootEl: any;
|
|
448
860
|
};
|
|
449
861
|
|
|
450
|
-
declare function
|
|
862
|
+
declare function __VLS_template_24(): {
|
|
451
863
|
attrs: Partial<{}>;
|
|
452
864
|
slots: Readonly<{
|
|
453
865
|
default?(): VNode[];
|
|
454
866
|
}> & {
|
|
455
867
|
default?(): VNode[];
|
|
456
868
|
};
|
|
457
|
-
refs: {};
|
|
458
|
-
rootEl: any;
|
|
459
|
-
};
|
|
460
|
-
|
|
461
|
-
declare function
|
|
462
|
-
attrs: Partial<{}>;
|
|
463
|
-
slots: Readonly<ModalSlots> & ModalSlots;
|
|
464
|
-
refs: {
|
|
869
|
+
refs: {};
|
|
870
|
+
rootEl: any;
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
declare function __VLS_template_25(): {
|
|
874
|
+
attrs: Partial<{}>;
|
|
875
|
+
slots: Readonly<ModalSlots> & ModalSlots;
|
|
876
|
+
refs: {
|
|
877
|
+
$modal: ({
|
|
878
|
+
$: ComponentInternalInstance;
|
|
879
|
+
$data: {};
|
|
880
|
+
$props: {
|
|
881
|
+
readonly persistent?: boolean | undefined;
|
|
882
|
+
readonly title?: string | undefined;
|
|
883
|
+
readonly description?: string | undefined;
|
|
884
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
885
|
+
$attrs: {
|
|
886
|
+
[x: string]: unknown;
|
|
887
|
+
};
|
|
888
|
+
$refs: {
|
|
889
|
+
[x: string]: unknown;
|
|
890
|
+
} & {
|
|
891
|
+
$root: ({
|
|
892
|
+
$: ComponentInternalInstance;
|
|
893
|
+
$data: {};
|
|
894
|
+
$props: {
|
|
895
|
+
readonly open?: boolean | undefined;
|
|
896
|
+
readonly defaultOpen?: boolean | undefined;
|
|
897
|
+
readonly modal?: boolean | undefined;
|
|
898
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
|
|
899
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
900
|
+
$attrs: {
|
|
901
|
+
[x: string]: unknown;
|
|
902
|
+
};
|
|
903
|
+
$refs: {
|
|
904
|
+
[x: string]: unknown;
|
|
905
|
+
};
|
|
906
|
+
$slots: Readonly<{
|
|
907
|
+
[name: string]: Slot<any> | undefined;
|
|
908
|
+
}>;
|
|
909
|
+
$root: ComponentPublicInstance | null;
|
|
910
|
+
$parent: ComponentPublicInstance | null;
|
|
911
|
+
$host: Element | null;
|
|
912
|
+
$emit: (event: "update:open", value: boolean) => void;
|
|
913
|
+
$el: any;
|
|
914
|
+
$options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
|
|
915
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
916
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
917
|
+
"update:open": (value: boolean) => any;
|
|
918
|
+
}, string, {
|
|
919
|
+
defaultOpen: boolean;
|
|
920
|
+
open: boolean;
|
|
921
|
+
modal: boolean;
|
|
922
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
923
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
924
|
+
created?: (() => void) | (() => void)[];
|
|
925
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
926
|
+
mounted?: (() => void) | (() => void)[];
|
|
927
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
928
|
+
updated?: (() => void) | (() => void)[];
|
|
929
|
+
activated?: (() => void) | (() => void)[];
|
|
930
|
+
deactivated?: (() => void) | (() => void)[];
|
|
931
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
932
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
933
|
+
destroyed?: (() => void) | (() => void)[];
|
|
934
|
+
unmounted?: (() => void) | (() => void)[];
|
|
935
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
936
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
937
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
938
|
+
};
|
|
939
|
+
$forceUpdate: () => void;
|
|
940
|
+
$nextTick: typeof nextTick;
|
|
941
|
+
$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;
|
|
942
|
+
} & Readonly<{
|
|
943
|
+
defaultOpen: boolean;
|
|
944
|
+
open: boolean;
|
|
945
|
+
modal: boolean;
|
|
946
|
+
}> & Omit<Readonly<DialogRootProps> & Readonly<{
|
|
947
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
948
|
+
}>, "modal" | "open" | "defaultOpen"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
949
|
+
$slots: Readonly<{
|
|
950
|
+
default: (props: {
|
|
951
|
+
open: boolean;
|
|
952
|
+
}) => any;
|
|
953
|
+
}> & {
|
|
954
|
+
default: (props: {
|
|
955
|
+
open: boolean;
|
|
956
|
+
}) => any;
|
|
957
|
+
};
|
|
958
|
+
}) | null;
|
|
959
|
+
};
|
|
960
|
+
$slots: Readonly<{
|
|
961
|
+
[name: string]: Slot<any> | undefined;
|
|
962
|
+
}>;
|
|
963
|
+
$root: ComponentPublicInstance | null;
|
|
964
|
+
$parent: ComponentPublicInstance | null;
|
|
965
|
+
$host: Element | null;
|
|
966
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
967
|
+
$el: any;
|
|
968
|
+
$options: ComponentOptionsBase<Readonly<ModalProps> & Readonly<{}>, {
|
|
969
|
+
close(result?: unknown): Promise<void>;
|
|
970
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
971
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
972
|
+
created?: (() => void) | (() => void)[];
|
|
973
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
974
|
+
mounted?: (() => void) | (() => void)[];
|
|
975
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
976
|
+
updated?: (() => void) | (() => void)[];
|
|
977
|
+
activated?: (() => void) | (() => void)[];
|
|
978
|
+
deactivated?: (() => void) | (() => void)[];
|
|
979
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
980
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
981
|
+
destroyed?: (() => void) | (() => void)[];
|
|
982
|
+
unmounted?: (() => void) | (() => void)[];
|
|
983
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
984
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
985
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
986
|
+
};
|
|
987
|
+
$forceUpdate: () => void;
|
|
988
|
+
$nextTick: typeof nextTick;
|
|
989
|
+
$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;
|
|
990
|
+
} & Readonly<{}> & Omit<Readonly<ModalProps> & Readonly<{}>, "close"> & ShallowUnwrapRef< {
|
|
991
|
+
close(result?: unknown): Promise<void>;
|
|
992
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
993
|
+
$slots: Readonly<ModalSlots> & ModalSlots;
|
|
994
|
+
}) | null;
|
|
995
|
+
};
|
|
996
|
+
rootEl: any;
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
declare function __VLS_template_26(): {
|
|
1000
|
+
attrs: Partial<{}>;
|
|
1001
|
+
slots: {
|
|
1002
|
+
default?(_: {}): any;
|
|
1003
|
+
};
|
|
1004
|
+
refs: {
|
|
1005
|
+
$select: ({
|
|
1006
|
+
$: ComponentInternalInstance;
|
|
1007
|
+
$data: {};
|
|
1008
|
+
$props: {
|
|
1009
|
+
readonly options?: unknown[] | undefined;
|
|
1010
|
+
readonly placeholder?: string | undefined;
|
|
1011
|
+
readonly renderOption?: ((option: unknown) => string) | undefined;
|
|
1012
|
+
readonly name?: string | undefined;
|
|
1013
|
+
readonly label?: string | undefined;
|
|
1014
|
+
readonly description?: string | undefined;
|
|
1015
|
+
readonly modelValue?: FormFieldValue | undefined;
|
|
1016
|
+
readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1017
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1018
|
+
$attrs: {
|
|
1019
|
+
[x: string]: unknown;
|
|
1020
|
+
};
|
|
1021
|
+
$refs: {
|
|
1022
|
+
[x: string]: unknown;
|
|
1023
|
+
};
|
|
1024
|
+
$slots: Readonly<{
|
|
1025
|
+
[name: string]: Slot<any> | undefined;
|
|
1026
|
+
}>;
|
|
1027
|
+
$root: ComponentPublicInstance | null;
|
|
1028
|
+
$parent: ComponentPublicInstance | null;
|
|
1029
|
+
$host: Element | null;
|
|
1030
|
+
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
1031
|
+
$el: any;
|
|
1032
|
+
$options: ComponentOptionsBase<Readonly<SelectProps> & Readonly<{
|
|
1033
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1034
|
+
}>, {
|
|
1035
|
+
id: string;
|
|
1036
|
+
name: ComputedRef<string | undefined>;
|
|
1037
|
+
label: ComputedRef<string | undefined>;
|
|
1038
|
+
description: ComputedRef<string | undefined>;
|
|
1039
|
+
placeholder: ComputedRef<string>;
|
|
1040
|
+
options: ComputedRef< {
|
|
1041
|
+
key: string;
|
|
1042
|
+
label: string;
|
|
1043
|
+
value: AcceptableValue;
|
|
1044
|
+
}[] | null>;
|
|
1045
|
+
selectedOption: ComputedRef< {
|
|
1046
|
+
key: string;
|
|
1047
|
+
label: string;
|
|
1048
|
+
value: AcceptableValue;
|
|
1049
|
+
} | undefined>;
|
|
1050
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
1051
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1052
|
+
required: ComputedRef<boolean | undefined>;
|
|
1053
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
1054
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1055
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
1056
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1057
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1058
|
+
created?: (() => void) | (() => void)[];
|
|
1059
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1060
|
+
mounted?: (() => void) | (() => void)[];
|
|
1061
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1062
|
+
updated?: (() => void) | (() => void)[];
|
|
1063
|
+
activated?: (() => void) | (() => void)[];
|
|
1064
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1065
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1066
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1067
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1068
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1069
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1070
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1071
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1072
|
+
};
|
|
1073
|
+
$forceUpdate: () => void;
|
|
1074
|
+
$nextTick: typeof nextTick;
|
|
1075
|
+
$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;
|
|
1076
|
+
} & Readonly<{}> & Omit<Readonly<SelectProps> & Readonly<{
|
|
1077
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1078
|
+
}>, "id" | "value" | "required" | "description" | "name" | "errors" | "label" | "placeholder" | "update" | "options" | "selectedOption"> & ShallowUnwrapRef< {
|
|
1079
|
+
id: string;
|
|
1080
|
+
name: ComputedRef<string | undefined>;
|
|
1081
|
+
label: ComputedRef<string | undefined>;
|
|
1082
|
+
description: ComputedRef<string | undefined>;
|
|
1083
|
+
placeholder: ComputedRef<string>;
|
|
1084
|
+
options: ComputedRef< {
|
|
1085
|
+
key: string;
|
|
1086
|
+
label: string;
|
|
1087
|
+
value: AcceptableValue;
|
|
1088
|
+
}[] | null>;
|
|
1089
|
+
selectedOption: ComputedRef< {
|
|
1090
|
+
key: string;
|
|
1091
|
+
label: string;
|
|
1092
|
+
value: AcceptableValue;
|
|
1093
|
+
} | undefined>;
|
|
1094
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
1095
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1096
|
+
required: ComputedRef<boolean | undefined>;
|
|
1097
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
1098
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
1099
|
+
$slots: {
|
|
1100
|
+
default?(_: {
|
|
1101
|
+
modelValue: FormFieldValue | undefined;
|
|
1102
|
+
open: unknown;
|
|
1103
|
+
}): any;
|
|
1104
|
+
};
|
|
1105
|
+
}) | null;
|
|
1106
|
+
};
|
|
465
1107
|
rootEl: any;
|
|
466
1108
|
};
|
|
467
1109
|
|
|
@@ -547,7 +1189,7 @@ declare function __VLS_template_6(): {
|
|
|
547
1189
|
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
548
1190
|
};
|
|
549
1191
|
$forceUpdate: () => void;
|
|
550
|
-
$nextTick: nextTick;
|
|
1192
|
+
$nextTick: typeof nextTick;
|
|
551
1193
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
552
1194
|
} & Readonly<{
|
|
553
1195
|
defaultOpen: boolean;
|
|
@@ -627,6 +1269,14 @@ declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
|
|
|
627
1269
|
|
|
628
1270
|
declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
|
|
629
1271
|
|
|
1272
|
+
declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
|
|
1273
|
+
|
|
1274
|
+
declare type __VLS_TemplateResult_24 = ReturnType<typeof __VLS_template_24>;
|
|
1275
|
+
|
|
1276
|
+
declare type __VLS_TemplateResult_25 = ReturnType<typeof __VLS_template_25>;
|
|
1277
|
+
|
|
1278
|
+
declare type __VLS_TemplateResult_26 = ReturnType<typeof __VLS_template_26>;
|
|
1279
|
+
|
|
630
1280
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
631
1281
|
|
|
632
1282
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
@@ -731,6 +1381,30 @@ declare type __VLS_WithTemplateSlots_22<T, S> = T & {
|
|
|
731
1381
|
};
|
|
732
1382
|
};
|
|
733
1383
|
|
|
1384
|
+
declare type __VLS_WithTemplateSlots_23<T, S> = T & {
|
|
1385
|
+
new (): {
|
|
1386
|
+
$slots: S;
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
declare type __VLS_WithTemplateSlots_24<T, S> = T & {
|
|
1391
|
+
new (): {
|
|
1392
|
+
$slots: S;
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
declare type __VLS_WithTemplateSlots_25<T, S> = T & {
|
|
1397
|
+
new (): {
|
|
1398
|
+
$slots: S;
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
declare type __VLS_WithTemplateSlots_26<T, S> = T & {
|
|
1403
|
+
new (): {
|
|
1404
|
+
$slots: S;
|
|
1405
|
+
};
|
|
1406
|
+
};
|
|
1407
|
+
|
|
734
1408
|
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
735
1409
|
new (): {
|
|
736
1410
|
$slots: S;
|
|
@@ -777,6 +1451,8 @@ export declare type AcceptRefs<T> = {
|
|
|
777
1451
|
[K in keyof T]: T[K] | RefUnion<T[K]>;
|
|
778
1452
|
};
|
|
779
1453
|
|
|
1454
|
+
export declare const AdvancedOptions: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
|
|
1455
|
+
|
|
780
1456
|
export declare type AerogelGlobalEvents = Partial<{
|
|
781
1457
|
[Event in EventWithoutPayload]: () => unknown;
|
|
782
1458
|
}> & Partial<{
|
|
@@ -792,181 +1468,6 @@ export declare interface AerogelTestingRuntime {
|
|
|
792
1468
|
on: (typeof Events)['on'];
|
|
793
1469
|
}
|
|
794
1470
|
|
|
795
|
-
export declare const AGErrorMessage: DefineComponent<ExtractPropTypes< {
|
|
796
|
-
error: RequiredProp<unknown>;
|
|
797
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
798
|
-
error: RequiredProp<unknown>;
|
|
799
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
800
|
-
|
|
801
|
-
export declare const AGHeadlessSelect: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
802
|
-
|
|
803
|
-
export declare const AGHeadlessSelectError: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
804
|
-
|
|
805
|
-
export declare const AGHeadlessSelectOption: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
806
|
-
|
|
807
|
-
export declare const AGHeadlessSelectOptions: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
808
|
-
|
|
809
|
-
export declare const AGHeadlessSelectTrigger: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
810
|
-
|
|
811
|
-
export declare const AGHeadlessSnackbar: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
812
|
-
|
|
813
|
-
export declare const AGMeasured: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
814
|
-
|
|
815
|
-
export declare const AGSelect: DefineComponent<ExtractPropTypes< {
|
|
816
|
-
name: OptionalProp<string | null>;
|
|
817
|
-
label: OptionalProp<string | null>;
|
|
818
|
-
options: RequiredProp<FormFieldValue[]>;
|
|
819
|
-
noSelectionText: OptionalProp<string | null>;
|
|
820
|
-
optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
|
|
821
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
822
|
-
"update:modelValue": (...args: any[]) => void;
|
|
823
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
824
|
-
name: OptionalProp<string | null>;
|
|
825
|
-
label: OptionalProp<string | null>;
|
|
826
|
-
options: RequiredProp<FormFieldValue[]>;
|
|
827
|
-
noSelectionText: OptionalProp<string | null>;
|
|
828
|
-
optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
|
|
829
|
-
}>> & Readonly<{
|
|
830
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
831
|
-
}>, {
|
|
832
|
-
name: string | null;
|
|
833
|
-
label: string | null;
|
|
834
|
-
noSelectionText: string | null;
|
|
835
|
-
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
836
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
837
|
-
$select: ({
|
|
838
|
-
$: ComponentInternalInstance;
|
|
839
|
-
$data: {};
|
|
840
|
-
$props: Partial<{
|
|
841
|
-
name: string | null;
|
|
842
|
-
label: string | null;
|
|
843
|
-
modelValue: FormFieldValue | null;
|
|
844
|
-
noSelectionText: string | null;
|
|
845
|
-
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
846
|
-
}> & Omit<{
|
|
847
|
-
readonly name: string | null;
|
|
848
|
-
readonly label: string | null;
|
|
849
|
-
readonly modelValue: FormFieldValue | null;
|
|
850
|
-
readonly options: FormFieldValue[];
|
|
851
|
-
readonly noSelectionText: string | null;
|
|
852
|
-
readonly optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
853
|
-
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
854
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "label" | "modelValue" | "noSelectionText" | "optionsText">;
|
|
855
|
-
$attrs: {
|
|
856
|
-
[x: string]: unknown;
|
|
857
|
-
};
|
|
858
|
-
$refs: {
|
|
859
|
-
[x: string]: unknown;
|
|
860
|
-
};
|
|
861
|
-
$slots: Readonly<{
|
|
862
|
-
[name: string]: Slot<any> | undefined;
|
|
863
|
-
}>;
|
|
864
|
-
$root: ComponentPublicInstance | null;
|
|
865
|
-
$parent: ComponentPublicInstance | null;
|
|
866
|
-
$host: Element | null;
|
|
867
|
-
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
868
|
-
$el: any;
|
|
869
|
-
$options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
|
|
870
|
-
name: OptionalProp<string | null>;
|
|
871
|
-
label: OptionalProp<string | null>;
|
|
872
|
-
options: RequiredProp<FormFieldValue[]>;
|
|
873
|
-
noSelectionText: OptionalProp<string | null>;
|
|
874
|
-
optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
|
|
875
|
-
modelValue: OptionalProp<FormFieldValue | null>;
|
|
876
|
-
}>> & Readonly<{
|
|
877
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
878
|
-
}>, {
|
|
879
|
-
id: string;
|
|
880
|
-
label: ComputedRef<string | null>;
|
|
881
|
-
noSelectionText: ComputedRef<string>;
|
|
882
|
-
buttonText: ComputedRef<string>;
|
|
883
|
-
renderText: ComputedRef<(value: FormFieldValue) => string>;
|
|
884
|
-
selectedOption: ComputedRef<FormFieldValue | null>;
|
|
885
|
-
options: ComputedRef<FormFieldValue[]>;
|
|
886
|
-
errors: DeepReadonly<Ref<string[] | null>>;
|
|
887
|
-
update(value: FormFieldValue): void;
|
|
888
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
889
|
-
"update:modelValue": (...args: any[]) => void;
|
|
890
|
-
}, string, {
|
|
891
|
-
name: string | null;
|
|
892
|
-
label: string | null;
|
|
893
|
-
modelValue: FormFieldValue | null;
|
|
894
|
-
noSelectionText: string | null;
|
|
895
|
-
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
896
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
897
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
898
|
-
created?: (() => void) | (() => void)[];
|
|
899
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
900
|
-
mounted?: (() => void) | (() => void)[];
|
|
901
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
902
|
-
updated?: (() => void) | (() => void)[];
|
|
903
|
-
activated?: (() => void) | (() => void)[];
|
|
904
|
-
deactivated?: (() => void) | (() => void)[];
|
|
905
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
906
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
907
|
-
destroyed?: (() => void) | (() => void)[];
|
|
908
|
-
unmounted?: (() => void) | (() => void)[];
|
|
909
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
910
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
911
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
912
|
-
};
|
|
913
|
-
$forceUpdate: () => void;
|
|
914
|
-
$nextTick: nextTick;
|
|
915
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
916
|
-
} & Readonly<{
|
|
917
|
-
name: string | null;
|
|
918
|
-
label: string | null;
|
|
919
|
-
modelValue: FormFieldValue | null;
|
|
920
|
-
noSelectionText: string | null;
|
|
921
|
-
optionsText: string | ((option: FormFieldValue) => string) | null;
|
|
922
|
-
}> & Omit<Readonly<ExtractPropTypes< {
|
|
923
|
-
name: OptionalProp<string | null>;
|
|
924
|
-
label: OptionalProp<string | null>;
|
|
925
|
-
options: RequiredProp<FormFieldValue[]>;
|
|
926
|
-
noSelectionText: OptionalProp<string | null>;
|
|
927
|
-
optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
|
|
928
|
-
modelValue: OptionalProp<FormFieldValue | null>;
|
|
929
|
-
}>> & Readonly<{
|
|
930
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
931
|
-
}>, "id" | "errors" | "update" | "options" | "selectedOption" | "buttonText" | "renderText" | ("name" | "label" | "modelValue" | "noSelectionText" | "optionsText")> & ShallowUnwrapRef< {
|
|
932
|
-
id: string;
|
|
933
|
-
label: ComputedRef<string | null>;
|
|
934
|
-
noSelectionText: ComputedRef<string>;
|
|
935
|
-
buttonText: ComputedRef<string>;
|
|
936
|
-
renderText: ComputedRef<(value: FormFieldValue) => string>;
|
|
937
|
-
selectedOption: ComputedRef<FormFieldValue | null>;
|
|
938
|
-
options: ComputedRef<FormFieldValue[]>;
|
|
939
|
-
errors: DeepReadonly<Ref<string[] | null>>;
|
|
940
|
-
update(value: FormFieldValue): void;
|
|
941
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
942
|
-
$slots: {
|
|
943
|
-
default?(_: {
|
|
944
|
-
modelValue: FormFieldValue | null;
|
|
945
|
-
open: unknown;
|
|
946
|
-
}): any;
|
|
947
|
-
};
|
|
948
|
-
}) | null;
|
|
949
|
-
}, any>;
|
|
950
|
-
|
|
951
|
-
export declare const AGSnackbar: DefineComponent<ExtractPropTypes< {
|
|
952
|
-
id: RequiredProp<string>;
|
|
953
|
-
message: RequiredProp<string>;
|
|
954
|
-
actions: OptionalProp<SnackbarAction[]>;
|
|
955
|
-
color: OptionalProp<"secondary" | "danger">;
|
|
956
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
957
|
-
id: RequiredProp<string>;
|
|
958
|
-
message: RequiredProp<string>;
|
|
959
|
-
actions: OptionalProp<SnackbarAction[]>;
|
|
960
|
-
color: OptionalProp<"secondary" | "danger">;
|
|
961
|
-
}>> & Readonly<{}>, {
|
|
962
|
-
actions: SnackbarAction[];
|
|
963
|
-
color: "secondary" | "danger";
|
|
964
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
965
|
-
|
|
966
|
-
export declare type AGSnackbarProps = ObjectWithoutEmpty<ExtractPropTypes<typeof snackbarProps>>;
|
|
967
|
-
|
|
968
|
-
export declare const AGStartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
969
|
-
|
|
970
1471
|
export declare const AlertModal: DefineComponent<AlertModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
971
1472
|
|
|
972
1473
|
export declare interface AlertModalProps {
|
|
@@ -978,9 +1479,7 @@ export declare const App: Facade<AppService>;
|
|
|
978
1479
|
|
|
979
1480
|
export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
980
1481
|
|
|
981
|
-
export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
982
|
-
$backdrop: HTMLDivElement;
|
|
983
|
-
}, any>;
|
|
1482
|
+
export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
984
1483
|
|
|
985
1484
|
export declare class AppService extends _default_3 {
|
|
986
1485
|
readonly name: string;
|
|
@@ -1014,10 +1513,11 @@ export declare function bootstrap(rootComponent: Component, options?: AerogelOpt
|
|
|
1014
1513
|
|
|
1015
1514
|
export declare function bootstrapApplication(app: App_2, options?: AerogelOptions): Promise<void>;
|
|
1016
1515
|
|
|
1017
|
-
export declare const Button:
|
|
1516
|
+
export declare const Button: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
|
|
1018
1517
|
|
|
1019
1518
|
export declare interface ButtonProps extends PrimitiveProps {
|
|
1020
1519
|
class?: HTMLAttributes['class'];
|
|
1520
|
+
disabled?: boolean;
|
|
1021
1521
|
href?: string;
|
|
1022
1522
|
route?: string;
|
|
1023
1523
|
routeParams?: object;
|
|
@@ -1042,21 +1542,10 @@ export declare class CacheService extends Service {
|
|
|
1042
1542
|
protected open(): Promise<Cache>;
|
|
1043
1543
|
}
|
|
1044
1544
|
|
|
1045
|
-
export declare const Checkbox:
|
|
1046
|
-
|
|
1047
|
-
export declare type Color = (typeof Colors)[keyof typeof Colors];
|
|
1048
|
-
|
|
1049
|
-
export declare const Colors: {
|
|
1050
|
-
readonly Primary: "primary";
|
|
1051
|
-
readonly Secondary: "secondary";
|
|
1052
|
-
readonly Danger: "danger";
|
|
1053
|
-
readonly Clear: "clear";
|
|
1054
|
-
};
|
|
1545
|
+
export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
|
|
1055
1546
|
|
|
1056
1547
|
export declare type ComponentProps<T = {}> = T & Record<string, unknown>;
|
|
1057
1548
|
|
|
1058
|
-
export declare function componentRef<T>(): Ref<UnwrapNestedRefs<T> | undefined>;
|
|
1059
|
-
|
|
1060
1549
|
export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
|
|
1061
1550
|
|
|
1062
1551
|
export declare type ComputedStateDefinition<TState extends ServiceState, TComputedState extends ServiceState> = {
|
|
@@ -1146,14 +1635,14 @@ sourceUrl: string | undefined;
|
|
|
1146
1635
|
|
|
1147
1636
|
declare const _default_4: ServiceWithState< {
|
|
1148
1637
|
modals: UIModal[];
|
|
1149
|
-
|
|
1638
|
+
toasts: UIToast[];
|
|
1150
1639
|
layout: Layout;
|
|
1151
1640
|
}, {
|
|
1152
1641
|
mobile: boolean;
|
|
1153
1642
|
desktop: boolean;
|
|
1154
1643
|
}, Partial<{
|
|
1155
1644
|
modals: UIModal[];
|
|
1156
|
-
|
|
1645
|
+
toasts: UIToast[];
|
|
1157
1646
|
layout: Layout;
|
|
1158
1647
|
}>>;
|
|
1159
1648
|
|
|
@@ -1187,6 +1676,20 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1187
1676
|
|
|
1188
1677
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1189
1678
|
|
|
1679
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1680
|
+
|
|
1681
|
+
export declare type DropdownMenuOption = {
|
|
1682
|
+
label: string;
|
|
1683
|
+
click: () => unknown;
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
export declare interface DropdownMenuProps {
|
|
1687
|
+
align?: DropdownMenuContentProps['align'];
|
|
1688
|
+
options?: DropdownMenuOption[];
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1692
|
+
|
|
1190
1693
|
export declare function elementRef(): Ref<HTMLElement | undefined>;
|
|
1191
1694
|
|
|
1192
1695
|
export declare interface ElementSize {
|
|
@@ -1200,6 +1703,8 @@ export declare type ErrorHandler = (error: ErrorSource) => boolean;
|
|
|
1200
1703
|
|
|
1201
1704
|
declare type ErrorHandler_2 = (error: ErrorSource) => string | undefined;
|
|
1202
1705
|
|
|
1706
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1707
|
+
|
|
1203
1708
|
export declare interface ErrorReport {
|
|
1204
1709
|
title: string;
|
|
1205
1710
|
description?: string;
|
|
@@ -1215,21 +1720,21 @@ export declare interface ErrorReportLog {
|
|
|
1215
1720
|
|
|
1216
1721
|
export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1217
1722
|
|
|
1218
|
-
export declare const ErrorReportModalButtons:
|
|
1723
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1219
1724
|
|
|
1220
1725
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1221
1726
|
id: string;
|
|
1222
1727
|
description: string;
|
|
1223
1728
|
iconComponent: Component;
|
|
1224
1729
|
url?: string;
|
|
1225
|
-
|
|
1730
|
+
click?(): void;
|
|
1226
1731
|
}
|
|
1227
1732
|
|
|
1228
1733
|
declare interface ErrorReportModalProps {
|
|
1229
1734
|
reports: ErrorReport[];
|
|
1230
1735
|
}
|
|
1231
1736
|
|
|
1232
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1737
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1233
1738
|
|
|
1234
1739
|
export declare const Errors: Facade<ErrorsService>;
|
|
1235
1740
|
|
|
@@ -1306,11 +1811,9 @@ export declare type EventWithPayload = {
|
|
|
1306
1811
|
[K in keyof EventsPayload]: EventsPayload[K] extends void ? never : K;
|
|
1307
1812
|
}[keyof EventsPayload];
|
|
1308
1813
|
|
|
1309
|
-
export declare function extractSelectProps<T extends ExtractPropTypes<typeof selectProps>>(props: T): Pick<T, keyof typeof selectProps>;
|
|
1310
|
-
|
|
1311
1814
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1312
1815
|
|
|
1313
|
-
export declare const Form:
|
|
1816
|
+
export declare const Form: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1314
1817
|
|
|
1315
1818
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1316
1819
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1390,6 +1893,12 @@ export declare interface HasElement {
|
|
|
1390
1893
|
$el: Readonly<Ref<HTMLElement | undefined>>;
|
|
1391
1894
|
}
|
|
1392
1895
|
|
|
1896
|
+
export declare interface HasSelectOptionLabel {
|
|
1897
|
+
label: string | (() => string);
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
export declare function hasSelectOptionLabel(option: unknown): option is HasSelectOptionLabel;
|
|
1901
|
+
|
|
1393
1902
|
export declare const HeadlessButton: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
1394
1903
|
|
|
1395
1904
|
export declare const HeadlessInput: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
@@ -1416,22 +1925,19 @@ export declare const HeadlessModalOverlay: __VLS_WithTemplateSlots_8<typeof __VL
|
|
|
1416
1925
|
|
|
1417
1926
|
export declare const HeadlessModalTitle: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
|
|
1418
1927
|
|
|
1419
|
-
export declare
|
|
1420
|
-
id: string;
|
|
1421
|
-
label: ComputedRef<string | null>;
|
|
1422
|
-
noSelectionText: ComputedRef<string>;
|
|
1423
|
-
buttonText: ComputedRef<string>;
|
|
1424
|
-
renderText: ComputedRef<(value: FormFieldValue) => string>;
|
|
1425
|
-
selectedOption: ComputedRef<FormFieldValue | null>;
|
|
1426
|
-
options: ComputedRef<FormFieldValue[]>;
|
|
1427
|
-
errors: DeepReadonly<Ref<string[] | null>>;
|
|
1428
|
-
update(value: FormFieldValue): void;
|
|
1429
|
-
}
|
|
1928
|
+
export declare const HeadlessSelect: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
1430
1929
|
|
|
1431
|
-
export declare
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1930
|
+
export declare const HeadlessSelectLabel: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1931
|
+
|
|
1932
|
+
export declare const HeadlessSelectOption: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1933
|
+
|
|
1934
|
+
export declare const HeadlessSelectOptions: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
|
|
1935
|
+
|
|
1936
|
+
export declare const HeadlessSelectTrigger: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
|
|
1937
|
+
|
|
1938
|
+
export declare const HeadlessSelectValue: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1939
|
+
|
|
1940
|
+
export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1435
1941
|
|
|
1436
1942
|
export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
|
|
1437
1943
|
|
|
@@ -1439,14 +1945,106 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
|
|
|
1439
1945
|
|
|
1440
1946
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1441
1947
|
|
|
1442
|
-
export declare const Input: DefineComponent<
|
|
1948
|
+
export declare const Input: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1443
1949
|
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
1444
|
-
}, string, PublicProps, Readonly<
|
|
1950
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
1445
1951
|
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1446
1952
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1447
|
-
$input:
|
|
1953
|
+
$input: ({
|
|
1954
|
+
$: ComponentInternalInstance;
|
|
1955
|
+
$data: {};
|
|
1956
|
+
$props: {
|
|
1957
|
+
readonly name?: string | undefined;
|
|
1958
|
+
readonly label?: string | undefined;
|
|
1959
|
+
readonly description?: string | undefined;
|
|
1960
|
+
readonly modelValue?: FormFieldValue | undefined;
|
|
1961
|
+
readonly as?: string | undefined;
|
|
1962
|
+
readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1963
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1964
|
+
$attrs: {
|
|
1965
|
+
[x: string]: unknown;
|
|
1966
|
+
};
|
|
1967
|
+
$refs: {
|
|
1968
|
+
[x: string]: unknown;
|
|
1969
|
+
};
|
|
1970
|
+
$slots: Readonly<{
|
|
1971
|
+
[name: string]: Slot<any> | undefined;
|
|
1972
|
+
}>;
|
|
1973
|
+
$root: ComponentPublicInstance | null;
|
|
1974
|
+
$parent: ComponentPublicInstance | null;
|
|
1975
|
+
$host: Element | null;
|
|
1976
|
+
$emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
|
|
1977
|
+
$el: any;
|
|
1978
|
+
$options: ComponentOptionsBase<Readonly<InputProps & {
|
|
1979
|
+
as?: string;
|
|
1980
|
+
}> & Readonly<{
|
|
1981
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
1982
|
+
}>, {
|
|
1983
|
+
id: string;
|
|
1984
|
+
name: ComputedRef<string | undefined>;
|
|
1985
|
+
label: ComputedRef<string | undefined>;
|
|
1986
|
+
description: ComputedRef<string | undefined>;
|
|
1987
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
1988
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1989
|
+
required: ComputedRef<boolean | undefined>;
|
|
1990
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
1991
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1992
|
+
"update:modelValue": (value: Nullable<FormFieldValue>) => any;
|
|
1993
|
+
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1994
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1995
|
+
created?: (() => void) | (() => void)[];
|
|
1996
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1997
|
+
mounted?: (() => void) | (() => void)[];
|
|
1998
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1999
|
+
updated?: (() => void) | (() => void)[];
|
|
2000
|
+
activated?: (() => void) | (() => void)[];
|
|
2001
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2002
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2003
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2004
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2005
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2006
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2007
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2008
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2009
|
+
};
|
|
2010
|
+
$forceUpdate: () => void;
|
|
2011
|
+
$nextTick: typeof nextTick;
|
|
2012
|
+
$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;
|
|
2013
|
+
} & Readonly<{}> & Omit<Readonly<InputProps & {
|
|
2014
|
+
as?: string;
|
|
2015
|
+
}> & Readonly<{
|
|
2016
|
+
"onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
|
|
2017
|
+
}>, "id" | "value" | "required" | "description" | "name" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
|
|
2018
|
+
id: string;
|
|
2019
|
+
name: ComputedRef<string | undefined>;
|
|
2020
|
+
label: ComputedRef<string | undefined>;
|
|
2021
|
+
description: ComputedRef<string | undefined>;
|
|
2022
|
+
value: ComputedRef<string | number | boolean | object | undefined>;
|
|
2023
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2024
|
+
required: ComputedRef<boolean | undefined>;
|
|
2025
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
2026
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
2027
|
+
$slots: {
|
|
2028
|
+
default?(_: {}): any;
|
|
2029
|
+
};
|
|
2030
|
+
}) | null;
|
|
1448
2031
|
}, any>;
|
|
1449
2032
|
|
|
2033
|
+
declare interface InputEmits {
|
|
2034
|
+
'update:modelValue': [value: Nullable<FormFieldValue>];
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
declare interface InputExpose {
|
|
2038
|
+
id: string;
|
|
2039
|
+
name: ComputedRef<Nullable<string>>;
|
|
2040
|
+
label: ComputedRef<Nullable<string>>;
|
|
2041
|
+
description: ComputedRef<Nullable<string | boolean>>;
|
|
2042
|
+
value: ComputedRef<Nullable<FormFieldValue>>;
|
|
2043
|
+
required: ComputedRef<Nullable<boolean>>;
|
|
2044
|
+
errors: DeepReadonly<Ref<Nullable<string[]>>>;
|
|
2045
|
+
update(value: Nullable<FormFieldValue>): void;
|
|
2046
|
+
}
|
|
2047
|
+
|
|
1450
2048
|
declare interface InputProps {
|
|
1451
2049
|
name?: string;
|
|
1452
2050
|
label?: string;
|
|
@@ -1524,7 +2122,7 @@ export declare const Layouts: {
|
|
|
1524
2122
|
readonly Desktop: "desktop";
|
|
1525
2123
|
};
|
|
1526
2124
|
|
|
1527
|
-
export declare const Link:
|
|
2125
|
+
export declare const Link: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1528
2126
|
|
|
1529
2127
|
export declare function listenerProp<T extends Function = Function>(): OptionalProp<T | null>;
|
|
1530
2128
|
|
|
@@ -1543,7 +2141,7 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
1543
2141
|
progress?: number;
|
|
1544
2142
|
}>;
|
|
1545
2143
|
|
|
1546
|
-
export declare const Markdown:
|
|
2144
|
+
export declare const Markdown: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1547
2145
|
|
|
1548
2146
|
export declare type MeasureDirectiveListener = (size: ElementSize) => unknown;
|
|
1549
2147
|
|
|
@@ -1553,12 +2151,16 @@ export declare function mixedProp<T>(type: PropType<T>, defaultValue: T): Option
|
|
|
1553
2151
|
|
|
1554
2152
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
1555
2153
|
|
|
1556
|
-
export declare const Modal:
|
|
2154
|
+
export declare const Modal: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1557
2155
|
|
|
1558
2156
|
declare interface ModalComponent<Properties extends object = object, Result = unknown> {
|
|
1559
2157
|
}
|
|
1560
2158
|
|
|
1561
|
-
export declare const ModalContext: DefineComponent<
|
|
2159
|
+
export declare const ModalContext: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2160
|
+
|
|
2161
|
+
export declare interface ModalExpose {
|
|
2162
|
+
close(result?: unknown): Promise<void>;
|
|
2163
|
+
}
|
|
1562
2164
|
|
|
1563
2165
|
declare type ModalProperties<TComponent> = TComponent extends ModalComponent<infer TProperties, unknown> ? TProperties : never;
|
|
1564
2166
|
|
|
@@ -1590,10 +2192,6 @@ export declare function objectProp<T>(defaultValue: () => T): OptionalProp<T>;
|
|
|
1590
2192
|
|
|
1591
2193
|
export declare function onCleanMounted(operation: () => Function): void;
|
|
1592
2194
|
|
|
1593
|
-
export declare function onFormFocus(input: {
|
|
1594
|
-
name: string | null;
|
|
1595
|
-
}, listener: () => unknown): void;
|
|
1596
|
-
|
|
1597
2195
|
export declare type OptionalProp<T> = BaseProp<T> & {
|
|
1598
2196
|
default: T | (() => T) | null;
|
|
1599
2197
|
};
|
|
@@ -1606,7 +2204,7 @@ declare interface Plugin_2 {
|
|
|
1606
2204
|
}
|
|
1607
2205
|
export { Plugin_2 as Plugin }
|
|
1608
2206
|
|
|
1609
|
-
export declare const ProgressBar: DefineComponent<
|
|
2207
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1610
2208
|
|
|
1611
2209
|
export declare const PromptModal: DefineComponent<PromptModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1612
2210
|
|
|
@@ -1675,16 +2273,29 @@ export declare function resetPiniaStore(): Pinia;
|
|
|
1675
2273
|
|
|
1676
2274
|
export declare function safeHtml(html: string): string;
|
|
1677
2275
|
|
|
1678
|
-
export declare const
|
|
2276
|
+
export declare const Select: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
2277
|
+
|
|
2278
|
+
export declare interface SelectEmits extends InputEmits {
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
export declare interface SelectExpose extends InputExpose {
|
|
2282
|
+
options: ComputedRef<Nullable<SelectOption[]>>;
|
|
2283
|
+
selectedOption: ComputedRef<Nullable<SelectOption>>;
|
|
2284
|
+
placeholder: ComputedRef<string>;
|
|
2285
|
+
}
|
|
1679
2286
|
|
|
1680
|
-
export declare
|
|
1681
|
-
|
|
1682
|
-
label:
|
|
1683
|
-
|
|
1684
|
-
noSelectionText: OptionalProp<string | null>;
|
|
1685
|
-
optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
|
|
2287
|
+
export declare type SelectOption = {
|
|
2288
|
+
key: string;
|
|
2289
|
+
label: string;
|
|
2290
|
+
value: AcceptableValue;
|
|
1686
2291
|
};
|
|
1687
2292
|
|
|
2293
|
+
export declare interface SelectProps extends InputProps {
|
|
2294
|
+
options?: unknown[];
|
|
2295
|
+
placeholder?: string;
|
|
2296
|
+
renderOption?: (option: unknown) => string;
|
|
2297
|
+
}
|
|
2298
|
+
|
|
1688
2299
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
1689
2300
|
static persist: string[];
|
|
1690
2301
|
protected _name: string;
|
|
@@ -1747,39 +2358,7 @@ export declare type ServiceState = Record<string, any>;
|
|
|
1747
2358
|
|
|
1748
2359
|
export declare type ServiceWithState<State extends ServiceState = ServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> = Constructor<Unref<State>> & Constructor<ComputedState> & Constructor<Service<Unref<State>, ComputedState, Unref<ServiceStorage>>>;
|
|
1749
2360
|
|
|
1750
|
-
export declare
|
|
1751
|
-
component?: Component;
|
|
1752
|
-
color?: SnackbarColor;
|
|
1753
|
-
actions?: SnackbarAction[];
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
declare interface Snackbar {
|
|
1757
|
-
id: string;
|
|
1758
|
-
component: Component;
|
|
1759
|
-
properties: Record<string, unknown>;
|
|
1760
|
-
}
|
|
1761
|
-
|
|
1762
|
-
export declare interface SnackbarAction {
|
|
1763
|
-
text: string;
|
|
1764
|
-
dismiss?: boolean;
|
|
1765
|
-
handler?(): unknown;
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
export declare type SnackbarColor = (typeof SnackbarColors)[keyof typeof SnackbarColors];
|
|
1769
|
-
|
|
1770
|
-
export declare const SnackbarColors: Omit<{
|
|
1771
|
-
readonly Primary: "primary";
|
|
1772
|
-
readonly Secondary: "secondary";
|
|
1773
|
-
readonly Danger: "danger";
|
|
1774
|
-
readonly Clear: "clear";
|
|
1775
|
-
}, "Primary" | "Clear">;
|
|
1776
|
-
|
|
1777
|
-
export declare const snackbarProps: {
|
|
1778
|
-
id: RequiredProp<string>;
|
|
1779
|
-
message: RequiredProp<string>;
|
|
1780
|
-
actions: OptionalProp<SnackbarAction[]>;
|
|
1781
|
-
color: OptionalProp<"secondary" | "danger">;
|
|
1782
|
-
};
|
|
2361
|
+
export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
1783
2362
|
|
|
1784
2363
|
export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
|
|
1785
2364
|
[K in keyof TState]?: (this: TService, value: TState[K], oldValue: TState[K]) => unknown;
|
|
@@ -1802,6 +2381,28 @@ export declare function stringProp(defaultValue: string): OptionalProp<string>;
|
|
|
1802
2381
|
|
|
1803
2382
|
export declare type SubmitFormListener = () => unknown;
|
|
1804
2383
|
|
|
2384
|
+
export declare const Toast: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2385
|
+
|
|
2386
|
+
declare interface ToastAction {
|
|
2387
|
+
label: string;
|
|
2388
|
+
dismiss?: boolean;
|
|
2389
|
+
click?(): unknown;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2392
|
+
export declare interface ToastOptions {
|
|
2393
|
+
component?: Component;
|
|
2394
|
+
variant?: ToastVariant;
|
|
2395
|
+
actions?: ToastAction[];
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
declare interface ToastProps {
|
|
2399
|
+
message?: string;
|
|
2400
|
+
actions?: ToastAction[];
|
|
2401
|
+
variant?: ToastVariant;
|
|
2402
|
+
}
|
|
2403
|
+
|
|
2404
|
+
declare type ToastVariant = 'secondary' | 'danger';
|
|
2405
|
+
|
|
1805
2406
|
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
1806
2407
|
|
|
1807
2408
|
export declare const translateWithDefault: (key: string, defaultMessage: string, parameters?: Record<string, unknown> | number) => string;
|
|
@@ -1816,7 +2417,7 @@ export declare const UIComponents: {
|
|
|
1816
2417
|
readonly ErrorReportModal: "error-report-modal";
|
|
1817
2418
|
readonly LoadingModal: "loading-modal";
|
|
1818
2419
|
readonly PromptModal: "prompt-modal";
|
|
1819
|
-
readonly
|
|
2420
|
+
readonly Toast: "toast";
|
|
1820
2421
|
readonly StartupCrash: "startup-crash";
|
|
1821
2422
|
};
|
|
1822
2423
|
|
|
@@ -1843,8 +2444,7 @@ export declare class UIService extends _default_4 {
|
|
|
1843
2444
|
loading<T>(operation: Promise<T> | (() => T)): Promise<T>;
|
|
1844
2445
|
loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
|
|
1845
2446
|
loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
|
|
1846
|
-
|
|
1847
|
-
hideSnackbar(id: string): void;
|
|
2447
|
+
toast(message: string, options?: ToastOptions): void;
|
|
1848
2448
|
registerComponent(name: UIComponent, component: Component): void;
|
|
1849
2449
|
openModal<TModalComponent extends ModalComponent>(component: TModalComponent, properties?: ModalProperties<TModalComponent>): Promise<UIModal<ModalResult<TModalComponent>>>;
|
|
1850
2450
|
closeModal(id: string, result?: unknown): Promise<void>;
|
|
@@ -1858,6 +2458,12 @@ export declare class UIService extends _default_4 {
|
|
|
1858
2458
|
|
|
1859
2459
|
export declare type UIServices = typeof services_3;
|
|
1860
2460
|
|
|
2461
|
+
declare interface UIToast {
|
|
2462
|
+
id: string;
|
|
2463
|
+
component: Component;
|
|
2464
|
+
properties: Record<string, unknown>;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
1861
2467
|
export declare type UnknownEvent<T> = T extends keyof EventsPayload ? never : T;
|
|
1862
2468
|
|
|
1863
2469
|
export declare type Unref<T> = {
|
|
@@ -1909,16 +2515,6 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
1909
2515
|
renderedCancelText: ComputedRef<string>;
|
|
1910
2516
|
};
|
|
1911
2517
|
|
|
1912
|
-
export declare function useSelectEmits(): Writable<typeof selectEmits>;
|
|
1913
|
-
|
|
1914
|
-
export declare function useSelectProps(): typeof selectProps;
|
|
1915
|
-
|
|
1916
|
-
export declare function useSnackbar(props: ExtractPropTypes<typeof snackbarProps>): {
|
|
1917
|
-
activate: (action: SnackbarAction) => void;
|
|
1918
|
-
};
|
|
1919
|
-
|
|
1920
|
-
export declare function useSnackbarProps(): typeof snackbarProps;
|
|
1921
|
-
|
|
1922
2518
|
export declare function validate(value: unknown, rule: string): string[];
|
|
1923
2519
|
|
|
1924
2520
|
export declare const validators: Record<string, FormFieldValidator>;
|
|
@@ -1974,6 +2570,11 @@ declare module 'vue' {
|
|
|
1974
2570
|
}
|
|
1975
2571
|
|
|
1976
2572
|
|
|
2573
|
+
declare global {
|
|
2574
|
+
var testingRuntime: AerogelTestingRuntime | undefined;
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
|
|
1977
2578
|
declare module '@aerogel/core' {
|
|
1978
2579
|
interface AerogelOptions {
|
|
1979
2580
|
services?: Record<string, Service>;
|
|
@@ -1987,11 +2588,6 @@ declare module 'vue' {
|
|
|
1987
2588
|
}
|
|
1988
2589
|
|
|
1989
2590
|
|
|
1990
|
-
declare global {
|
|
1991
|
-
var testingRuntime: AerogelTestingRuntime | undefined;
|
|
1992
|
-
}
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
2591
|
declare module '@aerogel/core' {
|
|
1996
2592
|
interface AerogelOptions {
|
|
1997
2593
|
components?: Partial<Record<UIComponent, Component>>;
|