@aerogel/core 0.0.0-next.9487bb13082b9d479112445804d906125ded5cbc → 0.0.0-next.97312fd206b83ac5ae520da32b1bb3f12fb55969

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 (72) 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 +603 -123
  4. package/dist/aerogel-core.esm.js +1 -1
  5. package/dist/aerogel-core.esm.js.map +1 -1
  6. package/package.json +12 -6
  7. package/src/bootstrap/bootstrap.test.ts +4 -3
  8. package/src/bootstrap/index.ts +19 -3
  9. package/src/bootstrap/options.ts +3 -0
  10. package/src/components/AGAppLayout.vue +7 -2
  11. package/src/components/AGAppOverlays.vue +5 -1
  12. package/src/components/AGAppSnackbars.vue +1 -1
  13. package/src/components/forms/AGCheckbox.vue +7 -1
  14. package/src/components/forms/AGInput.vue +8 -6
  15. package/src/components/forms/AGSelect.story.vue +21 -3
  16. package/src/components/forms/AGSelect.vue +10 -3
  17. package/src/components/headless/forms/AGHeadlessInput.ts +21 -1
  18. package/src/components/headless/forms/AGHeadlessInput.vue +4 -1
  19. package/src/components/headless/forms/AGHeadlessInputLabel.vue +8 -2
  20. package/src/components/headless/forms/AGHeadlessSelect.ts +21 -22
  21. package/src/components/headless/forms/AGHeadlessSelect.vue +24 -24
  22. package/src/components/headless/forms/AGHeadlessSelectLabel.vue +4 -1
  23. package/src/components/headless/forms/AGHeadlessSelectOption.vue +6 -6
  24. package/src/components/headless/modals/AGHeadlessModal.ts +27 -0
  25. package/src/components/headless/modals/AGHeadlessModal.vue +3 -5
  26. package/src/components/headless/modals/index.ts +4 -6
  27. package/src/components/headless/snackbars/index.ts +23 -8
  28. package/src/components/index.ts +1 -1
  29. package/src/components/lib/AGMeasured.vue +15 -0
  30. package/src/components/lib/AGStartupCrash.vue +31 -0
  31. package/src/components/lib/index.ts +5 -0
  32. package/src/components/modals/AGAlertModal.ts +15 -0
  33. package/src/components/modals/AGAlertModal.vue +4 -15
  34. package/src/components/modals/AGConfirmModal.ts +27 -0
  35. package/src/components/modals/AGConfirmModal.vue +8 -12
  36. package/src/components/modals/AGErrorReportModal.ts +27 -1
  37. package/src/components/modals/AGErrorReportModal.vue +8 -16
  38. package/src/components/modals/AGErrorReportModalButtons.vue +4 -2
  39. package/src/components/modals/AGErrorReportModalTitle.vue +1 -1
  40. package/src/components/modals/AGLoadingModal.ts +23 -0
  41. package/src/components/modals/AGLoadingModal.vue +4 -8
  42. package/src/components/modals/AGModal.ts +2 -2
  43. package/src/components/modals/AGModal.vue +14 -12
  44. package/src/components/modals/AGPromptModal.ts +30 -0
  45. package/src/components/modals/AGPromptModal.vue +34 -0
  46. package/src/components/modals/index.ts +13 -19
  47. package/src/components/snackbars/AGSnackbar.vue +3 -9
  48. package/src/components/utils.ts +10 -0
  49. package/src/directives/index.ts +3 -1
  50. package/src/directives/measure.ts +12 -0
  51. package/src/errors/Errors.ts +11 -6
  52. package/src/errors/index.ts +9 -13
  53. package/src/forms/Form.ts +1 -0
  54. package/src/services/App.state.ts +3 -4
  55. package/src/services/App.ts +23 -2
  56. package/src/services/Service.ts +21 -11
  57. package/src/services/index.ts +1 -1
  58. package/src/ui/UI.ts +118 -15
  59. package/src/ui/index.ts +8 -3
  60. package/src/utils/composition/events.ts +1 -0
  61. package/src/utils/index.ts +1 -0
  62. package/src/utils/tailwindcss.test.ts +26 -0
  63. package/src/utils/tailwindcss.ts +7 -0
  64. package/src/utils/vue.ts +10 -1
  65. package/tsconfig.json +1 -1
  66. package/.eslintrc.js +0 -3
  67. package/dist/virtual.d.ts +0 -11
  68. package/src/components/basic/index.ts +0 -5
  69. package/src/types/virtual.d.ts +0 -11
  70. /package/src/components/{basic → lib}/AGErrorMessage.vue +0 -0
  71. /package/src/components/{basic → lib}/AGLink.vue +0 -0
  72. /package/src/components/{basic → lib}/AGMarkdown.vue +0 -0
@@ -1,10 +1,8 @@
1
1
  import { ListboxOptions as AGHeadlessSelectOptions } from '@headlessui/vue';
2
- import { AllowedComponentProps } from 'vue';
3
2
  import type { App as App_2 } from 'vue';
4
3
  import type { Component } from 'vue';
5
- import { ComponentCustomProps } from 'vue';
6
4
  import { ComponentOptionsMixin } from 'vue';
7
- import type { ComputedRef } from 'vue';
5
+ import { ComputedRef } from 'vue';
8
6
  import { Constructor } from '@noeldemartin/utils';
9
7
  import type { DeepReadonly } from 'vue';
10
8
  import { DefineComponent } from 'vue';
@@ -15,18 +13,22 @@ import type { GetClosureArgs } from '@noeldemartin/utils';
15
13
  import type { InjectionKey } from 'vue';
16
14
  import type { JSError } from '@noeldemartin/utils';
17
15
  import { MagicObject } from '@noeldemartin/utils';
16
+ import type { MaybeRef } from 'vue';
18
17
  import type { ObjectValues } from '@noeldemartin/utils';
18
+ import type { ObjectWithoutEmpty } from '@noeldemartin/utils';
19
19
  import { PromisedValue } from '@noeldemartin/utils';
20
20
  import { PropType } from 'vue';
21
- import type { Ref } from 'vue';
21
+ import { PublicProps } from 'vue';
22
+ import { Ref } from 'vue';
22
23
  import { RendererElement } from 'vue';
23
24
  import { RendererNode } from 'vue';
24
25
  import type { UnwrapNestedRefs } from 'vue';
25
26
  import { VNode } from 'vue';
26
- import { VNodeProps } from 'vue';
27
+ import type { Writable } from '@noeldemartin/utils';
27
28
 
