vue-intlayer 8.7.3 → 8.7.4
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/types/plugins.d.ts +3 -3
- package/package.json +10 -10
package/dist/types/plugins.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ export declare const intlayerNodePlugins: Plugins;
|
|
|
15
15
|
/** ---------------------------------------------
|
|
16
16
|
* INSERTION PLUGIN
|
|
17
17
|
* --------------------------------------------- */
|
|
18
|
-
export type InsertionCond<T, _S,
|
|
18
|
+
export type InsertionCond<T, _S, L extends LocalesValues> = T extends {
|
|
19
19
|
nodeType: NodeType | string;
|
|
20
|
-
[NodeTypes.INSERTION]:
|
|
20
|
+
[NodeTypes.INSERTION]: infer I;
|
|
21
21
|
fields: readonly string[];
|
|
22
22
|
} ? <V extends {
|
|
23
23
|
[K in T['fields'][number]]: VNode;
|
|
24
|
-
}>(values: V) => V[keyof V] extends string | number ? IntlayerNode<string> : IntlayerNode<VNode | VNode[]> : never;
|
|
24
|
+
}>(values: V) => I extends string ? V[keyof V] extends string | number ? IntlayerNode<string> : IntlayerNode<VNode | VNode[]> : DeepTransformContent<I, L> : never;
|
|
25
25
|
/** Insertion plugin for Vue. Handles component/node insertion. */
|
|
26
26
|
export declare const insertionPlugin: Plugins;
|
|
27
27
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-intlayer",
|
|
3
|
-
"version": "8.7.
|
|
3
|
+
"version": "8.7.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your Vue applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -102,14 +102,14 @@
|
|
|
102
102
|
"typecheck": "vue-tsc --noEmit --project tsconfig.types.json"
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"@intlayer/api": "8.7.
|
|
106
|
-
"@intlayer/config": "8.7.
|
|
107
|
-
"@intlayer/core": "8.7.
|
|
108
|
-
"@intlayer/editor": "8.7.
|
|
109
|
-
"@intlayer/types": "8.7.
|
|
105
|
+
"@intlayer/api": "8.7.4",
|
|
106
|
+
"@intlayer/config": "8.7.4",
|
|
107
|
+
"@intlayer/core": "8.7.4",
|
|
108
|
+
"@intlayer/editor": "8.7.4",
|
|
109
|
+
"@intlayer/types": "8.7.4"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
|
-
"@types/node": "25.
|
|
112
|
+
"@types/node": "25.6.0",
|
|
113
113
|
"@utils/ts-config": "1.0.4",
|
|
114
114
|
"@utils/ts-config-types": "1.0.4",
|
|
115
115
|
"@utils/tsdown-config": "1.0.4",
|
|
@@ -117,15 +117,15 @@
|
|
|
117
117
|
"ajv": "8.18.0",
|
|
118
118
|
"fast-glob": "3.3.3",
|
|
119
119
|
"rimraf": "6.1.3",
|
|
120
|
-
"tsdown": "0.21.
|
|
121
|
-
"typescript": "6.0.
|
|
120
|
+
"tsdown": "0.21.9",
|
|
121
|
+
"typescript": "6.0.3",
|
|
122
122
|
"vite": "8.0.8",
|
|
123
123
|
"vite-plugin-dts": "4.5.4",
|
|
124
124
|
"vitest": "4.1.4",
|
|
125
125
|
"vue-tsc": "3.1.8"
|
|
126
126
|
},
|
|
127
127
|
"peerDependencies": {
|
|
128
|
-
"intlayer": "8.7.
|
|
128
|
+
"intlayer": "8.7.4",
|
|
129
129
|
"vue": ">=3.0.0"
|
|
130
130
|
},
|
|
131
131
|
"peerDependenciesMeta": {
|