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