@aerogel/core 0.1.1-next.97f5cf5c97f16ab8a0ef63b82aaab049a0f9e15b → 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 +2 -12
- package/dist/aerogel-core.js +604 -611
- package/dist/aerogel-core.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AppOverlays.vue +1 -1
- package/src/components/headless/HeadlessModal.vue +12 -3
- package/src/components/headless/HeadlessModalContent.vue +1 -1
- package/src/components/ui/Modal.vue +2 -2
- package/src/ui/UI.ts +2 -2
- package/src/ui/index.ts +11 -1
- package/src/ui/modals.ts +0 -36
package/dist/aerogel-core.d.ts
CHANGED
|
@@ -40,7 +40,6 @@ import { GlobalComponents } from 'vue';
|
|
|
40
40
|
import { GlobalDirectives } from 'vue';
|
|
41
41
|
import { HTMLAttributes } from 'vue';
|
|
42
42
|
import { InjectionKey } from 'vue';
|
|
43
|
-
import { injectModal } from '@noeldemartin/vue-modals';
|
|
44
43
|
import { JSError } from '@noeldemartin/utils';
|
|
45
44
|
import { LabelProps } from 'reka-ui';
|
|
46
45
|
import { Listeners } from '@noeldemartin/utils';
|
|
@@ -49,7 +48,6 @@ import { MagicObject } from '@noeldemartin/utils';
|
|
|
49
48
|
import { MaybeRef } from 'vue';
|
|
50
49
|
import { MethodOptions } from 'vue';
|
|
51
50
|
import { ModalComponent } from '@noeldemartin/vue-modals';
|
|
52
|
-
import { ModalController } from '@noeldemartin/vue-modals';
|
|
53
51
|
import { modals } from '@noeldemartin/vue-modals';
|
|
54
52
|
import { ModalsPortal } from '@noeldemartin/vue-modals';
|
|
55
53
|
import { nextTick } from 'vue';
|
|
@@ -70,6 +68,7 @@ import { Slot } from 'vue';
|
|
|
70
68
|
import { StateTree } from 'pinia';
|
|
71
69
|
import { Store } from 'pinia';
|
|
72
70
|
import { UnwrapNestedRefs } from 'vue';
|
|
71
|
+
import { useModal } from '@noeldemartin/vue-modals';
|
|
73
72
|
import { VNode } from 'vue';
|
|
74
73
|
import { VNodeProps } from 'vue';
|
|
75
74
|
import { WatchOptions } from 'vue';
|
|
@@ -1787,8 +1786,6 @@ export declare const HeadlessSwitch: <T extends boolean = boolean>(__VLS_props:
|
|
|
1787
1786
|
|
|
1788
1787
|
export declare const HeadlessToast: __VLS_WithTemplateSlots_15<typeof __VLS_component_15, __VLS_TemplateResult_15["slots"]>;
|
|
1789
1788
|
|
|
1790
|
-
export { injectModal }
|
|
1791
|
-
|
|
1792
1789
|
export declare function injectOrFail<T>(key: InjectionKey<T> | string, errorMessage?: string): T;
|
|
1793
1790
|
|
|
1794
1791
|
export declare function injectReactive<T extends object>(key: InjectionKey<T> | string): UnwrapNestedRefs<T> | undefined;
|
|
@@ -2031,8 +2028,6 @@ export { ModalComponent }
|
|
|
2031
2028
|
|
|
2032
2029
|
export declare type ModalContentInstance = Nullable<InstanceType<typeof DialogContent>>;
|
|
2033
2030
|
|
|
2034
|
-
export { ModalController }
|
|
2035
|
-
|
|
2036
2031
|
export declare interface ModalEmits<Result = never> {
|
|
2037
2032
|
(event: 'close', payload: Result): void;
|
|
2038
2033
|
}
|
|
@@ -2528,12 +2523,7 @@ export declare function useLoadingModal(props: LoadingModalProps): {
|
|
|
2528
2523
|
showProgress: ComputedRef<boolean>;
|
|
2529
2524
|
};
|
|
2530
2525
|
|
|
2531
|
-
export
|
|
2532
|
-
close(result?: T): Promise<void>;
|
|
2533
|
-
id: ComputedRef<string>;
|
|
2534
|
-
visible: ComputedRef<boolean>;
|
|
2535
|
-
child: ComputedRef<ModalController<never> | null>;
|
|
2536
|
-
};
|
|
2526
|
+
export { useModal }
|
|
2537
2527
|
|
|
2538
2528
|
export declare function usePromptModal(props: PromptModalProps): {
|
|
2539
2529
|
form: FormController< {
|