@aerogel/core 0.0.0-next.a56c0f4966eb71571173f8502f3f36d357ceebc7 → 0.0.0-next.a68f133e2c9a1ae9ba84b4e2e42df909289e5fba

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 (63) 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 +615 -133
  4. package/dist/aerogel-core.esm.js +1 -1
  5. package/dist/aerogel-core.esm.js.map +1 -1
  6. package/package.json +4 -4
  7. package/src/bootstrap/bootstrap.test.ts +3 -3
  8. package/src/bootstrap/index.ts +13 -3
  9. package/src/bootstrap/options.ts +3 -0
  10. package/src/components/AGAppLayout.vue +3 -2
  11. package/src/components/AGAppOverlays.vue +5 -1
  12. package/src/components/forms/AGCheckbox.vue +7 -1
  13. package/src/components/forms/AGInput.vue +8 -6
  14. package/src/components/forms/AGSelect.story.vue +21 -3
  15. package/src/components/forms/AGSelect.vue +10 -3
  16. package/src/components/headless/forms/AGHeadlessInput.ts +21 -1
  17. package/src/components/headless/forms/AGHeadlessInput.vue +4 -1
  18. package/src/components/headless/forms/AGHeadlessInputLabel.vue +8 -2
  19. package/src/components/headless/forms/AGHeadlessSelect.ts +21 -22
  20. package/src/components/headless/forms/AGHeadlessSelect.vue +24 -24
  21. package/src/components/headless/forms/AGHeadlessSelectLabel.vue +4 -1
  22. package/src/components/headless/forms/AGHeadlessSelectOption.vue +6 -6
  23. package/src/components/headless/modals/AGHeadlessModal.ts +27 -0
  24. package/src/components/headless/modals/AGHeadlessModal.vue +3 -5
  25. package/src/components/headless/modals/index.ts +4 -6
  26. package/src/components/headless/snackbars/index.ts +23 -8
  27. package/src/components/lib/AGMeasured.vue +15 -0
  28. package/src/components/lib/index.ts +1 -0
  29. package/src/components/modals/AGAlertModal.ts +15 -0
  30. package/src/components/modals/AGAlertModal.vue +3 -14
  31. package/src/components/modals/AGConfirmModal.ts +27 -0
  32. package/src/components/modals/AGConfirmModal.vue +7 -11
  33. package/src/components/modals/AGErrorReportModal.ts +27 -1
  34. package/src/components/modals/AGErrorReportModal.vue +7 -15
  35. package/src/components/modals/AGErrorReportModalButtons.vue +4 -2
  36. package/src/components/modals/AGLoadingModal.ts +23 -0
  37. package/src/components/modals/AGLoadingModal.vue +3 -7
  38. package/src/components/modals/AGModal.ts +2 -2
  39. package/src/components/modals/AGModal.vue +14 -12
  40. package/src/components/modals/AGPromptModal.ts +30 -0
  41. package/src/components/modals/AGPromptModal.vue +34 -0
  42. package/src/components/modals/index.ts +13 -19
  43. package/src/components/snackbars/AGSnackbar.vue +2 -8
  44. package/src/components/utils.ts +10 -0
  45. package/src/directives/index.ts +3 -1
  46. package/src/directives/measure.ts +12 -0
  47. package/src/errors/Errors.ts +17 -8
  48. package/src/errors/index.ts +1 -11
  49. package/src/forms/Form.ts +1 -0
  50. package/src/lang/Lang.ts +1 -1
  51. package/src/services/App.state.ts +1 -2
  52. package/src/services/App.ts +21 -3
  53. package/src/services/Events.ts +1 -1
  54. package/src/services/Service.ts +44 -14
  55. package/src/services/index.ts +2 -1
  56. package/src/services/store.ts +8 -5
  57. package/src/ui/UI.ts +93 -12
  58. package/src/ui/index.ts +8 -3
  59. package/src/utils/composition/events.ts +1 -0
  60. package/src/utils/index.ts +1 -0
  61. package/src/utils/tailwindcss.test.ts +26 -0
  62. package/src/utils/tailwindcss.ts +7 -0
  63. package/src/utils/vue.ts +10 -1
@@ -1,32 +1,39 @@
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';
9
+ import type { DefineStoreOptions } from 'pinia';
11
10
  import type { Directive } from 'vue';
12
11
  import { ExtractPropTypes } from 'vue';
13
12
  import { Facade } from '@noeldemartin/utils';
14
13
  import type { GetClosureArgs } from '@noeldemartin/utils';
14
+ import type { _GettersTree } from 'pinia';
15
15
  import type { InjectionKey } from 'vue';
16
16
  import type { JSError } from '@noeldemartin/utils';
17
17
  import { MagicObject } from '@noeldemartin/utils';
18
+ import type { MaybeRef } from 'vue';
18
19
  import type { ObjectValues } from '@noeldemartin/utils';
20
+ import type { ObjectWithoutEmpty } from '@noeldemartin/utils';
21
+ import type { Pinia } from 'pinia';
19
22
  import { PromisedValue } from '@noeldemartin/utils';
20
23
  import { PropType } from 'vue';
21
- import type { Ref } from 'vue';
24
+ import { PublicProps } from 'vue';
25
+ import { Ref } from 'vue';
22
26
  import { RendererElement } from 'vue';
23
27
  import { RendererNode } from 'vue';
28
+ import type { StateTree } from 'pinia';
29
+ import type { Store } from 'pinia';
24
30
  import type { UnwrapNestedRefs } from 'vue';
25
31
  import { VNode } from 'vue';
26
- import { VNodeProps } from 'vue';
32
+ import type { Writable } from '@noeldemartin/utils';
27
33
 
28
- declare interface AerogelOptions {
34
+ export declare interface AerogelOptions {
29
35
  plugins?: Plugin_2[];
36
+ install?(app: App_2): void | Promise<void>;
30
37
  }
31
38
 
32
39
  export declare const AGAlertModal: DefineComponent< {
@@ -44,7 +51,7 @@ required: true;
44
51
  };
45
52
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
46
53
  [key: string]: any;
47
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
54
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
48
55
  title: {
49
56
  type?: PropType<string | null> | undefined;
50
57
  validator?(value: unknown): boolean;
@@ -61,13 +68,15 @@ required: true;
61
68
  title: string | null;
62
69
  }, {}>;
63
70
 
71
+ export declare type AGAlertModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof alertModalProps>>;
72
+
64
73
  export declare const AGAppLayout: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
65
74
  [key: string]: any;
66
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
75
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
67
76
 
68
77
  export declare const AGAppOverlays: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
69
78
  [key: string]: any;
70
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
79
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
71
80
 
72
81
  export declare const AGButton: DefineComponent< {
73
82
  color: {
@@ -78,7 +87,7 @@ default: "primary" | "secondary" | "danger" | "clear" | (() => "primary" | "seco
78
87
  };
79
88
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
80
89
  [key: string]: any;
81
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
90
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
82
91
  color: {
83
92
  type?: PropType<"primary" | "secondary" | "danger" | "clear"> | undefined;
84
93
  validator?(value: unknown): boolean;
@@ -98,14 +107,16 @@ default: string | (() => string | null) | null;
98
107
  };
99
108
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
100
109
  [key: string]: any;
101
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
110
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
102
111
  name: {
103
112
  type?: PropType<string | null> | undefined;
104
113
  validator?(value: unknown): boolean;
105
114
  } & {
106
115
  default: string | (() => string | null) | null;
107
116
  };
108
- }>>, {
117
+ }>> & {
118
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
119
+ }, {
109
120
  name: string | null;
110
121
  }, {}>;
111
122
 
@@ -122,9 +133,21 @@ validator?(value: unknown): boolean;
122
133
  } & {
123
134
  required: true;
124
135
  };
136
+ acceptText: {
137
+ type?: PropType<string | null> | undefined;
138
+ validator?(value: unknown): boolean;
139
+ } & {
140
+ default: string | (() => string | null) | null;
141
+ };
142
+ cancelText: {
143
+ type?: PropType<string | null> | undefined;
144
+ validator?(value: unknown): boolean;
145
+ } & {
146
+ default: string | (() => string | null) | null;
147
+ };
125
148
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
126
149
  [key: string]: any;
127
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
150
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
128
151
  title: {
129
152
  type?: PropType<string | null> | undefined;
130
153
  validator?(value: unknown): boolean;
@@ -137,10 +160,26 @@ validator?(value: unknown): boolean;
137
160
  } & {
138
161
  required: true;
139
162
  };
163
+ acceptText: {
164
+ type?: PropType<string | null> | undefined;
165
+ validator?(value: unknown): boolean;
166
+ } & {
167
+ default: string | (() => string | null) | null;
168
+ };
169
+ cancelText: {
170
+ type?: PropType<string | null> | undefined;
171
+ validator?(value: unknown): boolean;
172
+ } & {
173
+ default: string | (() => string | null) | null;
174
+ };
140
175
  }>>, {
141
176
  title: string | null;
177
+ acceptText: string | null;
178
+ cancelText: string | null;
142
179
  }, {}>;
