@aerogel/core 0.0.0-next.fcfbfdc3428c34c4d1c0e781b61d244f13232fc9 → 0.1.0-next.c4b24f52d8b652bd5c14c2d12e1b38b779ab7682

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 (80) hide show
  1. package/dist/aerogel-core.css +1 -0
  2. package/dist/aerogel-core.d.ts +661 -919
  3. package/dist/aerogel-core.js +1983 -1440
  4. package/dist/aerogel-core.js.map +1 -1
  5. package/package.json +7 -5
  6. package/src/components/AppLayout.vue +1 -3
  7. package/src/components/AppOverlays.vue +0 -27
  8. package/src/components/contracts/AlertModal.ts +15 -0
  9. package/src/components/contracts/ConfirmModal.ts +12 -5
  10. package/src/components/contracts/DropdownMenu.ts +8 -3
  11. package/src/components/contracts/ErrorReportModal.ts +8 -4
  12. package/src/components/contracts/Input.ts +7 -7
  13. package/src/components/contracts/LoadingModal.ts +6 -2
  14. package/src/components/contracts/Modal.ts +4 -4
  15. package/src/components/contracts/PromptModal.ts +5 -1
  16. package/src/components/contracts/Select.ts +9 -8
  17. package/src/components/contracts/Toast.ts +4 -2
  18. package/src/components/headless/HeadlessButton.vue +2 -2
  19. package/src/components/headless/HeadlessInputInput.vue +16 -5
  20. package/src/components/headless/HeadlessModal.vue +8 -43
  21. package/src/components/headless/HeadlessModalContent.vue +2 -2
  22. package/src/components/headless/HeadlessSelect.vue +10 -8
  23. package/src/components/headless/HeadlessSelectOptions.vue +8 -3
  24. package/src/components/headless/HeadlessSwitch.vue +96 -0
  25. package/src/components/headless/index.ts +1 -0
  26. package/src/components/ui/AdvancedOptions.vue +1 -1
  27. package/src/components/ui/AlertModal.vue +7 -3
  28. package/src/components/ui/Button.vue +27 -10
  29. package/src/components/ui/ConfirmModal.vue +11 -3
  30. package/src/components/ui/DropdownMenuOption.vue +12 -4
  31. package/src/components/ui/DropdownMenuOptions.vue +18 -1
  32. package/src/components/ui/ErrorLogs.vue +19 -0
  33. package/src/components/ui/ErrorLogsModal.vue +48 -0
  34. package/src/components/ui/ErrorReportModal.vue +18 -7
  35. package/src/components/ui/Input.vue +2 -2
  36. package/src/components/ui/LoadingModal.vue +3 -1
  37. package/src/components/ui/Markdown.vue +29 -1
  38. package/src/components/ui/Modal.vue +61 -21
  39. package/src/components/ui/ModalContext.vue +2 -1
  40. package/src/components/ui/PromptModal.vue +5 -2
  41. package/src/components/ui/Select.vue +5 -3
  42. package/src/components/ui/SelectLabel.vue +5 -1
  43. package/src/components/ui/SelectOptions.vue +6 -1
  44. package/src/components/ui/SelectTrigger.vue +1 -1
  45. package/src/components/ui/Setting.vue +31 -0
  46. package/src/components/ui/StartupCrash.vue +51 -6
  47. package/src/components/ui/Switch.vue +11 -0
  48. package/src/components/ui/TextArea.vue +56 -0
  49. package/src/components/ui/Toast.vue +19 -15
  50. package/src/components/ui/index.ts +5 -0
  51. package/src/directives/measure.ts +11 -5
  52. package/src/errors/Errors.state.ts +1 -0
  53. package/src/errors/Errors.ts +45 -21
  54. package/src/errors/index.ts +6 -2
  55. package/src/errors/settings/Debug.vue +14 -0
  56. package/src/errors/settings/index.ts +10 -0
  57. package/src/forms/FormController.test.ts +35 -9
  58. package/src/forms/FormController.ts +34 -24
  59. package/src/forms/index.ts +0 -1
  60. package/src/forms/utils.ts +58 -33
  61. package/src/forms/validation.ts +31 -0
  62. package/src/index.css +34 -12
  63. package/src/lang/index.ts +1 -1
  64. package/src/lang/settings/Language.vue +1 -1
  65. package/src/services/Events.test.ts +8 -8
  66. package/src/services/Events.ts +2 -8
  67. package/src/services/Service.ts +11 -6
  68. package/src/services/index.ts +2 -2
  69. package/src/testing/index.ts +4 -0
  70. package/src/ui/UI.state.ts +3 -13
  71. package/src/ui/UI.ts +103 -84
  72. package/src/ui/index.ts +16 -17
  73. package/src/utils/app.ts +7 -0
  74. package/src/utils/classes.ts +9 -17
  75. package/src/utils/composition/events.ts +2 -4
  76. package/src/utils/composition/forms.ts +7 -1
  77. package/src/utils/index.ts +1 -0
  78. package/src/utils/markdown.ts +35 -1
  79. package/src/utils/vue.ts +6 -1
  80. package/src/forms/composition.ts +0 -6
@@ -3,12 +3,15 @@ import { AllowedComponentProps } from 'vue';
3
3
  import { App as App_2 } from 'vue';
4
4
  import { AsTag } from 'reka-ui';
5
5
  import { ClassValue } from 'clsx';
6
+ import { ClosureArgs } from '@noeldemartin/utils';
6
7
  import { Component } from 'vue';
7
8
  import { ComponentCustomProperties } from 'vue';
8
9
  import { ComponentCustomProps } from 'vue';
10
+ import { ComponentExposed } from 'vue-component-type-helpers';
9
11
  import { ComponentInternalInstance } from 'vue';
10
12
  import { ComponentOptionsBase } from 'vue';
11
13
  import { ComponentOptionsMixin } from 'vue';
14
+ import { ComponentProps } from 'vue-component-type-helpers';
12
15
  import { ComponentProvideOptions } from 'vue';
13
16
  import { ComponentPublicInstance } from 'vue';
14
17
  import { ComputedGetter } from 'vue';
@@ -42,7 +45,6 @@ import { MagicObject } from '@noeldemartin/utils';
42
45
  import { MaybeRef } from 'vue';
43
46
  import { nextTick } from 'vue';
44
47
  import { Nullable } from '@noeldemartin/utils';
45
- import { ObjectValues } from '@noeldemartin/utils';
46
48
  import { OnCleanup } from '@vue/reactivity';
47
49
  import { Pinia } from 'pinia';
48
50
  import { PrimitiveProps } from 'reka-ui';
@@ -62,588 +64,41 @@ import { VNodeProps } from 'vue';
62
64
  import { WatchOptions } from 'vue';
63
65
  import { WatchStopHandle } from 'vue';
64
66
 
