x-prop-tree 0.7.45 → 0.7.46
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/index.js +4 -1
- package/dist/utils/common.d.ts +0 -1
- package/package.json +15 -15
package/dist/index.js
CHANGED
|
@@ -130,7 +130,10 @@ function execPropertyBranchScalar(e, w, T, E, D, O) {
|
|
|
130
130
|
if (w.ui) throw Error("execPropertyBranchScalar property ui must be invalid");
|
|
131
131
|
if (w.array) throw Error("execPropertyBranchScalar property array must be invalid");
|
|
132
132
|
let k;
|
|
133
|
-
k = D !== void 0 && !O ? T[D] : T[w.key]
|
|
133
|
+
if (k = D !== void 0 && !O ? T[D] : T[w.key], k === void 0) return E.change = !1, E.warning = !1, {
|
|
134
|
+
change: !1,
|
|
135
|
+
warning: !1
|
|
136
|
+
};
|
|
134
137
|
for (let T = 0; T < w.children.length; T++) {
|
|
135
138
|
let D = w.children[T];
|
|
136
139
|
E.children[D.key] = {
|
package/dist/utils/common.d.ts
CHANGED
|
@@ -6,4 +6,3 @@ export declare function unpkgObject(root: any, keys: PropertyKey[]): any;
|
|
|
6
6
|
export declare function ensureArrayValue(keys: PropertyKey[], property: ZProperty, object: any, arrayIndex: number | undefined, isBranch: boolean, changeEvent: ChangeEvent): any;
|
|
7
7
|
export declare function getModelValue(keys: PropertyKey[], property: ZProperty, object: any, arrayIndex: number | undefined, isBranch: boolean, changeEvent: ChangeEvent): any;
|
|
8
8
|
export declare function setModelValue(keys: PropertyKey[], property: ZProperty, object: any, val: unknown, arrayIndex: number | undefined, isBranch: boolean, changeEvent: ChangeEvent): void;
|
|
9
|
-
export declare function getFinalValue(property: ZProperty, val: any): any;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-prop-tree",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.46",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -23,36 +23,36 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"lodash-es": "^4.17.23",
|
|
26
|
-
"vue": "^3.5.
|
|
27
|
-
"vue-i18n": "^11.
|
|
28
|
-
"vuetify": "^4.0.
|
|
26
|
+
"vue": "^3.5.30",
|
|
27
|
+
"vue-i18n": "^11.3.0",
|
|
28
|
+
"vuetify": "^4.0.2"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"x-block-lib": "^0.10.
|
|
31
|
+
"x-block-lib": "^0.10.10",
|
|
32
32
|
"x-error-lib": "^0.5.15",
|
|
33
|
-
"x-essential-lib": "^0.9.
|
|
33
|
+
"x-essential-lib": "^0.9.28",
|
|
34
34
|
"x-group-list": "^0.4.11",
|
|
35
|
-
"x-runtime-lib": "^0.8.
|
|
36
|
-
"x-state-lib": "^0.3.
|
|
35
|
+
"x-runtime-lib": "^0.8.222",
|
|
36
|
+
"x-state-lib": "^0.3.41"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@eslint/js": "^10.0.1",
|
|
40
40
|
"@types/lodash-es": "^4.17.12",
|
|
41
|
-
"@types/node": "^25.
|
|
41
|
+
"@types/node": "^25.4.0",
|
|
42
42
|
"@vitejs/plugin-vue": "^6.0.4",
|
|
43
|
-
"eslint": "^10.0.
|
|
43
|
+
"eslint": "^10.0.3",
|
|
44
44
|
"eslint-config-prettier": "^10.1.8",
|
|
45
45
|
"eslint-plugin-prettier": "^5.5.5",
|
|
46
46
|
"eslint-plugin-vue": "^10.8.0",
|
|
47
|
-
"globals": "^17.
|
|
47
|
+
"globals": "^17.4.0",
|
|
48
48
|
"husky": "^9.1.7",
|
|
49
|
-
"lint-staged": "^16.
|
|
49
|
+
"lint-staged": "^16.3.3",
|
|
50
50
|
"prettier": "3.8.1",
|
|
51
|
-
"sass": "^1.
|
|
51
|
+
"sass": "^1.98.0",
|
|
52
52
|
"typescript": "^5.9.3",
|
|
53
|
-
"typescript-eslint": "^8.
|
|
53
|
+
"typescript-eslint": "^8.57.0",
|
|
54
54
|
"vite": "npm:rolldown-vite@7.3.1",
|
|
55
|
-
"vite-plugin-css-injected-by-js": "^
|
|
55
|
+
"vite-plugin-css-injected-by-js": "^4.0.1",
|
|
56
56
|
"vite-plugin-vuetify": "^2.1.3",
|
|
57
57
|
"vue-eslint-parser": "^10.4.0",
|
|
58
58
|
"vue-router": "^5.0.3",
|