@aerogel/core 0.0.0-next.c2e6acc000e97a1020c2e232678563c53884dd0e → 0.0.0-next.c3236837f7f8fc319a4a56022accb32757b3db89

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