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