3h1-ui 3.0.0-next.226 → 3.0.0-next.228

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/es/index.js CHANGED
@@ -42598,7 +42598,14 @@ const Process = /* @__PURE__ */ defineComponent({
42598
42598
  }, [getTreeData(ele, ++deep), renderTime(ele)]);
42599
42599
  });
42600
42600
  }
42601
- const columns = props2.columns.map((item) => {
42601
+ const columns = props2.columns.filter(({
42602
+ ifShow
42603
+ }, index2) => {
42604
+ if (typeof ifShow === "function") {
42605
+ return ifShow(data, index2);
42606
+ }
42607
+ return ifShow !== false;
42608
+ }).map((item) => {
42602
42609
  const {
42603
42610
  labelWidth = props2.labelWidth,
42604
42611
  customRender
package/lib/index.js CHANGED
@@ -42622,7 +42622,14 @@ const Process = /* @__PURE__ */ vue.defineComponent({
42622
42622
  }, [getTreeData(ele, ++deep), renderTime(ele)]);
42623
42623
  });
42624
42624
  }
42625
- const columns = props2.columns.map((item) => {
42625
+ const columns = props2.columns.filter(({
42626
+ ifShow
42627
+ }, index2) => {
42628
+ if (typeof ifShow === "function") {
42629
+ return ifShow(data, index2);
42630
+ }
42631
+ return ifShow !== false;
42632
+ }).map((item) => {
42626
42633
  const {
42627
42634
  labelWidth = props2.labelWidth,
42628
42635
  customRender
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "3.0.0-next.226",
3
+ "version": "3.0.0-next.228",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -30,8 +30,8 @@
30
30
  "vxe-table": "^4.3.6",
31
31
  "xe-utils": "^3.5.7",
32
32
  "@shy-plugins/tinymce": "^1.0.6",
33
- "@shy-plugins/use": "1.0.1-next.5",
34
- "@shy-plugins/utils": "1.0.0-next.1"
33
+ "@shy-plugins/utils": "1.0.0-next.1",
34
+ "@shy-plugins/use": "1.0.1-next.5"
35
35
  },
36
36
  "types": "es/ui/index.d.ts",
37
37
  "devDependencies": {