@aerogel/core 0.0.0-next.b3caf219a503ce9b8c65ef1463132c9507f56c0a → 0.0.0-next.b656a964404fbde17d9cce7668722596098e47fd

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 (99) hide show
  1. package/dist/aerogel-core.d.ts +958 -491
  2. package/dist/aerogel-core.js +1987 -1828
  3. package/dist/aerogel-core.js.map +1 -1
  4. package/package.json +5 -2
  5. package/src/components/AppModals.vue +1 -1
  6. package/src/components/AppOverlays.vue +2 -7
  7. package/src/components/AppToasts.vue +16 -0
  8. package/src/components/contracts/Button.ts +1 -0
  9. package/src/components/contracts/DropdownMenu.ts +11 -0
  10. package/src/components/contracts/Input.ts +5 -5
  11. package/src/components/contracts/Modal.ts +4 -0
  12. package/src/components/contracts/Select.ts +36 -0
  13. package/src/components/contracts/Toast.ts +13 -0
  14. package/src/components/contracts/index.ts +2 -0
  15. package/src/components/headless/HeadlessButton.vue +7 -2
  16. package/src/components/headless/HeadlessInputDescription.vue +3 -3
  17. package/src/components/headless/HeadlessInputInput.vue +4 -4
  18. package/src/components/headless/HeadlessInputTextArea.vue +3 -3
  19. package/src/components/headless/HeadlessModal.vue +4 -2
  20. package/src/components/headless/HeadlessModalOverlay.vue +2 -2
  21. package/src/components/headless/HeadlessModalTitle.vue +2 -2
  22. package/src/components/headless/HeadlessSelect.vue +104 -0
  23. package/src/components/headless/{forms/AGHeadlessSelectError.vue → HeadlessSelectError.vue} +3 -4
  24. package/src/components/headless/HeadlessSelectLabel.vue +25 -0
  25. package/src/components/headless/HeadlessSelectOption.vue +34 -0
  26. package/src/components/headless/HeadlessSelectOptions.vue +30 -0
  27. package/src/components/headless/HeadlessSelectTrigger.vue +22 -0
  28. package/src/components/headless/HeadlessSelectValue.vue +15 -0
  29. package/src/components/headless/HeadlessToast.vue +18 -0
  30. package/src/components/headless/HeadlessToastAction.vue +13 -0
  31. package/src/components/headless/index.ts +7 -3
  32. package/src/components/index.ts +4 -9
  33. package/src/components/ui/AdvancedOptions.vue +18 -0
  34. package/src/components/ui/AlertModal.vue +3 -3
  35. package/src/components/ui/Button.vue +56 -16
  36. package/src/components/ui/Checkbox.vue +18 -11
  37. package/src/components/ui/ConfirmModal.vue +4 -4
  38. package/src/components/ui/DropdownMenu.vue +33 -0
  39. package/src/components/ui/EditableContent.vue +82 -0
  40. package/src/components/ui/ErrorMessage.vue +15 -0
  41. package/src/components/ui/ErrorReportModal.vue +3 -3
  42. package/src/components/ui/ErrorReportModalButtons.vue +6 -8
  43. package/src/components/ui/ErrorReportModalTitle.vue +2 -2
  44. package/src/components/ui/Input.vue +9 -5
  45. package/src/components/ui/Link.vue +2 -2
  46. package/src/components/ui/LoadingModal.vue +5 -5
  47. package/src/components/ui/Markdown.vue +69 -0
  48. package/src/components/ui/Modal.vue +26 -11
  49. package/src/components/ui/ProgressBar.vue +1 -1
  50. package/src/components/ui/PromptModal.vue +6 -6
  51. package/src/components/ui/Select.vue +21 -0
  52. package/src/components/ui/SelectLabel.vue +10 -0
  53. package/src/components/ui/SelectOptions.vue +31 -0
  54. package/src/components/ui/SelectTrigger.vue +29 -0
  55. package/src/components/ui/SettingsModal.vue +15 -0
  56. package/src/components/{lib/AGStartupCrash.vue → ui/StartupCrash.vue} +3 -3
  57. package/src/components/ui/Toast.vue +42 -0
  58. package/src/components/ui/index.ts +12 -0
  59. package/src/errors/Errors.ts +4 -5
  60. package/src/index.css +38 -0
  61. package/src/lang/index.ts +3 -0
  62. package/src/lang/settings/Language.vue +48 -0
  63. package/src/lang/settings/index.ts +10 -0
  64. package/src/services/App.state.ts +11 -1
  65. package/src/services/App.ts +3 -0
  66. package/src/services/index.ts +3 -0
  67. package/src/ui/UI.state.ts +2 -2
  68. package/src/ui/UI.ts +12 -20
  69. package/src/ui/index.ts +4 -4
  70. package/src/utils/classes.ts +49 -0
  71. package/src/utils/composition/forms.ts +10 -1
  72. package/src/utils/composition/state.ts +11 -2
  73. package/src/utils/index.ts +2 -1
  74. package/src/utils/vue.ts +22 -128
  75. package/src/components/AppSnackbars.vue +0 -13
  76. package/src/components/composition.ts +0 -23
  77. package/src/components/constants.ts +0 -8
  78. package/src/components/forms/AGSelect.story.vue +0 -46
  79. package/src/components/forms/AGSelect.vue +0 -54
  80. package/src/components/forms/index.ts +0 -1
  81. package/src/components/headless/forms/AGHeadlessSelect.ts +0 -42
  82. package/src/components/headless/forms/AGHeadlessSelect.vue +0 -77
  83. package/src/components/headless/forms/AGHeadlessSelectOption.ts +0 -4
  84. package/src/components/headless/forms/AGHeadlessSelectOption.vue +0 -31
  85. package/src/components/headless/forms/AGHeadlessSelectOptions.vue +0 -19
  86. package/src/components/headless/forms/AGHeadlessSelectTrigger.vue +0 -25
  87. package/src/components/headless/forms/composition.ts +0 -10
  88. package/src/components/headless/forms/index.ts +0 -8
  89. package/src/components/headless/snackbars/AGHeadlessSnackbar.vue +0 -10
  90. package/src/components/headless/snackbars/index.ts +0 -40
  91. package/src/components/lib/AGErrorMessage.vue +0 -16
  92. package/src/components/lib/AGMarkdown.vue +0 -54
  93. package/src/components/lib/AGMeasured.vue +0 -16
  94. package/src/components/lib/index.ts +0 -4
  95. package/src/components/snackbars/AGSnackbar.vue +0 -38
  96. package/src/components/snackbars/index.ts +0 -3
  97. package/src/components/utils.ts +0 -107
  98. package/src/utils/tailwindcss.test.ts +0 -26
  99. package/src/utils/tailwindcss.ts +0 -7
@@ -1,5 +1,7 @@
1
+ import { AcceptableValue } from 'reka-ui';
1
2
  import { AllowedComponentProps } from 'vue';
2
3
  import { App as App_2 } from 'vue';
4
+ import { AsTag } from 'reka-ui';
3
5
  import { ClassValue } from 'clsx';
4
6
  import { Component } from 'vue';
5
7
  import { ComponentCustomProperties } from 'vue';
@@ -9,8 +11,10 @@ import { ComponentOptionsBase } from 'vue';
9
11
  import { ComponentOptionsMixin } from 'vue';
10
12
  import { ComponentProvideOptions } from 'vue';
11
13
  import { ComponentPublicInstance } from 'vue';
14
+ import { ComputedGetter } from 'vue';
12
15
  import { ComputedRef } from 'vue';
13
16
  import { Constructor } from '@noeldemartin/utils';
17
+ import { cva } from 'class-variance-authority';
14
18
  import { DebuggerEvent } from 'vue';
15
19
  import { DeepReadonly } from 'vue';
16
20
  import { DefineComponent } from 'vue';
@@ -19,15 +23,17 @@ import { DialogOverlayProps } from 'reka-ui';
19
23
  import { DialogRootProps } from 'reka-ui';
20
24
  import { DialogTitleProps } from 'reka-ui';
21
25
  import { Directive } from 'vue';
22
- import { ExtractPropTypes } from 'vue';
26
+ import { DropdownMenuContentProps } from 'reka-ui';
23
27
  import { Facade } from '@noeldemartin/utils';
24
28
  import { GetClosureArgs } from '@noeldemartin/utils';
29
+ import { GetClosureResult } from '@noeldemartin/utils';
25
30
  import { _GettersTree } from 'pinia';
26
31
  import { GlobalComponents } from 'vue';
27
32
  import { GlobalDirectives } from 'vue';
28
33
  import { HTMLAttributes } from 'vue';
29
34
  import { InjectionKey } from 'vue';
30
35
  import { JSError } from '@noeldemartin/utils';
36
+ import { LabelProps } from 'reka-ui';
31
37
  import { Listeners } from '@noeldemartin/utils';
32
38
  import { ListenersManager } from '@noeldemartin/utils';
33
39
  import { MagicObject } from '@noeldemartin/utils';
@@ -35,7 +41,6 @@ import { MaybeRef } from 'vue';
35
41
  import { nextTick } from 'vue';
36
42
  import { Nullable } from '@noeldemartin/utils';
37
43
  import { ObjectValues } from '@noeldemartin/utils';
38
- import { ObjectWithoutEmpty } from '@noeldemartin/utils';
39
44
  import { OnCleanup } from '@vue/reactivity';
40
45
  import { Pinia } from 'pinia';
41
46
  import { PrimitiveProps } from 'reka-ui';
@@ -43,15 +48,16 @@ import { PromisedValue } from '@noeldemartin/utils';
43
48
  import { PropType } from 'vue';
44
49
  import { PublicProps } from 'vue';
45
50
  import { Ref } from 'vue';
51
+ import { SelectItemProps } from 'reka-ui';
46
52
  import { ShallowUnwrapRef } from 'vue';
47
53
  import { Slot } from 'vue';
48
54
  import { StateTree } from 'pinia';
49
55
  import { Store } from 'pinia';
50
56
  import { UnwrapNestedRefs } from 'vue';
57
+ import { VNode } from 'vue';
51
58
  import { VNodeProps } from 'vue';
52
59
  import { WatchOptions } from 'vue';
53
60
  import { WatchStopHandle } from 'vue';
54
- import { Writable } from '@noeldemartin/utils';
55
61
 
