@aerogel/core 0.0.0-next.9a1c5ba39a454b316eba36ec7bdf579fed3d95d2 → 0.0.0-next.9aa7c279868edbedbcee075aef52212597d803fb

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 (154) hide show
  1. package/dist/aerogel-core.d.ts +1283 -1588
  2. package/dist/aerogel-core.js +2496 -1994
  3. package/dist/aerogel-core.js.map +1 -1
  4. package/package.json +10 -2
  5. package/src/components/AppLayout.vue +14 -0
  6. package/src/components/{AGAppModals.vue → AppModals.vue} +2 -3
  7. package/src/components/AppOverlays.vue +9 -0
  8. package/src/components/AppToasts.vue +16 -0
  9. package/src/components/contracts/AlertModal.ts +8 -0
  10. package/src/components/contracts/Button.ts +16 -0
  11. package/src/components/contracts/ConfirmModal.ts +46 -0
  12. package/src/components/contracts/DropdownMenu.ts +20 -0
  13. package/src/components/{modals/AGErrorReportModal.ts → contracts/ErrorReportModal.ts} +5 -22
  14. package/src/components/contracts/Input.ts +26 -0
  15. package/src/components/contracts/LoadingModal.ts +26 -0
  16. package/src/components/contracts/Modal.ts +15 -10
  17. package/src/components/contracts/PromptModal.ts +34 -0
  18. package/src/components/contracts/Select.ts +45 -0
  19. package/src/components/contracts/Toast.ts +15 -0
  20. package/src/components/contracts/index.ts +10 -1
  21. package/src/components/headless/HeadlessButton.vue +51 -0
  22. package/src/components/headless/HeadlessInput.vue +59 -0
  23. package/src/components/headless/{forms/AGHeadlessInputDescription.vue → HeadlessInputDescription.vue} +6 -7
  24. package/src/components/headless/{forms/AGHeadlessInputError.vue → HeadlessInputError.vue} +2 -6
  25. package/src/components/headless/{forms/AGHeadlessInputInput.vue → HeadlessInputInput.vue} +16 -25
  26. package/src/components/headless/{forms/AGHeadlessInputLabel.vue → HeadlessInputLabel.vue} +2 -6
  27. package/src/components/headless/{forms/AGHeadlessInputTextArea.vue → HeadlessInputTextArea.vue} +9 -12
  28. package/src/components/headless/HeadlessModal.vue +57 -0
  29. package/src/components/headless/HeadlessModalContent.vue +30 -0
  30. package/src/components/headless/HeadlessModalDescription.vue +12 -0
  31. package/src/components/headless/HeadlessModalOverlay.vue +12 -0
  32. package/src/components/headless/HeadlessModalTitle.vue +12 -0
  33. package/src/components/headless/HeadlessSelect.vue +120 -0
  34. package/src/components/headless/{forms/AGHeadlessSelectError.vue → HeadlessSelectError.vue} +3 -4
  35. package/src/components/headless/HeadlessSelectLabel.vue +25 -0
  36. package/src/components/headless/HeadlessSelectOption.vue +34 -0
  37. package/src/components/headless/HeadlessSelectOptions.vue +42 -0
  38. package/src/components/headless/HeadlessSelectTrigger.vue +22 -0
  39. package/src/components/headless/HeadlessSelectValue.vue +18 -0
  40. package/src/components/headless/HeadlessToast.vue +18 -0
  41. package/src/components/headless/HeadlessToastAction.vue +13 -0
  42. package/src/components/headless/index.ts +19 -3
  43. package/src/components/index.ts +5 -10
  44. package/src/components/ui/AdvancedOptions.vue +18 -0
  45. package/src/components/ui/AlertModal.vue +14 -0
  46. package/src/components/ui/Button.vue +98 -0
  47. package/src/components/ui/Checkbox.vue +56 -0
  48. package/src/components/ui/ConfirmModal.vue +45 -0
  49. package/src/components/ui/DropdownMenu.vue +32 -0
  50. package/src/components/ui/DropdownMenuOption.vue +14 -0
  51. package/src/components/ui/DropdownMenuOptions.vue +27 -0
  52. package/src/components/ui/EditableContent.vue +82 -0
  53. package/src/components/ui/ErrorMessage.vue +15 -0
  54. package/src/components/ui/ErrorReportModal.vue +67 -0
  55. package/src/components/{modals/AGErrorReportModalButtons.vue → ui/ErrorReportModalButtons.vue} +28 -21
  56. package/src/components/ui/ErrorReportModalTitle.vue +24 -0
  57. package/src/components/{forms/AGForm.vue → ui/Form.vue} +4 -5
  58. package/src/components/ui/Input.vue +56 -0
  59. package/src/components/ui/Link.vue +12 -0
  60. package/src/components/ui/LoadingModal.vue +34 -0
  61. package/src/components/ui/Markdown.vue +69 -0
  62. package/src/components/ui/Modal.vue +122 -0
  63. package/src/components/{modals/AGModalContext.vue → ui/ModalContext.vue} +8 -9
  64. package/src/components/ui/ProgressBar.vue +51 -0
  65. package/src/components/ui/PromptModal.vue +38 -0
  66. package/src/components/ui/Select.vue +27 -0
  67. package/src/components/ui/SelectLabel.vue +17 -0
  68. package/src/components/ui/SelectOption.vue +29 -0
  69. package/src/components/ui/SelectOptions.vue +35 -0
  70. package/src/components/ui/SelectTrigger.vue +29 -0
  71. package/src/components/ui/SettingsModal.vue +15 -0
  72. package/src/components/{lib/AGStartupCrash.vue → ui/StartupCrash.vue} +7 -7
  73. package/src/components/ui/Toast.vue +44 -0
  74. package/src/components/ui/index.ts +30 -0
  75. package/src/errors/Errors.ts +7 -16
  76. package/src/forms/{Form.test.ts → FormController.test.ts} +32 -9
  77. package/src/forms/{Form.ts → FormController.ts} +28 -27
  78. package/src/forms/index.ts +2 -3
  79. package/src/forms/utils.ts +35 -35
  80. package/src/index.css +72 -0
  81. package/src/lang/index.ts +4 -0
  82. package/src/lang/settings/Language.vue +48 -0
  83. package/src/lang/settings/index.ts +10 -0
  84. package/src/services/App.state.ts +11 -1
  85. package/src/services/App.ts +9 -1
  86. package/src/services/Events.test.ts +8 -8
  87. package/src/services/Events.ts +2 -8
  88. package/src/services/index.ts +3 -0
  89. package/src/ui/UI.state.ts +7 -12
  90. package/src/ui/UI.ts +102 -103
  91. package/src/ui/index.ts +23 -24
  92. package/src/utils/classes.ts +49 -0
  93. package/src/utils/composition/events.ts +2 -4
  94. package/src/utils/composition/forms.ts +20 -4
  95. package/src/utils/composition/state.ts +11 -2
  96. package/src/utils/index.ts +3 -1
  97. package/src/utils/types.ts +3 -0
  98. package/src/utils/vue.ts +22 -128
  99. package/src/components/AGAppLayout.vue +0 -16
  100. package/src/components/AGAppOverlays.vue +0 -41
  101. package/src/components/AGAppSnackbars.vue +0 -13
  102. package/src/components/composition.ts +0 -23
  103. package/src/components/constants.ts +0 -8
  104. package/src/components/contracts/shared.ts +0 -9
  105. package/src/components/forms/AGButton.vue +0 -44
  106. package/src/components/forms/AGCheckbox.vue +0 -42
  107. package/src/components/forms/AGInput.vue +0 -42
  108. package/src/components/forms/AGSelect.story.vue +0 -46
  109. package/src/components/forms/AGSelect.vue +0 -54
  110. package/src/components/forms/index.ts +0 -5
  111. package/src/components/headless/forms/AGHeadlessButton.ts +0 -3
  112. package/src/components/headless/forms/AGHeadlessButton.vue +0 -62
  113. package/src/components/headless/forms/AGHeadlessInput.ts +0 -41
  114. package/src/components/headless/forms/AGHeadlessInput.vue +0 -70
  115. package/src/components/headless/forms/AGHeadlessSelect.ts +0 -42
  116. package/src/components/headless/forms/AGHeadlessSelect.vue +0 -77
  117. package/src/components/headless/forms/AGHeadlessSelectOption.ts +0 -4
  118. package/src/components/headless/forms/AGHeadlessSelectOption.vue +0 -31
  119. package/src/components/headless/forms/AGHeadlessSelectOptions.vue +0 -19
  120. package/src/components/headless/forms/AGHeadlessSelectTrigger.vue +0 -25
  121. package/src/components/headless/forms/composition.ts +0 -10
  122. package/src/components/headless/forms/index.ts +0 -17
  123. package/src/components/headless/modals/AGHeadlessModal.ts +0 -33
  124. package/src/components/headless/modals/AGHeadlessModal.vue +0 -88
  125. package/src/components/headless/modals/AGHeadlessModalContent.vue +0 -25
  126. package/src/components/headless/modals/index.ts +0 -5
  127. package/src/components/headless/snackbars/AGHeadlessSnackbar.vue +0 -10
  128. package/src/components/headless/snackbars/index.ts +0 -40
  129. package/src/components/lib/AGErrorMessage.vue +0 -16
  130. package/src/components/lib/AGLink.vue +0 -9
  131. package/src/components/lib/AGMarkdown.vue +0 -54
  132. package/src/components/lib/AGMeasured.vue +0 -16
  133. package/src/components/lib/AGProgressBar.vue +0 -55
  134. package/src/components/lib/index.ts +0 -6
  135. package/src/components/modals/AGAlertModal.ts +0 -18
  136. package/src/components/modals/AGAlertModal.vue +0 -14
  137. package/src/components/modals/AGConfirmModal.ts +0 -42
  138. package/src/components/modals/AGConfirmModal.vue +0 -27
  139. package/src/components/modals/AGErrorReportModal.vue +0 -54
  140. package/src/components/modals/AGErrorReportModalTitle.vue +0 -25
  141. package/src/components/modals/AGLoadingModal.ts +0 -29
  142. package/src/components/modals/AGLoadingModal.vue +0 -15
  143. package/src/components/modals/AGModal.vue +0 -40
  144. package/src/components/modals/AGModalContext.ts +0 -8
  145. package/src/components/modals/AGModalTitle.vue +0 -9
  146. package/src/components/modals/AGPromptModal.ts +0 -41
  147. package/src/components/modals/AGPromptModal.vue +0 -35
  148. package/src/components/modals/index.ts +0 -16
  149. package/src/components/snackbars/AGSnackbar.vue +0 -36
  150. package/src/components/snackbars/index.ts +0 -3
  151. package/src/components/utils.ts +0 -63
  152. package/src/forms/composition.ts +0 -6
  153. package/src/utils/tailwindcss.test.ts +0 -26
  154. package/src/utils/tailwindcss.ts +0 -7
@@ -1,114 +1,104 @@
1
- import { DialogTitle as AGHeadlessModalTitle } from 'reka-ui';
1
+ import { AcceptableValue } from 'reka-ui';
2
2
  import { AllowedComponentProps } from 'vue';
3
3
  import { App as App_2 } from 'vue';
4
+ import { AsTag } from 'reka-ui';
5
+ import { ClassValue } from 'clsx';
6
+ import { ClosureArgs } from '@noeldemartin/utils';
4
7
  import { Component } from 'vue';
5
8
  import { ComponentCustomProperties } from 'vue';
6
9
  import { ComponentCustomProps } from 'vue';
10
+ import { ComponentExposed } from 'vue-component-type-helpers';
7
11
  import { ComponentInternalInstance } from 'vue';
8
12
  import { ComponentOptionsBase } from 'vue';
9
13
  import { ComponentOptionsMixin } from 'vue';
14
+ import { ComponentProps } from 'vue-component-type-helpers';
10
15
  import { ComponentProvideOptions } from 'vue';
11
16
  import { ComponentPublicInstance } from 'vue';
17
+ import { ComputedGetter } from 'vue';
12
18
  import { ComputedRef } from 'vue';
13
19
  import { Constructor } from '@noeldemartin/utils';
20
+ import { cva } from 'class-variance-authority';
14
21
  import { DebuggerEvent } from 'vue';
15
22
  import { DeepReadonly } from 'vue';
16
23
  import { DefineComponent } from 'vue';
17
24
  import { DefineStoreOptions } from 'pinia';
18
- import { DialogRootProps } from 'reka-ui';
25
+ import { DialogContent } from 'reka-ui';
26
+ import { DialogContentProps } from 'reka-ui';
27
+ import { DialogDescriptionProps } from 'reka-ui';
28
+ import { DialogOverlayProps } from 'reka-ui';
29
+ import { DialogTitleProps } from 'reka-ui';
19
30
  import { Directive } from 'vue';
20
- import { ExtractPropTypes } from 'vue';
31
+ import { DropdownMenuContentProps } from 'reka-ui';
21
32
  import { Facade } from '@noeldemartin/utils';
22
33
  import { GetClosureArgs } from '@noeldemartin/utils';
34
+ import { GetClosureResult } from '@noeldemartin/utils';
23
35
  import { _GettersTree } from 'pinia';
24
36
  import { GlobalComponents } from 'vue';
25
37
  import { GlobalDirectives } from 'vue';
38
+ import { HTMLAttributes } from 'vue';
26
39
  import { InjectionKey } from 'vue';
27
40
  import { JSError } from '@noeldemartin/utils';
41
+ import { LabelProps } from 'reka-ui';
28
42
  import { Listeners } from '@noeldemartin/utils';
29
43
  import { ListenersManager } from '@noeldemartin/utils';
30
44
  import { MagicObject } from '@noeldemartin/utils';
31
45
  import { MaybeRef } from 'vue';
32
46
  import { nextTick } from 'vue';
33
- import { ObjectValues } from '@noeldemartin/utils';
34
- import { ObjectWithout } from '@noeldemartin/utils';
35
- import { ObjectWithoutEmpty } from '@noeldemartin/utils';
47
+ import { Nullable } from '@noeldemartin/utils';
36
48
  import { OnCleanup } from '@vue/reactivity';
37
49
  import { Pinia } from 'pinia';
38
- import { Pretty } from '@noeldemartin/utils';
50
+ import { PrimitiveProps } from 'reka-ui';
39
51
  import { PromisedValue } from '@noeldemartin/utils';
40
52
  import { PropType } from 'vue';
41
53
  import { PublicProps } from 'vue';
42
54
  import { Ref } from 'vue';
55
+ import { SelectContentProps } from 'reka-ui';
56
+ import { SelectItemProps } from 'reka-ui';
43
57
  import { ShallowUnwrapRef } from 'vue';
44
58
  import { Slot } from 'vue';
45
59
  import { StateTree } from 'pinia';
46
60
  import { Store } from 'pinia';
47
- import { SubPartial } from '@noeldemartin/utils';
48
61
  import { UnwrapNestedRefs } from 'vue';
49
62
  import { VNode } from 'vue';
50
63
  import { VNodeProps } from 'vue';
51
64
  import { WatchOptions } from 'vue';
52
65
  import { WatchStopHandle } from 'vue';
53
- import { Writable } from '@noeldemartin/utils';
54
66
 
55
- export declare interface __SetsElement {
56
- __setElement(element?: HTMLElement): void;
57
- }
67
+ export declare const __objectType: unique symbol;
58
68
 
59
69
  declare const __VLS_component: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
60
70
 