28
- declare interface AerogelOptions {
29
+ export declare interface AerogelOptions {
29
30
  plugins?: Plugin_2[];
31
+ install?(app: App_2): void | Promise<void>;
30
32
  }
31
33
 
32
34
  export declare const AGAlertModal: DefineComponent< {
@@ -44,7 +46,7 @@ required: true;
44
46
  };
45
47
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
46
48
  [key: string]: any;
47
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
49
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
48
50
  title: {
49
51
  type?: PropType<string | null> | undefined;
50
52
  validator?(value: unknown): boolean;
@@ -61,13 +63,15 @@ required: true;
61
63
  title: string | null;
62
64
  }, {}>;
63
65
 
66
+ export declare type AGAlertModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof alertModalProps>>;
67
+
64
68
  export declare const AGAppLayout: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
65
69
  [key: string]: any;
66
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
70
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
67
71
 
68
72
  export declare const AGAppOverlays: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
69
73
  [key: string]: any;
70
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
74
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
71
75
 
72
76
  export declare const AGButton: DefineComponent< {
73
77
  color: {
@@ -78,7 +82,7 @@ default: "primary" | "secondary" | "danger" | "clear" | (() => "primary" | "seco
78
82
  };
79
83
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
80
84
  [key: string]: any;
81
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
85
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
82
86
  color: {
83
87
  type?: PropType<"primary" | "secondary" | "danger" | "clear"> | undefined;
84
88
  validator?(value: unknown): boolean;
@@ -98,14 +102,16 @@ default: string | (() => string | null) | null;
98
102
  };
99
103
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
100
104
  [key: string]: any;
101
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
105
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
102
106
  name: {
103
107
  type?: PropType<string | null> | undefined;
104
108
  validator?(value: unknown): boolean;
105
109
  } & {
106
110
  default: string | (() => string | null) | null;
107
111
  };
108
- }>>, {
112
+ }>> & {
113
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
114
+ }, {
109
115
  name: string | null;
110
116
  }, {}>;
111
117
 
@@ -122,9 +128,21 @@ validator?(value: unknown): boolean;
122
128
  } & {
123
129
  required: true;
124
130
  };
131
+ acceptText: {
132
+ type?: PropType<string | null> | undefined;
133
+ validator?(value: unknown): boolean;
134
+ } & {
135
+ default: string | (() => string | null) | null;
136
+ };
137
+ cancelText: {
138
+ type?: PropType<string | null> | undefined;
139
+ validator?(value: unknown): boolean;
140
+ } & {
141
+ default: string | (() => string | null) | null;
142
+ };
125
143
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
126
144
  [key: string]: any;
127
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
145
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
128
146
  title: {
129
147
  type?: PropType<string | null> | undefined;
130
148
  validator?(value: unknown): boolean;
@@ -137,10 +155,26 @@ validator?(value: unknown): boolean;
137
155
  } & {
138
156
  required: true;
139
157
  };
158
+ acceptText: {
159
+ type?: PropType<string | null> | undefined;
160
+ validator?(value: unknown): boolean;
161
+ } & {
162
+ default: string | (() => string | null) | null;
163
+ };
164
+ cancelText: {
165
+ type?: PropType<string | null> | undefined;
166
+ validator?(value: unknown): boolean;
167
+ } & {
168
+ default: string | (() => string | null) | null;
169
+ };
140
170
  }>>, {
141
171
  title: string | null;
172
+ acceptText: string | null;
173
+ cancelText: string | null;
142
174
  }, {}>;
143
175
 
176
+ export declare type AGConfirmModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof confirmModalProps>>;
177
+
144
178
  export declare const AGErrorMessage: DefineComponent< {
145
179
  error: {
146
180
  type?: PropType<unknown> | undefined;
@@ -150,7 +184,7 @@ required: true;
150
184
  };
151
185
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
152
186
  [key: string]: any;
153
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
187
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
154
188
  error: {
155
189
  type?: PropType<unknown> | undefined;
156
190
  validator?(value: unknown): boolean;
@@ -168,7 +202,7 @@ required: true;
168
202
  };
169
203
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
170
204
  [key: string]: any;
171
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
205
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
172
206
  report: {
173
207
  type?: PropType<ErrorReport> | undefined;
174
208
  validator?(value: unknown): boolean;
@@ -177,6 +211,8 @@ required: true;
177
211
  };
178
212
  }>>, {}, {}>;
179
213
 
