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