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