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

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