@aerogel/core 0.1.0 → 0.1.1-next.095137d5f89c4b989d4961087f7a670de815e07f

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 (67) hide show
  1. package/dist/aerogel-core.d.ts +534 -312
  2. package/dist/aerogel-core.js +1979 -1595
  3. package/dist/aerogel-core.js.map +1 -1
  4. package/package.json +4 -2
  5. package/src/bootstrap/index.ts +2 -1
  6. package/src/components/AppLayout.vue +1 -1
  7. package/src/components/AppOverlays.vue +3 -2
  8. package/src/components/contracts/AlertModal.ts +1 -1
  9. package/src/components/contracts/Button.ts +1 -1
  10. package/src/components/contracts/Combobox.ts +5 -0
  11. package/src/components/contracts/ConfirmModal.ts +5 -2
  12. package/src/components/contracts/Modal.ts +8 -3
  13. package/src/components/contracts/PromptModal.ts +6 -2
  14. package/src/components/contracts/Select.ts +98 -4
  15. package/src/components/contracts/Toast.ts +1 -1
  16. package/src/components/contracts/index.ts +1 -0
  17. package/src/components/headless/HeadlessInputInput.vue +13 -5
  18. package/src/components/headless/HeadlessModal.vue +6 -34
  19. package/src/components/headless/HeadlessModalContent.vue +5 -12
  20. package/src/components/headless/HeadlessSelect.vue +10 -91
  21. package/src/components/headless/HeadlessSelectOption.vue +1 -5
  22. package/src/components/index.ts +1 -1
  23. package/src/components/ui/AdvancedOptions.vue +4 -13
  24. package/src/components/ui/Button.vue +1 -0
  25. package/src/components/ui/Combobox.vue +94 -0
  26. package/src/components/ui/ComboboxLabel.vue +29 -0
  27. package/src/components/ui/ComboboxOption.vue +46 -0
  28. package/src/components/ui/ComboboxOptions.vue +71 -0
  29. package/src/components/ui/ComboboxTrigger.vue +67 -0
  30. package/src/components/ui/ConfirmModal.vue +7 -2
  31. package/src/components/ui/Details.vue +33 -0
  32. package/src/components/ui/Form.vue +1 -1
  33. package/src/components/ui/Input.vue +12 -4
  34. package/src/components/ui/LoadingModal.vue +1 -2
  35. package/src/components/ui/Modal.vue +53 -33
  36. package/src/components/ui/ProgressBar.vue +16 -2
  37. package/src/components/ui/PromptModal.vue +7 -2
  38. package/src/components/ui/Select.vue +2 -0
  39. package/src/components/ui/SelectTrigger.vue +13 -2
  40. package/src/components/ui/SettingsModal.vue +1 -1
  41. package/src/components/ui/Toast.vue +1 -0
  42. package/src/components/ui/index.ts +6 -1
  43. package/src/components/vue/Provide.vue +11 -0
  44. package/src/components/vue/index.ts +1 -0
  45. package/src/directives/index.ts +10 -8
  46. package/src/directives/safe-html.ts +10 -0
  47. package/src/errors/Errors.ts +4 -0
  48. package/src/forms/FormController.test.ts +4 -4
  49. package/src/forms/FormController.ts +7 -3
  50. package/src/forms/index.ts +11 -0
  51. package/src/forms/utils.ts +36 -17
  52. package/src/forms/validation.ts +5 -1
  53. package/src/index.css +10 -0
  54. package/src/jobs/Job.ts +1 -1
  55. package/src/services/App.state.ts +1 -0
  56. package/src/services/App.ts +4 -0
  57. package/src/services/index.ts +7 -0
  58. package/src/ui/UI.state.ts +0 -11
  59. package/src/ui/UI.ts +42 -125
  60. package/src/ui/index.ts +1 -0
  61. package/src/ui/modals.ts +36 -0
  62. package/src/utils/composition/reactiveSet.test.ts +32 -0
  63. package/src/utils/composition/reactiveSet.ts +53 -0
  64. package/src/utils/index.ts +2 -0
  65. package/src/utils/time.ts +2 -0
  66. package/src/components/AppModals.vue +0 -14
  67. package/src/components/ui/ModalContext.vue +0 -31
@@ -3,20 +3,22 @@ import { AllowedComponentProps } from 'vue';
3
3
  import { App as App_2 } from 'vue';
4
4
  import { AsTag } from 'reka-ui';
5
5
  import { ClassValue } from 'clsx';
6
- import { ClosureArgs } from '@noeldemartin/utils';
6
+ import { closeModal } from '@noeldemartin/vue-modals';
7
+ import { ComboboxGroupProps } from 'reka-ui';
8
+ import { ComboboxItemProps } from 'reka-ui';
7
9
  import { Component } from 'vue';
8
10
  import { ComponentCustomProperties } from 'vue';
9
11
  import { ComponentCustomProps } from 'vue';
10
- import { ComponentExposed } from 'vue-component-type-helpers';
11
12
  import { ComponentInternalInstance } from 'vue';
12
13
  import { ComponentOptionsBase } from 'vue';
13
14
  import { ComponentOptionsMixin } from 'vue';
14
- import { ComponentProps } from 'vue-component-type-helpers';
15
15
  import { ComponentProvideOptions } from 'vue';
16
16
  import { ComponentPublicInstance } from 'vue';
17
17
  import { ComputedGetter } from 'vue';
18
+ import { ComputedOptions } from 'vue';
18
19
  import { ComputedRef } from 'vue';
19
20
  import { Constructor } from '@noeldemartin/utils';
21
+ import { createModal } from '@noeldemartin/vue-modals';
20
22
  import { cva } from 'class-variance-authority';
21
23
  import { DebuggerEvent } from 'vue';
22
24
  import { DeepReadonly } from 'vue';
@@ -29,24 +31,35 @@ import { DialogOverlayProps } from 'reka-ui';
29
31
  import { DialogTitleProps } from 'reka-ui';
30
32
  import { Directive } from 'vue';
31
33
  import { DropdownMenuContentProps } from 'reka-ui';
34
+ import { EmitFn } from 'vue';
32
35
  import { Facade } from '@noeldemartin/utils';
36
+ import { FocusOutsideEvent } from 'reka-ui';
33
37
  import { GetClosureArgs } from '@noeldemartin/utils';
34
38
  import { GetClosureResult } from '@noeldemartin/utils';
39
+ import { GetModalProps } from '@noeldemartin/vue-modals';
40
+ import { GetModalResponse } from '@noeldemartin/vue-modals';
35
41
  import { _GettersTree } from 'pinia';
36
42
  import { GlobalComponents } from 'vue';
37
43
  import { GlobalDirectives } from 'vue';
38
44
  import { HTMLAttributes } from 'vue';
39
45
  import { InjectionKey } from 'vue';
46
+ import { injectModal } from '@noeldemartin/vue-modals';
40
47
  import { JSError } from '@noeldemartin/utils';
41
48
  import { LabelProps } from 'reka-ui';
42
49
  import { Listeners } from '@noeldemartin/utils';
43
50
  import { ListenersManager } from '@noeldemartin/utils';
44
51
  import { MagicObject } from '@noeldemartin/utils';
45
52
  import { MaybeRef } from 'vue';
53
+ import { MethodOptions } from 'vue';
54
+ import { ModalComponent } from '@noeldemartin/vue-modals';
55
+ import { ModalController } from '@noeldemartin/vue-modals';
56
+ import { modals } from '@noeldemartin/vue-modals';
57
+ import { ModalsPortal } from '@noeldemartin/vue-modals';
46
58
  import { nextTick } from 'vue';
47
59
  import { Nullable } from '@noeldemartin/utils';
48
60
  import { OnCleanup } from '@vue/reactivity';
49
61
  import { Pinia } from 'pinia';
62
+ import { PointerDownOutsideEvent } from 'reka-ui';
50
63
  import { PrimitiveProps } from 'reka-ui';
51
64
  import { PromisedValue } from '@noeldemartin/utils';
52
65
  import { PropType } from 'vue';
@@ -55,6 +68,7 @@ import { Ref } from 'vue';
55
68
  import { SelectContentProps } from 'reka-ui';
56
69
  import { SelectItemProps } from 'reka-ui';
57
70
  import { ShallowUnwrapRef } from 'vue';
71
+ import { showModal } from '@noeldemartin/vue-modals';
58
72
  import { Slot } from 'vue';
59
73
  import { StateTree } from 'pinia';