56
62
  export declare interface __SetsElement {
57
63
  __setElement(element?: HTMLElement): void;
@@ -59,121 +65,300 @@ export declare interface __SetsElement {
59
65
 
60
66
  declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
61
67
 
62
- declare const __VLS_component_10: DefineComponent<ExtractPropTypes< {
63
- name: OptionalProp<string | null>;
64
- label: OptionalProp<string | null>;
65
- options: RequiredProp<FormFieldValue[]>;
66
- noSelectionText: OptionalProp<string | null>;
67
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
68
- modelValue: OptionalProp<FormFieldValue | null>;
69
- }>, {
68
+ declare const __VLS_component_10: DefineComponent<SelectProps, {
70
69
  id: string;
71
- label: ComputedRef<string | null>;
72
- noSelectionText: ComputedRef<string>;
73
- buttonText: ComputedRef<string>;
74
- renderText: ComputedRef<(value: FormFieldValue) => string>;
75
- selectedOption: ComputedRef<FormFieldValue | null>;
76
- options: ComputedRef<FormFieldValue[]>;
77
- errors: DeepReadonly<Ref<string[] | null>>;
78
- update(value: FormFieldValue): void;
70
+ name: ComputedRef<string | undefined>;
71
+ label: ComputedRef<string | undefined>;
72
+ description: ComputedRef<string | undefined>;
73
+ placeholder: ComputedRef<string>;
74
+ options: ComputedRef< {
75
+ key: string;
76
+ label: string;
77
+ value: AcceptableValue;
78
+ }[] | null>;
79
+ selectedOption: ComputedRef< {
80
+ key: string;
81
+ label: string;
82
+ value: AcceptableValue;
83
+ } | undefined>;
84
+ value: ComputedRef<Nullable<FormFieldValue>>;
85
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
86
+ required: ComputedRef<boolean | undefined>;
87
+ update(value: Nullable<FormFieldValue>): void;
79
88
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
80
- "update:modelValue": (...args: any[]) => void;
81
- }, string, PublicProps, Readonly<ExtractPropTypes< {
82
- name: OptionalProp<string | null>;
83
- label: OptionalProp<string | null>;
84
- options: RequiredProp<FormFieldValue[]>;
85
- noSelectionText: OptionalProp<string | null>;
86
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
87
- modelValue: OptionalProp<FormFieldValue | null>;
88
- }>> & Readonly<{
89
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
- }>, {
91
- name: string | null;
92
- label: string | null;
93
- modelValue: FormFieldValue | null;
94
- noSelectionText: string | null;
95
- optionsText: string | ((option: FormFieldValue) => string) | null;
96
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
97
-
98
- declare const __VLS_component_11: DefineComponent<ExtractPropTypes< {
99
- textClass: OptionalProp<string | null>;
100
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
101
- textClass: OptionalProp<string | null>;
102
- }>> & Readonly<{}>, {
103
- textClass: string | null;
104
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
105
-
106
- declare const __VLS_component_12: DefineComponent<ExtractPropTypes< {
107
- value: RequiredProp<any>;
108
- selectedClass: OptionalProp<string | null>;
109
- unselectedClass: OptionalProp<string | null>;
110
- activeClass: OptionalProp<string | null>;
111
- inactiveClass: OptionalProp<string | null>;
112
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
113
- value: RequiredProp<any>;
114
- selectedClass: OptionalProp<string | null>;
115
- unselectedClass: OptionalProp<string | null>;
116
- activeClass: OptionalProp<string | null>;
117
- inactiveClass: OptionalProp<string | null>;
118
- }>> & Readonly<{}>, {
119
- selectedClass: string | null;
120
- unselectedClass: string | null;
121
- activeClass: string | null;
122
- inactiveClass: string | null;
123
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
124
-
125
- declare const __VLS_component_13: DefineComponent<ExtractPropTypes< {
126
- class: OptionalProp<string>;
127
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
128
- class: OptionalProp<string>;
129
- }>> & Readonly<{}>, {
130
- class: string;
131
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
132
-
133
- declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
134
-
135
- declare const __VLS_component_15: DefineComponent<ExtractPropTypes< {
136
- as: OptionalProp<string>;
137
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
138
- as: OptionalProp<string>;
139
- }>> & Readonly<{}>, {
140
- as: string;
141
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
142
-
143
- declare const __VLS_component_16: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
144
-
145
- declare const __VLS_component_17: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
146
89
  "update:modelValue": (value: Nullable<FormFieldValue>) => any;
147
- }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
90
+ }, string, PublicProps, Readonly<SelectProps> & Readonly<{
91
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
92
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
93
+
94
+ declare const __VLS_component_11: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
95
+
96
+ declare const __VLS_component_12: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
97
+
98
+ declare const __VLS_component_13: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
99
+
100
+ declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
101
+
102
+ declare const __VLS_component_15: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
103
+
104
+ declare const __VLS_component_16: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDetailsElement>;
105
+
106
+ declare const __VLS_component_17: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
107
+
108
+ declare const __VLS_component_18: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
109
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
110
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
148
111
  "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
149
112
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
150
- $input: unknown;
113
+ $input: ({
114
+ $: ComponentInternalInstance;
115
+ $data: {};
116
+ $props: {
117
+ readonly name?: string | undefined;
118
+ readonly label?: string | undefined;
119
+ readonly description?: string | undefined;
120
+ readonly modelValue?: Nullable<FormFieldValue>;
121
+ readonly as?: string | undefined;
122
+ readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
123
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
124
+ $attrs: {
125
+ [x: string]: unknown;
126
+ };
127
+ $refs: {
128
+ [x: string]: unknown;
129
+ };
130
+ $slots: Readonly<{
131
+ [name: string]: Slot<any> | undefined;
132
+ }>;
133
+ $root: ComponentPublicInstance | null;
134
+ $parent: ComponentPublicInstance | null;
135
+ $host: Element | null;
136
+ $emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
137
+ $el: any;
138
+ $options: ComponentOptionsBase<Readonly<InputProps & {
139
+ as?: string;
140
+ }> & Readonly<{
141
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
142
+ }>, {
143
+ id: string;
144
+ name: ComputedRef<string | undefined>;
145
+ label: ComputedRef<string | undefined>;
146
+ description: ComputedRef<string | undefined>;
147
+ value: ComputedRef<Nullable<FormFieldValue>>;
148
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
149
+ required: ComputedRef<boolean | undefined>;
150
+ update(value: Nullable<FormFieldValue>): void;
151
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
152
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
153
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
154
+ beforeCreate?: (() => void) | (() => void)[];
155
+ created?: (() => void) | (() => void)[];
156
+ beforeMount?: (() => void) | (() => void)[];
157
+ mounted?: (() => void) | (() => void)[];
158
+ beforeUpdate?: (() => void) | (() => void)[];
159
+ updated?: (() => void) | (() => void)[];
160
+ activated?: (() => void) | (() => void)[];
161
+ deactivated?: (() => void) | (() => void)[];
162
+ beforeDestroy?: (() => void) | (() => void)[];
163
+ beforeUnmount?: (() => void) | (() => void)[];
164
+ destroyed?: (() => void) | (() => void)[];
165
+ unmounted?: (() => void) | (() => void)[];
166
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
167
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
168
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
169
+ };
170
+ $forceUpdate: () => void;
171
+ $nextTick: typeof nextTick;
172
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
173
+ } & Readonly<{}> & Omit<Readonly<InputProps & {
174
+ as?: string;
175
+ }> & Readonly<{
176
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
177
+ }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
178
+ id: string;
179
+ name: ComputedRef<string | undefined>;
180
+ label: ComputedRef<string | undefined>;
181
+ description: ComputedRef<string | undefined>;
182
+ value: ComputedRef<Nullable<FormFieldValue>>;
183
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
184
+ required: ComputedRef<boolean | undefined>;
185
+ update(value: Nullable<FormFieldValue>): void;
186
+ }> & {} & ComponentCustomProperties & {} & {
187
+ $slots: {
188
+ default?(_: {}): any;
189
+ };
190
+ }) | null;
151
191
  }, any>;
152
192
 
153
- declare const __VLS_component_18: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
193
+ declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
194
+
195
+ declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
196
+
197
+ declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
198
+ update: (value: string | number) => any;
199
+ save: () => any;
200
+ }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
201
+ onUpdate?: ((value: string | number) => any) | undefined;
202
+ onSave?: (() => any) | undefined;
203
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
204
+ $input: HTMLInputElement;
205
+ }, HTMLDivElement>;
206
+
207
+ declare const __VLS_component_21: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
154
208
 
155
- declare const __VLS_component_19: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
209
+ declare const __VLS_component_22: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
156
210
  submit: () => any;
157
- }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
211
+ }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
158
212
  onSubmit?: (() => any) | undefined;
159
213
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
160
214
 
161
- declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
215
+ declare const __VLS_component_23: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
216
+
217
+ declare const __VLS_component_24: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
218
+
219
+ declare const __VLS_component_25: DefineComponent<__VLS_Props_15, {
220
+ close(result?: unknown): Promise<void>;
221
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
222
+ $modal: ({
223
+ $: ComponentInternalInstance;
224
+ $data: {};
225
+ $props: {
226
+ readonly persistent?: boolean | undefined;
227
+ readonly title?: string | undefined;
228
+ readonly description?: string | undefined;
229
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
230
+ $attrs: {
231
+ [x: string]: unknown;
232
+ };
233
+ $refs: {
234
+ [x: string]: unknown;
235
+ } & {
236
+ $root: ({
237
+ $: ComponentInternalInstance;
238
+ $data: {};
239
+ $props: {
240
+ readonly open?: boolean | undefined;
241
+ readonly defaultOpen?: boolean | undefined;
242
+ readonly modal?: boolean | undefined;
243
+ readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
244
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
245
+ $attrs: {
246
+ [x: string]: unknown;
247
+ };
248
+ $refs: {
249
+ [x: string]: unknown;
250
+ };
251
+ $slots: Readonly<{
252
+ [name: string]: Slot<any> | undefined;
253
+ }>;
254
+ $root: ComponentPublicInstance | null;
255
+ $parent: ComponentPublicInstance | null;
256
+ $host: Element | null;
257
+ $emit: (event: "update:open", value: boolean) => void;
258
+ $el: any;
259
+ $options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
260
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
261
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
262
+ "update:open": (value: boolean) => any;
263
+ }, string, {
264
+ defaultOpen: boolean;
265
+ open: boolean;
266
+ modal: boolean;
267
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
268
+ beforeCreate?: (() => void) | (() => void)[];
269
+ created?: (() => void) | (() => void)[];
270
+ beforeMount?: (() => void) | (() => void)[];
271
+ mounted?: (() => void) | (() => void)[];
272
+ beforeUpdate?: (() => void) | (() => void)[];
273
+ updated?: (() => void) | (() => void)[];
274
+ activated?: (() => void) | (() => void)[];
275
+ deactivated?: (() => void) | (() => void)[];
276
+ beforeDestroy?: (() => void) | (() => void)[];
277
+ beforeUnmount?: (() => void) | (() => void)[];
278
+ destroyed?: (() => void) | (() => void)[];
279
+ unmounted?: (() => void) | (() => void)[];
280
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
281
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
282
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
283
+ };
284
+ $forceUpdate: () => void;
285
+ $nextTick: typeof nextTick;
286
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
287
+ } & Readonly<{
288
+ defaultOpen: boolean;
289
+ open: boolean;
290
+ modal: boolean;
291
+ }> & Omit<Readonly<DialogRootProps> & Readonly<{
292
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
293
+ }>, "open" | "defaultOpen" | "modal"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
294
+ $slots: Readonly<{
295
+ default: (props: {
296
+ open: boolean;
297
+ }) => any;
298
+ }> & {
299
+ default: (props: {
300
+ open: boolean;
301
+ }) => any;
302
+ };
303
+ }) | null;
304
+ };
305
+ $slots: Readonly<{
306
+ [name: string]: Slot<any> | undefined;
307
+ }>;
308
+ $root: ComponentPublicInstance | null;
309
+ $parent: ComponentPublicInstance | null;
310
+ $host: Element | null;
311
+ $emit: (event: string, ...args: any[]) => void;
312
+ $el: any;
313
+ $options: ComponentOptionsBase<Readonly<ModalProps> & Readonly<{}>, {
314
+ close(result?: unknown): Promise<void>;
315
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
316
+ beforeCreate?: (() => void) | (() => void)[];
317
+ created?: (() => void) | (() => void)[];
318
+ beforeMount?: (() => void) | (() => void)[];
319
+ mounted?: (() => void) | (() => void)[];
320
+ beforeUpdate?: (() => void) | (() => void)[];
321
+ updated?: (() => void) | (() => void)[];
322
+ activated?: (() => void) | (() => void)[];
323
+ deactivated?: (() => void) | (() => void)[];
324
+ beforeDestroy?: (() => void) | (() => void)[];
325
+ beforeUnmount?: (() => void) | (() => void)[];
326
+ destroyed?: (() => void) | (() => void)[];
327
+ unmounted?: (() => void) | (() => void)[];
328
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
329
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
330
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
331
+ };
332
+ $forceUpdate: () => void;
333
+ $nextTick: typeof nextTick;
334
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
335
+ } & Readonly<{}> & Omit<Readonly<ModalProps> & Readonly<{}>, "close"> & ShallowUnwrapRef< {
336
+ close(result?: unknown): Promise<void>;
337
+ }> & {} & ComponentCustomProperties & {} & {
338
+ $slots: Readonly<ModalSlots> & ModalSlots;
339
+ }) | null;
340
+ }, any>;
162
341
 
163
- declare const __VLS_component_20: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
342
+ declare const __VLS_component_26: DefineComponent<SelectProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
343
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
344
+ }, string, PublicProps, Readonly<SelectProps> & Readonly<{
345
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
346
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
347
+
348
+ declare const __VLS_component_27: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
164
349
 
165
- declare const __VLS_component_21: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
350
+ declare const __VLS_component_28: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
166
351
 
167
352
  declare const __VLS_component_3: DefineComponent<__VLS_Props, {
168
353
  id: string;
169
354
  name: ComputedRef<string | undefined>;
170
355
  label: ComputedRef<string | undefined>;
171
356
  description: ComputedRef<string | undefined>;
172
- value: ComputedRef<string | number | boolean | object | undefined>;
357
+ value: ComputedRef<Nullable<FormFieldValue>>;
173
358
  errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
174
359
  required: ComputedRef<boolean | undefined>;
175
360
  update(value: Nullable<FormFieldValue>): void;
176
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
361
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
177
362
  "update:modelValue": (value: Nullable<FormFieldValue>) => any;
178
363
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
179
364
  "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
@@ -183,7 +368,9 @@ declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, Compone
183
368
 
184
369
  declare const __VLS_component_5: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
185
370
 
186
- declare const __VLS_component_6: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
371
+ declare const __VLS_component_6: DefineComponent<ModalProps, {
372
+ close(result?: unknown): Promise<void>;
373
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
187
374
  $root: ({
188
375
  $: ComponentInternalInstance;
189
376
  $data: {};
@@ -233,7 +420,7 @@ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
233
420
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
234
421
  };
235
422
  $forceUpdate: () => void;
236
- $nextTick: nextTick;
423
+ $nextTick: typeof nextTick;
237
424
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
238
425
  } & Readonly<{
239
426
  defaultOpen: boolean;
@@ -241,7 +428,7 @@ open: boolean;
241
428
  modal: boolean;
242
429
  }> & Omit<Readonly<DialogRootProps> & Readonly<{
243
430
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
244
- }>, "modal" | "open" | "defaultOpen"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
431
+ }>, "open" | "defaultOpen" | "modal"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
245
432
  $slots: Readonly<{
246
433
  default: (props: {
247
434
  open: boolean;
@@ -265,48 +452,90 @@ declare type __VLS_Props = InputProps & {
265
452
  };
266
453
 
267
454
  declare type __VLS_Props_10 = {
455
+ report: ErrorReport;
456
+ currentReport?: number;
457
+ totalReports?: number;
458
+ };
459
+
460
+ declare type __VLS_Props_11 = {
461
+ form?: FormController;
462
+ };
463
+
464
+ declare type __VLS_Props_12 = InputProps & {
465
+ inputClass?: HTMLAttributes['class'];
466
+ wrapperClass?: HTMLAttributes['class'];
467
+ };
468
+
469
+ declare type __VLS_Props_13 = Omit<ButtonProps, 'variant'>;
470
+
471
+ declare type __VLS_Props_14 = {
472
+ as?: string;
473
+ inline?: boolean;
474
+ langKey?: string;
475
+ langParams?: number | Record<string, unknown>;
476
+ langDefault?: string;
477
+ text?: string;
478
+ actions?: Record<string, () => unknown>;
479
+ };
480
+
481
+ declare type __VLS_Props_15 = ModalProps & {
482
+ dismissable?: boolean;
483
+ wrapperClass?: HTMLAttributes['class'];
484
+ class?: HTMLAttributes['class'];
485
+ };
486
+
487
+ declare type __VLS_Props_16 = {
268
488
  modal: UIModal;
269
489
  childIndex?: number;
270
490
  };
271
491
 
272
- declare type __VLS_Props_11 = {
492
+ declare type __VLS_Props_17 = {
273
493
  filledClass?: string;
274
494
  progress?: number;
275
495
  job?: Job;
276
496
  };
277
497
 
278
- declare type __VLS_Props_2 = {
279
- type?: string;
498
+ declare type __VLS_Props_18 = {
499
+ class?: HTMLAttributes['class'];
280
500
  };
281
501
 
282
- declare type __VLS_Props_3 = InputProps & {
283
- inputClass?: HTMLAttributes['class'];
502
+ declare type __VLS_Props_19 = ToastProps & {
503
+ class?: HTMLAttributes['class'];
284
504
  };
285
505
 
286
- declare type __VLS_Props_4 = {
287
- report: ErrorReport;
506
+ declare type __VLS_Props_2 = {
507
+ type?: string;
288
508
  };
289
509
 
510
+ declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
511
+
512
+ declare type __VLS_Props_4 = SelectItemProps;
513
+
290
514
  declare type __VLS_Props_5 = {
291
- report: ErrorReport;
292
- currentReport?: number;
293
- totalReports?: number;
515
+ class?: string;
294
516
  };
295
517
 
296
- declare type __VLS_Props_6 = {
297
- form?: FormController;
518
+ declare type __VLS_Props_6 = InputProps & {
519
+ inputClass?: HTMLAttributes['class'];
520
+ labelClass?: HTMLAttributes['class'];
298
521
  };
299
522
 
300
- declare type __VLS_Props_7 = InputProps & {
301
- inputClass?: HTMLAttributes['class'];
302
- wrapperClass?: HTMLAttributes['class'];
523
+ declare type __VLS_Props_7 = {
524
+ type?: string;
525
+ contentClass?: HTMLAttributes['class'];
526
+ ariaLabel?: string;
527
+ formAriaHidden?: boolean;
528
+ tabindex?: string;
529
+ text: string;
530
+ disabled?: boolean;
303
531
  };
304
532
 
305
- declare type __VLS_Props_8 = Omit<ButtonProps, 'variant'>;
533
+ declare type __VLS_Props_8 = {
534
+ error: ErrorSource;
535
+ };
306
536
 
307
- declare type __VLS_Props_9 = ModalProps & {
308
- wrapperClass?: HTMLAttributes['class'];
309
- class?: HTMLAttributes['class'];
537
+ declare type __VLS_Props_9 = {
538
+ report: ErrorReport;
310
539
  };
311
540
 
312
541
  declare function __VLS_template(): {
@@ -323,8 +552,8 @@ declare function __VLS_template_10(): {
323
552
  attrs: Partial<{}>;
324
553
  slots: {
325
554
  default?(_: {
326
- modelValue: FormFieldValue | null;
327
- open: unknown;
555
+ modelValue: Nullable<FormFieldValue>;
556
+ open: boolean;
328
557
  }): any;
329
558
  };
330
559
  refs: {};
@@ -335,7 +564,6 @@ declare function __VLS_template_11(): {
335
564
  attrs: Partial<{}>;
336
565
  slots: {
337
566
  default?(_: {}): any;
338
- icon?(_: {}): any;
339
567
  };
340
568
  refs: {};
341
569
  rootEl: any;
@@ -365,7 +593,7 @@ declare function __VLS_template_14(): {
365
593
  default?(_: {}): any;
366
594
  };
367
595
  refs: {};
368
- rootEl: HTMLDivElement;
596
+ rootEl: any;
369
597
  };
370
598
 
371
599
  declare function __VLS_template_15(): {
@@ -383,21 +611,136 @@ declare function __VLS_template_16(): {
383
611
  default?(_: {}): any;
384
612
  };
385
613
  refs: {};
386
- rootEl: any;
614
+ rootEl: HTMLDetailsElement;
387
615
  };
388
616
 
389
617
  declare function __VLS_template_17(): {
618
+ attrs: Partial<{}>;
619
+ slots: {
620
+ default?(_: {}): any;
621
+ };
622
+ refs: {};
623
+ rootEl: any;
624
+ };
625
+
626
+ declare function __VLS_template_18(): {
390
627
  attrs: Partial<{}>;
391
628
  slots: {
392
629
  default?(_: {}): any;
393
630
  };
394
631
  refs: {
395
- $input: unknown;
632
+ $input: ({
633
+ $: ComponentInternalInstance;
634
+ $data: {};
635
+ $props: {
636
+ readonly name?: string | undefined;
637
+ readonly label?: string | undefined;
638
+ readonly description?: string | undefined;
639
+ readonly modelValue?: Nullable<FormFieldValue>;
640
+ readonly as?: string | undefined;
641
+ readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
642
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
643
+ $attrs: {
644
+ [x: string]: unknown;
645
+ };
646
+ $refs: {
647
+ [x: string]: unknown;
648
+ };
649
+ $slots: Readonly<{
650
+ [name: string]: Slot<any> | undefined;
651
+ }>;
652
+ $root: ComponentPublicInstance | null;
653
+ $parent: ComponentPublicInstance | null;
654
+ $host: Element | null;
655
+ $emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
656
+ $el: any;
657
+ $options: ComponentOptionsBase<Readonly<InputProps & {
658
+ as?: string;
659
+ }> & Readonly<{
660
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
661
+ }>, {
662
+ id: string;
663
+ name: ComputedRef<string | undefined>;
664
+ label: ComputedRef<string | undefined>;
665
+ description: ComputedRef<string | undefined>;
666
+ value: ComputedRef<Nullable<FormFieldValue>>;
667
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
668
+ required: ComputedRef<boolean | undefined>;
669
+ update(value: Nullable<FormFieldValue>): void;
670
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
671
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
672
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
673
+ beforeCreate?: (() => void) | (() => void)[];
674
+ created?: (() => void) | (() => void)[];
675
+ beforeMount?: (() => void) | (() => void)[];
676
+ mounted?: (() => void) | (() => void)[];
677
+ beforeUpdate?: (() => void) | (() => void)[];
678
+ updated?: (() => void) | (() => void)[];
679
+ activated?: (() => void) | (() => void)[];
680
+ deactivated?: (() => void) | (() => void)[];
681
+ beforeDestroy?: (() => void) | (() => void)[];
682
+ beforeUnmount?: (() => void) | (() => void)[];
683
+ destroyed?: (() => void) | (() => void)[];
684
+ unmounted?: (() => void) | (() => void)[];
685
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
686
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
687
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
688
+ };
689
+ $forceUpdate: () => void;
690
+ $nextTick: typeof nextTick;
691
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
692
+ } & Readonly<{}> & Omit<Readonly<InputProps & {
693
+ as?: string;
694
+ }> & Readonly<{
695
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
696
+ }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
697
+ id: string;
698
+ name: ComputedRef<string | undefined>;
699
+ label: ComputedRef<string | undefined>;
700
+ description: ComputedRef<string | undefined>;
701
+ value: ComputedRef<Nullable<FormFieldValue>>;
702
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
703
+ required: ComputedRef<boolean | undefined>;
704
+ update(value: Nullable<FormFieldValue>): void;
705
+ }> & {} & ComponentCustomProperties & {} & {
706
+ $slots: {
707
+ default?(_: {}): any;
708
+ };
709
+ }) | null;
396
710
  };
397
711
  rootEl: any;
398
712
  };
399
713
 
400
- declare function __VLS_template_18(): {
714
+ declare function __VLS_template_19(): {
715
+ attrs: Partial<{}>;
716
+ slots: {
717
+ default?(_: {}): any;
718
+ };
719
+ refs: {};
720
+ rootEl: any;
721
+ };
722
+
723
+ declare function __VLS_template_2(): {
724
+ attrs: Partial<{}>;
725
+ slots: {
726
+ default?(_: {}): any;
727
+ };
728
+ refs: {};
729
+ rootEl: any;
730
+ };
731
+
732
+ declare function __VLS_template_20(): {
733
+ attrs: Partial<{}>;
734
+ slots: {
735
+ default?(_: {}): any;
736
+ };
737
+ refs: {
738
+ $input: HTMLInputElement;
739
+ };
740
+ rootEl: HTMLDivElement;
741
+ };
742
+
743
+ declare function __VLS_template_21(): {
401
744
  attrs: Partial<{}>;
402
745
  slots: Readonly<{
403
746
  default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
@@ -408,7 +751,7 @@ declare function __VLS_template_18(): {
408
751
  rootEl: HTMLDivElement;
409
752
  };
410
753
 
411
- declare function __VLS_template_19(): {
754
+ declare function __VLS_template_22(): {
412
755
  attrs: Partial<{}>;
413
756
  slots: {
414
757
  default?(_: {}): any;
@@ -417,7 +760,7 @@ declare function __VLS_template_19(): {
417
760
  rootEl: HTMLFormElement;
418
761
  };
419
762
 
420
- declare function __VLS_template_2(): {
763
+ declare function __VLS_template_23(): {
421
764
  attrs: Partial<{}>;
422
765
  slots: {
423
766
  default?(_: {}): any;
@@ -426,7 +769,144 @@ declare function __VLS_template_2(): {
426
769
  rootEl: any;
427
770
  };
428
771
 
429
- declare function __VLS_template_20(): {
772
+ declare function __VLS_template_24(): {
773
+ attrs: Partial<{}>;
774
+ slots: Readonly<{
775
+ default?(): VNode[];
776
+ }> & {
777
+ default?(): VNode[];
778
+ };
779
+ refs: {};
780
+ rootEl: any;
781
+ };
782
+
783
+ declare function __VLS_template_25(): {
784
+ attrs: Partial<{}>;
785
+ slots: Readonly<ModalSlots> & ModalSlots;
786
+ refs: {
787
+ $modal: ({
788
+ $: ComponentInternalInstance;
789
+ $data: {};
790
+ $props: {
791
+ readonly persistent?: boolean | undefined;
792
+ readonly title?: string | undefined;
793
+ readonly description?: string | undefined;
794
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
795
+ $attrs: {
796
+ [x: string]: unknown;
797
+ };
798
+ $refs: {
799
+ [x: string]: unknown;
800
+ } & {
801
+ $root: ({
802
+ $: ComponentInternalInstance;
803
+ $data: {};
804
+ $props: {
805
+ readonly open?: boolean | undefined;
806
+ readonly defaultOpen?: boolean | undefined;
807
+ readonly modal?: boolean | undefined;
808
+ readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
809
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
810
+ $attrs: {
811
+ [x: string]: unknown;
812
+ };
813
+ $refs: {
814
+ [x: string]: unknown;
815
+ };
816
+ $slots: Readonly<{
817
+ [name: string]: Slot<any> | undefined;
818
+ }>;
819
+ $root: ComponentPublicInstance | null;
820
+ $parent: ComponentPublicInstance | null;
821
+ $host: Element | null;
822
+ $emit: (event: "update:open", value: boolean) => void;
823
+ $el: any;
824
+ $options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
825
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
826
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
827
+ "update:open": (value: boolean) => any;
828
+ }, string, {
829
+ defaultOpen: boolean;
830
+ open: boolean;
831
+ modal: boolean;
832
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
833
+ beforeCreate?: (() => void) | (() => void)[];
834
+ created?: (() => void) | (() => void)[];
835
+ beforeMount?: (() => void) | (() => void)[];
836
+ mounted?: (() => void) | (() => void)[];
837
+ beforeUpdate?: (() => void) | (() => void)[];
838
+ updated?: (() => void) | (() => void)[];
839
+ activated?: (() => void) | (() => void)[];
840
+ deactivated?: (() => void) | (() => void)[];
841
+ beforeDestroy?: (() => void) | (() => void)[];
842
+ beforeUnmount?: (() => void) | (() => void)[];
843
+ destroyed?: (() => void) | (() => void)[];
844
+ unmounted?: (() => void) | (() => void)[];
845
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
846
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
847
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
848
+ };
849
+ $forceUpdate: () => void;
850
+ $nextTick: typeof nextTick;
851
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
852
+ } & Readonly<{
853
+ defaultOpen: boolean;
854
+ open: boolean;
855
+ modal: boolean;
856
+ }> & Omit<Readonly<DialogRootProps> & Readonly<{
857
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
858
+ }>, "open" | "defaultOpen" | "modal"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
859
+ $slots: Readonly<{
860
+ default: (props: {
861
+ open: boolean;
862
+ }) => any;
863
+ }> & {
864
+ default: (props: {
865
+ open: boolean;
866
+ }) => any;
867
+ };
868
+ }) | null;
869
+ };
870
+ $slots: Readonly<{
871
+ [name: string]: Slot<any> | undefined;
872
+ }>;
873
+ $root: ComponentPublicInstance | null;
874
+ $parent: ComponentPublicInstance | null;
875
+ $host: Element | null;
876
+ $emit: (event: string, ...args: any[]) => void;
877
+ $el: any;
878
+ $options: ComponentOptionsBase<Readonly<ModalProps> & Readonly<{}>, {
879
+ close(result?: unknown): Promise<void>;
880
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
881
+ beforeCreate?: (() => void) | (() => void)[];
882
+ created?: (() => void) | (() => void)[];
883
+ beforeMount?: (() => void) | (() => void)[];
884
+ mounted?: (() => void) | (() => void)[];
885
+ beforeUpdate?: (() => void) | (() => void)[];
886
+ updated?: (() => void) | (() => void)[];
887
+ activated?: (() => void) | (() => void)[];
888
+ deactivated?: (() => void) | (() => void)[];
889
+ beforeDestroy?: (() => void) | (() => void)[];
890
+ beforeUnmount?: (() => void) | (() => void)[];
891
+ destroyed?: (() => void) | (() => void)[];
892
+ unmounted?: (() => void) | (() => void)[];
893
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
894
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
895
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
896
+ };
897
+ $forceUpdate: () => void;
898
+ $nextTick: typeof nextTick;
899
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
900
+ } & Readonly<{}> & Omit<Readonly<ModalProps> & Readonly<{}>, "close"> & ShallowUnwrapRef< {
901
+ close(result?: unknown): Promise<void>;
902
+ }> & {} & ComponentCustomProperties & {} & {
903
+ $slots: Readonly<ModalSlots> & ModalSlots;
904
+ }) | null;
905
+ };
906
+ rootEl: any;
907
+ };
908
+
909
+ declare function __VLS_template_26(): {
430
910
  attrs: Partial<{}>;
431
911
  slots: {
432
912
  default?(_: {}): any;
@@ -435,9 +915,20 @@ declare function __VLS_template_20(): {
435
915
  rootEl: any;
436
916
  };
437
917
 
438
- declare function __VLS_template_21(): {
918
+ declare function __VLS_template_27(): {
439
919
  attrs: Partial<{}>;
440
- slots: Readonly<ModalSlots> & ModalSlots;
920
+ slots: {
921
+ default?(_: {}): any;
922
+ };
923
+ refs: {};
924
+ rootEl: any;
925
+ };
926
+
927
+ declare function __VLS_template_28(): {
928
+ attrs: Partial<{}>;
929
+ slots: {
930
+ default?(_: {}): any;
931
+ };
441
932
  refs: {};
442
933
  rootEl: any;
443
934
  };
@@ -524,7 +1015,7 @@ declare function __VLS_template_6(): {
524
1015
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
525
1016
  };
526
1017
  $forceUpdate: () => void;
527
- $nextTick: nextTick;
1018
+ $nextTick: typeof nextTick;
528
1019
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
529
1020
  } & Readonly<{
530
1021
  defaultOpen: boolean;
@@ -532,7 +1023,7 @@ declare function __VLS_template_6(): {
532
1023
  modal: boolean;
533
1024
  }> & Omit<Readonly<DialogRootProps> & Readonly<{
534
1025
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
535
- }>, "modal" | "open" | "defaultOpen"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
1026
+ }>, "open" | "defaultOpen" | "modal"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
536
1027
  $slots: Readonly<{
537
1028
  default: (props: {
538
1029
  open: boolean;
@@ -602,6 +1093,20 @@ declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
602
1093
 
603
1094
  declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
604
1095
 
1096
+ declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
1097
+
1098
+ declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
1099
+
1100
+ declare type __VLS_TemplateResult_24 = ReturnType<typeof __VLS_template_24>;
1101
+
1102
+ declare type __VLS_TemplateResult_25 = ReturnType<typeof __VLS_template_25>;
1103
+
1104
+ declare type __VLS_TemplateResult_26 = ReturnType<typeof __VLS_template_26>;
1105
+
1106
+ declare type __VLS_TemplateResult_27 = ReturnType<typeof __VLS_template_27>;
1107
+
1108
+ declare type __VLS_TemplateResult_28 = ReturnType<typeof __VLS_template_28>;
1109
+
605
1110
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
606
1111
 
607
1112
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
@@ -612,89 +1117,131 @@ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
612
1117
 
613
1118
  declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
614
1119
 
615
- declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
1120
+ declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
1121
+
1122
+ declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
1123
+
1124
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
1125
+ new (): {
1126
+ $slots: S;
1127
+ };
1128
+ };
1129
+
1130
+ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
1131
+ new (): {
1132
+ $slots: S;
1133
+ };
1134
+ };
1135
+
1136
+ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
1137
+ new (): {
1138
+ $slots: S;
1139
+ };
1140
+ };
1141
+
1142
+ declare type __VLS_WithTemplateSlots_12<T, S> = T & {
1143
+ new (): {
1144
+ $slots: S;
1145
+ };
1146
+ };
1147
+
1148
+ declare type __VLS_WithTemplateSlots_13<T, S> = T & {
1149
+ new (): {
1150
+ $slots: S;
1151
+ };
1152
+ };
1153
+
1154
+ declare type __VLS_WithTemplateSlots_14<T, S> = T & {
1155
+ new (): {
1156
+ $slots: S;
1157
+ };
1158
+ };
616
1159
 
617
- declare type __VLS_TemplateResult_9 = ReturnType<typeof __VLS_template_9>;
1160
+ declare type __VLS_WithTemplateSlots_15<T, S> = T & {
1161
+ new (): {
1162
+ $slots: S;
1163
+ };
1164
+ };
618
1165
 
619
- declare type __VLS_WithTemplateSlots<T, S> = T & {
1166
+ declare type __VLS_WithTemplateSlots_16<T, S> = T & {
620
1167
  new (): {
621
1168
  $slots: S;
622
1169
  };
623
1170
  };
624
1171
 
625
- declare type __VLS_WithTemplateSlots_10<T, S> = T & {
1172
+ declare type __VLS_WithTemplateSlots_17<T, S> = T & {
626
1173
  new (): {
627
1174
  $slots: S;
628
1175
  };
629
1176
  };
630
1177
 
631
- declare type __VLS_WithTemplateSlots_11<T, S> = T & {
1178
+ declare type __VLS_WithTemplateSlots_18<T, S> = T & {
632
1179
  new (): {
633
1180
  $slots: S;
634
1181
  };
635
1182
  };
636
1183
 
637
- declare type __VLS_WithTemplateSlots_12<T, S> = T & {
1184
+ declare type __VLS_WithTemplateSlots_19<T, S> = T & {
638
1185
  new (): {
639
1186
  $slots: S;
640
1187
  };
641
1188
  };
642
1189
 
643
- declare type __VLS_WithTemplateSlots_13<T, S> = T & {
1190
+ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
644
1191
  new (): {
645
1192
  $slots: S;
646
1193
  };
647
1194
  };
648
1195
 
649
- declare type __VLS_WithTemplateSlots_14<T, S> = T & {
1196
+ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
650
1197
  new (): {
651
1198
  $slots: S;
652
1199
  };
653
1200
  };
654
1201
 
655
- declare type __VLS_WithTemplateSlots_15<T, S> = T & {
1202
+ declare type __VLS_WithTemplateSlots_21<T, S> = T & {
656
1203
  new (): {
657
1204
  $slots: S;
658
1205
  };
659
1206
  };
660
1207
 
661
- declare type __VLS_WithTemplateSlots_16<T, S> = T & {
1208
+ declare type __VLS_WithTemplateSlots_22<T, S> = T & {
662
1209
  new (): {
663
1210
  $slots: S;
664
1211
  };
665
1212
  };
666
1213
 
667
- declare type __VLS_WithTemplateSlots_17<T, S> = T & {
1214
+ declare type __VLS_WithTemplateSlots_23<T, S> = T & {
668
1215
  new (): {
669
1216
  $slots: S;
670
1217
  };
671
1218
  };
672
1219
 
673
- declare type __VLS_WithTemplateSlots_18<T, S> = T & {
1220
+ declare type __VLS_WithTemplateSlots_24<T, S> = T & {
674
1221
  new (): {
675
1222
  $slots: S;
676
1223
  };
677
1224
  };
678
1225
 
679
- declare type __VLS_WithTemplateSlots_19<T, S> = T & {
1226
+ declare type __VLS_WithTemplateSlots_25<T, S> = T & {
680
1227
  new (): {
681
1228
  $slots: S;
682
1229
  };
683
1230
  };
684
1231
 
685
- declare type __VLS_WithTemplateSlots_2<T, S> = T & {
1232
+ declare type __VLS_WithTemplateSlots_26<T, S> = T & {
686
1233
  new (): {
687
1234
  $slots: S;
688
1235
  };
689
1236
  };
690
1237
 
691
- declare type __VLS_WithTemplateSlots_20<T, S> = T & {
1238
+ declare type __VLS_WithTemplateSlots_27<T, S> = T & {
692
1239
  new (): {
693
1240
  $slots: S;
694
1241
  };
695
1242
  };
696
1243
 
697
- declare type __VLS_WithTemplateSlots_21<T, S> = T & {
1244
+ declare type __VLS_WithTemplateSlots_28<T, S> = T & {
698
1245
  new (): {
699
1246
  $slots: S;
700
1247
  };
@@ -746,6 +1293,8 @@ export declare type AcceptRefs<T> = {
746
1293
  [K in keyof T]: T[K] | RefUnion<T[K]>;
747
1294
  };
748
1295
 
1296
+ export declare const AdvancedOptions: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1297
+
749
1298
  export declare type AerogelGlobalEvents = Partial<{
750
1299
  [Event in EventWithoutPayload]: () => unknown;
751
1300
  }> & Partial<{
@@ -761,204 +1310,6 @@ export declare interface AerogelTestingRuntime {
761
1310
  on: (typeof Events)['on'];
762
1311
  }
763
1312
 
764
- export declare const AGErrorMessage: DefineComponent<ExtractPropTypes< {
765
- error: RequiredProp<unknown>;
766
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
767
- error: RequiredProp<unknown>;
768
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
769
-
770
- export declare const AGHeadlessSelect: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
771
-
772
- export declare const AGHeadlessSelectError: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
773
-
774
- export declare const AGHeadlessSelectOption: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
775
-
776
- export declare const AGHeadlessSelectOptions: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
777
-
778
- export declare const AGHeadlessSelectTrigger: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
779
-
780
- export declare const AGHeadlessSnackbar: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
781
-
782
- export declare const AGMarkdown: DefineComponent<ExtractPropTypes< {
783
- as: OptionalProp<string | null>;
784
- inline: OptionalProp<boolean>;
785
- langKey: OptionalProp<string | null>;
786
- langParams: OptionalProp<number | Record<string, unknown> | null>;
787
- text: OptionalProp<string | null>;
788
- actions: OptionalProp<Record<string, () => unknown> | null>;
789
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
790
- as: OptionalProp<string | null>;
791
- inline: OptionalProp<boolean>;
792
- langKey: OptionalProp<string | null>;
793
- langParams: OptionalProp<number | Record<string, unknown> | null>;
794
- text: OptionalProp<string | null>;
795
- actions: OptionalProp<Record<string, () => unknown> | null>;
796
- }>> & Readonly<{}>, {
797
- actions: Record<string, () => unknown> | null;
798
- text: string | null;
799
- as: string | null;
800
- inline: boolean;
801
- langKey: string | null;
802
- langParams: number | Record<string, unknown> | null;
803
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
804
-
805
- export declare const AGMeasured: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
806
-
807
- export declare const AGSelect: DefineComponent<ExtractPropTypes< {
808
- name: OptionalProp<string | null>;
809
- label: OptionalProp<string | null>;
810
- options: RequiredProp<FormFieldValue[]>;
811
- noSelectionText: OptionalProp<string | null>;
812
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
813
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
814
- "update:modelValue": (...args: any[]) => void;
815
- }, string, PublicProps, Readonly<ExtractPropTypes< {
816
- name: OptionalProp<string | null>;
817
- label: OptionalProp<string | null>;
818
- options: RequiredProp<FormFieldValue[]>;
819
- noSelectionText: OptionalProp<string | null>;
820
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
821
- }>> & Readonly<{
822
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
823
- }>, {
824
- name: string | null;
825
- label: string | null;
826
- noSelectionText: string | null;
827
- optionsText: string | ((option: FormFieldValue) => string) | null;
828
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
829
- $select: ({
830
- $: ComponentInternalInstance;
831
- $data: {};
832
- $props: Partial<{
833
- name: string | null;
834
- label: string | null;
835
- modelValue: FormFieldValue | null;
836
- noSelectionText: string | null;
837
- optionsText: string | ((option: FormFieldValue) => string) | null;
838
- }> & Omit<{
839
- readonly name: string | null;
840
- readonly label: string | null;
841
- readonly modelValue: FormFieldValue | null;
842
- readonly options: FormFieldValue[];
843
- readonly noSelectionText: string | null;
844
- readonly optionsText: string | ((option: FormFieldValue) => string) | null;
845
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
846
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "label" | "modelValue" | "noSelectionText" | "optionsText">;
847
- $attrs: {
848
- [x: string]: unknown;
849
- };
850
- $refs: {
851
- [x: string]: unknown;
852
- };
853
- $slots: Readonly<{
854
- [name: string]: Slot<any> | undefined;
855
- }>;
856
- $root: ComponentPublicInstance | null;
857
- $parent: ComponentPublicInstance | null;
858
- $host: Element | null;
859
- $emit: (event: "update:modelValue", ...args: any[]) => void;
860
- $el: any;
861
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
862
- name: OptionalProp<string | null>;
863
- label: OptionalProp<string | null>;
864
- options: RequiredProp<FormFieldValue[]>;
865
- noSelectionText: OptionalProp<string | null>;
866
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
867
- modelValue: OptionalProp<FormFieldValue | null>;
868
- }>> & Readonly<{
869
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
870
- }>, {
871
- id: string;
872
- label: ComputedRef<string | null>;
873
- noSelectionText: ComputedRef<string>;
874
- buttonText: ComputedRef<string>;
875
- renderText: ComputedRef<(value: FormFieldValue) => string>;
876
- selectedOption: ComputedRef<FormFieldValue | null>;
877
- options: ComputedRef<FormFieldValue[]>;
878
- errors: DeepReadonly<Ref<string[] | null>>;
879
- update(value: FormFieldValue): void;
880
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
881
- "update:modelValue": (...args: any[]) => void;
882
- }, string, {
883
- name: string | null;
884
- label: string | null;
885
- modelValue: FormFieldValue | null;
886
- noSelectionText: string | null;
887
- optionsText: string | ((option: FormFieldValue) => string) | null;
888
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
889
- beforeCreate?: (() => void) | (() => void)[];
890
- created?: (() => void) | (() => void)[];
891
- beforeMount?: (() => void) | (() => void)[];
892
- mounted?: (() => void) | (() => void)[];
893
- beforeUpdate?: (() => void) | (() => void)[];
894
- updated?: (() => void) | (() => void)[];
895
- activated?: (() => void) | (() => void)[];
896
- deactivated?: (() => void) | (() => void)[];
897
- beforeDestroy?: (() => void) | (() => void)[];
898
- beforeUnmount?: (() => void) | (() => void)[];
899
- destroyed?: (() => void) | (() => void)[];
900
- unmounted?: (() => void) | (() => void)[];
901
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
902
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
903
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
904
- };
905
- $forceUpdate: () => void;
906
- $nextTick: nextTick;
907
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
908
- } & Readonly<{
909
- name: string | null;
910
- label: string | null;
911
- modelValue: FormFieldValue | null;
912
- noSelectionText: string | null;
913
- optionsText: string | ((option: FormFieldValue) => string) | null;
914
- }> & Omit<Readonly<ExtractPropTypes< {
915
- name: OptionalProp<string | null>;
916
- label: OptionalProp<string | null>;
917
- options: RequiredProp<FormFieldValue[]>;
918
- noSelectionText: OptionalProp<string | null>;
919
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
920
- modelValue: OptionalProp<FormFieldValue | null>;
921
- }>> & Readonly<{
922
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
923
- }>, "id" | "errors" | "update" | "options" | "selectedOption" | "buttonText" | "renderText" | ("name" | "label" | "modelValue" | "noSelectionText" | "optionsText")> & ShallowUnwrapRef< {
924
- id: string;
925
- label: ComputedRef<string | null>;
926
- noSelectionText: ComputedRef<string>;
927
- buttonText: ComputedRef<string>;
928
- renderText: ComputedRef<(value: FormFieldValue) => string>;
929
- selectedOption: ComputedRef<FormFieldValue | null>;
930
- options: ComputedRef<FormFieldValue[]>;
931
- errors: DeepReadonly<Ref<string[] | null>>;
932
- update(value: FormFieldValue): void;
933
- }> & {} & ComponentCustomProperties & {} & {
934
- $slots: {
935
- default?(_: {
936
- modelValue: FormFieldValue | null;
937
- open: unknown;
938
- }): any;
939
- };
940
- }) | null;
941
- }, any>;
942
-
943
- export declare const AGSnackbar: DefineComponent<ExtractPropTypes< {
944
- id: RequiredProp<string>;
945
- message: RequiredProp<string>;
946
- actions: OptionalProp<SnackbarAction[]>;
947
- color: OptionalProp<"secondary" | "danger">;
948
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
949
- id: RequiredProp<string>;
950
- message: RequiredProp<string>;
951
- actions: OptionalProp<SnackbarAction[]>;
952
- color: OptionalProp<"secondary" | "danger">;
953
- }>> & Readonly<{}>, {
954
- actions: SnackbarAction[];
955
- color: "secondary" | "danger";
956
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
957
-
958
- export declare type AGSnackbarProps = ObjectWithoutEmpty<ExtractPropTypes<typeof snackbarProps>>;
959
-
960
- export declare const AGStartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
961
-
962
1313
  export declare const AlertModal: DefineComponent<AlertModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
963
1314
 
964
1315
  export declare interface AlertModalProps {
@@ -970,9 +1321,9 @@ export declare const App: Facade<AppService>;
970
1321
 
971
1322
  export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
972
1323
 
973
- export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
974
- $backdrop: HTMLDivElement;
975
- }, any>;
1324
+ export declare const AppModals: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1325
+
1326
+ export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
976
1327
 
977
1328
  export declare class AppService extends _default_3 {
978
1329
  readonly name: string;
@@ -987,29 +1338,28 @@ export declare class AppService extends _default_3 {
987
1338
  protected boot(): Promise<void>;
988
1339
  }
989
1340
 
990
- export declare function arrayProp<T>(defaultValue?: () => T[]): OptionalProp<T[]>;
1341
+ export declare interface AppSetting {
1342
+ component: Component;
1343
+ priority: number;
1344
+ }
991
1345
 
992
- export declare type BaseProp<T> = {
993
- type?: PropType<T>;
994
- validator?(value: unknown): boolean;
995
- };
1346
+ export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
996
1347
 
997
1348
  export declare function booleanInput(defaultValue?: boolean, options?: {
998
1349
  rules?: string;
999
1350
  }): FormFieldDefinition<typeof FormFieldTypes.Boolean>;
1000
1351
 
1001
- export declare function booleanProp(defaultValue?: boolean): OptionalProp<boolean>;
1002
-
1003
1352
  export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
1004
1353
 
1005
1354
  export declare function bootstrap(rootComponent: Component, options?: AerogelOptions): Promise<void>;
1006
1355
 
1007
1356
  export declare function bootstrapApplication(app: App_2, options?: AerogelOptions): Promise<void>;
1008
1357
 
1009
- export declare const Button: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1358
+ export declare const Button: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1010
1359
 
1011
1360
  export declare interface ButtonProps extends PrimitiveProps {
1012
1361
  class?: HTMLAttributes['class'];
1362
+ disabled?: boolean;
1013
1363
  href?: string;
1014
1364
  route?: string;
1015
1365
  routeParams?: object;
@@ -1034,22 +1384,27 @@ export declare class CacheService extends Service {
1034
1384
  protected open(): Promise<Cache>;
1035
1385
  }
1036
1386
 
1037
- export declare const Checkbox: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1387
+ export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1038
1388
 
1039
- export declare type Color = (typeof Colors)[keyof typeof Colors];
1389
+ export declare function classes(...inputs: ClassValue[]): string;
1040
1390
 
1041
- export declare const Colors: {
1042
- readonly Primary: "primary";
1043
- readonly Secondary: "secondary";
1044
- readonly Danger: "danger";
1045
- readonly Clear: "clear";
1391
+ export declare type ComponentPropDefinitions<T> = {
1392
+ [K in keyof T]: {
1393
+ type?: PropType<T[K]>;
1394
+ default: T[K] | (() => T[K]) | null;
1395
+ };
1046
1396
  };
1047
1397
 
1048
- export declare type ComponentProps<T = {}> = T & Record<string, unknown>;
1398
+ export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
1049
1399
 
1050
- export declare function componentRef<T>(): Ref<UnwrapNestedRefs<T> | undefined>;
1400
+ export declare function computedDebounce<T>(options: ComputedDebounceOptions<T>, getter: ComputedGetter<T>): ComputedRef<T>;
1051
1401
 
1052
- export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
1402
+ export declare function computedDebounce<T>(getter: ComputedGetter<T>): ComputedRef<T | null>;
1403
+
1404
+ export declare interface ComputedDebounceOptions<T> {
1405
+ initial?: T;
1406
+ delay?: number;
1407
+ }
1053
1408
 
1054
1409
  export declare type ComputedStateDefinition<TState extends ServiceState, TComputedState extends ServiceState> = {
1055
1410
  [K in keyof TComputedState]: (state: Unref<TState>) => TComputedState[K];
@@ -1057,6 +1412,12 @@ export declare type ComputedStateDefinition<TState extends ServiceState, TComput
1057
1412
  readonly [K in keyof TComputedState]: TComputedState[K];
1058
1413
  }>;
1059
1414
 
1415
+ export declare function computedVariantClasses<T>(value: RefsObject<{
1416
+ baseClasses?: string;
1417
+ } & CVAProps<T>>, config: {
1418
+ baseClasses?: string;
1419
+ } & CVAConfig<T>): ComputedRef<string>;
1420
+
1060
1421
  export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1061
1422
 
1062
1423
  export declare type ConfirmModalCheckboxes = Record<string, {
@@ -1090,6 +1451,10 @@ export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalChec
1090
1451
  checkboxes?: T;
1091
1452
  }
1092
1453
 
1454
+ export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>;
1455
+
1456
+ export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
1457
+
1093
1458
  export declare function dateInput(defaultValue?: Date, options?: {
1094
1459
  rules?: string;
1095
1460
  }): FormFieldDefinition<typeof FormFieldTypes.Date>;
@@ -1122,6 +1487,7 @@ instance: App_2 | null;
1122
1487
  environment: string;
1123
1488
  version: string;
1124
1489
  sourceUrl: string | undefined;
1490
+ settings: AppSetting[];
1125
1491
  }, {
1126
1492
  development: boolean;
1127
1493
  staging: boolean;
@@ -1134,18 +1500,19 @@ instance: App_2 | null;
1134
1500
  environment: string;
1135
1501
  version: string;
1136
1502
  sourceUrl: string | undefined;
1503
+ settings: AppSetting[];
1137
1504
  }>>;
1138
1505
 
1139
1506
  declare const _default_4: ServiceWithState< {
1140
1507
  modals: UIModal[];
1141
- snackbars: Snackbar[];
1508
+ toasts: UIToast[];
1142
1509
  layout: Layout;
1143
1510
  }, {
1144
1511
  mobile: boolean;
1145
1512
  desktop: boolean;
1146
1513
  }, Partial<{
1147
1514
  modals: UIModal[];
1148
- snackbars: Snackbar[];
1515
+ toasts: UIToast[];
1149
1516
  layout: Layout;
1150
1517
  }>>;
1151
1518
 
@@ -1177,21 +1544,35 @@ export declare function defineServiceState<State extends ServiceState = ServiceS
1177
1544
 
1178
1545
  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>;
1179
1546
 
1547
+ export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
1548
+
1180
1549
  export declare function dispatch(job: Job): Promise<void>;
1181
1550
 
1182
- export declare function elementRef(): Ref<HTMLElement | undefined>;
1551
+ export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1552
+
1553
+ export declare type DropdownMenuOption = {
1554
+ label: string;
1555
+ click: () => unknown;
1556
+ };
1557
+
1558
+ export declare interface DropdownMenuProps {
1559
+ align?: DropdownMenuContentProps['align'];
1560
+ options?: DropdownMenuOption[];
1561
+ }
1562
+
1563
+ export declare const EditableContent: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1183
1564
 
1184
1565
  export declare interface ElementSize {
1185
1566
  width: number;
1186
1567
  height: number;
1187
1568
  }
1188
1569
 
1189
- export declare function enumProp<Enum extends Record<string, unknown>>(enumeration: Enum, defaultValue?: Enum[keyof Enum]): OptionalProp<Enum[keyof Enum]>;
1190
-
1191
1570
  export declare type ErrorHandler = (error: ErrorSource) => boolean;
1192
1571
 
1193
1572
  declare type ErrorHandler_2 = (error: ErrorSource) => string | undefined;
1194
1573
 
1574
+ export declare const ErrorMessage: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1575
+
1195
1576
  export declare interface ErrorReport {
1196
1577
  title: string;
1197
1578
  description?: string;
@@ -1207,21 +1588,21 @@ export declare interface ErrorReportLog {
1207
1588
 
1208
1589
  export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1209
1590
 
1210
- export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1591
+ export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1211
1592
 
1212
1593
  declare interface ErrorReportModalButtonsDefaultSlotProps {
1213
1594
  id: string;
1214
1595
  description: string;
1215
1596
  iconComponent: Component;
1216
1597
  url?: string;
1217
- handler?(): void;
1598
+ click?(): void;
1218
1599
  }
1219
1600
 
1220
1601
  declare interface ErrorReportModalProps {
1221
1602
  reports: ErrorReport[];
1222
1603
  }
1223
1604
 
1224
- export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1605
+ export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1225
1606
 
1226
1607
  export declare const Errors: Facade<ErrorsService>;
1227
1608
 
@@ -1298,11 +1679,9 @@ export declare type EventWithPayload = {
1298
1679
  [K in keyof EventsPayload]: EventsPayload[K] extends void ? never : K;
1299
1680
  }[keyof EventsPayload];
1300
1681
 
1301
- export declare function extractSelectProps<T extends ExtractPropTypes<typeof selectProps>>(props: T): Pick<T, keyof typeof selectProps>;
1302
-
1303
1682
  export declare type FocusFormListener = (input: string) => unknown;
1304
1683
 
1305
- export declare const Form: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1684
+ export declare const Form: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1306
1685
 
1307
1686
  export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
1308
1687
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
@@ -1382,6 +1761,12 @@ export declare interface HasElement {
1382
1761
  $el: Readonly<Ref<HTMLElement | undefined>>;
1383
1762
  }
1384
1763
 
1764
+ export declare interface HasSelectOptionLabel {
1765
+ label: string | (() => string);
1766
+ }
1767
+
1768
+ export declare function hasSelectOptionLabel(option: unknown): option is HasSelectOptionLabel;
1769
+
1385
1770
  export declare const HeadlessButton: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1386
1771
 
1387
1772
  export declare const HeadlessInput: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
@@ -1408,22 +1793,19 @@ export declare const HeadlessModalOverlay: __VLS_WithTemplateSlots_8<typeof __VL
1408
1793
 
1409
1794
  export declare const HeadlessModalTitle: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1410
1795
 
1411
- export declare interface IAGHeadlessSelect {
1412
- id: string;
1413
- label: ComputedRef<string | null>;
1414
- noSelectionText: ComputedRef<string>;
1415
- buttonText: ComputedRef<string>;
1416
- renderText: ComputedRef<(value: FormFieldValue) => string>;
1417
- selectedOption: ComputedRef<FormFieldValue | null>;
1418
- options: ComputedRef<FormFieldValue[]>;
1419
- errors: DeepReadonly<Ref<string[] | null>>;
1420
- update(value: FormFieldValue): void;
1421
- }
1796
+ export declare const HeadlessSelect: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1422
1797
 
1423
- export declare type IAGHeadlessSelectOptionSlotProps = {
1424
- active: boolean;
1425
- selected: boolean;
1426
- };
1798
+ export declare const HeadlessSelectLabel: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1799
+
1800
+ export declare const HeadlessSelectOption: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1801
+
1802
+ export declare const HeadlessSelectOptions: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1803
+
1804
+ export declare const HeadlessSelectTrigger: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1805
+
1806
+ export declare const HeadlessSelectValue: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1807
+
1808
+ export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1427
1809
 
1428
1810
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
1429
1811
 
@@ -1431,19 +1813,111 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
1431
1813
 
1432
1814
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
1433
1815
 
1434
- export declare const Input: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1816
+ export declare const Input: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1435
1817
  "update:modelValue": (value: Nullable<FormFieldValue>) => any;
1436
- }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
1818
+ }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
1437
1819
  "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1438
1820
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1439
- $input: unknown;
1821
+ $input: ({
1822
+ $: ComponentInternalInstance;
1823
+ $data: {};
1824
+ $props: {
1825
+ readonly name?: string | undefined;
1826
+ readonly label?: string | undefined;
1827
+ readonly description?: string | undefined;
1828
+ readonly modelValue?: Nullable<FormFieldValue>;
1829
+ readonly as?: string | undefined;
1830
+ readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1831
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1832
+ $attrs: {
1833
+ [x: string]: unknown;
1834
+ };
1835
+ $refs: {
1836
+ [x: string]: unknown;
1837
+ };
1838
+ $slots: Readonly<{
1839
+ [name: string]: Slot<any> | undefined;
1840
+ }>;
1841
+ $root: ComponentPublicInstance | null;
1842
+ $parent: ComponentPublicInstance | null;
1843
+ $host: Element | null;
1844
+ $emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
1845
+ $el: any;
1846
+ $options: ComponentOptionsBase<Readonly<InputProps & {
1847
+ as?: string;
1848
+ }> & Readonly<{
1849
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1850
+ }>, {
1851
+ id: string;
1852
+ name: ComputedRef<string | undefined>;
1853
+ label: ComputedRef<string | undefined>;
1854
+ description: ComputedRef<string | undefined>;
1855
+ value: ComputedRef<Nullable<FormFieldValue>>;
1856
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1857
+ required: ComputedRef<boolean | undefined>;
1858
+ update(value: Nullable<FormFieldValue>): void;
1859
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1860
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
1861
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1862
+ beforeCreate?: (() => void) | (() => void)[];
1863
+ created?: (() => void) | (() => void)[];
1864
+ beforeMount?: (() => void) | (() => void)[];
1865
+ mounted?: (() => void) | (() => void)[];
1866
+ beforeUpdate?: (() => void) | (() => void)[];
1867
+ updated?: (() => void) | (() => void)[];
1868
+ activated?: (() => void) | (() => void)[];
1869
+ deactivated?: (() => void) | (() => void)[];
1870
+ beforeDestroy?: (() => void) | (() => void)[];
1871
+ beforeUnmount?: (() => void) | (() => void)[];
1872
+ destroyed?: (() => void) | (() => void)[];
1873
+ unmounted?: (() => void) | (() => void)[];
1874
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1875
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1876
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1877
+ };
1878
+ $forceUpdate: () => void;
1879
+ $nextTick: typeof nextTick;
1880
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
1881
+ } & Readonly<{}> & Omit<Readonly<InputProps & {
1882
+ as?: string;
1883
+ }> & Readonly<{
1884
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1885
+ }>, "id" | "value" | "name" | "description" | "errors" | "required" | "label" | "update"> & ShallowUnwrapRef< {
1886
+ id: string;
1887
+ name: ComputedRef<string | undefined>;
1888
+ label: ComputedRef<string | undefined>;
1889
+ description: ComputedRef<string | undefined>;
1890
+ value: ComputedRef<Nullable<FormFieldValue>>;
1891
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1892
+ required: ComputedRef<boolean | undefined>;
1893
+ update(value: Nullable<FormFieldValue>): void;
1894
+ }> & {} & ComponentCustomProperties & {} & {
1895
+ $slots: {
1896
+ default?(_: {}): any;
1897
+ };
1898
+ }) | null;
1440
1899
  }, any>;
1441
1900
 
1901
+ declare interface InputEmits {
1902
+ 'update:modelValue': [value: Nullable<FormFieldValue>];
1903
+ }
1904
+
1905
+ declare interface InputExpose {
1906
+ id: string;
1907
+ name: ComputedRef<Nullable<string>>;
1908
+ label: ComputedRef<Nullable<string>>;
1909
+ description: ComputedRef<Nullable<string | boolean>>;
1910
+ value: ComputedRef<Nullable<FormFieldValue>>;
1911
+ required: ComputedRef<Nullable<boolean>>;
1912
+ errors: DeepReadonly<Ref<Nullable<string[]>>>;
1913
+ update(value: Nullable<FormFieldValue>): void;
1914
+ }
1915
+
1442
1916
  declare interface InputProps {
1443
1917
  name?: string;
1444
1918
  label?: string;
1445
1919
  description?: string;
1446
- modelValue?: FormFieldValue;
1920
+ modelValue?: Nullable<FormFieldValue>;
1447
1921
  }
1448
1922
 
1449
1923
  export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
@@ -1516,9 +1990,7 @@ export declare const Layouts: {
1516
1990
  readonly Desktop: "desktop";
1517
1991
  };
1518
1992
 
1519
- export declare const Link: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1520
-
1521
- export declare function listenerProp<T extends Function = Function>(): OptionalProp<T | null>;
1993
+ export declare const Link: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1522
1994
 
1523
1995
  export declare const LoadingModal: DefineComponent<LoadingModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1524
1996
 
@@ -1535,20 +2007,22 @@ export declare type LoadingOptions = AcceptRefs<{
1535
2007
  progress?: number;
1536
2008
  }>;
1537
2009
 
1538
- export declare type MeasureDirectiveListener = (size: ElementSize) => unknown;
1539
-
1540
- export declare function mixedProp<T>(type?: PropType<T>): OptionalProp<T | null>;
2010
+ export declare const Markdown: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1541
2011
 
1542
- export declare function mixedProp<T>(type: PropType<T>, defaultValue: T): OptionalProp<T>;
2012
+ export declare type MeasureDirectiveListener = (size: ElementSize) => unknown;
1543
2013
 
1544
2014
  export declare const MOBILE_BREAKPOINT = 768;
1545
2015
 
1546
- export declare const Modal: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
2016
+ export declare const Modal: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
1547
2017
 
1548
2018
  declare interface ModalComponent<Properties extends object = object, Result = unknown> {
1549
2019
  }
1550
2020
 
1551
- export declare const ModalContext: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2021
+ export declare const ModalContext: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2022
+
2023
+ export declare interface ModalExpose {
2024
+ close(result?: unknown): Promise<void>;
2025
+ }
1552
2026
 
1553
2027
  declare type ModalProperties<TComponent> = TComponent extends ModalComponent<infer TProperties, unknown> ? TProperties : never;
1554
2028
 
@@ -1570,33 +2044,25 @@ export declare function numberInput(defaultValue?: number, options?: {
1570
2044
  rules?: string;
1571
2045
  }): FormFieldDefinition<typeof FormFieldTypes.Number>;
1572
2046
 
1573
- export declare function numberProp(): OptionalProp<number | null>;
1574
-
1575
- export declare function numberProp(defaultValue: number): OptionalProp<number>;
1576
-
1577
- export declare function objectProp<T = Object>(): OptionalProp<T | null>;
1578
-
1579
- export declare function objectProp<T>(defaultValue: () => T): OptionalProp<T>;
1580
-
1581
2047
  export declare function onCleanMounted(operation: () => Function): void;
1582
2048
 
1583
2049
  export declare function onFormFocus(input: {
1584
- name: string | null;
2050
+ name: Nullable<string>;
1585
2051
  }, listener: () => unknown): void;
1586
2052
 
1587
- export declare type OptionalProp<T> = BaseProp<T> & {
1588
- default: T | (() => T) | null;
1589
- };
1590
-
1591
2053
  export declare function persistent<T extends object>(name: string, defaults: T): UnwrapNestedRefs<T>;
1592
2054
 
2055
+ export declare type PickComponentProps<TValues, TDefinitions> = {
2056
+ [K in keyof TValues]: K extends keyof TDefinitions ? TValues[K] : never;
2057
+ };
2058
+
1593
2059
  declare interface Plugin_2 {
1594
2060
  name?: string;
1595
2061
  install(app: App_2, options: AerogelOptions): void | Promise<void>;
1596
2062
  }
1597
2063
  export { Plugin_2 as Plugin }
1598
2064
 
1599
- export declare const ProgressBar: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2065
+ export declare const ProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1600
2066
 
1601
2067
  export declare const PromptModal: DefineComponent<PromptModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1602
2068
 
@@ -1623,57 +2089,65 @@ export declare type PromptOptions = AcceptRefs<{
1623
2089
  trim?: boolean;
1624
2090
  }>;
1625
2091
 
2092
+ export declare type RefsObject<T> = {
2093
+ [K in keyof T]: Ref<T[K]> | T[K];
2094
+ };
2095
+
1626
2096
  export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
1627
2097
 
1628
2098
  export declare function registerErrorHandler(handler: ErrorHandler_2): void;
1629
2099
 
1630
- export declare function removeInteractiveClasses(classes: string): string;
1631
-
1632
2100
  export declare function renderMarkdown(markdown: string): string;
1633
2101
 
2102
+ export declare function renderVNode(node: VNode | string): string;
2103
+
1634
2104
  export declare type Replace<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>> = {
1635
2105
  [K in keyof TOriginal]: TReplacements extends Record<K, infer Replacement> ? Replacement : TOriginal[K];
1636
2106
  };
1637
2107
 
1638
2108
  export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
1639
2109
 
1640
- export declare function requiredArrayProp<T>(): RequiredProp<T[]>;
1641
-
1642
2110
  export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<typeof FormFieldTypes.Boolean, 'required'>;
1643
2111
 
1644
2112
  export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<typeof FormFieldTypes.Date>;
1645
2113
 
1646
- export declare function requiredEnumProp<Enum extends Record<string, unknown>>(enumeration: Enum): RequiredProp<Enum[keyof Enum]>;
2114
+ export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<typeof FormFieldTypes.Number, 'required'>;
1647
2115
 
1648
- export declare function requiredMixedProp<T>(type?: PropType<T>): RequiredProp<T>;
2116
+ export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<typeof FormFieldTypes.String, 'required'>;
1649
2117
 
1650
- export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<typeof FormFieldTypes.Number, 'required'>;
2118
+ export declare function resetPiniaStore(): Pinia;
1651
2119
 
1652
- export declare function requiredNumberProp(): RequiredProp<number>;
2120
+ export declare function safeHtml(html: string): string;
1653
2121
 
1654
- export declare function requiredObjectProp<T = Object>(): RequiredProp<T>;
2122
+ export declare const Select: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
1655
2123
 
1656
- export declare type RequiredProp<T> = BaseProp<T> & {
1657
- required: true;
1658
- };
2124
+ export declare interface SelectEmits extends InputEmits {
2125
+ }
1659
2126
 
1660
- export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<typeof FormFieldTypes.String, 'required'>;
2127
+ export declare interface SelectExpose extends InputExpose {
2128
+ options: ComputedRef<Nullable<SelectOption[]>>;
2129
+ selectedOption: ComputedRef<Nullable<SelectOption>>;
2130
+ placeholder: ComputedRef<string>;
2131
+ }
1661
2132
 
1662
- export declare function requiredStringProp(): RequiredProp<string>;
2133
+ export declare const SelectLabel: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
1663
2134
 
1664
- export declare function resetPiniaStore(): Pinia;
2135
+ export declare type SelectOption = {
2136
+ key: string;
2137
+ label: string;
2138
+ value: AcceptableValue;
2139
+ };
1665
2140
 
1666
- export declare function safeHtml(html: string): string;
2141
+ export declare const SelectOptions: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
1667
2142
 
1668
- export declare const selectEmits: readonly ["update:modelValue"];
2143
+ export declare interface SelectProps extends InputProps {
2144
+ as?: AsTag | Component;
2145
+ options?: any[];
2146
+ placeholder?: string;
2147
+ renderOption?: (option: any) => string;
2148
+ }
1669
2149
 
1670
- export declare const selectProps: {
1671
- name: OptionalProp<string | null>;
1672
- label: OptionalProp<string | null>;
1673
- options: RequiredProp<FormFieldValue[]>;
1674
- noSelectionText: OptionalProp<string | null>;
1675
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
1676
- };
2150
+ export declare const SelectTrigger: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1677
2151
 
1678
2152
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
1679
2153
  static persist: string[];
@@ -1737,39 +2211,9 @@ export declare type ServiceState = Record<string, any>;
1737
2211
 
1738
2212
  export declare type ServiceWithState<State extends ServiceState = ServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> = Constructor<Unref<State>> & Constructor<ComputedState> & Constructor<Service<Unref<State>, ComputedState, Unref<ServiceStorage>>>;
1739
2213
 
1740
- export declare interface ShowSnackbarOptions {
1741
- component?: Component;
1742
- color?: SnackbarColor;
1743
- actions?: SnackbarAction[];
1744
- }
1745
-
1746
- declare interface Snackbar {
1747
- id: string;
1748
- component: Component;
1749
- properties: Record<string, unknown>;
1750
- }
1751
-
1752
- export declare interface SnackbarAction {
1753
- text: string;
1754
- dismiss?: boolean;
1755
- handler?(): unknown;
1756
- }
1757
-
1758
- export declare type SnackbarColor = (typeof SnackbarColors)[keyof typeof SnackbarColors];
1759
-
1760
- export declare const SnackbarColors: Omit<{
1761
- readonly Primary: "primary";
1762
- readonly Secondary: "secondary";
1763
- readonly Danger: "danger";
1764
- readonly Clear: "clear";
1765
- }, "Primary" | "Clear">;
2214
+ export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1766
2215
 
1767
- export declare const snackbarProps: {
1768
- id: RequiredProp<string>;
1769
- message: RequiredProp<string>;
1770
- actions: OptionalProp<SnackbarAction[]>;
1771
- color: OptionalProp<"secondary" | "danger">;
1772
- };
2216
+ export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1773
2217
 
1774
2218
  export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
1775
2219
  [K in keyof TState]?: (this: TService, value: TState[K], oldValue: TState[K]) => unknown;
@@ -1786,11 +2230,29 @@ export declare function stringInput(defaultValue?: string, options?: {
1786
2230
  rules?: string;
1787
2231
  }): FormFieldDefinition<typeof FormFieldTypes.String>;
1788
2232
 
1789
- export declare function stringProp(): OptionalProp<string | null>;
2233
+ export declare type SubmitFormListener = () => unknown;
2234
+
2235
+ export declare const Toast: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2236
+
2237
+ declare interface ToastAction {
2238
+ label: string;
2239
+ dismiss?: boolean;
2240
+ click?(): unknown;
2241
+ }
1790
2242
 
1791
- export declare function stringProp(defaultValue: string): OptionalProp<string>;
2243
+ export declare interface ToastOptions {
2244
+ component?: Component;
2245
+ variant?: ToastVariant;
2246
+ actions?: ToastAction[];
2247
+ }
1792
2248
 
1793
- export declare type SubmitFormListener = () => unknown;
2249
+ declare interface ToastProps {
2250
+ message?: string;
2251
+ actions?: ToastAction[];
2252
+ variant?: ToastVariant;
2253
+ }
2254
+
2255
+ declare type ToastVariant = 'secondary' | 'danger';
1794
2256
 
1795
2257
  export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
1796
2258
 
@@ -1806,7 +2268,7 @@ export declare const UIComponents: {
1806
2268
  readonly ErrorReportModal: "error-report-modal";
1807
2269
  readonly LoadingModal: "loading-modal";
1808
2270
  readonly PromptModal: "prompt-modal";
1809
- readonly Snackbar: "snackbar";
2271
+ readonly Toast: "toast";
1810
2272
  readonly StartupCrash: "startup-crash";
1811
2273
  };
1812
2274
 
@@ -1833,8 +2295,7 @@ export declare class UIService extends _default_4 {
1833
2295
  loading<T>(operation: Promise<T> | (() => T)): Promise<T>;
1834
2296
  loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
1835
2297
  loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
1836
- showSnackbar(message: string, options?: ShowSnackbarOptions): void;
1837
- hideSnackbar(id: string): void;
2298
+ toast(message: string, options?: ToastOptions): void;
1838
2299
  registerComponent(name: UIComponent, component: Component): void;
1839
2300
  openModal<TModalComponent extends ModalComponent>(component: TModalComponent, properties?: ModalProperties<TModalComponent>): Promise<UIModal<ModalResult<TModalComponent>>>;
1840
2301
  closeModal(id: string, result?: unknown): Promise<void>;
@@ -1848,6 +2309,12 @@ export declare class UIService extends _default_4 {
1848
2309
 
1849
2310
  export declare type UIServices = typeof services_3;
1850
2311
 
2312
+ declare interface UIToast {
2313
+ id: string;
2314
+ component: Component;
2315
+ properties: Record<string, unknown>;
2316
+ }
2317
+
1851
2318
  export declare type UnknownEvent<T> = T extends keyof EventsPayload ? never : T;
1852
2319
 
1853
2320
  export declare type Unref<T> = {
@@ -1899,20 +2366,19 @@ export declare function usePromptModal(props: PromptModalProps): {
1899
2366
  renderedCancelText: ComputedRef<string>;
1900
2367
  };
1901
2368
 
1902
- export declare function useSelectEmits(): Writable<typeof selectEmits>;
1903
-
1904
- export declare function useSelectProps(): typeof selectProps;
1905
-
1906
- export declare function useSnackbar(props: ExtractPropTypes<typeof snackbarProps>): {
1907
- activate: (action: SnackbarAction) => void;
1908
- };
1909
-
1910
- export declare function useSnackbarProps(): typeof snackbarProps;
1911
-
1912
2369
  export declare function validate(value: unknown, rule: string): string[];
1913
2370
 
1914
2371
  export declare const validators: Record<string, FormFieldValidator>;
1915
2372
 
2373
+ export declare type Variants<T extends Record<string, string | boolean>> = Required<{
2374
+ [K in keyof T]: Exclude<T[K], undefined> extends string ? {
2375
+ [key in Exclude<T[K], undefined>]: string | null;
2376
+ } : {
2377
+ true: string | null;
2378
+ false: string | null;
2379
+ };
2380
+ }>;
2381
+
1916
2382
  export { }
1917
2383
 
1918
2384
 
@@ -1967,6 +2433,7 @@ declare module 'vue' {
1967
2433
  declare module '@aerogel/core' {
1968
2434
  interface AerogelOptions {
1969
2435
  services?: Record<string, Service>;
2436
+ settings?: AppSetting[];
1970
2437
  }
1971
2438
  }
1972
2439