x-prop-tree 0.1.1 → 0.1.2
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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ZProp } from 'x-runtime-lib';
|
|
2
2
|
interface Props {
|
|
3
3
|
unique: string;
|
|
4
|
-
|
|
4
|
+
config?: ZProp[];
|
|
5
5
|
object?: object;
|
|
6
6
|
}
|
|
7
7
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
package/dist/index.js
CHANGED
|
@@ -3548,7 +3548,7 @@ const ku = /* @__PURE__ */ We({
|
|
|
3548
3548
|
__name: "index",
|
|
3549
3549
|
props: {
|
|
3550
3550
|
unique: {},
|
|
3551
|
-
|
|
3551
|
+
config: {},
|
|
3552
3552
|
object: {}
|
|
3553
3553
|
},
|
|
3554
3554
|
emits: ["change"],
|
|
@@ -3844,10 +3844,10 @@ const ku = /* @__PURE__ */ We({
|
|
|
3844
3844
|
},
|
|
3845
3845
|
(() => {
|
|
3846
3846
|
const w = [];
|
|
3847
|
-
if (a.unique && a.
|
|
3847
|
+
if (a.unique && a.config && a.object) {
|
|
3848
3848
|
v[a.unique] || (v[a.unique] = {});
|
|
3849
3849
|
const c = v[a.unique];
|
|
3850
|
-
a.
|
|
3850
|
+
a.config.forEach((f) => {
|
|
3851
3851
|
const h = _("", f, a.object, c);
|
|
3852
3852
|
w.push(h);
|
|
3853
3853
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-prop-tree",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"vue": "^3.4.26",
|
|
26
26
|
"vuetify": "^3.6.3",
|
|
27
27
|
"x-essential-lib": "^0.3.14",
|
|
28
|
-
"x-runtime-lib": "^0.1.
|
|
28
|
+
"x-runtime-lib": "^0.1.10"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@mdi/js": "^7.4.47",
|