@aerogel/core 0.1.1-next.7fce7b4ce55cfb9c329a7746f571015aedc8e3bd → 0.1.1-next.9bd06e629f34098543a54bdb87e8996767876d42
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 +30 -8
- package/dist/aerogel-core.js +174 -168
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +1 -1
- package/src/ui/index.ts +11 -1
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ 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 { closeModal } from '@noeldemartin/vue-modals';
|
|
6
7
|
import { Component } from 'vue';
|
|
7
8
|
import { ComponentCustomProperties } from 'vue';
|
|
8
9
|
import { ComponentCustomProps } from 'vue';
|
|
@@ -15,6 +16,7 @@ import { ComputedGetter } from 'vue';
|
|
|
15
16
|
import { ComputedOptions } from 'vue';
|
|
16
17
|
import { ComputedRef } from 'vue';
|
|
17
18
|
import { Constructor } from '@noeldemartin/utils';
|
|
19
|
+
import { createModal } from '@noeldemartin/vue-modals';
|
|
18
20
|
import { cva } from 'class-variance-authority';
|
|
19
21
|
import { DebuggerEvent } from 'vue';
|
|
20
22
|
import { DeepReadonly } from 'vue';
|
|
@@ -45,6 +47,9 @@ import { ListenersManager } from '@noeldemartin/utils';
|
|
|
45
47
|
import { MagicObject } from '@noeldemartin/utils';
|
|
46
48
|
import { MaybeRef } from 'vue';
|
|
47
49
|
import { MethodOptions } from 'vue';
|
|
50
|
+
import { ModalComponent } from '@noeldemartin/vue-modals';
|
|
51
|
+
import { modals } from '@noeldemartin/vue-modals';
|
|
52
|
+
import { ModalsPortal } from '@noeldemartin/vue-modals';
|
|
48
53
|
import { nextTick } from 'vue';
|
|
49
54
|
import { Nullable } from '@noeldemartin/utils';
|
|
50
55
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -58,6 +63,7 @@ import { Ref } from 'vue';
|
|
|
58
63
|
import { SelectContentProps } from 'reka-ui';
|
|
59
64
|
import { SelectItemProps } from 'reka-ui';
|
|
60
65
|
import { ShallowUnwrapRef } from 'vue';
|
|
66
|
+
import { showModal } from '@noeldemartin/vue-modals';
|
|
61
67
|
import { Slot } from 'vue';
|
|
62
68
|
import { StateTree } from 'pinia';
|
|
63
69
|
import { Store } from 'pinia';
|
|
@@ -1247,6 +1253,8 @@ export declare const Checkbox: __VLS_WithTemplateSlots_18<typeof __VLS_component
|
|
|
1247
1253
|
|
|
1248
1254
|
export declare function classes(...inputs: ClassValue[]): string;
|
|
1249
1255
|
|
|
1256
|
+
export { closeModal }
|
|
1257
|
+
|
|
1250
1258
|
export declare type ComponentPropDefinitions<T> = {
|
|
1251
1259
|
[K in keyof T]: {
|
|
1252
1260
|
type?: PropType<T[K]>;
|
|
@@ -1318,6 +1326,8 @@ export declare interface ConfirmOptionsWithCheckboxes<T extends ConfirmModalChec
|
|
|
1318
1326
|
checkboxes?: T;
|
|
1319
1327
|
}
|
|
1320
1328
|
|
|
1329
|
+
export { createModal }
|
|
1330
|
+
|
|
1321
1331
|
export declare type CVAConfig<T> = NonNullable<GetClosureArgs<typeof cva<T>>[1]>;
|
|
1322
1332
|
|
|
1323
1333
|
export declare type CVAProps<T> = NonNullable<GetClosureArgs<GetClosureResult<typeof cva<T>>>[0]>;
|
|
@@ -1649,6 +1659,10 @@ export declare type GetFormFieldValue<TType, TValueType = unknown> = TType exten
|
|
|
1649
1659
|
|
|
1650
1660
|
export declare function getMarkdownRouter(): MarkdownRouter | null;
|
|
1651
1661
|
|
|
1662
|
+
export { GetModalProps }
|
|
1663
|
+
|
|
1664
|
+
export { GetModalResponse }
|
|
1665
|
+
|
|
1652
1666
|
export declare function getPiniaStore(): Pinia;
|
|
1653
1667
|
|
|
1654
1668
|
export declare interface HasSelectOptionLabel {
|
|
@@ -2010,6 +2024,8 @@ export declare const Modal: <T = void>(__VLS_props: NonNullable<Awaited<typeof _
|
|
|
2010
2024
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
2011
2025
|
};
|
|
2012
2026
|
|
|
2027
|
+
export { ModalComponent }
|
|
2028
|
+
|
|
2013
2029
|
export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
|
|
2014
2030
|
|
|
2015
2031
|
export declare interface ModalEmits<Result = never> {
|
|
@@ -2028,12 +2044,16 @@ export declare interface ModalProps {
|
|
|
2028
2044
|
descriptionHidden?: boolean;
|
|
2029
2045
|
}
|
|
2030
2046
|
|
|
2047
|
+
export { modals }
|
|
2048
|
+
|
|
2031
2049
|
export declare interface ModalSlots<Result = never> {
|
|
2032
2050
|
default(props: {
|
|
2033
2051
|
close(result?: Result): Promise<void>;
|
|
2034
2052
|
}): unknown;
|
|
2035
2053
|
}
|
|
2036
2054
|
|
|
2055
|
+
export { ModalsPortal }
|
|
2056
|
+
|
|
2037
2057
|
export declare function numberInput(defaultValue?: number, options?: {
|
|
2038
2058
|
rules?: string;
|
|
2039
2059
|
}): FormFieldDefinition<'number'>;
|
|
@@ -2264,6 +2284,8 @@ export declare const Setting: __VLS_WithTemplateSlots_30<typeof __VLS_component_
|
|
|
2264
2284
|
|
|
2265
2285
|
export declare const SettingsModal: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2266
2286
|
|
|
2287
|
+
export { showModal }
|
|
2288
|
+
|
|
2267
2289
|
export declare const StartupCrash: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2268
2290
|
|
|
2269
2291
|
export declare type StateWatchers<TService extends Service, TState extends ServiceState> = {
|
|
@@ -2540,22 +2562,22 @@ export { }
|
|
|
2540
2562
|
|
|
2541
2563
|
|
|
2542
2564
|
declare module '@aerogel/core' {
|
|
2543
|
-
interface
|
|
2544
|
-
|
|
2565
|
+
interface EventsPayload {
|
|
2566
|
+
'application-ready': void;
|
|
2567
|
+
'application-mounted': void;
|
|
2545
2568
|
}
|
|
2546
2569
|
}
|
|
2547
2570
|
|
|
2548
2571
|
|
|
2549
|
-
declare module '
|
|
2550
|
-
interface
|
|
2572
|
+
declare module '@aerogel/core' {
|
|
2573
|
+
interface AerogelOptions {
|
|
2574
|
+
directives?: Record<string, Directive>;
|
|
2551
2575
|
}
|
|
2552
2576
|
}
|
|
2553
2577
|
|
|
2554
2578
|
|
|
2555
|
-
declare module '
|
|
2556
|
-
interface
|
|
2557
|
-
'application-ready': void;
|
|
2558
|
-
'application-mounted': void;
|
|
2579
|
+
declare module 'vue' {
|
|
2580
|
+
interface ComponentCustomDirectives extends AerogelDirectives {
|
|
2559
2581
|
}
|
|
2560
2582
|
}
|
|
2561
2583
|
|