@aerogel/core 0.0.0-next.c29ffcd25bffdbed37ecce3aac1ba14cde3e9d39 → 0.0.0-next.c2e6acc000e97a1020c2e232678563c53884dd0e

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