65
- declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
66
-
67
- declare const __VLS_component_10: DefineComponent<DialogTitleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
68
-
69
- declare const __VLS_component_11: DefineComponent<SelectProps, {
70
- labelClass: any;
71
- optionsClass: any;
72
- align: "start" | "center" | "end" | undefined;
73
- side: "top" | "right" | "bottom" | "left" | undefined;
74
- value: ComputedRef<Nullable<FormFieldValue>>;
75
- id: string;
76
- name: ComputedRef<string | undefined>;
77
- label: ComputedRef<string | undefined>;
78
- description: ComputedRef<string | undefined>;
79
- placeholder: ComputedRef<string>;
80
- options: ComputedRef< {
81
- key: string;
82
- label: string;
83
- value: AcceptableValue;
84
- }[] | null>;
85
- selectedOption: ComputedRef< {
86
- key: string;
87
- label: string;
88
- value: AcceptableValue;
89
- } | undefined>;
90
- errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
91
- required: ComputedRef<boolean | undefined>;
92
- update(value: Nullable<FormFieldValue>): void;
93
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
94
- "update:modelValue": (value: Nullable<FormFieldValue>) => any;
95
- }, string, PublicProps, Readonly<SelectProps> & Readonly<{
96
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
97
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
98
-
99
- declare const __VLS_component_12: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
100
-
101
- declare const __VLS_component_13: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
102
-
103
- declare const __VLS_component_14: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
104
-
105
- declare const __VLS_component_15: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
106
-
107
- declare const __VLS_component_16: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
108
-
109
- declare const __VLS_component_17: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
110
-
111
- declare const __VLS_component_18: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDetailsElement>;
112
-
113
- declare const __VLS_component_19: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
114
-
115
- declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
116
-
117
- declare const __VLS_component_20: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
118
- "update:modelValue": (value: Nullable<FormFieldValue>) => any;
119
- }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
120
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
121
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
122
- $inputRef: ({
123
- $: ComponentInternalInstance;
124
- $data: {};
125
- $props: {
126
- readonly name?: string | undefined;
127
- readonly label?: string | undefined;
128
- readonly description?: string | undefined;
129
- readonly modelValue?: Nullable<FormFieldValue>;
130
- readonly as?: string | undefined;
131
- readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
132
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
133
- $attrs: {
134
- [x: string]: unknown;
135
- };
136
- $refs: {
137
- [x: string]: unknown;
138
- };
139
- $slots: Readonly<{
140
- [name: string]: Slot<any> | undefined;
141
- }>;
142
- $root: ComponentPublicInstance | null;
143
- $parent: ComponentPublicInstance | null;
144
- $host: Element | null;
145
- $emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
146
- $el: any;
147
- $options: ComponentOptionsBase<Readonly<InputProps & {
148
- as?: string;
149
- }> & Readonly<{
150
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
151
- }>, {
152
- id: string;
153
- name: ComputedRef<string | undefined>;
154
- label: ComputedRef<string | undefined>;
155
- description: ComputedRef<string | undefined>;
156
- value: ComputedRef<Nullable<FormFieldValue>>;
157
- errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
158
- required: ComputedRef<boolean | undefined>;
159
- update(value: Nullable<FormFieldValue>): void;
160
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
161
- "update:modelValue": (value: Nullable<FormFieldValue>) => any;
162
- }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
163
- beforeCreate?: (() => void) | (() => void)[];
164
- created?: (() => void) | (() => void)[];
165
- beforeMount?: (() => void) | (() => void)[];
166
- mounted?: (() => void) | (() => void)[];
167
- beforeUpdate?: (() => void) | (() => void)[];
168
- updated?: (() => void) | (() => void)[];
169
- activated?: (() => void) | (() => void)[];
170
- deactivated?: (() => void) | (() => void)[];
171
- beforeDestroy?: (() => void) | (() => void)[];
172
- beforeUnmount?: (() => void) | (() => void)[];
173
- destroyed?: (() => void) | (() => void)[];
174
- unmounted?: (() => void) | (() => void)[];
175
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
176
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
177
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
178
- };
179
- $forceUpdate: () => void;
180
- $nextTick: typeof nextTick;
181
- $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;
182
- } & Readonly<{}> & Omit<Readonly<InputProps & {
183
- as?: string;
184
- }> & Readonly<{
185
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
186
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
187
- id: string;
188
- name: ComputedRef<string | undefined>;
189
- label: ComputedRef<string | undefined>;
190
- description: ComputedRef<string | undefined>;
191
- value: ComputedRef<Nullable<FormFieldValue>>;
192
- errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
193
- required: ComputedRef<boolean | undefined>;
194
- update(value: Nullable<FormFieldValue>): void;
195
- }> & {} & ComponentCustomProperties & {} & {
196
- $slots: {
197
- default?(_: {}): any;
198
- };
199
- }) | null;
200
- }, any>;
201
-
202
- declare const __VLS_component_21: DefineComponent<DropdownMenuProps, {
203
- align: "start" | "center" | "end" | undefined;
204
- side: "top" | "right" | "bottom" | "left" | undefined;
205
- options: ComputedRef<DropdownMenuOptionData[] | undefined>;
206
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
207
-
208
- declare const __VLS_component_22: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
209
- select: () => any;
210
- }, string, PublicProps, Readonly<{}> & Readonly<{
211
- onSelect?: (() => any) | undefined;
212
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
213
-
214
- declare const __VLS_component_23: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
215
-
216
- declare const __VLS_component_24: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
217
- update: (value: string | number) => any;
218
- save: () => any;
219
- }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
220
- onUpdate?: ((value: string | number) => any) | undefined;
221
- onSave?: (() => any) | undefined;
222
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
223
- $inputRef: HTMLInputElement;
224
- }, HTMLDivElement>;
225
-
226
- declare const __VLS_component_25: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
227
-
228
- declare const __VLS_component_26: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
229
- submit: () => any;
230
- }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
231
- onSubmit?: (() => any) | undefined;
232
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
233
-
234
- declare const __VLS_component_27: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
235
-
236
- declare const __VLS_component_28: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
237
-
238
- declare const __VLS_component_29: DefineComponent<__VLS_Props_15, {
239
- close: ((result?: unknown) => Promise<void>) | Ref<(result?: unknown) => Promise<void>, (result?: unknown) => Promise<void>>;
240
- $content: Ref<undefined, undefined> | ModalContentInstance | Ref<null, null> | Ref<{
241
- $: ComponentInternalInstance;
242
- $data: {};
243
- $props: {
244
- readonly forceMount?: boolean | undefined;
245
- readonly trapFocus?: boolean | undefined;
246
- readonly disableOutsidePointerEvents?: boolean | undefined;
247
- readonly asChild?: boolean | undefined;
248
- readonly as?: (AsTag | Component) | undefined;
249
- readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
250
- readonly onPointerDownOutside?: ((event: CustomEvent<{
251
- originalEvent: PointerEvent;
252
- }>) => any) | undefined | undefined;
253
- readonly onFocusOutside?: ((event: CustomEvent<{
254
- originalEvent: FocusEvent;
255
- }>) => any) | undefined | undefined;
256
- readonly onInteractOutside?: ((event: CustomEvent<{
257
- originalEvent: PointerEvent;
258
- }> | CustomEvent<{
259
- originalEvent: FocusEvent;
260
- }>) => any) | undefined | undefined;
261
- readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
262
- readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
263
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
264
- $attrs: {
265
- [x: string]: unknown;
266
- };
267
- $refs: {
268
- [x: string]: unknown;
269
- };
270
- $slots: Readonly<{
271
- [name: string]: Slot<any> | undefined;
272
- }>;
273
- $root: ComponentPublicInstance | null;
274
- $parent: ComponentPublicInstance | null;
275
- $host: Element | null;
276
- $emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
277
- originalEvent: PointerEvent;
278
- }>) => void) & ((event: "focusOutside", event: CustomEvent<{
279
- originalEvent: FocusEvent;
280
- }>) => void) & ((event: "interactOutside", event: CustomEvent<{
281
- originalEvent: PointerEvent;
282
- }> | CustomEvent<{
283
- originalEvent: FocusEvent;
284
- }>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
285
- $el: any;
286
- $options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
287
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
288
- onPointerDownOutside?: ((event: CustomEvent<{
289
- originalEvent: PointerEvent;
290
- }>) => any) | undefined;
291
- onFocusOutside?: ((event: CustomEvent<{
292
- originalEvent: FocusEvent;
293
- }>) => any) | undefined;
294
- onInteractOutside?: ((event: CustomEvent<{
295
- originalEvent: PointerEvent;
296
- }> | CustomEvent<{
297
- originalEvent: FocusEvent;
298
- }>) => any) | undefined;
299
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
300
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
301
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
302
- escapeKeyDown: (event: KeyboardEvent) => any;
303
- pointerDownOutside: (event: CustomEvent<{
304
- originalEvent: PointerEvent;
305
- }>) => any;
306
- focusOutside: (event: CustomEvent<{
307
- originalEvent: FocusEvent;
308
- }>) => any;
309
- interactOutside: (event: CustomEvent<{
310
- originalEvent: PointerEvent;
311
- }> | CustomEvent<{
312
- originalEvent: FocusEvent;
313
- }>) => any;
314
- openAutoFocus: (event: Event) => any;
315
- closeAutoFocus: (event: Event) => any;
316
- }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
317
- beforeCreate?: (() => void) | (() => void)[];
318
- created?: (() => void) | (() => void)[];
319
- beforeMount?: (() => void) | (() => void)[];
320
- mounted?: (() => void) | (() => void)[];
321
- beforeUpdate?: (() => void) | (() => void)[];
322
- updated?: (() => void) | (() => void)[];
323
- activated?: (() => void) | (() => void)[];
324
- deactivated?: (() => void) | (() => void)[];
325
- beforeDestroy?: (() => void) | (() => void)[];
326
- beforeUnmount?: (() => void) | (() => void)[];
327
- destroyed?: (() => void) | (() => void)[];
328
- unmounted?: (() => void) | (() => void)[];
329
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
330
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
331
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
332
- };
333
- $forceUpdate: () => void;
334
- $nextTick: typeof nextTick;
335
- $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;
336
- } & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
337
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
338
- onPointerDownOutside?: ((event: CustomEvent<{
339
- originalEvent: PointerEvent;
340
- }>) => any) | undefined;
341
- onFocusOutside?: ((event: CustomEvent<{
342
- originalEvent: FocusEvent;
343
- }>) => any) | undefined;
344
- onInteractOutside?: ((event: CustomEvent<{
345
- originalEvent: PointerEvent;
346
- }> | CustomEvent<{
347
- originalEvent: FocusEvent;
348
- }>) => any) | undefined;
349
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
350
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
351
- }>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
352
- $slots: {
353
- default?(_: {}): any;
354
- default?(_: {}): any;
355
- };
356
- }, {
357
- $: ComponentInternalInstance;
358
- $data: {};
359
- $props: {
360
- readonly forceMount?: boolean | undefined;
361
- readonly trapFocus?: boolean | undefined;
362
- readonly disableOutsidePointerEvents?: boolean | undefined;
363
- readonly asChild?: boolean | undefined;
364
- readonly as?: (AsTag | Component) | undefined;
365
- readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
366
- readonly onPointerDownOutside?: ((event: CustomEvent<{
367
- originalEvent: PointerEvent;
368
- }>) => any) | undefined | undefined;
369
- readonly onFocusOutside?: ((event: CustomEvent<{
370
- originalEvent: FocusEvent;
371
- }>) => any) | undefined | undefined;
372
- readonly onInteractOutside?: ((event: CustomEvent<{
373
- originalEvent: PointerEvent;
374
- }> | CustomEvent<{
375
- originalEvent: FocusEvent;
376
- }>) => any) | undefined | undefined;
377
- readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
378
- readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
379
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
380
- $attrs: {
381
- [x: string]: unknown;
382
- };
383
- $refs: {
384
- [x: string]: unknown;
385
- };
386
- $slots: Readonly<{
387
- [name: string]: Slot<any> | undefined;
388
- }>;
389
- $root: ComponentPublicInstance | null;
390
- $parent: ComponentPublicInstance | null;
391
- $host: Element | null;
392
- $emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
393
- originalEvent: PointerEvent;
394
- }>) => void) & ((event: "focusOutside", event: CustomEvent<{
395
- originalEvent: FocusEvent;
396
- }>) => void) & ((event: "interactOutside", event: CustomEvent<{
397
- originalEvent: PointerEvent;
398
- }> | CustomEvent<{
399
- originalEvent: FocusEvent;
400
- }>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
401
- $el: any;
402
- $options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
403
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
404
- onPointerDownOutside?: ((event: CustomEvent<{
405
- originalEvent: PointerEvent;
406
- }>) => any) | undefined;
407
- onFocusOutside?: ((event: CustomEvent<{
408
- originalEvent: FocusEvent;
409
- }>) => any) | undefined;
410
- onInteractOutside?: ((event: CustomEvent<{
411
- originalEvent: PointerEvent;
412
- }> | CustomEvent<{
413
- originalEvent: FocusEvent;
414
- }>) => any) | undefined;
415
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
416
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
417
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
418
- escapeKeyDown: (event: KeyboardEvent) => any;
419
- pointerDownOutside: (event: CustomEvent<{
420
- originalEvent: PointerEvent;
421
- }>) => any;
422
- focusOutside: (event: CustomEvent<{
423
- originalEvent: FocusEvent;
424
- }>) => any;
425
- interactOutside: (event: CustomEvent<{
426
- originalEvent: PointerEvent;
427
- }> | CustomEvent<{
428
- originalEvent: FocusEvent;
429
- }>) => any;
430
- openAutoFocus: (event: Event) => any;
431
- closeAutoFocus: (event: Event) => any;
432
- }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
433
- beforeCreate?: (() => void) | (() => void)[];
434
- created?: (() => void) | (() => void)[];
435
- beforeMount?: (() => void) | (() => void)[];
436
- mounted?: (() => void) | (() => void)[];
437
- beforeUpdate?: (() => void) | (() => void)[];
438
- updated?: (() => void) | (() => void)[];
439
- activated?: (() => void) | (() => void)[];
440
- deactivated?: (() => void) | (() => void)[];
441
- beforeDestroy?: (() => void) | (() => void)[];
442
- beforeUnmount?: (() => void) | (() => void)[];
443
- destroyed?: (() => void) | (() => void)[];
444
- unmounted?: (() => void) | (() => void)[];
445
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
446
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
447
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
448
- };
449
- $forceUpdate: () => void;
450
- $nextTick: typeof nextTick;
451
- $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;
452
- } & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
453
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
454
- onPointerDownOutside?: ((event: CustomEvent<{
455
- originalEvent: PointerEvent;
456
- }>) => any) | undefined;
457
- onFocusOutside?: ((event: CustomEvent<{
458
- originalEvent: FocusEvent;
459
- }>) => any) | undefined;
460
- onInteractOutside?: ((event: CustomEvent<{
461
- originalEvent: PointerEvent;
462
- }> | CustomEvent<{
463
- originalEvent: FocusEvent;
464
- }>) => any) | undefined;
465
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
466
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
467
- }>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
468
- $slots: {
469
- default?(_: {}): any;
470
- default?(_: {}): any;
471
- };
472
- }>;
473
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
474
-
475
- declare const __VLS_component_3: DefineComponent<__VLS_Props, {
476
- id: string;
477
- name: ComputedRef<string | undefined>;
478
- label: ComputedRef<string | undefined>;
479
- description: ComputedRef<string | undefined>;
480
- value: ComputedRef<Nullable<FormFieldValue>>;
481
- errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
482
- required: ComputedRef<boolean | undefined>;
483
- update(value: Nullable<FormFieldValue>): void;
484
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
485
- "update:modelValue": (value: Nullable<FormFieldValue>) => any;
486
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
487
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
488
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
489
-
490
- declare const __VLS_component_30: DefineComponent<SelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
491
- "update:modelValue": (value: Nullable<FormFieldValue>) => any;
492
- }, string, PublicProps, Readonly<SelectProps> & Readonly<{
493
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
494
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
495
-
496
- declare const __VLS_component_31: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
497
-
498
- declare const __VLS_component_32: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
499
-
500
- declare const __VLS_component_33: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
501
-
502
- declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
503
-
504
- declare const __VLS_component_5: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
505
-
506
- declare const __VLS_component_6: DefineComponent<ModalProps, {
507
- close: ((result?: unknown) => Promise<void>) | Ref<(result?: unknown) => Promise<void>, (result?: unknown) => Promise<void>>;
508
- $content: Ref<undefined, undefined> | ModalContentInstance | Ref<null, null> | Ref< {
509
- $: ComponentInternalInstance;
510
- $data: {};
511
- $props: {
512
- readonly forceMount?: boolean | undefined;
513
- readonly trapFocus?: boolean | undefined;
514
- readonly disableOutsidePointerEvents?: boolean | undefined;
515
- readonly asChild?: boolean | undefined;
516
- readonly as?: (AsTag | Component) | undefined;
517
- readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
518
- readonly onPointerDownOutside?: ((event: CustomEvent<{
519
- originalEvent: PointerEvent;
520
- }>) => any) | undefined | undefined;
521
- readonly onFocusOutside?: ((event: CustomEvent<{
522
- originalEvent: FocusEvent;
523
- }>) => any) | undefined | undefined;
524
- readonly onInteractOutside?: ((event: CustomEvent<{
525
- originalEvent: PointerEvent;
526
- }> | CustomEvent<{
527
- originalEvent: FocusEvent;
528
- }>) => any) | undefined | undefined;
529
- readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
530
- readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
531
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
532
- $attrs: {
533
- [x: string]: unknown;
534
- };
535
- $refs: {
536
- [x: string]: unknown;
537
- };
538
- $slots: Readonly<{
539
- [name: string]: Slot<any> | undefined;
540
- }>;
541
- $root: ComponentPublicInstance | null;
542
- $parent: ComponentPublicInstance | null;
543
- $host: Element | null;
544
- $emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
545
- originalEvent: PointerEvent;
546
- }>) => void) & ((event: "focusOutside", event: CustomEvent<{
547
- originalEvent: FocusEvent;
548
- }>) => void) & ((event: "interactOutside", event: CustomEvent<{
549
- originalEvent: PointerEvent;
550
- }> | CustomEvent<{
551
- originalEvent: FocusEvent;
552
- }>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
553
- $el: any;
554
- $options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
555
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
556
- onPointerDownOutside?: ((event: CustomEvent<{
557
- originalEvent: PointerEvent;
558
- }>) => any) | undefined;
559
- onFocusOutside?: ((event: CustomEvent<{
560
- originalEvent: FocusEvent;
561
- }>) => any) | undefined;
562
- onInteractOutside?: ((event: CustomEvent<{
563
- originalEvent: PointerEvent;
564
- }> | CustomEvent<{
565
- originalEvent: FocusEvent;
566
- }>) => any) | undefined;
567
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
568
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
569
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
570
- escapeKeyDown: (event: KeyboardEvent) => any;
571
- pointerDownOutside: (event: CustomEvent<{
572
- originalEvent: PointerEvent;
573
- }>) => any;
574
- focusOutside: (event: CustomEvent<{
575
- originalEvent: FocusEvent;
576
- }>) => any;
577
- interactOutside: (event: CustomEvent<{
578
- originalEvent: PointerEvent;
579
- }> | CustomEvent<{
580
- originalEvent: FocusEvent;
581
- }>) => any;
582
- openAutoFocus: (event: Event) => any;
583
- closeAutoFocus: (event: Event) => any;
584
- }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
585
- beforeCreate?: (() => void) | (() => void)[];
586
- created?: (() => void) | (() => void)[];
587
- beforeMount?: (() => void) | (() => void)[];
588
- mounted?: (() => void) | (() => void)[];
589
- beforeUpdate?: (() => void) | (() => void)[];
590
- updated?: (() => void) | (() => void)[];
591
- activated?: (() => void) | (() => void)[];
592
- deactivated?: (() => void) | (() => void)[];
593
- beforeDestroy?: (() => void) | (() => void)[];
594
- beforeUnmount?: (() => void) | (() => void)[];
595
- destroyed?: (() => void) | (() => void)[];
596
- unmounted?: (() => void) | (() => void)[];
597
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
598
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
599
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
600
- };
601
- $forceUpdate: () => void;
602
- $nextTick: typeof nextTick;
603
- $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;
604
- } & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
605
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
606
- onPointerDownOutside?: ((event: CustomEvent<{
607
- originalEvent: PointerEvent;
608
- }>) => any) | undefined;
609
- onFocusOutside?: ((event: CustomEvent<{
610
- originalEvent: FocusEvent;
611
- }>) => any) | undefined;
612
- onInteractOutside?: ((event: CustomEvent<{
613
- originalEvent: PointerEvent;
614
- }> | CustomEvent<{
615
- originalEvent: FocusEvent;
616
- }>) => any) | undefined;
617
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
618
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
619
- }>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
620
- $slots: {
621
- default?(_: {}): any;
622
- default?(_: {}): any;
623
- };
624
- }, {
67
+ export declare const __valueType: unique symbol;
68
+
69
+ declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
70
+
71
+ declare const __VLS_component_10: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
72
+
73
+ declare const __VLS_component_11: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
74
+
75
+ declare const __VLS_component_12: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
76
+
77
+ declare const __VLS_component_13: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
78
+
79
+ declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
80
+
81
+ declare const __VLS_component_15: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
82
+
83
+ declare const __VLS_component_16: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDetailsElement>;
84
+
85
+ declare const __VLS_component_17: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
86
+
87
+ declare const __VLS_component_18: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
88
+ "update:modelValue": (value: unknown) => any;
89
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
90
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
91
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
92
+ $inputRef: ({
625
93
  $: ComponentInternalInstance;
626
94
  $data: {};
627
95
  $props: {
628
- readonly forceMount?: boolean | undefined;
629
- readonly trapFocus?: boolean | undefined;
630
- readonly disableOutsidePointerEvents?: boolean | undefined;
631
- readonly asChild?: boolean | undefined;
632
- readonly as?: (AsTag | Component) | undefined;
633
- readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
634
- readonly onPointerDownOutside?: ((event: CustomEvent<{
635
- originalEvent: PointerEvent;
636
- }>) => any) | undefined | undefined;
637
- readonly onFocusOutside?: ((event: CustomEvent<{
638
- originalEvent: FocusEvent;
639
- }>) => any) | undefined | undefined;
640
- readonly onInteractOutside?: ((event: CustomEvent<{
641
- originalEvent: PointerEvent;
642
- }> | CustomEvent<{
643
- originalEvent: FocusEvent;
644
- }>) => any) | undefined | undefined;
645
- readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
646
- readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
96
+ readonly name?: string | undefined;
97
+ readonly label?: string | undefined;
98
+ readonly description?: string | undefined;
99
+ readonly modelValue?: unknown;
100
+ readonly as?: string | undefined;
101
+ readonly "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
647
102
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
648
103
  $attrs: {
649
104
  [x: string]: unknown;
@@ -657,46 +112,23 @@ $slots: Readonly<{
657
112
  $root: ComponentPublicInstance | null;
658
113
  $parent: ComponentPublicInstance | null;
659
114
  $host: Element | null;
660
- $emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
661
- originalEvent: PointerEvent;
662
- }>) => void) & ((event: "focusOutside", event: CustomEvent<{
663
- originalEvent: FocusEvent;
664
- }>) => void) & ((event: "interactOutside", event: CustomEvent<{
665
- originalEvent: PointerEvent;
666
- }> | CustomEvent<{
667
- originalEvent: FocusEvent;
668
- }>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
115
+ $emit: (event: "update:modelValue", value: unknown) => void;
669
116
  $el: any;
670
- $options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
671
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
672
- onPointerDownOutside?: ((event: CustomEvent<{
673
- originalEvent: PointerEvent;
674
- }>) => any) | undefined;
675
- onFocusOutside?: ((event: CustomEvent<{
676
- originalEvent: FocusEvent;
677
- }>) => any) | undefined;
678
- onInteractOutside?: ((event: CustomEvent<{
679
- originalEvent: PointerEvent;
680
- }> | CustomEvent<{
681
- originalEvent: FocusEvent;
682
- }>) => any) | undefined;
683
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
684
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
685
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
686
- escapeKeyDown: (event: KeyboardEvent) => any;
687
- pointerDownOutside: (event: CustomEvent<{
688
- originalEvent: PointerEvent;
689
- }>) => any;
690
- focusOutside: (event: CustomEvent<{
691
- originalEvent: FocusEvent;
692
- }>) => any;
693
- interactOutside: (event: CustomEvent<{
694
- originalEvent: PointerEvent;
695
- }> | CustomEvent<{
696
- originalEvent: FocusEvent;
697
- }>) => any;
698
- openAutoFocus: (event: Event) => any;
699
- closeAutoFocus: (event: Event) => any;
117
+ $options: ComponentOptionsBase<Readonly<InputProps<unknown> & {
118
+ as?: string;
119
+ }> & Readonly<{
120
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
121
+ }>, {
122
+ id: string;
123
+ name: ComputedRef<string | undefined>;
124
+ label: ComputedRef<string | undefined>;
125
+ description: ComputedRef<string | undefined>;
126
+ value: ComputedRef<unknown>;
127
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
128
+ required: ComputedRef<boolean | undefined>;
129
+ update(value: unknown): void;
130
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
131
+ "update:modelValue": (value: unknown) => any;
700
132
  }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
701
133
  beforeCreate?: (() => void) | (() => void)[];
702
134
  created?: (() => void) | (() => void)[];
@@ -717,30 +149,92 @@ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info:
717
149
  $forceUpdate: () => void;
718
150
  $nextTick: typeof nextTick;
719
151
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
720
- } & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
721
- onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
722
- onPointerDownOutside?: ((event: CustomEvent<{
723
- originalEvent: PointerEvent;
724
- }>) => any) | undefined;
725
- onFocusOutside?: ((event: CustomEvent<{
726
- originalEvent: FocusEvent;
727
- }>) => any) | undefined;
728
- onInteractOutside?: ((event: CustomEvent<{
729
- originalEvent: PointerEvent;
730
- }> | CustomEvent<{
731
- originalEvent: FocusEvent;
732
- }>) => any) | undefined;
733
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
734
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
735
- }>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
152
+ } & Readonly<{}> & Omit<Readonly<InputProps<unknown> & {
153
+ as?: string;
154
+ }> & Readonly<{
155
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
156
+ }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
157
+ id: string;
158
+ name: ComputedRef<string | undefined>;
159
+ label: ComputedRef<string | undefined>;
160
+ description: ComputedRef<string | undefined>;
161
+ value: ComputedRef<unknown>;
162
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
163
+ required: ComputedRef<boolean | undefined>;
164
+ update(value: unknown): void;
165
+ }> & {} & ComponentCustomProperties & {} & {
736
166
  $slots: {
737
167
  default?(_: {}): any;
738
- default?(_: {}): any;
739
168
  };
740
- }>;
741
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
169
+ }) | null;
170
+ }, any>;
171
+
172
+ declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {
173
+ align: "start" | "center" | "end" | undefined;
174
+ side: "top" | "right" | "bottom" | "left" | undefined;
175
+ options: ComputedRef<DropdownMenuOptionData[] | undefined>;
176
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
177
+
178
+ declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
179
+
180
+ declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
181
+ select: () => any;
182
+ }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
183
+ onSelect?: (() => any) | undefined;
184
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
185
+
186
+ declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
187
+
188
+ declare const __VLS_component_22: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
189
+ update: (value: string | number) => any;
190
+ save: () => any;
191
+ }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
192
+ onUpdate?: ((value: string | number) => any) | undefined;
193
+ onSave?: (() => any) | undefined;
194
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
195
+ $inputRef: HTMLInputElement;
196
+ }, HTMLDivElement>;
197
+
198
+ declare const __VLS_component_23: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
199
+
200
+ declare const __VLS_component_24: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
201
+ submit: () => any;
202
+ }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
203
+ onSubmit?: (() => any) | undefined;
204
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
205
+
206
+ declare const __VLS_component_25: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
207
+
208
+ declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
209
+
210
+ declare const __VLS_component_27: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
211
+
212
+ declare const __VLS_component_28: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
213
+
214
+ declare const __VLS_component_29: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
215
+
216
+ declare const __VLS_component_3: DefineComponent<__VLS_Props, {
217
+ id: string;
218
+ name: ComputedRef<string | undefined>;
219
+ label: ComputedRef<string | undefined>;
220
+ description: ComputedRef<string | undefined>;
221
+ value: ComputedRef<unknown>;
222
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
223
+ required: ComputedRef<boolean | undefined>;
224
+ update(value: unknown): void;
225
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
226
+ "update:modelValue": (value: unknown) => any;
227
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
228
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
229
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
230
+
231
+ declare const __VLS_component_30: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
232
+
233
+ declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
234
+
235
+ declare const __VLS_component_5: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
742
236
 
743
- declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
237
+ declare const __VLS_component_6: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
744
238
  $contentRef: ({
745
239
  $: ComponentInternalInstance;
746
240
  $data: {};
@@ -860,9 +354,31 @@ default?(_: {}): any;
860
354
  }) | null;
861
355
  }, any>;
