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