@linagora/linid-im-front-corelib 0.0.66 → 0.0.67

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,10 +1,13 @@
1
+ import { type ComponentPublicInstance } from 'vue';
1
2
  import { type DialogEvent } from '../types/dialogType';
2
3
  /**
3
4
  * Composable to manage the state of a dialog based on events emitted by the DialogSubject.
4
5
  * @param key - The key to filter dialog events, allowing multiple dialogs to be managed independently.
5
6
  * @param onOpen - Optional callback function to execute when the dialog is opened, receiving the dialog event as an argument.
6
- * @returns An object containing the reactive `show` property to control the dialog visibility.
7
+ * @returns An object containing the reactive `show` property to control the dialog visibility,
8
+ * and the `dialogRef` to be attached to the dialog component for interact.js functionality.
7
9
  */
8
10
  export declare function useDialog<T extends DialogEvent>(key: string, onOpen?: (event: T) => void): {
9
11
  show: import("vue").Ref<boolean, boolean>;
12
+ dialogRef: import("vue").Ref<ComponentPublicInstance | null, ComponentPublicInstance | null>;
10
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linagora/linid-im-front-corelib",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "description": "Core library of the LinID Identity Manager project. Provides shared types, services, components, and utilities for front-end and plugin, enabling consistent integration across the LinID ecosystem.",
5
5
  "type": "module",
6
6
  "files": [
@@ -54,7 +54,8 @@
54
54
  "quasar": "2.18.6",
55
55
  "rxjs": "7.8.2",
56
56
  "vue": "3.5.30",
57
- "vue-i18n": "11.3.0"
57
+ "vue-i18n": "11.3.0",
58
+ "interactjs": "1.10.27"
58
59
  },
59
60
  "devDependencies": {
60
61
  "@eslint/js": "10.0.1",