61
- declare const __VLS_component_10: DefineComponent<ExtractPropTypes< {
62
- textClass: OptionalProp<string | null>;
63
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
64
- textClass: OptionalProp<string | null>;
65
- }>> & Readonly<{}>, {
66
- textClass: string | null;
67
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
68
-
69
- declare const __VLS_component_11: DefineComponent<ExtractPropTypes< {
70
- value: RequiredProp<any>;
71
- selectedClass: OptionalProp<string | null>;
72
- unselectedClass: OptionalProp<string | null>;
73
- activeClass: OptionalProp<string | null>;
74
- inactiveClass: OptionalProp<string | null>;
75
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
76
- value: RequiredProp<any>;
77
- selectedClass: OptionalProp<string | null>;
78
- unselectedClass: OptionalProp<string | null>;
79
- activeClass: OptionalProp<string | null>;
80
- inactiveClass: OptionalProp<string | null>;
81
- }>> & Readonly<{}>, {
82
- selectedClass: string | null;
83
- unselectedClass: string | null;
84
- activeClass: string | null;
85
- inactiveClass: string | null;
86
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
87
-
88
- declare const __VLS_component_12: DefineComponent<ExtractPropTypes< {
89
- class: OptionalProp<string>;
90
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
91
- class: OptionalProp<string>;
92
- }>> & Readonly<{}>, {
93
- class: string;
94
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
95
-
96
- declare const __VLS_component_13: DefineComponent<ExtractPropTypes<ComponentPropDefinitions<IModalProps>>, {
97
- cancellable: Ref<boolean>;
98
- close(result?: unknown): Promise<void>;
99
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<ComponentPropDefinitions<IModalProps>>> & Readonly<{}>, {
100
- description: string | null;
101
- title: string | null;
102
- cancellable: boolean;
103
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
104
- $root: ({
71
+ declare const __VLS_component_10: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
72
+
73
+ declare const __VLS_component_11: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
74
+
75
+ declare const __VLS_component_12: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
76
+
77
+ declare const __VLS_component_13: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
78
+
79
+ declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
80
+
81
+ declare const __VLS_component_15: DefineComponent<ToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ToastProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
82
+
83
+ declare const __VLS_component_16: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDetailsElement>;
84
+
85
+ declare const __VLS_component_17: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
86
+
87
+ declare const __VLS_component_18: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
88
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
89
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
90
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
91
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
92
+ $inputRef: ({
105
93
  $: ComponentInternalInstance;
106
94
  $data: {};
107
95
  $props: {
108
- readonly open?: boolean | undefined;
109
- readonly defaultOpen?: boolean | undefined;
110
- readonly modal?: boolean | undefined;
111
- readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
96
+ readonly name?: string | undefined;
97
+ readonly label?: string | undefined;
98
+ readonly description?: string | undefined;
99
+ readonly modelValue?: Nullable<FormFieldValue>;
100
+ readonly as?: string | undefined;
101
+ readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
112
102
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
113
103
  $attrs: {
114
104
  [x: string]: unknown;
@@ -122,17 +112,24 @@ $slots: Readonly<{
122
112
  $root: ComponentPublicInstance | null;
123
113
  $parent: ComponentPublicInstance | null;
124
114
  $host: Element | null;
125
- $emit: (event: "update:open", value: boolean) => void;
115
+ $emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
126
116
  $el: any;
127
- $options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
128
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
129
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
130
- "update:open": (value: boolean) => any;
131
- }, string, {
132
- defaultOpen: boolean;
133
- open: boolean;
134
- modal: boolean;
135
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
117
+ $options: ComponentOptionsBase<Readonly<InputProps<Nullable<FormFieldValue>> & {
118
+ as?: string;
119
+ }> & Readonly<{
120
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
121
+ }>, {
122
+ id: string;
123
+ name: ComputedRef<string | undefined>;
124
+ label: ComputedRef<string | undefined>;
125
+ description: ComputedRef<string | undefined>;
126
+ value: ComputedRef<Nullable<FormFieldValue>>;
127
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
128
+ required: ComputedRef<boolean | undefined>;
129
+ update(value: Nullable<FormFieldValue>): void;
130
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
131
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
132
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
136
133
  beforeCreate?: (() => void) | (() => void)[];
137
134
  created?: (() => void) | (() => void)[];
138
135
  beforeMount?: (() => void) | (() => void)[];
@@ -150,81 +147,115 @@ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
150
147
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
151
148
  };
152
149
  $forceUpdate: () => void;
153
- $nextTick: nextTick;
150
+ $nextTick: typeof nextTick;
154
151
  $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;
155
- } & Readonly<{
156
- defaultOpen: boolean;
157
- open: boolean;
158
- modal: boolean;
159
- }> & Omit<Readonly<DialogRootProps> & Readonly<{
160
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
161
- }>, "modal" | "open" | "defaultOpen"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
162
- $slots: Readonly<{
163
- default: (props: {
164
- open: boolean;
165
- }) => any;
166
- }> & {
167
- default: (props: {
168
- open: boolean;
169
- }) => any;
152
+ } & Readonly<{}> & Omit<Readonly<InputProps<Nullable<FormFieldValue>> & {
153
+ as?: string;
154
+ }> & Readonly<{
155
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
156
+ }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
157
+ id: string;
158
+ name: ComputedRef<string | undefined>;
159
+ label: ComputedRef<string | undefined>;
160
+ description: ComputedRef<string | undefined>;
161
+ value: ComputedRef<Nullable<FormFieldValue>>;
162
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
163
+ required: ComputedRef<boolean | undefined>;
164
+ update(value: Nullable<FormFieldValue>): void;
165
+ }> & {} & ComponentCustomProperties & {} & {
166
+ $slots: {
167
+ default?(_: {}): any;
170
168
  };
171
169
  }) | null;
172
170
  }, any>;
173
171
 
174
- declare const __VLS_component_14: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
172
+ declare const __VLS_component_19: DefineComponent<DropdownMenuProps, {
173
+ align: "start" | "center" | "end" | undefined;
174
+ side: "top" | "right" | "bottom" | "left" | undefined;
175
+ options: ComputedRef<DropdownMenuOptionData[] | undefined>;
176
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
175
177
 
176
- declare const __VLS_component_15: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
177
-
178
- declare const __VLS_component_16: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
179
-
180
- declare const __VLS_component_17: DefineComponent<ExtractPropTypes< {
181
- as: OptionalProp<string>;
182
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
183
- as: OptionalProp<string>;
184
- }>> & Readonly<{}>, {
185
- as: string;
186
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
187
-
188
- declare const __VLS_component_18: DefineComponent<ExtractPropTypes< {
189
- report: RequiredProp<ErrorReport>;
190
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
191
- report: RequiredProp<ErrorReport>;
192
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
193
-
194
- declare const __VLS_component_19: DefineComponent<ExtractPropTypes<ComponentPropDefinitions<IModalProps>>, {
195
- cancellable: Ref<boolean>;
196
- close(result?: unknown): Promise<void>;
197
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<ComponentPropDefinitions<IModalProps>>> & Readonly<{}>, {
198
- description: string | null;
199
- title: string | null;
200
- cancellable: boolean;
201
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
202
- $modal: ({
203
- $: ComponentInternalInstance;
204
- $data: {};
205
- $props: Partial<{
206
- description: string | null;
207
- title: string | null;
208
- cancellable: boolean;
209
- }> & Omit<{
210
- readonly description: string | null;
211
- readonly title: string | null;
212
- readonly cancellable: boolean;
213
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "description" | "title" | "cancellable">;
214
- $attrs: {
215
- [x: string]: unknown;
216
- };
217
- $refs: {
218
- [x: string]: unknown;
219
- } & {
220
- $root: ({
178
+ declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
179
+
180
+ declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
181
+ select: () => any;
182
+ }, string, PublicProps, Readonly<{}> & Readonly<{
183
+ onSelect?: (() => any) | undefined;
184
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
185
+
186
+ declare const __VLS_component_21: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
187
+
188
+ declare const __VLS_component_22: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
189
+ update: (value: string | number) => any;
190
+ save: () => any;
191
+ }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
192
+ onUpdate?: ((value: string | number) => any) | undefined;
193
+ onSave?: (() => any) | undefined;
194
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
195
+ $inputRef: HTMLInputElement;
196
+ }, HTMLDivElement>;
197
+
198
+ declare const __VLS_component_23: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
199
+
200
+ declare const __VLS_component_24: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
201
+ submit: () => any;
202
+ }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
203
+ onSubmit?: (() => any) | undefined;
204
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
205
+
206
+ declare const __VLS_component_25: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
207
+
208
+ declare const __VLS_component_26: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
209
+
210
+ declare const __VLS_component_27: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
211
+
212
+ declare const __VLS_component_28: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
213
+
214
+ declare const __VLS_component_29: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
215
+
216
+ declare const __VLS_component_3: DefineComponent<__VLS_Props, {
217
+ id: string;
218
+ name: ComputedRef<string | undefined>;
219
+ label: ComputedRef<string | undefined>;
220
+ description: ComputedRef<string | undefined>;
221
+ value: ComputedRef<Nullable<FormFieldValue>>;
222
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
223
+ required: ComputedRef<boolean | undefined>;
224
+ update(value: Nullable<FormFieldValue>): void;
225
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
226
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
227
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
228
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
229
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
230
+
231
+ declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
232
+
233
+ declare const __VLS_component_5: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
234
+
235
+ declare const __VLS_component_6: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
236
+ $contentRef: ({
221
237
  $: ComponentInternalInstance;
222
238
  $data: {};
223
239
  $props: {
224
- readonly open?: boolean | undefined;
225
- readonly defaultOpen?: boolean | undefined;
226
- readonly modal?: boolean | undefined;
227
- readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
240
+ readonly forceMount?: boolean | undefined;
241
+ readonly trapFocus?: boolean | undefined;
242
+ readonly disableOutsidePointerEvents?: boolean | undefined;
243
+ readonly asChild?: boolean | undefined;
244
+ readonly as?: (AsTag | Component) | undefined;
245
+ readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
246
+ readonly onPointerDownOutside?: ((event: CustomEvent<{
247
+ originalEvent: PointerEvent;
248
+ }>) => any) | undefined | undefined;
249
+ readonly onFocusOutside?: ((event: CustomEvent<{
250
+ originalEvent: FocusEvent;
251
+ }>) => any) | undefined | undefined;
252
+ readonly onInteractOutside?: ((event: CustomEvent<{
253
+ originalEvent: PointerEvent;
254
+ }> | CustomEvent<{
255
+ originalEvent: FocusEvent;
256
+ }>) => any) | undefined | undefined;
257
+ readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
258
+ readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
228
259
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
229
260
  $attrs: {
230
261
  [x: string]: unknown;
@@ -238,17 +269,47 @@ $slots: Readonly<{
238
269
  $root: ComponentPublicInstance | null;
239
270
  $parent: ComponentPublicInstance | null;
240
271
  $host: Element | null;
241
- $emit: (event: "update:open", value: boolean) => void;
272
+ $emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
273
+ originalEvent: PointerEvent;
274
+ }>) => void) & ((event: "focusOutside", event: CustomEvent<{
275
+ originalEvent: FocusEvent;
276
+ }>) => void) & ((event: "interactOutside", event: CustomEvent<{
277
+ originalEvent: PointerEvent;
278
+ }> | CustomEvent<{
279
+ originalEvent: FocusEvent;
280
+ }>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
242
281
  $el: any;
243
- $options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
244
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
282
+ $options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
283
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
284
+ onPointerDownOutside?: ((event: CustomEvent<{
285
+ originalEvent: PointerEvent;
286
+ }>) => any) | undefined;
287
+ onFocusOutside?: ((event: CustomEvent<{
288
+ originalEvent: FocusEvent;
289
+ }>) => any) | undefined;
290
+ onInteractOutside?: ((event: CustomEvent<{
291
+ originalEvent: PointerEvent;
292
+ }> | CustomEvent<{
293
+ originalEvent: FocusEvent;
294
+ }>) => any) | undefined;
295
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
296
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
245
297
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
246
- "update:open": (value: boolean) => any;
247
- }, string, {
248
- defaultOpen: boolean;
249
- open: boolean;
250
- modal: boolean;
251
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
298
+ escapeKeyDown: (event: KeyboardEvent) => any;
299
+ pointerDownOutside: (event: CustomEvent<{
300
+ originalEvent: PointerEvent;
301
+ }>) => any;
302
+ focusOutside: (event: CustomEvent<{
303
+ originalEvent: FocusEvent;
304
+ }>) => any;
305
+ interactOutside: (event: CustomEvent<{
306
+ originalEvent: PointerEvent;
307
+ }> | CustomEvent<{
308
+ originalEvent: FocusEvent;
309
+ }>) => any;
310
+ openAutoFocus: (event: Event) => any;
311
+ closeAutoFocus: (event: Event) => any;
312
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
252
313
  beforeCreate?: (() => void) | (() => void)[];
253
314
  created?: (() => void) | (() => void)[];
254
315
  beforeMount?: (() => void) | (() => void)[];
@@ -266,322 +327,148 @@ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
266
327
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
267
328
  };
268
329
  $forceUpdate: () => void;
269
- $nextTick: nextTick;
330
+ $nextTick: typeof nextTick;
270
331
  $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;
271
- } & Readonly<{
272
- defaultOpen: boolean;
273
- open: boolean;
274
- modal: boolean;
275
- }> & Omit<Readonly<DialogRootProps> & Readonly<{
276
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
277
- }>, "modal" | "open" | "defaultOpen"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
278
- $slots: Readonly<{
279
- default: (props: {
280
- open: boolean;
281
- }) => any;
282
- }> & {
283
- default: (props: {
284
- open: boolean;
285
- }) => any;
332
+ } & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
333
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
334
+ onPointerDownOutside?: ((event: CustomEvent<{
335
+ originalEvent: PointerEvent;
336
+ }>) => any) | undefined;
337
+ onFocusOutside?: ((event: CustomEvent<{
338
+ originalEvent: FocusEvent;
339
+ }>) => any) | undefined;
340
+ onInteractOutside?: ((event: CustomEvent<{
341
+ originalEvent: PointerEvent;
342
+ }> | CustomEvent<{
343
+ originalEvent: FocusEvent;
344
+ }>) => any) | undefined;
345
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
346
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
347
+ }>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
348
+ $slots: {
349
+ default?(_: {}): any;
350
+ default?(_: {}): any;
286
351
  };
287
352
  }) | null;
353
+ }, any>;
354
+
355
+ declare const __VLS_component_7: DefineComponent<DialogDescriptionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
356
+
357
+ declare const __VLS_component_8: DefineComponent<DialogOverlayProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
358
+
359
+ declare const __VLS_component_9: DefineComponent<DialogTitleProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
360
+
361
+ declare type __VLS_PrettifyLocal<T> = {
362
+ [K in keyof T]: T[K];
363
+ } & {};
364
+
365
+ declare type __VLS_PrettifyLocal_2<T> = {
366
+ [K in keyof T]: T[K];
367
+ } & {};
368
+
369
+ declare type __VLS_PrettifyLocal_3<T> = {
370
+ [K in keyof T]: T[K];
371
+ } & {};
372
+
373
+ declare type __VLS_PrettifyLocal_4<T> = {
374
+ [K in keyof T]: T[K];
375
+ } & {};
376
+
377
+ declare type __VLS_Props = InputProps & {
378
+ as?: string;
288
379
  };
289
- $slots: Readonly<{
290
- [name: string]: Slot<any> | undefined;
291
- }>;
292
- $root: ComponentPublicInstance | null;
293
- $parent: ComponentPublicInstance | null;
294
- $host: Element | null;
295
- $emit: (event: string, ...args: any[]) => void;
296
- $el: any;
297
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<ComponentPropDefinitions<IModalProps>>> & Readonly<{}>, {
298
- cancellable: Ref<boolean>;
299
- close(result?: unknown): Promise<void>;
300
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
301
- description: string | null;
302
- title: string | null;
303
- cancellable: boolean;
304
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
305
- beforeCreate?: (() => void) | (() => void)[];
306
- created?: (() => void) | (() => void)[];
307
- beforeMount?: (() => void) | (() => void)[];
308
- mounted?: (() => void) | (() => void)[];
309
- beforeUpdate?: (() => void) | (() => void)[];
310
- updated?: (() => void) | (() => void)[];
311
- activated?: (() => void) | (() => void)[];
312
- deactivated?: (() => void) | (() => void)[];
313
- beforeDestroy?: (() => void) | (() => void)[];
314
- beforeUnmount?: (() => void) | (() => void)[];
315
- destroyed?: (() => void) | (() => void)[];
316
- unmounted?: (() => void) | (() => void)[];
317
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
318
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
319
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
380
+
381
+ declare type __VLS_Props_10 = {
382
+ report: ErrorReport;
383
+ currentReport?: number;
384
+ totalReports?: number;
320
385
  };
321
- $forceUpdate: () => void;
322
- $nextTick: nextTick;
323
- $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;
324
- } & Readonly<{
325
- description: string | null;
326
- title: string | null;
327
- cancellable: boolean;
328
- }> & Omit<Readonly<ExtractPropTypes<ComponentPropDefinitions<IModalProps>>> & Readonly<{}>, "close" | ("description" | "title" | "cancellable")> & ShallowUnwrapRef< {
329
- cancellable: Ref<boolean>;
330
- close(result?: unknown): Promise<void>;
331
- }> & {} & ComponentCustomProperties & {} & {
332
- $slots: Readonly<{
333
- default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
334
- }> & {
335
- default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
386
+
387
+ declare type __VLS_Props_11 = {
388
+ form?: FormController;
336
389
  };
337
- }) | null;
338
- }, any>;
339
390
 
340
- declare const __VLS_component_2: DefineComponent<ExtractPropTypes< {
341
- color: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
342
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
343
- color: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
344
- }>> & Readonly<{}>, {
345
- color: "clear" | "primary" | "secondary" | "danger";
346
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
391
+ declare type __VLS_Props_12 = InputProps & {
392
+ inputClass?: HTMLAttributes['class'];
393
+ wrapperClass?: HTMLAttributes['class'];
394
+ };
347
395
 
348
- declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
396
+ declare type __VLS_Props_13 = Omit<ButtonProps, 'variant'>;
349
397
 
350
- declare const __VLS_component_3: DefineComponent<ExtractPropTypes< {
351
- name: OptionalProp<string | null>;
352
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
353
- "update:modelValue": (...args: any[]) => void;
354
- }, string, PublicProps, Readonly<ExtractPropTypes< {
355
- name: OptionalProp<string | null>;
356
- }>> & Readonly<{
357
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
358
- }>, {
359
- name: string | null;
360
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
361
- $input: ({
362
- $: ComponentInternalInstance;
363
- $data: {};
364
- $props: Partial<{
365
- description: string | null;
366
- name: string | null;
367
- label: string | null;
368
- as: string;
369
- modelValue: FormFieldValue | null;
370
- }> & Omit<{
371
- readonly description: string | null;
372
- readonly name: string | null;
373
- readonly label: string | null;
374
- readonly as: string;
375
- readonly modelValue: FormFieldValue | null;
376
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
377
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "description" | "name" | "label" | "as" | "modelValue">;
378
- $attrs: {
379
- [x: string]: unknown;
398
+ declare type __VLS_Props_14 = {
399
+ as?: string;
400
+ inline?: boolean;
401
+ langKey?: string;
402
+ langParams?: number | Record<string, unknown>;
403
+ langDefault?: string;
404
+ text?: string;
405
+ actions?: Record<string, () => unknown>;
380
406
  };
381
- $refs: {
382
- [x: string]: unknown;
407
+
408
+ declare type __VLS_Props_15 = {
409
+ modal: UIModal;
410
+ childIndex?: number;
383
411
  };
384
- $slots: Readonly<{
385
- [name: string]: Slot<any> | undefined;
386
- }>;
387
- $root: ComponentPublicInstance | null;
388
- $parent: ComponentPublicInstance | null;
389
- $host: Element | null;
390
- $emit: (event: "update:modelValue", ...args: any[]) => void;
391
- $el: any;
392
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
393
- name: OptionalProp<string | null>;
394
- label: OptionalProp<string | null>;
395
- description: OptionalProp<string | null>;
396
- modelValue: OptionalProp<FormFieldValue | null>;
397
- as: OptionalProp<string>;
398
- }>> & Readonly<{
399
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
400
- }>, {
401
- id: string;
402
- name: ComputedRef<string | null>;
403
- label: ComputedRef<string | null>;
404
- description: ComputedRef<string | boolean | null>;
405
- value: ComputedRef<FormFieldValue | null>;
406
- required: ComputedRef<boolean | null>;
407
- errors: DeepReadonly<Ref<string[] | null>>;
408
- update(value: FormFieldValue | null): void;
409
- $el: Readonly<Ref<HTMLElement | undefined>>;
410
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
411
- "update:modelValue": (...args: any[]) => void;
412
- }, string, {
413
- description: string | null;
414
- name: string | null;
415
- label: string | null;
416
- as: string;
417
- modelValue: FormFieldValue | null;
418
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
419
- beforeCreate?: (() => void) | (() => void)[];
420
- created?: (() => void) | (() => void)[];
421
- beforeMount?: (() => void) | (() => void)[];
422
- mounted?: (() => void) | (() => void)[];
423
- beforeUpdate?: (() => void) | (() => void)[];
424
- updated?: (() => void) | (() => void)[];
425
- activated?: (() => void) | (() => void)[];
426
- deactivated?: (() => void) | (() => void)[];
427
- beforeDestroy?: (() => void) | (() => void)[];
428
- beforeUnmount?: (() => void) | (() => void)[];
429
- destroyed?: (() => void) | (() => void)[];
430
- unmounted?: (() => void) | (() => void)[];
431
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
432
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
433
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
412
+
413
+ declare type __VLS_Props_16 = {
414
+ filledClass?: string;
415
+ progress?: number;
416
+ job?: Falsifiable<Job>;
434
417
  };
435
- $forceUpdate: () => void;
436
- $nextTick: nextTick;
437
- $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;
438
- } & Readonly<{
439
- description: string | null;
440
- name: string | null;
441
- label: string | null;
442
- as: string;
443
- modelValue: FormFieldValue | null;
444
- }> & Omit<Readonly<ExtractPropTypes< {
445
- name: OptionalProp<string | null>;
446
- label: OptionalProp<string | null>;
447
- description: OptionalProp<string | null>;
448
- modelValue: OptionalProp<FormFieldValue | null>;
449
- as: OptionalProp<string>;
450
- }>> & Readonly<{
451
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
452
- }>, "id" | "value" | "required" | "errors" | "$el" | "update" | ("description" | "name" | "label" | "as" | "modelValue")> & ShallowUnwrapRef< {
453
- id: string;
454
- name: ComputedRef<string | null>;
455
- label: ComputedRef<string | null>;
456
- description: ComputedRef<string | boolean | null>;
457
- value: ComputedRef<FormFieldValue | null>;
458
- required: ComputedRef<boolean | null>;
459
- errors: DeepReadonly<Ref<string[] | null>>;
460
- update(value: FormFieldValue | null): void;
461
- $el: Readonly<Ref<HTMLElement | undefined>>;
462
- }> & {} & ComponentCustomProperties & {} & {
463
- $slots: {
464
- default?(_: {}): any;
465
- default?(_: {}): any;
418
+
419
+ declare type __VLS_Props_17 = {
420
+ value: AcceptableValue;
421
+ class?: HTMLAttributes['class'];
422
+ innerClass?: HTMLAttributes['class'];
466
423
  };
467
- }) | null;
468
- }, any>;
469
424
 
470
- declare const __VLS_component_4: DefineComponent<ExtractPropTypes< {
471
- form: OptionalProp<Form<FormFieldDefinitions> | null>;
472
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
473
- submit: () => any;
474
- }, string, PublicProps, Readonly<ExtractPropTypes< {
475
- form: OptionalProp<Form<FormFieldDefinitions> | null>;
476
- }>> & Readonly<{
477
- onSubmit?: (() => any) | undefined;
478
- }>, {
479
- form: Form<FormFieldDefinitions> | null;
480
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLFormElement>;
481
-
482
- declare const __VLS_component_5: DefineComponent<ExtractPropTypes< {
483
- as: OptionalProp<Object | null>;
484
- href: OptionalProp<string | null>;
485
- url: OptionalProp<string | null>;
486
- route: OptionalProp<string | null>;
487
- routeParams: OptionalProp< {}>;
488
- routeQuery: OptionalProp< {}>;
489
- submit: OptionalProp<boolean>;
490
- }>, {
491
- $el: Readonly<Ref<HTMLElement | undefined>>;
492
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
493
- as: OptionalProp<Object | null>;
494
- href: OptionalProp<string | null>;
495
- url: OptionalProp<string | null>;
496
- route: OptionalProp<string | null>;
497
- routeParams: OptionalProp< {}>;
498
- routeQuery: OptionalProp< {}>;
499
- submit: OptionalProp<boolean>;
500
- }>> & Readonly<{}>, {
501
- as: Object | null;
502
- href: string | null;
503
- url: string | null;
504
- route: string | null;
505
- routeParams: {};
506
- routeQuery: {};
507
- submit: boolean;
508
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
509
- $root: unknown;
510
- }, any>;
425
+ declare type __VLS_Props_18 = {
426
+ class?: HTMLAttributes['class'];
427
+ };
511
428
 
512
- declare const __VLS_component_6: DefineComponent<ExtractPropTypes< {
513
- name: OptionalProp<string | null>;
514
- label: OptionalProp<string | null>;
515
- description: OptionalProp<string | null>;
516
- modelValue: OptionalProp<FormFieldValue | null>;
517
- as: OptionalProp<string>;
518
- }>, {
519
- id: string;
520
- name: ComputedRef<string | null>;
521
- label: ComputedRef<string | null>;
522
- description: ComputedRef<string | boolean | null>;
523
- value: ComputedRef<FormFieldValue | null>;
524
- required: ComputedRef<boolean | null>;
525
- errors: DeepReadonly<Ref<string[] | null>>;
526
- update(value: FormFieldValue | null): void;
527
- $el: Readonly<Ref<HTMLElement | undefined>>;
528
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
529
- "update:modelValue": (...args: any[]) => void;
530
- }, string, PublicProps, Readonly<ExtractPropTypes< {
531
- name: OptionalProp<string | null>;
532
- label: OptionalProp<string | null>;
533
- description: OptionalProp<string | null>;
534
- modelValue: OptionalProp<FormFieldValue | null>;
535
- as: OptionalProp<string>;
536
- }>> & Readonly<{
537
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
538
- }>, {
539
- description: string | null;
540
- name: string | null;
541
- label: string | null;
542
- as: string;
543
- modelValue: FormFieldValue | null;
544
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
545
-
546
- declare const __VLS_component_7: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
547
-
548
- declare const __VLS_component_8: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
549
-
550
- declare const __VLS_component_9: DefineComponent<ExtractPropTypes< {
551
- name: OptionalProp<string | null>;
552
- label: OptionalProp<string | null>;
553
- options: RequiredProp<FormFieldValue[]>;
554
- noSelectionText: OptionalProp<string | null>;
555
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
556
- modelValue: OptionalProp<FormFieldValue | null>;
557
- }>, {
558
- id: string;
559
- label: ComputedRef<string | null>;
560
- noSelectionText: ComputedRef<string>;
561
- buttonText: ComputedRef<string>;
562
- renderText: ComputedRef<(value: FormFieldValue) => string>;
563
- selectedOption: ComputedRef<FormFieldValue | null>;
564
- options: ComputedRef<FormFieldValue[]>;
565
- errors: DeepReadonly<Ref<string[] | null>>;
566
- update(value: FormFieldValue): void;
567
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
568
- "update:modelValue": (...args: any[]) => void;
569
- }, string, PublicProps, Readonly<ExtractPropTypes< {
570
- name: OptionalProp<string | null>;
571
- label: OptionalProp<string | null>;
572
- options: RequiredProp<FormFieldValue[]>;
573
- noSelectionText: OptionalProp<string | null>;
574
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
575
- modelValue: OptionalProp<FormFieldValue | null>;
576
- }>> & Readonly<{
577
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
578
- }>, {
579
- name: string | null;
580
- label: string | null;
581
- modelValue: FormFieldValue | null;
582
- noSelectionText: string | null;
583
- optionsText: string | ((option: FormFieldValue) => string) | null;
584
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
429
+ declare type __VLS_Props_19 = {
430
+ class?: HTMLAttributes['class'];
431
+ };
432
+
433
+ declare type __VLS_Props_2 = {
434
+ type?: string;
435
+ };
436
+
437
+ declare type __VLS_Props_20 = ToastProps & {
438
+ class?: HTMLAttributes['class'];
439
+ };
440
+
441
+ declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
442
+
443
+ declare type __VLS_Props_4 = SelectItemProps;
444
+
445
+ declare type __VLS_Props_5 = {
446
+ class?: HTMLAttributes['class'];
447
+ innerClass?: HTMLAttributes['class'];
448
+ };
449
+
450
+ declare type __VLS_Props_6 = InputProps & {
451
+ inputClass?: HTMLAttributes['class'];
452
+ labelClass?: HTMLAttributes['class'];
453
+ };
454
+
455
+ declare type __VLS_Props_7 = {
456
+ type?: string;
457
+ contentClass?: HTMLAttributes['class'];
458
+ ariaLabel?: string;
459
+ formAriaHidden?: boolean;
460
+ tabindex?: string;
461
+ text: string;
462
+ disabled?: boolean;
463
+ };
464
+
465
+ declare type __VLS_Props_8 = {
466
+ error: ErrorSource;
467
+ };
468
+
469
+ declare type __VLS_Props_9 = {
470
+ report: ErrorReport;
471
+ };
585
472
 
586
473
  declare function __VLS_template(): {
587
474
  attrs: Partial<{}>;
@@ -597,7 +484,6 @@ declare function __VLS_template_10(): {
597
484
  attrs: Partial<{}>;
598
485
  slots: {
599
486
  default?(_: {}): any;
600
- icon?(_: {}): any;
601
487
  };
602
488
  refs: {};
603
489
  rootEl: any;
@@ -623,20 +509,65 @@ declare function __VLS_template_12(): {
623
509
 
624
510
  declare function __VLS_template_13(): {
625
511
  attrs: Partial<{}>;
626
- slots: Readonly<{
627
- default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
628
- }> & {
629
- default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
512
+ slots: {
513
+ default?(_: {}): any;
514
+ };
515
+ refs: {};
516
+ rootEl: any;
517
+ };
518
+
519
+ declare function __VLS_template_14(): {
520
+ attrs: Partial<{}>;
521
+ slots: {
522
+ default?(_: {}): any;
523
+ };
524
+ refs: {};
525
+ rootEl: any;
526
+ };
527
+
528
+ declare function __VLS_template_15(): {
529
+ attrs: Partial<{}>;
530
+ slots: {
531
+ default?(_: {}): any;
532
+ };
533
+ refs: {};
534
+ rootEl: any;
535
+ };
536
+
537
+ declare function __VLS_template_16(): {
538
+ attrs: Partial<{}>;
539
+ slots: {
540
+ default?(_: {}): any;
541
+ };
542
+ refs: {};
543
+ rootEl: HTMLDetailsElement;
544
+ };
545
+
546
+ declare function __VLS_template_17(): {
547
+ attrs: Partial<{}>;
548
+ slots: {
549
+ default?(_: {}): any;
550
+ };
551
+ refs: {};
552
+ rootEl: any;
553
+ };
554
+
555
+ declare function __VLS_template_18(): {
556
+ attrs: Partial<{}>;
557
+ slots: {
558
+ default?(_: {}): any;
630
559
  };
631
560
  refs: {
632
- $root: ({
561
+ $inputRef: ({
633
562
  $: ComponentInternalInstance;
634
563
  $data: {};
635
564
  $props: {
636
- readonly open?: boolean | undefined;
637
- readonly defaultOpen?: boolean | undefined;
638
- readonly modal?: boolean | undefined;
639
- readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
565
+ readonly name?: string | undefined;
566
+ readonly label?: string | undefined;
567
+ readonly description?: string | undefined;
568
+ readonly modelValue?: Nullable<FormFieldValue>;
569
+ readonly as?: string | undefined;
570
+ readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
640
571
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
641
572
  $attrs: {
642
573
  [x: string]: unknown;
@@ -650,17 +581,24 @@ declare function __VLS_template_13(): {
650
581
  $root: ComponentPublicInstance | null;
651
582
  $parent: ComponentPublicInstance | null;
652
583
  $host: Element | null;
653
- $emit: (event: "update:open", value: boolean) => void;
584
+ $emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
654
585
  $el: any;
655
- $options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
656
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
657
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
658
- "update:open": (value: boolean) => any;
659
- }, string, {
660
- defaultOpen: boolean;
661
- open: boolean;
662
- modal: boolean;
663
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
586
+ $options: ComponentOptionsBase<Readonly<InputProps<Nullable<FormFieldValue>> & {
587
+ as?: string;
588
+ }> & Readonly<{
589
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
590
+ }>, {
591
+ id: string;
592
+ name: ComputedRef<string | undefined>;
593
+ label: ComputedRef<string | undefined>;
594
+ description: ComputedRef<string | undefined>;
595
+ value: ComputedRef<Nullable<FormFieldValue>>;
596
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
597
+ required: ComputedRef<boolean | undefined>;
598
+ update(value: Nullable<FormFieldValue>): void;
599
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
600
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
601
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
664
602
  beforeCreate?: (() => void) | (() => void)[];
665
603
  created?: (() => void) | (() => void)[];
666
604
  beforeMount?: (() => void) | (() => void)[];
@@ -678,48 +616,50 @@ declare function __VLS_template_13(): {
678
616
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
679
617
  };
680
618
  $forceUpdate: () => void;
681
- $nextTick: nextTick;
619
+ $nextTick: typeof nextTick;
682
620
  $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;
683
- } & Readonly<{
684
- defaultOpen: boolean;
685
- open: boolean;
686
- modal: boolean;
687
- }> & Omit<Readonly<DialogRootProps> & Readonly<{
688
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
689
- }>, "modal" | "open" | "defaultOpen"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
690
- $slots: Readonly<{
691
- default: (props: {
692
- open: boolean;
693
- }) => any;
694
- }> & {
695
- default: (props: {
696
- open: boolean;
697
- }) => any;
621
+ } & Readonly<{}> & Omit<Readonly<InputProps<Nullable<FormFieldValue>> & {
622
+ as?: string;
623
+ }> & Readonly<{
624
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
625
+ }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
626
+ id: string;
627
+ name: ComputedRef<string | undefined>;
628
+ label: ComputedRef<string | undefined>;
629
+ description: ComputedRef<string | undefined>;
630
+ value: ComputedRef<Nullable<FormFieldValue>>;
631
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
632
+ required: ComputedRef<boolean | undefined>;
633
+ update(value: Nullable<FormFieldValue>): void;
634
+ }> & {} & ComponentCustomProperties & {} & {
635
+ $slots: {
636
+ default?(_: {}): any;
698
637
  };
699
638
  }) | null;
700
639
  };
701
640
  rootEl: any;
702
641
  };
703
642
 
704
- declare function __VLS_template_14(): {
643
+ declare function __VLS_template_19(): {
705
644
  attrs: Partial<{}>;
706
645
  slots: {
707
646
  default?(_: {}): any;
647
+ options?(_: {}): any;
708
648
  };
709
649
  refs: {};
710
650
  rootEl: any;
711
651
  };
712
652
 
713
- declare function __VLS_template_15(): {
653
+ declare function __VLS_template_2(): {
714
654
  attrs: Partial<{}>;
715
655
  slots: {
716
656
  default?(_: {}): any;
717
657
  };
718
658
  refs: {};
719
- rootEl: HTMLDivElement;
659
+ rootEl: any;
720
660
  };
721
661
 
722
- declare function __VLS_template_16(): {
662
+ declare function __VLS_template_20(): {
723
663
  attrs: Partial<{}>;
724
664
  slots: {
725
665
  default?(_: {}): any;
@@ -728,7 +668,7 @@ declare function __VLS_template_16(): {
728
668
  rootEl: any;
729
669
  };
730
670
 
731
- declare function __VLS_template_17(): {
671
+ declare function __VLS_template_21(): {
732
672
  attrs: Partial<{}>;
733
673
  slots: {
734
674
  default?(_: {}): any;
@@ -737,166 +677,58 @@ declare function __VLS_template_17(): {
737
677
  rootEl: any;
738
678
  };
739
679
 
740
- declare function __VLS_template_18(): {
680
+ declare function __VLS_template_22(): {
741
681
  attrs: Partial<{}>;
742
682
  slots: {
743
- default?(_: {
744
- key: number;
745
- }): any;
683
+ default?(_: {}): any;
684
+ };
685
+ refs: {
686
+ $inputRef: HTMLInputElement;
687
+ };
688
+ rootEl: HTMLDivElement;
689
+ };
690
+
691
+ declare function __VLS_template_23(): {
692
+ attrs: Partial<{}>;
693
+ slots: Readonly<{
694
+ default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
695
+ }> & {
696
+ default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
746
697
  };
747
698
  refs: {};
748
699
  rootEl: HTMLDivElement;
749
700
  };
750
701
 
751
- declare function __VLS_template_19(): {
702
+ declare function __VLS_template_24(): {
752
703
  attrs: Partial<{}>;
753
704
  slots: {
754
- default?(_: {
755
- close: (result?: unknown) => Promise<void>;
756
- }): any;
705
+ default?(_: {}): any;
757
706
  };
758
- refs: {
759
- $modal: ({
760
- $: ComponentInternalInstance;
761
- $data: {};
762
- $props: Partial<{
763
- description: string | null;
764
- title: string | null;
765
- cancellable: boolean;
766
- }> & Omit<{
767
- readonly description: string | null;
768
- readonly title: string | null;
769
- readonly cancellable: boolean;
770
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "description" | "title" | "cancellable">;
771
- $attrs: {
772
- [x: string]: unknown;
773
- };
774
- $refs: {
775
- [x: string]: unknown;
776
- } & {
777
- $root: ({
778
- $: ComponentInternalInstance;
779
- $data: {};
780
- $props: {
781
- readonly open?: boolean | undefined;
782
- readonly defaultOpen?: boolean | undefined;
783
- readonly modal?: boolean | undefined;
784
- readonly "onUpdate:open"?: ((value: boolean) => any) | undefined | undefined;
785
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
786
- $attrs: {
787
- [x: string]: unknown;
788
- };
789
- $refs: {
790
- [x: string]: unknown;
791
- };
792
- $slots: Readonly<{
793
- [name: string]: Slot<any> | undefined;
794
- }>;
795
- $root: ComponentPublicInstance | null;
796
- $parent: ComponentPublicInstance | null;
797
- $host: Element | null;
798
- $emit: (event: "update:open", value: boolean) => void;
799
- $el: any;
800
- $options: ComponentOptionsBase<Readonly<DialogRootProps> & Readonly<{
801
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
802
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
803
- "update:open": (value: boolean) => any;
804
- }, string, {
805
- defaultOpen: boolean;
806
- open: boolean;
807
- modal: boolean;
808
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
809
- beforeCreate?: (() => void) | (() => void)[];
810
- created?: (() => void) | (() => void)[];
811
- beforeMount?: (() => void) | (() => void)[];
812
- mounted?: (() => void) | (() => void)[];
813
- beforeUpdate?: (() => void) | (() => void)[];
814
- updated?: (() => void) | (() => void)[];
815
- activated?: (() => void) | (() => void)[];
816
- deactivated?: (() => void) | (() => void)[];
817
- beforeDestroy?: (() => void) | (() => void)[];
818
- beforeUnmount?: (() => void) | (() => void)[];
819
- destroyed?: (() => void) | (() => void)[];
820
- unmounted?: (() => void) | (() => void)[];
821
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
822
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
823
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
824
- };
825
- $forceUpdate: () => void;
826
- $nextTick: nextTick;
827
- $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;
828
- } & Readonly<{
829
- defaultOpen: boolean;
830
- open: boolean;
831
- modal: boolean;
832
- }> & Omit<Readonly<DialogRootProps> & Readonly<{
833
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
834
- }>, "modal" | "open" | "defaultOpen"> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
835
- $slots: Readonly<{
836
- default: (props: {
837
- open: boolean;
838
- }) => any;
839
- }> & {
840
- default: (props: {
841
- open: boolean;
842
- }) => any;
843
- };
844
- }) | null;
845
- };
846
- $slots: Readonly<{
847
- [name: string]: Slot<any> | undefined;
848
- }>;
849
- $root: ComponentPublicInstance | null;
850
- $parent: ComponentPublicInstance | null;
851
- $host: Element | null;
852
- $emit: (event: string, ...args: any[]) => void;
853
- $el: any;
854
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<ComponentPropDefinitions<IModalProps>>> & Readonly<{}>, {
855
- cancellable: Ref<boolean>;
856
- close(result?: unknown): Promise<void>;
857
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
858
- description: string | null;
859
- title: string | null;
860
- cancellable: boolean;
861
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
862
- beforeCreate?: (() => void) | (() => void)[];
863
- created?: (() => void) | (() => void)[];
864
- beforeMount?: (() => void) | (() => void)[];
865
- mounted?: (() => void) | (() => void)[];
866
- beforeUpdate?: (() => void) | (() => void)[];
867
- updated?: (() => void) | (() => void)[];
868
- activated?: (() => void) | (() => void)[];
869
- deactivated?: (() => void) | (() => void)[];
870
- beforeDestroy?: (() => void) | (() => void)[];
871
- beforeUnmount?: (() => void) | (() => void)[];
872
- destroyed?: (() => void) | (() => void)[];
873
- unmounted?: (() => void) | (() => void)[];
874
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
875
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
876
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
877
- };
878
- $forceUpdate: () => void;
879
- $nextTick: nextTick;
880
- $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;
881
- } & Readonly<{
882
- description: string | null;
883
- title: string | null;
884
- cancellable: boolean;
885
- }> & Omit<Readonly<ExtractPropTypes<ComponentPropDefinitions<IModalProps>>> & Readonly<{}>, "close" | ("description" | "title" | "cancellable")> & ShallowUnwrapRef< {
886
- cancellable: Ref<boolean>;
887
- close(result?: unknown): Promise<void>;
888
- }> & {} & ComponentCustomProperties & {} & {
889
- $slots: Readonly<{
890
- default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
891
- }> & {
892
- default(props: IAGHeadlessModalDefaultSlotProps): VNode[];
893
- };
894
- }) | null;
707
+ refs: {};
708
+ rootEl: HTMLFormElement;
709
+ };
710
+
711
+ declare function __VLS_template_25(): {
712
+ attrs: Partial<{}>;
713
+ slots: {
714
+ default?(_: {}): any;
895
715
  };
716
+ refs: {};
896
717
  rootEl: any;
897
718
  };
898
719
 
899
- declare function __VLS_template_2(): {
720
+ declare function __VLS_template_26(): {
721
+ attrs: Partial<{}>;
722
+ slots: Readonly<{
723
+ default?(): VNode[];
724
+ }> & {
725
+ default?(): VNode[];
726
+ };
727
+ refs: {};
728
+ rootEl: any;
729
+ };
730
+
731
+ declare function __VLS_template_27(): {
900
732
  attrs: Partial<{}>;
901
733
  slots: {
902
734
  default?(_: {}): any;
@@ -905,7 +737,7 @@ declare function __VLS_template_2(): {
905
737
  rootEl: any;
906
738
  };
907
739
 
908
- declare function __VLS_template_20(): {
740
+ declare function __VLS_template_28(): {
909
741
  attrs: Partial<{}>;
910
742
  slots: {
911
743
  default?(_: {}): any;
@@ -914,130 +746,34 @@ declare function __VLS_template_20(): {
914
746
  rootEl: any;
915
747
  };
916
748
 
917
- declare function __VLS_template_3(): {
749
+ declare function __VLS_template_29(): {
918
750
  attrs: Partial<{}>;
919
751
  slots: {
920
752
  default?(_: {}): any;
753
+ empty?(_: {}): any;
921
754
  };
922
- refs: {
923
- $input: ({
924
- $: ComponentInternalInstance;
925
- $data: {};
926
- $props: Partial<{
927
- description: string | null;
928
- name: string | null;
929
- label: string | null;
930
- as: string;
931
- modelValue: FormFieldValue | null;
932
- }> & Omit<{
933
- readonly description: string | null;
934
- readonly name: string | null;
935
- readonly label: string | null;
936
- readonly as: string;
937
- readonly modelValue: FormFieldValue | null;
938
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
939
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "description" | "name" | "label" | "as" | "modelValue">;
940
- $attrs: {
941
- [x: string]: unknown;
942
- };
943
- $refs: {
944
- [x: string]: unknown;
945
- };
946
- $slots: Readonly<{
947
- [name: string]: Slot<any> | undefined;
948
- }>;
949
- $root: ComponentPublicInstance | null;
950
- $parent: ComponentPublicInstance | null;
951
- $host: Element | null;
952
- $emit: (event: "update:modelValue", ...args: any[]) => void;
953
- $el: any;
954
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
955
- name: OptionalProp<string | null>;
956
- label: OptionalProp<string | null>;
957
- description: OptionalProp<string | null>;
958
- modelValue: OptionalProp<FormFieldValue | null>;
959
- as: OptionalProp<string>;
960
- }>> & Readonly<{
961
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
962
- }>, {
963
- id: string;
964
- name: ComputedRef<string | null>;
965
- label: ComputedRef<string | null>;
966
- description: ComputedRef<string | boolean | null>;
967
- value: ComputedRef<FormFieldValue | null>;
968
- required: ComputedRef<boolean | null>;
969
- errors: DeepReadonly<Ref<string[] | null>>;
970
- update(value: FormFieldValue | null): void;
971
- $el: Readonly<Ref<HTMLElement | undefined>>;
972
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
973
- "update:modelValue": (...args: any[]) => void;
974
- }, string, {
975
- description: string | null;
976
- name: string | null;
977
- label: string | null;
978
- as: string;
979
- modelValue: FormFieldValue | null;
980
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
981
- beforeCreate?: (() => void) | (() => void)[];
982
- created?: (() => void) | (() => void)[];
983
- beforeMount?: (() => void) | (() => void)[];
984
- mounted?: (() => void) | (() => void)[];
985
- beforeUpdate?: (() => void) | (() => void)[];
986
- updated?: (() => void) | (() => void)[];
987
- activated?: (() => void) | (() => void)[];
988
- deactivated?: (() => void) | (() => void)[];
989
- beforeDestroy?: (() => void) | (() => void)[];
990
- beforeUnmount?: (() => void) | (() => void)[];
991
- destroyed?: (() => void) | (() => void)[];
992
- unmounted?: (() => void) | (() => void)[];
993
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
994
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
995
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
996
- };
997
- $forceUpdate: () => void;
998
- $nextTick: nextTick;
999
- $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;
1000
- } & Readonly<{
1001
- description: string | null;
1002
- name: string | null;
1003
- label: string | null;
1004
- as: string;
1005
- modelValue: FormFieldValue | null;
1006
- }> & Omit<Readonly<ExtractPropTypes< {
1007
- name: OptionalProp<string | null>;
1008
- label: OptionalProp<string | null>;
1009
- description: OptionalProp<string | null>;
1010
- modelValue: OptionalProp<FormFieldValue | null>;
1011
- as: OptionalProp<string>;
1012
- }>> & Readonly<{
1013
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1014
- }>, "id" | "value" | "required" | "errors" | "$el" | "update" | ("description" | "name" | "label" | "as" | "modelValue")> & ShallowUnwrapRef< {
1015
- id: string;
1016
- name: ComputedRef<string | null>;
1017
- label: ComputedRef<string | null>;
1018
- description: ComputedRef<string | boolean | null>;
1019
- value: ComputedRef<FormFieldValue | null>;
1020
- required: ComputedRef<boolean | null>;
1021
- errors: DeepReadonly<Ref<string[] | null>>;
1022
- update(value: FormFieldValue | null): void;
1023
- $el: Readonly<Ref<HTMLElement | undefined>>;
1024
- }> & {} & ComponentCustomProperties & {} & {
1025
- $slots: {
1026
- default?(_: {}): any;
1027
- default?(_: {}): any;
1028
- };
1029
- }) | null;
755
+ refs: {};
756
+ rootEl: any;
757
+ };
758
+
759
+ declare function __VLS_template_3(): {
760
+ attrs: Partial<{}>;
761
+ slots: {
762
+ default?(_: {}): any;
1030
763
  };
764
+ refs: {};
1031
765
  rootEl: any;
1032
766
  };
1033
767
 
1034
768
  declare function __VLS_template_4(): {
1035
769
  attrs: Partial<{}>;
1036
770
  slots: {
1037
- default?(_: {}): any;
771
+ default?(_: {
772
+ id: string;
773
+ }): any;
1038
774
  };
1039
775
  refs: {};
1040
- rootEl: HTMLFormElement;
776
+ rootEl: any;
1041
777
  };
1042
778
 
1043
779
  declare function __VLS_template_5(): {
@@ -1045,9 +781,7 @@ declare function __VLS_template_5(): {
1045
781
  slots: {
1046
782
  default?(_: {}): any;
1047
783
  };
1048
- refs: {
1049
- $root: unknown;
1050
- };
784
+ refs: {};
1051
785
  rootEl: any;
1052
786
  };
1053
787
 
@@ -1055,18 +789,133 @@ declare function __VLS_template_6(): {
1055
789
  attrs: Partial<{}>;
1056
790
  slots: {
1057
791
  default?(_: {}): any;
1058
- default?(_: {}): any;
1059
792
  };
1060
- refs: {};
793
+ refs: {
794
+ $contentRef: ({
795
+ $: ComponentInternalInstance;
796
+ $data: {};
797
+ $props: {
798
+ readonly forceMount?: boolean | undefined;
799
+ readonly trapFocus?: boolean | undefined;
800
+ readonly disableOutsidePointerEvents?: boolean | undefined;
801
+ readonly asChild?: boolean | undefined;
802
+ readonly as?: (AsTag | Component) | undefined;
803
+ readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
804
+ readonly onPointerDownOutside?: ((event: CustomEvent<{
805
+ originalEvent: PointerEvent;
806
+ }>) => any) | undefined | undefined;
807
+ readonly onFocusOutside?: ((event: CustomEvent<{
808
+ originalEvent: FocusEvent;
809
+ }>) => any) | undefined | undefined;
810
+ readonly onInteractOutside?: ((event: CustomEvent<{
811
+ originalEvent: PointerEvent;
812
+ }> | CustomEvent<{
813
+ originalEvent: FocusEvent;
814
+ }>) => any) | undefined | undefined;
815
+ readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
816
+ readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
817
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
818
+ $attrs: {
819
+ [x: string]: unknown;
820
+ };
821
+ $refs: {
822
+ [x: string]: unknown;
823
+ };
824
+ $slots: Readonly<{
825
+ [name: string]: Slot<any> | undefined;
826
+ }>;
827
+ $root: ComponentPublicInstance | null;
828
+ $parent: ComponentPublicInstance | null;
829
+ $host: Element | null;
830
+ $emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: CustomEvent<{
831
+ originalEvent: PointerEvent;
832
+ }>) => void) & ((event: "focusOutside", event: CustomEvent<{
833
+ originalEvent: FocusEvent;
834
+ }>) => void) & ((event: "interactOutside", event: CustomEvent<{
835
+ originalEvent: PointerEvent;
836
+ }> | CustomEvent<{
837
+ originalEvent: FocusEvent;
838
+ }>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
839
+ $el: any;
840
+ $options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
841
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
842
+ onPointerDownOutside?: ((event: CustomEvent<{
843
+ originalEvent: PointerEvent;
844
+ }>) => any) | undefined;
845
+ onFocusOutside?: ((event: CustomEvent<{
846
+ originalEvent: FocusEvent;
847
+ }>) => any) | undefined;
848
+ onInteractOutside?: ((event: CustomEvent<{
849
+ originalEvent: PointerEvent;
850
+ }> | CustomEvent<{
851
+ originalEvent: FocusEvent;
852
+ }>) => any) | undefined;
853
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
854
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
855
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
856
+ escapeKeyDown: (event: KeyboardEvent) => any;
857
+ pointerDownOutside: (event: CustomEvent<{
858
+ originalEvent: PointerEvent;
859
+ }>) => any;
860
+ focusOutside: (event: CustomEvent<{
861
+ originalEvent: FocusEvent;
862
+ }>) => any;
863
+ interactOutside: (event: CustomEvent<{
864
+ originalEvent: PointerEvent;
865
+ }> | CustomEvent<{
866
+ originalEvent: FocusEvent;
867
+ }>) => any;
868
+ openAutoFocus: (event: Event) => any;
869
+ closeAutoFocus: (event: Event) => any;
870
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
871
+ beforeCreate?: (() => void) | (() => void)[];
872
+ created?: (() => void) | (() => void)[];
873
+ beforeMount?: (() => void) | (() => void)[];
874
+ mounted?: (() => void) | (() => void)[];
875
+ beforeUpdate?: (() => void) | (() => void)[];
876
+ updated?: (() => void) | (() => void)[];
877
+ activated?: (() => void) | (() => void)[];
878
+ deactivated?: (() => void) | (() => void)[];
879
+ beforeDestroy?: (() => void) | (() => void)[];
880
+ beforeUnmount?: (() => void) | (() => void)[];
881
+ destroyed?: (() => void) | (() => void)[];
882
+ unmounted?: (() => void) | (() => void)[];
883
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
884
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
885
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
886
+ };
887
+ $forceUpdate: () => void;
888
+ $nextTick: typeof nextTick;
889
+ $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;
890
+ } & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
891
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
892
+ onPointerDownOutside?: ((event: CustomEvent<{
893
+ originalEvent: PointerEvent;
894
+ }>) => any) | undefined;
895
+ onFocusOutside?: ((event: CustomEvent<{
896
+ originalEvent: FocusEvent;
897
+ }>) => any) | undefined;
898
+ onInteractOutside?: ((event: CustomEvent<{
899
+ originalEvent: PointerEvent;
900
+ }> | CustomEvent<{
901
+ originalEvent: FocusEvent;
902
+ }>) => any) | undefined;
903
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
904
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
905
+ }>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
906
+ $slots: {
907
+ default?(_: {}): any;
908
+ default?(_: {}): any;
909
+ };
910
+ }) | null;
911
+ };
1061
912
  rootEl: any;
1062
913
  };
1063
914
 
1064
915
  declare function __VLS_template_7(): {
1065
916
  attrs: Partial<{}>;
1066
917
  slots: {
1067
- default?(_: {
1068
- id: string;
1069
- }): any;
918
+ default?(_: {}): any;
1070
919
  };
1071
920
  refs: {};
1072
921
  rootEl: any;
@@ -1084,10 +933,7 @@ declare function __VLS_template_8(): {
1084
933
  declare function __VLS_template_9(): {
1085
934
  attrs: Partial<{}>;
1086
935
  slots: {
1087
- default?(_: {
1088
- modelValue: FormFieldValue | null;
1089
- open: unknown;
1090
- }): any;
936
+ default?(_: {}): any;
1091
937
  };
1092
938
  refs: {};
1093
939
  rootEl: any;
@@ -1119,6 +965,24 @@ declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
1119
965
 
1120
966
  declare type __VLS_TemplateResult_20 = ReturnType<typeof __VLS_template_20>;
1121
967
 
968
+ declare type __VLS_TemplateResult_21 = ReturnType<typeof __VLS_template_21>;
969
+
970
+ declare type __VLS_TemplateResult_22 = ReturnType<typeof __VLS_template_22>;
971
+
972
+ declare type __VLS_TemplateResult_23 = ReturnType<typeof __VLS_template_23>;
973
+
974
+ declare type __VLS_TemplateResult_24 = ReturnType<typeof __VLS_template_24>;
975
+
976
+ declare type __VLS_TemplateResult_25 = ReturnType<typeof __VLS_template_25>;
977
+
978
+ declare type __VLS_TemplateResult_26 = ReturnType<typeof __VLS_template_26>;
979
+
980
+ declare type __VLS_TemplateResult_27 = ReturnType<typeof __VLS_template_27>;
981
+
982
+ declare type __VLS_TemplateResult_28 = ReturnType<typeof __VLS_template_28>;
983
+
984
+ declare type __VLS_TemplateResult_29 = ReturnType<typeof __VLS_template_29>;
985
+
1122
986
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
1123
987
 
1124
988
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
@@ -1211,6 +1075,60 @@ declare type __VLS_WithTemplateSlots_20<T, S> = T & {
1211
1075
  };
1212
1076
  };
1213
1077
 
1078
+ declare type __VLS_WithTemplateSlots_21<T, S> = T & {
1079
+ new (): {
1080
+ $slots: S;
1081
+ };
1082
+ };
1083
+
1084
+ declare type __VLS_WithTemplateSlots_22<T, S> = T & {
1085
+ new (): {
1086
+ $slots: S;
1087
+ };
1088
+ };
1089
+
1090
+ declare type __VLS_WithTemplateSlots_23<T, S> = T & {
1091
+ new (): {
1092
+ $slots: S;
1093
+ };
1094
+ };
1095
+
1096
+ declare type __VLS_WithTemplateSlots_24<T, S> = T & {
1097
+ new (): {
1098
+ $slots: S;
1099
+ };
1100
+ };
1101
+
1102
+ declare type __VLS_WithTemplateSlots_25<T, S> = T & {
1103
+ new (): {
1104
+ $slots: S;
1105
+ };
1106
+ };
1107
+
1108
+ declare type __VLS_WithTemplateSlots_26<T, S> = T & {
1109
+ new (): {
1110
+ $slots: S;
1111
+ };
1112
+ };
1113
+
1114
+ declare type __VLS_WithTemplateSlots_27<T, S> = T & {
1115
+ new (): {
1116
+ $slots: S;
1117
+ };
1118
+ };
1119
+
1120
+ declare type __VLS_WithTemplateSlots_28<T, S> = T & {
1121
+ new (): {
1122
+ $slots: S;
1123
+ };
1124
+ };
1125
+
1126
+ declare type __VLS_WithTemplateSlots_29<T, S> = T & {
1127
+ new (): {
1128
+ $slots: S;
1129
+ };
1130
+ };
1131
+
1214
1132
  declare type __VLS_WithTemplateSlots_3<T, S> = T & {
1215
1133
  new (): {
1216
1134
  $slots: S;
@@ -1257,6 +1175,8 @@ export declare type AcceptRefs<T> = {
1257
1175
  [K in keyof T]: T[K] | RefUnion<T[K]>;
1258
1176
  };
1259
1177
 
1178
+ export declare const AdvancedOptions: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1179
+
1260
1180
  export declare type AerogelGlobalEvents = Partial<{
1261
1181
  [Event in EventWithoutPayload]: () => unknown;
1262
1182
  }> & Partial<{
@@ -1272,522 +1192,26 @@ export declare interface AerogelTestingRuntime {
1272
1192
  on: (typeof Events)['on'];
1273
1193
  }
1274
1194
 
1275
- export declare const AGAlertModal: DefineComponent<ExtractPropTypes< {
1276
- title: OptionalProp<string | null>;
1277
- message: RequiredProp<string>;
1278
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1279
- title: OptionalProp<string | null>;
1280
- message: RequiredProp<string>;
1281
- }>> & Readonly<{}>, {
1282
- title: string | null;
1283
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1284
-
1285
- export declare type AGAlertModalProps = Pretty<AcceptRefs<ObjectWithout<ExtractPropTypes<typeof alertModalProps>, null | undefined>>>;
1286
-
1287
- export declare const AGAppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1288
-
1289
- export declare const AGAppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
1290
- $backdrop: HTMLDivElement;
1291
- }, any>;
1292
-
1293
- export declare const AGButton: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
1294
-
1295
- export declare const AGCheckbox: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
1296
-
1297
- export declare const AGConfirmModal: DefineComponent<ExtractPropTypes< {
1298
- title: OptionalProp<string | null>;
1299
- message: RequiredProp<string>;
1300
- acceptText: OptionalProp<string | null>;
1301
- acceptColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1302
- cancelText: OptionalProp<string | null>;
1303
- cancelColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1304
- checkboxes: OptionalProp<ConfirmCheckboxes | null>;
1305
- actions: OptionalProp<Record<string, () => unknown> | null>;
1306
- required: OptionalProp<boolean>;
1307
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1308
- title: OptionalProp<string | null>;
1309
- message: RequiredProp<string>;
1310
- acceptText: OptionalProp<string | null>;
1311
- acceptColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1312
- cancelText: OptionalProp<string | null>;
1313
- cancelColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1314
- checkboxes: OptionalProp<ConfirmCheckboxes | null>;
1315
- actions: OptionalProp<Record<string, () => unknown> | null>;
1316
- required: OptionalProp<boolean>;
1317
- }>> & Readonly<{}>, {
1318
- actions: Record<string, () => unknown> | null;
1319
- required: boolean;
1320
- title: string | null;
1321
- acceptText: string | null;
1322
- acceptColor: "clear" | "primary" | "secondary" | "danger";
1323
- cancelText: string | null;
1324
- cancelColor: "clear" | "primary" | "secondary" | "danger";
1325
- checkboxes: ConfirmCheckboxes | null;
1326
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1327
-
1328
- export declare type AGConfirmModalProps = Pretty<AcceptRefs<SubPartial<ObjectWithout<ExtractPropTypes<typeof confirmModalProps>, null | undefined>, 'acceptColor' | 'cancelColor'>>>;
1329
-
1330
- export declare const AGErrorMessage: DefineComponent<ExtractPropTypes< {
1331
- error: RequiredProp<unknown>;
1332
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1333
- error: RequiredProp<unknown>;
1334
- }>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1335
-
1336
- export declare const AGErrorReportModalButtons: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1337
-
1338
- export declare type AGErrorReportModalProps = Pretty<AcceptRefs<ObjectWithout<ExtractPropTypes<typeof errorReportModalProps>, null | undefined>>>;
1339
-
1340
- export declare const AGErrorReportModalTitle: DefineComponent<ExtractPropTypes< {
1341
- report: RequiredProp<ErrorReport>;
1342
- currentReport: OptionalProp<number | null>;
1343
- totalReports: OptionalProp<number | null>;
1344
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1345
- report: RequiredProp<ErrorReport>;
1346
- currentReport: OptionalProp<number | null>;
1347
- totalReports: OptionalProp<number | null>;
1348
- }>> & Readonly<{}>, {
1349
- currentReport: number | null;
1350
- totalReports: number | null;
1351
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1352
-
1353
- export declare const AGForm: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
1354
-
1355
- export declare const AGHeadlessButton: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
1356
-
1357
- export declare const AGHeadlessInput: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
1358
-
1359
- export declare const AGHeadlessInputDescription: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1360
-
1361
- export declare const AGHeadlessInputError: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1362
-
1363
- export declare const AGHeadlessInputInput: DefineComponent<ExtractPropTypes< {
1364
- type: OptionalProp<string>;
1365
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1366
- type: OptionalProp<string>;
1367
- }>> & Readonly<{}>, {
1368
- type: string;
1369
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
1370
- $input: HTMLInputElement;
1371
- }, HTMLInputElement>;
1372
-
1373
- export declare const AGHeadlessInputLabel: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
1374
-
1375
- export declare const AGHeadlessInputTextArea: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
1376
- $textArea: HTMLTextAreaElement;
1377
- }, HTMLTextAreaElement>;
1378
-
1379
- export declare const AGHeadlessModal: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1380
-
1381
- export declare const AGHeadlessModalContent: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1382
-
1383
- export { AGHeadlessModalTitle }
1384
-
1385
- export declare const AGHeadlessSelect: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1386
-
1387
- export declare const AGHeadlessSelectError: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1388
-
1389
- export declare const AGHeadlessSelectOption: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1390
-
1391
- export declare const AGHeadlessSelectOptions: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1392
-
1393
- export declare const AGHeadlessSelectTrigger: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1394
-
1395
- export declare const AGHeadlessSnackbar: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
1396
-
1397
- export declare const AGInput: DefineComponent<ExtractPropTypes< {
1398
- name: OptionalProp<string | null>;
1399
- label: OptionalProp<string | null>;
1400
- description: OptionalProp<string | null>;
1401
- modelValue: OptionalProp<FormFieldValue | null>;
1402
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1403
- "update:modelValue": (...args: any[]) => void;
1404
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1405
- name: OptionalProp<string | null>;
1406
- label: OptionalProp<string | null>;
1407
- description: OptionalProp<string | null>;
1408
- modelValue: OptionalProp<FormFieldValue | null>;
1409
- }>> & Readonly<{
1410
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1411
- }>, {
1412
- description: string | null;
1413
- name: string | null;
1414
- label: string | null;
1415
- modelValue: FormFieldValue | null;
1416
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
1417
- $input: ({
1418
- $: ComponentInternalInstance;
1419
- $data: {};
1420
- $props: Partial<{
1421
- description: string | null;
1422
- name: string | null;
1423
- label: string | null;
1424
- as: string;
1425
- modelValue: FormFieldValue | null;
1426
- }> & Omit<{
1427
- readonly description: string | null;
1428
- readonly name: string | null;
1429
- readonly label: string | null;
1430
- readonly as: string;
1431
- readonly modelValue: FormFieldValue | null;
1432
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1433
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "description" | "name" | "label" | "as" | "modelValue">;
1434
- $attrs: {
1435
- [x: string]: unknown;
1436
- };
1437
- $refs: {
1438
- [x: string]: unknown;
1439
- };
1440
- $slots: Readonly<{
1441
- [name: string]: Slot<any> | undefined;
1442
- }>;
1443
- $root: ComponentPublicInstance | null;
1444
- $parent: ComponentPublicInstance | null;
1445
- $host: Element | null;
1446
- $emit: (event: "update:modelValue", ...args: any[]) => void;
1447
- $el: any;
1448
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
1449
- name: OptionalProp<string | null>;
1450
- label: OptionalProp<string | null>;
1451
- description: OptionalProp<string | null>;
1452
- modelValue: OptionalProp<FormFieldValue | null>;
1453
- as: OptionalProp<string>;
1454
- }>> & Readonly<{
1455
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1456
- }>, {
1457
- id: string;
1458
- name: ComputedRef<string | null>;
1459
- label: ComputedRef<string | null>;
1460
- description: ComputedRef<string | boolean | null>;
1461
- value: ComputedRef<FormFieldValue | null>;
1462
- required: ComputedRef<boolean | null>;
1463
- errors: DeepReadonly<Ref<string[] | null>>;
1464
- update(value: FormFieldValue | null): void;
1465
- $el: Readonly<Ref<HTMLElement | undefined>>;
1466
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1467
- "update:modelValue": (...args: any[]) => void;
1468
- }, string, {
1469
- description: string | null;
1470
- name: string | null;
1471
- label: string | null;
1472
- as: string;
1473
- modelValue: FormFieldValue | null;
1474
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1475
- beforeCreate?: (() => void) | (() => void)[];
1476
- created?: (() => void) | (() => void)[];
1477
- beforeMount?: (() => void) | (() => void)[];
1478
- mounted?: (() => void) | (() => void)[];
1479
- beforeUpdate?: (() => void) | (() => void)[];
1480
- updated?: (() => void) | (() => void)[];
1481
- activated?: (() => void) | (() => void)[];
1482
- deactivated?: (() => void) | (() => void)[];
1483
- beforeDestroy?: (() => void) | (() => void)[];
1484
- beforeUnmount?: (() => void) | (() => void)[];
1485
- destroyed?: (() => void) | (() => void)[];
1486
- unmounted?: (() => void) | (() => void)[];
1487
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1488
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1489
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1490
- };
1491
- $forceUpdate: () => void;
1492
- $nextTick: nextTick;
1493
- $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;
1494
- } & Readonly<{
1495
- description: string | null;
1496
- name: string | null;
1497
- label: string | null;
1498
- as: string;
1499
- modelValue: FormFieldValue | null;
1500
- }> & Omit<Readonly<ExtractPropTypes< {
1501
- name: OptionalProp<string | null>;
1502
- label: OptionalProp<string | null>;
1503
- description: OptionalProp<string | null>;
1504
- modelValue: OptionalProp<FormFieldValue | null>;
1505
- as: OptionalProp<string>;
1506
- }>> & Readonly<{
1507
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1508
- }>, "id" | "value" | "required" | "errors" | "$el" | "update" | ("description" | "name" | "label" | "as" | "modelValue")> & ShallowUnwrapRef< {
1509
- id: string;
1510
- name: ComputedRef<string | null>;
1511
- label: ComputedRef<string | null>;
1512
- description: ComputedRef<string | boolean | null>;
1513
- value: ComputedRef<FormFieldValue | null>;
1514
- required: ComputedRef<boolean | null>;
1515
- errors: DeepReadonly<Ref<string[] | null>>;
1516
- update(value: FormFieldValue | null): void;
1517
- $el: Readonly<Ref<HTMLElement | undefined>>;
1518
- }> & {} & ComponentCustomProperties & {} & {
1519
- $slots: {
1520
- default?(_: {}): any;
1521
- default?(_: {}): any;
1522
- };
1523
- }) | null;
1524
- }, any>;
1195
+ export declare const AlertModal: DefineComponent<AlertModalProps, {
1196
+ close(result?: void | undefined): Promise<void>;
1197
+ $content: ModalContentInstance;
1198
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1525
1199
 
1526
- export declare const AGLink: __VLS_WithTemplateSlots_16<typeof __VLS_component_16, __VLS_TemplateResult_16["slots"]>;
1527
-
1528
- export declare const AGLoadingModal: DefineComponent<ExtractPropTypes< {
1529
- title: OptionalProp<string | null>;
1530
- message: OptionalProp<string | null>;
1531
- progress: OptionalProp<number | null>;
1532
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1533
- title: OptionalProp<string | null>;
1534
- message: OptionalProp<string | null>;
1535
- progress: OptionalProp<number | null>;
1536
- }>> & Readonly<{}>, {
1537
- progress: number | null;
1538
- title: string | null;
1539
- message: string | null;
1540
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1541
-
1542
- export declare type AGLoadingModalProps = AcceptRefs<ObjectWithout<ExtractPropTypes<typeof loadingModalProps>, null | undefined>>;
1543
-
1544
- export declare const AGMarkdown: DefineComponent<ExtractPropTypes< {
1545
- as: OptionalProp<string | null>;
1546
- inline: OptionalProp<boolean>;
1547
- langKey: OptionalProp<string | null>;
1548
- langParams: OptionalProp<number | Record<string, unknown> | null>;
1549
- text: OptionalProp<string | null>;
1550
- actions: OptionalProp<Record<string, () => unknown> | null>;
1551
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1552
- as: OptionalProp<string | null>;
1553
- inline: OptionalProp<boolean>;
1554
- langKey: OptionalProp<string | null>;
1555
- langParams: OptionalProp<number | Record<string, unknown> | null>;
1556
- text: OptionalProp<string | null>;
1557
- actions: OptionalProp<Record<string, () => unknown> | null>;
1558
- }>> & Readonly<{}>, {
1559
- actions: Record<string, () => unknown> | null;
1560
- text: string | null;
1561
- as: string | null;
1562
- inline: boolean;
1563
- langKey: string | null;
1564
- langParams: number | Record<string, unknown> | null;
1565
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1566
-
1567
- export declare const AGMeasured: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1568
-
1569
- export declare const AGModal: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1570
-
1571
- export declare const AGModalContext: DefineComponent<ExtractPropTypes< {
1572
- modal: RequiredProp<Modal<unknown>>;
1573
- childIndex: OptionalProp<number>;
1574
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1575
- modal: RequiredProp<Modal<unknown>>;
1576
- childIndex: OptionalProp<number>;
1577
- }>> & Readonly<{}>, {
1578
- childIndex: number;
1579
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1580
-
1581
- export declare const AGModalTitle: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1582
-
1583
- export declare const AGProgressBar: DefineComponent<ExtractPropTypes< {
1584
- progress: OptionalProp<number | null>;
1585
- barClass: OptionalProp<string>;
1586
- job: OptionalProp<Job<JobListener, JobStatus, JobStatus> | null>;
1587
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1588
- progress: OptionalProp<number | null>;
1589
- barClass: OptionalProp<string>;
1590
- job: OptionalProp<Job<JobListener, JobStatus, JobStatus> | null>;
1591
- }>> & Readonly<{}>, {
1592
- progress: number | null;
1593
- barClass: string;
1594
- job: Job<JobListener, JobStatus, JobStatus> | null;
1595
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1596
-
1597
- export declare const AGPromptModal: DefineComponent<ExtractPropTypes< {
1598
- title: OptionalProp<string | null>;
1599
- message: RequiredProp<string>;
1600
- label: OptionalProp<string | null>;
1601
- defaultValue: OptionalProp<string | null>;
1602
- placeholder: OptionalProp<string | null>;
1603
- acceptText: OptionalProp<string | null>;
1604
- acceptColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1605
- cancelText: OptionalProp<string | null>;
1606
- cancelColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1607
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1608
- title: OptionalProp<string | null>;
1609
- message: RequiredProp<string>;
1610
- label: OptionalProp<string | null>;
1611
- defaultValue: OptionalProp<string | null>;
1612
- placeholder: OptionalProp<string | null>;
1613
- acceptText: OptionalProp<string | null>;
1614
- acceptColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1615
- cancelText: OptionalProp<string | null>;
1616
- cancelColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1617
- }>> & Readonly<{}>, {
1618
- label: string | null;
1619
- title: string | null;
1620
- defaultValue: string | null;
1621
- placeholder: string | null;
1622
- acceptText: string | null;
1623
- acceptColor: "clear" | "primary" | "secondary" | "danger";
1624
- cancelText: string | null;
1625
- cancelColor: "clear" | "primary" | "secondary" | "danger";
1626
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1627
-
1628
- export declare type AGPromptModalProps = Pretty<AcceptRefs<SubPartial<ObjectWithout<ExtractPropTypes<typeof promptModalProps>, null | undefined>, 'acceptColor' | 'cancelColor'>>>;
1629
-
1630
- export declare const AGSelect: DefineComponent<ExtractPropTypes< {
1631
- name: OptionalProp<string | null>;
1632
- label: OptionalProp<string | null>;
1633
- options: RequiredProp<FormFieldValue[]>;
1634
- noSelectionText: OptionalProp<string | null>;
1635
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
1636
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1637
- "update:modelValue": (...args: any[]) => void;
1638
- }, string, PublicProps, Readonly<ExtractPropTypes< {
1639
- name: OptionalProp<string | null>;
1640
- label: OptionalProp<string | null>;
1641
- options: RequiredProp<FormFieldValue[]>;
1642
- noSelectionText: OptionalProp<string | null>;
1643
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
1644
- }>> & Readonly<{
1645
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1646
- }>, {
1647
- name: string | null;
1648
- label: string | null;
1649
- noSelectionText: string | null;
1650
- optionsText: string | ((option: FormFieldValue) => string) | null;
1651
- }, {}, {}, {}, string, ComponentProvideOptions, true, {
1652
- $select: ({
1653
- $: ComponentInternalInstance;
1654
- $data: {};
1655
- $props: Partial<{
1656
- name: string | null;
1657
- label: string | null;
1658
- modelValue: FormFieldValue | null;
1659
- noSelectionText: string | null;
1660
- optionsText: string | ((option: FormFieldValue) => string) | null;
1661
- }> & Omit<{
1662
- readonly name: string | null;
1663
- readonly label: string | null;
1664
- readonly modelValue: FormFieldValue | null;
1665
- readonly options: FormFieldValue[];
1666
- readonly noSelectionText: string | null;
1667
- readonly optionsText: string | ((option: FormFieldValue) => string) | null;
1668
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1669
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "name" | "label" | "modelValue" | "noSelectionText" | "optionsText">;
1670
- $attrs: {
1671
- [x: string]: unknown;
1672
- };
1673
- $refs: {
1674
- [x: string]: unknown;
1675
- };
1676
- $slots: Readonly<{
1677
- [name: string]: Slot<any> | undefined;
1678
- }>;
1679
- $root: ComponentPublicInstance | null;
1680
- $parent: ComponentPublicInstance | null;
1681
- $host: Element | null;
1682
- $emit: (event: "update:modelValue", ...args: any[]) => void;
1683
- $el: any;
1684
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes< {
1685
- name: OptionalProp<string | null>;
1686
- label: OptionalProp<string | null>;
1687
- options: RequiredProp<FormFieldValue[]>;
1688
- noSelectionText: OptionalProp<string | null>;
1689
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
1690
- modelValue: OptionalProp<FormFieldValue | null>;
1691
- }>> & Readonly<{
1692
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1693
- }>, {
1694
- id: string;
1695
- label: ComputedRef<string | null>;
1696
- noSelectionText: ComputedRef<string>;
1697
- buttonText: ComputedRef<string>;
1698
- renderText: ComputedRef<(value: FormFieldValue) => string>;
1699
- selectedOption: ComputedRef<FormFieldValue | null>;
1700
- options: ComputedRef<FormFieldValue[]>;
1701
- errors: DeepReadonly<Ref<string[] | null>>;
1702
- update(value: FormFieldValue): void;
1703
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1704
- "update:modelValue": (...args: any[]) => void;
1705
- }, string, {
1706
- name: string | null;
1707
- label: string | null;
1708
- modelValue: FormFieldValue | null;
1709
- noSelectionText: string | null;
1710
- optionsText: string | ((option: FormFieldValue) => string) | null;
1711
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1712
- beforeCreate?: (() => void) | (() => void)[];
1713
- created?: (() => void) | (() => void)[];
1714
- beforeMount?: (() => void) | (() => void)[];
1715
- mounted?: (() => void) | (() => void)[];
1716
- beforeUpdate?: (() => void) | (() => void)[];
1717
- updated?: (() => void) | (() => void)[];
1718
- activated?: (() => void) | (() => void)[];
1719
- deactivated?: (() => void) | (() => void)[];
1720
- beforeDestroy?: (() => void) | (() => void)[];
1721
- beforeUnmount?: (() => void) | (() => void)[];
1722
- destroyed?: (() => void) | (() => void)[];
1723
- unmounted?: (() => void) | (() => void)[];
1724
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1725
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1726
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1727
- };
1728
- $forceUpdate: () => void;
1729
- $nextTick: nextTick;
1730
- $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;
1731
- } & Readonly<{
1732
- name: string | null;
1733
- label: string | null;
1734
- modelValue: FormFieldValue | null;
1735
- noSelectionText: string | null;
1736
- optionsText: string | ((option: FormFieldValue) => string) | null;
1737
- }> & Omit<Readonly<ExtractPropTypes< {
1738
- name: OptionalProp<string | null>;
1739
- label: OptionalProp<string | null>;
1740
- options: RequiredProp<FormFieldValue[]>;
1741
- noSelectionText: OptionalProp<string | null>;
1742
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
1743
- modelValue: OptionalProp<FormFieldValue | null>;
1744
- }>> & Readonly<{
1745
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1746
- }>, "id" | "errors" | "update" | "options" | "selectedOption" | "buttonText" | "renderText" | ("name" | "label" | "modelValue" | "noSelectionText" | "optionsText")> & ShallowUnwrapRef< {
1747
- id: string;
1748
- label: ComputedRef<string | null>;
1749
- noSelectionText: ComputedRef<string>;
1750
- buttonText: ComputedRef<string>;
1751
- renderText: ComputedRef<(value: FormFieldValue) => string>;
1752
- selectedOption: ComputedRef<FormFieldValue | null>;
1753
- options: ComputedRef<FormFieldValue[]>;
1754
- errors: DeepReadonly<Ref<string[] | null>>;
1755
- update(value: FormFieldValue): void;
1756
- }> & {} & ComponentCustomProperties & {} & {
1757
- $slots: {
1758
- default?(_: {
1759
- modelValue: FormFieldValue | null;
1760
- open: unknown;
1761
- }): any;
1762
- };
1763
- }) | null;
1764
- }, any>;
1200
+ export declare interface AlertModalExpose extends ModalExpose<void> {
1201
+ }
1765
1202
 
1766
- export declare const AGSnackbar: DefineComponent<ExtractPropTypes< {
1767
- id: RequiredProp<string>;
1768
- message: RequiredProp<string>;
1769
- actions: OptionalProp<SnackbarAction[]>;
1770
- color: OptionalProp<"secondary" | "danger">;
1771
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
1772
- id: RequiredProp<string>;
1773
- message: RequiredProp<string>;
1774
- actions: OptionalProp<SnackbarAction[]>;
1775
- color: OptionalProp<"secondary" | "danger">;
1776
- }>> & Readonly<{}>, {
1777
- actions: SnackbarAction[];
1778
- color: "secondary" | "danger";
1779
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1203
+ export declare interface AlertModalProps {
1204
+ title?: string;
1205
+ message: string;
1206
+ }
1780
1207
 
1781
- export declare type AGSnackbarProps = ObjectWithoutEmpty<ExtractPropTypes<typeof snackbarProps>>;
1208
+ export declare const App: Facade<AppService>;
1782
1209
 
1783
- export declare const AGStartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
1210
+ export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
1784
1211
 
1785
- export declare const alertModalProps: {
1786
- title: OptionalProp<string | null>;
1787
- message: RequiredProp<string>;
1788
- };
1212
+ export declare const AppModals: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1789
1213
 
1790
- export declare const App: Facade<AppService>;
1214
+ export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1791
1215
 
1792
1216
  export declare class AppService extends _default_3 {
1793
1217
  readonly name: string;
@@ -1795,6 +1219,7 @@ export declare class AppService extends _default_3 {
1795
1219
  readonly mounted: PromisedValue<void>;
1796
1220
  isReady(): boolean;
1797
1221
  isMounted(): boolean;
1222
+ addSetting(setting: AppSetting): void;
1798
1223
  whenReady<T>(callback: () => T): Promise<T>;
1799
1224
  reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
1800
1225
  plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
@@ -1802,18 +1227,16 @@ export declare class AppService extends _default_3 {
1802
1227
  protected boot(): Promise<void>;
1803
1228
  }
1804
1229
 
1805
- export declare function arrayProp<T>(defaultValue?: () => T[]): OptionalProp<T[]>;
1230
+ export declare interface AppSetting {
1231
+ component: Component;
1232
+ priority: number;
1233
+ }
1806
1234
 
1807
- export declare type BaseProp<T> = {
1808
- type?: PropType<T>;
1809
- validator?(value: unknown): boolean;
1810
- };
1235
+ export declare const AppToasts: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1811
1236
 
1812
1237
  export declare function booleanInput(defaultValue?: boolean, options?: {
1813
1238
  rules?: string;
1814
- }): FormFieldDefinition<typeof FormFieldTypes.Boolean>;
1815
-
1816
- export declare function booleanProp(defaultValue?: boolean): OptionalProp<boolean>;
1239
+ }): FormFieldDefinition<'boolean'>;
1817
1240
 
1818
1241
  export declare function bootServices(app: App_2, services: Record<string, Service>): Promise<void>;
1819
1242
 
@@ -1821,6 +1244,24 @@ export declare function bootstrap(rootComponent: Component, options?: AerogelOpt
1821
1244
 
1822
1245
  export declare function bootstrapApplication(app: App_2, options?: AerogelOptions): Promise<void>;
1823
1246
 
1247
+ export declare const Button: __VLS_WithTemplateSlots_17<typeof __VLS_component_17, __VLS_TemplateResult_17["slots"]>;
1248
+
1249
+ export declare interface ButtonProps extends PrimitiveProps {
1250
+ class?: HTMLAttributes['class'];
1251
+ disabled?: boolean;
1252
+ href?: string;
1253
+ route?: string;
1254
+ routeParams?: object;
1255
+ routeQuery?: object;
1256
+ size?: ButtonSize;
1257
+ submit?: boolean;
1258
+ variant?: ButtonVariant;
1259
+ }
1260
+
1261
+ export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
1262
+
1263
+ export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
1264
+
1824
1265
  declare const Cache_2: Facade<CacheService>;
1825
1266
  export { Cache_2 as Cache }
1826
1267
 
@@ -1832,27 +1273,27 @@ export declare class CacheService extends Service {
1832
1273
  protected open(): Promise<Cache>;
1833
1274
  }
1834
1275
 
1835
- export declare type Color = (typeof Colors)[keyof typeof Colors];
1276
+ export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component_18, __VLS_TemplateResult_18["slots"]>;
1836
1277
 
1837
- export declare const Colors: {
1838
- readonly Primary: "primary";
1839
- readonly Secondary: "secondary";
1840
- readonly Danger: "danger";
1841
- readonly Clear: "clear";
1842
- };
1278
+ export declare function classes(...inputs: ClassValue[]): string;
1843
1279
 
1844
- declare type ComponentPropDefinitions<T> = {
1280
+ export declare type ComponentPropDefinitions<T> = {
1845
1281
  [K in keyof T]: {
1846
1282
  type?: PropType<T[K]>;
1847
1283
  default: T[K] | (() => T[K]) | null;
1848
1284
  };
1849
1285
  };
1850
1286
 
1851
- export declare type ComponentProps<T = {}> = T & Record<string, unknown>;
1287
+ export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
1852
1288
 
1853
- export declare function componentRef<T>(): Ref<UnwrapNestedRefs<T> | undefined>;
1289
+ export declare function computedDebounce<T>(options: ComputedDebounceOptions<T>, getter: ComputedGetter<T>): ComputedRef<T>;
1854
1290
 
1855
- export declare function computedAsync<T>(getter: () => Promise<T>): Ref<T | undefined>;
1291
+ export declare function computedDebounce<T>(getter: ComputedGetter<T>): ComputedRef<T | null>;
1292
+
1293
+ export declare interface ComputedDebounceOptions<T> {
1294
+ initial?: T;
1295
+ delay?: number;
1296
+ }
1856
1297
 
1857
1298
  export declare type ComputedStateDefinition<TState extends ServiceState, TComputedState extends ServiceState> = {
1858
1299
  [K in keyof TComputedState]: (state: Unref<TState>) => TComputedState[K];
@@ -1860,40 +1301,58 @@ export declare type ComputedStateDefinition<TState extends ServiceState, TComput
1860
1301
  readonly [K in keyof TComputedState]: TComputedState[K];
1861
1302
  }>;
1862
1303
 
1863
- export declare type ConfirmCheckboxes = Record<string, {
1304
+ export declare function computedVariantClasses<T>(value: RefsObject<{
1305
+ baseClasses?: string;
1306
+ } & CVAProps<T>>, config: {
1307
+ baseClasses?: string;
1308
+ } & CVAConfig<T>): ComputedRef<string>;
1309
+
1310
+ export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {
1311
+ close(result?: boolean | [boolean, Record<string, Nullable<boolean>>] | undefined): Promise<void>;
1312
+ $content: ModalContentInstance;
1313
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1314
+
1315
+ export declare type ConfirmModalCheckboxes = Record<string, {
1864
1316
  label: string;
1865
1317
  default?: boolean;
1866
1318
  required?: boolean;
1867
1319
  }>;
1868
1320
 
1869
- export declare const confirmModalProps: {
1870
- title: OptionalProp<string | null>;
1871
- message: RequiredProp<string>;
1872
- acceptText: OptionalProp<string | null>;
1873
- acceptColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1874
- cancelText: OptionalProp<string | null>;
1875
- cancelColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
1876
- checkboxes: OptionalProp<ConfirmCheckboxes | null>;
1877
- actions: OptionalProp<Record<string, () => unknown> | null>;
1878
- required: OptionalProp<boolean>;
1879
- };
1321
+ export declare interface ConfirmModalExpose extends ModalExpose<boolean | [boolean, Record<string, Nullable<boolean>>]> {
1322
+ }
1323
+
1324
+ export declare interface ConfirmModalProps {
1325
+ title?: string;
1326
+ message: string;
1327
+ acceptText?: string;
1328
+ acceptVariant?: ButtonVariant;
1329
+ cancelText?: string;
1330
+ cancelVariant?: ButtonVariant;
1331
+ checkboxes?: ConfirmModalCheckboxes;
1332
+ actions?: Record<string, () => unknown>;
1333
+ required?: boolean;
1334
+ }
1880
1335
 
1881
1336
  export declare type ConfirmOptions = AcceptRefs<{
1882
1337
  acceptText?: string;
1883
- acceptColor?: Color;
1338
+ acceptVariant?: ButtonVariant;
1884
1339
  cancelText?: string;
1885
- cancelColor?: Color;
1340
+ cancelVariant?: ButtonVariant;
1886
1341
  actions?: Record<string, () => unknown>;
1887
1342
  required?: boolean;
1888
1343
  }>;
1889
1344
 
1890
- export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmCheckboxes = ConfirmCheckboxes> extends ConfirmOptions {
1345
+ export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalCheckboxes = ConfirmModalCheckboxes> extends ConfirmOptions {
1891
1346
  checkboxes?: T;
1892
1347
  }
1893
1348
 
1349
+ export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>;
1350
+
1351
+ export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
1352
+
1894
1353
  export declare function dateInput(defaultValue?: Date, options?: {
1895
1354
  rules?: string;
1896
- }): FormFieldDefinition<typeof FormFieldTypes.Date>;
1355
+ }): FormFieldDefinition<'date'>;
1897
1356
 
1898
1357
  declare const _default: ServiceWithState< {
1899
1358
  logs: ErrorReportLog[];
@@ -1923,6 +1382,7 @@ instance: App_2 | null;
1923
1382
  environment: string;
1924
1383
  version: string;
1925
1384
  sourceUrl: string | undefined;
1385
+ settings: AppSetting[];
1926
1386
  }, {
1927
1387
  development: boolean;
1928
1388
  staging: boolean;
@@ -1935,18 +1395,20 @@ instance: App_2 | null;
1935
1395
  environment: string;
1936
1396
  version: string;
1937
1397
  sourceUrl: string | undefined;
1398
+ settings: AppSetting[];
1938
1399
  }>>;
1939
1400
 
1940
1401
  declare const _default_4: ServiceWithState< {
1941
- modals: Modal[];
1942
- snackbars: Snackbar[];
1402
+ modals: UIModal[];
1403
+ toasts: UIToast[];
1943
1404
  layout: Layout;
1944
1405
  }, {
1945
- mobile: boolean;
1946
1406
  desktop: boolean;
1407
+ mobile: boolean;
1408
+ openModals: UIModal<unknown>[];
1947
1409
  }, Partial<{
1948
- modals: Modal[];
1949
- snackbars: Snackbar[];
1410
+ modals: UIModal[];
1411
+ toasts: UIToast[];
1950
1412
  layout: Layout;
1951
1413
  }>>;
1952
1414
 
@@ -1978,21 +1440,46 @@ export declare function defineServiceState<State extends ServiceState = ServiceS
1978
1440
 
1979
1441
  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>;
1980
1442
 
1443
+ export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
1444
+
1981
1445
  export declare function dispatch(job: Job): Promise<void>;
1982
1446
 
1983
- export declare function elementRef(): Ref<HTMLElement | undefined>;
1447
+ export declare const DropdownMenu: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1448
+
1449
+ export declare interface DropdownMenuExpose {
1450
+ align?: DropdownMenuContentProps['align'];
1451
+ side?: DropdownMenuContentProps['side'];
1452
+ options?: DropdownMenuOptionData[];
1453
+ }
1454
+
1455
+ export declare const DropdownMenuOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
1456
+
1457
+ export declare type DropdownMenuOptionData = {
1458
+ label: string;
1459
+ click: () => unknown;
1460
+ };
1461
+
1462
+ export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
1463
+
1464
+ export declare interface DropdownMenuProps {
1465
+ align?: DropdownMenuContentProps['align'];
1466
+ side?: DropdownMenuContentProps['side'];
1467
+ options?: Falsifiable<DropdownMenuOptionData>[];
1468
+ }
1469
+
1470
+ export declare const EditableContent: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
1984
1471
 
1985
1472
  export declare interface ElementSize {
1986
1473
  width: number;
1987
1474
  height: number;
1988
1475
  }
1989
1476
 
1990
- export declare function enumProp<Enum extends Record<string, unknown>>(enumeration: Enum, defaultValue?: Enum[keyof Enum]): OptionalProp<Enum[keyof Enum]>;
1991
-
1992
1477
  export declare type ErrorHandler = (error: ErrorSource) => boolean;
1993
1478
 
1994
1479
  declare type ErrorHandler_2 = (error: ErrorSource) => string | undefined;
1995
1480
 
1481
+ export declare const ErrorMessage: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1482
+
1996
1483
  export declare interface ErrorReport {
1997
1484
  title: string;
1998
1485
  description?: string;
@@ -2000,15 +1487,35 @@ export declare interface ErrorReport {
2000
1487
  error?: Error | JSError | unknown;
2001
1488
  }
2002
1489
 
2003
- export declare interface ErrorReportLog {
2004
- report: ErrorReport;
2005
- seen: boolean;
2006
- date: Date;
1490
+ export declare interface ErrorReportLog {
1491
+ report: ErrorReport;
1492
+ seen: boolean;
1493
+ date: Date;
1494
+ }
1495
+
1496
+ export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
1497
+ close(result?: void | undefined): Promise<void>;
1498
+ $content: ModalContentInstance;
1499
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1500
+
1501
+ export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
1502
+
1503
+ declare interface ErrorReportModalButtonsDefaultSlotProps {
1504
+ id: string;
1505
+ description: string;
1506
+ iconComponent: Component;
1507
+ url?: string;
1508
+ click?(): void;
1509
+ }
1510
+
1511
+ export declare interface ErrorReportModalExpose extends ModalExpose {
1512
+ }
1513
+
1514
+ export declare interface ErrorReportModalProps {
1515
+ reports: ErrorReport[];
2007
1516
  }
2008
1517
 
2009
- export declare const errorReportModalProps: {
2010
- reports: RequiredProp<ErrorReport[]>;
2011
- };
1518
+ export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2012
1519
 
2013
1520
  export declare const Errors: Facade<ErrorsService>;
2014
1521
 
@@ -2057,22 +1564,16 @@ export declare class EventsService extends Service {
2057
1564
  protected boot(): Promise<void>;
2058
1565
  emit<Event extends EventWithoutPayload>(event: Event): Promise<void>;
2059
1566
  emit<Event extends EventWithPayload>(event: Event, payload: EventsPayload[Event]): Promise<void>;
2060
- emit<Event extends string>(event: UnknownEvent<Event>, payload?: unknown): Promise<void>;
2061
1567
  on<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
2062
1568
  on<Event extends EventWithoutPayload>(event: Event, priority: EventListenerPriority, listener: () => unknown): () => void;
2063
1569
  on<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
2064
1570
  on<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2065
1571
  on<Event extends EventWithPayload>(event: Event, priority: EventListenerPriority, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2066
1572
  on<Event extends EventWithPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2067
- on<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): () => void;
2068
- on<Event extends string>(event: UnknownEvent<Event>, priority: EventListenerPriority, listener: EventListener_2): () => void;
2069
- on<Event extends string>(event: UnknownEvent<Event>, options: Partial<EventListenerOptions_2>, listener: EventListener_2): () => void;
2070
1573
  once<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): () => void;
2071
1574
  once<Event extends EventWithoutPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: () => unknown): () => void;
2072
1575
  once<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2073
1576
  once<Event extends EventWithPayload>(event: Event, options: Partial<EventListenerOptions_2>, listener: EventListener_2<EventsPayload[Event]>): () => void | void;
2074
- once<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): () => void;
2075
- once<Event extends string>(event: UnknownEvent<Event>, options: Partial<EventListenerOptions_2>, listener: EventListener_2): () => void;
2076
1577
  off(event: string, listener: EventListener_2): void;
2077
1578
  protected registerListener(event: string, options: Partial<EventListenerOptions_2>, handler: EventListener_2): void;
2078
1579
  }
@@ -2085,15 +1586,13 @@ export declare type EventWithPayload = {
2085
1586
  [K in keyof EventsPayload]: EventsPayload[K] extends void ? never : K;
2086
1587
  }[keyof EventsPayload];
2087
1588
 
2088
- export declare function extractInputProps<T extends ExtractPropTypes<typeof inputProps>>(props: T): Pick<T, keyof typeof inputProps>;
2089
-
2090
- export declare function extractModalProps<T extends IModalProps>(props: T): ComponentProps<IModalProps>;
2091
-
2092
- export declare function extractSelectProps<T extends ExtractPropTypes<typeof selectProps>>(props: T): Pick<T, keyof typeof selectProps>;
1589
+ export declare type Falsifiable<T> = Nullable<T> | false;
2093
1590
 
2094
1591
  export declare type FocusFormListener = (input: string) => unknown;
2095
1592
 
2096
- export declare class Form<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
1593
+ export declare const Form: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
1594
+
1595
+ export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
2097
1596
  errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
2098
1597
  private _fields;
2099
1598
  private _data;
@@ -2128,7 +1627,7 @@ export declare class Form<Fields extends FormFieldDefinitions = FormFieldDefinit
2128
1627
  }
2129
1628
 
2130
1629
  declare type FormData_2<T> = {
2131
- -readonly [k in keyof T]: T[k] extends FormFieldDefinition<infer TType, infer TRules> ? TRules extends 'required' ? GetFormFieldValue<TType> : GetFormFieldValue<TType> | null : never;
1630
+ -readonly [k in keyof T]: T[k] extends FormFieldDefinition<infer TType, infer TRules, infer TObjectType> ? TRules extends 'required' ? GetFormFieldValue<TType, TObjectType> : GetFormFieldValue<TType, TObjectType> | null : never;
2132
1631
  };
2133
1632
  export { FormData_2 as FormData }
2134
1633
 
@@ -2136,24 +1635,17 @@ export declare type FormErrors<T> = {
2136
1635
  [k in keyof T]: string[] | null;
2137
1636
  };
2138
1637
 
2139
- export declare interface FormFieldDefinition<TType extends FormFieldType = FormFieldType, TRules extends string = string> {
1638
+ export declare interface FormFieldDefinition<TType extends FormFieldType = FormFieldType, TRules extends string = string, TObjectType = object> {
2140
1639
  type: TType;
2141
1640
  trim?: boolean;
2142
1641
  default?: GetFormFieldValue<TType>;
2143
1642
  rules?: TRules;
1643
+ [__objectType]?: TObjectType;
2144
1644
  }
2145
1645
 
2146
1646
  export declare type FormFieldDefinitions = Record<string, FormFieldDefinition>;
2147
1647
 
2148
- export declare type FormFieldType = ObjectValues<typeof FormFieldTypes>;
2149
-
2150
- export declare const FormFieldTypes: {
2151
- readonly String: "string";
2152
- readonly Number: "number";
2153
- readonly Boolean: "boolean";
2154
- readonly Object: "object";
2155
- readonly Date: "date";
2156
- };
1648
+ export declare type FormFieldType = 'string' | 'number' | 'boolean' | 'object' | 'date';
2157
1649
 
2158
1650
  export declare type FormFieldValidator<T = unknown> = (value: T) => string | string[] | undefined;
2159
1651
 
@@ -2163,79 +1655,104 @@ export declare function getCurrentLayout(): Layout;
2163
1655
 
2164
1656
  export declare function getErrorMessage(error: ErrorSource): string;
2165
1657
 
2166
- export declare type GetFormFieldValue<TType> = TType extends typeof FormFieldTypes.String ? string : TType extends typeof FormFieldTypes.Number ? number : TType extends typeof FormFieldTypes.Boolean ? boolean : TType extends typeof FormFieldTypes.Object ? object : TType extends typeof FormFieldTypes.Date ? Date : never;
1658
+ export declare type GetFormFieldValue<TType, TObjectType = object> = TType extends 'string' ? string : TType extends 'number' ? number : TType extends 'boolean' ? boolean : TType extends 'object' ? TObjectType extends object ? TObjectType : object : TType extends 'date' ? Date : never;
2167
1659
 
2168
1660
  export declare function getPiniaStore(): Pinia;
2169
1661
 
2170
- export declare interface HasElement {
2171
- $el: Readonly<Ref<HTMLElement | undefined>>;
1662
+ export declare interface HasSelectOptionLabel {
1663
+ label: string | (() => string);
2172
1664
  }
2173
1665
 
2174
- export declare interface IAGErrorReportModalButtonsDefaultSlotProps {
2175
- id: string;
2176
- description: string;
2177
- iconComponent: Component;
2178
- url?: string;
2179
- handler?(): void;
2180
- }
1666
+ export declare function hasSelectOptionLabel(option: unknown): option is HasSelectOptionLabel;
2181
1667
 
2182
- export declare interface IAGHeadlessButton extends HasElement {
2183
- }
1668
+ export declare const HeadlessButton: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
2184
1669
 
2185
- export declare interface IAGHeadlessInput extends HasElement {
2186
- id: string;
2187
- name: ComputedRef<string | null>;
2188
- label: ComputedRef<string | null>;
2189
- description: ComputedRef<string | boolean | null>;
2190
- value: ComputedRef<FormFieldValue | null>;
2191
- required: ComputedRef<boolean | null>;
2192
- errors: DeepReadonly<Ref<string[] | null>>;
2193
- update(value: FormFieldValue | null): void;
2194
- }
1670
+ export declare const HeadlessInput: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
2195
1671
 
2196
- export declare interface IAGHeadlessModal extends IModal {
2197
- }
1672
+ export declare const HeadlessInputDescription: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
2198
1673
 
2199
- export declare interface IAGHeadlessModalDefaultSlotProps {
2200
- close(result?: unknown): Promise<void>;
2201
- }
1674
+ export declare const HeadlessInputError: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2202
1675
 
2203
- export declare interface IAGHeadlessSelect {
2204
- id: string;
2205
- label: ComputedRef<string | null>;
2206
- noSelectionText: ComputedRef<string>;
2207
- buttonText: ComputedRef<string>;
2208
- renderText: ComputedRef<(value: FormFieldValue) => string>;
2209
- selectedOption: ComputedRef<FormFieldValue | null>;
2210
- options: ComputedRef<FormFieldValue[]>;
2211
- errors: DeepReadonly<Ref<string[] | null>>;
2212
- update(value: FormFieldValue): void;
2213
- }
1676
+ export declare const HeadlessInputInput: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1677
+ $inputRef: HTMLInputElement;
1678
+ }, HTMLInputElement>;
1679
+
1680
+ export declare const HeadlessInputLabel: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
2214
1681
 
2215
- export declare type IAGHeadlessSelectOptionSlotProps = {
2216
- active: boolean;
2217
- selected: boolean;
1682
+ export declare const HeadlessInputTextArea: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
1683
+ $textAreaRef: HTMLTextAreaElement;
1684
+ }, HTMLTextAreaElement>;
1685
+
1686
+ export declare const HeadlessModal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1687
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ModalProps & Partial<{}>> & PublicProps;
1688
+ expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose<T>>>): void;
1689
+ attrs: any;
1690
+ slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
1691
+ emit: {};
1692
+ }>) => VNode & {
1693
+ __ctx?: Awaited<typeof __VLS_setup>;
2218
1694
  };
2219
1695
 
2220
- export declare interface IAGModalContext {
2221
- modal: Ref<Modal>;
2222
- childIndex: Ref<number>;
2223
- }
1696
+ export declare const HeadlessModalContent: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
2224
1697
 
2225
- export declare interface IModal {
2226
- cancellable: Ref<boolean>;
2227
- close(result?: unknown): Promise<void>;
2228
- }
1698
+ export declare const HeadlessModalDescription: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
2229
1699
 
2230
- export declare interface IModalDefaultSlotProps {
2231
- close(result?: unknown): Promise<void>;
2232
- }
1700
+ export declare const HeadlessModalOverlay: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
2233
1701
 
2234
- export declare interface IModalProps {
2235
- cancellable: boolean;
2236
- title: string | null;
2237
- description: string | null;
2238
- }
1702
+ export declare const HeadlessModalTitle: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1703
+
1704
+ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1705
+ props: __VLS_PrettifyLocal_2<Pick<Partial<{}> & Omit<{
1706
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
1707
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
1708
+ expose(exposed: ShallowUnwrapRef< {
1709
+ labelClass: any;
1710
+ optionsClass: any;
1711
+ align: "start" | "center" | "end" | undefined;
1712
+ side: "top" | "right" | "bottom" | "left" | undefined;
1713
+ value: ComputedRef<T>;
1714
+ id: string;
1715
+ name: ComputedRef<string | undefined>;
1716
+ label: ComputedRef<string | undefined>;
1717
+ description: ComputedRef<string | undefined>;
1718
+ placeholder: ComputedRef<string>;
1719
+ options: ComputedRef< {
1720
+ key: string;
1721
+ label: string;
1722
+ value: AcceptableValue;
1723
+ }[] | null>;
1724
+ selectedOption: ComputedRef< {
1725
+ key: string;
1726
+ label: string;
1727
+ value: AcceptableValue;
1728
+ } | undefined>;
1729
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1730
+ required: ComputedRef<boolean | undefined>;
1731
+ update(value: T): void;
1732
+ }>): void;
1733
+ attrs: any;
1734
+ slots: {
1735
+ default?(_: {
1736
+ modelValue: T | undefined;
1737
+ open: boolean;
1738
+ }): any;
1739
+ };
1740
+ emit: (evt: "update:modelValue", value: T) => void;
1741
+ }>) => VNode & {
1742
+ __ctx?: Awaited<typeof __VLS_setup>;
1743
+ };
1744
+
1745
+ export declare const HeadlessSelectLabel: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
1746
+
1747
+ export declare const HeadlessSelectOption: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
1748
+
1749
+ export declare const HeadlessSelectOptions: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1750
+
1751
+ export declare const HeadlessSelectTrigger: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1752
+
1753
+ export declare const HeadlessSelectValue: __VLS_WithTemplateSlots_14<typeof __VLS_component_14, __VLS_TemplateResult_14["slots"]>;
1754
+
1755
+ export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
2239
1756
 
2240
1757
  export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
2241
1758
 
@@ -2243,14 +1760,112 @@ export declare function injectReactive<T extends object>(key: InjectionKey<T> |
2243
1760
 
2244
1761
  export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
2245
1762
 
2246
- export declare const inputEmits: readonly ["update:modelValue"];
2247
-
2248
- export declare const inputProps: {
2249
- name: OptionalProp<string | null>;
2250
- label: OptionalProp<string | null>;
2251
- description: OptionalProp<string | null>;
2252
- modelValue: OptionalProp<FormFieldValue | null>;
1763
+ export declare const Input: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1764
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
1765
+ }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
1766
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1767
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1768
+ $inputRef: ({
1769
+ $: ComponentInternalInstance;
1770
+ $data: {};
1771
+ $props: {
1772
+ readonly name?: string | undefined;
1773
+ readonly label?: string | undefined;
1774
+ readonly description?: string | undefined;
1775
+ readonly modelValue?: Nullable<FormFieldValue>;
1776
+ readonly as?: string | undefined;
1777
+ readonly "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1778
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1779
+ $attrs: {
1780
+ [x: string]: unknown;
1781
+ };
1782
+ $refs: {
1783
+ [x: string]: unknown;
1784
+ };
1785
+ $slots: Readonly<{
1786
+ [name: string]: Slot<any> | undefined;
1787
+ }>;
1788
+ $root: ComponentPublicInstance | null;
1789
+ $parent: ComponentPublicInstance | null;
1790
+ $host: Element | null;
1791
+ $emit: (event: "update:modelValue", value: Nullable<FormFieldValue>) => void;
1792
+ $el: any;
1793
+ $options: ComponentOptionsBase<Readonly<InputProps<Nullable<FormFieldValue>> & {
1794
+ as?: string;
1795
+ }> & Readonly<{
1796
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1797
+ }>, {
1798
+ id: string;
1799
+ name: ComputedRef<string | undefined>;
1800
+ label: ComputedRef<string | undefined>;
1801
+ description: ComputedRef<string | undefined>;
1802
+ value: ComputedRef<Nullable<FormFieldValue>>;
1803
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1804
+ required: ComputedRef<boolean | undefined>;
1805
+ update(value: Nullable<FormFieldValue>): void;
1806
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1807
+ "update:modelValue": (value: Nullable<FormFieldValue>) => any;
1808
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
1809
+ beforeCreate?: (() => void) | (() => void)[];
1810
+ created?: (() => void) | (() => void)[];
1811
+ beforeMount?: (() => void) | (() => void)[];
1812
+ mounted?: (() => void) | (() => void)[];
1813
+ beforeUpdate?: (() => void) | (() => void)[];
1814
+ updated?: (() => void) | (() => void)[];
1815
+ activated?: (() => void) | (() => void)[];
1816
+ deactivated?: (() => void) | (() => void)[];
1817
+ beforeDestroy?: (() => void) | (() => void)[];
1818
+ beforeUnmount?: (() => void) | (() => void)[];
1819
+ destroyed?: (() => void) | (() => void)[];
1820
+ unmounted?: (() => void) | (() => void)[];
1821
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1822
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
1823
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
1824
+ };
1825
+ $forceUpdate: () => void;
1826
+ $nextTick: typeof nextTick;
1827
+ $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;
1828
+ } & Readonly<{}> & Omit<Readonly<InputProps<Nullable<FormFieldValue>> & {
1829
+ as?: string;
1830
+ }> & Readonly<{
1831
+ "onUpdate:modelValue"?: ((value: Nullable<FormFieldValue>) => any) | undefined;
1832
+ }>, "id" | "value" | "name" | "description" | "errors" | "label" | "required" | "update"> & ShallowUnwrapRef< {
1833
+ id: string;
1834
+ name: ComputedRef<string | undefined>;
1835
+ label: ComputedRef<string | undefined>;
1836
+ description: ComputedRef<string | undefined>;
1837
+ value: ComputedRef<Nullable<FormFieldValue>>;
1838
+ errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
1839
+ required: ComputedRef<boolean | undefined>;
1840
+ update(value: Nullable<FormFieldValue>): void;
1841
+ }> & {} & ComponentCustomProperties & {} & {
1842
+ $slots: {
1843
+ default?(_: {}): any;
2253
1844
  };
1845
+ }) | null;
1846
+ }, any>;
1847
+
1848
+ export declare interface InputEmits<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
1849
+ 'update:modelValue': [value: T];
1850
+ }
1851
+
1852
+ export declare interface InputExpose<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
1853
+ id: string;
1854
+ name: ComputedRef<Nullable<string>>;
1855
+ label: ComputedRef<Nullable<string>>;
1856
+ description: ComputedRef<Nullable<string | boolean>>;
1857
+ value: ComputedRef<T>;
1858
+ required: ComputedRef<Nullable<boolean>>;
1859
+ errors: DeepReadonly<Ref<Nullable<string[]>>>;
1860
+ update(value: T): void;
1861
+ }
1862
+
1863
+ export declare interface InputProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> {
1864
+ name?: string;
1865
+ label?: string;
1866
+ description?: string;
1867
+ modelValue?: T;
1868
+ }
2254
1869
 
2255
1870
  export declare function installPlugins(plugins: Plugin_2[], ...args: GetClosureArgs<Plugin_2['install']>): Promise<void>;
2256
1871
 
@@ -2322,13 +1937,22 @@ export declare const Layouts: {
2322
1937
  readonly Desktop: "desktop";
2323
1938
  };
2324
1939
 
2325
- export declare function listenerProp<T extends Function = Function>(): OptionalProp<T | null>;
1940
+ export declare const Link: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
2326
1941
 
2327
- export declare const loadingModalProps: {
2328
- title: OptionalProp<string | null>;
2329
- message: OptionalProp<string | null>;
2330
- progress: OptionalProp<number | null>;
2331
- };
1942
+ export declare const LoadingModal: DefineComponent<LoadingModalProps, {
1943
+ close(result?: void | undefined): Promise<void>;
1944
+ $content: ModalContentInstance;
1945
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1946
+
1947
+ export declare interface LoadingModalExpose extends ModalExpose {
1948
+ }
1949
+
1950
+ export declare interface LoadingModalProps {
1951
+ title?: string;
1952
+ message?: string;
1953
+ progress?: number;
1954
+ job?: Job;
1955
+ }
2332
1956
 
2333
1957
  export declare type LoadingOptions = AcceptRefs<{
2334
1958
  title?: string;
@@ -2336,138 +1960,199 @@ export declare type LoadingOptions = AcceptRefs<{
2336
1960
  progress?: number;
2337
1961
  }>;
2338
1962
 
1963
+ export declare const Markdown: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
1964
+
2339
1965
  export declare type MeasureDirectiveListener = (size: ElementSize) => unknown;
2340
1966
 
2341
- export declare function mixedProp<T>(type?: PropType<T>): OptionalProp<T | null>;
1967
+ export declare const MOBILE_BREAKPOINT = 768;
2342
1968
 
2343
- export declare function mixedProp<T>(type: PropType<T>, defaultValue: T): OptionalProp<T>;
1969
+ export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1970
+ props: __VLS_PrettifyLocal_3<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
1971
+ dismissable?: boolean;
1972
+ wrapperClass?: HTMLAttributes["class"];
1973
+ class?: HTMLAttributes["class"];
1974
+ }) & Partial<{}>> & PublicProps;
1975
+ expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose<T>>>): void;
1976
+ attrs: any;
1977
+ slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
1978
+ emit: {};
1979
+ }>) => VNode & {
1980
+ __ctx?: Awaited<typeof __VLS_setup>;
1981
+ };
2344
1982
 
2345
- export declare const MOBILE_BREAKPOINT = 768;
1983
+ export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
2346
1984
 
2347
- declare interface Modal<T = unknown> {
2348
- id: string;
2349
- properties: Record<string, unknown>;
2350
- component: Component;
2351
- beforeClose: Promise<T | undefined>;
2352
- afterClose: Promise<T | undefined>;
2353
- }
1985
+ export declare const ModalContext: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2354
1986
 
2355
- declare interface ModalComponent<Properties extends Record<string, unknown> = Record<string, unknown>, Result = unknown> {
1987
+ export declare interface ModalExpose<Result = void> {
1988
+ close(result?: Result): Promise<void>;
1989
+ $content: ModalContentInstance;
2356
1990
  }
2357
1991
 
2358
- export declare function modalExpose($modal: Ref<IAGHeadlessModal | undefined>): IModal;
1992
+ export declare type ModalExposeResult<T> = T extends {
1993
+ close(result?: infer Result): Promise<void>;
1994
+ } ? Result : unknown;
2359
1995
 
2360
- declare type ModalProperties<TComponent> = TComponent extends ModalComponent<infer TProperties, unknown> ? TProperties : never;
1996
+ export declare interface ModalProps {
1997
+ persistent?: boolean;
1998
+ title?: string;
1999
+ titleHidden?: boolean;
2000
+ description?: string;
2001
+ descriptionHidden?: boolean;
2002
+ }
2361
2003
 
2362
- export declare function modalProps(): ComponentPropDefinitions<IModalProps>;
2004
+ export declare type ModalResult<T> = ModalExposeResult<ComponentExposed<T>>;
2363
2005
 
2364
- declare type ModalResult<TComponent> = TComponent extends ModalComponent<Record<string, unknown>, infer TResult> ? TResult : never;
2006
+ export declare interface ModalSlots<Result = void> {
2007
+ default(props: {
2008
+ close(result?: Result): Promise<void>;
2009
+ }): unknown;
2010
+ }
2365
2011
 
2366
2012
  export declare function numberInput(defaultValue?: number, options?: {
2367
2013
  rules?: string;
2368
- }): FormFieldDefinition<typeof FormFieldTypes.Number>;
2369
-
2370
- export declare function numberProp(): OptionalProp<number | null>;
2014
+ }): FormFieldDefinition<'number'>;
2371
2015
 
2372
- export declare function numberProp(defaultValue: number): OptionalProp<number>;
2373
-
2374
- export declare function objectProp<T = Object>(): OptionalProp<T | null>;
2375
-
2376
- export declare function objectProp<T>(defaultValue: () => T): OptionalProp<T>;
2016
+ export declare function objectInput<T extends object>(defaultValue?: T, options?: {
2017
+ rules?: string;
2018
+ }): FormFieldDefinition<'object', string, T>;
2377
2019
 
2378
2020
  export declare function onCleanMounted(operation: () => Function): void;
2379
2021
 
2380
2022
  export declare function onFormFocus(input: {
2381
- name: string | null;
2023
+ name: Nullable<string>;
2382
2024
  }, listener: () => unknown): void;
2383
2025
 
2384
- export declare type OptionalProp<T> = BaseProp<T> & {
2385
- default: T | (() => T) | null;
2386
- };
2387
-
2388
2026
  export declare function persistent<T extends object>(name: string, defaults: T): UnwrapNestedRefs<T>;
2389
2027
 
2028
+ export declare type PickComponentProps<TValues, TDefinitions> = {
2029
+ [K in keyof TValues]: K extends keyof TDefinitions ? TValues[K] : never;
2030
+ };
2031
+
2390
2032
  declare interface Plugin_2 {
2391
2033
  name?: string;
2392
2034
  install(app: App_2, options: AerogelOptions): void | Promise<void>;
2393
2035
  }
2394
2036
  export { Plugin_2 as Plugin }
2395
2037
 
2396
- export declare const promptModalProps: {
2397
- title: OptionalProp<string | null>;
2398
- message: RequiredProp<string>;
2399
- label: OptionalProp<string | null>;
2400
- defaultValue: OptionalProp<string | null>;
2401
- placeholder: OptionalProp<string | null>;
2402
- acceptText: OptionalProp<string | null>;
2403
- acceptColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
2404
- cancelText: OptionalProp<string | null>;
2405
- cancelColor: OptionalProp<"clear" | "primary" | "secondary" | "danger">;
2406
- };
2038
+ export declare const ProgressBar: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
2039
+
2040
+ export declare const PromptModal: DefineComponent<PromptModalProps, {
2041
+ close(result?: string | undefined): Promise<void>;
2042
+ $content: ModalContentInstance;
2043
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2044
+
2045
+ export declare interface PromptModalExpose extends ModalExpose<string> {
2046
+ }
2047
+
2048
+ export declare interface PromptModalProps {
2049
+ title?: string;
2050
+ message: string;
2051
+ label?: string;
2052
+ defaultValue?: string;
2053
+ placeholder?: string;
2054
+ acceptText?: string;
2055
+ acceptVariant?: ButtonVariant;
2056
+ cancelText?: string;
2057
+ cancelVariant?: ButtonVariant;
2058
+ }
2407
2059
 
2408
2060
  export declare type PromptOptions = AcceptRefs<{
2409
2061
  label?: string;
2410
2062
  defaultValue?: string;
2411
2063
  placeholder?: string;
2412
2064
  acceptText?: string;
2413
- acceptColor?: Color;
2065
+ acceptVariant?: ButtonVariant;
2414
2066
  cancelText?: string;
2415
- cancelColor?: Color;
2067
+ cancelVariant?: ButtonVariant;
2416
2068
  trim?: boolean;
2417
2069
  }>;
2418
2070
 
2071
+ export declare type RefsObject<T> = {
2072
+ [K in keyof T]: Ref<T[K]> | T[K];
2073
+ };
2074
+
2419
2075
  export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
2420
2076
 
2421
2077
  export declare function registerErrorHandler(handler: ErrorHandler_2): void;
2422
2078
 
2423
- export declare function removeInteractiveClasses(classes: string): string;
2424
-
2425
2079
  export declare function renderMarkdown(markdown: string): string;
2426
2080
 
2081
+ export declare function renderVNode(node: VNode | string): string;
2082
+
2427
2083
  export declare type Replace<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>> = {
2428
2084
  [K in keyof TOriginal]: TReplacements extends Record<K, infer Replacement> ? Replacement : TOriginal[K];
2429
2085
  };
2430
2086
 
2431
2087
  export declare function replaceExisting<TOriginal extends Record<string, unknown>, TReplacements extends Partial<Record<keyof TOriginal, unknown>>>(original: TOriginal, replacements: TReplacements): Replace<TOriginal, TReplacements>;
2432
2088
 
2433
- export declare function requiredArrayProp<T>(): RequiredProp<T[]>;
2434
-
2435
- export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<typeof FormFieldTypes.Boolean, 'required'>;
2089
+ export declare function requiredBooleanInput(defaultValue?: boolean): FormFieldDefinition<'boolean', 'required'>;
2436
2090
 
2437
- export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<typeof FormFieldTypes.Date>;
2091
+ export declare function requiredDateInput(defaultValue?: Date): FormFieldDefinition<'date', 'required'>;
2438
2092
 
2439
- export declare function requiredEnumProp<Enum extends Record<string, unknown>>(enumeration: Enum): RequiredProp<Enum[keyof Enum]>;
2093
+ export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<'number', 'required'>;
2440
2094
 
2441
- export declare function requiredMixedProp<T>(type?: PropType<T>): RequiredProp<T>;
2095
+ export declare function requiredObjectInput<T extends object>(defaultValue?: T): FormFieldDefinition<'object', 'required', T>;
2442
2096
 
2443
- export declare function requiredNumberInput(defaultValue?: number): FormFieldDefinition<typeof FormFieldTypes.Number, 'required'>;
2097
+ export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<'string', 'required'>;
2444
2098
 
2445
- export declare function requiredNumberProp(): RequiredProp<number>;
2099
+ export declare function resetPiniaStore(): Pinia;
2446
2100
 
2447
- export declare function requiredObjectProp<T = Object>(): RequiredProp<T>;
2101
+ export declare function safeHtml(html: string): string;
2448
2102
 
2449
- export declare type RequiredProp<T> = BaseProp<T> & {
2450
- required: true;
2103
+ export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2104
+ props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
2105
+ readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
2106
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
2107
+ expose(exposed: ShallowUnwrapRef< {}>): void;
2108
+ attrs: any;
2109
+ slots: {
2110
+ default?(_: {}): any;
2111
+ };
2112
+ emit: (evt: "update:modelValue", value: T) => void;
2113
+ }>) => VNode & {
2114
+ __ctx?: Awaited<typeof __VLS_setup>;
2451
2115
  };
2452
2116
 
2453
- export declare function requiredStringInput(defaultValue?: string): FormFieldDefinition<typeof FormFieldTypes.String, 'required'>;
2454
-
2455
- export declare function requiredStringProp(): RequiredProp<string>;
2117
+ export declare interface SelectEmits<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputEmits<T> {
2118
+ }
2456
2119
 
2457
- export declare function resetPiniaStore(): Pinia;
2120
+ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputExpose<T> {
2121
+ options: ComputedRef<Nullable<SelectOptionData[]>>;
2122
+ selectedOption: ComputedRef<Nullable<SelectOptionData>>;
2123
+ placeholder: ComputedRef<string>;
2124
+ labelClass?: HTMLAttributes['class'];
2125
+ optionsClass?: HTMLAttributes['class'];
2126
+ align?: SelectContentProps['align'];
2127
+ side?: SelectContentProps['side'];
2128
+ }
2458
2129
 
2459
- export declare function safeHtml(html: string): string;
2130
+ export declare const SelectLabel: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
2460
2131
 
2461
- export declare const selectEmits: readonly ["update:modelValue"];
2132
+ export declare const SelectOption: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
2462
2133
 
2463
- export declare const selectProps: {
2464
- name: OptionalProp<string | null>;
2465
- label: OptionalProp<string | null>;
2466
- options: RequiredProp<FormFieldValue[]>;
2467
- noSelectionText: OptionalProp<string | null>;
2468
- optionsText: OptionalProp<string | ((option: FormFieldValue) => string) | null>;
2134
+ export declare type SelectOptionData = {
2135
+ key: string;
2136
+ label: string;
2137
+ value: AcceptableValue;
2469
2138
  };
2470
2139
 
2140
+ export declare const SelectOptions: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
2141
+
2142
+ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
2143
+ as?: AsTag | Component;
2144
+ options?: T[];
2145
+ placeholder?: string;
2146
+ renderOption?: (option: T) => string;
2147
+ compareOptions?: (a: T, b: T) => boolean;
2148
+ labelClass?: HTMLAttributes['class'];
2149
+ optionsClass?: HTMLAttributes['class'];
2150
+ align?: SelectContentProps['align'];
2151
+ side?: SelectContentProps['side'];
2152
+ }
2153
+
2154
+ export declare const SelectTrigger: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2155
+
2471
2156
  export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
2472
2157
  static persist: string[];
2473
2158
  protected _name: string;
@@ -2530,39 +2215,9 @@ export declare type ServiceState = Record<string, any>;
2530
2215
 
2531
2216
  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>>>;
2532
2217
 
2533
- export declare interface ShowSnackbarOptions {
2534
- component?: Component;
2535
- color?: SnackbarColor;
2536
- actions?: SnackbarAction[];
2537
- }
2538
-
2539
- declare interface Snackbar {
2540
- id: string;
2541
- component: Component;
2542
- properties: Record<string, unknown>;
2543
- }
2544
-
2545
- export declare interface SnackbarAction {
2546
- text: string;
2547
- dismiss?: boolean;
2548
- handler?(): unknown;
2549
- }
2550
-
2551
- export declare type SnackbarColor = (typeof SnackbarColors)[keyof typeof SnackbarColors];
2218
+ export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
2552
2219
 
2553
- export declare const SnackbarColors: Omit<{
2554
- readonly Primary: "primary";
2555
- readonly Secondary: "secondary";
2556
- readonly Danger: "danger";
2557
- readonly Clear: "clear";
2558
- }, "Primary" | "Clear">;
2559
-
2560
- export declare const snackbarProps: {
2561
- id: RequiredProp<string>;
2562
- message: RequiredProp<string>;
2563
- actions: OptionalProp<SnackbarAction[]>;
2564
- color: OptionalProp<"secondary" | "danger">;
2565
- };
2220
+ export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
2566
2221
 
2567
2222
  export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
2568
2223
  [K in keyof TState]?: (this: TService, value: TState[K], oldValue: TState[K]) => unknown;
@@ -2577,13 +2232,34 @@ declare class StorageService extends Service {
2577
2232
 
2578
2233
  export declare function stringInput(defaultValue?: string, options?: {
2579
2234
  rules?: string;
2580
- }): FormFieldDefinition<typeof FormFieldTypes.String>;
2235
+ }): FormFieldDefinition<'string'>;
2581
2236
 
2582
- export declare function stringProp(): OptionalProp<string | null>;
2237
+ export declare type SubmitFormListener = () => unknown;
2583
2238
 
2584
- export declare function stringProp(defaultValue: string): OptionalProp<string>;
2239
+ export declare const Toast: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2585
2240
 
2586
- export declare type SubmitFormListener = () => unknown;
2241
+ export declare interface ToastAction {
2242
+ label: string;
2243
+ dismiss?: boolean;
2244
+ click?(): unknown;
2245
+ }
2246
+
2247
+ export declare interface ToastExpose {
2248
+ }
2249
+
2250
+ export declare interface ToastOptions {
2251
+ component?: Component;
2252
+ variant?: ToastVariant;
2253
+ actions?: ToastAction[];
2254
+ }
2255
+
2256
+ export declare interface ToastProps {
2257
+ message?: string;
2258
+ actions?: ToastAction[];
2259
+ variant?: ToastVariant;
2260
+ }
2261
+
2262
+ export declare type ToastVariant = 'secondary' | 'danger';
2587
2263
 
2588
2264
  export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
2589
2265
 
@@ -2591,37 +2267,56 @@ export declare const translateWithDefault: (key: string, defaultMessage: string,
2591
2267
 
2592
2268
  export declare const UI: Facade<UIService>;
2593
2269
 
2594
- export declare type UIComponent = ObjectValues<typeof UIComponents>;
2595
-
2596
- export declare const UIComponents: {
2597
- readonly AlertModal: "alert-modal";
2598
- readonly ConfirmModal: "confirm-modal";
2599
- readonly ErrorReportModal: "error-report-modal";
2600
- readonly LoadingModal: "loading-modal";
2601
- readonly PromptModal: "prompt-modal";
2602
- readonly Snackbar: "snackbar";
2603
- readonly StartupCrash: "startup-crash";
2270
+ export declare type UIComponent<Props = {}, Exposed = {}> = {
2271
+ new (...args: ClosureArgs): Exposed & {
2272
+ $props: Props;
2273
+ };
2604
2274
  };
2605
2275
 
2276
+ export declare interface UIComponents {
2277
+ 'alert-modal': UIComponent<AlertModalProps, AlertModalExpose>;
2278
+ 'confirm-modal': UIComponent<ConfirmModalProps, ConfirmModalExpose>;
2279
+ 'error-report-modal': UIComponent<ErrorReportModalProps, ErrorReportModalExpose>;
2280
+ 'loading-modal': UIComponent<LoadingModalProps, LoadingModalExpose>;
2281
+ 'prompt-modal': UIComponent<PromptModalProps, PromptModalExpose>;
2282
+ 'router-link': UIComponent;
2283
+ 'startup-crash': UIComponent;
2284
+ toast: UIComponent<ToastProps, ToastExpose>;
2285
+ }
2286
+
2287
+ declare interface UIModal<T = unknown> {
2288
+ id: string;
2289
+ properties: Record<string, unknown>;
2290
+ component: Component;
2291
+ closing: boolean;
2292
+ beforeClose: Promise<T | undefined>;
2293
+ afterClose: Promise<T | undefined>;
2294
+ }
2295
+
2296
+ export declare interface UIModalContext {
2297
+ modal: UIModal;
2298
+ childIndex?: number;
2299
+ }
2300
+
2606
2301
  export declare class UIService extends _default_4 {
2607
2302
  private modalCallbacks;
2608
2303
  private components;
2609
- requireComponent(name: UIComponent): Component;
2304
+ registerComponent<T extends keyof UIComponents>(name: T, component: UIComponents[T]): void;
2305
+ resolveComponent<T extends keyof UIComponents>(name: T): UIComponents[T] | null;
2306
+ requireComponent<T extends keyof UIComponents>(name: T): UIComponents[T];
2610
2307
  alert(message: string): void;
2611
2308
  alert(title: string, message: string): void;
2612
2309
  confirm(message: string, options?: ConfirmOptions): Promise<boolean>;
2613
2310
  confirm(title: string, message: string, options?: ConfirmOptions): Promise<boolean>;
2614
- confirm<T extends ConfirmCheckboxes>(message: string, options?: ConfirmOptionsWithCheckboxes<T>): Promise<[boolean, Record<keyof T, boolean>]>;
2615
- confirm<T extends ConfirmCheckboxes>(title: string, message: string, options?: ConfirmOptionsWithCheckboxes<T>): Promise<[boolean, Record<keyof T, boolean>]>;
2311
+ confirm<T extends ConfirmModalCheckboxes>(message: string, options?: ConfirmOptionsWithCheckboxes<T>): Promise<[boolean, Record<keyof T, boolean>]>;
2312
+ confirm<T extends ConfirmModalCheckboxes>(title: string, message: string, options?: ConfirmOptionsWithCheckboxes<T>): Promise<[boolean, Record<keyof T, boolean>]>;
2616
2313
  prompt(message: string, options?: PromptOptions): Promise<string | null>;
2617
2314
  prompt(title: string, message: string, options?: PromptOptions): Promise<string | null>;
2618
2315
  loading<T>(operation: Promise<T> | (() => T)): Promise<T>;
2619
2316
  loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
2620
2317
  loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
2621
- showSnackbar(message: string, options?: ShowSnackbarOptions): void;
2622
- hideSnackbar(id: string): void;
2623
- registerComponent(name: UIComponent, component: Component): void;
2624
- openModal<TModalComponent extends ModalComponent>(component: TModalComponent, properties?: ModalProperties<TModalComponent>): Promise<Modal<ModalResult<TModalComponent>>>;
2318
+ toast(message: string, options?: ToastOptions): void;
2319
+ openModal<T extends Component>(...args: {} extends ComponentProps<T> ? [component: T, props?: AcceptRefs<ComponentProps<T>>] : [component: T, props: AcceptRefs<ComponentProps<T>>]): Promise<UIModal<ModalResult<T>>>;
2625
2320
  closeModal(id: string, result?: unknown): Promise<void>;
2626
2321
  closeAllModals(): Promise<void>;
2627
2322
  protected boot(): Promise<void>;
@@ -2633,22 +2328,35 @@ export declare class UIService extends _default_4 {
2633
2328
 
2634
2329
  export declare type UIServices = typeof services_3;
2635
2330
 
2636
- export declare type UnknownEvent<T> = T extends keyof EventsPayload ? never : T;
2331
+ declare interface UIToast {
2332
+ id: string;
2333
+ component: Component;
2334
+ properties: Record<string, unknown>;
2335
+ }
2637
2336
 
2638
2337
  export declare type Unref<T> = {
2639
2338
  [K in keyof T]: T[K] extends MaybeRef<infer Value> ? Value : T[K];
2640
2339
  };
2641
2340
 
2642
- export declare function useAlertModalProps(): typeof alertModalProps;
2643
-
2644
- export declare function useConfirmModal(props: ExtractPropTypes<typeof confirmModalProps>): {
2341
+ export declare function useConfirmModal(props: ConfirmModalProps): {
2342
+ form: FormController< {
2343
+ [x: string]: FormFieldDefinition<"boolean", string, object> | {
2344
+ type: "boolean";
2345
+ default: boolean | undefined;
2346
+ required: string | undefined;
2347
+ };
2348
+ }> & FormData_2< {
2349
+ [x: string]: FormFieldDefinition<"boolean", string, object> | {
2350
+ type: "boolean";
2351
+ default: boolean | undefined;
2352
+ required: string | undefined;
2353
+ };
2354
+ }>;
2645
2355
  renderedAcceptText: ComputedRef<string>;
2646
2356
  renderedCancelText: ComputedRef<string>;
2647
2357
  };
2648
2358
 
2649
- export declare function useConfirmModalProps(): typeof confirmModalProps;
2650
-
2651
- export declare function useErrorReportModal(props: ExtractPropTypes<typeof errorReportModalProps>): {
2359
+ export declare function useErrorReportModal(props: ErrorReportModalProps): {
2652
2360
  activeReportIndex: Ref<number, number>;
2653
2361
  details: ComputedRef<string>;
2654
2362
  nextReportText: string;
@@ -2656,52 +2364,46 @@ export declare function useErrorReportModal(props: ExtractPropTypes<typeof error
2656
2364
  report: ComputedRef<ErrorReport>;
2657
2365
  };
2658
2366
 
2659
- export declare function useErrorReportModalProps(): typeof errorReportModalProps;
2660
-
2661
2367
  export declare function useEvent<Event extends EventWithoutPayload>(event: Event, listener: () => unknown): void;
2662
2368
 
2663
2369
  export declare function useEvent<Event extends EventWithPayload>(event: Event, listener: EventListener_2<EventsPayload[Event]>): void;
2664
2370
 
2665
- export declare function useEvent<Payload>(event: string, listener: (payload: Payload) => unknown): void;
2666
-
2667
- export declare function useEvent<Event extends string>(event: UnknownEvent<Event>, listener: EventListener_2): void;
2668
-
2669
- export declare function useForm<const T extends FormFieldDefinitions>(fields: T): Form<T> & FormData_2<T>;
2371
+ export declare function useForm<const T extends FormFieldDefinitions>(fields: T): FormController<T> & FormData_2<T>;
2670
2372
 
2671
- export declare function useInputAttrs(): [ComputedRef<{}>, ComputedRef<unknown>];
2373
+ export declare function useInputAttrs(): [ComputedRef<{}>, ComputedRef<ClassValue>];
2672
2374
 
2673
- export declare function useInputEmits(): Writable<typeof inputEmits>;
2674
-
2675
- export declare function useInputProps(): typeof inputProps;
2676
-
2677
- export declare function useLoadingModal(props: ExtractPropTypes<typeof loadingModalProps>): {
2375
+ export declare function useLoadingModal(props: LoadingModalProps): {
2376
+ renderedTitle: ComputedRef<string>;
2678
2377
  renderedMessage: ComputedRef<string>;
2378
+ titleHidden: ComputedRef<boolean>;
2679
2379
  showProgress: ComputedRef<boolean>;
2680
2380
  };
2681
2381
 
2682
- export declare function useLoadingModalProps(): typeof loadingModalProps;
2683
-
2684
- export declare function usePromptModal(props: ExtractPropTypes<typeof promptModalProps>): {
2382
+ export declare function usePromptModal(props: PromptModalProps): {
2383
+ form: FormController< {
2384
+ readonly draft: FormFieldDefinition<"string", "required", object>;
2385
+ }> & FormData_2< {
2386
+ readonly draft: FormFieldDefinition<"string", "required", object>;
2387
+ }>;
2388
+ renderedTitle: ComputedRef<string>;
2389
+ renderedMessage: ComputedRef<string | null>;
2685
2390
  renderedAcceptText: ComputedRef<string>;
2686
2391
  renderedCancelText: ComputedRef<string>;
2687
2392
  };
2688
2393
 
2689
- export declare function usePromptModalProps(): typeof promptModalProps;
2690
-
2691
- export declare function useSelectEmits(): Writable<typeof selectEmits>;
2692
-
2693
- export declare function useSelectProps(): typeof selectProps;
2694
-
2695
- export declare function useSnackbar(props: ExtractPropTypes<typeof snackbarProps>): {
2696
- activate: (action: SnackbarAction) => void;
2697
- };
2698
-
2699
- export declare function useSnackbarProps(): typeof snackbarProps;
2700
-
2701
2394
  export declare function validate(value: unknown, rule: string): string[];
2702
2395
 
2703
2396
  export declare const validators: Record<string, FormFieldValidator>;
2704
2397
 
2398
+ export declare type Variants<T extends Record<string, string | boolean>> = Required<{
2399
+ [K in keyof T]: Exclude<T[K], undefined> extends string ? {
2400
+ [key in Exclude<T[K], undefined>]: string | null;
2401
+ } : {
2402
+ true: string | null;
2403
+ false: string | null;
2404
+ };
2405
+ }>;
2406
+
2705
2407
  export { }
2706
2408
 
2707
2409
 
@@ -2756,6 +2458,7 @@ declare module 'vue' {
2756
2458
  declare module '@aerogel/core' {
2757
2459
  interface AerogelOptions {
2758
2460
  services?: Record<string, Service>;
2461
+ settings?: AppSetting[];
2759
2462
  }
2760
2463
  }
2761
2464
 
@@ -2773,7 +2476,7 @@ declare global {
2773
2476
 
2774
2477
  declare module '@aerogel/core' {
2775
2478
  interface AerogelOptions {
2776
- components?: Partial<Record<UIComponent, Component>>;
2479
+ components?: Partial<Partial<UIComponents>>;
2777
2480
  }
2778
2481
  }
2779
2482
 
@@ -2784,16 +2487,6 @@ declare module '@aerogel/core' {
2784
2487
  }
2785
2488
 
2786
2489
 
2787
- declare module '@aerogel/core' {
2788
- interface EventsPayload {
2789
- error: {
2790
- error: ErrorSource;
2791
- message?: string;
2792
- };
2793
- }
2794
- }
2795
-
2796
-
2797
2490
  declare global {
2798
2491
  var __aerogelEvents__: AerogelGlobalEvents | undefined;
2799
2492
  }
@@ -2801,7 +2494,10 @@ declare global {
2801
2494
 
2802
2495
  declare module '@aerogel/core' {
2803
2496
  interface EventsPayload {
2804
- 'purge-storage': void;
2497
+ error: {
2498
+ error: ErrorSource;
2499
+ message?: string;
2500
+ };
2805
2501
  }
2806
2502
  }
2807
2503
 
@@ -2812,21 +2508,20 @@ declare module '@aerogel/core' {
2812
2508
  id: string;
2813
2509
  result?: unknown;
2814
2510
  };
2815
- 'hide-modal': {
2816
- id: string;
2817
- };
2818
- 'hide-overlays-backdrop': void;
2819
- 'modal-closed': {
2820
- modal: Modal;
2821
- result?: unknown;
2822
- };
2823
2511
  'modal-will-close': {
2824
- modal: Modal;
2512
+ modal: UIModal;
2825
2513
  result?: unknown;
2826
2514
  };
2827
- 'show-modal': {
2828
- id: string;
2515
+ 'modal-has-closed': {
2516
+ modal: UIModal;
2517
+ result?: unknown;
2829
2518
  };
2830
- 'show-overlays-backdrop': void;
2519
+ }
2520
+ }
2521
+
2522
+
2523
+ declare module '@aerogel/core' {
2524
+ interface EventsPayload {
2525
+ 'purge-storage': void;
2831
2526
  }
2832
2527
  }