@aerogel/core 0.0.0-next.980a397d575dcb5ff8c5a0bff769d09f938ea03c → 0.0.0-next.9a1c5ba39a454b316eba36ec7bdf579fed3d95d2

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