@aerogel/core 0.1.1-next.d86959f8ee7dcf2194447eb424c1095912a5e5f8 → 0.1.1-next.eccf11f4e757c5de2ef17ea40a8ff8a74a81bf97
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.
- package/dist/aerogel-core.d.ts +498 -297
- package/dist/aerogel-core.js +1720 -1401
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +4 -2
- package/src/components/AppLayout.vue +1 -1
- package/src/components/AppOverlays.vue +3 -2
- package/src/components/contracts/AlertModal.ts +1 -1
- package/src/components/contracts/Button.ts +1 -1
- package/src/components/contracts/Combobox.ts +5 -0
- package/src/components/contracts/ConfirmModal.ts +5 -2
- package/src/components/contracts/Modal.ts +8 -3
- package/src/components/contracts/PromptModal.ts +6 -2
- package/src/components/contracts/Select.ts +98 -4
- package/src/components/contracts/Toast.ts +1 -1
- package/src/components/contracts/index.ts +1 -0
- package/src/components/headless/HeadlessInputInput.vue +13 -5
- package/src/components/headless/HeadlessModal.vue +6 -34
- package/src/components/headless/HeadlessModalContent.vue +5 -12
- package/src/components/headless/HeadlessSelect.vue +10 -91
- package/src/components/headless/HeadlessSelectOption.vue +1 -5
- package/src/components/index.ts +1 -1
- package/src/components/ui/AdvancedOptions.vue +4 -13
- package/src/components/ui/Button.vue +1 -0
- package/src/components/ui/Combobox.vue +66 -0
- package/src/components/ui/ComboboxLabel.vue +29 -0
- package/src/components/ui/ComboboxOption.vue +46 -0
- package/src/components/ui/ComboboxOptions.vue +71 -0
- package/src/components/ui/ComboboxTrigger.vue +62 -0
- package/src/components/ui/ConfirmModal.vue +7 -2
- package/src/components/ui/Details.vue +33 -0
- package/src/components/ui/Form.vue +1 -1
- package/src/components/ui/Input.vue +12 -4
- package/src/components/ui/LoadingModal.vue +1 -2
- package/src/components/ui/Modal.vue +53 -33
- package/src/components/ui/ProgressBar.vue +16 -2
- package/src/components/ui/PromptModal.vue +7 -2
- package/src/components/ui/SettingsModal.vue +1 -1
- package/src/components/ui/Toast.vue +1 -0
- package/src/components/ui/index.ts +6 -1
- package/src/components/vue/Provide.vue +11 -0
- package/src/components/vue/index.ts +1 -0
- package/src/errors/Errors.ts +4 -0
- package/src/forms/FormController.ts +4 -0
- package/src/index.css +10 -0
- package/src/services/App.state.ts +1 -0
- package/src/services/App.ts +4 -0
- package/src/services/index.ts +5 -0
- package/src/ui/UI.state.ts +0 -11
- package/src/ui/UI.ts +42 -125
- package/src/ui/index.ts +1 -0
- package/src/ui/modals.ts +36 -0
- package/src/utils/composition/reactiveSet.test.ts +32 -0
- package/src/utils/composition/reactiveSet.ts +53 -0
- package/src/utils/index.ts +2 -0
- package/src/utils/time.ts +2 -0
- package/src/components/AppModals.vue +0 -14
- package/src/components/ui/ModalContext.vue +0 -31
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -3,20 +3,22 @@ import { AllowedComponentProps } from 'vue';
|
|
|
3
3
|
import { App as App_2 } from 'vue';
|
|
4
4
|
import { AsTag } from 'reka-ui';
|
|
5
5
|
import { ClassValue } from 'clsx';
|
|
6
|
-
import {
|
|
6
|
+
import { closeModal } from '@noeldemartin/vue-modals';
|
|
7
|
+
import { ComboboxGroupProps } from 'reka-ui';
|
|
8
|
+
import { ComboboxItemProps } from 'reka-ui';
|
|
7
9
|
import { Component } from 'vue';
|
|
8
10
|
import { ComponentCustomProperties } from 'vue';
|
|
9
11
|
import { ComponentCustomProps } from 'vue';
|
|
10
|
-
import { ComponentExposed } from 'vue-component-type-helpers';
|
|
11
12
|
import { ComponentInternalInstance } from 'vue';
|
|
12
13
|
import { ComponentOptionsBase } from 'vue';
|
|
13
14
|
import { ComponentOptionsMixin } from 'vue';
|
|
14
|
-
import { ComponentProps } from 'vue-component-type-helpers';
|
|
15
15
|
import { ComponentProvideOptions } from 'vue';
|
|
16
16
|
import { ComponentPublicInstance } from 'vue';
|
|
17
17
|
import { ComputedGetter } from 'vue';
|
|
18
|
+
import { ComputedOptions } from 'vue';
|
|
18
19
|
import { ComputedRef } from 'vue';
|
|
19
20
|
import { Constructor } from '@noeldemartin/utils';
|
|
21
|
+
import { createModal } from '@noeldemartin/vue-modals';
|
|
20
22
|
import { cva } from 'class-variance-authority';
|
|
21
23
|
import { DebuggerEvent } from 'vue';
|
|
22
24
|
import { DeepReadonly } from 'vue';
|
|
@@ -29,24 +31,35 @@ import { DialogOverlayProps } from 'reka-ui';
|
|
|
29
31
|
import { DialogTitleProps } from 'reka-ui';
|
|
30
32
|
import { Directive } from 'vue';
|
|
31
33
|
import { DropdownMenuContentProps } from 'reka-ui';
|
|
34
|
+
import { EmitFn } from 'vue';
|
|
32
35
|
import { Facade } from '@noeldemartin/utils';
|
|
36
|
+
import { FocusOutsideEvent } from 'reka-ui';
|
|
33
37
|
import { GetClosureArgs } from '@noeldemartin/utils';
|
|
34
38
|
import { GetClosureResult } from '@noeldemartin/utils';
|
|
39
|
+
import { GetModalProps } from '@noeldemartin/vue-modals';
|
|
40
|
+
import { GetModalResponse } from '@noeldemartin/vue-modals';
|
|
35
41
|
import { _GettersTree } from 'pinia';
|
|
36
42
|
import { GlobalComponents } from 'vue';
|
|
37
43
|
import { GlobalDirectives } from 'vue';
|
|
38
44
|
import { HTMLAttributes } from 'vue';
|
|
39
45
|
import { InjectionKey } from 'vue';
|
|
46
|
+
import { injectModal } from '@noeldemartin/vue-modals';
|
|
40
47
|
import { JSError } from '@noeldemartin/utils';
|
|
41
48
|
import { LabelProps } from 'reka-ui';
|
|
42
49
|
import { Listeners } from '@noeldemartin/utils';
|
|
43
50
|
import { ListenersManager } from '@noeldemartin/utils';
|
|
44
51
|
import { MagicObject } from '@noeldemartin/utils';
|
|
45
52
|
import { MaybeRef } from 'vue';
|
|
53
|
+
import { MethodOptions } from 'vue';
|
|
54
|
+
import { ModalComponent } from '@noeldemartin/vue-modals';
|
|
55
|
+
import { ModalController } from '@noeldemartin/vue-modals';
|
|
56
|
+
import { modals } from '@noeldemartin/vue-modals';
|
|
57
|
+
import { ModalsPortal } from '@noeldemartin/vue-modals';
|
|
46
58
|
import { nextTick } from 'vue';
|
|
47
59
|
import { Nullable } from '@noeldemartin/utils';
|
|
48
60
|
import { OnCleanup } from '@vue/reactivity';
|
|
49
61
|
import { Pinia } from 'pinia';
|
|
62
|
+
import { PointerDownOutsideEvent } from 'reka-ui';
|
|
50
63
|
import { PrimitiveProps } from 'reka-ui';
|
|
51
64
|
import { PromisedValue } from '@noeldemartin/utils';
|
|
52
65
|
import { PropType } from 'vue';
|
|
@@ -55,6 +68,7 @@ import { Ref } from 'vue';
|
|
|
55
68
|
import { SelectContentProps } from 'reka-ui';
|
|
56
69
|
import { SelectItemProps } from 'reka-ui';
|
|
57
70
|
import { ShallowUnwrapRef } from 'vue';
|
|
71
|
+
import { showModal } from '@noeldemartin/vue-modals';
|
|
58
72
|
import { Slot } from 'vue';
|
|
59
73
|
import { StateTree } from 'pinia';
|
|
60
74
|
import { Store } from 'pinia';
|
|
@@ -169,49 +183,53 @@ default?(_: {}): any;
|
|
|
169
183
|
}) | null;
|
|
170
184
|
}, any>;
|
|
171
185
|
|
|
172
|
-
declare const __VLS_component_19: DefineComponent<
|
|
186
|
+
declare const __VLS_component_19: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
187
|
+
|
|
188
|
+
declare const __VLS_component_2: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
189
|
+
|
|
190
|
+
declare const __VLS_component_20: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
191
|
+
select: () => any;
|
|
192
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
193
|
+
onSelect?: (() => any) | undefined;
|
|
194
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
195
|
+
|
|
196
|
+
declare const __VLS_component_21: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
|
|
197
|
+
|
|
198
|
+
declare const __VLS_component_22: DefineComponent<DropdownMenuProps, {
|
|
173
199
|
align: "start" | "center" | "end" | undefined;
|
|
174
200
|
side: "top" | "right" | "bottom" | "left" | undefined;
|
|
175
201
|
options: ComputedRef<DropdownMenuOptionData[] | undefined>;
|
|
176
202
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<DropdownMenuProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
177
203
|
|
|
178
|
-
declare const
|
|
179
|
-
|
|
180
|
-
declare const __VLS_component_20: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
204
|
+
declare const __VLS_component_23: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
181
205
|
select: () => any;
|
|
182
|
-
}, string, PublicProps, Readonly<
|
|
206
|
+
}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
|
|
183
207
|
onSelect?: (() => any) | undefined;
|
|
184
208
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
185
209
|
|
|
186
|
-
declare const
|
|
210
|
+
declare const __VLS_component_24: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
187
211
|
|
|
188
|
-
declare const
|
|
212
|
+
declare const __VLS_component_25: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
189
213
|
update: (value: string | number) => any;
|
|
190
214
|
save: () => any;
|
|
191
|
-
}, string, PublicProps, Readonly<
|
|
215
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
192
216
|
onUpdate?: ((value: string | number) => any) | undefined;
|
|
193
217
|
onSave?: (() => any) | undefined;
|
|
194
218
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
195
219
|
$inputRef: HTMLInputElement;
|
|
196
220
|
}, HTMLDivElement>;
|
|
197
221
|
|
|
198
|
-
declare const
|
|
222
|
+
declare const __VLS_component_26: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
199
223
|
|
|
200
|
-
declare const
|
|
224
|
+
declare const __VLS_component_27: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
201
225
|
submit: () => any;
|
|
202
|
-
}, string, PublicProps, Readonly<
|
|
226
|
+
}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
|
|
203
227
|
onSubmit?: (() => any) | undefined;
|
|
204
228
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFormElement>;
|
|
205
229
|
|
|
206
|
-
declare const
|
|
207
|
-
|
|
208
|
-
declare const __VLS_component_26: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
209
|
-
|
|
210
|
-
declare const __VLS_component_27: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
230
|
+
declare const __VLS_component_28: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
211
231
|
|
|
212
|
-
declare const
|
|
213
|
-
|
|
214
|
-
declare const __VLS_component_29: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
232
|
+
declare const __VLS_component_29: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
215
233
|
|
|
216
234
|
declare const __VLS_component_3: DefineComponent<__VLS_Props, {
|
|
217
235
|
id: string;
|
|
@@ -228,7 +246,15 @@ update(value: unknown): void;
|
|
|
228
246
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
229
247
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
230
248
|
|
|
231
|
-
declare const __VLS_component_30: DefineComponent<
|
|
249
|
+
declare const __VLS_component_30: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
250
|
+
|
|
251
|
+
declare const __VLS_component_31: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
252
|
+
|
|
253
|
+
declare const __VLS_component_32: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
254
|
+
|
|
255
|
+
declare const __VLS_component_33: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
256
|
+
|
|
257
|
+
declare const __VLS_component_34: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
232
258
|
|
|
233
259
|
declare const __VLS_component_4: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
234
260
|
|
|
@@ -240,23 +266,14 @@ $: ComponentInternalInstance;
|
|
|
240
266
|
$data: {};
|
|
241
267
|
$props: {
|
|
242
268
|
readonly forceMount?: boolean | undefined;
|
|
243
|
-
readonly trapFocus?: boolean | undefined;
|
|
244
269
|
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
245
270
|
readonly asChild?: boolean | undefined;
|
|
246
271
|
readonly as?: (AsTag | Component) | undefined;
|
|
247
|
-
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
248
|
-
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
249
|
-
originalEvent: PointerEvent;
|
|
250
|
-
}>) => any) | undefined | undefined;
|
|
251
|
-
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
252
|
-
originalEvent: FocusEvent;
|
|
253
|
-
}>) => any) | undefined | undefined;
|
|
254
|
-
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
255
|
-
originalEvent: PointerEvent;
|
|
256
|
-
}> | CustomEvent<{
|
|
257
|
-
originalEvent: FocusEvent;
|
|
258
|
-
}>) => any) | undefined | undefined;
|
|
259
272
|
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
273
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
274
|
+
readonly onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined | undefined;
|
|
275
|
+
readonly onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined | undefined;
|
|
276
|
+
readonly onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined | undefined;
|
|
260
277
|
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
261
278
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
262
279
|
$attrs: {
|
|
@@ -271,45 +288,21 @@ $slots: Readonly<{
|
|
|
271
288
|
$root: ComponentPublicInstance | null;
|
|
272
289
|
$parent: ComponentPublicInstance | null;
|
|
273
290
|
$host: Element | null;
|
|
274
|
-
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event:
|
|
275
|
-
originalEvent: PointerEvent;
|
|
276
|
-
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
277
|
-
originalEvent: FocusEvent;
|
|
278
|
-
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
279
|
-
originalEvent: PointerEvent;
|
|
280
|
-
}> | CustomEvent<{
|
|
281
|
-
originalEvent: FocusEvent;
|
|
282
|
-
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
291
|
+
$emit: ((event: "openAutoFocus", event: Event) => void) & ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((event: "focusOutside", event: FocusOutsideEvent) => void) & ((event: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
283
292
|
$el: any;
|
|
284
293
|
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
285
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
286
|
-
onPointerDownOutside?: ((event: CustomEvent<{
|
|
287
|
-
originalEvent: PointerEvent;
|
|
288
|
-
}>) => any) | undefined;
|
|
289
|
-
onFocusOutside?: ((event: CustomEvent<{
|
|
290
|
-
originalEvent: FocusEvent;
|
|
291
|
-
}>) => any) | undefined;
|
|
292
|
-
onInteractOutside?: ((event: CustomEvent<{
|
|
293
|
-
originalEvent: PointerEvent;
|
|
294
|
-
}> | CustomEvent<{
|
|
295
|
-
originalEvent: FocusEvent;
|
|
296
|
-
}>) => any) | undefined;
|
|
297
294
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
295
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
296
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
297
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
298
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
298
299
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
299
300
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
300
|
-
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
301
|
-
pointerDownOutside: (event: CustomEvent<{
|
|
302
|
-
originalEvent: PointerEvent;
|
|
303
|
-
}>) => any;
|
|
304
|
-
focusOutside: (event: CustomEvent<{
|
|
305
|
-
originalEvent: FocusEvent;
|
|
306
|
-
}>) => any;
|
|
307
|
-
interactOutside: (event: CustomEvent<{
|
|
308
|
-
originalEvent: PointerEvent;
|
|
309
|
-
}> | CustomEvent<{
|
|
310
|
-
originalEvent: FocusEvent;
|
|
311
|
-
}>) => any;
|
|
312
301
|
openAutoFocus: (event: Event) => any;
|
|
302
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
303
|
+
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
304
|
+
focusOutside: (event: FocusOutsideEvent) => any;
|
|
305
|
+
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
313
306
|
closeAutoFocus: (event: Event) => any;
|
|
314
307
|
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
315
308
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -332,24 +325,17 @@ $forceUpdate: () => void;
|
|
|
332
325
|
$nextTick: typeof nextTick;
|
|
333
326
|
$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;
|
|
334
327
|
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
335
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
336
|
-
onPointerDownOutside?: ((event: CustomEvent<{
|
|
337
|
-
originalEvent: PointerEvent;
|
|
338
|
-
}>) => any) | undefined;
|
|
339
|
-
onFocusOutside?: ((event: CustomEvent<{
|
|
340
|
-
originalEvent: FocusEvent;
|
|
341
|
-
}>) => any) | undefined;
|
|
342
|
-
onInteractOutside?: ((event: CustomEvent<{
|
|
343
|
-
originalEvent: PointerEvent;
|
|
344
|
-
}> | CustomEvent<{
|
|
345
|
-
originalEvent: FocusEvent;
|
|
346
|
-
}>) => any) | undefined;
|
|
347
328
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
329
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
330
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
331
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
332
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
348
333
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
349
334
|
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
350
335
|
$slots: {
|
|
351
|
-
default
|
|
352
|
-
|
|
336
|
+
default?: (props: {}) => any;
|
|
337
|
+
} & {
|
|
338
|
+
default?: (props: {}) => any;
|
|
353
339
|
};
|
|
354
340
|
}) | null;
|
|
355
341
|
}, any>;
|
|
@@ -380,32 +366,62 @@ declare type __VLS_PrettifyLocal_5<T> = {
|
|
|
380
366
|
[K in keyof T]: T[K];
|
|
381
367
|
} & {};
|
|
382
368
|
|
|
369
|
+
declare type __VLS_PrettifyLocal_6<T> = {
|
|
370
|
+
[K in keyof T]: T[K];
|
|
371
|
+
} & {};
|
|
372
|
+
|
|
383
373
|
declare type __VLS_Props = InputProps & {
|
|
384
374
|
as?: string;
|
|
385
375
|
};
|
|
386
376
|
|
|
387
377
|
declare type __VLS_Props_10 = {
|
|
388
|
-
|
|
378
|
+
label?: string;
|
|
379
|
+
contentClass?: HTMLAttributes['class'];
|
|
380
|
+
summaryClass?: HTMLAttributes['class'];
|
|
389
381
|
};
|
|
390
382
|
|
|
391
383
|
declare type __VLS_Props_11 = {
|
|
384
|
+
class?: HTMLAttributes['class'];
|
|
385
|
+
} & PrimitiveProps;
|
|
386
|
+
|
|
387
|
+
declare type __VLS_Props_12 = {
|
|
388
|
+
type?: string;
|
|
389
|
+
contentClass?: HTMLAttributes['class'];
|
|
390
|
+
ariaLabel?: string;
|
|
391
|
+
formAriaHidden?: boolean;
|
|
392
|
+
tabindex?: string;
|
|
393
|
+
text: string;
|
|
394
|
+
disabled?: boolean;
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
declare type __VLS_Props_13 = {
|
|
398
|
+
error: ErrorSource;
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
declare type __VLS_Props_14 = {
|
|
402
|
+
report: ErrorReport;
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
declare type __VLS_Props_15 = {
|
|
392
406
|
report: ErrorReport;
|
|
393
407
|
currentReport?: number;
|
|
394
408
|
totalReports?: number;
|
|
395
409
|
};
|
|
396
410
|
|
|
397
|
-
declare type
|
|
411
|
+
declare type __VLS_Props_16 = {
|
|
398
412
|
form?: FormController;
|
|
399
413
|
};
|
|
400
414
|
|
|
401
|
-
declare type
|
|
415
|
+
declare type __VLS_Props_17 = InputProps & {
|
|
402
416
|
inputClass?: HTMLAttributes['class'];
|
|
403
417
|
wrapperClass?: HTMLAttributes['class'];
|
|
418
|
+
descriptionClass?: HTMLAttributes['class'];
|
|
419
|
+
errorClass?: HTMLAttributes['class'];
|
|
404
420
|
};
|
|
405
421
|
|
|
406
|
-
declare type
|
|
422
|
+
declare type __VLS_Props_18 = Omit<ButtonProps, 'variant'>;
|
|
407
423
|
|
|
408
|
-
declare type
|
|
424
|
+
declare type __VLS_Props_19 = {
|
|
409
425
|
as?: string;
|
|
410
426
|
inline?: boolean;
|
|
411
427
|
langKey?: string;
|
|
@@ -415,40 +431,36 @@ declare type __VLS_Props_15 = {
|
|
|
415
431
|
actions?: Record<string, () => unknown>;
|
|
416
432
|
};
|
|
417
433
|
|
|
418
|
-
declare type
|
|
419
|
-
|
|
420
|
-
childIndex?: number;
|
|
434
|
+
declare type __VLS_Props_2 = {
|
|
435
|
+
type?: string;
|
|
421
436
|
};
|
|
422
437
|
|
|
423
|
-
declare type
|
|
438
|
+
declare type __VLS_Props_20 = {
|
|
424
439
|
filledClass?: string;
|
|
440
|
+
overflowClass?: string;
|
|
425
441
|
progress?: number;
|
|
426
442
|
job?: Falsifiable<Job>;
|
|
427
443
|
};
|
|
428
444
|
|
|
429
|
-
declare type
|
|
445
|
+
declare type __VLS_Props_21 = {
|
|
430
446
|
class?: HTMLAttributes['class'];
|
|
431
447
|
};
|
|
432
448
|
|
|
433
|
-
declare type
|
|
449
|
+
declare type __VLS_Props_22 = {
|
|
434
450
|
value: AcceptableValue;
|
|
435
451
|
class?: HTMLAttributes['class'];
|
|
436
452
|
innerClass?: HTMLAttributes['class'];
|
|
437
453
|
};
|
|
438
454
|
|
|
439
|
-
declare type
|
|
440
|
-
type?: string;
|
|
441
|
-
};
|
|
442
|
-
|
|
443
|
-
declare type __VLS_Props_20 = {
|
|
455
|
+
declare type __VLS_Props_23 = {
|
|
444
456
|
class?: HTMLAttributes['class'];
|
|
445
457
|
};
|
|
446
458
|
|
|
447
|
-
declare type
|
|
459
|
+
declare type __VLS_Props_24 = {
|
|
448
460
|
class?: HTMLAttributes['class'];
|
|
449
461
|
};
|
|
450
462
|
|
|
451
|
-
declare type
|
|
463
|
+
declare type __VLS_Props_25 = {
|
|
452
464
|
title: string;
|
|
453
465
|
titleId?: string;
|
|
454
466
|
description?: string;
|
|
@@ -456,15 +468,20 @@ declare type __VLS_Props_22 = {
|
|
|
456
468
|
layout?: 'vertical' | 'horizontal';
|
|
457
469
|
};
|
|
458
470
|
|
|
459
|
-
declare type
|
|
471
|
+
declare type __VLS_Props_26 = InputProps & {
|
|
460
472
|
inputClass?: HTMLAttributes['class'];
|
|
461
473
|
wrapperClass?: HTMLAttributes['class'];
|
|
462
474
|
};
|
|
463
475
|
|
|
464
|
-
declare type
|
|
476
|
+
declare type __VLS_Props_27 = ToastProps & {
|
|
465
477
|
class?: HTMLAttributes['class'];
|
|
466
478
|
};
|
|
467
479
|
|
|
480
|
+
declare type __VLS_Props_28 = {
|
|
481
|
+
name: string;
|
|
482
|
+
value: unknown;
|
|
483
|
+
};
|
|
484
|
+
|
|
468
485
|
declare type __VLS_Props_3 = Omit<LabelProps, 'for'>;
|
|
469
486
|
|
|
470
487
|
declare type __VLS_Props_4 = SelectItemProps;
|
|
@@ -479,22 +496,12 @@ declare type __VLS_Props_6 = InputProps & {
|
|
|
479
496
|
labelClass?: HTMLAttributes['class'];
|
|
480
497
|
};
|
|
481
498
|
|
|
482
|
-
declare type __VLS_Props_7 =
|
|
483
|
-
class?: HTMLAttributes['class'];
|
|
484
|
-
} & PrimitiveProps;
|
|
499
|
+
declare type __VLS_Props_7 = Omit<LabelProps, 'for'>;
|
|
485
500
|
|
|
486
|
-
declare type __VLS_Props_8 =
|
|
487
|
-
type?: string;
|
|
488
|
-
contentClass?: HTMLAttributes['class'];
|
|
489
|
-
ariaLabel?: string;
|
|
490
|
-
formAriaHidden?: boolean;
|
|
491
|
-
tabindex?: string;
|
|
492
|
-
text: string;
|
|
493
|
-
disabled?: boolean;
|
|
494
|
-
};
|
|
501
|
+
declare type __VLS_Props_8 = ComboboxItemProps;
|
|
495
502
|
|
|
496
503
|
declare type __VLS_Props_9 = {
|
|
497
|
-
|
|
504
|
+
newInputValue?: (value: string) => Nullable<FormFieldValue>;
|
|
498
505
|
};
|
|
499
506
|
|
|
500
507
|
declare function __VLS_template(): {
|
|
@@ -671,7 +678,6 @@ declare function __VLS_template_19(): {
|
|
|
671
678
|
attrs: Partial<{}>;
|
|
672
679
|
slots: {
|
|
673
680
|
default?(_: {}): any;
|
|
674
|
-
options?(_: {}): any;
|
|
675
681
|
};
|
|
676
682
|
refs: {};
|
|
677
683
|
rootEl: any;
|
|
@@ -698,13 +704,42 @@ declare function __VLS_template_20(): {
|
|
|
698
704
|
declare function __VLS_template_21(): {
|
|
699
705
|
attrs: Partial<{}>;
|
|
700
706
|
slots: {
|
|
707
|
+
label?(_: {}): any;
|
|
701
708
|
default?(_: {}): any;
|
|
702
709
|
};
|
|
703
710
|
refs: {};
|
|
704
|
-
rootEl:
|
|
711
|
+
rootEl: HTMLDetailsElement;
|
|
705
712
|
};
|
|
706
713
|
|
|
707
714
|
declare function __VLS_template_22(): {
|
|
715
|
+
attrs: Partial<{}>;
|
|
716
|
+
slots: {
|
|
717
|
+
default?(_: {}): any;
|
|
718
|
+
options?(_: {}): any;
|
|
719
|
+
};
|
|
720
|
+
refs: {};
|
|
721
|
+
rootEl: any;
|
|
722
|
+
};
|
|
723
|
+
|
|
724
|
+
declare function __VLS_template_23(): {
|
|
725
|
+
attrs: Partial<{}>;
|
|
726
|
+
slots: {
|
|
727
|
+
default?(_: {}): any;
|
|
728
|
+
};
|
|
729
|
+
refs: {};
|
|
730
|
+
rootEl: any;
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
declare function __VLS_template_24(): {
|
|
734
|
+
attrs: Partial<{}>;
|
|
735
|
+
slots: {
|
|
736
|
+
default?(_: {}): any;
|
|
737
|
+
};
|
|
738
|
+
refs: {};
|
|
739
|
+
rootEl: any;
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
declare function __VLS_template_25(): {
|
|
708
743
|
attrs: Partial<{}>;
|
|
709
744
|
slots: {
|
|
710
745
|
default?(_: {}): any;
|
|
@@ -715,7 +750,7 @@ declare function __VLS_template_22(): {
|
|
|
715
750
|
rootEl: HTMLDivElement;
|
|
716
751
|
};
|
|
717
752
|
|
|
718
|
-
declare function
|
|
753
|
+
declare function __VLS_template_26(): {
|
|
719
754
|
attrs: Partial<{}>;
|
|
720
755
|
slots: Readonly<{
|
|
721
756
|
default(props: ErrorReportModalButtonsDefaultSlotProps): unknown;
|
|
@@ -726,7 +761,7 @@ declare function __VLS_template_23(): {
|
|
|
726
761
|
rootEl: HTMLDivElement;
|
|
727
762
|
};
|
|
728
763
|
|
|
729
|
-
declare function
|
|
764
|
+
declare function __VLS_template_27(): {
|
|
730
765
|
attrs: Partial<{}>;
|
|
731
766
|
slots: {
|
|
732
767
|
default?(_: {}): any;
|
|
@@ -735,7 +770,7 @@ declare function __VLS_template_24(): {
|
|
|
735
770
|
rootEl: HTMLFormElement;
|
|
736
771
|
};
|
|
737
772
|
|
|
738
|
-
declare function
|
|
773
|
+
declare function __VLS_template_28(): {
|
|
739
774
|
attrs: Partial<{}>;
|
|
740
775
|
slots: {
|
|
741
776
|
default?(_: {}): any;
|
|
@@ -744,7 +779,7 @@ declare function __VLS_template_25(): {
|
|
|
744
779
|
rootEl: any;
|
|
745
780
|
};
|
|
746
781
|
|
|
747
|
-
declare function
|
|
782
|
+
declare function __VLS_template_29(): {
|
|
748
783
|
attrs: Partial<{}>;
|
|
749
784
|
slots: Readonly<{
|
|
750
785
|
default?(): VNode[];
|
|
@@ -755,7 +790,7 @@ declare function __VLS_template_26(): {
|
|
|
755
790
|
rootEl: any;
|
|
756
791
|
};
|
|
757
792
|
|
|
758
|
-
declare function
|
|
793
|
+
declare function __VLS_template_3(): {
|
|
759
794
|
attrs: Partial<{}>;
|
|
760
795
|
slots: {
|
|
761
796
|
default?(_: {}): any;
|
|
@@ -764,7 +799,7 @@ declare function __VLS_template_27(): {
|
|
|
764
799
|
rootEl: any;
|
|
765
800
|
};
|
|
766
801
|
|
|
767
|
-
declare function
|
|
802
|
+
declare function __VLS_template_30(): {
|
|
768
803
|
attrs: Partial<{}>;
|
|
769
804
|
slots: {
|
|
770
805
|
default?(_: {}): any;
|
|
@@ -773,26 +808,26 @@ declare function __VLS_template_28(): {
|
|
|
773
808
|
rootEl: any;
|
|
774
809
|
};
|
|
775
810
|
|
|
776
|
-
declare function
|
|
811
|
+
declare function __VLS_template_31(): {
|
|
777
812
|
attrs: Partial<{}>;
|
|
778
813
|
slots: {
|
|
779
814
|
default?(_: {}): any;
|
|
780
|
-
default?(_: {}): any;
|
|
781
815
|
};
|
|
782
816
|
refs: {};
|
|
783
817
|
rootEl: any;
|
|
784
818
|
};
|
|
785
819
|
|
|
786
|
-
declare function
|
|
820
|
+
declare function __VLS_template_32(): {
|
|
787
821
|
attrs: Partial<{}>;
|
|
788
822
|
slots: {
|
|
789
823
|
default?(_: {}): any;
|
|
824
|
+
default?(_: {}): any;
|
|
790
825
|
};
|
|
791
826
|
refs: {};
|
|
792
827
|
rootEl: any;
|
|
793
828
|
};
|
|
794
829
|
|
|
795
|
-
declare function
|
|
830
|
+
declare function __VLS_template_33(): {
|
|
796
831
|
attrs: Partial<{}>;
|
|
797
832
|
slots: {
|
|
798
833
|
default?(_: {}): any;
|
|
@@ -801,6 +836,15 @@ declare function __VLS_template_30(): {
|
|
|
801
836
|
rootEl: HTMLDivElement;
|
|
802
837
|
};
|
|
803
838
|
|
|
839
|
+
declare function __VLS_template_34(): {
|
|
840
|
+
attrs: Partial<{}>;
|
|
841
|
+
slots: {
|
|
842
|
+
default?(_: {}): any;
|
|
843
|
+
};
|
|
844
|
+
refs: {};
|
|
845
|
+
rootEl: any;
|
|
846
|
+
};
|
|
847
|
+
|
|
804
848
|
declare function __VLS_template_4(): {
|
|
805
849
|
attrs: Partial<{}>;
|
|
806
850
|
slots: {
|
|
@@ -832,23 +876,14 @@ declare function __VLS_template_6(): {
|
|
|
832
876
|
$data: {};
|
|
833
877
|
$props: {
|
|
834
878
|
readonly forceMount?: boolean | undefined;
|
|
835
|
-
readonly trapFocus?: boolean | undefined;
|
|
836
879
|
readonly disableOutsidePointerEvents?: boolean | undefined;
|
|
837
880
|
readonly asChild?: boolean | undefined;
|
|
838
881
|
readonly as?: (AsTag | Component) | undefined;
|
|
839
|
-
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
840
|
-
readonly onPointerDownOutside?: ((event: CustomEvent<{
|
|
841
|
-
originalEvent: PointerEvent;
|
|
842
|
-
}>) => any) | undefined | undefined;
|
|
843
|
-
readonly onFocusOutside?: ((event: CustomEvent<{
|
|
844
|
-
originalEvent: FocusEvent;
|
|
845
|
-
}>) => any) | undefined | undefined;
|
|
846
|
-
readonly onInteractOutside?: ((event: CustomEvent<{
|
|
847
|
-
originalEvent: PointerEvent;
|
|
848
|
-
}> | CustomEvent<{
|
|
849
|
-
originalEvent: FocusEvent;
|
|
850
|
-
}>) => any) | undefined | undefined;
|
|
851
882
|
readonly onOpenAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
883
|
+
readonly onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined | undefined;
|
|
884
|
+
readonly onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined | undefined;
|
|
885
|
+
readonly onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined | undefined;
|
|
886
|
+
readonly onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined | undefined;
|
|
852
887
|
readonly onCloseAutoFocus?: ((event: Event) => any) | undefined | undefined;
|
|
853
888
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
854
889
|
$attrs: {
|
|
@@ -863,45 +898,21 @@ declare function __VLS_template_6(): {
|
|
|
863
898
|
$root: ComponentPublicInstance | null;
|
|
864
899
|
$parent: ComponentPublicInstance | null;
|
|
865
900
|
$host: Element | null;
|
|
866
|
-
$emit: ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event:
|
|
867
|
-
originalEvent: PointerEvent;
|
|
868
|
-
}>) => void) & ((event: "focusOutside", event: CustomEvent<{
|
|
869
|
-
originalEvent: FocusEvent;
|
|
870
|
-
}>) => void) & ((event: "interactOutside", event: CustomEvent<{
|
|
871
|
-
originalEvent: PointerEvent;
|
|
872
|
-
}> | CustomEvent<{
|
|
873
|
-
originalEvent: FocusEvent;
|
|
874
|
-
}>) => void) & ((event: "openAutoFocus", event: Event) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
901
|
+
$emit: ((event: "openAutoFocus", event: Event) => void) & ((event: "escapeKeyDown", event: KeyboardEvent) => void) & ((event: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((event: "focusOutside", event: FocusOutsideEvent) => void) & ((event: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((event: "closeAutoFocus", event: Event) => void);
|
|
875
902
|
$el: any;
|
|
876
903
|
$options: ComponentOptionsBase<Readonly<DialogContentProps> & Readonly<{
|
|
877
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
878
|
-
onPointerDownOutside?: ((event: CustomEvent<{
|
|
879
|
-
originalEvent: PointerEvent;
|
|
880
|
-
}>) => any) | undefined;
|
|
881
|
-
onFocusOutside?: ((event: CustomEvent<{
|
|
882
|
-
originalEvent: FocusEvent;
|
|
883
|
-
}>) => any) | undefined;
|
|
884
|
-
onInteractOutside?: ((event: CustomEvent<{
|
|
885
|
-
originalEvent: PointerEvent;
|
|
886
|
-
}> | CustomEvent<{
|
|
887
|
-
originalEvent: FocusEvent;
|
|
888
|
-
}>) => any) | undefined;
|
|
889
904
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
905
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
906
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
907
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
908
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
890
909
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
891
910
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
892
|
-
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
893
|
-
pointerDownOutside: (event: CustomEvent<{
|
|
894
|
-
originalEvent: PointerEvent;
|
|
895
|
-
}>) => any;
|
|
896
|
-
focusOutside: (event: CustomEvent<{
|
|
897
|
-
originalEvent: FocusEvent;
|
|
898
|
-
}>) => any;
|
|
899
|
-
interactOutside: (event: CustomEvent<{
|
|
900
|
-
originalEvent: PointerEvent;
|
|
901
|
-
}> | CustomEvent<{
|
|
902
|
-
originalEvent: FocusEvent;
|
|
903
|
-
}>) => any;
|
|
904
911
|
openAutoFocus: (event: Event) => any;
|
|
912
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
913
|
+
pointerDownOutside: (event: PointerDownOutsideEvent) => any;
|
|
914
|
+
focusOutside: (event: FocusOutsideEvent) => any;
|
|
915
|
+
interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
|
|
905
916
|
closeAutoFocus: (event: Event) => any;
|
|
906
917
|
}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
907
918
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -924,24 +935,17 @@ declare function __VLS_template_6(): {
|
|
|
924
935
|
$nextTick: typeof nextTick;
|
|
925
936
|
$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;
|
|
926
937
|
} & Readonly<{}> & Omit<Readonly<DialogContentProps> & Readonly<{
|
|
927
|
-
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
928
|
-
onPointerDownOutside?: ((event: CustomEvent<{
|
|
929
|
-
originalEvent: PointerEvent;
|
|
930
|
-
}>) => any) | undefined;
|
|
931
|
-
onFocusOutside?: ((event: CustomEvent<{
|
|
932
|
-
originalEvent: FocusEvent;
|
|
933
|
-
}>) => any) | undefined;
|
|
934
|
-
onInteractOutside?: ((event: CustomEvent<{
|
|
935
|
-
originalEvent: PointerEvent;
|
|
936
|
-
}> | CustomEvent<{
|
|
937
|
-
originalEvent: FocusEvent;
|
|
938
|
-
}>) => any) | undefined;
|
|
939
938
|
onOpenAutoFocus?: ((event: Event) => any) | undefined;
|
|
939
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
940
|
+
onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
|
|
941
|
+
onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
|
|
942
|
+
onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
|
|
940
943
|
onCloseAutoFocus?: ((event: Event) => any) | undefined;
|
|
941
944
|
}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
942
945
|
$slots: {
|
|
943
|
-
default
|
|
944
|
-
|
|
946
|
+
default?: (props: {}) => any;
|
|
947
|
+
} & {
|
|
948
|
+
default?: (props: {}) => any;
|
|
945
949
|
};
|
|
946
950
|
}) | null;
|
|
947
951
|
};
|
|
@@ -1023,6 +1027,14 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
1023
1027
|
|
|
1024
1028
|
declare type __VLS_TemplateResult_30 = ReturnType<typeof __VLS_template_30>;
|
|
1025
1029
|
|
|
1030
|
+
declare type __VLS_TemplateResult_31 = ReturnType<typeof __VLS_template_31>;
|
|
1031
|
+
|
|
1032
|
+
declare type __VLS_TemplateResult_32 = ReturnType<typeof __VLS_template_32>;
|
|
1033
|
+
|
|
1034
|
+
declare type __VLS_TemplateResult_33 = ReturnType<typeof __VLS_template_33>;
|
|
1035
|
+
|
|
1036
|
+
declare type __VLS_TemplateResult_34 = ReturnType<typeof __VLS_template_34>;
|
|
1037
|
+
|
|
1026
1038
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
1027
1039
|
|
|
1028
1040
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
@@ -1179,6 +1191,30 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
|
1179
1191
|
};
|
|
1180
1192
|
};
|
|
1181
1193
|
|
|
1194
|
+
declare type __VLS_WithTemplateSlots_31<T, S> = T & {
|
|
1195
|
+
new (): {
|
|
1196
|
+
$slots: S;
|
|
1197
|
+
};
|
|
1198
|
+
};
|
|
1199
|
+
|
|
1200
|
+
declare type __VLS_WithTemplateSlots_32<T, S> = T & {
|
|
1201
|
+
new (): {
|
|
1202
|
+
$slots: S;
|
|
1203
|
+
};
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
declare type __VLS_WithTemplateSlots_33<T, S> = T & {
|
|
1207
|
+
new (): {
|
|
1208
|
+
$slots: S;
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
declare type __VLS_WithTemplateSlots_34<T, S> = T & {
|
|
1213
|
+
new (): {
|
|
1214
|
+
$slots: S;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1182
1218
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
1183
1219
|
new (): {
|
|
1184
1220
|
$slots: S;
|
|
@@ -1245,11 +1281,10 @@ export declare interface AerogelTestingRuntime {
|
|
|
1245
1281
|
}
|
|
1246
1282
|
|
|
1247
1283
|
export declare const AlertModal: DefineComponent<AlertModalProps, {
|
|
1248
|
-
close(result?: void | undefined): Promise<void>;
|
|
1249
1284
|
$content: ModalContentInstance;
|
|
1250
1285
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AlertModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1251
1286
|
|
|
1252
|
-
export declare interface AlertModalExpose extends ModalExpose
|
|
1287
|
+
export declare interface AlertModalExpose extends ModalExpose {
|
|
1253
1288
|
}
|
|
1254
1289
|
|
|
1255
1290
|
export declare interface AlertModalProps {
|
|
@@ -1261,8 +1296,6 @@ export declare const App: Facade<AppService>;
|
|
|
1261
1296
|
|
|
1262
1297
|
export declare const AppLayout: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1263
1298
|
|
|
1264
|
-
export declare const AppModals: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1265
|
-
|
|
1266
1299
|
export declare function appNamespace(): string;
|
|
1267
1300
|
|
|
1268
1301
|
export declare const AppOverlays: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1274,6 +1307,7 @@ export declare class AppService extends _default_3 {
|
|
|
1274
1307
|
isReady(): boolean;
|
|
1275
1308
|
isMounted(): boolean;
|
|
1276
1309
|
addSetting(setting: AppSetting): void;
|
|
1310
|
+
setSettingsFullscreenOnMobile(fullscreenOnMobile: boolean): void;
|
|
1277
1311
|
whenReady<T>(callback: () => T): Promise<T>;
|
|
1278
1312
|
reload(queryParameters?: Record<string, string | undefined>): Promise<void>;
|
|
1279
1313
|
plugin<T extends Plugin_2 = Plugin_2>(name: string): T | null;
|
|
@@ -1314,7 +1348,7 @@ export declare interface ButtonProps extends PrimitiveProps {
|
|
|
1314
1348
|
|
|
1315
1349
|
export declare type ButtonSize = 'default' | 'small' | 'large' | 'icon';
|
|
1316
1350
|
|
|
1317
|
-
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'ghost' | 'outline' | 'link';
|
|
1351
|
+
export declare type ButtonVariant = 'default' | 'secondary' | 'danger' | 'warning' | 'ghost' | 'outline' | 'link';
|
|
1318
1352
|
|
|
1319
1353
|
declare const Cache_2: Facade<CacheService>;
|
|
1320
1354
|
export { Cache_2 as Cache }
|
|
@@ -1331,6 +1365,120 @@ export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component
|
|
|
1331
1365
|
|
|
1332
1366
|
export declare function classes(...inputs: ClassValue[]): string;
|
|
1333
1367
|
|
|
1368
|
+
export { closeModal }
|
|
1369
|
+
|
|
1370
|
+
export declare const Combobox: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1371
|
+
props: __VLS_PrettifyLocal_4<Pick<Partial<{}> & Omit<{
|
|
1372
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1373
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & (SelectProps<T> & {
|
|
1374
|
+
newInputValue?: (value: string) => T;
|
|
1375
|
+
}) & Partial<{}>> & PublicProps;
|
|
1376
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
1377
|
+
renderOption: (option: T) => string;
|
|
1378
|
+
labelClass: ComputedRef<any>;
|
|
1379
|
+
optionsClass: ComputedRef<any>;
|
|
1380
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
1381
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
1382
|
+
value: ComputedRef<T>;
|
|
1383
|
+
id: string;
|
|
1384
|
+
name: ComputedRef<string | undefined>;
|
|
1385
|
+
label: ComputedRef<string | undefined>;
|
|
1386
|
+
description: ComputedRef<string | undefined>;
|
|
1387
|
+
placeholder: ComputedRef<string>;
|
|
1388
|
+
options: ComputedRef< {
|
|
1389
|
+
key: string;
|
|
1390
|
+
label: string;
|
|
1391
|
+
value: AcceptableValue;
|
|
1392
|
+
}[] | null>;
|
|
1393
|
+
selectedOption: ComputedRef< {
|
|
1394
|
+
key: string;
|
|
1395
|
+
label: string;
|
|
1396
|
+
value: AcceptableValue;
|
|
1397
|
+
} | undefined>;
|
|
1398
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
1399
|
+
required: ComputedRef<boolean | undefined>;
|
|
1400
|
+
update(value: T): void;
|
|
1401
|
+
}>): void;
|
|
1402
|
+
attrs: any;
|
|
1403
|
+
slots: {};
|
|
1404
|
+
emit: (evt: "update:modelValue", value: T) => void;
|
|
1405
|
+
}>) => VNode & {
|
|
1406
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
export declare type ComboboxContext = {
|
|
1410
|
+
input: string;
|
|
1411
|
+
preventChange: boolean;
|
|
1412
|
+
$group: HTMLDivElement | null;
|
|
1413
|
+
};
|
|
1414
|
+
|
|
1415
|
+
export declare const ComboboxLabel: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
|
|
1416
|
+
|
|
1417
|
+
export declare const ComboboxOption: __VLS_WithTemplateSlots_20<typeof __VLS_component_20, __VLS_TemplateResult_20["slots"]>;
|
|
1418
|
+
|
|
1419
|
+
export declare const ComboboxOptions: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1420
|
+
select: () => any;
|
|
1421
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
1422
|
+
onSelect?: (() => any) | undefined;
|
|
1423
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1424
|
+
$group: ({
|
|
1425
|
+
$: ComponentInternalInstance;
|
|
1426
|
+
$data: {};
|
|
1427
|
+
$props: {
|
|
1428
|
+
readonly asChild?: boolean | undefined;
|
|
1429
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
1430
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1431
|
+
$attrs: {
|
|
1432
|
+
[x: string]: unknown;
|
|
1433
|
+
};
|
|
1434
|
+
$refs: {
|
|
1435
|
+
[x: string]: unknown;
|
|
1436
|
+
};
|
|
1437
|
+
$slots: Readonly<{
|
|
1438
|
+
[name: string]: Slot<any> | undefined;
|
|
1439
|
+
}>;
|
|
1440
|
+
$root: ComponentPublicInstance | null;
|
|
1441
|
+
$parent: ComponentPublicInstance | null;
|
|
1442
|
+
$host: Element | null;
|
|
1443
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
1444
|
+
$el: any;
|
|
1445
|
+
$options: ComponentOptionsBase<Readonly<ComboboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1446
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1447
|
+
created?: (() => void) | (() => void)[];
|
|
1448
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1449
|
+
mounted?: (() => void) | (() => void)[];
|
|
1450
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1451
|
+
updated?: (() => void) | (() => void)[];
|
|
1452
|
+
activated?: (() => void) | (() => void)[];
|
|
1453
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1454
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1455
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1456
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1457
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1458
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1459
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1460
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1461
|
+
};
|
|
1462
|
+
$forceUpdate: () => void;
|
|
1463
|
+
$nextTick: typeof nextTick;
|
|
1464
|
+
$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;
|
|
1465
|
+
} & Readonly<{}> & Omit<Readonly<ComboboxGroupProps> & Readonly<{}>, never> & ShallowUnwrapRef< {}> & {} & ComponentCustomProperties & {} & {
|
|
1466
|
+
$slots: {
|
|
1467
|
+
default?: (props: {}) => any;
|
|
1468
|
+
};
|
|
1469
|
+
}) | null;
|
|
1470
|
+
}, any>;
|
|
1471
|
+
|
|
1472
|
+
export declare const ComboboxTrigger: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1473
|
+
focus: () => any;
|
|
1474
|
+
blur: () => any;
|
|
1475
|
+
change: () => any;
|
|
1476
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
1477
|
+
onFocus?: (() => any) | undefined;
|
|
1478
|
+
onBlur?: (() => any) | undefined;
|
|
1479
|
+
onChange?: (() => any) | undefined;
|
|
1480
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1481
|
+
|
|
1334
1482
|
export declare type ComponentPropDefinitions<T> = {
|
|
1335
1483
|
[K in keyof T]: {
|
|
1336
1484
|
type?: PropType<T[K]>;
|
|
@@ -1356,9 +1504,12 @@ export declare type ComputedStateDefinition<TState extends ServiceState, TComput
|
|
|
1356
1504
|
}>;
|
|
1357
1505
|
|
|
1358
1506
|
export declare const ConfirmModal: DefineComponent<ConfirmModalProps, {
|
|
1359
|
-
close(result?: boolean | [boolean, Record<string, Nullable<boolean>>] | undefined): Promise<void>;
|
|
1360
1507
|
$content: ModalContentInstance;
|
|
1361
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}
|
|
1508
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1509
|
+
close: (payload: ConfirmModalResult) => any;
|
|
1510
|
+
}, string, PublicProps, Readonly<ConfirmModalProps> & Readonly<{
|
|
1511
|
+
onClose?: ((payload: ConfirmModalResult) => any) | undefined;
|
|
1512
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1362
1513
|
|
|
1363
1514
|
export declare type ConfirmModalCheckboxes = Record<string, {
|
|
1364
1515
|
label: string;
|
|
@@ -1366,7 +1517,10 @@ export declare type ConfirmModalCheckboxes = Record<string, {
|
|
|
1366
1517
|
required?: boolean;
|
|
1367
1518
|
}>;
|
|
1368
1519
|
|
|
1369
|
-
export declare interface
|
|
1520
|
+
export declare interface ConfirmModalEmits extends ModalEmits<ConfirmModalResult> {
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
export declare interface ConfirmModalExpose extends ModalExpose {
|
|
1370
1524
|
}
|
|
1371
1525
|
|
|
1372
1526
|
export declare interface ConfirmModalProps {
|
|
@@ -1381,6 +1535,8 @@ export declare interface ConfirmModalProps {
|
|
|
1381
1535
|
required?: boolean;
|
|
1382
1536
|
}
|
|
1383
1537
|
|
|
1538
|
+
export declare type ConfirmModalResult = boolean | [boolean, Record<string, Nullable<boolean>>];
|
|
1539
|
+
|
|
1384
1540
|
export declare type ConfirmOptions = AcceptRefs<{
|
|
1385
1541
|
acceptText?: string;
|
|
1386
1542
|
acceptVariant?: ButtonVariant;
|
|
@@ -1394,6 +1550,8 @@ export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalChec
|
|
|
1394
1550
|
checkboxes?: T;
|
|
1395
1551
|
}
|
|
1396
1552
|
|
|
1553
|
+
export { createModal }
|
|
1554
|
+
|
|
1397
1555
|
export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>;
|
|
1398
1556
|
|
|
1399
1557
|
export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
|
|
@@ -1433,6 +1591,7 @@ environment: string;
|
|
|
1433
1591
|
version: string;
|
|
1434
1592
|
sourceUrl: string | undefined;
|
|
1435
1593
|
settings: AppSetting[];
|
|
1594
|
+
settingsFullscreenOnMobile: boolean;
|
|
1436
1595
|
}, {
|
|
1437
1596
|
development: boolean;
|
|
1438
1597
|
staging: boolean;
|
|
@@ -1446,18 +1605,16 @@ environment: string;
|
|
|
1446
1605
|
version: string;
|
|
1447
1606
|
sourceUrl: string | undefined;
|
|
1448
1607
|
settings: AppSetting[];
|
|
1608
|
+
settingsFullscreenOnMobile: boolean;
|
|
1449
1609
|
}>>;
|
|
1450
1610
|
|
|
1451
1611
|
declare const _default_4: ServiceWithState< {
|
|
1452
|
-
modals: UIModal[];
|
|
1453
1612
|
toasts: UIToast[];
|
|
1454
1613
|
layout: Layout;
|
|
1455
1614
|
}, {
|
|
1456
1615
|
desktop: boolean;
|
|
1457
1616
|
mobile: boolean;
|
|
1458
|
-
openModals: UIModal<unknown>[];
|
|
1459
1617
|
}, Partial<{
|
|
1460
|
-
modals: UIModal[];
|
|
1461
1618
|
toasts: UIToast[];
|
|
1462
1619
|
layout: Layout;
|
|
1463
1620
|
}>>;
|
|
@@ -1492,9 +1649,11 @@ export declare function defineServiceStore<Id extends string, S extends StateTre
|
|
|
1492
1649
|
|
|
1493
1650
|
export declare function defineSettings<T extends AppSetting[]>(settings: T): T;
|
|
1494
1651
|
|
|
1652
|
+
export declare const Details: __VLS_WithTemplateSlots_21<typeof __VLS_component_21, __VLS_TemplateResult_21["slots"]>;
|
|
1653
|
+
|
|
1495
1654
|
export declare function dispatch(job: Job): Promise<void>;
|
|
1496
1655
|
|
|
1497
|
-
export declare const DropdownMenu:
|
|
1656
|
+
export declare const DropdownMenu: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1498
1657
|
|
|
1499
1658
|
export declare interface DropdownMenuExpose {
|
|
1500
1659
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1502,7 +1661,7 @@ export declare interface DropdownMenuExpose {
|
|
|
1502
1661
|
options?: readonly DropdownMenuOptionData[];
|
|
1503
1662
|
}
|
|
1504
1663
|
|
|
1505
|
-
export declare const DropdownMenuOption:
|
|
1664
|
+
export declare const DropdownMenuOption: __VLS_WithTemplateSlots_23<typeof __VLS_component_23, __VLS_TemplateResult_23["slots"]>;
|
|
1506
1665
|
|
|
1507
1666
|
export declare type DropdownMenuOptionData = {
|
|
1508
1667
|
label: string;
|
|
@@ -1514,7 +1673,7 @@ export declare type DropdownMenuOptionData = {
|
|
|
1514
1673
|
class?: string;
|
|
1515
1674
|
};
|
|
1516
1675
|
|
|
1517
|
-
export declare const DropdownMenuOptions:
|
|
1676
|
+
export declare const DropdownMenuOptions: __VLS_WithTemplateSlots_24<typeof __VLS_component_24, __VLS_TemplateResult_24["slots"]>;
|
|
1518
1677
|
|
|
1519
1678
|
export declare interface DropdownMenuProps {
|
|
1520
1679
|
align?: DropdownMenuContentProps['align'];
|
|
@@ -1522,7 +1681,7 @@ export declare interface DropdownMenuProps {
|
|
|
1522
1681
|
options?: readonly Falsifiable<DropdownMenuOptionData>[];
|
|
1523
1682
|
}
|
|
1524
1683
|
|
|
1525
|
-
export declare const EditableContent:
|
|
1684
|
+
export declare const EditableContent: __VLS_WithTemplateSlots_25<typeof __VLS_component_25, __VLS_TemplateResult_25["slots"]>;
|
|
1526
1685
|
|
|
1527
1686
|
export declare interface ElementSize {
|
|
1528
1687
|
width: number;
|
|
@@ -1541,7 +1700,7 @@ export declare const ErrorLogs: DefineComponent< {}, {}, {}, {}, {}, Componen
|
|
|
1541
1700
|
|
|
1542
1701
|
export declare const ErrorLogsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1543
1702
|
|
|
1544
|
-
export declare const ErrorMessage: DefineComponent<
|
|
1703
|
+
export declare const ErrorMessage: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1545
1704
|
|
|
1546
1705
|
export declare interface ErrorReport {
|
|
1547
1706
|
title: string;
|
|
@@ -1557,11 +1716,10 @@ export declare interface ErrorReportLog {
|
|
|
1557
1716
|
}
|
|
1558
1717
|
|
|
1559
1718
|
export declare const ErrorReportModal: DefineComponent<ErrorReportModalProps, {
|
|
1560
|
-
close(result?: void | undefined): Promise<void>;
|
|
1561
1719
|
$content: ModalContentInstance;
|
|
1562
1720
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ErrorReportModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1563
1721
|
|
|
1564
|
-
export declare const ErrorReportModalButtons:
|
|
1722
|
+
export declare const ErrorReportModalButtons: __VLS_WithTemplateSlots_26<typeof __VLS_component_26, __VLS_TemplateResult_26["slots"]>;
|
|
1565
1723
|
|
|
1566
1724
|
declare interface ErrorReportModalButtonsDefaultSlotProps {
|
|
1567
1725
|
id: string;
|
|
@@ -1579,7 +1737,7 @@ export declare interface ErrorReportModalProps {
|
|
|
1579
1737
|
reports: ErrorReport[];
|
|
1580
1738
|
}
|
|
1581
1739
|
|
|
1582
|
-
export declare const ErrorReportModalTitle: DefineComponent<
|
|
1740
|
+
export declare const ErrorReportModalTitle: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1583
1741
|
|
|
1584
1742
|
export declare const Errors: Facade<ErrorsService>;
|
|
1585
1743
|
|
|
@@ -1589,6 +1747,7 @@ declare class ErrorsService extends _default {
|
|
|
1589
1747
|
forceReporting: boolean;
|
|
1590
1748
|
private enabled;
|
|
1591
1749
|
private eruda;
|
|
1750
|
+
private erudaPlugins;
|
|
1592
1751
|
enable(): void;
|
|
1593
1752
|
disable(): void;
|
|
1594
1753
|
inspect(error: ErrorSource | ErrorReport, reports?: ErrorReport[]): Promise<void>;
|
|
@@ -1658,7 +1817,7 @@ export declare type Falsifiable<T> = Nullable<T> | false;
|
|
|
1658
1817
|
|
|
1659
1818
|
export declare type FocusFormListener = (input: string) => unknown;
|
|
1660
1819
|
|
|
1661
|
-
export declare const Form:
|
|
1820
|
+
export declare const Form: __VLS_WithTemplateSlots_27<typeof __VLS_component_27, __VLS_TemplateResult_27["slots"]>;
|
|
1662
1821
|
|
|
1663
1822
|
export declare class FormController<Fields extends FormFieldDefinitions = FormFieldDefinitions> extends MagicObject {
|
|
1664
1823
|
errors: DeepReadonly<UnwrapNestedRefs<FormErrors<Fields>>>;
|
|
@@ -1673,6 +1832,7 @@ export declare class FormController<Fields extends FormFieldDefinitions = FormFi
|
|
|
1673
1832
|
setFieldValue<T extends keyof Fields>(field: T, value: FormData_2<Fields>[T]): void;
|
|
1674
1833
|
getFieldValue<T extends keyof Fields>(field: T): GetFormFieldValue<Fields[T]['type']>;
|
|
1675
1834
|
getFieldRules<T extends keyof Fields>(field: T): string[];
|
|
1835
|
+
setFieldErrors<T extends keyof Fields>(field: T, errors: string[] | null): void;
|
|
1676
1836
|
getFieldType<T extends keyof Fields>(field: T): FormFieldType | null;
|
|
1677
1837
|
data(): FormData_2<Fields>;
|
|
1678
1838
|
validate(): boolean;
|
|
@@ -1729,6 +1889,10 @@ export declare type GetFormFieldValue<TType, TValueType = unknown> = TType exten
|
|
|
1729
1889
|
|
|
1730
1890
|
export declare function getMarkdownRouter(): MarkdownRouter | null;
|
|
1731
1891
|
|
|
1892
|
+
export { GetModalProps }
|
|
1893
|
+
|
|
1894
|
+
export { GetModalResponse }
|
|
1895
|
+
|
|
1732
1896
|
export declare function getPiniaStore(): Pinia;
|
|
1733
1897
|
|
|
1734
1898
|
export declare interface HasSelectOptionLabel {
|
|
@@ -1757,7 +1921,7 @@ $textAreaRef: HTMLTextAreaElement;
|
|
|
1757
1921
|
|
|
1758
1922
|
export declare const HeadlessModal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
1759
1923
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ModalProps & Partial<{}>> & PublicProps;
|
|
1760
|
-
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose
|
|
1924
|
+
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose>>): void;
|
|
1761
1925
|
attrs: any;
|
|
1762
1926
|
slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
|
|
1763
1927
|
emit: {};
|
|
@@ -1778,10 +1942,11 @@ export declare const HeadlessSelect: <T extends Nullable<FormFieldValue>>(__VLS_
|
|
|
1778
1942
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
1779
1943
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
1780
1944
|
expose(exposed: ShallowUnwrapRef< {
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1945
|
+
renderOption: (option: T) => string;
|
|
1946
|
+
labelClass: ComputedRef<any>;
|
|
1947
|
+
optionsClass: ComputedRef<any>;
|
|
1948
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
1949
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
1785
1950
|
value: ComputedRef<T>;
|
|
1786
1951
|
id: string;
|
|
1787
1952
|
name: ComputedRef<string | undefined>;
|
|
@@ -1852,15 +2017,17 @@ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props:
|
|
|
1852
2017
|
|
|
1853
2018
|
export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1854
2019
|
|
|
2020
|
+
export { injectModal }
|
|
2021
|
+
|
|
1855
2022
|
export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
|
|
1856
2023
|
|
|
1857
2024
|
export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
|
|
1858
2025
|
|
|
1859
2026
|
export declare function injectReactiveOrFail<T extends object>(key: InjectionKey<T> | string, errorMessage?: string): UnwrapNestedRefs<T>;
|
|
1860
2027
|
|
|
1861
|
-
export declare const Input: DefineComponent<
|
|
2028
|
+
export declare const Input: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1862
2029
|
"update:modelValue": (value: unknown) => any;
|
|
1863
|
-
}, string, PublicProps, Readonly<
|
|
2030
|
+
}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
|
|
1864
2031
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
1865
2032
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1866
2033
|
$inputRef: ({
|
|
@@ -2035,10 +2202,9 @@ export declare const Layouts: {
|
|
|
2035
2202
|
readonly Desktop: "desktop";
|
|
2036
2203
|
};
|
|
2037
2204
|
|
|
2038
|
-
export declare const Link:
|
|
2205
|
+
export declare const Link: __VLS_WithTemplateSlots_28<typeof __VLS_component_28, __VLS_TemplateResult_28["slots"]>;
|
|
2039
2206
|
|
|
2040
2207
|
export declare const LoadingModal: DefineComponent<LoadingModalProps, {
|
|
2041
|
-
close(result?: void | undefined): Promise<void>;
|
|
2042
2208
|
$content: ModalContentInstance;
|
|
2043
2209
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LoadingModalProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2044
2210
|
|
|
@@ -2059,7 +2225,9 @@ export declare type LoadingOptions = AcceptRefs<{
|
|
|
2059
2225
|
delay?: number;
|
|
2060
2226
|
}>;
|
|
2061
2227
|
|
|
2062
|
-
export declare const
|
|
2228
|
+
export declare const LOCAL_TIMEZONE_OFFSET: number;
|
|
2229
|
+
|
|
2230
|
+
export declare const Markdown: __VLS_WithTemplateSlots_29<typeof __VLS_component_29, __VLS_TemplateResult_29["slots"]>;
|
|
2063
2231
|
|
|
2064
2232
|
export declare interface MarkdownRouter {
|
|
2065
2233
|
resolve(route: string): string;
|
|
@@ -2075,15 +2243,17 @@ export declare type MeasureDirectiveValue = MeasureDirectiveListener | {
|
|
|
2075
2243
|
watch?: boolean;
|
|
2076
2244
|
};
|
|
2077
2245
|
|
|
2246
|
+
export declare const MINUTE_MILLISECONDS = 60000;
|
|
2247
|
+
|
|
2078
2248
|
export declare const MOBILE_BREAKPOINT = 768;
|
|
2079
2249
|
|
|
2080
|
-
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2081
|
-
props:
|
|
2250
|
+
export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2251
|
+
props: __VLS_PrettifyLocal_5<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & (ModalProps & {
|
|
2082
2252
|
wrapperClass?: HTMLAttributes["class"];
|
|
2083
2253
|
class?: HTMLAttributes["class"];
|
|
2084
2254
|
closeHidden?: boolean;
|
|
2085
2255
|
}) & Partial<{}>> & PublicProps;
|
|
2086
|
-
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose
|
|
2256
|
+
expose(exposed: ShallowUnwrapRef<AcceptRefs<ModalExpose>>): void;
|
|
2087
2257
|
attrs: any;
|
|
2088
2258
|
slots: Readonly<ModalSlots<T>> & ModalSlots<T>;
|
|
2089
2259
|
emit: {};
|
|
@@ -2091,35 +2261,40 @@ export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
2091
2261
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2092
2262
|
};
|
|
2093
2263
|
|
|
2264
|
+
export { ModalComponent }
|
|
2265
|
+
|
|
2094
2266
|
export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
|
|
2095
2267
|
|
|
2096
|
-
export
|
|
2268
|
+
export { ModalController }
|
|
2097
2269
|
|
|
2098
|
-
export declare interface
|
|
2099
|
-
|
|
2100
|
-
$content: ModalContentInstance;
|
|
2270
|
+
export declare interface ModalEmits<Result = never> {
|
|
2271
|
+
(event: 'close', payload: Result): void;
|
|
2101
2272
|
}
|
|
2102
2273
|
|
|
2103
|
-
export declare
|
|
2104
|
-
|
|
2105
|
-
}
|
|
2274
|
+
export declare interface ModalExpose {
|
|
2275
|
+
$content: ModalContentInstance;
|
|
2276
|
+
}
|
|
2106
2277
|
|
|
2107
2278
|
export declare interface ModalProps {
|
|
2108
2279
|
persistent?: boolean;
|
|
2280
|
+
fullscreen?: boolean;
|
|
2281
|
+
fullscreenOnMobile?: boolean;
|
|
2109
2282
|
title?: string;
|
|
2110
2283
|
titleHidden?: boolean;
|
|
2111
2284
|
description?: string;
|
|
2112
2285
|
descriptionHidden?: boolean;
|
|
2113
2286
|
}
|
|
2114
2287
|
|
|
2115
|
-
export
|
|
2288
|
+
export { modals }
|
|
2116
2289
|
|
|
2117
|
-
export declare interface ModalSlots<Result =
|
|
2290
|
+
export declare interface ModalSlots<Result = never> {
|
|
2118
2291
|
default(props: {
|
|
2119
2292
|
close(result?: Result): Promise<void>;
|
|
2120
2293
|
}): unknown;
|
|
2121
2294
|
}
|
|
2122
2295
|
|
|
2296
|
+
export { ModalsPortal }
|
|
2297
|
+
|
|
2123
2298
|
export declare function numberInput(defaultValue?: number, options?: {
|
|
2124
2299
|
rules?: string;
|
|
2125
2300
|
}): FormFieldDefinition<'number'>;
|
|
@@ -2146,14 +2321,20 @@ declare interface Plugin_2 {
|
|
|
2146
2321
|
}
|
|
2147
2322
|
export { Plugin_2 as Plugin }
|
|
2148
2323
|
|
|
2149
|
-
export declare const ProgressBar: DefineComponent<
|
|
2324
|
+
export declare const ProgressBar: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2150
2325
|
|
|
2151
2326
|
export declare const PromptModal: DefineComponent<PromptModalProps, {
|
|
2152
|
-
close(result?: string | undefined): Promise<void>;
|
|
2153
2327
|
$content: ModalContentInstance;
|
|
2154
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}
|
|
2328
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
2329
|
+
close: (payload: string) => any;
|
|
2330
|
+
}, string, PublicProps, Readonly<PromptModalProps> & Readonly<{
|
|
2331
|
+
onClose?: ((payload: string) => any) | undefined;
|
|
2332
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2155
2333
|
|
|
2156
|
-
export declare interface
|
|
2334
|
+
export declare interface PromptModalEmits extends ModalEmits<PromptModalResult> {
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
export declare interface PromptModalExpose extends ModalExpose {
|
|
2157
2338
|
}
|
|
2158
2339
|
|
|
2159
2340
|
export declare interface PromptModalProps {
|
|
@@ -2168,6 +2349,8 @@ export declare interface PromptModalProps {
|
|
|
2168
2349
|
cancelVariant?: ButtonVariant;
|
|
2169
2350
|
}
|
|
2170
2351
|
|
|
2352
|
+
export declare type PromptModalResult = string;
|
|
2353
|
+
|
|
2171
2354
|
export declare type PromptOptions = AcceptRefs<{
|
|
2172
2355
|
label?: string;
|
|
2173
2356
|
defaultValue?: string;
|
|
@@ -2179,6 +2362,19 @@ export declare type PromptOptions = AcceptRefs<{
|
|
|
2179
2362
|
trim?: boolean;
|
|
2180
2363
|
}>;
|
|
2181
2364
|
|
|
2365
|
+
export declare const Provide: __VLS_WithTemplateSlots_34<typeof __VLS_component_34, __VLS_TemplateResult_34["slots"]>;
|
|
2366
|
+
|
|
2367
|
+
export declare type ReactiveSet<T = unknown> = ReturnType<typeof reactiveSet<T>>;
|
|
2368
|
+
|
|
2369
|
+
export declare function reactiveSet<T>(initial?: T[] | Set<T>): {
|
|
2370
|
+
values(): T[];
|
|
2371
|
+
has(item: T): boolean;
|
|
2372
|
+
add(item: T): void;
|
|
2373
|
+
delete(item: T): void;
|
|
2374
|
+
clear(): void;
|
|
2375
|
+
reset(items?: T[] | Set<T>): void;
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2182
2378
|
export declare type RefUnion<T> = T extends infer R ? Ref<R> : never;
|
|
2183
2379
|
|
|
2184
2380
|
export declare function registerErrorHandler(handler: ErrorHandler_2): void;
|
|
@@ -2209,8 +2405,8 @@ export declare function resetPiniaStore(): Pinia;
|
|
|
2209
2405
|
|
|
2210
2406
|
export declare function safeHtml(html: string): string;
|
|
2211
2407
|
|
|
2212
|
-
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?:
|
|
2213
|
-
props:
|
|
2408
|
+
export declare const Select: <T extends Nullable<FormFieldValue>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal_6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
2409
|
+
props: __VLS_PrettifyLocal_6<Pick<Partial<{}> & Omit<{
|
|
2214
2410
|
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
2215
2411
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue"> & SelectProps<T> & Partial<{}>> & PublicProps;
|
|
2216
2412
|
expose(exposed: ShallowUnwrapRef< {}>): void;
|
|
@@ -2230,15 +2426,16 @@ export declare interface SelectExpose<T extends Nullable<FormFieldValue> = Nulla
|
|
|
2230
2426
|
options: ComputedRef<Nullable<readonly SelectOptionData[]>>;
|
|
2231
2427
|
selectedOption: ComputedRef<Nullable<SelectOptionData>>;
|
|
2232
2428
|
placeholder: ComputedRef<string>;
|
|
2233
|
-
labelClass
|
|
2234
|
-
optionsClass
|
|
2429
|
+
labelClass: ComputedRef<HTMLAttributes['class']>;
|
|
2430
|
+
optionsClass: ComputedRef<HTMLAttributes['class']>;
|
|
2235
2431
|
align?: SelectContentProps['align'];
|
|
2236
2432
|
side?: SelectContentProps['side'];
|
|
2433
|
+
renderOption: (option: T) => string;
|
|
2237
2434
|
}
|
|
2238
2435
|
|
|
2239
|
-
export declare const SelectLabel:
|
|
2436
|
+
export declare const SelectLabel: __VLS_WithTemplateSlots_30<typeof __VLS_component_30, __VLS_TemplateResult_30["slots"]>;
|
|
2240
2437
|
|
|
2241
|
-
export declare const SelectOption:
|
|
2438
|
+
export declare const SelectOption: __VLS_WithTemplateSlots_31<typeof __VLS_component_31, __VLS_TemplateResult_31["slots"]>;
|
|
2242
2439
|
|
|
2243
2440
|
export declare type SelectOptionData = {
|
|
2244
2441
|
key: string;
|
|
@@ -2246,7 +2443,7 @@ export declare type SelectOptionData = {
|
|
|
2246
2443
|
value: AcceptableValue;
|
|
2247
2444
|
};
|
|
2248
2445
|
|
|
2249
|
-
export declare const SelectOptions:
|
|
2446
|
+
export declare const SelectOptions: __VLS_WithTemplateSlots_32<typeof __VLS_component_32, __VLS_TemplateResult_32["slots"]>;
|
|
2250
2447
|
|
|
2251
2448
|
export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullable<FormFieldValue>> extends InputProps<T> {
|
|
2252
2449
|
as?: AsTag | Component;
|
|
@@ -2260,7 +2457,7 @@ export declare interface SelectProps<T extends Nullable<FormFieldValue> = Nullab
|
|
|
2260
2457
|
side?: SelectContentProps['side'];
|
|
2261
2458
|
}
|
|
2262
2459
|
|
|
2263
|
-
export declare const SelectTrigger: DefineComponent<
|
|
2460
|
+
export declare const SelectTrigger: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2264
2461
|
|
|
2265
2462
|
export declare class Service<State extends ServiceState = DefaultServiceState, ComputedState extends ServiceState = {}, ServiceStorage = Partial<State>> extends MagicObject {
|
|
2266
2463
|
static persist: string[];
|
|
@@ -2327,10 +2524,12 @@ export declare type ServiceWithState<State extends ServiceState = ServiceState,
|
|
|
2327
2524
|
|
|
2328
2525
|
export declare function setMarkdownRouter(markdownRouter: MarkdownRouter): void;
|
|
2329
2526
|
|
|
2330
|
-
export declare const Setting:
|
|
2527
|
+
export declare const Setting: __VLS_WithTemplateSlots_33<typeof __VLS_component_33, __VLS_TemplateResult_33["slots"]>;
|
|
2331
2528
|
|
|
2332
2529
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2333
2530
|
|
|
2531
|
+
export { showModal }
|
|
2532
|
+
|
|
2334
2533
|
export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2335
2534
|
|
|
2336
2535
|
export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
|
|
@@ -2352,9 +2551,9 @@ export declare type SubmitFormListener = () => unknown;
|
|
|
2352
2551
|
|
|
2353
2552
|
export declare const Switch: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2354
2553
|
|
|
2355
|
-
export declare const TextArea: DefineComponent<
|
|
2554
|
+
export declare const TextArea: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2356
2555
|
"update:modelValue": (value: unknown) => any;
|
|
2357
|
-
}, string, PublicProps, Readonly<
|
|
2556
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
2358
2557
|
"onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
|
|
2359
2558
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2360
2559
|
$inputRef: ({
|
|
@@ -2437,7 +2636,7 @@ default?(_: {}): any;
|
|
|
2437
2636
|
}) | null;
|
|
2438
2637
|
}, any>;
|
|
2439
2638
|
|
|
2440
|
-
export declare const Toast: DefineComponent<
|
|
2639
|
+
export declare const Toast: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2441
2640
|
|
|
2442
2641
|
export declare interface ToastAction {
|
|
2443
2642
|
label: string;
|
|
@@ -2460,7 +2659,7 @@ export declare interface ToastProps {
|
|
|
2460
2659
|
variant?: ToastVariant;
|
|
2461
2660
|
}
|
|
2462
2661
|
|
|
2463
|
-
export declare type ToastVariant = 'secondary' | 'danger';
|
|
2662
|
+
export declare type ToastVariant = 'secondary' | 'warning' | 'danger';
|
|
2464
2663
|
|
|
2465
2664
|
export declare const translate: (key: string, parameters?: Record<string, unknown> | number) => string;
|
|
2466
2665
|
|
|
@@ -2468,39 +2667,22 @@ export declare const translateWithDefault: (key: string, defaultMessage: string,
|
|
|
2468
2667
|
|
|
2469
2668
|
export declare const UI: Facade<UIService>;
|
|
2470
2669
|
|
|
2471
|
-
export declare type UIComponent<Props = {}, Exposed = {}> = {
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
};
|
|
2475
|
-
};
|
|
2670
|
+
export declare type UIComponent<Props = {}, Exposed = {}, Emits = {}> = Constructor<{
|
|
2671
|
+
$emit?: Emits;
|
|
2672
|
+
} & Exposed> & Component<Props, {}, {}, ComputedOptions, MethodOptions, {}, {}>;
|
|
2476
2673
|
|
|
2477
2674
|
export declare interface UIComponents {
|
|
2478
2675
|
'alert-modal': UIComponent<AlertModalProps, AlertModalExpose>;
|
|
2479
|
-
'confirm-modal': UIComponent<ConfirmModalProps, ConfirmModalExpose>;
|
|
2676
|
+
'confirm-modal': UIComponent<ConfirmModalProps, ConfirmModalExpose, ConfirmModalEmits>;
|
|
2480
2677
|
'error-report-modal': UIComponent<ErrorReportModalProps, ErrorReportModalExpose>;
|
|
2481
2678
|
'loading-modal': UIComponent<LoadingModalProps, LoadingModalExpose>;
|
|
2482
|
-
'prompt-modal': UIComponent<PromptModalProps, PromptModalExpose>;
|
|
2679
|
+
'prompt-modal': UIComponent<PromptModalProps, PromptModalExpose, PromptModalEmits>;
|
|
2483
2680
|
'router-link': UIComponent;
|
|
2484
2681
|
'startup-crash': UIComponent;
|
|
2485
2682
|
toast: UIComponent<ToastProps, ToastExpose>;
|
|
2486
2683
|
}
|
|
2487
2684
|
|
|
2488
|
-
declare interface UIModal<T = unknown> {
|
|
2489
|
-
id: string;
|
|
2490
|
-
properties: Record<string, unknown>;
|
|
2491
|
-
component: Component;
|
|
2492
|
-
closing: boolean;
|
|
2493
|
-
beforeClose: Promise<T | undefined>;
|
|
2494
|
-
afterClose: Promise<T | undefined>;
|
|
2495
|
-
}
|
|
2496
|
-
|
|
2497
|
-
export declare interface UIModalContext {
|
|
2498
|
-
modal: UIModal;
|
|
2499
|
-
childIndex?: number;
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
2685
|
export declare class UIService extends _default_4 {
|
|
2503
|
-
private modalCallbacks;
|
|
2504
2686
|
private components;
|
|
2505
2687
|
registerComponent<T extends keyof UIComponents>(name: T, component: UIComponents[T]): void;
|
|
2506
2688
|
resolveComponent<T extends keyof UIComponents>(name: T): UIComponents[T] | null;
|
|
@@ -2517,13 +2699,10 @@ export declare class UIService extends _default_4 {
|
|
|
2517
2699
|
loading<T>(message: string, operation: Promise<T> | (() => T)): Promise<T>;
|
|
2518
2700
|
loading<T>(options: LoadingOptions, operation: Promise<T> | (() => T)): Promise<T>;
|
|
2519
2701
|
toast(message: string, options?: ToastOptions): void;
|
|
2520
|
-
modal<T extends Component>(
|
|
2521
|
-
|
|
2522
|
-
closeModal(id: string, result?: unknown): Promise<void>;
|
|
2702
|
+
modal<T extends Component>(component: T & object extends GetModalProps<T> ? T : never, props?: GetModalProps<T>): Promise<GetModalResponse<T>>;
|
|
2703
|
+
modal<T extends Component>(component: T & object extends GetModalProps<T> ? never : T, props: GetModalProps<T>): Promise<GetModalResponse<T>>;
|
|
2523
2704
|
closeAllModals(): Promise<void>;
|
|
2524
2705
|
protected boot(): Promise<void>;
|
|
2525
|
-
private removeModal;
|
|
2526
|
-
private watchModalEvents;
|
|
2527
2706
|
private watchMountedEvent;
|
|
2528
2707
|
private watchViewportBreakpoints;
|
|
2529
2708
|
}
|
|
@@ -2588,6 +2767,13 @@ export declare function useLoadingModal(props: LoadingModalProps): {
|
|
|
2588
2767
|
showProgress: ComputedRef<boolean>;
|
|
2589
2768
|
};
|
|
2590
2769
|
|
|
2770
|
+
export declare function useModal<T = never>(): {
|
|
2771
|
+
close(result?: T): Promise<void>;
|
|
2772
|
+
id: ComputedRef<string>;
|
|
2773
|
+
visible: ComputedRef<boolean>;
|
|
2774
|
+
child: ComputedRef<ModalController<never> | null>;
|
|
2775
|
+
};
|
|
2776
|
+
|
|
2591
2777
|
export declare function usePromptModal(props: PromptModalProps): {
|
|
2592
2778
|
form: FormController< {
|
|
2593
2779
|
readonly draft: FormFieldDefinition<"string", "required", unknown>;
|
|
@@ -2600,6 +2786,38 @@ export declare function usePromptModal(props: PromptModalProps): {
|
|
|
2600
2786
|
renderedCancelText: ComputedRef<string>;
|
|
2601
2787
|
};
|
|
2602
2788
|
|
|
2789
|
+
export declare function useSelect<T extends Nullable<FormFieldValue>>(props: Ref<SelectProps<T>>, emit: EmitFn<SelectEmits<T>>): {
|
|
2790
|
+
expose: {
|
|
2791
|
+
renderOption: (option: T) => string;
|
|
2792
|
+
labelClass: ComputedRef<any>;
|
|
2793
|
+
optionsClass: ComputedRef<any>;
|
|
2794
|
+
align: ComputedRef<"start" | "center" | "end" | undefined>;
|
|
2795
|
+
side: ComputedRef<"top" | "right" | "bottom" | "left" | undefined>;
|
|
2796
|
+
value: ComputedRef<T>;
|
|
2797
|
+
id: string;
|
|
2798
|
+
name: ComputedRef<string | undefined>;
|
|
2799
|
+
label: ComputedRef<string | undefined>;
|
|
2800
|
+
description: ComputedRef<string | undefined>;
|
|
2801
|
+
placeholder: ComputedRef<string>;
|
|
2802
|
+
options: ComputedRef<{
|
|
2803
|
+
key: string;
|
|
2804
|
+
label: string;
|
|
2805
|
+
value: AcceptableValue;
|
|
2806
|
+
}[] | null>;
|
|
2807
|
+
selectedOption: ComputedRef<{
|
|
2808
|
+
key: string;
|
|
2809
|
+
label: string;
|
|
2810
|
+
value: AcceptableValue;
|
|
2811
|
+
} | undefined>;
|
|
2812
|
+
errors: Readonly<Ref<readonly string[] | null, readonly string[] | null>>;
|
|
2813
|
+
required: ComputedRef<boolean | undefined>;
|
|
2814
|
+
update(value: T): void;
|
|
2815
|
+
};
|
|
2816
|
+
acceptableValue: ComputedRef<AcceptableValue>;
|
|
2817
|
+
update: (value: AcceptableValue) => void;
|
|
2818
|
+
renderOption: (option: T) => string;
|
|
2819
|
+
};
|
|
2820
|
+
|
|
2603
2821
|
export declare function validate(value: unknown, rule: string): string[];
|
|
2604
2822
|
|
|
2605
2823
|
export declare function validateType(value: unknown, definition: FormFieldDefinition): string[];
|
|
@@ -2675,6 +2893,7 @@ declare module '@aerogel/core' {
|
|
|
2675
2893
|
interface AerogelOptions {
|
|
2676
2894
|
services?: Record<string, Service>;
|
|
2677
2895
|
settings?: AppSetting[];
|
|
2896
|
+
settingsFullscreenOnMobile?: boolean;
|
|
2678
2897
|
}
|
|
2679
2898
|
}
|
|
2680
2899
|
|
|
@@ -2685,6 +2904,11 @@ declare module 'vue' {
|
|
|
2685
2904
|
}
|
|
2686
2905
|
|
|
2687
2906
|
|
|
2907
|
+
declare global {
|
|
2908
|
+
var testingRuntime: AerogelTestingRuntime | undefined;
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
|
|
2688
2912
|
declare module '@aerogel/core' {
|
|
2689
2913
|
interface AerogelOptions {
|
|
2690
2914
|
components?: Partial<Partial<UIComponents>>;
|
|
@@ -2698,11 +2922,6 @@ declare module '@aerogel/core' {
|
|
|
2698
2922
|
}
|
|
2699
2923
|
|
|
2700
2924
|
|
|
2701
|
-
declare global {
|
|
2702
|
-
var testingRuntime: AerogelTestingRuntime | undefined;
|
|
2703
|
-
}
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
2925
|
declare global {
|
|
2707
2926
|
var __aerogelEvents__: AerogelGlobalEvents | undefined;
|
|
2708
2927
|
}
|
|
@@ -2718,24 +2937,6 @@ declare module '@aerogel/core' {
|
|
|
2718
2937
|
}
|
|
2719
2938
|
|
|
2720
2939
|
|
|
2721
|
-
declare module '@aerogel/core' {
|
|
2722
|
-
interface EventsPayload {
|
|
2723
|
-
'close-modal': {
|
|
2724
|
-
id: string;
|
|
2725
|
-
result?: unknown;
|
|
2726
|
-
};
|
|
2727
|
-
'modal-will-close': {
|
|
2728
|
-
modal: UIModal;
|
|
2729
|
-
result?: unknown;
|
|
2730
|
-
};
|
|
2731
|
-
'modal-has-closed': {
|
|
2732
|
-
modal: UIModal;
|
|
2733
|
-
result?: unknown;
|
|
2734
|
-
};
|
|
2735
|
-
}
|
|
2736
|
-
}
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
2940
|
declare module '@aerogel/core' {
|
|
2740
2941
|
interface EventsPayload {
|
|
2741
2942
|
'purge-storage': void;
|