@aerogel/core 0.0.0-next.c33ad773d3eb977461630ff22012d99eeedf46cb → 0.0.0-next.c38a10cd5e81c5f04469ef79e59a53e6bfd3df55

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