@aerogel/core 0.0.0-next.f16bd1d894543c5303039c49f6f33488a1ffe931 → 0.0.0-next.f1f5a990033d966dc0bb12d251110fbc9350dcc7

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 (84) hide show
  1. package/dist/aerogel-core.cjs.js +1 -1
  2. package/dist/aerogel-core.cjs.js.map +1 -1
  3. package/dist/aerogel-core.d.ts +702 -132
  4. package/dist/aerogel-core.esm.js +1 -1
  5. package/dist/aerogel-core.esm.js.map +1 -1
  6. package/histoire.config.ts +7 -0
  7. package/package.json +14 -5
  8. package/postcss.config.js +6 -0
  9. package/src/assets/histoire.css +3 -0
  10. package/src/bootstrap/bootstrap.test.ts +4 -3
  11. package/src/bootstrap/index.ts +19 -3
  12. package/src/components/AGAppLayout.vue +7 -2
  13. package/src/components/AGAppOverlays.vue +5 -1
  14. package/src/components/AGAppSnackbars.vue +1 -1
  15. package/src/components/forms/AGSelect.story.vue +28 -0
  16. package/src/components/forms/AGSelect.vue +53 -0
  17. package/src/components/forms/index.ts +5 -6
  18. package/src/components/headless/forms/AGHeadlessButton.vue +4 -3
  19. package/src/components/headless/forms/AGHeadlessInput.ts +21 -1
  20. package/src/components/headless/forms/AGHeadlessInput.vue +8 -5
  21. package/src/components/headless/forms/AGHeadlessInputLabel.vue +8 -2
  22. package/src/components/headless/forms/AGHeadlessSelect.ts +39 -0
  23. package/src/components/headless/forms/AGHeadlessSelect.vue +76 -0
  24. package/src/components/headless/forms/AGHeadlessSelectButton.vue +24 -0
  25. package/src/components/headless/forms/AGHeadlessSelectError.vue +26 -0
  26. package/src/components/headless/forms/AGHeadlessSelectLabel.vue +24 -0
  27. package/src/components/headless/forms/AGHeadlessSelectOption.ts +4 -0
  28. package/src/components/headless/forms/AGHeadlessSelectOption.vue +39 -0
  29. package/src/components/headless/forms/AGHeadlessSelectOptions.ts +3 -0
  30. package/src/components/headless/forms/index.ts +9 -1
  31. package/src/components/headless/modals/AGHeadlessModal.ts +27 -0
  32. package/src/components/headless/modals/AGHeadlessModal.vue +3 -5
  33. package/src/components/headless/modals/index.ts +4 -6
  34. package/src/components/headless/snackbars/index.ts +23 -8
  35. package/src/components/index.ts +1 -1
  36. package/src/components/lib/AGErrorMessage.vue +16 -0
  37. package/src/components/lib/AGLink.vue +9 -0
  38. package/src/components/{basic → lib}/AGMarkdown.vue +6 -10
  39. package/src/components/lib/AGMeasured.vue +15 -0
  40. package/src/components/lib/AGStartupCrash.vue +31 -0
  41. package/src/components/lib/index.ts +5 -0
  42. package/src/components/modals/AGAlertModal.ts +15 -0
  43. package/src/components/modals/AGAlertModal.vue +4 -16
  44. package/src/components/modals/AGConfirmModal.ts +27 -0
  45. package/src/components/modals/AGConfirmModal.vue +7 -11
  46. package/src/components/modals/AGErrorReportModal.ts +27 -1
  47. package/src/components/modals/AGErrorReportModal.vue +8 -16
  48. package/src/components/modals/AGErrorReportModalButtons.vue +6 -1
  49. package/src/components/modals/AGErrorReportModalTitle.vue +2 -2
  50. package/src/components/modals/AGLoadingModal.ts +23 -0
  51. package/src/components/modals/AGLoadingModal.vue +4 -8
  52. package/src/components/modals/AGModal.ts +1 -1
  53. package/src/components/modals/AGModal.vue +15 -12
  54. package/src/components/modals/AGModalTitle.vue +9 -0
  55. package/src/components/modals/index.ts +5 -0
  56. package/src/components/snackbars/AGSnackbar.vue +4 -10
  57. package/src/components/utils.ts +10 -0
  58. package/src/directives/index.ts +3 -1
  59. package/src/directives/measure.ts +12 -0
  60. package/src/errors/Errors.ts +37 -10
  61. package/src/errors/index.ts +9 -13
  62. package/src/forms/Form.ts +14 -6
  63. package/src/lang/Lang.ts +1 -1
  64. package/src/main.histoire.ts +1 -0
  65. package/src/plugins/Plugin.ts +1 -0
  66. package/src/plugins/index.ts +19 -0
  67. package/src/services/App.state.ts +7 -5
  68. package/src/services/App.ts +15 -3
  69. package/src/services/Service.ts +13 -4
  70. package/src/services/index.ts +7 -4
  71. package/src/ui/UI.ts +77 -16
  72. package/src/ui/index.ts +6 -3
  73. package/src/utils/composition/events.ts +1 -0
  74. package/src/utils/index.ts +1 -0
  75. package/src/utils/markdown.ts +11 -2
  76. package/src/utils/tailwindcss.test.ts +26 -0
  77. package/src/utils/tailwindcss.ts +7 -0
  78. package/src/utils/vue.ts +13 -4
  79. package/tailwind.config.js +4 -0
  80. package/tsconfig.json +1 -1
  81. package/.eslintrc.js +0 -3
  82. package/dist/virtual.d.ts +0 -11
  83. package/src/components/basic/index.ts +0 -3
  84. package/src/types/virtual.d.ts +0 -11
@@ -1,41 +1,44 @@
1
+ import { ListboxOptions as AGHeadlessSelectOptions } from '@headlessui/vue';
1
2
  import { AllowedComponentProps } from 'vue';
2
3
  import type { App as App_2 } from 'vue';
3
4
  import type { Component } from 'vue';
4
5
  import { ComponentCustomProps } from 'vue';
5
6
  import { ComponentOptionsMixin } from 'vue';
6
- import type { ComputedRef } from 'vue';
7
+ import { ComputedRef } from 'vue';
7
8
  import { Constructor } from '@noeldemartin/utils';
8
9
  import type { DeepReadonly } from 'vue';
9
10
  import { DefineComponent } from 'vue';
10
11
  import type { Directive } from 'vue';
11
12
  import { ExtractPropTypes } from 'vue';
12
13
  import { Facade } from '@noeldemartin/utils';
14
+ import type { GetClosureArgs } from '@noeldemartin/utils';
13
15
  import type { InjectionKey } from 'vue';
14
16
  import type { JSError } from '@noeldemartin/utils';
15
17
  import { MagicObject } from '@noeldemartin/utils';
16
18
  import type { ObjectValues } from '@noeldemartin/utils';
19
+ import type { ObjectWithoutEmpty } from '@noeldemartin/utils';
17
20
  import { PromisedValue } from '@noeldemartin/utils';
18
21
  import { PropType } from 'vue';
19
- import type { Ref } from 'vue';
22
+ import { Ref } from 'vue';
20
23
  import { RendererElement } from 'vue';
21
24
  import { RendererNode } from 'vue';
22
25
  import type { UnwrapNestedRefs } from 'vue';
23
26
  import { VNode } from 'vue';
24
27
  import { VNodeProps } from 'vue';
25
28
 
