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