@ibiz-template/vue3-components 0.7.30-alpha.1 → 0.7.30-alpha.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.
@@ -36,13 +36,13 @@ const FormItem = /* @__PURE__ */ defineComponent({
36
36
  };
37
37
  },
38
38
  render() {
39
- var _a;
40
- if (!this.c.state.visible) {
39
+ var _a, _b;
40
+ if (!this.c.state.visible || ((_a = this.controller.model.editor) == null ? void 0 : _a.editorType) === "HIDDEN") {
41
41
  return null;
42
42
  }
43
43
  let editor = null;
44
44
  const editorProps = {
45
- style: (_a = this.controller.editor) == null ? void 0 : _a.style,
45
+ style: (_b = this.controller.editor) == null ? void 0 : _b.style,
46
46
  value: this.controller.value,
47
47
  data: this.controller.data,
48
48
  controller: this.controller.editor,
@@ -40,13 +40,13 @@ const FormItem = /* @__PURE__ */ vue.defineComponent({
40
40
  };
41
41
  },
42
42
  render() {
43
- var _a;
44
- if (!this.c.state.visible) {
43
+ var _a, _b;
44
+ if (!this.c.state.visible || ((_a = this.controller.model.editor) == null ? void 0 : _a.editorType) === "HIDDEN") {
45
45
  return null;
46
46
  }
47
47
  let editor = null;
48
48
  const editorProps = {
49
- style: (_a = this.controller.editor) == null ? void 0 : _a.style,
49
+ style: (_b = this.controller.editor) == null ? void 0 : _b.style,
50
50
  value: this.controller.value,
51
51
  data: this.controller.data,
52
52
  controller: this.controller.editor,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-components",
3
- "version": "0.7.30-alpha.1",
3
+ "version": "0.7.30-alpha.2",
4
4
  "description": "使用 rollup 编译 vue 组件或者 jsx",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",