214
+ export declare type AGErrorReportModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof errorReportModalProps>>;
215
+
180
216
  export declare const AGErrorReportModalTitle: DefineComponent< {
181
217
  report: {
182
218
  type?: PropType<ErrorReport> | undefined;
@@ -198,7 +234,7 @@ default: number | (() => number | null) | null;
198
234
  };
199
235
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
200
236
  [key: string]: any;
201
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
237
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
202
238
  report: {
203
239
  type?: PropType<ErrorReport> | undefined;
204
240
  validator?(value: unknown): boolean;
@@ -231,7 +267,7 @@ default: Form<FormFieldDefinitions> | (() => Form<FormFieldDefinitions> | null)
231
267
  };
232
268
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
233
269
  [key: string]: any;
234
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "submit"[], "submit", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
270
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "submit"[], "submit", PublicProps, Readonly<ExtractPropTypes< {
235
271
  form: {
236
272
  type?: PropType<Form<FormFieldDefinitions> | null> | undefined;
237
273
  validator?(value: unknown): boolean;
@@ -283,7 +319,7 @@ default: boolean | (() => boolean) | null;
283
319
  };
284
320
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
285
321
  [key: string]: any;
286
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
322
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
287
323
  href: {
288
324
  type?: PropType<string | null> | undefined;
289
325
  validator?(value: unknown): boolean;
@@ -330,18 +366,24 @@ submit: boolean;
330
366
  }, {}>;
331
367
 
332
368
  export declare const AGHeadlessInput: DefineComponent< {
333
- as: {
334
- type?: PropType<string> | undefined;
369
+ name: {
370
+ type?: PropType<string | null> | undefined;
335
371
  validator?(value: unknown): boolean;
336
372
  } & {
337
- default: string | (() => string) | null;
373
+ default: string | (() => string | null) | null;
338
374
  };
339
- name: {
375
+ label: {
340
376
  type?: PropType<string | null> | undefined;
341
377
  validator?(value: unknown): boolean;
342
378
  } & {
343
379
  default: string | (() => string | null) | null;
344
380
  };
381
+ as: {
382
+ type?: PropType<string> | undefined;
383
+ validator?(value: unknown): boolean;
384
+ } & {
385
+ default: string | (() => string) | null;
386
+ };
345
387
  modelValue: {
346
388
  type?: PropType<string | number | boolean | null> | undefined;
347
389
  validator?(value: unknown): boolean;
@@ -350,19 +392,25 @@ default: string | number | boolean | (() => string | number | boolean | null) |
350
392
  };
351
393
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
352
394
  [key: string]: any;
353
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
354
- as: {
355
- type?: PropType<string> | undefined;
395
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
396
+ name: {
397
+ type?: PropType<string | null> | undefined;
356
398
  validator?(value: unknown): boolean;
357
399
  } & {
358
- default: string | (() => string) | null;
400
+ default: string | (() => string | null) | null;
359
401
  };
360
- name: {
402
+ label: {
361
403
  type?: PropType<string | null> | undefined;
362
404
  validator?(value: unknown): boolean;
363
405
  } & {
364
406
  default: string | (() => string | null) | null;
365
407
  };
408
+ as: {
409
+ type?: PropType<string> | undefined;
410
+ validator?(value: unknown): boolean;
411
+ } & {
412
+ default: string | (() => string) | null;
413
+ };
366
414
  modelValue: {
367
415
  type?: PropType<string | number | boolean | null> | undefined;
368
416
  validator?(value: unknown): boolean;
@@ -373,13 +421,14 @@ default: string | number | boolean | (() => string | number | boolean | null) |
373
421
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
374
422
  }, {
375
423
  as: string;
376
- name: string | null;
377
424
  modelValue: string | number | boolean | null;
425
+ name: string | null;
426
+ label: string | null;
378
427
  }, {}>;
379
428
 
380
429
  export declare const AGHeadlessInputError: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
381
430
  [key: string]: any;
382
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
431
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
383
432
 
384
433
  export declare const AGHeadlessInputInput: DefineComponent< {
385
434
  type: {
@@ -390,7 +439,7 @@ default: string | (() => string) | null;
390
439
  };
391
440
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
392
441
  [key: string]: any;
393
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
442
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
394
443
  type: {
395
444
  type?: PropType<string> | undefined;
396
445
  validator?(value: unknown): boolean;
@@ -403,7 +452,7 @@ type: string;
403
452
 
404
453
  export declare const AGHeadlessInputLabel: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
405
454
  [key: string]: any;
406
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
455
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
407
456
 
408
457
  export declare const AGHeadlessModal: DefineComponent< {
409
458
  cancellable: {
@@ -412,22 +461,35 @@ validator?(value: unknown): boolean;
412
461
  } & {
413
462
  default: boolean | (() => boolean) | null;
414
463
  };
464
+ title: {
465
+ type?: PropType<string | null> | undefined;
466
+ validator?(value: unknown): boolean;
467
+ } & {
468
+ default: string | (() => string | null) | null;
469
+ };
415
470
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
416
471
  [key: string]: any;
417
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
472
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
418
473
  cancellable: {
419
474
  type?: PropType<boolean> | undefined;
420
475
  validator?(value: unknown): boolean;
421
476
  } & {
422
477
  default: boolean | (() => boolean) | null;
423
478
  };
479
+ title: {
480
+ type?: PropType<string | null> | undefined;
481
+ validator?(value: unknown): boolean;
482
+ } & {
483
+ default: string | (() => string | null) | null;
484
+ };
424
485
  }>>, {
425
486
  cancellable: boolean;
487
+ title: string | null;
426
488
  }, {}>;
427
489
 
428
490
  export declare const AGHeadlessModalPanel: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
429
491
  [key: string]: any;
430
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
492
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
431
493
 
432
494
  export declare const AGHeadlessModalTitle: DefineComponent< {
433
495
  as: {
@@ -438,7 +500,7 @@ default: string | (() => string) | null;
438
500
  };
439
501
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
440
502
  [key: string]: any;
441
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
503
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
442
504
  as: {
443
505
  type?: PropType<string> | undefined;
444
506
  validator?(value: unknown): boolean;
@@ -450,11 +512,11 @@ as: string;
450
512
  }, {}>;
451
513
 
452
514
  export declare const AGHeadlessSelect: DefineComponent< {
453
- options: {
454
- type?: PropType<IAGSelectOptionValue[]> | undefined;
515
+ name: {
516
+ type?: PropType<string | null> | undefined;
455
517
  validator?(value: unknown): boolean;
456
518
  } & {
457
- required: true;
519
+ default: string | (() => string | null) | null;
458
520
  };
459
521
  label: {
460
522
  type?: PropType<string | null> | undefined;
@@ -462,32 +524,38 @@ validator?(value: unknown): boolean;
462
524
  } & {
463
525
  default: string | (() => string | null) | null;
464
526
  };
527
+ options: {
528
+ type?: PropType<FormFieldValue[]> | undefined;
529
+ validator?(value: unknown): boolean;
530
+ } & {
531
+ required: true;
532
+ };
465
533
  noSelectionText: {
466
534
  type?: PropType<string | null> | undefined;
467
535
  validator?(value: unknown): boolean;
468
536
  } & {
469
537
  default: string | (() => string | null) | null;
470
538
  };
471
- name: {
472
- type?: PropType<string | null> | undefined;
539
+ optionsText: {
540
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
473
541
  validator?(value: unknown): boolean;
474
542
  } & {
475
- default: string | (() => string | null) | null;
543
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
476
544
  };
477
545
  modelValue: {
478
- type?: PropType<IAGSelectOptionValue> | undefined;
546
+ type?: PropType<FormFieldValue | null> | undefined;
479
547
  validator?(value: unknown): boolean;
480
548
  } & {
481
- default: IAGSelectOptionValue | (() => IAGSelectOptionValue);
549
+ default: FormFieldValue | (() => FormFieldValue | null) | null;
482
550
  };
483
551
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
484
552
  [key: string]: any;
485
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
486
- options: {
487
- type?: PropType<IAGSelectOptionValue[]> | undefined;
553
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ["update:modelValue"], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
554
+ name: {
555
+ type?: PropType<string | null> | undefined;
488
556
  validator?(value: unknown): boolean;
489
557
  } & {
490
- required: true;
558
+ default: string | (() => string | null) | null;
491
559
  };
492
560
  label: {
493
561
  type?: PropType<string | null> | undefined;
@@ -495,31 +563,38 @@ validator?(value: unknown): boolean;
495
563
  } & {
496
564
  default: string | (() => string | null) | null;
497
565
  };
566
+ options: {
567
+ type?: PropType<FormFieldValue[]> | undefined;
568
+ validator?(value: unknown): boolean;
569
+ } & {
570
+ required: true;
571
+ };
498
572
  noSelectionText: {
499
573
  type?: PropType<string | null> | undefined;
500
574
  validator?(value: unknown): boolean;
501
575
  } & {
502
576
  default: string | (() => string | null) | null;
503
577
  };
504
- name: {
505
- type?: PropType<string | null> | undefined;
578
+ optionsText: {
579
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
506
580
  validator?(value: unknown): boolean;
507
581
  } & {
508
- default: string | (() => string | null) | null;
582
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
509
583
  };
510
584
  modelValue: {
511
- type?: PropType<IAGSelectOptionValue> | undefined;
585
+ type?: PropType<FormFieldValue | null> | undefined;
512
586
  validator?(value: unknown): boolean;
513
587
  } & {
514
- default: IAGSelectOptionValue | (() => IAGSelectOptionValue);
588
+ default: FormFieldValue | (() => FormFieldValue | null) | null;
515
589
  };
516
590
  }>> & {
517
591
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
518
592
  }, {
593
+ modelValue: FormFieldValue | null;
519
594
  name: string | null;
520
- modelValue: IAGSelectOptionValue;
521
595
  label: string | null;
522
596
  noSelectionText: string | null;
597
+ optionsText: string | ((option: FormFieldValue) => string) | null;
523
598
  }, {}>;
524
599
 
525
600
  export declare const AGHeadlessSelectButton: DefineComponent< {
@@ -531,7 +606,7 @@ default: string | (() => string | null) | null;
531
606
  };
532
607
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
533
608
  [key: string]: any;
534
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
609
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
535
610
  textClass: {
536
611
  type?: PropType<string | null> | undefined;
537
612
  validator?(value: unknown): boolean;
@@ -544,15 +619,15 @@ textClass: string | null;
544
619
 
545
620
  export declare const AGHeadlessSelectError: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
546
621
  [key: string]: any;
547
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
622
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
548
623
 
549
624
  export declare const AGHeadlessSelectLabel: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
550
625
  [key: string]: any;
551
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
626
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
552
627
 
553
628
  export declare const AGHeadlessSelectOption: DefineComponent< {
554
629
  value: {
555
- type?: PropType<IAGSelectOptionValue> | undefined;
630
+ type?: PropType<FormFieldValue> | undefined;
556
631
  validator?(value: unknown): boolean;
557
632
  } & {
558
633
  required: true;
@@ -583,9 +658,9 @@ default: string | (() => string | null) | null;
583
658
  };
584
659
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
585
660
  [key: string]: any;
586
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
661
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
587
662
  value: {
588
- type?: PropType<IAGSelectOptionValue> | undefined;
663
+ type?: PropType<FormFieldValue> | undefined;
589
664
  validator?(value: unknown): boolean;
590
665
  } & {
591
666
  required: true;
@@ -625,7 +700,7 @@ export { AGHeadlessSelectOptions }
625
700
 
626
701
  export declare const AGHeadlessSnackbar: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
627
702
  [key: string]: any;
628
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
703
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
629
704
 
630
705
  export declare const AGInput: DefineComponent< {
631
706
  name: {
@@ -634,22 +709,35 @@ validator?(value: unknown): boolean;
634
709
  } & {
635
710
  default: string | (() => string | null) | null;
636
711
  };
712
+ label: {
713
+ type?: PropType<string | null> | undefined;
714
+ validator?(value: unknown): boolean;
715
+ } & {
716
+ default: string | (() => string | null) | null;
717
+ };
637
718
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
638
719
  [key: string]: any;
639
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
720
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
640
721
  name: {
641
722
  type?: PropType<string | null> | undefined;
642
723
  validator?(value: unknown): boolean;
643
724
  } & {
644
725
  default: string | (() => string | null) | null;
645
726
  };
727
+ label: {
728
+ type?: PropType<string | null> | undefined;
729
+ validator?(value: unknown): boolean;
730
+ } & {
731
+ default: string | (() => string | null) | null;
732
+ };
646
733
  }>>, {
647
734
  name: string | null;
735
+ label: string | null;
648
736
  }, {}>;
649
737
 
650
738
  export declare const AGLink: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
651
739
  [key: string]: any;
652
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
740
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
653
741
 
654
742
  export declare const AGLoadingModal: DefineComponent< {
655
743
  message: {
@@ -660,7 +748,7 @@ default: string | (() => string | null) | null;
660
748
  };
661
749
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
662
750
  [key: string]: any;
663
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
751
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
664
752
  message: {
665
753
  type?: PropType<string | null> | undefined;
666
754
  validator?(value: unknown): boolean;
@@ -671,6 +759,8 @@ default: string | (() => string | null) | null;
671
759
  message: string | null;
672
760
  }, {}>;
673
761
 
762
+ export declare type AGLoadingModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof loadingModalProps>>;
763
+
674
764
  export declare const AGMarkdown: DefineComponent< {
675
765
  as: {
676
766
  type?: PropType<string | null> | undefined;
@@ -704,7 +794,7 @@ default: string | (() => string | null) | null;
704
794
  };
705
795
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
706
796
  [key: string]: any;
707
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
797
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
708
798
  as: {
709
799
  type?: PropType<string | null> | undefined;
710
800
  validator?(value: unknown): boolean;
@@ -743,6 +833,26 @@ langParams: Record<string, unknown> | null;
743
833
  text: string | null;
744
834
  }, {}>;
745
835
 
836
+ export declare const AGMeasured: DefineComponent< {
837
+ as: {
838
+ type?: PropType<string> | undefined;
839
+ validator?(value: unknown): boolean;
840
+ } & {
841
+ default: string | (() => string) | null;
842
+ };
843
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
844
+ [key: string]: any;
845
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
846
+ as: {
847
+ type?: PropType<string> | undefined;
848
+ validator?(value: unknown): boolean;
849
+ } & {
850
+ default: string | (() => string) | null;
851
+ };
852
+ }>>, {
853
+ as: string;
854
+ }, {}>;
855
+
746
856
  export declare const AGModal: DefineComponent< {
747
857
  cancellable: {
748
858
  type?: PropType<boolean> | undefined;
@@ -750,17 +860,30 @@ validator?(value: unknown): boolean;
750
860
  } & {
751
861
  default: boolean | (() => boolean) | null;
752
862
  };
863
+ title: {
864
+ type?: PropType<string | null> | undefined;
865
+ validator?(value: unknown): boolean;
866
+ } & {
867
+ default: string | (() => string | null) | null;
868
+ };
753
869
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
754
870
  [key: string]: any;
755
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
871
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
756
872
  cancellable: {
757
873
  type?: PropType<boolean> | undefined;
758
874
  validator?(value: unknown): boolean;
759
875
  } & {
760
876
  default: boolean | (() => boolean) | null;
761
877
  };
878
+ title: {
879
+ type?: PropType<string | null> | undefined;
880
+ validator?(value: unknown): boolean;
881
+ } & {
882
+ default: string | (() => string | null) | null;
883
+ };
762
884
  }>>, {
763
885
  cancellable: boolean;
886
+ title: string | null;
764
887
  }, {}>;
765
888
 
766
889
  export declare const AGModalContext: DefineComponent< {
@@ -778,7 +901,7 @@ required: true;
778
901
  };
779
902
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
780
903
  [key: string]: any;
781
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
904
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
782
905
  modal: {
783
906
  type?: PropType<Modal<unknown>> | undefined;
784
907
  validator?(value: unknown): boolean;
@@ -795,11 +918,17 @@ required: true;
795
918
 
796
919
  export declare const AGModalTitle: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
797
920
  [key: string]: any;
798
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
921
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
799
922
 
800
- export declare const AGSelect: DefineComponent< {
801
- options: {
802
- type?: PropType<IAGSelectOptionValue[]> | undefined;
923
+ export declare const AGPromptModal: DefineComponent< {
924
+ title: {
925
+ type?: PropType<string | null> | undefined;
926
+ validator?(value: unknown): boolean;
927
+ } & {
928
+ default: string | (() => string | null) | null;
929
+ };
930
+ message: {
931
+ type?: PropType<string> | undefined;
803
932
  validator?(value: unknown): boolean;
804
933
  } & {
805
934
  required: true;
@@ -810,7 +939,25 @@ validator?(value: unknown): boolean;
810
939
  } & {
811
940
  default: string | (() => string | null) | null;
812
941
  };
813
- noSelectionText: {
942
+ defaultValue: {
943
+ type?: PropType<string | null> | undefined;
944
+ validator?(value: unknown): boolean;
945
+ } & {
946
+ default: string | (() => string | null) | null;
947
+ };
948
+ placeholder: {
949
+ type?: PropType<string | null> | undefined;
950
+ validator?(value: unknown): boolean;
951
+ } & {
952
+ default: string | (() => string | null) | null;
953
+ };
954
+ acceptText: {
955
+ type?: PropType<string | null> | undefined;
956
+ validator?(value: unknown): boolean;
957
+ } & {
958
+ default: string | (() => string | null) | null;
959
+ };
960
+ cancelText: {
814
961
  type?: PropType<string | null> | undefined;
815
962
  validator?(value: unknown): boolean;
816
963
  } & {
@@ -818,28 +965,131 @@ default: string | (() => string | null) | null;
818
965
  };
819
966
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
820
967
  [key: string]: any;
821
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
968
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
969
+ title: {
970
+ type?: PropType<string | null> | undefined;
971
+ validator?(value: unknown): boolean;
972
+ } & {
973
+ default: string | (() => string | null) | null;
974
+ };
975
+ message: {
976
+ type?: PropType<string> | undefined;
977
+ validator?(value: unknown): boolean;
978
+ } & {
979
+ required: true;
980
+ };
981
+ label: {
982
+ type?: PropType<string | null> | undefined;
983
+ validator?(value: unknown): boolean;
984
+ } & {
985
+ default: string | (() => string | null) | null;
986
+ };
987
+ defaultValue: {
988
+ type?: PropType<string | null> | undefined;
989
+ validator?(value: unknown): boolean;
990
+ } & {
991
+ default: string | (() => string | null) | null;
992
+ };
993
+ placeholder: {
994
+ type?: PropType<string | null> | undefined;
995
+ validator?(value: unknown): boolean;
996
+ } & {
997
+ default: string | (() => string | null) | null;
998
+ };
999
+ acceptText: {
1000
+ type?: PropType<string | null> | undefined;
1001
+ validator?(value: unknown): boolean;
1002
+ } & {
1003
+ default: string | (() => string | null) | null;
1004
+ };
1005
+ cancelText: {
1006
+ type?: PropType<string | null> | undefined;
1007
+ validator?(value: unknown): boolean;
1008
+ } & {
1009
+ default: string | (() => string | null) | null;
1010
+ };
1011
+ }>>, {
1012
+ title: string | null;
1013
+ label: string | null;
1014
+ defaultValue: string | null;
1015
+ placeholder: string | null;
1016
+ acceptText: string | null;
1017
+ cancelText: string | null;
1018
+ }, {}>;
1019
+
1020
+ export declare type AGPromptModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof promptModalProps>>;
1021
+
1022
+ export declare const AGSelect: DefineComponent< {
1023
+ name: {
1024
+ type?: PropType<string | null> | undefined;
1025
+ validator?(value: unknown): boolean;
1026
+ } & {
1027
+ default: string | (() => string | null) | null;
1028
+ };
1029
+ label: {
1030
+ type?: PropType<string | null> | undefined;
1031
+ validator?(value: unknown): boolean;
1032
+ } & {
1033
+ default: string | (() => string | null) | null;
1034
+ };
822
1035
  options: {
823
- type?: PropType<IAGSelectOptionValue[]> | undefined;
1036
+ type?: PropType<FormFieldValue[]> | undefined;
824
1037
  validator?(value: unknown): boolean;
825
1038
  } & {
826
1039
  required: true;
827
1040
  };
1041
+ noSelectionText: {
1042
+ type?: PropType<string | null> | undefined;
1043
+ validator?(value: unknown): boolean;
1044
+ } & {
1045
+ default: string | (() => string | null) | null;
1046
+ };
1047
+ optionsText: {
1048
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
1049
+ validator?(value: unknown): boolean;
1050
+ } & {
1051
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
1052
+ };
1053
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
1054
+ [key: string]: any;
1055
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ["update:modelValue"], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
1056
+ name: {
1057
+ type?: PropType<string | null> | undefined;
1058
+ validator?(value: unknown): boolean;
1059
+ } & {
1060
+ default: string | (() => string | null) | null;
1061
+ };
828
1062
  label: {
829
1063
  type?: PropType<string | null> | undefined;
830
1064
  validator?(value: unknown): boolean;
831
1065
  } & {
832
1066
  default: string | (() => string | null) | null;
833
1067
  };
1068
+ options: {
1069
+ type?: PropType<FormFieldValue[]> | undefined;
1070
+ validator?(value: unknown): boolean;
1071
+ } & {
1072
+ required: true;
1073
+ };
834
1074
  noSelectionText: {
835
1075
  type?: PropType<string | null> | undefined;
836
1076
  validator?(value: unknown): boolean;
837
1077
  } & {
838
1078
  default: string | (() => string | null) | null;
839
1079
  };
840
- }>>, {
1080
+ optionsText: {
1081
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
1082
+ validator?(value: unknown): boolean;
1083
+ } & {
1084
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
1085
+ };
1086
+ }>> & {
1087
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1088
+ }, {
1089
+ name: string | null;
841
1090
  label: string | null;
842
1091
  noSelectionText: string | null;
1092
+ optionsText: string | ((option: FormFieldValue) => string) | null;
843
1093
  }, {}>;
844
1094
 
845
1095
  export declare const AGSnackbar: DefineComponent< {
@@ -869,7 +1119,7 @@ default: "secondary" | "danger" | (() => "secondary" | "danger") | null;
869
1119
  };
870
1120
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
871
1121
  [key: string]: any;
872
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
1122
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
873
1123
  id: {
874
1124
  type?: PropType<string> | undefined;
875
1125
  validator?(value: unknown): boolean;
@@ -899,9 +1149,35 @@ actions: SnackbarAction[];
899
1149
  color: "secondary" | "danger";
900
1150
  }, {}>;
901
1151
 
1152
+ export declare type AGSnackbarProps = ObjectWithoutEmpty<ExtractPropTypes<typeof snackbarProps>>;
1153
+
1154
+ export declare const AGStartupCrash: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
1155
+ [key: string]: any;
1156
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
1157
+
1158
+ export declare const alertModalProps: {
1159
+ title: {
1160
+ type?: PropType<string | null> | undefined;
1161
+ validator?(value: unknown): boolean;
1162
+ } & {
1163
+ default: string | (() => string | null) | null;
1164
+ };
1165
+ message: {
1166
+ type?: PropType<string> | undefined;
1167
+ validator?(value: unknown): boolean;
1168
+ } & {
1169
+ required: true;
1170
+ };
1171
+ };
1172
+
902
1173
  export declare const App: Facade<AppService, Constructor<AppService>>;
903
1174
 
904
1175
  export declare class AppService extends _default_2 {
1176
+ readonly ready: PromisedValue<void>;
1177
+ readonly mounted: PromisedValue<void>;
1178
+ isReady(): boolean;
1179
+ isMounted(): boolean;
1180
+ reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
905
1181
  plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
906
1182
  protected boot(): Promise<void>;
907
1183
  }
@@ -919,7 +1195,9 @@ export declare function booleanProp(defaultValue?: boolean): OptionalProp<boolea
919
1195
 
920
1196
  export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
921
1197
 
922
- export declare function bootstrapApplication(rootComponent: Component, options?: AerogelOptions): Promise<void>;
1198
+ export declare function bootstrap(rootComponent: Component, options?: AerogelOptions): Promise<void>;
1199
+
1200
+ export declare function bootstrapApplication(app: App_2, options?: AerogelOptions): Promise<void>;
923
1201
 
924
1202
  export declare type Color = (typeof Colors)[keyof typeof Colors];
925
1203
 
@@ -934,64 +1212,95 @@ export declare type ComponentProps = Record<string, unknown>;
934
1212
 
935
1213
  export declare function componentRef<T>(): Ref<UnwrapNestedRefs<T> | undefined>;
936
1214
 
1215
+ export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
1216
+
937
1217
  export declare type ComputedStateDefinition<TState extends ServiceState, TComputedState extends ServiceState> = {
938
1218
  [K in keyof TComputedState]: (state: TState) => TComputedState[K];
939
1219
  } & ThisType<{
940
1220
  readonly [K in keyof TComputedState]: TComputedState[K];
941
1221
  }>;
942
1222
 
943
- declare const _default: Constructor< {
1223
+ export declare const confirmModalProps: {
1224
+ title: {
1225
+ type?: PropType<string | null> | undefined;
1226
+ validator?(value: unknown): boolean;
1227
+ } & {
1228
+ default: string | (() => string | null) | null;
1229
+ };
1230
+ message: {
1231
+ type?: PropType<string> | undefined;
1232
+ validator?(value: unknown): boolean;
1233
+ } & {
1234
+ required: true;
1235
+ };
1236
+ acceptText: {
1237
+ type?: PropType<string | null> | undefined;
1238
+ validator?(value: unknown): boolean;
1239
+ } & {
1240
+ default: string | (() => string | null) | null;
1241
+ };
1242
+ cancelText: {
1243
+ type?: PropType<string | null> | undefined;
1244
+ validator?(value: unknown): boolean;
1245
+ } & {
1246
+ default: string | (() => string | null) | null;
1247
+ };
1248
+ };
1249
+
1250
+ export declare interface ConfirmOptions {
1251
+ acceptText?: string;
1252
+ cancelText?: string;
1253
+ }
1254
+
1255
+ declare const _default: Constructor<UnrefServiceState< {
944
1256
  logs: ErrorReportLog[];
945
1257
  startupErrors: ErrorReport[];
946
- }> & Constructor< {
1258
+ }>> & Constructor< {
947
1259
  hasErrors: boolean;
948
1260
  hasNewErrors: boolean;
949
1261
  hasStartupErrors: boolean;
950
- }> & Constructor<Service< {
1262
+ }> & Constructor<Service<UnrefServiceState< {
951
1263
  logs: ErrorReportLog[];
952
1264
  startupErrors: ErrorReport[];
953
- }, {
1265
+ }>, {
954
1266
  hasErrors: boolean;
955
1267
  hasNewErrors: boolean;
956
1268
  hasStartupErrors: boolean;
957
- }, Partial<{
1269
+ }, Partial<UnrefServiceState< {
958
1270
  logs: ErrorReportLog[];
959
1271
  startupErrors: ErrorReport[];
960
- }>>>;
1272
+ }>>>>;
961
1273
 
962
- declare const _default_2: Constructor< {
1274
+ declare const _default_2: Constructor<UnrefServiceState< {
963
1275
  plugins: Record<string, Plugin_2>;
964
- environment: "production" | "development" | "testing";
1276
+ environment: string;
965
1277
  sourceUrl: string | undefined;
966
- isMounted: boolean;
967
- }> & Constructor< {
1278
+ }>> & Constructor< {
968
1279
  development: boolean;
969
1280
  testing: boolean;
970
- }> & Constructor<Service< {
1281
+ }> & Constructor<Service<UnrefServiceState< {
971
1282
  plugins: Record<string, Plugin_2>;
972
- environment: "production" | "development" | "testing";
1283
+ environment: string;
973
1284
  sourceUrl: string | undefined;
974
- isMounted: boolean;
975
- }, {
1285
+ }>, {
976
1286
  development: boolean;
977
1287
  testing: boolean;
978
- }, Partial<{
1288
+ }, Partial<UnrefServiceState< {
979
1289
  plugins: Record<string, Plugin_2>;
980
- environment: "production" | "development" | "testing";
1290
+ environment: string;
981
1291
  sourceUrl: string | undefined;
982
- isMounted: boolean;
983
- }>>>;
1292
+ }>>>>;
984
1293
 
985
- declare const _default_3: Constructor< {
1294
+ declare const _default_3: Constructor<UnrefServiceState< {
986
1295
  modals: Modal<unknown>[];
987
1296
  snackbars: Snackbar[];
988
- }> & Constructor< {}> & Constructor<Service< {
1297
+ }>> & Constructor< {}> & Constructor<Service<UnrefServiceState< {
989
1298
  modals: Modal<unknown>[];
990
1299
  snackbars: Snackbar[];
991
- }, {}, Partial<{
1300
+ }>, {}, Partial<UnrefServiceState< {
992
1301
  modals: Modal<unknown>[];
993
1302
  snackbars: Snackbar[];
994
- }>>>;
1303
+ }>>>>;
995
1304
 
996
1305
  export declare type DefaultServices = typeof defaultServices;
997
1306
 
@@ -1012,7 +1321,7 @@ export declare function defineServiceState<State extends ServiceState = ServiceS
1012
1321
  persist?: (keyof State)[];
1013
1322
  computed?: ComputedStateDefinition<State, ComputedState>;
1014
1323
  serialize?: (state: Partial<State>) => Partial<State>;
1015
- }): Constructor<State> & Constructor<ComputedState> & Constructor<Service<State, ComputedState, Partial<State>>>;
1324
+ }): Constructor<UnrefServiceState<State>> & Constructor<ComputedState> & Constructor<Service<UnrefServiceState<State>, ComputedState, Partial<UnrefServiceState<State>>>>;
1016
1325
 
1017
1326
  export declare function enumProp<Enum extends Record<string, unknown>>(enumeration: Enum, defaultValue?: Enum[keyof Enum]): OptionalProp<Enum[keyof Enum]>;
1018
1327
 
@@ -1092,7 +1401,11 @@ export declare type EventWithPayload = {
1092
1401
  [K in keyof EventsPayload]: EventsPayload[K] extends void ? never : K;
1093
1402
  }[keyof EventsPayload];
1094
1403
 
1095
- export declare function extractSelectProps<T extends Record<keyof typeof selectProps, unknown>>(componentProps: T): Pick<T, keyof typeof selectProps>;
1404
+ export declare function extractInputProps<T extends ExtractPropTypes<typeof inputProps>>(props: T): Pick<T, keyof typeof inputProps>;
1405
+
1406
+ export declare function extractModalProps<T extends ExtractPropTypes<typeof modalProps>>(props: T): Pick<T, keyof typeof modalProps>;
1407
+
1408
+ export declare function extractSelectProps<T extends ExtractPropTypes<typeof selectProps>>(props: T): Pick<T, keyof typeof selectProps>;
1096
1409
 
1097
1410
  declare class Form<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
1098
1411
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
@@ -1146,6 +1459,8 @@ export declare const FormFieldTypes: {
1146
1459
  readonly Object: "object";
1147
1460
  };
1148
1461
 
1462
+ export declare type FormFieldValue = GetFormFieldValue<FormFieldType>;
1463
+
1149
1464
  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;
1150
1465
 
1151
1466
  export declare interface IAGErrorReportModalButtonsDefaultSlotProps {
@@ -1158,6 +1473,8 @@ export declare interface IAGErrorReportModalButtonsDefaultSlotProps {
1158
1473
 
1159
1474
  export declare interface IAGHeadlessInput {
1160
1475
  id: string;
1476
+ name: ComputedRef<string | null>;
1477
+ label: ComputedRef<string | null>;
1161
1478
  value: ComputedRef<string | number | boolean | null>;
1162
1479
  errors: DeepReadonly<Ref<string[] | null>>;
1163
1480
  update(value: string | number | boolean | null): void;
@@ -1166,15 +1483,20 @@ export declare interface IAGHeadlessInput {
1166
1483
  export declare interface IAGHeadlessModal extends IAGModal {
1167
1484
  }
1168
1485
 
1486
+ export declare interface IAGHeadlessModalDefaultSlotProps {
1487
+ close(result?: unknown): Promise<void>;
1488
+ }
1489
+
1169
1490
  export declare interface IAGHeadlessSelect {
1170
1491
  id: string;
1171
1492
  label: ComputedRef<string | null>;
1172
1493
  noSelectionText: ComputedRef<string>;
1173
1494
  buttonText: ComputedRef<string>;
1174
- selectedOption: ComputedRef<IAGSelectOption | undefined>;
1175
- options: ComputedRef<IAGSelectOption[]>;
1495
+ renderText: ComputedRef<(value: FormFieldValue) => string>;
1496
+ selectedOption: ComputedRef<FormFieldValue | null>;
1497
+ options: ComputedRef<FormFieldValue[]>;
1176
1498
  errors: DeepReadonly<Ref<string[] | null>>;
1177
- update(value: IAGSelectOptionValue): void;
1499
+ update(value: FormFieldValue): void;
1178
1500
  }
1179
1501
 
1180
1502
  export declare type IAGHeadlessSelectOptionSlotProps = {
@@ -1184,7 +1506,7 @@ export declare type IAGHeadlessSelectOptionSlotProps = {
1184
1506
 
1185
1507
  export declare interface IAGModal {
1186
1508
  cancellable: Ref<boolean>;
1187
- close(): Promise<void>;
1509
+ close(result?: unknown): Promise<void>;
1188
1510
  }
1189
1511
 
1190
1512
  export declare interface IAGModalContext {
@@ -1192,23 +1514,31 @@ export declare interface IAGModalContext {
1192
1514
  childIndex: Ref<number>;
1193
1515
  }
1194
1516
 
1195
- export declare interface IAGModalSlotProps {
1517
+ export declare interface IAGModalDefaultSlotProps {
1196
1518
  close(result?: unknown): Promise<void>;
1197
1519
  }
1198
1520
 
1199
- export declare interface IAGSelectOption {
1200
- value: string | number | boolean | object | null;
1201
- text: string;
1202
- }
1203
-
1204
- export declare type IAGSelectOptionValue = string | number | boolean | object | null;
1205
-
1206
1521
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
1207
1522
 
1208
1523
  export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
1209
1524
 
1210
1525
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
1211
1526
 
1527
+ export declare const inputProps: {
1528
+ name: {
1529
+ type?: PropType<string | null> | undefined;
1530
+ validator?(value: unknown): boolean;
1531
+ } & {
1532
+ default: string | (() => string | null) | null;
1533
+ };
1534
+ label: {
1535
+ type?: PropType<string | null> | undefined;
1536
+ validator?(value: unknown): boolean;
1537
+ } & {
1538
+ default: string | (() => string | null) | null;
1539
+ };
1540
+ };
1541
+
1212
1542
  export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
1213
1543
 
1214
1544
  export declare const Lang: Facade<LangService, Constructor<LangService>>;
@@ -1228,6 +1558,15 @@ declare class LangService extends Service {
1228
1558
 
1229
1559
  export declare type LangServices = typeof services_2;
1230
1560
 
1561
+ export declare const loadingModalProps: {
1562
+ message: {
1563
+ type?: PropType<string | null> | undefined;
1564
+ validator?(value: unknown): boolean;
1565
+ } & {
1566
+ default: string | (() => string | null) | null;
1567
+ };
1568
+ };
1569
+
1231
1570
  export declare function mixedProp<T>(type?: PropType<T>): OptionalProp<T | null>;
1232
1571
 
1233
1572
  declare interface Modal<T = unknown> {
@@ -1243,6 +1582,21 @@ declare interface ModalComponent<Properties extends Record<string, unknown> = Re
1243
1582
 
1244
1583
  declare type ModalProperties<TComponent> = TComponent extends ModalComponent<infer TProperties, unknown> ? TProperties : never;
1245
1584
 
1585
+ export declare const modalProps: {
1586
+ cancellable: {
1587
+ type?: PropType<boolean> | undefined;
1588
+ validator?(value: unknown): boolean;
1589
+ } & {
1590
+ default: boolean | (() => boolean) | null;
1591
+ };
1592
+ title: {
1593
+ type?: PropType<string | null> | undefined;
1594
+ validator?(value: unknown): boolean;
1595
+ } & {
1596
+ default: string | (() => string | null) | null;
1597
+ };
1598
+ };
1599
+
1246
1600
  declare type ModalResult<TComponent> = TComponent extends ModalComponent<Record<string, unknown>, infer TResult> ? TResult : never;
1247
1601
 
1248
1602
  export declare function numberInput(defaultValue?: number): FormFieldDefinition<typeof FormFieldTypes.Number>;
@@ -1267,6 +1621,61 @@ declare interface Plugin_2 {
1267
1621
  }
1268
1622
  export { Plugin_2 as Plugin }
1269
1623
 
1624
+ export declare const promptModalProps: {
1625
+ title: {
1626
+ type?: PropType<string | null> | undefined;
1627
+ validator?(value: unknown): boolean;
1628
+ } & {
1629
+ default: string | (() => string | null) | null;
1630
+ };
1631
+ message: {
1632
+ type?: PropType<string> | undefined;
1633
+ validator?(value: unknown): boolean;
1634
+ } & {
1635
+ required: true;
1636
+ };
1637
+ label: {
1638
+ type?: PropType<string | null> | undefined;
1639
+ validator?(value: unknown): boolean;
1640
+ } & {
1641
+ default: string | (() => string | null) | null;
1642
+ };
1643
+ defaultValue: {
1644
+ type?: PropType<string | null> | undefined;
1645
+ validator?(value: unknown): boolean;
1646
+ } & {
1647
+ default: string | (() => string | null) | null;
1648
+ };
1649
+ placeholder: {
1650
+ type?: PropType<string | null> | undefined;
1651
+ validator?(value: unknown): boolean;
1652
+ } & {
1653
+ default: string | (() => string | null) | null;
1654
+ };
1655
+ acceptText: {
1656
+ type?: PropType<string | null> | undefined;
1657
+ validator?(value: unknown): boolean;
1658
+ } & {
1659
+ default: string | (() => string | null) | null;
1660
+ };
1661
+ cancelText: {
1662
+ type?: PropType<string | null> | undefined;
1663
+ validator?(value: unknown): boolean;
1664
+ } & {
1665
+ default: string | (() => string | null) | null;
1666
+ };
1667
+ };
1668
+
1669
+ export declare interface PromptOptions {
1670
+ label?: string;
1671
+ defaultValue?: string;
1672
+ placeholder?: string;
1673
+ acceptText?: string;
1674
+ cancelText?: string;
1675
+ }
1676
+
1677
+ export declare function removeInteractiveClasses(classes: string): string;
1678
+
1270
1679
  export declare function requiredArrayProp<T>(): RequiredProp<T[]>;
1271
1680
 
1272
1681
  export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<typeof FormFieldTypes.Boolean, 'required'>;
@@ -1289,12 +1698,14 @@ export declare function requiredStringInput(defaultValue?: string): FormFieldDef
1289
1698
 
1290
1699
  export declare function requiredStringProp(): RequiredProp<string>;
1291
1700
 
1701
+ export declare const selectEmits: readonly ["update:modelValue"];
1702
+
1292
1703
  export declare const selectProps: {
1293
- options: {
1294
- type?: PropType<IAGSelectOptionValue[]> | undefined;
1704
+ name: {
1705
+ type?: PropType<string | null> | undefined;
1295
1706
  validator?(value: unknown): boolean;
1296
1707
  } & {
1297
- required: true;
1708
+ default: string | (() => string | null) | null;
1298
1709
  };
1299
1710
  label: {
1300
1711
  type?: PropType<string | null> | undefined;
@@ -1302,12 +1713,24 @@ export declare const selectProps: {
1302
1713
  } & {
1303
1714
  default: string | (() => string | null) | null;
1304
1715
  };
1716
+ options: {
1717
+ type?: PropType<FormFieldValue[]> | undefined;
1718
+ validator?(value: unknown): boolean;
1719
+ } & {
1720
+ required: true;
1721
+ };
1305
1722
  noSelectionText: {
1306
1723
  type?: PropType<string | null> | undefined;
1307
1724
  validator?(value: unknown): boolean;
1308
1725
  } & {
1309
1726
  default: string | (() => string | null) | null;
1310
1727
  };
1728
+ optionsText: {
1729
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
1730
+ validator?(value: unknown): boolean;
1731
+ } & {
1732
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
1733
+ };
1311
1734
  };
1312
1735
 
1313
1736
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage extends Partial<State> = Partial<State>> extends MagicObject {
@@ -1334,7 +1757,7 @@ export declare class Service<State extends ServiceState = DefaultServiceState, C
1334
1757
  protected serializePersistedState(state: Partial<State>): Partial<State>;
1335
1758
  protected frameworkBoot(): Promise<void>;
1336
1759
  protected boot(): Promise<void>;
1337
- protected restorePersistedState(): void;
1760
+ protected initializePersistedState(): void;
1338
1761
  }
1339
1762
 
1340
1763
  export declare type ServiceConstructor<T extends Service = Service> = Constructor<T> & typeof Service;
@@ -1356,7 +1779,7 @@ declare const services_3: {
1356
1779
 
1357
1780
  export declare type ServiceState = Record<string, any>;
1358
1781
 
1359
- declare interface ShowSnackbarOptions {
1782
+ export declare interface ShowSnackbarOptions {
1360
1783
  component?: Component;
1361
1784
  color?: SnackbarColor;
1362
1785
  actions?: SnackbarAction[];
@@ -1432,17 +1855,21 @@ export declare const UIComponents: {
1432
1855
  readonly ConfirmModal: "confirm-modal";
1433
1856
  readonly ErrorReportModal: "error-report-modal";
1434
1857
  readonly LoadingModal: "loading-modal";
1858
+ readonly PromptModal: "prompt-modal";
1435
1859
  readonly Snackbar: "snackbar";
1860
+ readonly StartupCrash: "startup-crash";
1436
1861
  };
1437
1862
 
1438
- declare class UIService extends _default_3 {
1863
+ export declare class UIService extends _default_3 {
1439
1864
  private modalCallbacks;
1440
1865
  private components;
1441
1866
  requireComponent(name: UIComponent): Component;
1442
1867
  alert(message: string): void;
1443
1868
  alert(title: string, message: string): void;
1444
- confirm(message: string): Promise<boolean>;
1445
- confirm(title: string, message: string): Promise<boolean>;
1869
+ confirm(message: string, options?: ConfirmOptions): Promise<boolean>;
1870
+ confirm(title: string, message: string, options?: ConfirmOptions): Promise<boolean>;
1871
+ prompt(message: string, options?: PromptOptions): Promise<string | null>;
1872
+ prompt(title: string, message: string, options?: PromptOptions): Promise<string | null>;
1446
1873
  loading<T>(operation: Promise<T>): Promise<T>;
1447
1874
  loading<T>(message: string, operation: Promise<T>): Promise<T>;
1448
1875
  showSnackbar(message: string, options?: ShowSnackbarOptions): void;
@@ -1452,35 +1879,88 @@ declare class UIService extends _default_3 {
1452
1879
  closeModal(id: string, result?: unknown): Promise<void>;
1453
1880
  protected boot(): Promise<void>;
1454
1881
  private watchModalEvents;
1882
+ private watchMountedEvent;
1455
1883
  }
1456
1884
 
1457
1885
  export declare type UIServices = typeof services_3;
1458
1886
 
1459
1887
  export declare type UnknownEvent<T> = T extends keyof EventsPayload ? never : T;
1460
1888
 
1889
+ export declare type UnrefServiceState<State extends ServiceState> = {
1890
+ [K in keyof State]: State[K] extends MaybeRef<infer T> ? T : State[K];
1891
+ };
1892
+
1893
+ export declare function useAlertModalProps(): typeof alertModalProps;
1894
+
1895
+ export declare function useConfirmModal(props: ExtractPropTypes<typeof confirmModalProps>): {
1896
+ renderedAcceptText: ComputedRef<string>;
1897
+ renderedCancelText: ComputedRef<string>;
1898
+ };
1899
+
1900
+ export declare function useConfirmModalProps(): typeof confirmModalProps;
1901
+
1902
+ export declare function useErrorReportModal(props: ExtractPropTypes<typeof errorReportModalProps>): {
1903
+ activeReportIndex: Ref<number>;
1904
+ details: ComputedRef<string>;
1905
+ nextReportText: string;
1906
+ previousReportText: string;
1907
+ report: ComputedRef<ErrorReport>;
1908
+ };
1909
+
1461
1910
  export declare function useErrorReportModalProps(): typeof errorReportModalProps;
1462
1911
 
1463
1912
  export declare function useEvent<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): void;
1464
1913
 
1465
1914
  export declare function useEvent<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): void;
1466
1915
 
1916
+ export declare function useEvent<Payload>(event: string, listener: (payload: Payload) => unknown): void;
1917
+
1467
1918
  export declare function useEvent<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): void;
1468
1919
 
1469
1920
  export declare function useForm<const T extends FormFieldDefinitions>(fields: T): Form<T> & FormData_2<T>;
1470
1921
 
1471
1922
  export declare function useInputAttrs(): [ComputedRef<{}>, ComputedRef<unknown>];
1472
1923
 
1924
+ export declare function useInputProps(): typeof inputProps;
1925
+
1926
+ export declare function useLoadingModal(props: ExtractPropTypes<typeof loadingModalProps>): {
1927
+ renderedMessage: ComputedRef<string>;
1928
+ };
1929
+
1930
+ export declare function useLoadingModalProps(): typeof loadingModalProps;
1931
+
1932
+ export declare function useModalExpose($modal: Ref<IAGHeadlessModal | undefined>): IAGModal;
1933
+
1934
+ export declare function useModalProps(): typeof modalProps;
1935
+
1936
+ export declare function usePromptModal(props: ExtractPropTypes<typeof promptModalProps>): {
1937
+ renderedAcceptText: ComputedRef<string>;
1938
+ renderedCancelText: ComputedRef<string>;
1939
+ };
1940
+
1941
+ export declare function usePromptModalProps(): typeof promptModalProps;
1942
+
1943
+ export declare function useSelectEmits(): Writable<typeof selectEmits>;
1944
+
1473
1945
  export declare function useSelectProps(): typeof selectProps;
1474
1946
 
1947
+ export declare function useSnackbar(props: ExtractPropTypes<typeof snackbarProps>): {
1948
+ activate: (action: SnackbarAction) => void;
1949
+ };
1950
+
1475
1951
  export declare function useSnackbarProps(): typeof snackbarProps;
1476
1952
 
1477
1953
  export { }
1478
1954
 
1479
- interface AerogelOptions {
1955
+ export interface EventsPayload {
1956
+ 'application-mounted': void;
1957
+ }
1958
+
1959
+ export interface AerogelOptions {
1480
1960
  directives?: Record<string, Directive>;
1481
1961
  }
1482
1962
 
1483
- interface AerogelOptions {
1963
+ export interface AerogelOptions {
1484
1964
  handleError?(error: ErrorSource): boolean;
1485
1965
  }
1486
1966
 
@@ -1494,7 +1974,7 @@ declare module '@vue/runtime-core' {
1494
1974
  }
1495
1975
  }
1496
1976
 
1497
- interface AerogelOptions {
1977
+ export interface AerogelOptions {
1498
1978
  services?: Record<string, Service>;
1499
1979
  }
1500
1980
 
@@ -1510,7 +1990,7 @@ declare module '@vue/runtime-core' {
1510
1990
  'show-modal': { id: string };
1511
1991
  }
1512
1992
 
1513
- interface AerogelOptions {
1993
+ export interface AerogelOptions {
1514
1994
  components?: Partial<Record<UIComponent, Component>>;
1515
1995
  }
1516
1996