@aerogel/core 0.0.0-next.c4825c5cbe0fe3257e478c2a7ec8df27d5a72305 → 0.0.0-next.d197d66a9d339318d752a1d8a96b2919faba3003

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