@aerogel/core 0.0.0-next.c29ffcd25bffdbed37ecce3aac1ba14cde3e9d39 → 0.0.0-next.c33ad773d3eb977461630ff22012d99eeedf46cb

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