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

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