60
74
  import { Store } from 'pinia';
@@ -153,7 +167,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
153
167
  as?: string;
154
168
  }> & Readonly<{
155
169
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
156
- }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
170
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
157
171
  id: string;
158
172
  name: ComputedRef<string | undefined>;
159
173
  label: ComputedRef<string | undefined>;
@@ -169,49 +183,53 @@ default?(_: {}): any;
169
183
  }) | null;
170
184
  }, any>;
171
185
 
172
- declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {
186
+ declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
187
+
188
+ declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
189
+
190
+ declare const __VLS_component_20: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
191
+ select: () => any;
192
+ }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
193
+ onSelect?: (() => any) | undefined;
194
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
195
+
196
+ declare const __VLS_component_21: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
197
+
198
+ declare const __VLS_component_22: DefineComponent<DropdownMenuProps, {
173
199
  align: "start" | "center" | "end" | undefined;
174
200
  side: "top" | "right" | "bottom" | "left" | undefined;
175
201
  options: ComputedRef<DropdownMenuOptionData[] | undefined>;
176
202
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
177
203
 
178
- declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
179
-
180
- declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
204
+ declare const __VLS_component_23: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
181
205
  select: () => any;
182
- }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
206
+ }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
183
207
  onSelect?: (() => any) | undefined;
184
208
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
185
209
 
186
- declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
210
+ declare const __VLS_component_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
187
211
 
188
- declare const __VLS_component_22: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
212
+ declare const __VLS_component_25: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
189
213
  update: (value: string | number) => any;
190
214
  save: () => any;
191
- }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
215
+ }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
192
216
  onUpdate?: ((value: string | number) => any) | undefined;
193
217
  onSave?: (() => any) | undefined;
194
218
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
195
219
  $inputRef: HTMLInputElement;
196
220
  }, HTMLDivElement>;
197
221
 
198
- declare const __VLS_component_23: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
222
+ declare const __VLS_component_26: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
199
223
 
200
- declare const __VLS_component_24: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
224
+ declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
201
225
  submit: () => any;
202
- }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
226
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
203
227
  onSubmit?: (() => any) | undefined;
204
228
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
205
229
 
206
- declare const __VLS_component_25: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
207
-
208
- declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
209
-
210
- declare const __VLS_component_27: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
230
+ declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
211
231
 
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>;
232
+ declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
215
233
 
216
234
  declare const __VLS_component_3: DefineComponent<__VLS_Props, {
217
235
  id: string;
@@ -228,7 +246,15 @@ update(value: unknown): void;
228
246
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
229
247
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
230
248
 
231
- declare const __VLS_component_30: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
249
+ declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
250
+
251
+ declare const __VLS_component_31: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
252
+
253
+ declare const __VLS_component_32: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
254
+
255
+ declare const __VLS_component_33: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
256
+
257
+ declare const __VLS_component_34: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
232
258
 
233
259
  declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
234
260
 
@@ -240,23 +266,14 @@ $: ComponentInternalInstance;
240
266
  $data: {};
241
267
  $props: {
242
268
  readonly forceMount?: boolean | undefined;
243
- readonly trapFocus?: boolean | undefined;
244
269
  readonly disableOutsidePointerEvents?: boolean | undefined;
245
270
  readonly asChild?: boolean | undefined;
246
271
  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
272
  readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
273
+ readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
274
+ readonly onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined | undefined;
275
+ readonly onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined | undefined;
276
+ readonly onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined | undefined;
260
277
  readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
261
278
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
262
279
  $attrs: {
@@ -271,45 +288,21 @@ $slots: Readonly<{
271
288
  $root: ComponentPublicInstance | null;
272
289
  $parent: ComponentPublicInstance | null;
273
290
  $host: Element | null;
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);
291
+ $emit: ((event: "openAutoFocus", event: Event) => void) & ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((event: "focusOutside", event: FocusOutsideEvent) => void) & ((event: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((event: "closeAutoFocus", event: Event) => void);
283
292
  $el: any;
284
293
  $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
294
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
295
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
296
+ onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
297
+ onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
298
+ onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
298
299
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
299
300
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
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
301
  openAutoFocus: (event: Event) => any;
302
+ escapeKeyDown: (event: KeyboardEvent) => any;
303
+ pointerDownOutside: (event: PointerDownOutsideEvent) => any;
304
+ focusOutside: (event: FocusOutsideEvent) => any;
305
+ interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
313
306
  closeAutoFocus: (event: Event) => any;
314
307
  }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
315
308
  beforeCreate?: (() => void) | (() => void)[];
@@ -332,24 +325,17 @@ $forceUpdate: () => void;
332
325
  $nextTick: typeof nextTick;
333
326
  $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;
334
327
  } & 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
328
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
329
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
330
+ onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
331
+ onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
332
+ onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
348
333
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
349
334
  }>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
350
335
  $slots: {
351
- default?(_: {}): any;
352
- default?(_: {}): any;
336
+ default?: (props: {}) => any;
337
+ } & {
338
+ default?: (props: {}) => any;
353
339
  };
354
340
  }) | null;
355
341
  }, any>;
@@ -380,32 +366,62 @@ declare type __VLS_PrettifyLocal_5<T> = {
380
366
  [K in keyof T]: T[K];
381
367
  } & {};
382
368
 
369
+ declare type __VLS_PrettifyLocal_6<T> = {
370
+ [K in keyof T]: T[K];
371
+ } & {};
372
+
383
373
  declare type __VLS_Props = InputProps & {
384
374
  as?: string;
385
375
  };
386
376
 
387
377
  declare type __VLS_Props_10 = {
388
- report: ErrorReport;
378
+ label?: string;
379
+ contentClass?: HTMLAttributes['class'];
380
+ summaryClass?: HTMLAttributes['class'];
389
381
  };
390
382
 
391
383
  declare type __VLS_Props_11 = {
384
+ class?: HTMLAttributes['class'];
385
+ } & PrimitiveProps;
386
+
387
+ declare type __VLS_Props_12 = {
388
+ type?: string;
389
+ contentClass?: HTMLAttributes['class'];
390
+ ariaLabel?: string;
391
+ formAriaHidden?: boolean;
392
+ tabindex?: string;
393
+ text: string;
394
+ disabled?: boolean;
395
+ };
396
+
397
+ declare type __VLS_Props_13 = {
398
+ error: ErrorSource;
399
+ };
400
+
401
+ declare type __VLS_Props_14 = {
402
+ report: ErrorReport;
403
+ };
404
+
405
+ declare type __VLS_Props_15 = {
392
406
  report: ErrorReport;
393
407
  currentReport?: number;
394
408
  totalReports?: number;
395
409
  };
396
410
 
