@aerogel/core 0.0.0-next.f86b4b09f066c4aef21796a37dbc8417b7dce3cd → 0.0.0-next.f8c757d83e1e0d001a2836fa45aba318ec17b9b9

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