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