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