@cniot/mdd-editor 0.2.0-beta.41 → 0.2.0-beta.42
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/README.MD +3 -0
- package/build/index.cjs.js +10 -10
- package/build/index.es.js +5 -2
- package/package.json +1 -1
- package/src/schema/detail/detail-item.js +0 -2
- package/src/template/detail/DetailItems.jsx +5 -0
package/build/index.es.js
CHANGED
|
@@ -3469,7 +3469,6 @@ class DetailItemSchema extends JSONWatch {
|
|
|
3469
3469
|
columnsDirection = "row",
|
|
3470
3470
|
columnsBoxes = [],
|
|
3471
3471
|
height = 100,
|
|
3472
|
-
hideCard = true,
|
|
3473
3472
|
...more2
|
|
3474
3473
|
} = props || {};
|
|
3475
3474
|
super({
|
|
@@ -3491,7 +3490,6 @@ class DetailItemSchema extends JSONWatch {
|
|
|
3491
3490
|
columnsDirection,
|
|
3492
3491
|
columnsBoxes,
|
|
3493
3492
|
height,
|
|
3494
|
-
hideCard,
|
|
3495
3493
|
...more2
|
|
3496
3494
|
});
|
|
3497
3495
|
}
|
|
@@ -27648,6 +27646,11 @@ const customTitleRender = (props) => {
|
|
|
27648
27646
|
if (key === "type" && val === "detail-static-steps") {
|
|
27649
27647
|
data.initStepSource();
|
|
27650
27648
|
}
|
|
27649
|
+
if (key === "type" && val === "detail-columns") {
|
|
27650
|
+
data.set("hideCard", true);
|
|
27651
|
+
} else {
|
|
27652
|
+
data.set("hideCard", false);
|
|
27653
|
+
}
|
|
27651
27654
|
onChange(data);
|
|
27652
27655
|
};
|
|
27653
27656
|
return /* @__PURE__ */ React$1.createElement(React$1.Fragment, null, /* @__PURE__ */ React$1.createElement(Input$1, {
|
package/package.json
CHANGED
|
@@ -21,7 +21,6 @@ export default class DetailItemSchema extends JSONWatch {
|
|
|
21
21
|
columnsDirection = 'row', // 分栏组件 方向,默认横向分栏
|
|
22
22
|
columnsBoxes = [],
|
|
23
23
|
height = 100,
|
|
24
|
-
hideCard = true,
|
|
25
24
|
...more
|
|
26
25
|
} = props || {};
|
|
27
26
|
super({
|
|
@@ -43,7 +42,6 @@ export default class DetailItemSchema extends JSONWatch {
|
|
|
43
42
|
columnsDirection,
|
|
44
43
|
columnsBoxes,
|
|
45
44
|
height,
|
|
46
|
-
hideCard,
|
|
47
45
|
...more,
|
|
48
46
|
});
|
|
49
47
|
}
|