@maas/vue-equipment 0.7.4 → 0.7.5
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/nuxt/module.json +1 -1
- package/dist/plugins/MagicModal/src/composables/useModalApi.d.ts +1 -1
- package/dist/plugins/MagicModal/src/composables/useModalApi.mjs +1 -0
- package/dist/plugins/MagicToast/src/components/MagicToast.vue +2 -1
- package/dist/plugins/MagicToast/src/composables/private/useToastInternalApi.d.ts +1 -1
- package/dist/plugins/MagicToast/src/composables/private/useToastInternalApi.mjs +1 -0
- package/dist/plugins/MagicToast/src/composables/useToastApi.mjs +1 -0
- package/package.json +1 -1
- package/dist/utils/types/PickPartial.d.ts +0 -4
package/dist/nuxt/module.json
CHANGED
|
@@ -5,7 +5,7 @@ export type useModalApiOptions = Pick<Options, 'scrollLock'> & {
|
|
|
5
5
|
focusTarget: MaybeElementRef;
|
|
6
6
|
};
|
|
7
7
|
export declare function useModalApi(id?: MaybeRef<string>, options?: useModalApiOptions): {
|
|
8
|
-
id: import("vue").ComputedRef<
|
|
8
|
+
id: import("vue").ComputedRef<any>;
|
|
9
9
|
isActive: import("vue").ComputedRef<boolean>;
|
|
10
10
|
open: () => void;
|
|
11
11
|
close: () => void;
|
|
@@ -43,8 +43,9 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script setup lang="ts">
|
|
46
|
+
import crypto from 'crypto'
|
|
46
47
|
import { defu } from 'defu'
|
|
47
|
-
import { toValue, ref,
|
|
48
|
+
import { toValue, ref, watch, type MaybeRef } from 'vue'
|
|
48
49
|
import { onClickOutside, type MaybeElement } from '@vueuse/core'
|
|
49
50
|
import { defaultOptions } from './../utils/defaultOptions'
|
|
50
51
|
import { useToastApi } from './../composables/useToastApi'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ToastInstance, AddArgs } from './../../types.js';
|
|
2
2
|
export declare function useToastInternalApi(): {
|
|
3
|
-
addToast: (args: AddArgs, ctx: ToastInstance) =>
|
|
3
|
+
addToast: (args: AddArgs, ctx: ToastInstance) => any;
|
|
4
4
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maas/vue-equipment",
|
|
3
3
|
"description": "A magic collection of Vue composables, plugins, components and directives",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.5",
|
|
5
5
|
"author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@antfu/ni": "^0.21.5",
|