@aerogel/core 0.0.0-next.d7394c3aa6aac799b0971e63819a8713d05a5123 → 0.0.0-next.e4c0d5bd2801fbe93545477ea515af53df69b522

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