@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.es.js +10 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +10 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +10 -11
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2743,7 +2743,7 @@ const textProps = {
|
|
|
2743
2743
|
alignItems: "center",
|
|
2744
2744
|
variableFontSize: "14px",
|
|
2745
2745
|
data: {},
|
|
2746
|
-
variableDefaultValue: "",
|
|
2746
|
+
variableDefaultValue: "0",
|
|
2747
2747
|
format: ""
|
|
2748
2748
|
};
|
|
2749
2749
|
const textComponentProps = transformToComponentProps(textProps);
|
|
@@ -3195,7 +3195,7 @@ const proportionProps = {
|
|
|
3195
3195
|
strokeTextWidth: "100%",
|
|
3196
3196
|
lineHeight: "26px",
|
|
3197
3197
|
decimalFormat: false,
|
|
3198
|
-
variableDefaultValue: ""
|
|
3198
|
+
variableDefaultValue: "0"
|
|
3199
3199
|
};
|
|
3200
3200
|
const proportionComponentProps = transformToComponentProps(proportionProps);
|
|
3201
3201
|
const proportionEvents = ["refreshData", "click"];
|
|
@@ -5937,6 +5937,7 @@ const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4
|
|
|
5937
5937
|
const EcanModal = withInstall(Modal);
|
|
5938
5938
|
const tabsProps = {
|
|
5939
5939
|
...props,
|
|
5940
|
+
tabHorizontalPadding: "0px",
|
|
5940
5941
|
type: "ecanTabs",
|
|
5941
5942
|
name: "\u6807\u7B7E\u9875",
|
|
5942
5943
|
keyName: "\u6807\u7B7E\u9875",
|
|
@@ -6021,7 +6022,7 @@ const _sfc_main$3 = defineComponent({
|
|
|
6021
6022
|
};
|
|
6022
6023
|
}
|
|
6023
6024
|
});
|
|
6024
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
6025
|
+
const _withScopeId = (n) => (pushScopeId("data-v-019ea41f"), n = n(), popScopeId(), n);
|
|
6025
6026
|
const _hoisted_1$3 = ["onClick"];
|
|
6026
6027
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "tabs-content" }, null, -1));
|
|
6027
6028
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -6039,6 +6040,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6039
6040
|
return openBlock(), createElementBlock("div", {
|
|
6040
6041
|
class: "tab",
|
|
6041
6042
|
style: normalizeStyle({
|
|
6043
|
+
padding: `5px ${_ctx.tabHorizontalPadding}`,
|
|
6042
6044
|
color: _ctx.isActive(index2) ? _ctx.activeTabColor : _ctx.tabColor,
|
|
6043
6045
|
backgroundImage: _ctx.isActive(index2) ? _ctx.useImagePath(_ctx.activeTabBackgroundImage, true) : _ctx.useImagePath(_ctx.tabBackgroundImage, true),
|
|
6044
6046
|
marginRight: _ctx.tabBarGutter
|
|
@@ -6049,7 +6051,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6049
6051
|
createElementVNode("div", {
|
|
6050
6052
|
class: "tab-inner",
|
|
6051
6053
|
style: normalizeStyle({
|
|
6052
|
-
borderBottom: `1px solid ${_ctx.isActive(index2) ? _ctx.activeTabColor : "transparent"}`
|
|
6054
|
+
borderBottom: !_ctx.activeTabBackgroundImage && !_ctx.tabBackgroundImage ? `1px solid ${_ctx.isActive(index2) ? _ctx.activeTabColor : "transparent"}` : ""
|
|
6053
6055
|
})
|
|
6054
6056
|
}, toDisplayString(tab.title), 5)
|
|
6055
6057
|
], 12, _hoisted_1$3);
|
|
@@ -6058,7 +6060,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6058
6060
|
_hoisted_2$1
|
|
6059
6061
|
], 4);
|
|
6060
6062
|
}
|
|
6061
|
-
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
6063
|
+
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-019ea41f"]]);
|
|
6062
6064
|
const EcanTabs = withInstall(Tabs);
|
|
6063
6065
|
const imageProps = {
|
|
6064
6066
|
...props,
|
|
@@ -6086,6 +6088,8 @@ const _sfc_main$2 = defineComponent({
|
|
|
6086
6088
|
pageMode: "normal"
|
|
6087
6089
|
});
|
|
6088
6090
|
const onClick = () => {
|
|
6091
|
+
if (!props2.linkPage && !props2.href)
|
|
6092
|
+
return;
|
|
6089
6093
|
const linkPage = props2.linkPage || "";
|
|
6090
6094
|
const pageUrl = usePageUrl(unref(pageMode), linkPage);
|
|
6091
6095
|
const href = props2.href;
|
|
@@ -6123,7 +6127,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6123
6127
|
style: normalizeStyle(_ctx.style)
|
|
6124
6128
|
}, " \u8BF7\u4E0A\u4F20\u56FE\u7247 ", 4));
|
|
6125
6129
|
}
|
|
6126
|
-
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
6130
|
+
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-ab94aeb2"]]);
|
|
6127
6131
|
const EcanImage = withInstall(Image);
|
|
6128
6132
|
const tableProps = {
|
|
6129
6133
|
...props,
|