@ibiz-template/vue3-components 0.7.41-alpha.147 → 0.7.41-alpha.148

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 +1 @@
1
- .ibiz-no-data{--ibiz-no-data-min-height:200px;--ibiz-no-data-max-height:100%;width:100%;height:100%;min-height:var(--ibiz-no-data-min-height);max-height:var(--ibiz-no-data-max-height);--el-empty-bottom-margin-top:0}.ibiz-no-data .el-empty__description{color:var(--ibiz-color-text-0)}.ibiz-no-data .el-empty__image{flex:0;width:100%;max-width:var(--el-empty-image-width);height:inherit}.ibiz-no-data.hideImage{padding:0}.ibiz-no-data.hideImage .el-table__empty-text{line-height:30px}.ibiz-no-data.hideImage .el-empty__image{display:none}
1
+ .ibiz-no-data{--ibiz-no-data-min-height:200px;--ibiz-no-data-max-height:100%;width:100%;height:100%;min-height:var(--ibiz-no-data-min-height);max-height:var(--ibiz-no-data-max-height);--el-empty-bottom-margin-top:0}.ibiz-no-data .el-empty__description p{color:var(--ibiz-color-text-0)}.ibiz-no-data .el-empty__image{flex:0;width:100%;max-width:var(--el-empty-image-width);height:inherit}.ibiz-no-data.hideImage{padding:0}.ibiz-no-data.hideImage .el-table__empty-text{line-height:30px}.ibiz-no-data.hideImage .el-empty__image{display:none}
@@ -35,7 +35,7 @@ const IBizNoData = /* @__PURE__ */ defineComponent({
35
35
  }, {
36
36
  description: () => {
37
37
  var _a, _b;
38
- return ((_b = (_a = this.$slots).customRender) == null ? void 0 : _b.call(_a)) || this.label;
38
+ return ((_b = (_a = this.$slots).customRender) == null ? void 0 : _b.call(_a)) || createVNode("p", null, [this.label]);
39
39
  }
40
40
  });
41
41
  }
@@ -37,7 +37,7 @@ const IBizNoData = /* @__PURE__ */ vue.defineComponent({
37
37
  }, {
38
38
  description: () => {
39
39
  var _a, _b;
40
- return ((_b = (_a = this.$slots).customRender) == null ? void 0 : _b.call(_a)) || this.label;
40
+ return ((_b = (_a = this.$slots).customRender) == null ? void 0 : _b.call(_a)) || vue.createVNode("p", null, [this.label]);
41
41
  }
42
42
  });
43
43
  }
@@ -1 +1 @@
1
- .ibiz-no-data{--ibiz-no-data-min-height:200px;--ibiz-no-data-max-height:100%;width:100%;height:100%;min-height:var(--ibiz-no-data-min-height);max-height:var(--ibiz-no-data-max-height);--el-empty-bottom-margin-top:0}.ibiz-no-data .el-empty__description{color:var(--ibiz-color-text-0)}.ibiz-no-data .el-empty__image{flex:0;width:100%;max-width:var(--el-empty-image-width);height:inherit}.ibiz-no-data.hideImage{padding:0}.ibiz-no-data.hideImage .el-table__empty-text{line-height:30px}.ibiz-no-data.hideImage .el-empty__image{display:none}
1
+ .ibiz-no-data{--ibiz-no-data-min-height:200px;--ibiz-no-data-max-height:100%;width:100%;height:100%;min-height:var(--ibiz-no-data-min-height);max-height:var(--ibiz-no-data-max-height);--el-empty-bottom-margin-top:0}.ibiz-no-data .el-empty__description p{color:var(--ibiz-color-text-0)}.ibiz-no-data .el-empty__image{flex:0;width:100%;max-width:var(--el-empty-image-width);height:inherit}.ibiz-no-data.hideImage{padding:0}.ibiz-no-data.hideImage .el-table__empty-text{line-height:30px}.ibiz-no-data.hideImage .el-empty__image{display:none}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/vue3-components",
3
- "version": "0.7.41-alpha.147",
3
+ "version": "0.7.41-alpha.148",
4
4
  "description": "web端组件库(vue3)",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "es/index.mjs",
@@ -13,7 +13,7 @@ $no-data: (
13
13
 
14
14
  --el-empty-bottom-margin-top: 0;
15
15
 
16
- .el-empty__description {
16
+ .el-empty__description p {
17
17
  color: getCssVar(color, text, 0);
18
18
  }
19
19
 
@@ -36,7 +36,8 @@ export const IBizNoData = defineComponent({
36
36
  return (
37
37
  <el-empty class={[this.ns.b(), this.hideNoDataImage ? 'hideImage' : '']}>
38
38
  {{
39
- description: () => this.$slots.customRender?.() || this.label,
39
+ description: () =>
40
+ this.$slots.customRender?.() || <p>{this.label}</p>,
40
41
  }}
41
42
  </el-empty>
42
43
  );