@aerogel/core 0.0.0-next.7035064d9ec6a82a936ee8dfcc4b58ed2e25a399 → 0.0.0-next.73a6df428477c011a1aebe0a932ebef0aa5e1b16

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