@aerogel/core 0.0.0-next.d34923f3b144e8f6720e6a9cdadb2cd4fb4ab289 → 0.0.0-next.d4f3ae130b52cace673d7c95681c19256ee1acb4

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