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