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