@ecan-bi/datav 1.0.63 → 1.0.64

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/dist/index.umd.js CHANGED
@@ -2749,7 +2749,7 @@
2749
2749
  alignItems: "center",
2750
2750
  variableFontSize: "14px",
2751
2751
  data: {},
2752
- variableDefaultValue: "",
2752
+ variableDefaultValue: "0",
2753
2753
  format: ""
2754
2754
  };
2755
2755
  const textComponentProps = transformToComponentProps(textProps);
@@ -3201,7 +3201,7 @@
3201
3201
  strokeTextWidth: "100%",
3202
3202
  lineHeight: "26px",
3203
3203
  decimalFormat: false,
3204
- variableDefaultValue: ""
3204
+ variableDefaultValue: "0"
3205
3205
  };
3206
3206
  const proportionComponentProps = transformToComponentProps(proportionProps);
3207
3207
  const proportionEvents = ["refreshData", "click"];
@@ -5943,6 +5943,7 @@
5943
5943
  const EcanModal = withInstall(Modal);
5944
5944
  const tabsProps = {
5945
5945
  ...props,
5946
+ tabHorizontalPadding: "0px",
5946
5947
  type: "ecanTabs",
5947
5948
  name: "\u6807\u7B7E\u9875",
5948
5949
  keyName: "\u6807\u7B7E\u9875",
@@ -6027,7 +6028,7 @@
6027
6028
  };
6028
6029
  }
6029
6030
  });
6030
- const _withScopeId = (n) => (vue.pushScopeId("data-v-20bbeaac"), n = n(), vue.popScopeId(), n);
6031
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-019ea41f"), n = n(), vue.popScopeId(), n);
6031
6032
  const _hoisted_1$3 = ["onClick"];
6032
6033
  const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tabs-content" }, null, -1));
6033
6034
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
@@ -6045,6 +6046,7 @@
6045
6046
  return vue.openBlock(), vue.createElementBlock("div", {
6046
6047
  class: "tab",
6047
6048
  style: vue.normalizeStyle({
6049
+ padding: `5px ${_ctx.tabHorizontalPadding}`,
6048
6050
  color: _ctx.isActive(index2) ? _ctx.activeTabColor : _ctx.tabColor,
6049
6051
  backgroundImage: _ctx.isActive(index2) ? _ctx.useImagePath(_ctx.activeTabBackgroundImage, true) : _ctx.useImagePath(_ctx.tabBackgroundImage, true),
6050
6052
  marginRight: _ctx.tabBarGutter
@@ -6055,7 +6057,7 @@
6055
6057
  vue.createElementVNode("div", {
6056
6058
  class: "tab-inner",
6057
6059
  style: vue.normalizeStyle({
6058
- borderBottom: `1px solid ${_ctx.isActive(index2) ? _ctx.activeTabColor : "transparent"}`
6060
+ borderBottom: !_ctx.activeTabBackgroundImage && !_ctx.tabBackgroundImage ? `1px solid ${_ctx.isActive(index2) ? _ctx.activeTabColor : "transparent"}` : ""
6059
6061
  })
6060
6062
  }, vue.toDisplayString(tab.title), 5)
6061
6063
  ], 12, _hoisted_1$3);
@@ -6064,7 +6066,7 @@
6064
6066
  _hoisted_2$1
6065
6067
  ], 4);
6066
6068
  }
6067
- const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-20bbeaac"]]);
6069
+ const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-019ea41f"]]);
6068
6070
  const EcanTabs = withInstall(Tabs);
6069
6071
  const imageProps = {
6070
6072
  ...props,
@@ -6092,6 +6094,8 @@
6092
6094
  pageMode: "normal"
6093
6095
  });
6094
6096
  const onClick = () => {
6097
+ if (!props2.linkPage && !props2.href)
6098
+ return;
6095
6099
  const linkPage = props2.linkPage || "";
6096
6100
  const pageUrl = usePageUrl(vue.unref(pageMode), linkPage);
6097
6101
  const href = props2.href;
@@ -6129,7 +6133,7 @@
6129
6133
  style: vue.normalizeStyle(_ctx.style)
6130
6134
  }, " \u8BF7\u4E0A\u4F20\u56FE\u7247 ", 4));
6131
6135
  }
6132
- const Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-4511899d"]]);
6136
+ const Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-ab94aeb2"]]);
6133
6137
  const EcanImage = withInstall(Image);
6134
6138
  const tableProps = {
6135
6139
  ...props,