26
- declare interface AerogelOptions {
29
+ export declare interface AerogelOptions {
27
30
  plugins?: Plugin_2[];
28
31
  }
29
32
 
30
33
  export declare const AGAlertModal: DefineComponent< {
31
34
  title: {
32
- type: PropType<string | null>;
35
+ type?: PropType<string | null> | undefined;
33
36
  validator?(value: unknown): boolean;
34
37
  } & {
35
38
  default: string | (() => string | null) | null;
36
39
  };
37
40
  message: {
38
- type: PropType<string>;
41
+ type?: PropType<string> | undefined;
39
42
  validator?(value: unknown): boolean;
40
43
  } & {
41
44
  required: true;
@@ -44,13 +47,13 @@ required: true;
44
47
  [key: string]: any;
45
48
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
46
49
  title: {
47
- type: PropType<string | null>;
50
+ type?: PropType<string | null> | undefined;
48
51
  validator?(value: unknown): boolean;
49
52
  } & {
50
53
  default: string | (() => string | null) | null;
51
54
  };
52
55
  message: {
53
- type: PropType<string>;
56
+ type?: PropType<string> | undefined;
54
57
  validator?(value: unknown): boolean;
55
58
  } & {
56
59
  required: true;
@@ -59,6 +62,8 @@ required: true;
59
62
  title: string | null;
60
63
  }, {}>;
61
64
 
65
+ export declare type AGAlertModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof alertModalProps>>;
66
+
62
67
  export declare const AGAppLayout: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
63
68
  [key: string]: any;
64
69
  }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
@@ -69,7 +74,7 @@ export declare const AGAppOverlays: DefineComponent< {}, (_ctx: any, _cache:
69
74
 
70
75
  export declare const AGButton: DefineComponent< {
71
76
  color: {
72
- type: PropType<"primary" | "secondary" | "danger" | "clear">;
77
+ type?: PropType<"primary" | "secondary" | "danger" | "clear"> | undefined;
73
78
  validator?(value: unknown): boolean;
74
79
  } & {
75
80
  default: "primary" | "secondary" | "danger" | "clear" | (() => "primary" | "secondary" | "danger" | "clear") | null;
@@ -78,7 +83,7 @@ default: "primary" | "secondary" | "danger" | "clear" | (() => "primary" | "seco
78
83
  [key: string]: any;
79
84
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
80
85
  color: {
81
- type: PropType<"primary" | "secondary" | "danger" | "clear">;
86
+ type?: PropType<"primary" | "secondary" | "danger" | "clear"> | undefined;
82
87
  validator?(value: unknown): boolean;
83
88
  } & {
84
89
  default: "primary" | "secondary" | "danger" | "clear" | (() => "primary" | "secondary" | "danger" | "clear") | null;
@@ -89,7 +94,7 @@ color: "primary" | "secondary" | "danger" | "clear";
89
94
 
90
95
  export declare const AGCheckbox: DefineComponent< {
91
96
  name: {
92
- type: PropType<string | null>;
97
+ type?: PropType<string | null> | undefined;
93
98
  validator?(value: unknown): boolean;
94
99
  } & {
95
100
  default: string | (() => string | null) | null;
@@ -98,7 +103,7 @@ default: string | (() => string | null) | null;
98
103
  [key: string]: any;
99
104
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
100
105
  name: {
101
- type: PropType<string | null>;
106
+ type?: PropType<string | null> | undefined;
102
107
  validator?(value: unknown): boolean;
103
108
  } & {
104
109
  default: string | (() => string | null) | null;
@@ -109,39 +114,85 @@ name: string | null;
109
114
 
110
115
  export declare const AGConfirmModal: DefineComponent< {
111
116
  title: {
112
- type: PropType<string | null>;
117
+ type?: PropType<string | null> | undefined;
113
118
  validator?(value: unknown): boolean;
114
119
  } & {
115
120
  default: string | (() => string | null) | null;
116
121
  };
117
122
  message: {
118
- type: PropType<string>;
123
+ type?: PropType<string> | undefined;
119
124
  validator?(value: unknown): boolean;
120
125
  } & {
121
126
  required: true;
122
127
  };
128
+ acceptText: {
129
+ type?: PropType<string | null> | undefined;
130
+ validator?(value: unknown): boolean;
131
+ } & {
132
+ default: string | (() => string | null) | null;
133
+ };
134
+ cancelText: {
135
+ type?: PropType<string | null> | undefined;
136
+ validator?(value: unknown): boolean;
137
+ } & {
138
+ default: string | (() => string | null) | null;
139
+ };
123
140
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
124
141
  [key: string]: any;
125
142
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
126
143
  title: {
127
- type: PropType<string | null>;
144
+ type?: PropType<string | null> | undefined;
128
145
  validator?(value: unknown): boolean;
129
146
  } & {
130
147
  default: string | (() => string | null) | null;
131
148
  };
132
149
  message: {
133
- type: PropType<string>;
150
+ type?: PropType<string> | undefined;
134
151
  validator?(value: unknown): boolean;
135
152
  } & {
136
153
  required: true;
137
154
  };
155
+ acceptText: {
156
+ type?: PropType<string | null> | undefined;
157
+ validator?(value: unknown): boolean;
158
+ } & {
159
+ default: string | (() => string | null) | null;
160
+ };
161
+ cancelText: {
162
+ type?: PropType<string | null> | undefined;
163
+ validator?(value: unknown): boolean;
164
+ } & {
165
+ default: string | (() => string | null) | null;
166
+ };
138
167
  }>>, {
139
168
  title: string | null;
169
+ acceptText: string | null;
170
+ cancelText: string | null;
140
171
  }, {}>;
141
172
 
173
+ export declare type AGConfirmModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof confirmModalProps>>;
174
+
175
+ export declare const AGErrorMessage: DefineComponent< {
176
+ error: {
177
+ type?: PropType<unknown> | undefined;
178
+ validator?(value: unknown): boolean;
179
+ } & {
180
+ required: true;
181
+ };
182
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
183
+ [key: string]: any;
184
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
185
+ error: {
186
+ type?: PropType<unknown> | undefined;
187
+ validator?(value: unknown): boolean;
188
+ } & {
189
+ required: true;
190
+ };
191
+ }>>, {}, {}>;
192
+
142
193
  export declare const AGErrorReportModalButtons: DefineComponent< {
143
194
  report: {
144
- type: PropType<ErrorReport>;
195
+ type?: PropType<ErrorReport> | undefined;
145
196
  validator?(value: unknown): boolean;
146
197
  } & {
147
198
  required: true;
@@ -150,28 +201,30 @@ required: true;
150
201
  [key: string]: any;
151
202
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
152
203
  report: {
153
- type: PropType<ErrorReport>;
204
+ type?: PropType<ErrorReport> | undefined;
154
205
  validator?(value: unknown): boolean;
155
206
  } & {
156
207
  required: true;
157
208
  };
158
209
  }>>, {}, {}>;
159
210
 
211
+ export declare type AGErrorReportModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof errorReportModalProps>>;
212
+
160
213
  export declare const AGErrorReportModalTitle: DefineComponent< {
161
214
  report: {
162
- type: PropType<ErrorReport>;
215
+ type?: PropType<ErrorReport> | undefined;
163
216
  validator?(value: unknown): boolean;
164
217
  } & {
165
218
  required: true;
166
219
  };
167
220
  currentReport: {
168
- type: PropType<number | null>;
221
+ type?: PropType<number | null> | undefined;
169
222
  validator?(value: unknown): boolean;
170
223
  } & {
171
224
  default: number | (() => number | null) | null;
172
225
  };
173
226
  totalReports: {
174
- type: PropType<number | null>;
227
+ type?: PropType<number | null> | undefined;
175
228
  validator?(value: unknown): boolean;
176
229
  } & {
177
230
  default: number | (() => number | null) | null;
@@ -180,19 +233,19 @@ default: number | (() => number | null) | null;
180
233
  [key: string]: any;
181
234
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
182
235
  report: {
183
- type: PropType<ErrorReport>;
236
+ type?: PropType<ErrorReport> | undefined;
184
237
  validator?(value: unknown): boolean;
185
238
  } & {
186
239
  required: true;
187
240
  };
188
241
  currentReport: {
189
- type: PropType<number | null>;
242
+ type?: PropType<number | null> | undefined;
190
243
  validator?(value: unknown): boolean;
191
244
  } & {
192
245
  default: number | (() => number | null) | null;
193
246
  };
194
247
  totalReports: {
195
- type: PropType<number | null>;
248
+ type?: PropType<number | null> | undefined;
196
249
  validator?(value: unknown): boolean;
197
250
  } & {
198
251
  default: number | (() => number | null) | null;
@@ -204,7 +257,7 @@ totalReports: number | null;
204
257
 
205
258
  export declare const AGForm: DefineComponent< {
206
259
  form: {
207
- type: PropType<Form<FormFieldDefinitions> | null>;
260
+ type?: PropType<Form<FormFieldDefinitions> | null> | undefined;
208
261
  validator?(value: unknown): boolean;
209
262
  } & {
210
263
  default: Form<FormFieldDefinitions> | (() => Form<FormFieldDefinitions> | null) | null;
@@ -213,7 +266,7 @@ default: Form<FormFieldDefinitions> | (() => Form<FormFieldDefinitions> | null)
213
266
  [key: string]: any;
214
267
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "submit"[], "submit", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
215
268
  form: {
216
- type: PropType<Form<FormFieldDefinitions> | null>;
269
+ type?: PropType<Form<FormFieldDefinitions> | null> | undefined;
217
270
  validator?(value: unknown): boolean;
218
271
  } & {
219
272
  default: Form<FormFieldDefinitions> | (() => Form<FormFieldDefinitions> | null) | null;
@@ -225,32 +278,38 @@ form: Form<FormFieldDefinitions> | null;
225
278
  }, {}>;
226
279
 
227
280
  export declare const AGHeadlessButton: DefineComponent< {
281
+ href: {
282
+ type?: PropType<string | null> | undefined;
283
+ validator?(value: unknown): boolean;
284
+ } & {
285
+ default: string | (() => string | null) | null;
286
+ };
228
287
  url: {
229
- type: PropType<string | null>;
288
+ type?: PropType<string | null> | undefined;
230
289
  validator?(value: unknown): boolean;
231
290
  } & {
232
291
  default: string | (() => string | null) | null;
233
292
  };
234
293
  route: {
235
- type: PropType<string | null>;
294
+ type?: PropType<string | null> | undefined;
236
295
  validator?(value: unknown): boolean;
237
296
  } & {
238
297
  default: string | (() => string | null) | null;
239
298
  };
240
299
  routeParams: {
241
- type: PropType< {}>;
300
+ type?: PropType< {}> | undefined;
242
301
  validator?(value: unknown): boolean;
243
302
  } & {
244
303
  default: {} | (() => {}) | null;
245
304
  };
246
305
  routeQuery: {
247
- type: PropType< {}>;
306
+ type?: PropType< {}> | undefined;
248
307
  validator?(value: unknown): boolean;
249
308
  } & {
250
309
  default: {} | (() => {}) | null;
251
310
  };
252
311
  submit: {
253
- type: PropType<boolean>;
312
+ type?: PropType<boolean> | undefined;
254
313
  validator?(value: unknown): boolean;
255
314
  } & {
256
315
  default: boolean | (() => boolean) | null;
@@ -258,37 +317,44 @@ default: boolean | (() => boolean) | null;
258
317
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
259
318
  [key: string]: any;
260
319
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
320
+ href: {
321
+ type?: PropType<string | null> | undefined;
322
+ validator?(value: unknown): boolean;
323
+ } & {
324
+ default: string | (() => string | null) | null;
325
+ };
261
326
  url: {
262
- type: PropType<string | null>;
327
+ type?: PropType<string | null> | undefined;
263
328
  validator?(value: unknown): boolean;
264
329
  } & {
265
330
  default: string | (() => string | null) | null;
266
331
  };
267
332
  route: {
268
- type: PropType<string | null>;
333
+ type?: PropType<string | null> | undefined;
269
334
  validator?(value: unknown): boolean;
270
335
  } & {
271
336
  default: string | (() => string | null) | null;
272
337
  };
273
338
  routeParams: {
274
- type: PropType< {}>;
339
+ type?: PropType< {}> | undefined;
275
340
  validator?(value: unknown): boolean;
276
341
  } & {
277
342
  default: {} | (() => {}) | null;
278
343
  };
279
344
  routeQuery: {
280
- type: PropType< {}>;
345
+ type?: PropType< {}> | undefined;
281
346
  validator?(value: unknown): boolean;
282
347
  } & {
283
348
  default: {} | (() => {}) | null;
284
349
  };
285
350
  submit: {
286
- type: PropType<boolean>;
351
+ type?: PropType<boolean> | undefined;
287
352
  validator?(value: unknown): boolean;
288
353
  } & {
289
354
  default: boolean | (() => boolean) | null;
290
355
  };
291
356
  }>>, {
357
+ href: string | null;
292
358
  url: string | null;
293
359
  route: string | null;
294
360
  routeParams: {};
@@ -297,20 +363,26 @@ submit: boolean;
297
363
  }, {}>;
298
364
 
299
365
  export declare const AGHeadlessInput: DefineComponent< {
300
- as: {
301
- type: PropType<string>;
366
+ name: {
367
+ type?: PropType<string | null> | undefined;
302
368
  validator?(value: unknown): boolean;
303
369
  } & {
304
- default: string | (() => string) | null;
370
+ default: string | (() => string | null) | null;
305
371
  };
306
- name: {
307
- type: PropType<string | null>;
372
+ label: {
373
+ type?: PropType<string | null> | undefined;
308
374
  validator?(value: unknown): boolean;
309
375
  } & {
310
376
  default: string | (() => string | null) | null;
311
377
  };
378
+ as: {
379
+ type?: PropType<string> | undefined;
380
+ validator?(value: unknown): boolean;
381
+ } & {
382
+ default: string | (() => string) | null;
383
+ };
312
384
  modelValue: {
313
- type: PropType<string | number | boolean | null>;
385
+ type?: PropType<string | number | boolean | null> | undefined;
314
386
  validator?(value: unknown): boolean;
315
387
  } & {
316
388
  default: string | number | boolean | (() => string | number | boolean | null) | null;
@@ -318,20 +390,26 @@ default: string | number | boolean | (() => string | number | boolean | null) |
318
390
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
319
391
  [key: string]: any;
320
392
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
321
- as: {
322
- type: PropType<string>;
393
+ name: {
394
+ type?: PropType<string | null> | undefined;
323
395
  validator?(value: unknown): boolean;
324
396
  } & {
325
- default: string | (() => string) | null;
397
+ default: string | (() => string | null) | null;
326
398
  };
327
- name: {
328
- type: PropType<string | null>;
399
+ label: {
400
+ type?: PropType<string | null> | undefined;
329
401
  validator?(value: unknown): boolean;
330
402
  } & {
331
403
  default: string | (() => string | null) | null;
332
404
  };
405
+ as: {
406
+ type?: PropType<string> | undefined;
407
+ validator?(value: unknown): boolean;
408
+ } & {
409
+ default: string | (() => string) | null;
410
+ };
333
411
  modelValue: {
334
- type: PropType<string | number | boolean | null>;
412
+ type?: PropType<string | number | boolean | null> | undefined;
335
413
  validator?(value: unknown): boolean;
336
414
  } & {
337
415
  default: string | number | boolean | (() => string | number | boolean | null) | null;
@@ -340,8 +418,9 @@ default: string | number | boolean | (() => string | number | boolean | null) |
340
418
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
341
419
  }, {
342
420
  as: string;
343
- name: string | null;
344
421
  modelValue: string | number | boolean | null;
422
+ name: string | null;
423
+ label: string | null;
345
424
  }, {}>;
346
425
 
347
426
  export declare const AGHeadlessInputError: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
@@ -350,7 +429,7 @@ export declare const AGHeadlessInputError: DefineComponent< {}, (_ctx: any, _
350
429
 
351
430
  export declare const AGHeadlessInputInput: DefineComponent< {
352
431
  type: {
353
- type: PropType<string>;
432
+ type?: PropType<string> | undefined;
354
433
  validator?(value: unknown): boolean;
355
434
  } & {
356
435
  default: string | (() => string) | null;
@@ -359,7 +438,7 @@ default: string | (() => string) | null;
359
438
  [key: string]: any;
360
439
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
361
440
  type: {
362
- type: PropType<string>;
441
+ type?: PropType<string> | undefined;
363
442
  validator?(value: unknown): boolean;
364
443
  } & {
365
444
  default: string | (() => string) | null;
@@ -374,22 +453,35 @@ export declare const AGHeadlessInputLabel: DefineComponent< {}, (_ctx: any, _
374
453
 
375
454
  export declare const AGHeadlessModal: DefineComponent< {
376
455
  cancellable: {
377
- type: PropType<boolean>;
456
+ type?: PropType<boolean> | undefined;
378
457
  validator?(value: unknown): boolean;
379
458
  } & {
380
459
  default: boolean | (() => boolean) | null;
381
460
  };
461
+ title: {
462
+ type?: PropType<string | null> | undefined;
463
+ validator?(value: unknown): boolean;
464
+ } & {
465
+ default: string | (() => string | null) | null;
466
+ };
382
467
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
383
468
  [key: string]: any;
384
469
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
385
470
  cancellable: {
386
- type: PropType<boolean>;
471
+ type?: PropType<boolean> | undefined;
387
472
  validator?(value: unknown): boolean;
388
473
  } & {
389
474
  default: boolean | (() => boolean) | null;
390
475
  };
476
+ title: {
477
+ type?: PropType<string | null> | undefined;
478
+ validator?(value: unknown): boolean;
479
+ } & {
480
+ default: string | (() => string | null) | null;
481
+ };
391
482
  }>>, {
392
483
  cancellable: boolean;
484
+ title: string | null;
393
485
  }, {}>;
394
486
 
395
487
  export declare const AGHeadlessModalPanel: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
@@ -398,7 +490,7 @@ export declare const AGHeadlessModalPanel: DefineComponent< {}, (_ctx: any, _
398
490
 
399
491
  export declare const AGHeadlessModalTitle: DefineComponent< {
400
492
  as: {
401
- type: PropType<string>;
493
+ type?: PropType<string> | undefined;
402
494
  validator?(value: unknown): boolean;
403
495
  } & {
404
496
  default: string | (() => string) | null;
@@ -407,7 +499,7 @@ default: string | (() => string) | null;
407
499
  [key: string]: any;
408
500
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
409
501
  as: {
410
- type: PropType<string>;
502
+ type?: PropType<string> | undefined;
411
503
  validator?(value: unknown): boolean;
412
504
  } & {
413
505
  default: string | (() => string) | null;
@@ -416,13 +508,187 @@ default: string | (() => string) | null;
416
508
  as: string;
417
509
  }, {}>;
418
510
 
511
+ export declare const AGHeadlessSelect: DefineComponent< {
512
+ name: {
513
+ type?: PropType<string | null> | undefined;
514
+ validator?(value: unknown): boolean;
515
+ } & {
516
+ default: string | (() => string | null) | null;
517
+ };
518
+ label: {
519
+ type?: PropType<string | null> | undefined;
520
+ validator?(value: unknown): boolean;
521
+ } & {
522
+ default: string | (() => string | null) | null;
523
+ };
524
+ options: {
525
+ type?: PropType<IAGSelectOptionValue[]> | undefined;
526
+ validator?(value: unknown): boolean;
527
+ } & {
528
+ required: true;
529
+ };
530
+ noSelectionText: {
531
+ type?: PropType<string | null> | undefined;
532
+ validator?(value: unknown): boolean;
533
+ } & {
534
+ default: string | (() => string | null) | null;
535
+ };
536
+ modelValue: {
537
+ type?: PropType<IAGSelectOptionValue> | undefined;
538
+ validator?(value: unknown): boolean;
539
+ } & {
540
+ default: IAGSelectOptionValue | (() => IAGSelectOptionValue);
541
+ };
542
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
543
+ [key: string]: any;
544
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
545
+ name: {
546
+ type?: PropType<string | null> | undefined;
547
+ validator?(value: unknown): boolean;
548
+ } & {
549
+ default: string | (() => string | null) | null;
550
+ };
551
+ label: {
552
+ type?: PropType<string | null> | undefined;
553
+ validator?(value: unknown): boolean;
554
+ } & {
555
+ default: string | (() => string | null) | null;
556
+ };
557
+ options: {
558
+ type?: PropType<IAGSelectOptionValue[]> | undefined;
559
+ validator?(value: unknown): boolean;
560
+ } & {
561
+ required: true;
562
+ };
563
+ noSelectionText: {
564
+ type?: PropType<string | null> | undefined;
565
+ validator?(value: unknown): boolean;
566
+ } & {
567
+ default: string | (() => string | null) | null;
568
+ };
569
+ modelValue: {
570
+ type?: PropType<IAGSelectOptionValue> | undefined;
571
+ validator?(value: unknown): boolean;
572
+ } & {
573
+ default: IAGSelectOptionValue | (() => IAGSelectOptionValue);
574
+ };
575
+ }>> & {
576
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
577
+ }, {
578
+ modelValue: IAGSelectOptionValue;
579
+ name: string | null;
580
+ label: string | null;
581
+ noSelectionText: string | null;
582
+ }, {}>;
583
+
584
+ export declare const AGHeadlessSelectButton: DefineComponent< {
585
+ textClass: {
586
+ type?: PropType<string | null> | undefined;
587
+ validator?(value: unknown): boolean;
588
+ } & {
589
+ default: string | (() => string | null) | null;
590
+ };
591
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
592
+ [key: string]: any;
593
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
594
+ textClass: {
595
+ type?: PropType<string | null> | undefined;
596
+ validator?(value: unknown): boolean;
597
+ } & {
598
+ default: string | (() => string | null) | null;
599
+ };
600
+ }>>, {
601
+ textClass: string | null;
602
+ }, {}>;
603
+
604
+ export declare const AGHeadlessSelectError: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
605
+ [key: string]: any;
606
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
607
+
608
+ export declare const AGHeadlessSelectLabel: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
609
+ [key: string]: any;
610
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
611
+
612
+ export declare const AGHeadlessSelectOption: DefineComponent< {
613
+ value: {
614
+ type?: PropType<IAGSelectOptionValue> | undefined;
615
+ validator?(value: unknown): boolean;
616
+ } & {
617
+ required: true;
618
+ };
619
+ selectedClass: {
620
+ type?: PropType<string | null> | undefined;
621
+ validator?(value: unknown): boolean;
622
+ } & {
623
+ default: string | (() => string | null) | null;
624
+ };
625
+ unselectedClass: {
626
+ type?: PropType<string | null> | undefined;
627
+ validator?(value: unknown): boolean;
628
+ } & {
629
+ default: string | (() => string | null) | null;
630
+ };
631
+ activeClass: {
632
+ type?: PropType<string | null> | undefined;
633
+ validator?(value: unknown): boolean;
634
+ } & {
635
+ default: string | (() => string | null) | null;
636
+ };
637
+ inactiveClass: {
638
+ type?: PropType<string | null> | undefined;
639
+ validator?(value: unknown): boolean;
640
+ } & {
641
+ default: string | (() => string | null) | null;
642
+ };
643
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
644
+ [key: string]: any;
645
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
646
+ value: {
647
+ type?: PropType<IAGSelectOptionValue> | undefined;
648
+ validator?(value: unknown): boolean;
649
+ } & {
650
+ required: true;
651
+ };
652
+ selectedClass: {
653
+ type?: PropType<string | null> | undefined;
654
+ validator?(value: unknown): boolean;
655
+ } & {
656
+ default: string | (() => string | null) | null;
657
+ };
658
+ unselectedClass: {
659
+ type?: PropType<string | null> | undefined;
660
+ validator?(value: unknown): boolean;
661
+ } & {
662
+ default: string | (() => string | null) | null;
663
+ };
664
+ activeClass: {
665
+ type?: PropType<string | null> | undefined;
666
+ validator?(value: unknown): boolean;
667
+ } & {
668
+ default: string | (() => string | null) | null;
669
+ };
670
+ inactiveClass: {
671
+ type?: PropType<string | null> | undefined;
672
+ validator?(value: unknown): boolean;
673
+ } & {
674
+ default: string | (() => string | null) | null;
675
+ };
676
+ }>>, {
677
+ selectedClass: string | null;
678
+ unselectedClass: string | null;
679
+ activeClass: string | null;
680
+ inactiveClass: string | null;
681
+ }, {}>;
682
+
683
+ export { AGHeadlessSelectOptions }
684
+
419
685
  export declare const AGHeadlessSnackbar: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
420
686
  [key: string]: any;
421
687
  }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
422
688
 
423
689
  export declare const AGInput: DefineComponent< {
424
690
  name: {
425
- type: PropType<string | null>;
691
+ type?: PropType<string | null> | undefined;
426
692
  validator?(value: unknown): boolean;
427
693
  } & {
428
694
  default: string | (() => string | null) | null;
@@ -431,7 +697,7 @@ default: string | (() => string | null) | null;
431
697
  [key: string]: any;
432
698
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
433
699
  name: {
434
- type: PropType<string | null>;
700
+ type?: PropType<string | null> | undefined;
435
701
  validator?(value: unknown): boolean;
436
702
  } & {
437
703
  default: string | (() => string | null) | null;
@@ -440,9 +706,13 @@ default: string | (() => string | null) | null;
440
706
  name: string | null;
441
707
  }, {}>;
442
708
 
709
+ export declare const AGLink: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
710
+ [key: string]: any;
711
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
712
+
443
713
  export declare const AGLoadingModal: DefineComponent< {
444
714
  message: {
445
- type: PropType<string | null>;
715
+ type?: PropType<string | null> | undefined;
446
716
  validator?(value: unknown): boolean;
447
717
  } & {
448
718
  default: string | (() => string | null) | null;
@@ -451,7 +721,7 @@ default: string | (() => string | null) | null;
451
721
  [key: string]: any;
452
722
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
453
723
  message: {
454
- type: PropType<string | null>;
724
+ type?: PropType<string | null> | undefined;
455
725
  validator?(value: unknown): boolean;
456
726
  } & {
457
727
  default: string | (() => string | null) | null;
@@ -460,39 +730,35 @@ default: string | (() => string | null) | null;
460
730
  message: string | null;
461
731
  }, {}>;
462
732
 
733
+ export declare type AGLoadingModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof loadingModalProps>>;
734
+
463
735
  export declare const AGMarkdown: DefineComponent< {
464
736
  as: {
465
- type: PropType<string>;
737
+ type?: PropType<string | null> | undefined;
466
738
  validator?(value: unknown): boolean;
467
739
  } & {
468
- default: string | (() => string) | null;
469
- };
470
- heading: {
471
- type: PropType<boolean>;
472
- validator?(value: unknown): boolean;
473
- } & {
474
- default: boolean | (() => boolean) | null;
740
+ default: string | (() => string | null) | null;
475
741
  };
476
742
  inline: {
477
- type: PropType<boolean>;
743
+ type?: PropType<boolean> | undefined;
478
744
  validator?(value: unknown): boolean;
479
745
  } & {
480
746
  default: boolean | (() => boolean) | null;
481
747
  };
482
748
  langKey: {
483
- type: PropType<string | null>;
749
+ type?: PropType<string | null> | undefined;
484
750
  validator?(value: unknown): boolean;
485
751
  } & {
486
752
  default: string | (() => string | null) | null;
487
753
  };
488
- raw: {
489
- type: PropType<boolean>;
754
+ langParams: {
755
+ type?: PropType<Record<string, unknown> | null> | undefined;
490
756
  validator?(value: unknown): boolean;
491
757
  } & {
492
- default: boolean | (() => boolean) | null;
758
+ default: Record<string, unknown> | (() => Record<string, unknown> | null) | null;
493
759
  };
494
760
  text: {
495
- type: PropType<string | null>;
761
+ type?: PropType<string | null> | undefined;
496
762
  validator?(value: unknown): boolean;
497
763
  } & {
498
764
  default: string | (() => string | null) | null;
@@ -501,79 +767,105 @@ default: string | (() => string | null) | null;
501
767
  [key: string]: any;
502
768
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
503
769
  as: {
504
- type: PropType<string>;
770
+ type?: PropType<string | null> | undefined;
505
771
  validator?(value: unknown): boolean;
506
772
  } & {
507
- default: string | (() => string) | null;
508
- };
509
- heading: {
510
- type: PropType<boolean>;
511
- validator?(value: unknown): boolean;
512
- } & {
513
- default: boolean | (() => boolean) | null;
773
+ default: string | (() => string | null) | null;
514
774
  };
515
775
  inline: {
516
- type: PropType<boolean>;
776
+ type?: PropType<boolean> | undefined;
517
777
  validator?(value: unknown): boolean;
518
778
  } & {
519
779
  default: boolean | (() => boolean) | null;
520
780
  };
521
781
  langKey: {
522
- type: PropType<string | null>;
782
+ type?: PropType<string | null> | undefined;
523
783
  validator?(value: unknown): boolean;
524
784
  } & {
525
785
  default: string | (() => string | null) | null;
526
786
  };
527
- raw: {
528
- type: PropType<boolean>;
787
+ langParams: {
788
+ type?: PropType<Record<string, unknown> | null> | undefined;
529
789
  validator?(value: unknown): boolean;
530
790
  } & {
531
- default: boolean | (() => boolean) | null;
791
+ default: Record<string, unknown> | (() => Record<string, unknown> | null) | null;
532
792
  };
533
793
  text: {
534
- type: PropType<string | null>;
794
+ type?: PropType<string | null> | undefined;
535
795
  validator?(value: unknown): boolean;
536
796
  } & {
537
797
  default: string | (() => string | null) | null;
538
798
  };
539
799
  }>>, {
540
- as: string;
541
- heading: boolean;
800
+ as: string | null;
542
801
  inline: boolean;
543
802
  langKey: string | null;
544
- raw: boolean;
803
+ langParams: Record<string, unknown> | null;
545
804
  text: string | null;
546
805
  }, {}>;
547
806
 
807
+ export declare const AGMeasured: DefineComponent< {
808
+ as: {
809
+ type?: PropType<string> | undefined;
810
+ validator?(value: unknown): boolean;
811
+ } & {
812
+ default: string | (() => string) | null;
813
+ };
814
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
815
+ [key: string]: any;
816
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
817
+ as: {
818
+ type?: PropType<string> | undefined;
819
+ validator?(value: unknown): boolean;
820
+ } & {
821
+ default: string | (() => string) | null;
822
+ };
823
+ }>>, {
824
+ as: string;
825
+ }, {}>;
826
+
548
827
  export declare const AGModal: DefineComponent< {
549
828
  cancellable: {
550
- type: PropType<boolean>;
829
+ type?: PropType<boolean> | undefined;
551
830
  validator?(value: unknown): boolean;
552
831
  } & {
553
832
  default: boolean | (() => boolean) | null;
554
833
  };
834
+ title: {
835
+ type?: PropType<string | null> | undefined;
836
+ validator?(value: unknown): boolean;
837
+ } & {
838
+ default: string | (() => string | null) | null;
839
+ };
555
840
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
556
841
  [key: string]: any;
557
842
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
558
843
  cancellable: {
559
- type: PropType<boolean>;
844
+ type?: PropType<boolean> | undefined;
560
845
  validator?(value: unknown): boolean;
561
846
  } & {
562
847
  default: boolean | (() => boolean) | null;
563
848
  };
849
+ title: {
850
+ type?: PropType<string | null> | undefined;
851
+ validator?(value: unknown): boolean;
852
+ } & {
853
+ default: string | (() => string | null) | null;
854
+ };
564
855
  }>>, {
565
856
  cancellable: boolean;
857
+ title: string | null;
566
858
  }, {}>;
567
859
 
568
860
  export declare const AGModalContext: DefineComponent< {
569
861
  modal: {
570
- type: PropType<Modal<unknown>>;
862
+ type?: PropType<Modal<unknown>> | undefined;
571
863
  validator?(value: unknown): boolean;
572
864
  } & {
573
865
  required: true;
574
866
  };
575
867
  childIndex: {
576
- type: PropType<number>;
868
+ type?: PropType<number> | undefined;
577
869
  validator?(value: unknown): boolean;
578
870
  } & {
579
871
  required: true;
@@ -582,40 +874,102 @@ required: true;
582
874
  [key: string]: any;
583
875
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
584
876
  modal: {
585
- type: PropType<Modal<unknown>>;
877
+ type?: PropType<Modal<unknown>> | undefined;
586
878
  validator?(value: unknown): boolean;
587
879
  } & {
588
880
  required: true;
589
881
  };
590
882
  childIndex: {
591
- type: PropType<number>;
883
+ type?: PropType<number> | undefined;
592
884
  validator?(value: unknown): boolean;
593
885
  } & {
594
886
  required: true;
595
887
  };
596
888
  }>>, {}, {}>;
597
889
 
890
+ export declare const AGModalTitle: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
891
+ [key: string]: any;
892
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
893
+
894
+ export declare const AGSelect: DefineComponent< {
895
+ name: {
896
+ type?: PropType<string | null> | undefined;
897
+ validator?(value: unknown): boolean;
898
+ } & {
899
+ default: string | (() => string | null) | null;
900
+ };
901
+ label: {
902
+ type?: PropType<string | null> | undefined;
903
+ validator?(value: unknown): boolean;
904
+ } & {
905
+ default: string | (() => string | null) | null;
906
+ };
907
+ options: {
908
+ type?: PropType<IAGSelectOptionValue[]> | undefined;
909
+ validator?(value: unknown): boolean;
910
+ } & {
911
+ required: true;
912
+ };
913
+ noSelectionText: {
914
+ type?: PropType<string | null> | undefined;
915
+ validator?(value: unknown): boolean;
916
+ } & {
917
+ default: string | (() => string | null) | null;
918
+ };
919
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
920
+ [key: string]: any;
921
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
922
+ name: {
923
+ type?: PropType<string | null> | undefined;
924
+ validator?(value: unknown): boolean;
925
+ } & {
926
+ default: string | (() => string | null) | null;
927
+ };
928
+ label: {
929
+ type?: PropType<string | null> | undefined;
930
+ validator?(value: unknown): boolean;
931
+ } & {
932
+ default: string | (() => string | null) | null;
933
+ };
934
+ options: {
935
+ type?: PropType<IAGSelectOptionValue[]> | undefined;
936
+ validator?(value: unknown): boolean;
937
+ } & {
938
+ required: true;
939
+ };
940
+ noSelectionText: {
941
+ type?: PropType<string | null> | undefined;
942
+ validator?(value: unknown): boolean;
943
+ } & {
944
+ default: string | (() => string | null) | null;
945
+ };
946
+ }>>, {
947
+ name: string | null;
948
+ label: string | null;
949
+ noSelectionText: string | null;
950
+ }, {}>;
951
+
598
952
  export declare const AGSnackbar: DefineComponent< {
599
953
  id: {
600
- type: PropType<string>;
954
+ type?: PropType<string> | undefined;
601
955
  validator?(value: unknown): boolean;
602
956
  } & {
603
957
  required: true;
604
958
  };
605
959
  message: {
606
- type: PropType<string>;
960
+ type?: PropType<string> | undefined;
607
961
  validator?(value: unknown): boolean;
608
962
  } & {
609
963
  required: true;
610
964
  };
611
965
  actions: {
612
- type: PropType<SnackbarAction[]>;
966
+ type?: PropType<SnackbarAction[]> | undefined;
613
967
  validator?(value: unknown): boolean;
614
968
  } & {
615
969
  default: SnackbarAction[] | (() => SnackbarAction[]) | null;
616
970
  };
617
971
  color: {
618
- type: PropType<"secondary" | "danger">;
972
+ type?: PropType<"secondary" | "danger"> | undefined;
619
973
  validator?(value: unknown): boolean;
620
974
  } & {
621
975
  default: "secondary" | "danger" | (() => "secondary" | "danger") | null;
@@ -624,25 +978,25 @@ default: "secondary" | "danger" | (() => "secondary" | "danger") | null;
624
978
  [key: string]: any;
625
979
  }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
626
980
  id: {
627
- type: PropType<string>;
981
+ type?: PropType<string> | undefined;
628
982
  validator?(value: unknown): boolean;
629
983
  } & {
630
984
  required: true;
631
985
  };
632
986
  message: {
633
- type: PropType<string>;
987
+ type?: PropType<string> | undefined;
634
988
  validator?(value: unknown): boolean;
635
989
  } & {
636
990
  required: true;
637
991
  };
638
992
  actions: {
639
- type: PropType<SnackbarAction[]>;
993
+ type?: PropType<SnackbarAction[]> | undefined;
640
994
  validator?(value: unknown): boolean;
641
995
  } & {
642
996
  default: SnackbarAction[] | (() => SnackbarAction[]) | null;
643
997
  };
644
998
  color: {
645
- type: PropType<"secondary" | "danger">;
999
+ type?: PropType<"secondary" | "danger"> | undefined;
646
1000
  validator?(value: unknown): boolean;
647
1001
  } & {
648
1002
  default: "secondary" | "danger" | (() => "secondary" | "danger") | null;
@@ -652,16 +1006,39 @@ actions: SnackbarAction[];
652
1006
  color: "secondary" | "danger";
653
1007
  }, {}>;
654
1008
 
1009
+ export declare type AGSnackbarProps = ObjectWithoutEmpty<ExtractPropTypes<typeof snackbarProps>>;
1010
+
1011
+ export declare const AGStartupCrash: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
1012
+ [key: string]: any;
1013
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
1014
+
1015
+ export declare const alertModalProps: {
1016
+ title: {
1017
+ type?: PropType<string | null> | undefined;
1018
+ validator?(value: unknown): boolean;
1019
+ } & {
1020
+ default: string | (() => string | null) | null;
1021
+ };
1022
+ message: {
1023
+ type?: PropType<string> | undefined;
1024
+ validator?(value: unknown): boolean;
1025
+ } & {
1026
+ required: true;
1027
+ };
1028
+ };
1029
+
655
1030
  export declare const App: Facade<AppService, Constructor<AppService>>;
656
1031
 
657
1032
  export declare class AppService extends _default_2 {
1033
+ reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
1034
+ plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
658
1035
  protected boot(): Promise<void>;
659
1036
  }
660
1037
 
661
1038
  export declare function arrayProp<T>(defaultValue?: () => T[]): OptionalProp<T[]>;
662
1039
 
663
1040
  declare type BaseProp<T> = {
664
- type: PropType<T>;
1041
+ type?: PropType<T>;
665
1042
  validator?(value: unknown): boolean;
666
1043
  };
667
1044
 
@@ -671,7 +1048,9 @@ export declare function booleanProp(defaultValue?: boolean): OptionalProp<boolea
671
1048
 
672
1049
  export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
673
1050
 
674
- export declare function bootstrapApplication(rootComponent: Component, options?: AerogelOptions): Promise<void>;
1051
+ export declare function bootstrap(rootComponent: Component, options?: AerogelOptions): Promise<void>;
1052
+
1053
+ export declare function bootstrapApplication(app: App_2, options?: AerogelOptions): Promise<void>;
675
1054
 
676
1055
  export declare type Color = (typeof Colors)[keyof typeof Colors];
677
1056
 
@@ -686,12 +1065,46 @@ export declare type ComponentProps = Record<string, unknown>;
686
1065
 
687
1066
  export declare function componentRef<T>(): Ref<UnwrapNestedRefs<T> | undefined>;
688
1067
 
1068
+ export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
1069
+
689
1070
  export declare type ComputedStateDefinition<TState extends ServiceState, TComputedState extends ServiceState> = {
690
1071
  [K in keyof TComputedState]: (state: TState) => TComputedState[K];
691
1072
  } & ThisType<{
692
1073
  readonly [K in keyof TComputedState]: TComputedState[K];
693
1074
  }>;
694
1075
 
1076
+ export declare const confirmModalProps: {
1077
+ title: {
1078
+ type?: PropType<string | null> | undefined;
1079
+ validator?(value: unknown): boolean;
1080
+ } & {
1081
+ default: string | (() => string | null) | null;
1082
+ };
1083
+ message: {
1084
+ type?: PropType<string> | undefined;
1085
+ validator?(value: unknown): boolean;
1086
+ } & {
1087
+ required: true;
1088
+ };
1089
+ acceptText: {
1090
+ type?: PropType<string | null> | undefined;
1091
+ validator?(value: unknown): boolean;
1092
+ } & {
1093
+ default: string | (() => string | null) | null;
1094
+ };
1095
+ cancelText: {
1096
+ type?: PropType<string | null> | undefined;
1097
+ validator?(value: unknown): boolean;
1098
+ } & {
1099
+ default: string | (() => string | null) | null;
1100
+ };
1101
+ };
1102
+
1103
+ export declare interface ConfirmOptions {
1104
+ acceptText?: string;
1105
+ cancelText?: string;
1106
+ }
1107
+
695
1108
  declare const _default: Constructor< {
696
1109
  logs: ErrorReportLog[];
697
1110
  startupErrors: ErrorReport[];
@@ -712,21 +1125,24 @@ startupErrors: ErrorReport[];
712
1125
  }>>>;
713
1126
 
714
1127
  declare const _default_2: Constructor< {
715
- environment: "production" | "development" | "testing";
1128
+ plugins: Record<string, Plugin_2>;
1129
+ environment: string;
716
1130
  sourceUrl: string | undefined;
717
1131
  isMounted: boolean;
718
1132
  }> & Constructor< {
719
- isDevelopment: boolean;
720
- isTesting: boolean;
1133
+ development: boolean;
1134
+ testing: boolean;
721
1135
  }> & Constructor<Service< {
722
- environment: "production" | "development" | "testing";
1136
+ plugins: Record<string, Plugin_2>;
1137
+ environment: string;
723
1138
  sourceUrl: string | undefined;
724
1139
  isMounted: boolean;
725
1140
  }, {
726
- isDevelopment: boolean;
727
- isTesting: boolean;
1141
+ development: boolean;
1142
+ testing: boolean;
728
1143
  }, Partial<{
729
- environment: "production" | "development" | "testing";
1144
+ plugins: Record<string, Plugin_2>;
1145
+ environment: string;
730
1146
  sourceUrl: string | undefined;
731
1147
  isMounted: boolean;
732
1148
  }>>>;
@@ -782,7 +1198,7 @@ export declare interface ErrorReportLog {
782
1198
 
783
1199
  export declare const errorReportModalProps: {
784
1200
  reports: {
785
- type: PropType<ErrorReport[]>;
1201
+ type?: PropType<ErrorReport[]> | undefined;
786
1202
  validator?(value: unknown): boolean;
787
1203
  } & {
788
1204
  required: true;
@@ -802,6 +1218,7 @@ declare class ErrorsService extends _default {
802
1218
  report(error: ErrorSource, message?: string): Promise<void>;
803
1219
  see(report: ErrorReport): void;
804
1220
  seeAll(): void;
1221
+ getErrorMessage(error: ErrorSource): string;
805
1222
  private logError;
806
1223
  private createErrorReport;
807
1224
  private createStartupErrorReport;
@@ -840,11 +1257,16 @@ export declare type EventWithPayload = {
840
1257
  [K in keyof EventsPayload]: EventsPayload[K] extends void ? never : K;
841
1258
  }[keyof EventsPayload];
842
1259
 
1260
+ export declare function extractInputProps<T extends ExtractPropTypes<typeof inputProps>>(props: T): Pick<T, keyof typeof inputProps>;
1261
+
1262
+ export declare function extractModalProps<T extends ExtractPropTypes<typeof modalProps>>(props: T): Pick<T, keyof typeof modalProps>;
1263
+
1264
+ export declare function extractSelectProps<T extends ExtractPropTypes<typeof selectProps>>(props: T): Pick<T, keyof typeof selectProps>;
1265
+
843
1266
  declare class Form<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
844
1267
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
845
1268
  private _fields;
846
1269
  private _data;
847
- private _valid;
848
1270
  private _submitted;
849
1271
  private _errors;
850
1272
  constructor(fields: Fields);
@@ -853,7 +1275,10 @@ declare class Form<Fields extends FormFieldDefinitions = FormFieldDefinitions> e
853
1275
  setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
854
1276
  getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
855
1277
  validate(): boolean;
856
- reset(): void;
1278
+ reset(options?: {
1279
+ keepData?: boolean;
1280
+ keepErrors?: boolean;
1281
+ }): void;
857
1282
  submit(): boolean;
858
1283
  protected __get(property: string): unknown;
859
1284
  protected __set(property: string, value: unknown): void;
@@ -887,9 +1312,10 @@ export declare const FormFieldTypes: {
887
1312
  readonly String: "string";
888
1313
  readonly Number: "number";
889
1314
  readonly Boolean: "boolean";
1315
+ readonly Object: "object";
890
1316
  };
891
1317
 
892
- export declare type GetFormFieldValue<TType> = TType extends typeof FormFieldTypes.String ? string : TType extends typeof FormFieldTypes.Number ? number : TType extends typeof FormFieldTypes.Boolean ? boolean : never;
1318
+ 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 : never;
893
1319
 
894
1320
  export declare interface IAGErrorReportModalButtonsDefaultSlotProps {
895
1321
  id: string;
@@ -901,6 +1327,8 @@ export declare interface IAGErrorReportModalButtonsDefaultSlotProps {
901
1327
 
902
1328
  export declare interface IAGHeadlessInput {
903
1329
  id: string;
1330
+ name: ComputedRef<string | null>;
1331
+ label: ComputedRef<string | null>;
904
1332
  value: ComputedRef<string | number | boolean | null>;
905
1333
  errors: DeepReadonly<Ref<string[] | null>>;
906
1334
  update(value: string | number | boolean | null): void;
@@ -909,9 +1337,29 @@ export declare interface IAGHeadlessInput {
909
1337
  export declare interface IAGHeadlessModal extends IAGModal {
910
1338
  }
911
1339
 
1340
+ export declare interface IAGHeadlessModalDefaultSlotProps {
1341
+ close(result?: unknown): Promise<void>;
1342
+ }
1343
+
1344
+ export declare interface IAGHeadlessSelect {
1345
+ id: string;
1346
+ label: ComputedRef<string | null>;
1347
+ noSelectionText: ComputedRef<string>;
1348
+ buttonText: ComputedRef<string>;
1349
+ selectedOption: ComputedRef<IAGSelectOption | undefined>;
1350
+ options: ComputedRef<IAGSelectOption[]>;
1351
+ errors: DeepReadonly<Ref<string[] | null>>;
1352
+ update(value: IAGSelectOptionValue): void;
1353
+ }
1354
+
1355
+ export declare type IAGHeadlessSelectOptionSlotProps = {
1356
+ active: boolean;
1357
+ selected: boolean;
1358
+ };
1359
+
912
1360
  export declare interface IAGModal {
913
1361
  cancellable: Ref<boolean>;
914
- close(): Promise<void>;
1362
+ close(result?: unknown): Promise<void>;
915
1363
  }
916
1364
 
917
1365
  export declare interface IAGModalContext {
@@ -923,12 +1371,36 @@ export declare interface IAGModalDefaultSlotProps {
923
1371
  close(result?: unknown): Promise<void>;
924
1372
  }
925
1373
 
1374
+ export declare interface IAGSelectOption {
1375
+ value: string | number | boolean | object | null;
1376
+ text: string;
1377
+ }
1378
+
1379
+ export declare type IAGSelectOptionValue = string | number | boolean | object | null;
1380
+
926
1381
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
927
1382
 
928
1383
  export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
929
1384
 
930
1385
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
931
1386
 
1387
+ export declare const inputProps: {
1388
+ name: {
1389
+ type?: PropType<string | null> | undefined;
1390
+ validator?(value: unknown): boolean;
1391
+ } & {
1392
+ default: string | (() => string | null) | null;
1393
+ };
1394
+ label: {
1395
+ type?: PropType<string | null> | undefined;
1396
+ validator?(value: unknown): boolean;
1397
+ } & {
1398
+ default: string | (() => string | null) | null;
1399
+ };
1400
+ };
1401
+
1402
+ export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
1403
+
932
1404
  export declare const Lang: Facade<LangService, Constructor<LangService>>;
933
1405
 
934
1406
  export declare interface LangProvider {
@@ -946,7 +1418,16 @@ declare class LangService extends Service {
946
1418
 
947
1419
  export declare type LangServices = typeof services_2;
948
1420
 
949
- export declare function mixedProp<T>(type: PropType<T>): OptionalProp<T | null>;
1421
+ export declare const loadingModalProps: {
1422
+ message: {
1423
+ type?: PropType<string | null> | undefined;
1424
+ validator?(value: unknown): boolean;
1425
+ } & {
1426
+ default: string | (() => string | null) | null;
1427
+ };
1428
+ };
1429
+
1430
+ export declare function mixedProp<T>(type?: PropType<T>): OptionalProp<T | null>;
950
1431
 
951
1432
  declare interface Modal<T = unknown> {
952
1433
  id: string;
@@ -961,6 +1442,21 @@ declare interface ModalComponent<Properties extends Record<string, unknown> = Re
961
1442
 
962
1443
  declare type ModalProperties<TComponent> = TComponent extends ModalComponent<infer TProperties, unknown> ? TProperties : never;
963
1444
 
1445
+ export declare const modalProps: {
1446
+ cancellable: {
1447
+ type?: PropType<boolean> | undefined;
1448
+ validator?(value: unknown): boolean;
1449
+ } & {
1450
+ default: boolean | (() => boolean) | null;
1451
+ };
1452
+ title: {
1453
+ type?: PropType<string | null> | undefined;
1454
+ validator?(value: unknown): boolean;
1455
+ } & {
1456
+ default: string | (() => string | null) | null;
1457
+ };
1458
+ };
1459
+
964
1460
  declare type ModalResult<TComponent> = TComponent extends ModalComponent<Record<string, unknown>, infer TResult> ? TResult : never;
965
1461
 
966
1462
  export declare function numberInput(defaultValue?: number): FormFieldDefinition<typeof FormFieldTypes.Number>;
@@ -980,17 +1476,20 @@ declare type OptionalProp<T> = BaseProp<T> & {
980
1476
  };
981
1477
 
982
1478
  declare interface Plugin_2 {
1479
+ name?: string;
983
1480
  install(app: App_2, options: AerogelOptions): void | Promise<void>;
984
1481
  }
985
1482
  export { Plugin_2 as Plugin }
986
1483
 
1484
+ export declare function removeInteractiveClasses(classes: string): string;
1485
+
987
1486
  export declare function requiredArrayProp<T>(): RequiredProp<T[]>;
988
1487
 
989
1488
  export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<typeof FormFieldTypes.Boolean, 'required'>;
990
1489
 
991
1490
  export declare function requiredEnumProp<Enum extends Record<string, unknown>>(enumeration: Enum): RequiredProp<Enum[keyof Enum]>;
992
1491
 
993
- export declare function requiredMixedProp<T>(type: PropType<T>): RequiredProp<T>;
1492
+ export declare function requiredMixedProp<T>(type?: PropType<T>): RequiredProp<T>;
994
1493
 
995
1494
  export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<typeof FormFieldTypes.Number, 'required'>;
996
1495
 
@@ -1006,6 +1505,33 @@ export declare function requiredStringInput(defaultValue?: string): FormFieldDef
1006
1505
 
1007
1506
  export declare function requiredStringProp(): RequiredProp<string>;
1008
1507
 
1508
+ export declare const selectProps: {
1509
+ name: {
1510
+ type?: PropType<string | null> | undefined;
1511
+ validator?(value: unknown): boolean;
1512
+ } & {
1513
+ default: string | (() => string | null) | null;
1514
+ };
1515
+ label: {
1516
+ type?: PropType<string | null> | undefined;
1517
+ validator?(value: unknown): boolean;
1518
+ } & {
1519
+ default: string | (() => string | null) | null;
1520
+ };
1521
+ options: {
1522
+ type?: PropType<IAGSelectOptionValue[]> | undefined;
1523
+ validator?(value: unknown): boolean;
1524
+ } & {
1525
+ required: true;
1526
+ };
1527
+ noSelectionText: {
1528
+ type?: PropType<string | null> | undefined;
1529
+ validator?(value: unknown): boolean;
1530
+ } & {
1531
+ default: string | (() => string | null) | null;
1532
+ };
1533
+ };
1534
+
1009
1535
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage extends Partial<State> = Partial<State>> extends MagicObject {
1010
1536
  static persist: string[];
1011
1537
  protected _name: string;
@@ -1028,8 +1554,9 @@ export declare class Service<State extends ServiceState = DefaultServiceState, C
1028
1554
  protected getInitialState(): State;
1029
1555
  protected getComputedStateDefinition(): ComputedStateDefinition<State, ComputedState>;
1030
1556
  protected serializePersistedState(state: Partial<State>): Partial<State>;
1557
+ protected frameworkBoot(): Promise<void>;
1031
1558
  protected boot(): Promise<void>;
1032
- protected restorePersistedState(): void;
1559
+ protected initializePersistedState(): void;
1033
1560
  }
1034
1561
 
1035
1562
  export declare type ServiceConstructor<T extends Service = Service> = Constructor<T> & typeof Service;
@@ -1051,7 +1578,7 @@ declare const services_3: {
1051
1578
 
1052
1579
  export declare type ServiceState = Record<string, any>;
1053
1580
 
1054
- declare interface ShowSnackbarOptions {
1581
+ export declare interface ShowSnackbarOptions {
1055
1582
  component?: Component;
1056
1583
  color?: SnackbarColor;
1057
1584
  actions?: SnackbarAction[];
@@ -1080,25 +1607,25 @@ export declare const SnackbarColors: Omit<{
1080
1607
 
1081
1608
  export declare const snackbarProps: {
1082
1609
  id: {
1083
- type: PropType<string>;
1610
+ type?: PropType<string> | undefined;
1084
1611
  validator?(value: unknown): boolean;
1085
1612
  } & {
1086
1613
  required: true;
1087
1614
  };
1088
1615
  message: {
1089
- type: PropType<string>;
1616
+ type?: PropType<string> | undefined;
1090
1617
  validator?(value: unknown): boolean;
1091
1618
  } & {
1092
1619
  required: true;
1093
1620
  };
1094
1621
  actions: {
1095
- type: PropType<SnackbarAction[]>;
1622
+ type?: PropType<SnackbarAction[]> | undefined;
1096
1623
  validator?(value: unknown): boolean;
1097
1624
  } & {
1098
1625
  default: SnackbarAction[] | (() => SnackbarAction[]) | null;
1099
1626
  };
1100
1627
  color: {
1101
- type: PropType<"secondary" | "danger">;
1628
+ type?: PropType<"secondary" | "danger"> | undefined;
1102
1629
  validator?(value: unknown): boolean;
1103
1630
  } & {
1104
1631
  default: "secondary" | "danger" | (() => "secondary" | "danger") | null;
@@ -1128,16 +1655,17 @@ export declare const UIComponents: {
1128
1655
  readonly ErrorReportModal: "error-report-modal";
1129
1656
  readonly LoadingModal: "loading-modal";
1130
1657
  readonly Snackbar: "snackbar";
1658
+ readonly StartupCrash: "startup-crash";
1131
1659
  };
1132
1660
 
1133
- declare class UIService extends _default_3 {
1661
+ export declare class UIService extends _default_3 {
1134
1662
  private modalCallbacks;
1135
1663
  private components;
1136
1664
  requireComponent(name: UIComponent): Component;
1137
1665
  alert(message: string): void;
1138
1666
  alert(title: string, message: string): void;
1139
- confirm(message: string): Promise<boolean>;
1140
- confirm(title: string, message: string): Promise<boolean>;
1667
+ confirm(message: string, options?: ConfirmOptions): Promise<boolean>;
1668
+ confirm(title: string, message: string, options?: ConfirmOptions): Promise<boolean>;
1141
1669
  loading<T>(operation: Promise<T>): Promise<T>;
1142
1670
  loading<T>(message: string, operation: Promise<T>): Promise<T>;
1143
1671
  showSnackbar(message: string, options?: ShowSnackbarOptions): void;
@@ -1147,33 +1675,75 @@ declare class UIService extends _default_3 {
1147
1675
  closeModal(id: string, result?: unknown): Promise<void>;
1148
1676
  protected boot(): Promise<void>;
1149
1677
  private watchModalEvents;
1678
+ private watchMountedEvent;
1150
1679
  }
1151
1680
 
1152
1681
  export declare type UIServices = typeof services_3;
1153
1682
 
1154
1683
  export declare type UnknownEvent<T> = T extends keyof EventsPayload ? never : T;
1155
1684
 
1685
+ export declare function useAlertModalProps(): typeof alertModalProps;
1686
+
1687
+ export declare function useConfirmModal(props: ExtractPropTypes<typeof confirmModalProps>): {
1688
+ renderedAcceptText: ComputedRef<string>;
1689
+ renderedCancelText: ComputedRef<string>;
1690
+ };
1691
+
1692
+ export declare function useConfirmModalProps(): typeof confirmModalProps;
1693
+
1694
+ export declare function useErrorReportModal(props: ExtractPropTypes<typeof errorReportModalProps>): {
1695
+ activeReportIndex: Ref<number>;
1696
+ details: ComputedRef<string>;
1697
+ nextReportText: string;
1698
+ previousReportText: string;
1699
+ report: ComputedRef<ErrorReport>;
1700
+ };
1701
+
1156
1702
  export declare function useErrorReportModalProps(): typeof errorReportModalProps;
1157
1703
 
1158
1704
  export declare function useEvent<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): void;
1159
1705
 
1160
1706
  export declare function useEvent<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): void;
1161
1707
 
1708
+ export declare function useEvent<Payload>(event: string, listener: (payload: Payload) => unknown): void;
1709
+
1162
1710
  export declare function useEvent<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): void;
1163
1711
 
1164
1712
  export declare function useForm<const T extends FormFieldDefinitions>(fields: T): Form<T> & FormData_2<T>;
1165
1713
 
1166
1714
  export declare function useInputAttrs(): [ComputedRef<{}>, ComputedRef<unknown>];
1167
1715
 
1716
+ export declare function useInputProps(): typeof inputProps;
1717
+
1718
+ export declare function useLoadingModal(props: ExtractPropTypes<typeof loadingModalProps>): {
1719
+ renderedMessage: ComputedRef<string>;
1720
+ };
1721
+
1722
+ export declare function useLoadingModalProps(): typeof loadingModalProps;
1723
+
1724
+ export declare function useModalExpose($modal: Ref<IAGHeadlessModal | undefined>): IAGModal;
1725
+
1726
+ export declare function useModalProps(): typeof modalProps;
1727
+
1728
+ export declare function useSelectProps(): typeof selectProps;
1729
+
1730
+ export declare function useSnackbar(props: ExtractPropTypes<typeof snackbarProps>): {
1731
+ activate: (action: SnackbarAction) => void;
1732
+ };
1733
+
1168
1734
  export declare function useSnackbarProps(): typeof snackbarProps;
1169
1735
 
1170
1736
  export { }
1171
1737
 
1172
- interface AerogelOptions {
1738
+ export interface EventsPayload {
1739
+ 'application-mounted': void;
1740
+ }
1741
+
1742
+ export interface AerogelOptions {
1173
1743
  directives?: Record<string, Directive>;
1174
1744
  }
1175
1745
 
1176
- interface AerogelOptions {
1746
+ export interface AerogelOptions {
1177
1747
  handleError?(error: ErrorSource): boolean;
1178
1748
  }
1179
1749
 
@@ -1187,7 +1757,7 @@ declare module '@vue/runtime-core' {
1187
1757
  }
1188
1758
  }
1189
1759
 
1190
- interface AerogelOptions {
1760
+ export interface AerogelOptions {
1191
1761
  services?: Record<string, Service>;
1192
1762
  }
1193
1763
 
@@ -1203,7 +1773,7 @@ declare module '@vue/runtime-core' {
1203
1773
  'show-modal': { id: string };
1204
1774
  }
1205
1775
 
1206
- interface AerogelOptions {
1776
+ export interface AerogelOptions {
1207
1777
  components?: Partial<Record<UIComponent, Component>>;
1208
1778
  }
1209
1779