@linagora/linid-im-front-corelib 0.0.80 → 0.0.82

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.
@@ -20,7 +20,7 @@ export declare function useScopedI18n(scope: string): {
20
20
  * @param key - Translation key (string or number) relative to the scoped namespace.
21
21
  * @returns `true` if the key exists, `false` otherwise.
22
22
  */
23
- te: (key: string | number) => boolean;
23
+ te: (key: string, locale?: string | undefined) => boolean;
24
24
  /**
25
25
  * Retrieves the raw translation message for a scoped key without formatting.
26
26
  * @param key - Translation key (string or number) relative to the scoped namespace.
@@ -1,13 +1,26 @@
1
1
  import { type I18n } from 'vue-i18n';
2
+ /**
3
+ * Type alias for the shared LinID i18n instance.
4
+ *
5
+ * This type represents the Vue I18n instance used across all LinID modules.
6
+ * The instance is configured in Composition API mode (`legacy: false`) and
7
+ * exposes the global composer API for translations.
8
+ *
9
+ * Using a dedicated alias prevents consumers from falling back to the default
10
+ * `I18n` generic parameters, which may expose both legacy and composition
11
+ * translation signatures and cause TypeScript overload conflicts.
12
+ */
13
+ type LinidI18n = I18n<Record<string, never>, Record<string, never>>;
2
14
  /**
3
15
  * Initializes the shared i18n instance.
4
16
  * Should be called once by the host application during boot.
5
17
  * @param instance - The i18n instance to use as the shared store.
6
18
  */
7
- export declare function setI18nInstance(instance: I18n): void;
19
+ export declare function setI18nInstance(instance: LinidI18n): void;
8
20
  /**
9
21
  * Returns the shared i18n instance.
10
22
  * Must be called after initialization via `setI18nInstance()`.
11
23
  * @returns The shared i18n instance.
12
24
  */
13
- export declare function getI18nInstance(): I18n;
25
+ export declare function getI18nInstance(): LinidI18n;
26
+ export {};
@@ -36,4 +36,8 @@ export interface LinidFilterSetUserPreference {
36
36
  * Used for display purposes in the UI (e.g., dropdowns, saved views list).
37
37
  */
38
38
  label: string;
39
+ /**
40
+ * Serialized representation of the filter configuration.
41
+ */
42
+ value: string;
39
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linagora/linid-im-front-corelib",
3
- "version": "0.0.80",
3
+ "version": "0.0.82",
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": [
@@ -47,39 +47,39 @@
47
47
  },
48
48
  "homepage": "https://github.com/linagora/linid-im-front-corelib#readme",
49
49
  "peerDependencies": {
50
- "@module-federation/enhanced": "2.1.0",
51
- "axios": "1.13.6",
52
- "dayjs": "1.11.20",
50
+ "@module-federation/enhanced": "2.7.0",
51
+ "axios": "1.18.1",
52
+ "dayjs": "1.11.21",
53
53
  "pinia": "3.0.4",
54
- "quasar": "2.18.6",
54
+ "quasar": "2.21.1",
55
55
  "rxjs": "7.8.2",
56
- "vue": "3.5.30",
57
- "vue-i18n": "11.3.0",
58
- "vue-router": "5.0.3",
56
+ "vue": "3.5.39",
57
+ "vue-i18n": "11.4.6",
58
+ "vue-router": "5.1.0",
59
59
  "interactjs": "1.10.27"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@eslint/js": "10.0.1",
63
- "@types/node": "25.4.0",
63
+ "@types/node": "26.1.1",
64
64
  "@types/nunjucks": "3.2.6",
65
- "@vitejs/plugin-vue": "6.0.4",
66
- "@vitest/coverage-v8": "4.0.18",
65
+ "@vitejs/plugin-vue": "6.0.7",
66
+ "@vitest/coverage-v8": "4.1.10",
67
67
  "@vue/eslint-config-prettier": "10.2.0",
68
- "@vue/eslint-config-typescript": "14.7.0",
69
- "@vue/test-utils": "2.4.6",
70
- "eslint": "10.0.3",
68
+ "@vue/eslint-config-typescript": "14.9.0",
69
+ "@vue/test-utils": "2.4.11",
70
+ "eslint": "10.6.0",
71
71
  "eslint-plugin-headers": "1.3.4",
72
72
  "eslint-plugin-import": "2.32.0",
73
- "eslint-plugin-jsdoc": "62.8.0",
74
- "eslint-plugin-vue": "10.8.0",
75
- "happy-dom": "20.8.3",
73
+ "eslint-plugin-jsdoc": "63.0.12",
74
+ "eslint-plugin-vue": "10.9.2",
75
+ "happy-dom": "20.10.6",
76
76
  "oidc-client-ts": "3.5.0",
77
- "prettier": "3.8.1",
78
- "typescript": "5.9.3",
79
- "vite": "7.3.1",
77
+ "prettier": "3.9.4",
78
+ "typescript": "6.0.3",
79
+ "vite": "8.1.3",
80
80
  "vite-tsconfig-paths": "6.1.1",
81
- "vitest": "4.0.18",
82
- "vue-tsc": "3.2.5"
81
+ "vitest": "4.1.10",
82
+ "vue-tsc": "3.3.7"
83
83
  },
84
84
  "scripts": {
85
85
  "build": "vite build && vue-tsc --declaration --emitDeclarationOnly -p tsconfig.lib.json",