@aerogel/core 0.0.0-next.9a02fcd3bcf698211dd7a71d4c48257c96dd7832 → 0.0.0-next.9e0c0bbdcff5db68a1087ef53cbdc0f53299f6bb

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