862
356
 
863
- declare const __VLS_component_8: DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
357
+ declare const __VLS_component_7: DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
358
+
359
+ declare const __VLS_component_8: DefineComponent<DialogOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
360
+
361
+ declare const __VLS_component_9: DefineComponent<DialogTitleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
362
+
363
+ declare type __VLS_PrettifyLocal<T> = {
364
+ [K in keyof T]: T[K];
365
+ } & {};
864
366
 
865
- declare const __VLS_component_9: DefineComponent<DialogOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
367
+ declare type __VLS_PrettifyLocal_2<T> = {
368
+ [K in keyof T]: T[K];
369
+ } & {};
370
+
371
+ declare type __VLS_PrettifyLocal_3<T> = {
372
+ [K in keyof T]: T[K];
373
+ } & {};
374
+
375
+ declare type __VLS_PrettifyLocal_4<T> = {
376
+ [K in keyof T]: T[K];
377
+ } & {};
378
+
379
+ declare type __VLS_PrettifyLocal_5<T> = {
380
+ [K in keyof T]: T[K];
381
+ } & {};
866
382
 
867
383
  declare type __VLS_Props = InputProps & {
868
384
  as?: string;
@@ -870,22 +386,26 @@ declare type __VLS_Props = InputProps & {
870
386
 
871
387
  declare type __VLS_Props_10 = {
872
388
  report: ErrorReport;
389
+ };
390
+
391
+ declare type __VLS_Props_11 = {
392
+ report: ErrorReport;
873
393
  currentReport?: number;
874
394
  totalReports?: number;
875
395
  };
876
396
 
877
- declare type __VLS_Props_11 = {
397
+ declare type __VLS_Props_12 = {
878
398
  form?: FormController;
879
399
  };
880
400
 
881
- declare type __VLS_Props_12 = InputProps & {
401
+ declare type __VLS_Props_13 = InputProps & {
882
402
  inputClass?: HTMLAttributes['class'];
883
403
  wrapperClass?: HTMLAttributes['class'];
884
404
  };
885
405
 
886
- declare type __VLS_Props_13 = Omit<ButtonProps, 'variant'>;
406
+ declare type __VLS_Props_14 = Omit<ButtonProps, 'variant'>;
887
407
 
888
- declare type __VLS_Props_14 = {
408
+ declare type __VLS_Props_15 = {
889
409
  as?: string;
890
410
  inline?: boolean;
891
411
  langKey?: string;
@@ -895,12 +415,6 @@ declare type __VLS_Props_14 = {
895
415
  actions?: Record<string, () => unknown>;
896
416
  };
897
417
 
898
- declare type __VLS_Props_15 = ModalProps & {
899
- dismissable?: boolean;
900
- wrapperClass?: HTMLAttributes['class'];
901
- class?: HTMLAttributes['class'];
902
- };
903
-
904
418
  declare type __VLS_Props_16 = {
905
419
  modal: UIModal;
906
420
  childIndex?: number;
@@ -913,13 +427,13 @@ declare type __VLS_Props_17 = {
913
427
  };
914
428
 
915
429
  declare type __VLS_Props_18 = {
916
- value: AcceptableValue;
917
430
  class?: HTMLAttributes['class'];
918
- innerClass?: HTMLAttributes['class'];
919
431
  };
920
432
 
921
433
  declare type __VLS_Props_19 = {
434
+ value: AcceptableValue;
922
435
  class?: HTMLAttributes['class'];
436
+ innerClass?: HTMLAttributes['class'];
923
437
  };
924
438
 
925
439
  declare type __VLS_Props_2 = {
@@ -930,7 +444,24 @@ declare type __VLS_Props_20 = {
930
444
  class?: HTMLAttributes['class'];
931
445
  };
932
446
 
933
- declare type __VLS_Props_21 = ToastProps & {
447
+ declare type __VLS_Props_21 = {
448
+ class?: HTMLAttributes['class'];
449
+ };
450
+
451
+ declare type __VLS_Props_22 = {
452
+ title: string;
453
+ titleId?: string;
454
+ description?: string;
455
+ class?: HTMLAttributes['class'];
456
+ layout?: 'vertical' | 'horizontal';
457
+ };
458
+
459
+ declare type __VLS_Props_23 = InputProps & {
460
+ inputClass?: HTMLAttributes['class'];
461
+ wrapperClass?: HTMLAttributes['class'];
462
+ };
463
+
464
+ declare type __VLS_Props_24 = ToastProps & {
934
465
  class?: HTMLAttributes['class'];
935
466
  };
936
467
 
@@ -949,6 +480,10 @@ declare type __VLS_Props_6 = InputProps & {
949
480
  };
950
481
 
951
482
  declare type __VLS_Props_7 = {
483
+ class?: HTMLAttributes['class'];
484
+ } & PrimitiveProps;
485
+
486
+ declare type __VLS_Props_8 = {
952
487
  type?: string;
953
488
  contentClass?: HTMLAttributes['class'];
954
489
  ariaLabel?: string;
@@ -958,12 +493,8 @@ declare type __VLS_Props_7 = {
958
493
  disabled?: boolean;
959
494
  };
960
495
 
961
- declare type __VLS_Props_8 = {
962
- error: ErrorSource;
963
- };
964
-
965
496
  declare type __VLS_Props_9 = {
966
- report: ErrorReport;
497
+ error: ErrorSource;
967
498
  };
968
499
 
969
500
  declare function __VLS_template(): {
@@ -988,10 +519,7 @@ declare function __VLS_template_10(): {
988
519
  declare function __VLS_template_11(): {
989
520
  attrs: Partial<{}>;
990
521
  slots: {
991
- default?(_: {
992
- modelValue: Nullable<FormFieldValue>;
993
- open: boolean;
994
- }): any;
522
+ default?(_: {}): any;
995
523
  };
996
524
  refs: {};
997
525
  rootEl: any;
@@ -1039,37 +567,10 @@ declare function __VLS_template_16(): {
1039
567
  default?(_: {}): any;
1040
568
  };
1041
569
  refs: {};
1042
- rootEl: any;
1043
- };
1044
-
1045
- declare function __VLS_template_17(): {
1046
- attrs: Partial<{}>;
1047
- slots: {
1048
- default?(_: {}): any;
1049
- };
1050
- refs: {};
1051
- rootEl: any;
1052
- };
1053
-
1054
- declare function __VLS_template_18(): {
1055
- attrs: Partial<{}>;
1056
- slots: {
1057
- default?(_: {}): any;
1058
- };
1059
- refs: {};
1060
- rootEl: HTMLDetailsElement;
1061
- };
1062
-
1063
- declare function __VLS_template_19(): {
1064
- attrs: Partial<{}>;
1065
- slots: {
1066
- default?(_: {}): any;
1067
- };
1068
- refs: {};
1069
- rootEl: any;
570
+ rootEl: HTMLDetailsElement;
1070
571
  };
1071
572
 
1072
- declare function __VLS_template_2(): {
573
+ declare function __VLS_template_17(): {
1073
574
  attrs: Partial<{}>;
1074
575
  slots: {
1075
576
  default?(_: {}): any;
@@ -1078,7 +579,7 @@ declare function __VLS_template_2(): {
1078
579
  rootEl: any;
1079
580
  };
1080
581
 
1081
- declare function __VLS_template_20(): {
582
+ declare function __VLS_template_18(): {
1082
583
  attrs: Partial<{}>;
1083
584
  slots: {
1084
585
  default?(_: {}): any;
@@ -1091,9 +592,9 @@ declare function __VLS_template_20(): {
1091
592
  readonly name?: string | undefined;
1092
593
  readonly label?: string | undefined;
1093
594
  readonly description?: string | undefined;
1094
- readonly modelValue?: Nullable<FormFieldValue>;
595
+ readonly modelValue?: unknown;
1095
596
  readonly as?: string | undefined;
1096
- readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
597
+ readonly "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1097
598
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1098
599
  $attrs: {
1099
600
  [x: string]: unknown;
@@ -1107,23 +608,23 @@ declare function __VLS_template_20(): {
1107
608
  $root: ComponentPublicInstance | null;
1108
609
  $parent: ComponentPublicInstance | null;
1109
610
  $host: Element | null;
1110
- $emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
611
+ $emit: (event: "update:modelValue", value: unknown) => void;
1111
612
  $el: any;
1112
- $options: ComponentOptionsBase<Readonly<InputProps & {
613
+ $options: ComponentOptionsBase<Readonly<InputProps<unknown> & {
1113
614
  as?: string;
1114
615
  }> & Readonly<{
1115
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
616
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1116
617
  }>, {
1117
618
  id: string;
1118
619
  name: ComputedRef<string | undefined>;
1119
620
  label: ComputedRef<string | undefined>;
1120
621
  description: ComputedRef<string | undefined>;
1121
- value: ComputedRef<Nullable<FormFieldValue>>;
622
+ value: ComputedRef<unknown>;
1122
623
  errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1123
624
  required: ComputedRef<boolean | undefined>;
1124
- update(value: Nullable<FormFieldValue>): void;
625
+ update(value: unknown): void;
1125
626
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1126
- "update:modelValue": (value: Nullable<FormFieldValue>) => any;
627
+ "update:modelValue": (value: unknown) => any;
1127
628
  }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1128
629
  beforeCreate?: (() => void) | (() => void)[];
1129
630
  created?: (() => void) | (() => void)[];
@@ -1144,19 +645,19 @@ declare function __VLS_template_20(): {
1144
645
  $forceUpdate: () => void;
1145
646
  $nextTick: typeof nextTick;
1146
647
  $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;
1147
- } & Readonly<{}> & Omit<Readonly<InputProps & {
648
+ } & Readonly<{}> & Omit<Readonly<InputProps<unknown> & {
1148
649
  as?: string;
1149
650
  }> & Readonly<{
1150
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1151
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
651
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
652
+ }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
1152
653
  id: string;
1153
654
  name: ComputedRef<string | undefined>;
1154
655
  label: ComputedRef<string | undefined>;
1155
656
  description: ComputedRef<string | undefined>;
1156
- value: ComputedRef<Nullable<FormFieldValue>>;
657
+ value: ComputedRef<unknown>;
1157
658
  errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1158
659
  required: ComputedRef<boolean | undefined>;
1159
- update(value: Nullable<FormFieldValue>): void;
660
+ update(value: unknown): void;
1160
661
  }> & {} & ComponentCustomProperties & {} & {
1161
662
  $slots: {
1162
663
  default?(_: {}): any;
@@ -1166,7 +667,7 @@ declare function __VLS_template_20(): {
1166
667
  rootEl: any;
1167
668
  };
1168
669
 
1169
- declare function __VLS_template_21(): {
670
+ declare function __VLS_template_19(): {
1170
671
  attrs: Partial<{}>;
1171
672
  slots: {
1172
673
  default?(_: {}): any;
@@ -1176,7 +677,7 @@ declare function __VLS_template_21(): {
1176
677
  rootEl: any;
1177
678
  };
1178
679
 
1179
- declare function __VLS_template_22(): {
680
+ declare function __VLS_template_2(): {
1180
681
  attrs: Partial<{}>;
1181
682
  slots: {
1182
683
  default?(_: {}): any;
@@ -1185,7 +686,7 @@ declare function __VLS_template_22(): {
1185
686
  rootEl: any;
1186
687
  };
1187
688
 
1188
- declare function __VLS_template_23(): {
689
+ declare function __VLS_template_20(): {
1189
690
  attrs: Partial<{}>;
1190
691
  slots: {
1191
692
  default?(_: {}): any;
@@ -1194,7 +695,16 @@ declare function __VLS_template_23(): {
1194
695
  rootEl: any;
1195
696
  };
1196
697
 
1197
- declare function __VLS_template_24(): {
698
+ declare function __VLS_template_21(): {
699
+ attrs: Partial<{}>;
700
+ slots: {
701
+ default?(_: {}): any;
702
+ };
703
+ refs: {};
704
+ rootEl: any;
705
+ };
706
+
707
+ declare function __VLS_template_22(): {
1198
708
  attrs: Partial<{}>;
1199
709
  slots: {
1200
710
  default?(_: {}): any;
@@ -1205,7 +715,7 @@ declare function __VLS_template_24(): {
1205
715
  rootEl: HTMLDivElement;
1206
716
  };
1207
717
 
1208
- declare function __VLS_template_25(): {
718
+ declare function __VLS_template_23(): {
1209
719
  attrs: Partial<{}>;
1210
720
  slots: Readonly<{
1211
721
  default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
@@ -1216,7 +726,7 @@ declare function __VLS_template_25(): {
1216
726
  rootEl: HTMLDivElement;
1217
727
  };
1218
728
 
1219
- declare function __VLS_template_26(): {
729
+ declare function __VLS_template_24(): {
1220
730
  attrs: Partial<{}>;
1221
731
  slots: {
1222
732
  default?(_: {}): any;
@@ -1225,7 +735,7 @@ declare function __VLS_template_26(): {
1225
735
  rootEl: HTMLFormElement;
1226
736
  };
1227
737
 
1228
- declare function __VLS_template_27(): {
738
+ declare function __VLS_template_25(): {
1229
739
  attrs: Partial<{}>;
1230
740
  slots: {
1231
741
  default?(_: {}): any;
@@ -1234,7 +744,7 @@ declare function __VLS_template_27(): {
1234
744
  rootEl: any;
1235
745
  };
1236
746
 
1237
- declare function __VLS_template_28(): {
747
+ declare function __VLS_template_26(): {
1238
748
  attrs: Partial<{}>;
1239
749
  slots: Readonly<{
1240
750
  default?(): VNode[];
@@ -1245,14 +755,7 @@ declare function __VLS_template_28(): {
1245
755
  rootEl: any;
1246
756
  };
1247
757
 
1248
- declare function __VLS_template_29(): {
1249
- attrs: Partial<{}>;
1250
- slots: Readonly<ModalSlots> & ModalSlots;
1251
- refs: {};
1252
- rootEl: any;
1253
- };
1254
-
1255
- declare function __VLS_template_3(): {
758
+ declare function __VLS_template_27(): {
1256
759
  attrs: Partial<{}>;
1257
760
  slots: {
1258
761
  default?(_: {}): any;
@@ -1261,7 +764,7 @@ declare function __VLS_template_3(): {
1261
764
  rootEl: any;
1262
765
  };
1263
766
 
1264
- declare function __VLS_template_30(): {
767
+ declare function __VLS_template_28(): {
1265
768
  attrs: Partial<{}>;
1266
769
  slots: {
1267
770
  default?(_: {}): any;
@@ -1270,16 +773,17 @@ declare function __VLS_template_30(): {
1270
773
  rootEl: any;
1271
774
  };
1272
775
 
1273
- declare function __VLS_template_31(): {
776
+ declare function __VLS_template_29(): {
1274
777
  attrs: Partial<{}>;
1275
778
  slots: {
1276
779
  default?(_: {}): any;
780
+ default?(_: {}): any;
1277
781
  };
1278
782
  refs: {};
1279
783
  rootEl: any;
1280
784
  };
1281
785
 
1282
- declare function __VLS_template_32(): {
786
+ declare function __VLS_template_3(): {
1283
787
  attrs: Partial<{}>;
1284
788
  slots: {
1285
789
  default?(_: {}): any;
@@ -1288,13 +792,13 @@ declare function __VLS_template_32(): {
1288
792
  rootEl: any;
1289
793
  };
1290
794
 
1291
- declare function __VLS_template_33(): {
795
+ declare function __VLS_template_30(): {
1292
796
  attrs: Partial<{}>;
1293
797
  slots: {
1294
798
  default?(_: {}): any;
1295
799
  };
1296
800
  refs: {};
1297
- rootEl: any;
801
+ rootEl: HTMLDivElement;
1298
802
  };
1299
803
 
1300
804
  declare function __VLS_template_4(): {
@@ -1318,13 +822,6 @@ declare function __VLS_template_5(): {
1318
822
  };
1319
823
 
1320
824
  declare function __VLS_template_6(): {
1321
- attrs: Partial<{}>;
1322
- slots: Readonly<ModalSlots> & ModalSlots;
1323
- refs: {};
1324
- rootEl: any;
1325
- };
1326
-
1327
- declare function __VLS_template_7(): {
1328
825
  attrs: Partial<{}>;
1329
826
  slots: {
1330
827
  default?(_: {}): any;
@@ -1451,6 +948,15 @@ declare function __VLS_template_7(): {
1451
948
  rootEl: any;
1452
949
  };
1453
950
 
951
+ declare function __VLS_template_7(): {
952
+ attrs: Partial<{}>;
953
+ slots: {
954
+ default?(_: {}): any;
955
+ };
956
+ refs: {};
957
+ rootEl: any;
958
+ };
959
+
1454
960
  declare function __VLS_template_8(): {
1455
961
  attrs: Partial<{}>;
1456
962
  slots: {
@@ -1517,12 +1023,6 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
1517
1023
 
1518
1024
  declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
1519
1025
 
1520
- declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
1521
-
1522
- declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
1523
-
1524
- declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
1525
-
1526
1026
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
1527
1027
 
1528
1028
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
@@ -1679,24 +1179,6 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
1679
1179
  };
1680
1180
  };
1681
1181
 
1682
- declare type __VLS_WithTemplateSlots_31<T, S> = T & {
1683
- new (): {
1684
- $slots: S;
1685
- };
1686
- };
1687
-
1688
- declare type __VLS_WithTemplateSlots_32<T, S> = T & {
1689
- new (): {
1690
- $slots: S;
1691
- };
1692
- };
1693
-
1694
- declare type __VLS_WithTemplateSlots_33<T, S> = T & {
1695
- new (): {
1696
- $slots: S;
1697
- };
1698
- };
1699
-
1700
1182
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
1701
1183
  new (): {
1702
1184
  $slots: S;
@@ -1737,7 +1219,7 @@ export declare type AcceptRefs<T> = {
1737
1219
  [K in keyof T]: T[K] | RefUnion<T[K]>;
1738
1220
  };
1739
1221
 
1740
- export declare const AdvancedOptions: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1222
+ export declare const AdvancedOptions: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1741
1223
 
1742
1224
  export declare type AerogelGlobalEvents = Partial<{
1743
1225
  [Event in EventWithoutPayload]: () => unknown;
@@ -1752,9 +1234,16 @@ export declare interface AerogelOptions {
1752
1234
 
1753
1235
  export declare interface AerogelTestingRuntime {
1754
1236
  on: (typeof Events)['on'];
1237
+ service<T extends keyof Services>(name: T): Services[T] | null;
1755
1238
  }
1756
1239
 
1757
- export declare const AlertModal: DefineComponent<AlertModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1240
+ export declare const AlertModal: DefineComponent<AlertModalProps, {
1241
+ close(result?: void | undefined): Promise<void>;
1242
+ $content: ModalContentInstance;
1243
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1244
+
1245
+ export declare interface AlertModalExpose extends ModalExpose<void> {
1246
+ }
1758
1247
 
1759
1248
  export declare interface AlertModalProps {
1760
1249
  title?: string;
@@ -1767,6 +1256,8 @@ export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component,
1767
1256
 
1768
1257
  export declare const AppModals: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1769
1258
 
1259
+ export declare function appNamespace(): string;
1260
+
1770
1261
  export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1771
1262
 
1772
1263
  export declare class AppService extends _default_3 {
@@ -1792,7 +1283,7 @@ export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, Componen
1792
1283
 
1793
1284
  export declare function booleanInput(defaultValue?: boolean, options?: {
1794
1285
  rules?: string;
1795
- }): FormFieldDefinition<typeof FormFieldTypes.Boolean>;
1286
+ }): FormFieldDefinition<'boolean'>;
1796
1287
 
1797
1288
  export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
1798
1289
 
@@ -1800,7 +1291,7 @@ export declare function bootstrap(rootComponent: Component, options?: AerogelOpt
1800
1291
 
1801
1292
  export declare function bootstrapApplication(app: App_2, options?: AerogelOptions): Promise<void>;
1802
1293
 
1803
- export declare const Button: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1294
+ export declare const Button: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1804
1295
 
1805
1296
  export declare interface ButtonProps extends PrimitiveProps {
1806
1297
  class?: HTMLAttributes['class'];
@@ -1829,7 +1320,7 @@ export declare class CacheService extends Service {
1829
1320
  protected open(): Promise<Cache>;
1830
1321
  }
1831
1322
 
1832
- export declare const Checkbox: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1323
+ export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1833
1324
 
1834
1325
  export declare function classes(...inputs: ClassValue[]): string;
1835
1326
 
@@ -1857,13 +1348,10 @@ export declare type ComputedStateDefinition<TState extends ServiceState, TComput
1857
1348
  readonly [K in keyof TComputedState]: TComputedState[K];
1858
1349
  }>;
1859
1350
 
1860
- export declare function computedVariantClasses<T>(value: RefsObject<{
1861
- baseClasses?: string;
1862
- } & CVAProps<T>>, config: {
1863
- baseClasses?: string;
1864
- } & CVAConfig<T>): ComputedRef<string>;
1865
-
1866
- export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1351
+ export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {
1352
+ close(result?: boolean | [boolean, Record<string, Nullable<boolean>>] | undefined): Promise<void>;
1353
+ $content: ModalContentInstance;
1354
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1867
1355
 
1868
1356
  export declare type ConfirmModalCheckboxes = Record<string, {
1869
1357
  label: string;
@@ -1871,6 +1359,9 @@ export declare type ConfirmModalCheckboxes = Record<string, {
1871
1359
  required?: boolean;
1872
1360
  }>;
1873
1361
 
1362
+ export declare interface ConfirmModalExpose extends ModalExpose<boolean | [boolean, Record<string, Nullable<boolean>>]> {
1363
+ }
1364
+
1874
1365
  export declare interface ConfirmModalProps {
1875
1366
  title?: string;
1876
1367
  message: string;
@@ -1902,11 +1393,12 @@ export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<ty
1902
1393
 
1903
1394
  export declare function dateInput(defaultValue?: Date, options?: {
1904
1395
  rules?: string;
1905
- }): FormFieldDefinition<typeof FormFieldTypes.Date>;
1396
+ }): FormFieldDefinition<'date'>;
1906
1397
 
1907
1398
  declare const _default: ServiceWithState< {
1908
1399
  logs: ErrorReportLog[];
1909
1400
  startupErrors: ErrorReport[];
1401
+ debug: boolean;
1910
1402
  }, {
1911
1403
  hasErrors: boolean;
1912
1404
  hasNewErrors: boolean;
@@ -1914,6 +1406,7 @@ hasStartupErrors: boolean;
1914
1406
  }, Partial<{
1915
1407
  logs: ErrorReportLog[];
1916
1408
  startupErrors: ErrorReport[];
1409
+ debug: boolean;
1917
1410
  }>>;
1918
1411
 
1919
1412
  declare const _default_2: ServiceWithState< {
@@ -1953,8 +1446,9 @@ modals: UIModal[];
1953
1446
  toasts: UIToast[];
1954
1447
  layout: Layout;
1955
1448
  }, {
1956
- mobile: boolean;
1957
1449
  desktop: boolean;
1450
+ mobile: boolean;
1451
+ openModals: UIModal<unknown>[];
1958
1452
  }, Partial<{
1959
1453
  modals: UIModal[];
1960
1454
  toasts: UIToast[];
@@ -1971,7 +1465,7 @@ declare const defaultServices: {
1971
1465
 
1972
1466
  export declare type DefaultServiceState = any;
1973
1467
 
1974
- export declare function defineDirective(directive: Directive): Directive;
1468
+ export declare function defineDirective<TValue = any, TModifiers extends string = string>(directive: Directive<any, TValue, TModifiers>): Directive<any, TValue, TModifiers>;
1975
1469
 
1976
1470
  export declare function defineFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
1977
1471
 
@@ -1993,41 +1487,54 @@ export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
1993
1487
 
1994
1488
  export declare function dispatch(job: Job): Promise<void>;
1995
1489
 
1996
- export declare const DropdownMenu: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1490
+ export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1997
1491
 
1998
1492
  export declare interface DropdownMenuExpose {
1999
1493
  align?: DropdownMenuContentProps['align'];
2000
1494
  side?: DropdownMenuContentProps['side'];
2001
- options?: DropdownMenuOptionData[];
1495
+ options?: readonly DropdownMenuOptionData[];
2002
1496
  }
2003
1497
 
2004
- export declare const DropdownMenuOption: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1498
+ export declare const DropdownMenuOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
2005
1499
 
2006
1500
  export declare type DropdownMenuOptionData = {
2007
1501
  label: string;
2008
- click: () => unknown;
1502
+ href?: string;
1503
+ route?: string;
1504
+ routeParams?: object;
1505
+ routeQuery?: object;
1506
+ click?: () => unknown;
1507
+ class?: string;
2009
1508
  };
2010
1509
 
2011
- export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1510
+ export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
2012
1511
 
2013
1512
  export declare interface DropdownMenuProps {
2014
1513
  align?: DropdownMenuContentProps['align'];
2015
1514
  side?: DropdownMenuContentProps['side'];
2016
- options?: Falsifiable<DropdownMenuOptionData>[];
1515
+ options?: readonly Falsifiable<DropdownMenuOptionData>[];
2017
1516
  }
2018
1517
 
2019
- export declare const EditableContent: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1518
+ export declare const EditableContent: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
2020
1519
 
2021
1520
  export declare interface ElementSize {
2022
1521
  width: number;
2023
1522
  height: number;
2024
1523
  }
2025
1524
 
1525
+ export declare function enumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
1526
+ rules?: string;
1527
+ }): FormFieldDefinition<'enum', string, T>;
1528
+
2026
1529
  export declare type ErrorHandler = (error: ErrorSource) => boolean;
2027
1530
 
2028
1531
  declare type ErrorHandler_2 = (error: ErrorSource) => string | undefined;
2029
1532
 
2030
- export declare const ErrorMessage: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1533
+ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1534
+
1535
+ export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1536
+
1537
+ export declare const ErrorMessage: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2031
1538
 
2032
1539
  export declare interface ErrorReport {
2033
1540
  title: string;
@@ -2042,9 +1549,12 @@ export declare interface ErrorReportLog {
2042
1549
  date: Date;
2043
1550
  }
2044
1551
 
2045
- export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1552
+ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
1553
+ close(result?: void | undefined): Promise<void>;
1554
+ $content: ModalContentInstance;
1555
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2046
1556
 
2047
- export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
1557
+ export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
2048
1558
 
2049
1559
  declare interface ErrorReportModalButtonsDefaultSlotProps {
2050
1560
  id: string;
@@ -2054,11 +1564,15 @@ declare interface ErrorReportModalButtonsDefaultSlotProps {
2054
1564
  click?(): void;
2055
1565
  }
2056
1566
 
1567
+ export declare interface ErrorReportModalExpose extends ModalExpose {
1568
+ }
1569
+
2057
1570
  export declare interface ErrorReportModalProps {
1571
+ report: ErrorReport;
2058
1572
  reports: ErrorReport[];
2059
1573
  }
2060
1574
 
2061
- export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1575
+ export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2062
1576
 
2063
1577
  export declare const Errors: Facade<ErrorsService>;
2064
1578
 
@@ -2067,13 +1581,17 @@ export declare type ErrorSource = string | Error | JSError | unknown;
2067
1581
  declare class ErrorsService extends _default {
2068
1582
  forceReporting: boolean;
2069
1583
  private enabled;
1584
+ private eruda;
2070
1585
  enable(): void;
2071
1586
  disable(): void;
2072
- inspect(error: ErrorSource | ErrorReport[]): Promise<void>;
1587
+ inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
1588
+ inspect(reports: ErrorReport[]): Promise<void>;
2073
1589
  report(error: ErrorSource, message?: string): Promise<void>;
1590
+ reportDevelopmentError(error: ErrorSource, message?: string): void;
2074
1591
  see(report: ErrorReport): void;
2075
- seeAll(): void;
1592
+ protected boot(): Promise<void>;
2076
1593
  private logError;
1594
+ private isErrorReport;
2077
1595
  private createErrorReport;
2078
1596
  private createStartupErrorReport;
2079
1597
  private createErrorReportFromError;
@@ -2107,22 +1625,16 @@ export declare class EventsService extends Service {
2107
1625
  protected boot(): Promise<void>;
2108
1626
  emit<Event extends EventWithoutPayload>(event: Event): Promise<void>;
2109
1627
  emit<Event extends EventWithPayload>(event: Event, payload: EventsPayload[Event]): Promise<void>;
2110
- emit<Event extends string>(event: UnknownEvent<Event>, payload?: unknown): Promise<void>;
2111
1628
  on<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
2112
1629
  on<Event extends EventWithoutPayload>(event: Event, priority: EventListenerPriority, listener: () => unknown): () => void;
2113
1630
  on<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
2114
1631
  on<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2115
1632
  on<Event extends EventWithPayload>(event: Event, priority: EventListenerPriority, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2116
1633
  on<Event extends EventWithPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2117
- on<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): () => void;
2118
- on<Event extends string>(event: UnknownEvent<Event>, priority: EventListenerPriority, listener: EventListener_2): () => void;
2119
- on<Event extends string>(event: UnknownEvent<Event>, options: Partial<EventListenerOptions_2>, listener: EventListener_2): () => void;
2120
1634
  once<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
2121
1635
  once<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
2122
1636
  once<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2123
1637
  once<Event extends EventWithPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2124
- once<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): () => void;
2125
- once<Event extends string>(event: UnknownEvent<Event>, options: Partial<EventListenerOptions_2>, listener: EventListener_2): () => void;
2126
1638
  off(event: string, listener: EventListener_2): void;
2127
1639
  protected registerListener(event: string, options: Partial<EventListenerOptions_2>, handler: EventListener_2): void;
2128
1640
  }
@@ -2139,7 +1651,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
2139
1651
 
2140
1652
  export declare type FocusFormListener = (input: string) => unknown;
2141
1653
 
2142
- export declare const Form: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
1654
+ export declare const Form: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
2143
1655
 
2144
1656
  export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
2145
1657
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
@@ -2154,6 +1666,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
2154
1666
  setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
2155
1667
  getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
2156
1668
  getFieldRules<T extends keyof Fields>(field: T): string[];
1669
+ getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
2157
1670
  data(): FormData_2<Fields>;
2158
1671
  validate(): boolean;
2159
1672
  reset(options?: {
@@ -2176,7 +1689,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
2176
1689
  }
2177
1690
 
2178
1691
  declare type FormData_2<T> = {
2179
- -readonly [k in keyof T]: T[k] extends FormFieldDefinition<infer TType, infer TRules> ? TRules extends 'required' ? GetFormFieldValue<TType> : GetFormFieldValue<TType> | null : never;
1692
+ -readonly [k in keyof T]: T[k] extends FormFieldDefinition<infer TType, infer TRules, infer TValueType> ? TRules extends 'required' ? GetFormFieldValue<TType, TValueType> : GetFormFieldValue<TType, TValueType> | null : never;
2180
1693
  };
2181
1694
  export { FormData_2 as FormData }
2182
1695
 
@@ -2184,24 +1697,18 @@ export declare type FormErrors<T> = {
2184
1697
  [k in keyof T]: string[] | null;
2185
1698
  };
2186
1699
 
2187
- export declare interface FormFieldDefinition<TType extends FormFieldType = FormFieldType, TRules extends string = string> {
1700
+ export declare interface FormFieldDefinition<TType extends FormFieldType = FormFieldType, TRules extends string = string, TValueType = unknown> {
2188
1701
  type: TType;
2189
1702
  trim?: boolean;
2190
1703
  default?: GetFormFieldValue<TType>;
2191
1704
  rules?: TRules;
1705
+ values?: readonly TValueType[];
1706
+ [__valueType]?: TValueType;
2192
1707
  }
2193
1708
 
2194
1709
  export declare type FormFieldDefinitions = Record<string, FormFieldDefinition>;
2195
1710
 
2196
- export declare type FormFieldType = ObjectValues<typeof FormFieldTypes>;
2197
-
2198
- export declare const FormFieldTypes: {
2199
- readonly String: "string";
2200
- readonly Number: "number";
2201
- readonly Boolean: "boolean";
2202
- readonly Object: "object";
2203
- readonly Date: "date";
2204
- };
1711
+ export declare type FormFieldType = 'string' | 'enum' | 'number' | 'boolean' | 'object' | 'date';
2205
1712
 
2206
1713
  export declare type FormFieldValidator<T = unknown> = (value: T) => string | string[] | undefined;
2207
1714
 
@@ -2211,7 +1718,9 @@ export declare function getCurrentLayout(): Layout;
2211
1718
 
2212
1719
  export declare function getErrorMessage(error: ErrorSource): string;
2213
1720
 
2214
- 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;
1721
+ export declare type GetFormFieldValue<TType, TValueType = unknown> = TType extends 'string' ? string : TType extends 'number' ? number : TType extends 'boolean' ? boolean : TType extends 'enum' ? TValueType : TType extends 'object' ? TValueType extends object ? TValueType : object : TType extends 'date' ? Date : never;
1722
+
1723
+ export declare function getMarkdownRouter(): MarkdownRouter | null;
2215
1724
 
2216
1725
  export declare function getPiniaStore(): Pinia;
2217
1726
 
@@ -2239,29 +1748,102 @@ export declare const HeadlessInputTextArea: DefineComponent< {}, {}, {}, {},
2239
1748
  $textAreaRef: HTMLTextAreaElement;
2240
1749
  }, HTMLTextAreaElement>;
2241
1750
 
2242
- export declare const HeadlessModal: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
1751
+ export declare const HeadlessModal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1752
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ModalProps & Partial<{}>> & PublicProps;
1753
+ expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose<T>>>): void;
1754
+ attrs: any;
1755
+ slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
1756
+ emit: {};
1757
+ }>) => VNode & {
1758
+ __ctx?: Awaited<typeof __VLS_setup>;
1759
+ };
2243
1760
 
2244
- export declare const HeadlessModalContent: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1761
+ export declare const HeadlessModalContent: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2245
1762
 
2246
- export declare const HeadlessModalDescription: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
1763
+ export declare const HeadlessModalDescription: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2247
1764
 
2248
- export declare const HeadlessModalOverlay: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1765
+ export declare const HeadlessModalOverlay: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2249
1766
 
2250
- export declare const HeadlessModalTitle: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1767
+ export declare const HeadlessModalTitle: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
2251
1768
 
2252
- export declare const HeadlessSelect: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1769
+ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1770
+ props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
1771
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
1772
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
1773
+ expose(exposed: ShallowUnwrapRef< {
1774
+ labelClass: any;
1775
+ optionsClass: any;
1776
+ align: "start" | "center" | "end" | undefined;
1777
+ side: "top" | "right" | "bottom" | "left" | undefined;
1778
+ value: ComputedRef<T>;
1779
+ id: string;
1780
+ name: ComputedRef<string | undefined>;
1781
+ label: ComputedRef<string | undefined>;
1782
+ description: ComputedRef<string | undefined>;
1783
+ placeholder: ComputedRef<string>;
1784
+ options: ComputedRef< {
1785
+ key: string;
1786
+ label: string;
1787
+ value: AcceptableValue;
1788
+ }[] | null>;
1789
+ selectedOption: ComputedRef< {
1790
+ key: string;
1791
+ label: string;
1792
+ value: AcceptableValue;
1793
+ } | undefined>;
1794
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1795
+ required: ComputedRef<boolean | undefined>;
1796
+ update(value: T): void;
1797
+ }>): void;
1798
+ attrs: any;
1799
+ slots: {
1800
+ default?(_: {
1801
+ modelValue: T | undefined;
1802
+ open: boolean;
1803
+ }): any;
1804
+ };
1805
+ emit: (evt: "update:modelValue", value: T) => void;
1806
+ }>) => VNode & {
1807
+ __ctx?: Awaited<typeof __VLS_setup>;
1808
+ };
2253
1809
 
2254
- export declare const HeadlessSelectLabel: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1810
+ export declare const HeadlessSelectLabel: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
2255
1811
 
2256
- export declare const HeadlessSelectOption: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1812
+ export declare const HeadlessSelectOption: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
2257
1813
 
2258
- export declare const HeadlessSelectOptions: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1814
+ export declare const HeadlessSelectOptions: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
2259
1815
 
2260
- export declare const HeadlessSelectTrigger: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1816
+ export declare const HeadlessSelectTrigger: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
2261
1817
 
2262
- export declare const HeadlessSelectValue: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1818
+ export declare const HeadlessSelectValue: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
2263
1819
 
2264
- export declare const HeadlessToast: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1820
+ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1821
+ props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{
1822
+ readonly "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1823
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & (InputProps<T> & {
1824
+ class?: HTMLAttributes["class"];
1825
+ labelClass?: HTMLAttributes["class"];
1826
+ inputClass?: HTMLAttributes["class"];
1827
+ thumbClass?: HTMLAttributes["class"];
1828
+ }) & Partial<{}>> & PublicProps;
1829
+ expose(exposed: ShallowUnwrapRef< {
1830
+ id: string;
1831
+ name: ComputedRef<string | undefined>;
1832
+ label: ComputedRef<string | undefined>;
1833
+ description: ComputedRef<string | undefined>;
1834
+ value: ComputedRef<boolean | undefined>;
1835
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1836
+ required: ComputedRef<boolean | undefined>;
1837
+ update(value: unknown): void;
1838
+ }>): void;
1839
+ attrs: any;
1840
+ slots: {};
1841
+ emit: (evt: "update:modelValue", value: unknown) => void;
1842
+ }>) => VNode & {
1843
+ __ctx?: Awaited<typeof __VLS_setup>;
1844
+ };
1845
+
1846
+ export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2265
1847
 
2266
1848
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
2267
1849
 
@@ -2269,10 +1851,10 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
2269
1851
 
2270
1852
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
2271
1853
 
2272
- export declare const Input: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2273
- "update:modelValue": (value: Nullable<FormFieldValue>) => any;
2274
- }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
2275
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1854
+ export declare const Input: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1855
+ "update:modelValue": (value: unknown) => any;
1856
+ }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
1857
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2276
1858
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2277
1859
  $inputRef: ({
2278
1860
  $: ComponentInternalInstance;
@@ -2281,9 +1863,9 @@ $props: {
2281
1863
  readonly name?: string | undefined;
2282
1864
  readonly label?: string | undefined;
2283
1865
  readonly description?: string | undefined;
2284
- readonly modelValue?: Nullable<FormFieldValue>;
1866
+ readonly modelValue?: unknown;
2285
1867
  readonly as?: string | undefined;
2286
- readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1868
+ readonly "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2287
1869
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
2288
1870
  $attrs: {
2289
1871
  [x: string]: unknown;
@@ -2297,23 +1879,23 @@ $slots: Readonly<{
2297
1879
  $root: ComponentPublicInstance | null;
2298
1880
  $parent: ComponentPublicInstance | null;
2299
1881
  $host: Element | null;
2300
- $emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
1882
+ $emit: (event: "update:modelValue", value: unknown) => void;
2301
1883
  $el: any;
2302
- $options: ComponentOptionsBase<Readonly<InputProps & {
1884
+ $options: ComponentOptionsBase<Readonly<InputProps<unknown> & {
2303
1885
  as?: string;
2304
1886
  }> & Readonly<{
2305
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1887
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2306
1888
  }>, {
2307
1889
  id: string;
2308
1890
  name: ComputedRef<string | undefined>;
2309
1891
  label: ComputedRef<string | undefined>;
2310
1892
  description: ComputedRef<string | undefined>;
2311
- value: ComputedRef<Nullable<FormFieldValue>>;
1893
+ value: ComputedRef<unknown>;
2312
1894
  errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
2313
1895
  required: ComputedRef<boolean | undefined>;
2314
- update(value: Nullable<FormFieldValue>): void;
1896
+ update(value: unknown): void;
2315
1897
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2316
- "update:modelValue": (value: Nullable<FormFieldValue>) => any;
1898
+ "update:modelValue": (value: unknown) => any;
2317
1899
  }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
2318
1900
  beforeCreate?: (() => void) | (() => void)[];
2319
1901
  created?: (() => void) | (() => void)[];
@@ -2334,19 +1916,19 @@ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info:
2334
1916
  $forceUpdate: () => void;
2335
1917
  $nextTick: typeof nextTick;
2336
1918
  $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;
2337
- } & Readonly<{}> & Omit<Readonly<InputProps & {
1919
+ } & Readonly<{}> & Omit<Readonly<InputProps<unknown> & {
2338
1920
  as?: string;
2339
1921
  }> & Readonly<{
2340
- "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
2341
- }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
1922
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1923
+ }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
2342
1924
  id: string;
2343
1925
  name: ComputedRef<string | undefined>;
2344
1926
  label: ComputedRef<string | undefined>;
2345
1927
  description: ComputedRef<string | undefined>;
2346
- value: ComputedRef<Nullable<FormFieldValue>>;
1928
+ value: ComputedRef<unknown>;
2347
1929
  errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
2348
1930
  required: ComputedRef<boolean | undefined>;
2349
- update(value: Nullable<FormFieldValue>): void;
1931
+ update(value: unknown): void;
2350
1932
  }> & {} & ComponentCustomProperties & {} & {
2351
1933
  $slots: {
2352
1934
  default?(_: {}): any;
@@ -2354,26 +1936,26 @@ default?(_: {}): any;
2354
1936
  }) | null;
2355
1937
  }, any>;
2356
1938
 
2357
- export declare interface InputEmits {
2358
- 'update:modelValue': [value: Nullable<FormFieldValue>];
1939
+ export declare interface InputEmits<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
1940
+ 'update:modelValue': [value: T];
2359
1941
  }
2360
1942
 
2361
- export declare interface InputExpose {
1943
+ export declare interface InputExpose<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
2362
1944
  id: string;
2363
1945
  name: ComputedRef<Nullable<string>>;
2364
1946
  label: ComputedRef<Nullable<string>>;
2365
1947
  description: ComputedRef<Nullable<string | boolean>>;
2366
- value: ComputedRef<Nullable<FormFieldValue>>;
1948
+ value: ComputedRef<T>;
2367
1949
  required: ComputedRef<Nullable<boolean>>;
2368
1950
  errors: DeepReadonly<Ref<Nullable<string[]>>>;
2369
- update(value: Nullable<FormFieldValue>): void;
1951
+ update(value: T): void;
2370
1952
  }
2371
1953
 
2372
- export declare interface InputProps {
1954
+ export declare interface InputProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
2373
1955
  name?: string;
2374
1956
  label?: string;
2375
1957
  description?: string;
2376
- modelValue?: Nullable<FormFieldValue>;
1958
+ modelValue?: T;
2377
1959
  }
2378
1960
 
2379
1961
  export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
@@ -2446,9 +2028,15 @@ export declare const Layouts: {
2446
2028
  readonly Desktop: "desktop";
2447
2029
  };
2448
2030
 
2449
- export declare const Link: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
2031
+ export declare const Link: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
2032
+
2033
+ export declare const LoadingModal: DefineComponent<LoadingModalProps, {
2034
+ close(result?: void | undefined): Promise<void>;
2035
+ $content: ModalContentInstance;
2036
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2450
2037
 
2451
- export declare const LoadingModal: DefineComponent<LoadingModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2038
+ export declare interface LoadingModalExpose extends ModalExpose {
2039
+ }
2452
2040
 
2453
2041
  export declare interface LoadingModalProps {
2454
2042
  title?: string;
@@ -2461,29 +2049,53 @@ export declare type LoadingOptions = AcceptRefs<{
2461
2049
  title?: string;
2462
2050
  message?: string;
2463
2051
  progress?: number;
2052
+ delay?: number;
2464
2053
  }>;
2465
2054
 
2466
- export declare const Markdown: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2055
+ export declare const Markdown: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
2056
+
2057
+ export declare interface MarkdownRouter {
2058
+ resolve(route: string): string;
2059
+ visit(route: string): Promise<void>;
2060
+ }
2467
2061
 
2468
2062
  export declare type MeasureDirectiveListener = (size: ElementSize) => unknown;
2469
2063
 
2470
- export declare const MOBILE_BREAKPOINT = 768;
2064
+ export declare type MeasureDirectiveModifiers = 'css' | 'watch';
2471
2065
 
2472
- export declare const Modal: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2066
+ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
2067
+ css?: boolean;
2068
+ watch?: boolean;
2069
+ };
2473
2070
 
2474
- declare interface ModalComponent<Properties extends object = object, Result = unknown> {
2475
- }
2071
+ export declare const MOBILE_BREAKPOINT = 768;
2072
+
2073
+ export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2074
+ props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
2075
+ wrapperClass?: HTMLAttributes["class"];
2076
+ class?: HTMLAttributes["class"];
2077
+ closeHidden?: boolean;
2078
+ }) & Partial<{}>> & PublicProps;
2079
+ expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose<T>>>): void;
2080
+ attrs: any;
2081
+ slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
2082
+ emit: {};
2083
+ }>) => VNode & {
2084
+ __ctx?: Awaited<typeof __VLS_setup>;
2085
+ };
2476
2086
 
2477
2087
  export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
2478
2088
 
2479
2089
  export declare const ModalContext: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2480
2090
 
2481
- export declare interface ModalExpose {
2482
- close(result?: unknown): Promise<void>;
2091
+ export declare interface ModalExpose<Result = void> {
2092
+ close(result?: Result): Promise<void>;
2483
2093
  $content: ModalContentInstance;
2484
2094
  }
2485
2095
 
2486
- declare type ModalProperties<TComponent> = TComponent extends ModalComponent<infer TProperties, unknown> ? TProperties : never;
2096
+ export declare type ModalExposeResult<T> = T extends {
2097
+ close(result?: infer Result): Promise<void>;
2098
+ } ? Result : unknown;
2487
2099
 
2488
2100
  export declare interface ModalProps {
2489
2101
  persistent?: boolean;
@@ -2493,17 +2105,21 @@ export declare interface ModalProps {
2493
2105
  descriptionHidden?: boolean;
2494
2106
  }
2495
2107
 
2496
- declare type ModalResult<TComponent> = TComponent extends ModalComponent<Record<string, unknown>, infer TResult> ? TResult : never;
2108
+ export declare type ModalResult<T> = ModalExposeResult<ComponentExposed<T>>;
2497
2109
 
2498
- export declare interface ModalSlots {
2110
+ export declare interface ModalSlots<Result = void> {
2499
2111
  default(props: {
2500
- close(result?: unknown): Promise<void>;
2112
+ close(result?: Result): Promise<void>;
2501
2113
  }): unknown;
2502
2114
  }
2503
2115
 
2504
2116
  export declare function numberInput(defaultValue?: number, options?: {
2505
2117
  rules?: string;
2506
- }): FormFieldDefinition<typeof FormFieldTypes.Number>;
2118
+ }): FormFieldDefinition<'number'>;
2119
+
2120
+ export declare function objectInput<T extends object>(defaultValue?: T, options?: {
2121
+ rules?: string;
2122
+ }): FormFieldDefinition<'object', string, T>;
2507
2123
 
2508
2124
  export declare function onCleanMounted(operation: () => Function): void;
2509
2125
 
@@ -2525,7 +2141,13 @@ export { Plugin_2 as Plugin }
2525
2141
 
2526
2142
  export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2527
2143
 
2528
- export declare const PromptModal: DefineComponent<PromptModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2144
+ export declare const PromptModal: DefineComponent<PromptModalProps, {
2145
+ close(result?: string | undefined): Promise<void>;
2146
+ $content: ModalContentInstance;
2147
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2148
+
2149
+ export declare interface PromptModalExpose extends ModalExpose<string> {
2150
+ }
2529
2151
 
2530
2152
  export declare interface PromptModalProps {
2531
2153
  title?: string;
@@ -2550,10 +2172,6 @@ export declare type PromptOptions = AcceptRefs<{
2550
2172
  trim?: boolean;
2551
2173
  }>;
2552
2174
 
2553
- export declare type RefsObject<T> = {
2554
- [K in keyof T]: Ref<T[K]> | T[K];
2555
- };
2556
-
2557
2175
  export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
2558
2176
 
2559
2177
  export declare function registerErrorHandler(handler: ErrorHandler_2): void;
@@ -2568,25 +2186,41 @@ export declare type Replace<TOriginal extends Record<string, unknown>, TReplacem
2568
2186
 
2569
2187
  export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
2570
2188
 
2571
- export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<typeof FormFieldTypes.Boolean, 'required'>;
2189
+ export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<'boolean', 'required'>;
2572
2190
 
2573
- export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<typeof FormFieldTypes.Date>;
2191
+ export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<'date', 'required'>;
2574
2192
 
2575
- export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<typeof FormFieldTypes.Number, 'required'>;
2193
+ export declare function requiredEnumInput<const T extends string>(values: readonly T[], defaultValue?: T): FormFieldDefinition<'enum', 'required', T>;
2576
2194
 
2577
- export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<typeof FormFieldTypes.String, 'required'>;
2195
+ export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<'number', 'required'>;
2196
+
2197
+ export declare function requiredObjectInput<T extends object>(defaultValue?: T): FormFieldDefinition<'object', 'required', T>;
2198
+
2199
+ export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<'string', 'required'>;
2578
2200
 
2579
2201
  export declare function resetPiniaStore(): Pinia;
2580
2202
 
2581
2203
  export declare function safeHtml(html: string): string;
2582
2204
 
2583
- export declare const Select: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2205
+ export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2206
+ props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{
2207
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
2208
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
2209
+ expose(exposed: ShallowUnwrapRef< {}>): void;
2210
+ attrs: any;
2211
+ slots: {
2212
+ default?(_: {}): any;
2213
+ };
2214
+ emit: (evt: "update:modelValue", value: T) => void;
2215
+ }>) => VNode & {
2216
+ __ctx?: Awaited<typeof __VLS_setup>;
2217
+ };
2584
2218
 
2585
- export declare interface SelectEmits extends InputEmits {
2219
+ export declare interface SelectEmits<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputEmits<T> {
2586
2220
  }
2587
2221
 
2588
- export declare interface SelectExpose extends InputExpose {
2589
- options: ComputedRef<Nullable<SelectOptionData[]>>;
2222
+ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputExpose<T> {
2223
+ options: ComputedRef<Nullable<readonly SelectOptionData[]>>;
2590
2224
  selectedOption: ComputedRef<Nullable<SelectOptionData>>;
2591
2225
  placeholder: ComputedRef<string>;
2592
2226
  labelClass?: HTMLAttributes['class'];
@@ -2595,9 +2229,9 @@ export declare interface SelectExpose extends InputExpose {
2595
2229
  side?: SelectContentProps['side'];
2596
2230
  }
2597
2231
 
2598
- export declare const SelectLabel: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
2232
+ export declare const SelectLabel: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
2599
2233
 
2600
- export declare const SelectOption: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
2234
+ export declare const SelectOption: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2601
2235
 
2602
2236
  export declare type SelectOptionData = {
2603
2237
  key: string;
@@ -2605,20 +2239,21 @@ export declare type SelectOptionData = {
2605
2239
  value: AcceptableValue;
2606
2240
  };
2607
2241
 
2608
- export declare const SelectOptions: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
2242
+ export declare const SelectOptions: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2609
2243
 
2610
- export declare interface SelectProps extends InputProps {
2244
+ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
2611
2245
  as?: AsTag | Component;
2612
- options?: any[];
2246
+ options?: readonly T[];
2613
2247
  placeholder?: string;
2614
- renderOption?: (option: any) => string;
2248
+ renderOption?: (option: T) => string;
2249
+ compareOptions?: (a: T, b: T) => boolean;
2615
2250
  labelClass?: HTMLAttributes['class'];
2616
2251
  optionsClass?: HTMLAttributes['class'];
2617
2252
  align?: SelectContentProps['align'];
2618
2253
  side?: SelectContentProps['side'];
2619
2254
  }
2620
2255
 
2621
- export declare const SelectTrigger: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2256
+ export declare const SelectTrigger: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2622
2257
 
2623
2258
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
2624
2259
  static persist: string[];
@@ -2642,6 +2277,7 @@ export declare class Service<State extends ServiceState = DefaultServiceState, C
2642
2277
  updatePersistedState<T extends keyof State>(keys: T[]): void;
2643
2278
  protected __get(property: string): unknown;
2644
2279
  protected __set(property: string, value: unknown): void;
2280
+ protected get storageKey(): string;
2645
2281
  protected onStateUpdated(update: Partial<State>, old: Partial<State>): void;
2646
2282
  protected onPersistentStateUpdated(persisted: Partial<State>): void;
2647
2283
  protected usesStore(): boolean;
@@ -2682,6 +2318,10 @@ export declare type ServiceState = Record<string, any>;
2682
2318
 
2683
2319
  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>>>;
2684
2320
 
2321
+ export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
2322
+
2323
+ export declare const Setting: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2324
+
2685
2325
  export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2686
2326
 
2687
2327
  export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
@@ -2699,11 +2339,98 @@ declare class StorageService extends Service {
2699
2339
 
2700
2340
  export declare function stringInput(defaultValue?: string, options?: {
2701
2341
  rules?: string;
2702
- }): FormFieldDefinition<typeof FormFieldTypes.String>;
2342
+ }): FormFieldDefinition<'string'>;
2703
2343
 
2704
2344
  export declare type SubmitFormListener = () => unknown;
2705
2345
 
2706
- export declare const Toast: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2346
+ export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2347
+
2348
+ export declare const TextArea: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2349
+ "update:modelValue": (value: unknown) => any;
2350
+ }, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
2351
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2352
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2353
+ $inputRef: ({
2354
+ $: ComponentInternalInstance;
2355
+ $data: {};
2356
+ $props: {
2357
+ readonly name?: string | undefined;
2358
+ readonly label?: string | undefined;
2359
+ readonly description?: string | undefined;
2360
+ readonly modelValue?: unknown;
2361
+ readonly as?: string | undefined;
2362
+ readonly "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2363
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
2364
+ $attrs: {
2365
+ [x: string]: unknown;
2366
+ };
2367
+ $refs: {
2368
+ [x: string]: unknown;
2369
+ };
2370
+ $slots: Readonly<{
2371
+ [name: string]: Slot<any> | undefined;
2372
+ }>;
2373
+ $root: ComponentPublicInstance | null;
2374
+ $parent: ComponentPublicInstance | null;
2375
+ $host: Element | null;
2376
+ $emit: (event: "update:modelValue", value: unknown) => void;
2377
+ $el: any;
2378
+ $options: ComponentOptionsBase<Readonly<InputProps<unknown> & {
2379
+ as?: string;
2380
+ }> & Readonly<{
2381
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2382
+ }>, {
2383
+ id: string;
2384
+ name: ComputedRef<string | undefined>;
2385
+ label: ComputedRef<string | undefined>;
2386
+ description: ComputedRef<string | undefined>;
2387
+ value: ComputedRef<unknown>;
2388
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
2389
+ required: ComputedRef<boolean | undefined>;
2390
+ update(value: unknown): void;
2391
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2392
+ "update:modelValue": (value: unknown) => any;
2393
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
2394
+ beforeCreate?: (() => void) | (() => void)[];
2395
+ created?: (() => void) | (() => void)[];
2396
+ beforeMount?: (() => void) | (() => void)[];
2397
+ mounted?: (() => void) | (() => void)[];
2398
+ beforeUpdate?: (() => void) | (() => void)[];
2399
+ updated?: (() => void) | (() => void)[];
2400
+ activated?: (() => void) | (() => void)[];
2401
+ deactivated?: (() => void) | (() => void)[];
2402
+ beforeDestroy?: (() => void) | (() => void)[];
2403
+ beforeUnmount?: (() => void) | (() => void)[];
2404
+ destroyed?: (() => void) | (() => void)[];
2405
+ unmounted?: (() => void) | (() => void)[];
2406
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2407
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
2408
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
2409
+ };
2410
+ $forceUpdate: () => void;
2411
+ $nextTick: typeof nextTick;
2412
+ $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;
2413
+ } & Readonly<{}> & Omit<Readonly<InputProps<unknown> & {
2414
+ as?: string;
2415
+ }> & Readonly<{
2416
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2417
+ }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
2418
+ id: string;
2419
+ name: ComputedRef<string | undefined>;
2420
+ label: ComputedRef<string | undefined>;
2421
+ description: ComputedRef<string | undefined>;
2422
+ value: ComputedRef<unknown>;
2423
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
2424
+ required: ComputedRef<boolean | undefined>;
2425
+ update(value: unknown): void;
2426
+ }> & {} & ComponentCustomProperties & {} & {
2427
+ $slots: {
2428
+ default?(_: {}): any;
2429
+ };
2430
+ }) | null;
2431
+ }, any>;
2432
+
2433
+ export declare const Toast: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2707
2434
 
2708
2435
  export declare interface ToastAction {
2709
2436
  label: string;
@@ -2711,6 +2438,9 @@ export declare interface ToastAction {
2711
2438
  click?(): unknown;
2712
2439
  }
2713
2440
 
2441
+ export declare interface ToastExpose {
2442
+ }
2443
+
2714
2444
  export declare interface ToastOptions {
2715
2445
  component?: Component;
2716
2446
  variant?: ToastVariant;
@@ -2731,32 +2461,43 @@ export declare const translateWithDefault: (key: string, defaultMessage: string,
2731
2461
 
2732
2462
  export declare const UI: Facade<UIService>;
2733
2463
 
2734
- export declare type UIComponent = ObjectValues<typeof UIComponents>;
2735
-
2736
- export declare const UIComponents: {
2737
- readonly AlertModal: "alert-modal";
2738
- readonly ConfirmModal: "confirm-modal";
2739
- readonly ErrorReportModal: "error-report-modal";
2740
- readonly LoadingModal: "loading-modal";
2741
- readonly PromptModal: "prompt-modal";
2742
- readonly Toast: "toast";
2743
- readonly StartupCrash: "startup-crash";
2744
- readonly RouterLink: "router-link";
2464
+ export declare type UIComponent<Props = {}, Exposed = {}> = {
2465
+ new (...args: ClosureArgs): Exposed & {
2466
+ $props: Props;
2467
+ };
2745
2468
  };
2746
2469
 
2470
+ export declare interface UIComponents {
2471
+ 'alert-modal': UIComponent<AlertModalProps, AlertModalExpose>;
2472
+ 'confirm-modal': UIComponent<ConfirmModalProps, ConfirmModalExpose>;
2473
+ 'error-report-modal': UIComponent<ErrorReportModalProps, ErrorReportModalExpose>;
2474
+ 'loading-modal': UIComponent<LoadingModalProps, LoadingModalExpose>;
2475
+ 'prompt-modal': UIComponent<PromptModalProps, PromptModalExpose>;
2476
+ 'router-link': UIComponent;
2477
+ 'startup-crash': UIComponent;
2478
+ toast: UIComponent<ToastProps, ToastExpose>;
2479
+ }
2480
+
2747
2481
  declare interface UIModal<T = unknown> {
2748
2482
  id: string;
2749
2483
  properties: Record<string, unknown>;
2750
2484
  component: Component;
2485
+ closing: boolean;
2751
2486
  beforeClose: Promise<T | undefined>;
2752
2487
  afterClose: Promise<T | undefined>;
2753
2488
  }
2754
2489
 
2490
+ export declare interface UIModalContext {
2491
+ modal: UIModal;
2492
+ childIndex?: number;
2493
+ }
2494
+
2755
2495
  export declare class UIService extends _default_4 {
2756
2496
  private modalCallbacks;
2757
2497
  private components;
2758
- resolveComponent(name: UIComponent): Component | null;
2759
- requireComponent(name: UIComponent): Component;
2498
+ registerComponent<T extends keyof UIComponents>(name: T, component: UIComponents[T]): void;
2499
+ resolveComponent<T extends keyof UIComponents>(name: T): UIComponents[T] | null;
2500
+ requireComponent<T extends keyof UIComponents>(name: T): UIComponents[T];
2760
2501
  alert(message: string): void;
2761
2502
  alert(title: string, message: string): void;
2762
2503
  confirm(message: string, options?: ConfirmOptions): Promise<boolean>;
@@ -2769,8 +2510,8 @@ export declare class UIService extends _default_4 {
2769
2510
  loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
2770
2511
  loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
2771
2512
  toast(message: string, options?: ToastOptions): void;
2772
- registerComponent(name: UIComponent, component: Component): void;
2773
- openModal<TModalComponent extends ModalComponent>(component: TModalComponent, properties?: ModalProperties<TModalComponent>): Promise<UIModal<ModalResult<TModalComponent>>>;
2513
+ modal<T extends Component>(...args: {} extends ComponentProps<T> ? [component: T, props?: AcceptRefs<ComponentProps<T>>] : [component: T, props: AcceptRefs<ComponentProps<T>>]): Promise<UIModal<ModalResult<T>>>;
2514
+ modalForm<T extends Component>(...args: {} extends ComponentProps<T> ? [component: T, props?: AcceptRefs<ComponentProps<T>>] : [component: T, props: AcceptRefs<ComponentProps<T>>]): Promise<ModalResult<T> | undefined>;
2774
2515
  closeModal(id: string, result?: unknown): Promise<void>;
2775
2516
  closeAllModals(): Promise<void>;
2776
2517
  protected boot(): Promise<void>;
@@ -2788,26 +2529,31 @@ declare interface UIToast {
2788
2529
  properties: Record<string, unknown>;
2789
2530
  }
2790
2531
 
2791
- export declare type UnknownEvent<T> = T extends keyof EventsPayload ? never : T;
2792
-
2793
2532
  export declare type Unref<T> = {
2794
2533
  [K in keyof T]: T[K] extends MaybeRef<infer Value> ? Value : T[K];
2795
2534
  };
2796
2535
 
2536
+ export declare function useAlertModal(props: AlertModalProps): {
2537
+ renderedTitle: ComputedRef<string>;
2538
+ titleHidden: ComputedRef<boolean>;
2539
+ };
2540
+
2797
2541
  export declare function useConfirmModal(props: ConfirmModalProps): {
2798
2542
  form: FormController< {
2799
- [x: string]: FormFieldDefinition<FormFieldType, string> | {
2543
+ [x: string]: FormFieldDefinition<"boolean", string, unknown> | {
2800
2544
  type: "boolean";
2801
2545
  default: boolean | undefined;
2802
2546
  required: string | undefined;
2803
2547
  };
2804
2548
  }> & FormData_2< {
2805
- [x: string]: FormFieldDefinition<FormFieldType, string> | {
2549
+ [x: string]: FormFieldDefinition<"boolean", string, unknown> | {
2806
2550
  type: "boolean";
2807
2551
  default: boolean | undefined;
2808
2552
  required: string | undefined;
2809
2553
  };
2810
2554
  }>;
2555
+ renderedTitle: ComputedRef<string>;
2556
+ titleHidden: ComputedRef<boolean>;
2811
2557
  renderedAcceptText: ComputedRef<string>;
2812
2558
  renderedCancelText: ComputedRef<string>;
2813
2559
  };
@@ -2817,17 +2563,13 @@ export declare function useErrorReportModal(props: ErrorReportModalProps): {
2817
2563
  details: ComputedRef<string>;
2818
2564
  nextReportText: string;
2819
2565
  previousReportText: string;
2820
- report: ComputedRef<ErrorReport>;
2566
+ activeReport: ComputedRef<ErrorReport>;
2821
2567
  };
2822
2568
 
2823
2569
  export declare function useEvent<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): void;
2824
2570
 
2825
2571
  export declare function useEvent<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): void;
2826
2572
 
2827
- export declare function useEvent<Payload>(event: string, listener: (payload: Payload) => unknown): void;
2828
-
2829
- export declare function useEvent<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): void;
2830
-
2831
2573
  export declare function useForm<const T extends FormFieldDefinitions>(fields: T): FormController<T> & FormData_2<T>;
2832
2574
 
2833
2575
  export declare function useInputAttrs(): [ComputedRef<{}>, ComputedRef<ClassValue>];
@@ -2841,9 +2583,9 @@ export declare function useLoadingModal(props: LoadingModalProps): {
2841
2583
 
2842
2584
  export declare function usePromptModal(props: PromptModalProps): {
2843
2585
  form: FormController< {
2844
- readonly draft: FormFieldDefinition<"string", "required">;
2586
+ readonly draft: FormFieldDefinition<"string", "required", unknown>;
2845
2587
  }> & FormData_2< {
2846
- readonly draft: FormFieldDefinition<"string", "required">;
2588
+ readonly draft: FormFieldDefinition<"string", "required", unknown>;
2847
2589
  }>;
2848
2590
  renderedTitle: ComputedRef<string>;
2849
2591
  renderedMessage: ComputedRef<string | null>;
@@ -2853,8 +2595,16 @@ export declare function usePromptModal(props: PromptModalProps): {
2853
2595
 
2854
2596
  export declare function validate(value: unknown, rule: string): string[];
2855
2597
 
2598
+ export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
2599
+
2856
2600
  export declare const validators: Record<string, FormFieldValidator>;
2857
2601
 
2602
+ export declare function variantClasses<T>(value: {
2603
+ baseClasses?: string;
2604
+ } & CVAProps<T>, config: {
2605
+ baseClasses?: string;
2606
+ } & CVAConfig<T>): string;
2607
+
2858
2608
  export declare type Variants<T extends Record<string, string | boolean>> = Required<{
2859
2609
  [K in keyof T]: Exclude<T[K], undefined> extends string ? {
2860
2610
  [key in Exclude<T[K], undefined>]: string | null;
@@ -2915,11 +2665,6 @@ declare module 'vue' {
2915
2665
  }
2916
2666
 
2917
2667
 
2918
- declare global {
2919
- var testingRuntime: AerogelTestingRuntime | undefined;
2920
- }
2921
-
2922
-
2923
2668
  declare module '@aerogel/core' {
2924
2669
  interface AerogelOptions {
2925
2670
  services?: Record<string, Service>;
@@ -2934,9 +2679,14 @@ declare module 'vue' {
2934
2679
  }
2935
2680
 
2936
2681
 
2682
+ declare global {
2683
+ var testingRuntime: AerogelTestingRuntime | undefined;
2684
+ }
2685
+
2686
+
2937
2687
  declare module '@aerogel/core' {
2938
2688
  interface AerogelOptions {
2939
- components?: Partial<Record<UIComponent, Component>>;
2689
+ components?: Partial<Partial<UIComponents>>;
2940
2690
  }
2941
2691
  }
2942
2692
 
@@ -2968,22 +2718,14 @@ declare module '@aerogel/core' {
2968
2718
  id: string;
2969
2719
  result?: unknown;
2970
2720
  };
2971
- 'hide-modal': {
2972
- id: string;
2973
- };
2974
- 'hide-overlays-backdrop': void;
2975
- 'modal-closed': {
2721
+ 'modal-will-close': {
2976
2722
  modal: UIModal;
2977
2723
  result?: unknown;
2978
2724
  };
2979
- 'modal-will-close': {
2725
+ 'modal-has-closed': {
2980
2726
  modal: UIModal;
2981
2727
  result?: unknown;
2982
2728
  };
2983
- 'show-modal': {
2984
- id: string;
2985
- };
2986
- 'show-overlays-backdrop': void;
2987
2729
  }
2988
2730
  }
2989
2731