143
180
 
181
+ export declare type AGConfirmModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof confirmModalProps>>;
182
+
144
183
  export declare const AGErrorMessage: DefineComponent< {
145
184
  error: {
146
185
  type?: PropType<unknown> | undefined;
@@ -150,7 +189,7 @@ required: true;
150
189
  };
151
190
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
152
191
  [key: string]: any;
153
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
192
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
154
193
  error: {
155
194
  type?: PropType<unknown> | undefined;
156
195
  validator?(value: unknown): boolean;
@@ -168,7 +207,7 @@ required: true;
168
207
  };
169
208
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
170
209
  [key: string]: any;
171
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
210
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
172
211
  report: {
173
212
  type?: PropType<ErrorReport> | undefined;
174
213
  validator?(value: unknown): boolean;
@@ -177,6 +216,8 @@ required: true;
177
216
  };
178
217
  }>>, {}, {}>;
179
218
 
219
+ export declare type AGErrorReportModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof errorReportModalProps>>;
220
+
180
221
  export declare const AGErrorReportModalTitle: DefineComponent< {
181
222
  report: {
182
223
  type?: PropType<ErrorReport> | undefined;
@@ -198,7 +239,7 @@ default: number | (() => number | null) | null;
198
239
  };
199
240
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
200
241
  [key: string]: any;
201
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
242
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
202
243
  report: {
203
244
  type?: PropType<ErrorReport> | undefined;
204
245
  validator?(value: unknown): boolean;
@@ -231,7 +272,7 @@ default: Form<FormFieldDefinitions> | (() => Form<FormFieldDefinitions> | null)
231
272
  };
232
273
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
233
274
  [key: string]: any;
234
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "submit"[], "submit", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
275
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "submit"[], "submit", PublicProps, Readonly<ExtractPropTypes< {
235
276
  form: {
236
277
  type?: PropType<Form<FormFieldDefinitions> | null> | undefined;
237
278
  validator?(value: unknown): boolean;
@@ -283,7 +324,7 @@ default: boolean | (() => boolean) | null;
283
324
  };
284
325
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
285
326
  [key: string]: any;
286
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
327
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
287
328
  href: {
288
329
  type?: PropType<string | null> | undefined;
289
330
  validator?(value: unknown): boolean;
@@ -330,18 +371,24 @@ submit: boolean;
330
371
  }, {}>;
331
372
 
332
373
  export declare const AGHeadlessInput: DefineComponent< {
333
- as: {
334
- type?: PropType<string> | undefined;
374
+ name: {
375
+ type?: PropType<string | null> | undefined;
335
376
  validator?(value: unknown): boolean;
336
377
  } & {
337
- default: string | (() => string) | null;
378
+ default: string | (() => string | null) | null;
338
379
  };
339
- name: {
380
+ label: {
340
381
  type?: PropType<string | null> | undefined;
341
382
  validator?(value: unknown): boolean;
342
383
  } & {
343
384
  default: string | (() => string | null) | null;
344
385
  };
386
+ as: {
387
+ type?: PropType<string> | undefined;
388
+ validator?(value: unknown): boolean;
389
+ } & {
390
+ default: string | (() => string) | null;
391
+ };
345
392
  modelValue: {
346
393
  type?: PropType<string | number | boolean | null> | undefined;
347
394
  validator?(value: unknown): boolean;
@@ -350,19 +397,25 @@ default: string | number | boolean | (() => string | number | boolean | null) |
350
397
  };
351
398
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
352
399
  [key: string]: any;
353
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
354
- as: {
355
- type?: PropType<string> | undefined;
400
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
401
+ name: {
402
+ type?: PropType<string | null> | undefined;
356
403
  validator?(value: unknown): boolean;
357
404
  } & {
358
- default: string | (() => string) | null;
405
+ default: string | (() => string | null) | null;
359
406
  };
360
- name: {
407
+ label: {
361
408
  type?: PropType<string | null> | undefined;
362
409
  validator?(value: unknown): boolean;
363
410
  } & {
364
411
  default: string | (() => string | null) | null;
365
412
  };
413
+ as: {
414
+ type?: PropType<string> | undefined;
415
+ validator?(value: unknown): boolean;
416
+ } & {
417
+ default: string | (() => string) | null;
418
+ };
366
419
  modelValue: {
367
420
  type?: PropType<string | number | boolean | null> | undefined;
368
421
  validator?(value: unknown): boolean;
@@ -373,13 +426,14 @@ default: string | number | boolean | (() => string | number | boolean | null) |
373
426
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
374
427
  }, {
375
428
  as: string;
376
- name: string | null;
377
429
  modelValue: string | number | boolean | null;
430
+ name: string | null;
431
+ label: string | null;
378
432
  }, {}>;
379
433
 
380
434
  export declare const AGHeadlessInputError: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
381
435
  [key: string]: any;
382
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
436
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
383
437
 
384
438
  export declare const AGHeadlessInputInput: DefineComponent< {
385
439
  type: {
@@ -390,7 +444,7 @@ default: string | (() => string) | null;
390
444
  };
391
445
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
392
446
  [key: string]: any;
393
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
447
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
394
448
  type: {
395
449
  type?: PropType<string> | undefined;
396
450
  validator?(value: unknown): boolean;
@@ -403,7 +457,7 @@ type: string;
403
457
 
404
458
  export declare const AGHeadlessInputLabel: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
405
459
  [key: string]: any;
406
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
460
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
407
461
 
408
462
  export declare const AGHeadlessModal: DefineComponent< {
409
463
  cancellable: {
@@ -412,22 +466,35 @@ validator?(value: unknown): boolean;
412
466
  } & {
413
467
  default: boolean | (() => boolean) | null;
414
468
  };
469
+ title: {
470
+ type?: PropType<string | null> | undefined;
471
+ validator?(value: unknown): boolean;
472
+ } & {
473
+ default: string | (() => string | null) | null;
474
+ };
415
475
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
416
476
  [key: string]: any;
417
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
477
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
418
478
  cancellable: {
419
479
  type?: PropType<boolean> | undefined;
420
480
  validator?(value: unknown): boolean;
421
481
  } & {
422
482
  default: boolean | (() => boolean) | null;
423
483
  };
484
+ title: {
485
+ type?: PropType<string | null> | undefined;
486
+ validator?(value: unknown): boolean;
487
+ } & {
488
+ default: string | (() => string | null) | null;
489
+ };
424
490
  }>>, {
425
491
  cancellable: boolean;
492
+ title: string | null;
426
493
  }, {}>;
427
494
 
428
495
  export declare const AGHeadlessModalPanel: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
429
496
  [key: string]: any;
430
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
497
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
431
498
 
432
499
  export declare const AGHeadlessModalTitle: DefineComponent< {
433
500
  as: {
@@ -438,7 +505,7 @@ default: string | (() => string) | null;
438
505
  };
439
506
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
440
507
  [key: string]: any;
441
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
508
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
442
509
  as: {
443
510
  type?: PropType<string> | undefined;
444
511
  validator?(value: unknown): boolean;
@@ -450,11 +517,11 @@ as: string;
450
517
  }, {}>;
451
518
 
452
519
  export declare const AGHeadlessSelect: DefineComponent< {
453
- options: {
454
- type?: PropType<IAGSelectOptionValue[]> | undefined;
520
+ name: {
521
+ type?: PropType<string | null> | undefined;
455
522
  validator?(value: unknown): boolean;
456
523
  } & {
457
- required: true;
524
+ default: string | (() => string | null) | null;
458
525
  };
459
526
  label: {
460
527
  type?: PropType<string | null> | undefined;
@@ -462,32 +529,38 @@ validator?(value: unknown): boolean;
462
529
  } & {
463
530
  default: string | (() => string | null) | null;
464
531
  };
532
+ options: {
533
+ type?: PropType<FormFieldValue[]> | undefined;
534
+ validator?(value: unknown): boolean;
535
+ } & {
536
+ required: true;
537
+ };
465
538
  noSelectionText: {
466
539
  type?: PropType<string | null> | undefined;
467
540
  validator?(value: unknown): boolean;
468
541
  } & {
469
542
  default: string | (() => string | null) | null;
470
543
  };
471
- name: {
472
- type?: PropType<string | null> | undefined;
544
+ optionsText: {
545
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
473
546
  validator?(value: unknown): boolean;
474
547
  } & {
475
- default: string | (() => string | null) | null;
548
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
476
549
  };
477
550
  modelValue: {
478
- type?: PropType<IAGSelectOptionValue> | undefined;
551
+ type?: PropType<FormFieldValue | null> | undefined;
479
552
  validator?(value: unknown): boolean;
480
553
  } & {
481
- default: IAGSelectOptionValue | (() => IAGSelectOptionValue);
554
+ default: FormFieldValue | (() => FormFieldValue | null) | null;
482
555
  };
483
556
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
484
557
  [key: string]: any;
485
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
486
- options: {
487
- type?: PropType<IAGSelectOptionValue[]> | undefined;
558
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ["update:modelValue"], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
559
+ name: {
560
+ type?: PropType<string | null> | undefined;
488
561
  validator?(value: unknown): boolean;
489
562
  } & {
490
- required: true;
563
+ default: string | (() => string | null) | null;
491
564
  };
492
565
  label: {
493
566
  type?: PropType<string | null> | undefined;
@@ -495,31 +568,38 @@ validator?(value: unknown): boolean;
495
568
  } & {
496
569
  default: string | (() => string | null) | null;
497
570
  };
571
+ options: {
572
+ type?: PropType<FormFieldValue[]> | undefined;
573
+ validator?(value: unknown): boolean;
574
+ } & {
575
+ required: true;
576
+ };
498
577
  noSelectionText: {
499
578
  type?: PropType<string | null> | undefined;
500
579
  validator?(value: unknown): boolean;
501
580
  } & {
502
581
  default: string | (() => string | null) | null;
503
582
  };
504
- name: {
505
- type?: PropType<string | null> | undefined;
583
+ optionsText: {
584
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
506
585
  validator?(value: unknown): boolean;
507
586
  } & {
508
- default: string | (() => string | null) | null;
587
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
509
588
  };
510
589
  modelValue: {
511
- type?: PropType<IAGSelectOptionValue> | undefined;
590
+ type?: PropType<FormFieldValue | null> | undefined;
512
591
  validator?(value: unknown): boolean;
513
592
  } & {
514
- default: IAGSelectOptionValue | (() => IAGSelectOptionValue);
593
+ default: FormFieldValue | (() => FormFieldValue | null) | null;
515
594
  };
516
595
  }>> & {
517
596
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
518
597
  }, {
598
+ modelValue: FormFieldValue | null;
519
599
  name: string | null;
520
- modelValue: IAGSelectOptionValue;
521
600
  label: string | null;
522
601
  noSelectionText: string | null;
602
+ optionsText: string | ((option: FormFieldValue) => string) | null;
523
603
  }, {}>;
524
604
 
525
605
  export declare const AGHeadlessSelectButton: DefineComponent< {
@@ -531,7 +611,7 @@ default: string | (() => string | null) | null;
531
611
  };
532
612
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
533
613
  [key: string]: any;
534
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
614
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
535
615
  textClass: {
536
616
  type?: PropType<string | null> | undefined;
537
617
  validator?(value: unknown): boolean;
@@ -544,15 +624,15 @@ textClass: string | null;
544
624
 
545
625
  export declare const AGHeadlessSelectError: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
546
626
  [key: string]: any;
547
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
627
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
548
628
 
549
629
  export declare const AGHeadlessSelectLabel: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
550
630
  [key: string]: any;
551
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
631
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
552
632
 
553
633
  export declare const AGHeadlessSelectOption: DefineComponent< {
554
634
  value: {
555
- type?: PropType<IAGSelectOptionValue> | undefined;
635
+ type?: PropType<FormFieldValue> | undefined;
556
636
  validator?(value: unknown): boolean;
557
637
  } & {
558
638
  required: true;
@@ -583,9 +663,9 @@ default: string | (() => string | null) | null;
583
663
  };
584
664
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
585
665
  [key: string]: any;
586
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
666
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
587
667
  value: {
588
- type?: PropType<IAGSelectOptionValue> | undefined;
668
+ type?: PropType<FormFieldValue> | undefined;
589
669
  validator?(value: unknown): boolean;
590
670
  } & {
591
671
  required: true;
@@ -625,7 +705,7 @@ export { AGHeadlessSelectOptions }
625
705
 
626
706
  export declare const AGHeadlessSnackbar: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
627
707
  [key: string]: any;
628
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
708
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
629
709
 
630
710
  export declare const AGInput: DefineComponent< {
631
711
  name: {
@@ -634,22 +714,35 @@ validator?(value: unknown): boolean;
634
714
  } & {
635
715
  default: string | (() => string | null) | null;
636
716
  };
717
+ label: {
718
+ type?: PropType<string | null> | undefined;
719
+ validator?(value: unknown): boolean;
720
+ } & {
721
+ default: string | (() => string | null) | null;
722
+ };
637
723
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
638
724
  [key: string]: any;
639
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
725
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
640
726
  name: {
641
727
  type?: PropType<string | null> | undefined;
642
728
  validator?(value: unknown): boolean;
643
729
  } & {
644
730
  default: string | (() => string | null) | null;
645
731
  };
732
+ label: {
733
+ type?: PropType<string | null> | undefined;
734
+ validator?(value: unknown): boolean;
735
+ } & {
736
+ default: string | (() => string | null) | null;
737
+ };
646
738
  }>>, {
647
739
  name: string | null;
740
+ label: string | null;
648
741
  }, {}>;
649
742
 
650
743
  export declare const AGLink: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
651
744
  [key: string]: any;
652
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
745
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
653
746
 
654
747
  export declare const AGLoadingModal: DefineComponent< {
655
748
  message: {
@@ -660,7 +753,7 @@ default: string | (() => string | null) | null;
660
753
  };
661
754
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
662
755
  [key: string]: any;
663
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
756
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
664
757
  message: {
665
758
  type?: PropType<string | null> | undefined;
666
759
  validator?(value: unknown): boolean;
@@ -671,6 +764,8 @@ default: string | (() => string | null) | null;
671
764
  message: string | null;
672
765
  }, {}>;
673
766
 
767
+ export declare type AGLoadingModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof loadingModalProps>>;
768
+
674
769
  export declare const AGMarkdown: DefineComponent< {
675
770
  as: {
676
771
  type?: PropType<string | null> | undefined;
@@ -704,7 +799,7 @@ default: string | (() => string | null) | null;
704
799
  };
705
800
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
706
801
  [key: string]: any;
707
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
802
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
708
803
  as: {
709
804
  type?: PropType<string | null> | undefined;
710
805
  validator?(value: unknown): boolean;
@@ -743,6 +838,26 @@ langParams: Record<string, unknown> | null;
743
838
  text: string | null;
744
839
  }, {}>;
745
840
 
841
+ export declare const AGMeasured: DefineComponent< {
842
+ as: {
843
+ type?: PropType<string> | undefined;
844
+ validator?(value: unknown): boolean;
845
+ } & {
846
+ default: string | (() => string) | null;
847
+ };
848
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
849
+ [key: string]: any;
850
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
851
+ as: {
852
+ type?: PropType<string> | undefined;
853
+ validator?(value: unknown): boolean;
854
+ } & {
855
+ default: string | (() => string) | null;
856
+ };
857
+ }>>, {
858
+ as: string;
859
+ }, {}>;
860
+
746
861
  export declare const AGModal: DefineComponent< {
747
862
  cancellable: {
748
863
  type?: PropType<boolean> | undefined;
@@ -750,17 +865,30 @@ validator?(value: unknown): boolean;
750
865
  } & {
751
866
  default: boolean | (() => boolean) | null;
752
867
  };
868
+ title: {
869
+ type?: PropType<string | null> | undefined;
870
+ validator?(value: unknown): boolean;
871
+ } & {
872
+ default: string | (() => string | null) | null;
873
+ };
753
874
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
754
875
  [key: string]: any;
755
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
876
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
756
877
  cancellable: {
757
878
  type?: PropType<boolean> | undefined;
758
879
  validator?(value: unknown): boolean;
759
880
  } & {
760
881
  default: boolean | (() => boolean) | null;
761
882
  };
883
+ title: {
884
+ type?: PropType<string | null> | undefined;
885
+ validator?(value: unknown): boolean;
886
+ } & {
887
+ default: string | (() => string | null) | null;
888
+ };
762
889
  }>>, {
763
890
  cancellable: boolean;
891
+ title: string | null;
764
892
  }, {}>;
765
893
 
766
894
  export declare const AGModalContext: DefineComponent< {
@@ -778,7 +906,7 @@ required: true;
778
906
  };
779
907
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
780
908
  [key: string]: any;
781
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
909
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
782
910
  modal: {
783
911
  type?: PropType<Modal<unknown>> | undefined;
784
912
  validator?(value: unknown): boolean;
@@ -795,11 +923,17 @@ required: true;
795
923
 
796
924
  export declare const AGModalTitle: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
797
925
  [key: string]: any;
798
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
926
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
799
927
 
800
- export declare const AGSelect: DefineComponent< {
801
- options: {
802
- type?: PropType<IAGSelectOptionValue[]> | undefined;
928
+ export declare const AGPromptModal: DefineComponent< {
929
+ title: {
930
+ type?: PropType<string | null> | undefined;
931
+ validator?(value: unknown): boolean;
932
+ } & {
933
+ default: string | (() => string | null) | null;
934
+ };
935
+ message: {
936
+ type?: PropType<string> | undefined;
803
937
  validator?(value: unknown): boolean;
804
938
  } & {
805
939
  required: true;
@@ -810,7 +944,25 @@ validator?(value: unknown): boolean;
810
944
  } & {
811
945
  default: string | (() => string | null) | null;
812
946
  };
813
- noSelectionText: {
947
+ defaultValue: {
948
+ type?: PropType<string | null> | undefined;
949
+ validator?(value: unknown): boolean;
950
+ } & {
951
+ default: string | (() => string | null) | null;
952
+ };
953
+ placeholder: {
954
+ type?: PropType<string | null> | undefined;
955
+ validator?(value: unknown): boolean;
956
+ } & {
957
+ default: string | (() => string | null) | null;
958
+ };
959
+ acceptText: {
960
+ type?: PropType<string | null> | undefined;
961
+ validator?(value: unknown): boolean;
962
+ } & {
963
+ default: string | (() => string | null) | null;
964
+ };
965
+ cancelText: {
814
966
  type?: PropType<string | null> | undefined;
815
967
  validator?(value: unknown): boolean;
816
968
  } & {
@@ -818,28 +970,131 @@ default: string | (() => string | null) | null;
818
970
  };
819
971
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
820
972
  [key: string]: any;
821
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
973
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
974
+ title: {
975
+ type?: PropType<string | null> | undefined;
976
+ validator?(value: unknown): boolean;
977
+ } & {
978
+ default: string | (() => string | null) | null;
979
+ };
980
+ message: {
981
+ type?: PropType<string> | undefined;
982
+ validator?(value: unknown): boolean;
983
+ } & {
984
+ required: true;
985
+ };
986
+ label: {
987
+ type?: PropType<string | null> | undefined;
988
+ validator?(value: unknown): boolean;
989
+ } & {
990
+ default: string | (() => string | null) | null;
991
+ };
992
+ defaultValue: {
993
+ type?: PropType<string | null> | undefined;
994
+ validator?(value: unknown): boolean;
995
+ } & {
996
+ default: string | (() => string | null) | null;
997
+ };
998
+ placeholder: {
999
+ type?: PropType<string | null> | undefined;
1000
+ validator?(value: unknown): boolean;
1001
+ } & {
1002
+ default: string | (() => string | null) | null;
1003
+ };
1004
+ acceptText: {
1005
+ type?: PropType<string | null> | undefined;
1006
+ validator?(value: unknown): boolean;
1007
+ } & {
1008
+ default: string | (() => string | null) | null;
1009
+ };
1010
+ cancelText: {
1011
+ type?: PropType<string | null> | undefined;
1012
+ validator?(value: unknown): boolean;
1013
+ } & {
1014
+ default: string | (() => string | null) | null;
1015
+ };
1016
+ }>>, {
1017
+ title: string | null;
1018
+ label: string | null;
1019
+ defaultValue: string | null;
1020
+ placeholder: string | null;
1021
+ acceptText: string | null;
1022
+ cancelText: string | null;
1023
+ }, {}>;
1024
+
1025
+ export declare type AGPromptModalProps = ObjectWithoutEmpty<ExtractPropTypes<typeof promptModalProps>>;
1026
+
1027
+ export declare const AGSelect: DefineComponent< {
1028
+ name: {
1029
+ type?: PropType<string | null> | undefined;
1030
+ validator?(value: unknown): boolean;
1031
+ } & {
1032
+ default: string | (() => string | null) | null;
1033
+ };
1034
+ label: {
1035
+ type?: PropType<string | null> | undefined;
1036
+ validator?(value: unknown): boolean;
1037
+ } & {
1038
+ default: string | (() => string | null) | null;
1039
+ };
822
1040
  options: {
823
- type?: PropType<IAGSelectOptionValue[]> | undefined;
1041
+ type?: PropType<FormFieldValue[]> | undefined;
824
1042
  validator?(value: unknown): boolean;
825
1043
  } & {
826
1044
  required: true;
827
1045
  };
1046
+ noSelectionText: {
1047
+ type?: PropType<string | null> | undefined;
1048
+ validator?(value: unknown): boolean;
1049
+ } & {
1050
+ default: string | (() => string | null) | null;
1051
+ };
1052
+ optionsText: {
1053
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
1054
+ validator?(value: unknown): boolean;
1055
+ } & {
1056
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
1057
+ };
1058
+ }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
1059
+ [key: string]: any;
1060
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ["update:modelValue"], "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
1061
+ name: {
1062
+ type?: PropType<string | null> | undefined;
1063
+ validator?(value: unknown): boolean;
1064
+ } & {
1065
+ default: string | (() => string | null) | null;
1066
+ };
828
1067
  label: {
829
1068
  type?: PropType<string | null> | undefined;
830
1069
  validator?(value: unknown): boolean;
831
1070
  } & {
832
1071
  default: string | (() => string | null) | null;
833
1072
  };
1073
+ options: {
1074
+ type?: PropType<FormFieldValue[]> | undefined;
1075
+ validator?(value: unknown): boolean;
1076
+ } & {
1077
+ required: true;
1078
+ };
834
1079
  noSelectionText: {
835
1080
  type?: PropType<string | null> | undefined;
836
1081
  validator?(value: unknown): boolean;
837
1082
  } & {
838
1083
  default: string | (() => string | null) | null;
839
1084
  };
840
- }>>, {
1085
+ optionsText: {
1086
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
1087
+ validator?(value: unknown): boolean;
1088
+ } & {
1089
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
1090
+ };
1091
+ }>> & {
1092
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1093
+ }, {
1094
+ name: string | null;
841
1095
  label: string | null;
842
1096
  noSelectionText: string | null;
1097
+ optionsText: string | ((option: FormFieldValue) => string) | null;
843
1098
  }, {}>;
844
1099
 
845
1100
  export declare const AGSnackbar: DefineComponent< {
@@ -869,7 +1124,7 @@ default: "secondary" | "danger" | (() => "secondary" | "danger") | null;
869
1124
  };
870
1125
  }, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
871
1126
  [key: string]: any;
872
- }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
1127
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
873
1128
  id: {
874
1129
  type?: PropType<string> | undefined;
875
1130
  validator?(value: unknown): boolean;
@@ -899,13 +1154,35 @@ actions: SnackbarAction[];
899
1154
  color: "secondary" | "danger";
900
1155
  }, {}>;
901
1156
 
1157
+ export declare type AGSnackbarProps = ObjectWithoutEmpty<ExtractPropTypes<typeof snackbarProps>>;
1158
+
902
1159
  export declare const AGStartupCrash: DefineComponent< {}, (_ctx: any, _cache: any) => VNode<RendererNode, RendererElement, {
903
1160
  [key: string]: any;
904
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
1161
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {}>>, {}, {}>;
905
1162
 
906
- export declare const App: Facade<AppService, Constructor<AppService>>;
1163
+ export declare const alertModalProps: {
1164
+ title: {
1165
+ type?: PropType<string | null> | undefined;
1166
+ validator?(value: unknown): boolean;
1167
+ } & {
1168
+ default: string | (() => string | null) | null;
1169
+ };
1170
+ message: {
1171
+ type?: PropType<string> | undefined;
1172
+ validator?(value: unknown): boolean;
1173
+ } & {
1174
+ required: true;
1175
+ };
1176
+ };
1177
+
1178
+ export declare const App: Facade<AppService, AppService>;
907
1179
 
908
1180
  export declare class AppService extends _default_2 {
1181
+ readonly ready: PromisedValue<void>;
1182
+ readonly mounted: PromisedValue<void>;
1183
+ isReady(): boolean;
1184
+ isMounted(): boolean;
1185
+ whenReady<T>(callback: () => T): Promise<T>;
909
1186
  reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
910
1187
  plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
911
1188
  protected boot(): Promise<void>;
@@ -924,7 +1201,9 @@ export declare function booleanProp(defaultValue?: boolean): OptionalProp<boolea
924
1201
 
925
1202
  export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
926
1203
 
927
- export declare function bootstrapApplication(rootComponent: Component, options?: AerogelOptions): Promise<void>;
1204
+ export declare function bootstrap(rootComponent: Component, options?: AerogelOptions): Promise<void>;
1205
+
1206
+ export declare function bootstrapApplication(app: App_2, options?: AerogelOptions): Promise<void>;
928
1207
 
929
1208
  export declare type Color = (typeof Colors)[keyof typeof Colors];
930
1209
 
@@ -939,70 +1218,101 @@ export declare type ComponentProps = Record<string, unknown>;
939
1218
 
940
1219
  export declare function componentRef<T>(): Ref<UnwrapNestedRefs<T> | undefined>;
941
1220
 
1221
+ export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
1222
+
942
1223
  export declare type ComputedStateDefinition<TState extends ServiceState, TComputedState extends ServiceState> = {
943
- [K in keyof TComputedState]: (state: TState) => TComputedState[K];
1224
+ [K in keyof TComputedState]: (state: UnrefServiceState<TState>) => TComputedState[K];
944
1225
  } & ThisType<{
945
1226
  readonly [K in keyof TComputedState]: TComputedState[K];
946
1227
  }>;
947
1228
 
948
- declare const _default: Constructor< {
1229
+ export declare const confirmModalProps: {
1230
+ title: {
1231
+ type?: PropType<string | null> | undefined;
1232
+ validator?(value: unknown): boolean;
1233
+ } & {
1234
+ default: string | (() => string | null) | null;
1235
+ };
1236
+ message: {
1237
+ type?: PropType<string> | undefined;
1238
+ validator?(value: unknown): boolean;
1239
+ } & {
1240
+ required: true;
1241
+ };
1242
+ acceptText: {
1243
+ type?: PropType<string | null> | undefined;
1244
+ validator?(value: unknown): boolean;
1245
+ } & {
1246
+ default: string | (() => string | null) | null;
1247
+ };
1248
+ cancelText: {
1249
+ type?: PropType<string | null> | undefined;
1250
+ validator?(value: unknown): boolean;
1251
+ } & {
1252
+ default: string | (() => string | null) | null;
1253
+ };
1254
+ };
1255
+
1256
+ export declare interface ConfirmOptions {
1257
+ acceptText?: string;
1258
+ cancelText?: string;
1259
+ }
1260
+
1261
+ declare const _default: Constructor<UnrefServiceState< {
949
1262
  logs: ErrorReportLog[];
950
1263
  startupErrors: ErrorReport[];
951
- }> & Constructor< {
1264
+ }>> & Constructor< {
952
1265
  hasErrors: boolean;
953
1266
  hasNewErrors: boolean;
954
1267
  hasStartupErrors: boolean;
955
- }> & Constructor<Service< {
1268
+ }> & Constructor<Service<UnrefServiceState< {
956
1269
  logs: ErrorReportLog[];
957
1270
  startupErrors: ErrorReport[];
958
- }, {
1271
+ }>, {
959
1272
  hasErrors: boolean;
960
1273
  hasNewErrors: boolean;
961
1274
  hasStartupErrors: boolean;
962
- }, Partial<{
1275
+ }, Partial<UnrefServiceState< {
963
1276
  logs: ErrorReportLog[];
964
1277
  startupErrors: ErrorReport[];
965
- }>>>;
1278
+ }>>>>;
966
1279
 
967
- declare const _default_2: Constructor< {
1280
+ declare const _default_2: Constructor<UnrefServiceState< {
968
1281
  plugins: Record<string, Plugin_2>;
969
1282
  environment: string;
970
1283
  sourceUrl: string | undefined;
971
- isMounted: boolean;
972
- }> & Constructor< {
1284
+ }>> & Constructor< {
973
1285
  development: boolean;
974
1286
  testing: boolean;
975
- }> & Constructor<Service< {
1287
+ }> & Constructor<Service<UnrefServiceState< {
976
1288
  plugins: Record<string, Plugin_2>;
977
1289
  environment: string;
978
1290
  sourceUrl: string | undefined;
979
- isMounted: boolean;
980
- }, {
1291
+ }>, {
981
1292
  development: boolean;
982
1293
  testing: boolean;
983
- }, Partial<{
1294
+ }, Partial<UnrefServiceState< {
984
1295
  plugins: Record<string, Plugin_2>;
985
1296
  environment: string;
986
1297
  sourceUrl: string | undefined;
987
- isMounted: boolean;
988
- }>>>;
1298
+ }>>>>;
989
1299
 
990
- declare const _default_3: Constructor< {
1300
+ declare const _default_3: Constructor<UnrefServiceState< {
991
1301
  modals: Modal<unknown>[];
992
1302
  snackbars: Snackbar[];
993
- }> & Constructor< {}> & Constructor<Service< {
1303
+ }>> & Constructor< {}> & Constructor<Service<UnrefServiceState< {
994
1304
  modals: Modal<unknown>[];
995
1305
  snackbars: Snackbar[];
996
- }, {}, Partial<{
1306
+ }>, {}, Partial<UnrefServiceState< {
997
1307
  modals: Modal<unknown>[];
998
1308
  snackbars: Snackbar[];
999
- }>>>;
1309
+ }>>>>;
1000
1310
 
1001
1311
  export declare type DefaultServices = typeof defaultServices;
1002
1312
 
1003
1313
  declare const defaultServices: {
1004
- $app: Facade<AppService, Constructor<AppService>>;
1005
- $events: Facade<EventsService, Constructor<EventsService>>;
1314
+ $app: Facade<AppService, AppService>;
1315
+ $events: Facade<EventsService, EventsService>;
1006
1316
  };
1007
1317
 
1008
1318
  export declare type DefaultServiceState = any;
@@ -1013,11 +1323,13 @@ export declare function definePlugin<T extends Plugin_2>(plugin: T): T;
1013
1323
 
1014
1324
  export declare function defineServiceState<State extends ServiceState = ServiceState, ComputedState extends ServiceState = {}>(options: {
1015
1325
  name: string;
1016
- initialState: State;
1326
+ initialState: State | (() => State);
1017
1327
  persist?: (keyof State)[];
1018
1328
  computed?: ComputedStateDefinition<State, ComputedState>;
1019
1329
  serialize?: (state: Partial<State>) => Partial<State>;
1020
- }): Constructor<State> & Constructor<ComputedState> & Constructor<Service<State, ComputedState, Partial<State>>>;
1330
+ }): Constructor<UnrefServiceState<State>> & Constructor<ComputedState> & Constructor<Service<UnrefServiceState<State>, ComputedState, Partial<UnrefServiceState<State>>>>;
1331
+
1332
+ export declare function defineServiceStore<Id extends string, S extends StateTree = {}, G extends _GettersTree<S> = {}, A = {}>(name: Id, options: Omit<DefineStoreOptions<Id, S, G, A>, 'id'>): Store<Id, S, G, A>;
1021
1333
 
1022
1334
  export declare function enumProp<Enum extends Record<string, unknown>>(enumeration: Enum, defaultValue?: Enum[keyof Enum]): OptionalProp<Enum[keyof Enum]>;
1023
1335
 
@@ -1045,7 +1357,7 @@ export declare const errorReportModalProps: {
1045
1357
  };
1046
1358
  };
1047
1359
 
1048
- export declare const Errors: Facade<ErrorsService, Constructor<ErrorsService>>;
1360
+ export declare const Errors: Facade<ErrorsService, ErrorsService>;
1049
1361
 
1050
1362
  export declare type ErrorSource = string | Error | JSError | unknown;
1051
1363
 
@@ -1070,7 +1382,7 @@ export declare type ErrorsServices = typeof services;
1070
1382
  declare type EventListener_2<T = unknown> = (payload: T) => unknown;
1071
1383
  export { EventListener_2 as EventListener }
1072
1384
 
1073
- export declare const Events: Facade<EventsService, Constructor<EventsService>>;
1385
+ export declare const Events: Facade<EventsService, EventsService>;
1074
1386
 
1075
1387
  export declare interface EventsPayload {
1076
1388
  }
@@ -1097,7 +1409,11 @@ export declare type EventWithPayload = {
1097
1409
  [K in keyof EventsPayload]: EventsPayload[K] extends void ? never : K;
1098
1410
  }[keyof EventsPayload];
1099
1411
 
1100
- export declare function extractSelectProps<T extends Record<keyof typeof selectProps, unknown>>(componentProps: T): Pick<T, keyof typeof selectProps>;
1412
+ export declare function extractInputProps<T extends ExtractPropTypes<typeof inputProps>>(props: T): Pick<T, keyof typeof inputProps>;
1413
+
1414
+ export declare function extractModalProps<T extends ExtractPropTypes<typeof modalProps>>(props: T): Pick<T, keyof typeof modalProps>;
1415
+
1416
+ export declare function extractSelectProps<T extends ExtractPropTypes<typeof selectProps>>(props: T): Pick<T, keyof typeof selectProps>;
1101
1417
 
1102
1418
  declare class Form<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
1103
1419
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
@@ -1151,8 +1467,12 @@ export declare const FormFieldTypes: {
1151
1467
  readonly Object: "object";
1152
1468
  };
1153
1469
 
1470
+ export declare type FormFieldValue = GetFormFieldValue<FormFieldType>;
1471
+
1154
1472
  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;
1155
1473
 
1474
+ export declare function getPiniaStore(): Pinia;
1475
+
1156
1476
  export declare interface IAGErrorReportModalButtonsDefaultSlotProps {
1157
1477
  id: string;
1158
1478
  description: string;
@@ -1163,6 +1483,8 @@ export declare interface IAGErrorReportModalButtonsDefaultSlotProps {
1163
1483
 
1164
1484
  export declare interface IAGHeadlessInput {
1165
1485
  id: string;
1486
+ name: ComputedRef<string | null>;
1487
+ label: ComputedRef<string | null>;
1166
1488
  value: ComputedRef<string | number | boolean | null>;
1167
1489
  errors: DeepReadonly<Ref<string[] | null>>;
1168
1490
  update(value: string | number | boolean | null): void;
@@ -1171,15 +1493,20 @@ export declare interface IAGHeadlessInput {
1171
1493
  export declare interface IAGHeadlessModal extends IAGModal {
1172
1494
  }
1173
1495
 
1496
+ export declare interface IAGHeadlessModalDefaultSlotProps {
1497
+ close(result?: unknown): Promise<void>;
1498
+ }
1499
+
1174
1500
  export declare interface IAGHeadlessSelect {
1175
1501
  id: string;
1176
1502
  label: ComputedRef<string | null>;
1177
1503
  noSelectionText: ComputedRef<string>;
1178
1504
  buttonText: ComputedRef<string>;
1179
- selectedOption: ComputedRef<IAGSelectOption | undefined>;
1180
- options: ComputedRef<IAGSelectOption[]>;
1505
+ renderText: ComputedRef<(value: FormFieldValue) => string>;
1506
+ selectedOption: ComputedRef<FormFieldValue | null>;
1507
+ options: ComputedRef<FormFieldValue[]>;
1181
1508
  errors: DeepReadonly<Ref<string[] | null>>;
1182
- update(value: IAGSelectOptionValue): void;
1509
+ update(value: FormFieldValue): void;
1183
1510
  }
1184
1511
 
1185
1512
  export declare type IAGHeadlessSelectOptionSlotProps = {
@@ -1189,7 +1516,7 @@ export declare type IAGHeadlessSelectOptionSlotProps = {
1189
1516
 
1190
1517
  export declare interface IAGModal {
1191
1518
  cancellable: Ref<boolean>;
1192
- close(): Promise<void>;
1519
+ close(result?: unknown): Promise<void>;
1193
1520
  }
1194
1521
 
1195
1522
  export declare interface IAGModalContext {
@@ -1197,26 +1524,34 @@ export declare interface IAGModalContext {
1197
1524
  childIndex: Ref<number>;
1198
1525
  }
1199
1526
 
1200
- export declare interface IAGModalSlotProps {
1527
+ export declare interface IAGModalDefaultSlotProps {
1201
1528
  close(result?: unknown): Promise<void>;
1202
1529
  }
1203
1530
 
1204
- export declare interface IAGSelectOption {
1205
- value: string | number | boolean | object | null;
1206
- text: string;
1207
- }
1208
-
1209
- export declare type IAGSelectOptionValue = string | number | boolean | object | null;
1210
-
1211
1531
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
1212
1532
 
1213
1533
  export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
1214
1534
 
1215
1535
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
1216
1536
 
1537
+ export declare const inputProps: {
1538
+ name: {
1539
+ type?: PropType<string | null> | undefined;
1540
+ validator?(value: unknown): boolean;
1541
+ } & {
1542
+ default: string | (() => string | null) | null;
1543
+ };
1544
+ label: {
1545
+ type?: PropType<string | null> | undefined;
1546
+ validator?(value: unknown): boolean;
1547
+ } & {
1548
+ default: string | (() => string | null) | null;
1549
+ };
1550
+ };
1551
+
1217
1552
  export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
1218
1553
 
1219
- export declare const Lang: Facade<LangService, Constructor<LangService>>;
1554
+ export declare const Lang: Facade<LangService, LangService>;
1220
1555
 
1221
1556
  export declare interface LangProvider {
1222
1557
  translate(key: string, parameters?: Record<string, unknown>): string;
@@ -1233,6 +1568,15 @@ declare class LangService extends Service {
1233
1568
 
1234
1569
  export declare type LangServices = typeof services_2;
1235
1570
 
1571
+ export declare const loadingModalProps: {
1572
+ message: {
1573
+ type?: PropType<string | null> | undefined;
1574
+ validator?(value: unknown): boolean;
1575
+ } & {
1576
+ default: string | (() => string | null) | null;
1577
+ };
1578
+ };
1579
+
1236
1580
  export declare function mixedProp<T>(type?: PropType<T>): OptionalProp<T | null>;
1237
1581
 
1238
1582
  declare interface Modal<T = unknown> {
@@ -1248,6 +1592,21 @@ declare interface ModalComponent<Properties extends Record<string, unknown> = Re
1248
1592
 
1249
1593
  declare type ModalProperties<TComponent> = TComponent extends ModalComponent<infer TProperties, unknown> ? TProperties : never;
1250
1594
 
1595
+ export declare const modalProps: {
1596
+ cancellable: {
1597
+ type?: PropType<boolean> | undefined;
1598
+ validator?(value: unknown): boolean;
1599
+ } & {
1600
+ default: boolean | (() => boolean) | null;
1601
+ };
1602
+ title: {
1603
+ type?: PropType<string | null> | undefined;
1604
+ validator?(value: unknown): boolean;
1605
+ } & {
1606
+ default: string | (() => string | null) | null;
1607
+ };
1608
+ };
1609
+
1251
1610
  declare type ModalResult<TComponent> = TComponent extends ModalComponent<Record<string, unknown>, infer TResult> ? TResult : never;
1252
1611
 
1253
1612
  export declare function numberInput(defaultValue?: number): FormFieldDefinition<typeof FormFieldTypes.Number>;
@@ -1272,6 +1631,61 @@ declare interface Plugin_2 {
1272
1631
  }
1273
1632
  export { Plugin_2 as Plugin }
1274
1633
 
1634
+ export declare const promptModalProps: {
1635
+ title: {
1636
+ type?: PropType<string | null> | undefined;
1637
+ validator?(value: unknown): boolean;
1638
+ } & {
1639
+ default: string | (() => string | null) | null;
1640
+ };
1641
+ message: {
1642
+ type?: PropType<string> | undefined;
1643
+ validator?(value: unknown): boolean;
1644
+ } & {
1645
+ required: true;
1646
+ };
1647
+ label: {
1648
+ type?: PropType<string | null> | undefined;
1649
+ validator?(value: unknown): boolean;
1650
+ } & {
1651
+ default: string | (() => string | null) | null;
1652
+ };
1653
+ defaultValue: {
1654
+ type?: PropType<string | null> | undefined;
1655
+ validator?(value: unknown): boolean;
1656
+ } & {
1657
+ default: string | (() => string | null) | null;
1658
+ };
1659
+ placeholder: {
1660
+ type?: PropType<string | null> | undefined;
1661
+ validator?(value: unknown): boolean;
1662
+ } & {
1663
+ default: string | (() => string | null) | null;
1664
+ };
1665
+ acceptText: {
1666
+ type?: PropType<string | null> | undefined;
1667
+ validator?(value: unknown): boolean;
1668
+ } & {
1669
+ default: string | (() => string | null) | null;
1670
+ };
1671
+ cancelText: {
1672
+ type?: PropType<string | null> | undefined;
1673
+ validator?(value: unknown): boolean;
1674
+ } & {
1675
+ default: string | (() => string | null) | null;
1676
+ };
1677
+ };
1678
+
1679
+ export declare interface PromptOptions {
1680
+ label?: string;
1681
+ defaultValue?: string;
1682
+ placeholder?: string;
1683
+ acceptText?: string;
1684
+ cancelText?: string;
1685
+ }
1686
+
1687
+ export declare function removeInteractiveClasses(classes: string): string;
1688
+
1275
1689
  export declare function requiredArrayProp<T>(): RequiredProp<T[]>;
1276
1690
 
1277
1691
  export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<typeof FormFieldTypes.Boolean, 'required'>;
@@ -1294,12 +1708,16 @@ export declare function requiredStringInput(defaultValue?: string): FormFieldDef
1294
1708
 
1295
1709
  export declare function requiredStringProp(): RequiredProp<string>;
1296
1710
 
1711
+ export declare function resetPiniaStore(): Pinia;
1712
+
1713
+ export declare const selectEmits: readonly ["update:modelValue"];
1714
+
1297
1715
  export declare const selectProps: {
1298
- options: {
1299
- type?: PropType<IAGSelectOptionValue[]> | undefined;
1716
+ name: {
1717
+ type?: PropType<string | null> | undefined;
1300
1718
  validator?(value: unknown): boolean;
1301
1719
  } & {
1302
- required: true;
1720
+ default: string | (() => string | null) | null;
1303
1721
  };
1304
1722
  label: {
1305
1723
  type?: PropType<string | null> | undefined;
@@ -1307,12 +1725,24 @@ export declare const selectProps: {
1307
1725
  } & {
1308
1726
  default: string | (() => string | null) | null;
1309
1727
  };
1728
+ options: {
1729
+ type?: PropType<FormFieldValue[]> | undefined;
1730
+ validator?(value: unknown): boolean;
1731
+ } & {
1732
+ required: true;
1733
+ };
1310
1734
  noSelectionText: {
1311
1735
  type?: PropType<string | null> | undefined;
1312
1736
  validator?(value: unknown): boolean;
1313
1737
  } & {
1314
1738
  default: string | (() => string | null) | null;
1315
1739
  };
1740
+ optionsText: {
1741
+ type?: PropType<string | ((option: FormFieldValue) => string) | null> | undefined;
1742
+ validator?(value: unknown): boolean;
1743
+ } & {
1744
+ default: string | ((option: FormFieldValue) => string) | (() => string | ((option: FormFieldValue) => string) | null) | null;
1745
+ };
1316
1746
  };
1317
1747
 
1318
1748
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage extends Partial<State> = Partial<State>> extends MagicObject {
@@ -1339,7 +1769,7 @@ export declare class Service<State extends ServiceState = DefaultServiceState, C
1339
1769
  protected serializePersistedState(state: Partial<State>): Partial<State>;
1340
1770
  protected frameworkBoot(): Promise<void>;
1341
1771
  protected boot(): Promise<void>;
1342
- protected restorePersistedState(): void;
1772
+ protected initializePersistedState(): void;
1343
1773
  }
1344
1774
 
1345
1775
  export declare type ServiceConstructor<T extends Service = Service> = Constructor<T> & typeof Service;
@@ -1348,20 +1778,20 @@ export declare interface Services extends DefaultServices {
1348
1778
  }
1349
1779
 
1350
1780
  declare const services: {
1351
- $errors: Facade<ErrorsService, Constructor<ErrorsService>>;
1781
+ $errors: Facade<ErrorsService, ErrorsService>;
1352
1782
  };
1353
1783
 
1354
1784
  declare const services_2: {
1355
- $lang: Facade<LangService, Constructor<LangService>>;
1785
+ $lang: Facade<LangService, LangService>;
1356
1786
  };
1357
1787
 
1358
1788
  declare const services_3: {
1359
- $ui: Facade<UIService, Constructor<UIService>>;
1789
+ $ui: Facade<UIService, UIService>;
1360
1790
  };
1361
1791
 
1362
1792
  export declare type ServiceState = Record<string, any>;
1363
1793
 
1364
- declare interface ShowSnackbarOptions {
1794
+ export declare interface ShowSnackbarOptions {
1365
1795
  component?: Component;
1366
1796
  color?: SnackbarColor;
1367
1797
  actions?: SnackbarAction[];
@@ -1428,7 +1858,7 @@ export declare const translateWithDefault: {
1428
1858
  (key: string, parameters: Record<string, unknown>, defaultMessage: string): string;
1429
1859
  };
1430
1860
 
1431
- export declare const UI: Facade<UIService, Constructor<UIService>>;
1861
+ export declare const UI: Facade<UIService, UIService>;
1432
1862
 
1433
1863
  export declare type UIComponent = ObjectValues<typeof UIComponents>;
1434
1864
 
@@ -1437,17 +1867,21 @@ export declare const UIComponents: {
1437
1867
  readonly ConfirmModal: "confirm-modal";
1438
1868
  readonly ErrorReportModal: "error-report-modal";
1439
1869
  readonly LoadingModal: "loading-modal";
1870
+ readonly PromptModal: "prompt-modal";
1440
1871
  readonly Snackbar: "snackbar";
1872
+ readonly StartupCrash: "startup-crash";
1441
1873
  };
1442
1874
 
1443
- declare class UIService extends _default_3 {
1875
+ export declare class UIService extends _default_3 {
1444
1876
  private modalCallbacks;
1445
1877
  private components;
1446
1878
  requireComponent(name: UIComponent): Component;
1447
1879
  alert(message: string): void;
1448
1880
  alert(title: string, message: string): void;
1449
- confirm(message: string): Promise<boolean>;
1450
- confirm(title: string, message: string): Promise<boolean>;
1881
+ confirm(message: string, options?: ConfirmOptions): Promise<boolean>;
1882
+ confirm(title: string, message: string, options?: ConfirmOptions): Promise<boolean>;
1883
+ prompt(message: string, options?: PromptOptions): Promise<string | null>;
1884
+ prompt(title: string, message: string, options?: PromptOptions): Promise<string | null>;
1451
1885
  loading<T>(operation: Promise<T>): Promise<T>;
1452
1886
  loading<T>(message: string, operation: Promise<T>): Promise<T>;
1453
1887
  showSnackbar(message: string, options?: ShowSnackbarOptions): void;
@@ -1464,20 +1898,68 @@ export declare type UIServices = typeof services_3;
1464
1898
 
1465
1899
  export declare type UnknownEvent<T> = T extends keyof EventsPayload ? never : T;
1466
1900
 
1901
+ export declare type UnrefServiceState<State extends ServiceState> = {
1902
+ [K in keyof State]: State[K] extends MaybeRef<infer T> ? T : State[K];
1903
+ };
1904
+
1905
+ export declare function useAlertModalProps(): typeof alertModalProps;
1906
+
1907
+ export declare function useConfirmModal(props: ExtractPropTypes<typeof confirmModalProps>): {
1908
+ renderedAcceptText: ComputedRef<string>;
1909
+ renderedCancelText: ComputedRef<string>;
1910
+ };
1911
+
1912
+ export declare function useConfirmModalProps(): typeof confirmModalProps;
1913
+
1914
+ export declare function useErrorReportModal(props: ExtractPropTypes<typeof errorReportModalProps>): {
1915
+ activeReportIndex: Ref<number>;
1916
+ details: ComputedRef<string>;
1917
+ nextReportText: string;
1918
+ previousReportText: string;
1919
+ report: ComputedRef<ErrorReport>;
1920
+ };
1921
+
1467
1922
  export declare function useErrorReportModalProps(): typeof errorReportModalProps;
1468
1923
 
1469
1924
  export declare function useEvent<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): void;
1470
1925
 
1471
1926
  export declare function useEvent<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): void;
1472
1927
 
1928
+ export declare function useEvent<Payload>(event: string, listener: (payload: Payload) => unknown): void;
1929
+
1473
1930
  export declare function useEvent<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): void;
1474
1931
 
1475
1932
  export declare function useForm<const T extends FormFieldDefinitions>(fields: T): Form<T> & FormData_2<T>;
1476
1933
 
1477
1934
  export declare function useInputAttrs(): [ComputedRef<{}>, ComputedRef<unknown>];
1478
1935
 
1936
+ export declare function useInputProps(): typeof inputProps;
1937
+
1938
+ export declare function useLoadingModal(props: ExtractPropTypes<typeof loadingModalProps>): {
1939
+ renderedMessage: ComputedRef<string>;
1940
+ };
1941
+
1942
+ export declare function useLoadingModalProps(): typeof loadingModalProps;
1943
+
1944
+ export declare function useModalExpose($modal: Ref<IAGHeadlessModal | undefined>): IAGModal;
1945
+
1946
+ export declare function useModalProps(): typeof modalProps;
1947
+
1948
+ export declare function usePromptModal(props: ExtractPropTypes<typeof promptModalProps>): {
1949
+ renderedAcceptText: ComputedRef<string>;
1950
+ renderedCancelText: ComputedRef<string>;
1951
+ };
1952
+
1953
+ export declare function usePromptModalProps(): typeof promptModalProps;
1954
+
1955
+ export declare function useSelectEmits(): Writable<typeof selectEmits>;
1956
+
1479
1957
  export declare function useSelectProps(): typeof selectProps;
1480
1958
 
1959
+ export declare function useSnackbar(props: ExtractPropTypes<typeof snackbarProps>): {
1960
+ activate: (action: SnackbarAction) => void;
1961
+ };
1962
+
1481
1963
  export declare function useSnackbarProps(): typeof snackbarProps;
1482
1964
 
1483
1965
  export { }
@@ -1486,11 +1968,11 @@ export { }
1486
1968
  'application-mounted': void;
1487
1969
  }
1488
1970
 
1489
- interface AerogelOptions {
1971
+ export interface AerogelOptions {
1490
1972
  directives?: Record<string, Directive>;
1491
1973
  }
1492
1974
 
1493
- interface AerogelOptions {
1975
+ export interface AerogelOptions {
1494
1976
  handleError?(error: ErrorSource): boolean;
1495
1977
  }
1496
1978
 
@@ -1504,7 +1986,7 @@ declare module '@vue/runtime-core' {
1504
1986
  }
1505
1987
  }
1506
1988
 
1507
- interface AerogelOptions {
1989
+ export interface AerogelOptions {
1508
1990
  services?: Record<string, Service>;
1509
1991
  }
1510
1992
 
@@ -1520,7 +2002,7 @@ declare module '@vue/runtime-core' {
1520
2002
  'show-modal': { id: string };
1521
2003
  }
1522
2004
 
1523
- interface AerogelOptions {
2005
+ export interface AerogelOptions {
1524
2006
  components?: Partial<Record<UIComponent, Component>>;
1525
2007
  }
1526
2008