@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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment",
3
3
  "configKey": "vueEquipment",
4
- "version": "0.7.3"
4
+ "version": "0.7.4"
5
5
  }
@@ -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<string>;
8
+ id: import("vue").ComputedRef<any>;
9
9
  isActive: import("vue").ComputedRef<boolean>;
10
10
  open: () => void;
11
11
  close: () => void;
@@ -1,3 +1,4 @@
1
+ import crypto from "crypto";
1
2
  import { ref, computed, toValue } from "vue";
2
3
  import { defu } from "defu";
3
4
  import { useScrollLock } from "@vueuse/core";
@@ -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, computed, watch, type MaybeRef } from 'vue'
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) => `${string}-${string}-${string}-${string}-${string}`;
3
+ addToast: (args: AddArgs, ctx: ToastInstance) => any;
4
4
  };
@@ -1,3 +1,4 @@
1
+ import crypto from "crypto";
1
2
  export function useToastInternalApi() {
2
3
  function removeToastAfterTimeout(id, duration, ctx) {
3
4
  if (duration > 0) {
@@ -1,3 +1,4 @@
1
+ import crypto from "crypto";
1
2
  import {
2
3
  computed,
3
4
  onUnmounted,
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",
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",
@@ -1,4 +0,0 @@
1
- type PickPartial<T, K extends keyof T> = {
2
- [P in K]: Partial<T[P]>;
3
- };
4
- export type { PickPartial };