397
- declare type __VLS_Props_12 = {
411
+ declare type __VLS_Props_16 = {
398
412
  form?: FormController;
399
413
  };
400
414
 
401
- declare type __VLS_Props_13 = InputProps & {
415
+ declare type __VLS_Props_17 = InputProps & {
402
416
  inputClass?: HTMLAttributes['class'];
403
417
  wrapperClass?: HTMLAttributes['class'];
418
+ descriptionClass?: HTMLAttributes['class'];
419
+ errorClass?: HTMLAttributes['class'];
404
420
  };
405
421
 
406
- declare type __VLS_Props_14 = Omit<ButtonProps, 'variant'>;
422
+ declare type __VLS_Props_18 = Omit<ButtonProps, 'variant'>;
407
423
 
408
- declare type __VLS_Props_15 = {
424
+ declare type __VLS_Props_19 = {
409
425
  as?: string;
410
426
  inline?: boolean;
411
427
  langKey?: string;
@@ -415,40 +431,36 @@ declare type __VLS_Props_15 = {
415
431
  actions?: Record<string, () => unknown>;
416
432
  };
417
433
 
418
- declare type __VLS_Props_16 = {
419
- modal: UIModal;
420
- childIndex?: number;
434
+ declare type __VLS_Props_2 = {
435
+ type?: string;
421
436
  };
422
437
 
423
- declare type __VLS_Props_17 = {
438
+ declare type __VLS_Props_20 = {
424
439
  filledClass?: string;
440
+ overflowClass?: string;
425
441
  progress?: number;
426
442
  job?: Falsifiable<Job>;
427
443
  };
428
444
 
429
- declare type __VLS_Props_18 = {
445
+ declare type __VLS_Props_21 = {
430
446
  class?: HTMLAttributes['class'];
431
447
  };
432
448
 
433
- declare type __VLS_Props_19 = {
449
+ declare type __VLS_Props_22 = {
434
450
  value: AcceptableValue;
435
451
  class?: HTMLAttributes['class'];
436
452
  innerClass?: HTMLAttributes['class'];
437
453
  };
438
454
 
439
- declare type __VLS_Props_2 = {
440
- type?: string;
441
- };
442
-
443
- declare type __VLS_Props_20 = {
455
+ declare type __VLS_Props_23 = {
444
456
  class?: HTMLAttributes['class'];
445
457
  };
446
458
 
447
- declare type __VLS_Props_21 = {
459
+ declare type __VLS_Props_24 = {
448
460
  class?: HTMLAttributes['class'];
449
461
  };
450
462
 
451
- declare type __VLS_Props_22 = {
463
+ declare type __VLS_Props_25 = {
452
464
  title: string;
453
465
  titleId?: string;
454
466
  description?: string;
@@ -456,15 +468,20 @@ declare type __VLS_Props_22 = {
456
468
  layout?: 'vertical' | 'horizontal';
457
469
  };
458
470
 
459
- declare type __VLS_Props_23 = InputProps & {
471
+ declare type __VLS_Props_26 = InputProps & {
460
472
  inputClass?: HTMLAttributes['class'];
461
473
  wrapperClass?: HTMLAttributes['class'];
462
474
  };
463
475
 
464
- declare type __VLS_Props_24 = ToastProps & {
476
+ declare type __VLS_Props_27 = ToastProps & {
465
477
  class?: HTMLAttributes['class'];
466
478
  };
467
479
 
480
+ declare type __VLS_Props_28 = {
481
+ name: string;
482
+ value: unknown;
483
+ };
484
+
468
485
  declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
469
486
 
470
487
  declare type __VLS_Props_4 = SelectItemProps;
@@ -479,22 +496,12 @@ declare type __VLS_Props_6 = InputProps & {
479
496
  labelClass?: HTMLAttributes['class'];
480
497
  };
481
498
 
482
- declare type __VLS_Props_7 = {
483
- class?: HTMLAttributes['class'];
484
- } & PrimitiveProps;
499
+ declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
485
500
 
486
- declare type __VLS_Props_8 = {
487
- type?: string;
488
- contentClass?: HTMLAttributes['class'];
489
- ariaLabel?: string;
490
- formAriaHidden?: boolean;
491
- tabindex?: string;
492
- text: string;
493
- disabled?: boolean;
494
- };
501
+ declare type __VLS_Props_8 = ComboboxItemProps;
495
502
 
496
503
  declare type __VLS_Props_9 = {
497
- error: ErrorSource;
504
+ newInputValue?: (value: string) => Nullable<FormFieldValue>;
498
505
  };
499
506
 
500
507
  declare function __VLS_template(): {
@@ -649,7 +656,7 @@ declare function __VLS_template_18(): {
649
656
  as?: string;
650
657
  }> & Readonly<{
651
658
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
652
- }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
659
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
653
660
  id: string;
654
661
  name: ComputedRef<string | undefined>;
655
662
  label: ComputedRef<string | undefined>;
@@ -671,7 +678,6 @@ declare function __VLS_template_19(): {
671
678
  attrs: Partial<{}>;
672
679
  slots: {
673
680
  default?(_: {}): any;
674
- options?(_: {}): any;
675
681
  };
676
682
  refs: {};
677
683
  rootEl: any;
@@ -698,13 +704,42 @@ declare function __VLS_template_20(): {
698
704
  declare function __VLS_template_21(): {
699
705
  attrs: Partial<{}>;
700
706
  slots: {
707
+ label?(_: {}): any;
701
708
  default?(_: {}): any;
702
709
  };
703
710
  refs: {};
704
- rootEl: any;
711
+ rootEl: HTMLDetailsElement;
705
712
  };
706
713
 
707
714
  declare function __VLS_template_22(): {
715
+ attrs: Partial<{}>;
716
+ slots: {
717
+ default?(_: {}): any;
718
+ options?(_: {}): any;
719
+ };
720
+ refs: {};
721
+ rootEl: any;
722
+ };
723
+
724
+ declare function __VLS_template_23(): {
725
+ attrs: Partial<{}>;
726
+ slots: {
727
+ default?(_: {}): any;
728
+ };
729
+ refs: {};
730
+ rootEl: any;
731
+ };
732
+
733
+ declare function __VLS_template_24(): {
734
+ attrs: Partial<{}>;
735
+ slots: {
736
+ default?(_: {}): any;
737
+ };
738
+ refs: {};
739
+ rootEl: any;
740
+ };
741
+
742
+ declare function __VLS_template_25(): {
708
743
  attrs: Partial<{}>;
709
744
  slots: {
710
745
  default?(_: {}): any;
@@ -715,7 +750,7 @@ declare function __VLS_template_22(): {
715
750
  rootEl: HTMLDivElement;
716
751
  };
717
752
 
718
- declare function __VLS_template_23(): {
753
+ declare function __VLS_template_26(): {
719
754
  attrs: Partial<{}>;
720
755
  slots: Readonly<{
721
756
  default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
@@ -726,7 +761,7 @@ declare function __VLS_template_23(): {
726
761
  rootEl: HTMLDivElement;
727
762
  };
728
763
 
729
- declare function __VLS_template_24(): {
764
+ declare function __VLS_template_27(): {
730
765
  attrs: Partial<{}>;
731
766
  slots: {
732
767
  default?(_: {}): any;
@@ -735,7 +770,7 @@ declare function __VLS_template_24(): {
735
770
  rootEl: HTMLFormElement;
736
771
  };
737
772
 
738
- declare function __VLS_template_25(): {
773
+ declare function __VLS_template_28(): {
739
774
  attrs: Partial<{}>;
740
775
  slots: {
741
776
  default?(_: {}): any;
@@ -744,7 +779,7 @@ declare function __VLS_template_25(): {
744
779
  rootEl: any;
745
780
  };
746
781
 
747
- declare function __VLS_template_26(): {
782
+ declare function __VLS_template_29(): {
748
783
  attrs: Partial<{}>;
749
784
  slots: Readonly<{
750
785
  default?(): VNode[];
@@ -755,7 +790,7 @@ declare function __VLS_template_26(): {
755
790
  rootEl: any;
756
791
  };
757
792
 
758
- declare function __VLS_template_27(): {
793
+ declare function __VLS_template_3(): {
759
794
  attrs: Partial<{}>;
760
795
  slots: {
761
796
  default?(_: {}): any;
@@ -764,7 +799,7 @@ declare function __VLS_template_27(): {
764
799
  rootEl: any;
765
800
  };
766
801
 
767
- declare function __VLS_template_28(): {
802
+ declare function __VLS_template_30(): {
768
803
  attrs: Partial<{}>;
769
804
  slots: {
770
805
  default?(_: {}): any;
@@ -773,26 +808,26 @@ declare function __VLS_template_28(): {
773
808
  rootEl: any;
774
809
  };
775
810
 
776
- declare function __VLS_template_29(): {
811
+ declare function __VLS_template_31(): {
777
812
  attrs: Partial<{}>;
778
813
  slots: {
779
814
  default?(_: {}): any;
780
- default?(_: {}): any;
781
815
  };
782
816
  refs: {};
783
817
  rootEl: any;
784
818
  };
785
819
 
786
- declare function __VLS_template_3(): {
820
+ declare function __VLS_template_32(): {
787
821
  attrs: Partial<{}>;
788
822
  slots: {
789
823
  default?(_: {}): any;
824
+ default?(_: {}): any;
790
825
  };
791
826
  refs: {};
792
827
  rootEl: any;
793
828
  };
794
829
 
795
- declare function __VLS_template_30(): {
830
+ declare function __VLS_template_33(): {
796
831
  attrs: Partial<{}>;
797
832
  slots: {
798
833
  default?(_: {}): any;
@@ -801,6 +836,15 @@ declare function __VLS_template_30(): {
801
836
  rootEl: HTMLDivElement;
802
837
  };
803
838
 
839
+ declare function __VLS_template_34(): {
840
+ attrs: Partial<{}>;
841
+ slots: {
842
+ default?(_: {}): any;
843
+ };
844
+ refs: {};
845
+ rootEl: any;
846
+ };
847
+
804
848
  declare function __VLS_template_4(): {
805
849
  attrs: Partial<{}>;
806
850
  slots: {
@@ -832,23 +876,14 @@ declare function __VLS_template_6(): {
832
876
  $data: {};
833
877
  $props: {
834
878
  readonly forceMount?: boolean | undefined;
835
- readonly trapFocus?: boolean | undefined;
836
879
  readonly disableOutsidePointerEvents?: boolean | undefined;
837
880
  readonly asChild?: boolean | undefined;
838
881
  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
882
  readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
883
+ readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
884
+ readonly onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined | undefined;
885
+ readonly onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined | undefined;
886
+ readonly onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined | undefined;
852
887
  readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
853
888
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
854
889
  $attrs: {
@@ -863,45 +898,21 @@ declare function __VLS_template_6(): {
863
898
  $root: ComponentPublicInstance | null;
864
899
  $parent: ComponentPublicInstance | null;
865
900
  $host: Element | null;
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);
901
+ $emit: ((event: "openAutoFocus", event: Event) => void) & ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((event: "focusOutside", event: FocusOutsideEvent) => void) & ((event: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((event: "closeAutoFocus", event: Event) => void);
875
902
  $el: any;
876
903
  $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
904
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
905
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
906
+ onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
907
+ onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
908
+ onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
890
909
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
891
910
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
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
911
  openAutoFocus: (event: Event) => any;
912
+ escapeKeyDown: (event: KeyboardEvent) => any;
913
+ pointerDownOutside: (event: PointerDownOutsideEvent) => any;
914
+ focusOutside: (event: FocusOutsideEvent) => any;
915
+ interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
905
916
  closeAutoFocus: (event: Event) => any;
906
917
  }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
907
918
  beforeCreate?: (() => void) | (() => void)[];
@@ -924,24 +935,17 @@ declare function __VLS_template_6(): {
924
935
  $nextTick: typeof nextTick;
925
936
  $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;
926
937
  } & 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
938
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
939
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
940
+ onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
941
+ onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
942
+ onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
940
943
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
941
944
  }>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
942
945
  $slots: {
943
- default?(_: {}): any;
944
- default?(_: {}): any;
946
+ default?: (props: {}) => any;
947
+ } & {
948
+ default?: (props: {}) => any;
945
949
  };
946
950
  }) | null;
947
951
  };
@@ -1023,6 +1027,14 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
1023
1027
 
1024
1028
  declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
1025
1029
 
1030
+ declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
1031
+
1032
+ declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
1033
+
1034
+ declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
1035
+
1036
+ declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
1037
+
1026
1038
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
1027
1039
 
1028
1040
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
@@ -1179,6 +1191,30 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
1179
1191
  };
1180
1192
  };
1181
1193
 
1194
+ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
1195
+ new (): {
1196
+ $slots: S;
1197
+ };
1198
+ };
1199
+
1200
+ declare type __VLS_WithTemplateSlots_32<T, S> = T & {
1201
+ new (): {
1202
+ $slots: S;
1203
+ };
1204
+ };
1205
+
1206
+ declare type __VLS_WithTemplateSlots_33<T, S> = T & {
1207
+ new (): {
1208
+ $slots: S;
1209
+ };
1210
+ };
1211
+
1212
+ declare type __VLS_WithTemplateSlots_34<T, S> = T & {
1213
+ new (): {
1214
+ $slots: S;
1215
+ };
1216
+ };
1217
+
1182
1218
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
1183
1219
  new (): {
1184
1220
  $slots: S;
@@ -1221,6 +1257,13 @@ export declare type AcceptRefs<T> = {
1221
1257
 
1222
1258
  export declare const AdvancedOptions: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1223
1259
 
1260
+ export declare type AerogelDirectives = typeof aerogelDirectives;
1261
+
1262
+ export declare const aerogelDirectives: {
1263
+ readonly measure: Directive<any, MeasureDirectiveValue, MeasureDirectiveModifiers>;
1264
+ readonly 'safe-html': Directive<any, string, string>;
1265
+ };
1266
+
1224
1267
  export declare type AerogelGlobalEvents = Partial<{
1225
1268
  [Event in EventWithoutPayload]: () => unknown;
1226
1269
  }> & Partial<{
@@ -1238,11 +1281,10 @@ export declare interface AerogelTestingRuntime {
1238
1281
  }
1239
1282
 
1240
1283
  export declare const AlertModal: DefineComponent<AlertModalProps, {
1241
- close(result?: void | undefined): Promise<void>;
1242
1284
  $content: ModalContentInstance;
1243
1285
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1244
1286
 
1245
- export declare interface AlertModalExpose extends ModalExpose<void> {
1287
+ export declare interface AlertModalExpose extends ModalExpose {
1246
1288
  }
1247
1289
 
1248
1290
  export declare interface AlertModalProps {
@@ -1254,8 +1296,6 @@ export declare const App: Facade<AppService>;
1254
1296
 
1255
1297
  export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1256
1298
 
1257
- export declare const AppModals: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1258
-
1259
1299
  export declare function appNamespace(): string;
1260
1300
 
1261
1301
  export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
@@ -1267,6 +1307,7 @@ export declare class AppService extends _default_3 {
1267
1307
  isReady(): boolean;
1268
1308
  isMounted(): boolean;
1269
1309
  addSetting(setting: AppSetting): void;
1310
+ setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
1270
1311
  whenReady<T>(callback: () => T): Promise<T>;
1271
1312
  reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
1272
1313
  plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
@@ -1282,7 +1323,7 @@ export declare interface AppSetting {
1282
1323
  export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1283
1324
 
1284
1325
  export declare function booleanInput(defaultValue?: boolean, options?: {
1285
- rules?: string;
1326
+ rules?: string[];
1286
1327
  }): FormFieldDefinition<'boolean'>;
1287
1328
 
1288
1329
  export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
@@ -1307,7 +1348,7 @@ export declare interface ButtonProps extends PrimitiveProps {
1307
1348
 
1308
1349
  export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
1309
1350
 
1310
- export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
1351
+ export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
1311
1352
 
1312
1353
  declare const Cache_2: Facade<CacheService>;
1313
1354
  export { Cache_2 as Cache }
@@ -1324,6 +1365,120 @@ export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component
1324
1365
 
1325
1366
  export declare function classes(...inputs: ClassValue[]): string;
1326
1367
 
1368
+ export { closeModal }
1369
+
1370
+ export declare const Combobox: <T extends Nullable<FormFieldValue>>(__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<{
1371
+ props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
1372
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
1373
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & (SelectProps<T> & {
1374
+ newInputValue?: (value: string) => T;
1375
+ }) & Partial<{}>> & PublicProps;
1376
+ expose(exposed: ShallowUnwrapRef< {
1377
+ renderOption: (option: T) => string;
1378
+ labelClass: ComputedRef<any>;
1379
+ optionsClass: ComputedRef<any>;
1380
+ align: ComputedRef<"start" | "center" | "end" | undefined>;
1381
+ side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
1382
+ value: ComputedRef<T>;
1383
+ id: string;
1384
+ name: ComputedRef<string | undefined>;
1385
+ label: ComputedRef<string | undefined>;
1386
+ description: ComputedRef<string | undefined>;
1387
+ placeholder: ComputedRef<string>;
1388
+ options: ComputedRef< {
1389
+ key: string;
1390
+ label: string;
1391
+ value: AcceptableValue;
1392
+ }[] | null>;
1393
+ selectedOption: ComputedRef< {
1394
+ key: string;
1395
+ label: string;
1396
+ value: AcceptableValue;
1397
+ } | undefined>;
1398
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1399
+ required: ComputedRef<boolean | undefined>;
1400
+ update(value: T): void;
1401
+ }>): void;
1402
+ attrs: any;
1403
+ slots: {};
1404
+ emit: (evt: "update:modelValue", value: T) => void;
1405
+ }>) => VNode & {
1406
+ __ctx?: Awaited<typeof __VLS_setup>;
1407
+ };
1408
+
1409
+ export declare type ComboboxContext = {
1410
+ input: string;
1411
+ preventChange: boolean;
1412
+ $group: HTMLDivElement | null;
1413
+ };
1414
+
1415
+ export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1416
+
1417
+ export declare const ComboboxOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1418
+
1419
+ export declare const ComboboxOptions: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1420
+ select: () => any;
1421
+ }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
1422
+ onSelect?: (() => any) | undefined;
1423
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1424
+ $group: ({
1425
+ $: ComponentInternalInstance;
1426
+ $data: {};
1427
+ $props: {
1428
+ readonly asChild?: boolean | undefined;
1429
+ readonly as?: (AsTag | Component) | undefined;
1430
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1431
+ $attrs: {
1432
+ [x: string]: unknown;
1433
+ };
1434
+ $refs: {
1435
+ [x: string]: unknown;
1436
+ };
1437
+ $slots: Readonly<{
1438
+ [name: string]: Slot<any> | undefined;
1439
+ }>;
1440
+ $root: ComponentPublicInstance | null;
1441
+ $parent: ComponentPublicInstance | null;
1442
+ $host: Element | null;
1443
+ $emit: (event: string, ...args: any[]) => void;
1444
+ $el: any;
1445
+ $options: ComponentOptionsBase<Readonly<ComboboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1446
+ beforeCreate?: (() => void) | (() => void)[];
1447
+ created?: (() => void) | (() => void)[];
1448
+ beforeMount?: (() => void) | (() => void)[];
1449
+ mounted?: (() => void) | (() => void)[];
1450
+ beforeUpdate?: (() => void) | (() => void)[];
1451
+ updated?: (() => void) | (() => void)[];
1452
+ activated?: (() => void) | (() => void)[];
1453
+ deactivated?: (() => void) | (() => void)[];
1454
+ beforeDestroy?: (() => void) | (() => void)[];
1455
+ beforeUnmount?: (() => void) | (() => void)[];
1456
+ destroyed?: (() => void) | (() => void)[];
1457
+ unmounted?: (() => void) | (() => void)[];
1458
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1459
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1460
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1461
+ };
1462
+ $forceUpdate: () => void;
1463
+ $nextTick: typeof nextTick;
1464
+ $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;
1465
+ } & Readonly<{}> & Omit<Readonly<ComboboxGroupProps> & Readonly<{}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
1466
+ $slots: {
1467
+ default?: (props: {}) => any;
1468
+ };
1469
+ }) | null;
1470
+ }, any>;
1471
+
1472
+ export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1473
+ focus: () => any;
1474
+ blur: () => any;
1475
+ change: () => any;
1476
+ }, string, PublicProps, Readonly<{}> & Readonly<{
1477
+ onFocus?: (() => any) | undefined;
1478
+ onBlur?: (() => any) | undefined;
1479
+ onChange?: (() => any) | undefined;
1480
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1481
+
1327
1482
  export declare type ComponentPropDefinitions<T> = {
1328
1483
  [K in keyof T]: {
1329
1484
  type?: PropType<T[K]>;
@@ -1349,9 +1504,12 @@ export declare type ComputedStateDefinition<TState extends ServiceState, TComput
1349
1504
  }>;
1350
1505
 
1351
1506
  export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {
1352
- close(result?: boolean | [boolean, Record<string, Nullable<boolean>>] | undefined): Promise<void>;
1353
1507
  $content: ModalContentInstance;
1354
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1508
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1509
+ close: (payload: ConfirmModalResult) => any;
1510
+ }, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{
1511
+ onClose?: ((payload: ConfirmModalResult) => any) | undefined;
1512
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1355
1513
 
1356
1514
  export declare type ConfirmModalCheckboxes = Record<string, {
1357
1515
  label: string;
@@ -1359,7 +1517,10 @@ export declare type ConfirmModalCheckboxes = Record<string, {
1359
1517
  required?: boolean;
1360
1518
  }>;
1361
1519
 
1362
- export declare interface ConfirmModalExpose extends ModalExpose<boolean | [boolean, Record<string, Nullable<boolean>>]> {
1520
+ export declare interface ConfirmModalEmits extends ModalEmits<ConfirmModalResult> {
1521
+ }
1522
+
1523
+ export declare interface ConfirmModalExpose extends ModalExpose {
1363
1524
  }
1364
1525
 
1365
1526
  export declare interface ConfirmModalProps {
@@ -1374,6 +1535,8 @@ export declare interface ConfirmModalProps {
1374
1535
  required?: boolean;
1375
1536
  }
1376
1537
 
1538
+ export declare type ConfirmModalResult = boolean | [boolean, Record<string, Nullable<boolean>>];
1539
+
1377
1540
  export declare type ConfirmOptions = AcceptRefs<{
1378
1541
  acceptText?: string;
1379
1542
  acceptVariant?: ButtonVariant;
@@ -1387,12 +1550,14 @@ export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalChec
1387
1550
  checkboxes?: T;
1388
1551
  }
1389
1552
 
1553
+ export { createModal }
1554
+
1390
1555
  export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>;
1391
1556
 
1392
1557
  export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
1393
1558
 
1394
1559
  export declare function dateInput(defaultValue?: Date, options?: {
1395
- rules?: string;
1560
+ rules?: string[];
1396
1561
  }): FormFieldDefinition<'date'>;
1397
1562
 
1398
1563
  declare const _default: ServiceWithState< {
@@ -1426,6 +1591,7 @@ environment: string;
1426
1591
  version: string;
1427
1592
  sourceUrl: string | undefined;
1428
1593
  settings: AppSetting[];
1594
+ settingsFullscreenOnMobile: boolean;
1429
1595
  }, {
1430
1596
  development: boolean;
1431
1597
  staging: boolean;
@@ -1439,18 +1605,16 @@ environment: string;
1439
1605
  version: string;
1440
1606
  sourceUrl: string | undefined;
1441
1607
  settings: AppSetting[];
1608
+ settingsFullscreenOnMobile: boolean;
1442
1609
  }>>;
1443
1610
 
1444
1611
  declare const _default_4: ServiceWithState< {
1445
- modals: UIModal[];
1446
1612
  toasts: UIToast[];
1447
1613
  layout: Layout;
1448
1614
  }, {
1449
1615
  desktop: boolean;
1450
1616
  mobile: boolean;
1451
- openModals: UIModal<unknown>[];
1452
1617
  }, Partial<{
1453
- modals: UIModal[];
1454
1618
  toasts: UIToast[];
1455
1619
  layout: Layout;
1456
1620
  }>>;
@@ -1467,7 +1631,7 @@ export declare type DefaultServiceState = any;
1467
1631
 
1468
1632
  export declare function defineDirective<TValue = any, TModifiers extends string = string>(directive: Directive<any, TValue, TModifiers>): Directive<any, TValue, TModifiers>;
1469
1633
 
1470
- export declare function defineFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
1634
+ export declare function defineFormValidationRules<T extends Record<string, FormFieldValidator>>(rules: T): T;
1471
1635
 
1472
1636
  export declare function definePlugin<T extends Plugin_2>(plugin: T): T;
1473
1637
 
@@ -1485,9 +1649,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
1485
1649
 
1486
1650
  export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
1487
1651
 
1652
+ export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1653
+
1488
1654
  export declare function dispatch(job: Job): Promise<void>;
1489
1655
 
1490
- export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1656
+ export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1491
1657
 
1492
1658
  export declare interface DropdownMenuExpose {
1493
1659
  align?: DropdownMenuContentProps['align'];
@@ -1495,7 +1661,7 @@ export declare interface DropdownMenuExpose {
1495
1661
  options?: readonly DropdownMenuOptionData[];
1496
1662
  }
1497
1663
 
1498
- export declare const DropdownMenuOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1664
+ export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1499
1665
 
1500
1666
  export declare type DropdownMenuOptionData = {
1501
1667
  label: string;
@@ -1507,7 +1673,7 @@ export declare type DropdownMenuOptionData = {
1507
1673
  class?: string;
1508
1674
  };
1509
1675
 
1510
- export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1676
+ export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1511
1677
 
1512
1678
  export declare interface DropdownMenuProps {
1513
1679
  align?: DropdownMenuContentProps['align'];
@@ -1515,7 +1681,7 @@ export declare interface DropdownMenuProps {
1515
1681
  options?: readonly Falsifiable<DropdownMenuOptionData>[];
1516
1682
  }
1517
1683
 
1518
- export declare const EditableContent: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1684
+ export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
1519
1685
 
1520
1686
  export declare interface ElementSize {
1521
1687
  width: number;
@@ -1523,7 +1689,7 @@ export declare interface ElementSize {
1523
1689
  }
1524
1690
 
1525
1691
  export declare function enumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
1526
- rules?: string;
1692
+ rules?: string[];
1527
1693
  }): FormFieldDefinition<'enum', string, T>;
1528
1694
 
1529
1695
  export declare type ErrorHandler = (error: ErrorSource) => boolean;
@@ -1534,7 +1700,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
1534
1700
 
1535
1701
  export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1536
1702
 
1537
- export declare const ErrorMessage: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1703
+ export declare const ErrorMessage: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1538
1704
 
1539
1705
  export declare interface ErrorReport {
1540
1706
  title: string;
@@ -1550,11 +1716,10 @@ export declare interface ErrorReportLog {
1550
1716
  }
1551
1717
 
1552
1718
  export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
1553
- close(result?: void | undefined): Promise<void>;
1554
1719
  $content: ModalContentInstance;
1555
1720
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1556
1721
 
1557
- export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1722
+ export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
1558
1723
 
1559
1724
  declare interface ErrorReportModalButtonsDefaultSlotProps {
1560
1725
  id: string;
@@ -1572,7 +1737,7 @@ export declare interface ErrorReportModalProps {
1572
1737
  reports: ErrorReport[];
1573
1738
  }
1574
1739
 
1575
- export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1740
+ export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1576
1741
 
1577
1742
  export declare const Errors: Facade<ErrorsService>;
1578
1743
 
@@ -1582,6 +1747,7 @@ declare class ErrorsService extends _default {
1582
1747
  forceReporting: boolean;
1583
1748
  private enabled;
1584
1749
  private eruda;
1750
+ private erudaPlugins;
1585
1751
  enable(): void;
1586
1752
  disable(): void;
1587
1753
  inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
@@ -1651,7 +1817,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
1651
1817
 
1652
1818
  export declare type FocusFormListener = (input: string) => unknown;
1653
1819
 
1654
- export declare const Form: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1820
+ export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
1655
1821
 
1656
1822
  export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
1657
1823
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
@@ -1666,6 +1832,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
1666
1832
  setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
1667
1833
  getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
1668
1834
  getFieldRules<T extends keyof Fields>(field: T): string[];
1835
+ setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
1669
1836
  getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
1670
1837
  data(): FormData_2<Fields>;
1671
1838
  validate(): boolean;
@@ -1701,7 +1868,7 @@ export declare interface FormFieldDefinition<TType extends FormFieldType = FormF
1701
1868
  type: TType;
1702
1869
  trim?: boolean;
1703
1870
  default?: GetFormFieldValue<TType>;
1704
- rules?: TRules;
1871
+ rules?: TRules[];
1705
1872
  values?: readonly TValueType[];
1706
1873
  [__valueType]?: TValueType;
1707
1874
  }
@@ -1722,6 +1889,10 @@ export declare type GetFormFieldValue<TType, TValueType = unknown> = TType exten
1722
1889
 
1723
1890
  export declare function getMarkdownRouter(): MarkdownRouter | null;
1724
1891
 
1892
+ export { GetModalProps }
1893
+
1894
+ export { GetModalResponse }
1895
+
1725
1896
  export declare function getPiniaStore(): Pinia;
1726
1897
 
1727
1898
  export declare interface HasSelectOptionLabel {
@@ -1750,7 +1921,7 @@ $textAreaRef: HTMLTextAreaElement;
1750
1921
 
1751
1922
  export declare const HeadlessModal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1752
1923
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ModalProps & Partial<{}>> & PublicProps;
1753
- expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose<T>>>): void;
1924
+ expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose>>): void;
1754
1925
  attrs: any;
1755
1926
  slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
1756
1927
  emit: {};
@@ -1771,10 +1942,11 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
1771
1942
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
1772
1943
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
1773
1944
  expose(exposed: ShallowUnwrapRef< {
1774
- labelClass: any;
1775
- optionsClass: any;
1776
- align: "start" | "center" | "end" | undefined;
1777
- side: "top" | "right" | "bottom" | "left" | undefined;
1945
+ renderOption: (option: T) => string;
1946
+ labelClass: ComputedRef<any>;
1947
+ optionsClass: ComputedRef<any>;
1948
+ align: ComputedRef<"start" | "center" | "end" | undefined>;
1949
+ side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
1778
1950
  value: ComputedRef<T>;
1779
1951
  id: string;
1780
1952
  name: ComputedRef<string | undefined>;
@@ -1845,15 +2017,17 @@ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props:
1845
2017
 
1846
2018
  export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1847
2019
 
2020
+ export { injectModal }
2021
+
1848
2022
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
1849
2023
 
1850
2024
  export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
1851
2025
 
1852
2026
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
1853
2027
 
1854
- export declare const Input: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2028
+ export declare const Input: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1855
2029
  "update:modelValue": (value: unknown) => any;
1856
- }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
2030
+ }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
1857
2031
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1858
2032
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1859
2033
  $inputRef: ({
@@ -1920,7 +2094,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
1920
2094
  as?: string;
1921
2095
  }> & Readonly<{
1922
2096
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
1923
- }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
2097
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
1924
2098
  id: string;
1925
2099
  name: ComputedRef<string | undefined>;
1926
2100
  label: ComputedRef<string | undefined>;
@@ -2028,10 +2202,9 @@ export declare const Layouts: {
2028
2202
  readonly Desktop: "desktop";
2029
2203
  };
2030
2204
 
2031
- export declare const Link: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
2205
+ export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2032
2206
 
2033
2207
  export declare const LoadingModal: DefineComponent<LoadingModalProps, {
2034
- close(result?: void | undefined): Promise<void>;
2035
2208
  $content: ModalContentInstance;
2036
2209
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2037
2210
 
@@ -2052,7 +2225,9 @@ export declare type LoadingOptions = AcceptRefs<{
2052
2225
  delay?: number;
2053
2226
  }>;
2054
2227
 
2055
- export declare const Markdown: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
2228
+ export declare const LOCAL_TIMEZONE_OFFSET: number;
2229
+
2230
+ export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2056
2231
 
2057
2232
  export declare interface MarkdownRouter {
2058
2233
  resolve(route: string): string;
@@ -2068,15 +2243,17 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
2068
2243
  watch?: boolean;
2069
2244
  };
2070
2245
 
2246
+ export declare const MINUTE_MILLISECONDS = 60000;
2247
+
2071
2248
  export declare const MOBILE_BREAKPOINT = 768;
2072
2249
 
2073
- export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2074
- props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
2250
+ export declare const Modal: <T = void>(__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<{
2251
+ props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
2075
2252
  wrapperClass?: HTMLAttributes["class"];
2076
2253
  class?: HTMLAttributes["class"];
2077
2254
  closeHidden?: boolean;
2078
2255
  }) & Partial<{}>> & PublicProps;
2079
- expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose<T>>>): void;
2256
+ expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose>>): void;
2080
2257
  attrs: any;
2081
2258
  slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
2082
2259
  emit: {};
@@ -2084,41 +2261,46 @@ export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof _
2084
2261
  __ctx?: Awaited<typeof __VLS_setup>;
2085
2262
  };
2086
2263
 
2264
+ export { ModalComponent }
2265
+
2087
2266
  export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
2088
2267
 
2089
- export declare const ModalContext: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2268
+ export { ModalController }
2090
2269
 
2091
- export declare interface ModalExpose<Result = void> {
2092
- close(result?: Result): Promise<void>;
2093
- $content: ModalContentInstance;
2270
+ export declare interface ModalEmits<Result = never> {
2271
+ (event: 'close', payload: Result): void;
2094
2272
  }
2095
2273
 
2096
- export declare type ModalExposeResult<T> = T extends {
2097
- close(result?: infer Result): Promise<void>;
2098
- } ? Result : unknown;
2274
+ export declare interface ModalExpose {
2275
+ $content: ModalContentInstance;
2276
+ }
2099
2277
 
2100
2278
  export declare interface ModalProps {
2101
2279
  persistent?: boolean;
2280
+ fullscreen?: boolean;
2281
+ fullscreenOnMobile?: boolean;
2102
2282
  title?: string;
2103
2283
  titleHidden?: boolean;
2104
2284
  description?: string;
2105
2285
  descriptionHidden?: boolean;
2106
2286
  }
2107
2287
 
2108
- export declare type ModalResult<T> = ModalExposeResult<ComponentExposed<T>>;
2288
+ export { modals }
2109
2289
 
2110
- export declare interface ModalSlots<Result = void> {
2290
+ export declare interface ModalSlots<Result = never> {
2111
2291
  default(props: {
2112
2292
  close(result?: Result): Promise<void>;
2113
2293
  }): unknown;
2114
2294
  }
2115
2295
 
2296
+ export { ModalsPortal }
2297
+
2116
2298
  export declare function numberInput(defaultValue?: number, options?: {
2117
- rules?: string;
2299
+ rules?: string[];
2118
2300
  }): FormFieldDefinition<'number'>;
2119
2301
 
2120
2302
  export declare function objectInput<T extends object>(defaultValue?: T, options?: {
2121
- rules?: string;
2303
+ rules?: string[];
2122
2304
  }): FormFieldDefinition<'object', string, T>;
2123
2305
 
2124
2306
  export declare function onCleanMounted(operation: () => Function): void;
@@ -2139,14 +2321,20 @@ declare interface Plugin_2 {
2139
2321
  }
2140
2322
  export { Plugin_2 as Plugin }
2141
2323
 
2142
- export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2324
+ export declare const ProgressBar: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2143
2325
 
2144
2326
  export declare const PromptModal: DefineComponent<PromptModalProps, {
2145
- close(result?: string | undefined): Promise<void>;
2146
2327
  $content: ModalContentInstance;
2147
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2328
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
2329
+ close: (payload: string) => any;
2330
+ }, string, PublicProps, Readonly<PromptModalProps> & Readonly<{
2331
+ onClose?: ((payload: string) => any) | undefined;
2332
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2148
2333
 
2149
- export declare interface PromptModalExpose extends ModalExpose<string> {
2334
+ export declare interface PromptModalEmits extends ModalEmits<PromptModalResult> {
2335
+ }
2336
+
2337
+ export declare interface PromptModalExpose extends ModalExpose {
2150
2338
  }
2151
2339
 
2152
2340
  export declare interface PromptModalProps {
@@ -2161,6 +2349,8 @@ export declare interface PromptModalProps {
2161
2349
  cancelVariant?: ButtonVariant;
2162
2350
  }
2163
2351
 
2352
+ export declare type PromptModalResult = string;
2353
+
2164
2354
  export declare type PromptOptions = AcceptRefs<{
2165
2355
  label?: string;
2166
2356
  defaultValue?: string;
@@ -2172,10 +2362,25 @@ export declare type PromptOptions = AcceptRefs<{
2172
2362
  trim?: boolean;
2173
2363
  }>;
2174
2364
 
2365
+ export declare const Provide: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
2366
+
2367
+ export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
2368
+
2369
+ export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
2370
+ values(): T[];
2371
+ has(item: T): boolean;
2372
+ add(item: T): void;
2373
+ delete(item: T): void;
2374
+ clear(): void;
2375
+ reset(items?: T[] | Set<T>): void;
2376
+ };
2377
+
2175
2378
  export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
2176
2379
 
2177
2380
  export declare function registerErrorHandler(handler: ErrorHandler_2): void;
2178
2381
 
2382
+ export declare function registerFormValidationRule<T>(rule: string, validator: FormFieldValidator<T>): void;
2383
+
2179
2384
  export declare function renderMarkdown(markdown: string): string;
2180
2385
 
2181
2386
  export declare function renderVNode(node: VNode | string): string;
@@ -2186,24 +2391,36 @@ export declare type Replace<TOriginal extends Record<string, unknown>, TReplacem
2186
2391
 
2187
2392
  export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
2188
2393
 
2189
- export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<'boolean', 'required'>;
2394
+ export declare function requiredBooleanInput(defaultValue?: boolean, options?: {
2395
+ rules?: string[];
2396
+ }): FormFieldDefinition<'boolean', 'required'>;
2190
2397
 
2191
- export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<'date', 'required'>;
2398
+ export declare function requiredDateInput(defaultValue?: Date, options?: {
2399
+ rules?: string[];
2400
+ }): FormFieldDefinition<'date', 'required'>;
2192
2401
 
2193
- export declare function requiredEnumInput<const T extends string>(values: readonly T[], defaultValue?: T): FormFieldDefinition<'enum', 'required', T>;
2402
+ export declare function requiredEnumInput<const T extends string>(values: readonly T[], defaultValue?: T, options?: {
2403
+ rules?: string[];
2404
+ }): FormFieldDefinition<'enum', 'required', T>;
2194
2405
 
2195
- export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<'number', 'required'>;
2406
+ export declare function requiredNumberInput(defaultValue?: number, options?: {
2407
+ rules?: string[];
2408
+ }): FormFieldDefinition<'number', 'required'>;
2196
2409
 
2197
- export declare function requiredObjectInput<T extends object>(defaultValue?: T): FormFieldDefinition<'object', 'required', T>;
2410
+ export declare function requiredObjectInput<T extends object>(defaultValue?: T, options?: {
2411
+ rules?: string[];
2412
+ }): FormFieldDefinition<'object', 'required', T>;
2198
2413
 
2199
- export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<'string', 'required'>;
2414
+ export declare function requiredStringInput(defaultValue?: string, options?: {
2415
+ rules?: string[];
2416
+ }): FormFieldDefinition<'string', 'required'>;
2200
2417
 
2201
2418
  export declare function resetPiniaStore(): Pinia;
2202
2419
 
2203
2420
  export declare function safeHtml(html: string): string;
2204
2421
 
2205
- export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2206
- props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{
2422
+ export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2423
+ props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
2207
2424
  readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
2208
2425
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
2209
2426
  expose(exposed: ShallowUnwrapRef< {}>): void;
@@ -2223,15 +2440,16 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
2223
2440
  options: ComputedRef<Nullable<readonly SelectOptionData[]>>;
2224
2441
  selectedOption: ComputedRef<Nullable<SelectOptionData>>;
2225
2442
  placeholder: ComputedRef<string>;
2226
- labelClass?: HTMLAttributes['class'];
2227
- optionsClass?: HTMLAttributes['class'];
2443
+ labelClass: ComputedRef<HTMLAttributes['class']>;
2444
+ optionsClass: ComputedRef<HTMLAttributes['class']>;
2228
2445
  align?: SelectContentProps['align'];
2229
2446
  side?: SelectContentProps['side'];
2447
+ renderOption: (option: T) => string;
2230
2448
  }
2231
2449
 
2232
- export declare const SelectLabel: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
2450
+ export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2233
2451
 
2234
- export declare const SelectOption: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2452
+ export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
2235
2453
 
2236
2454
  export declare type SelectOptionData = {
2237
2455
  key: string;
@@ -2239,7 +2457,7 @@ export declare type SelectOptionData = {
2239
2457
  value: AcceptableValue;
2240
2458
  };
2241
2459
 
2242
- export declare const SelectOptions: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2460
+ export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
2243
2461
 
2244
2462
  export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
2245
2463
  as?: AsTag | Component;
@@ -2253,7 +2471,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
2253
2471
  side?: SelectContentProps['side'];
2254
2472
  }
2255
2473
 
2256
- export declare const SelectTrigger: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2474
+ export declare const SelectTrigger: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2257
2475
 
2258
2476
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
2259
2477
  static persist: string[];
@@ -2320,10 +2538,12 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
2320
2538
 
2321
2539
  export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
2322
2540
 
2323
- export declare const Setting: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
2541
+ export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
2324
2542
 
2325
2543
  export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2326
2544
 
2545
+ export { showModal }
2546
+
2327
2547
  export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2328
2548
 
2329
2549
  export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
@@ -2338,16 +2558,16 @@ declare class StorageService extends Service {
2338
2558
  }
2339
2559
 
2340
2560
  export declare function stringInput(defaultValue?: string, options?: {
2341
- rules?: string;
2561
+ rules?: string[];
2342
2562
  }): FormFieldDefinition<'string'>;
2343
2563
 
2344
2564
  export declare type SubmitFormListener = () => unknown;
2345
2565
 
2346
2566
  export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2347
2567
 
2348
- export declare const TextArea: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2568
+ export declare const TextArea: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2349
2569
  "update:modelValue": (value: unknown) => any;
2350
- }, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
2570
+ }, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
2351
2571
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2352
2572
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
2353
2573
  $inputRef: ({
@@ -2414,7 +2634,7 @@ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...
2414
2634
  as?: string;
2415
2635
  }> & Readonly<{
2416
2636
  "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
2417
- }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
2637
+ }>, "id" | "value" | "name" | "description" | "required" | "errors" | "label" | "update"> & ShallowUnwrapRef< {
2418
2638
  id: string;
2419
2639
  name: ComputedRef<string | undefined>;
2420
2640
  label: ComputedRef<string | undefined>;
@@ -2430,7 +2650,7 @@ default?(_: {}): any;
2430
2650
  }) | null;
2431
2651
  }, any>;
2432
2652
 
2433
- export declare const Toast: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2653
+ export declare const Toast: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2434
2654
 
2435
2655
  export declare interface ToastAction {
2436
2656
  label: string;
@@ -2453,7 +2673,7 @@ export declare interface ToastProps {
2453
2673
  variant?: ToastVariant;
2454
2674
  }
2455
2675
 
2456
- export declare type ToastVariant = 'secondary' | 'danger';
2676
+ export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
2457
2677
 
2458
2678
  export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
2459
2679
 
@@ -2461,39 +2681,22 @@ export declare const translateWithDefault: (key: string, defaultMessage: string,
2461
2681
 
2462
2682
  export declare const UI: Facade<UIService>;
2463
2683
 
2464
- export declare type UIComponent<Props = {}, Exposed = {}> = {
2465
- new (...args: ClosureArgs): Exposed & {
2466
- $props: Props;
2467
- };
2468
- };
2684
+ export declare type UIComponent<Props = {}, Exposed = {}, Emits = {}> = Constructor<{
2685
+ $emit?: Emits;
2686
+ } & Exposed> & Component<Props, {}, {}, ComputedOptions, MethodOptions, {}, {}>;
2469
2687
 
2470
2688
  export declare interface UIComponents {
2471
2689
  'alert-modal': UIComponent<AlertModalProps, AlertModalExpose>;
2472
- 'confirm-modal': UIComponent<ConfirmModalProps, ConfirmModalExpose>;
2690
+ 'confirm-modal': UIComponent<ConfirmModalProps, ConfirmModalExpose, ConfirmModalEmits>;
2473
2691
  'error-report-modal': UIComponent<ErrorReportModalProps, ErrorReportModalExpose>;
2474
2692
  'loading-modal': UIComponent<LoadingModalProps, LoadingModalExpose>;
2475
- 'prompt-modal': UIComponent<PromptModalProps, PromptModalExpose>;
2693
+ 'prompt-modal': UIComponent<PromptModalProps, PromptModalExpose, PromptModalEmits>;
2476
2694
  'router-link': UIComponent;
2477
2695
  'startup-crash': UIComponent;
2478
2696
  toast: UIComponent<ToastProps, ToastExpose>;
2479
2697
  }
2480
2698
 
2481
- declare interface UIModal<T = unknown> {
2482
- id: string;
2483
- properties: Record<string, unknown>;
2484
- component: Component;
2485
- closing: boolean;
2486
- beforeClose: Promise<T | undefined>;
2487
- afterClose: Promise<T | undefined>;
2488
- }
2489
-
2490
- export declare interface UIModalContext {
2491
- modal: UIModal;
2492
- childIndex?: number;
2493
- }
2494
-
2495
2699
  export declare class UIService extends _default_4 {
2496
- private modalCallbacks;
2497
2700
  private components;
2498
2701
  registerComponent<T extends keyof UIComponents>(name: T, component: UIComponents[T]): void;
2499
2702
  resolveComponent<T extends keyof UIComponents>(name: T): UIComponents[T] | null;
@@ -2510,13 +2713,10 @@ export declare class UIService extends _default_4 {
2510
2713
  loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
2511
2714
  loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
2512
2715
  toast(message: string, options?: ToastOptions): void;
2513
- modal<T extends Component>(...args: {} extends ComponentProps<T> ? [component: T, props?: AcceptRefs<ComponentProps<T>>] : [component: T, props: AcceptRefs<ComponentProps<T>>]): Promise<UIModal<ModalResult<T>>>;
2514
- modalForm<T extends Component>(...args: {} extends ComponentProps<T> ? [component: T, props?: AcceptRefs<ComponentProps<T>>] : [component: T, props: AcceptRefs<ComponentProps<T>>]): Promise<ModalResult<T> | undefined>;
2515
- closeModal(id: string, result?: unknown): Promise<void>;
2716
+ modal<T extends Component>(component: T & object extends GetModalProps<T> ? T : never, props?: GetModalProps<T>): Promise<GetModalResponse<T>>;
2717
+ modal<T extends Component>(component: T & object extends GetModalProps<T> ? never : T, props: GetModalProps<T>): Promise<GetModalResponse<T>>;
2516
2718
  closeAllModals(): Promise<void>;
2517
2719
  protected boot(): Promise<void>;
2518
- private removeModal;
2519
- private watchModalEvents;
2520
2720
  private watchMountedEvent;
2521
2721
  private watchViewportBreakpoints;
2522
2722
  }
@@ -2581,6 +2781,13 @@ export declare function useLoadingModal(props: LoadingModalProps): {
2581
2781
  showProgress: ComputedRef<boolean>;
2582
2782
  };
2583
2783
 
2784
+ export declare function useModal<T = never>(): {
2785
+ close(result?: T): Promise<void>;
2786
+ id: ComputedRef<string>;
2787
+ visible: ComputedRef<boolean>;
2788
+ child: ComputedRef<ModalController<never> | null>;
2789
+ };
2790
+
2584
2791
  export declare function usePromptModal(props: PromptModalProps): {
2585
2792
  form: FormController< {
2586
2793
  readonly draft: FormFieldDefinition<"string", "required", unknown>;
@@ -2593,6 +2800,38 @@ export declare function usePromptModal(props: PromptModalProps): {
2593
2800
  renderedCancelText: ComputedRef<string>;
2594
2801
  };
2595
2802
 
2803
+ export declare function useSelect<T extends Nullable<FormFieldValue>>(props: Ref<SelectProps<T>>, emit: EmitFn<SelectEmits<T>>): {
2804
+ expose: {
2805
+ renderOption: (option: T) => string;
2806
+ labelClass: ComputedRef<any>;
2807
+ optionsClass: ComputedRef<any>;
2808
+ align: ComputedRef<"start" | "center" | "end" | undefined>;
2809
+ side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
2810
+ value: ComputedRef<T>;
2811
+ id: string;
2812
+ name: ComputedRef<string | undefined>;
2813
+ label: ComputedRef<string | undefined>;
2814
+ description: ComputedRef<string | undefined>;
2815
+ placeholder: ComputedRef<string>;
2816
+ options: ComputedRef<{
2817
+ key: string;
2818
+ label: string;
2819
+ value: AcceptableValue;
2820
+ }[] | null>;
2821
+ selectedOption: ComputedRef<{
2822
+ key: string;
2823
+ label: string;
2824
+ value: AcceptableValue;
2825
+ } | undefined>;
2826
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
2827
+ required: ComputedRef<boolean | undefined>;
2828
+ update(value: T): void;
2829
+ };
2830
+ acceptableValue: ComputedRef<AcceptableValue>;
2831
+ update: (value: AcceptableValue) => void;
2832
+ renderOption: (option: T) => string;
2833
+ };
2834
+
2596
2835
  export declare function validate(value: unknown, rule: string): string[];
2597
2836
 
2598
2837
  export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
@@ -2633,8 +2872,7 @@ declare module '@aerogel/core' {
2633
2872
 
2634
2873
 
2635
2874
  declare module 'vue' {
2636
- interface ComponentCustomDirectives {
2637
- measure: Directive<string, string>;
2875
+ interface ComponentCustomDirectives extends AerogelDirectives {
2638
2876
  }
2639
2877
  }
2640
2878
 
@@ -2669,6 +2907,8 @@ declare module '@aerogel/core' {
2669
2907
  interface AerogelOptions {
2670
2908
  services?: Record<string, Service>;
2671
2909
  settings?: AppSetting[];
2910
+ formValidationRules?: Record<string, FormFieldValidator>;
2911
+ settingsFullscreenOnMobile?: boolean;
2672
2912
  }
2673
2913
  }
2674
2914
 
@@ -2717,21 +2957,3 @@ declare module '@aerogel/core' {
2717
2957
  'purge-storage': void;
2718
2958
  }
2719
2959
  }
2720
-
2721
-
2722
- declare module '@aerogel/core' {
2723
- interface EventsPayload {
2724
- 'close-modal': {
2725
- id: string;
2726
- result?: unknown;
2727
- };
2728
- 'modal-will-close': {
2729
- modal: UIModal;
2730
- result?: unknown;
2731
- };
2732
- 'modal-has-closed': {
2733
- modal: UIModal;
2734
- result?: unknown;
2735
- };
2736
- }
2737
- }