@ecan-bi/datav 1.1.9 → 1.1.11
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 -7
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +10 -7
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +14 -3
- package/package.json +1 -1
- package/types/graph/bar/Bar.vue.d.ts +56 -0
- package/types/graph/bar/index.d.ts +56 -0
- package/types/graph/bar/props.d.ts +30 -0
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.1.
|
|
1
|
+
/*! @ecan-bi/datav@1.1.11 */
|
|
2
2
|
(function(global, factory) {
|
|
3
3
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue"), require("echarts/core"), require("resize-detector"), require("ant-design-vue"), require("ant-design-vue/es/spin/style"), require("ant-design-vue/es/skeleton/style"), require("lodash-es"), require("axios"), require("mitt"), require("dayjs"), require("ant-design-vue/es/progress/style"), require("ant-design-vue/es/input/style"), require("ant-design-vue/es/date-picker/style"), require("ant-design-vue/es/date-picker/locale/zh_CN"), require("ant-design-vue/es/select/style"), require("ant-design-vue/es/button/style"), require("ant-design-vue/es/checkbox/style"), require("echarts/renderers"), require("echarts/charts"), require("echarts/components"), require("echarts"), require("ant-design-vue/es/modal/style"), require("ant-design-vue/es/table/style")) : typeof define === "function" && define.amd ? define(["exports", "vue", "echarts/core", "resize-detector", "ant-design-vue", "ant-design-vue/es/spin/style", "ant-design-vue/es/skeleton/style", "lodash-es", "axios", "mitt", "dayjs", "ant-design-vue/es/progress/style", "ant-design-vue/es/input/style", "ant-design-vue/es/date-picker/style", "ant-design-vue/es/date-picker/locale/zh_CN", "ant-design-vue/es/select/style", "ant-design-vue/es/button/style", "ant-design-vue/es/checkbox/style", "echarts/renderers", "echarts/charts", "echarts/components", "echarts", "ant-design-vue/es/modal/style", "ant-design-vue/es/table/style"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["@ecan/bi-datav"] = {}, global.vue, global["echarts/core"], global["resize-detector"], global["ant-design-vue"], null, null, global["lodash-es"], global.axios, global.mitt, global.dayjs, null, null, null, global["ant-design-vue/es/date-picker/locale/zh_CN"], null, null, null, global["echarts/renderers"], global["echarts/charts"], global["echarts/components"], global.echarts));
|
|
4
4
|
})(this, function(exports2, vue, core, resizeDetector, antDesignVue, style$1, style$2, lodashEs, axios, mitt, dayjs, style$3, style$4, style$5, locale, style$6, style$7, style$8, renderers, charts, components$1, echarts) {
|
|
@@ -2271,7 +2271,6 @@
|
|
|
2271
2271
|
console.warn(e);
|
|
2272
2272
|
}
|
|
2273
2273
|
}
|
|
2274
|
-
console.log("\u7ED3\u679C-formatter", formatter);
|
|
2275
2274
|
return formatter;
|
|
2276
2275
|
};
|
|
2277
2276
|
const useIndicatorData = (props2 = {}) => {
|
|
@@ -2860,7 +2859,7 @@
|
|
|
2860
2859
|
} else if (props2.format === "money") {
|
|
2861
2860
|
usedVariable = +usedVariable;
|
|
2862
2861
|
if (!isNaN(usedVariable)) {
|
|
2863
|
-
usedVariable = usedVariable
|
|
2862
|
+
usedVariable = formatMoney(usedVariable);
|
|
2864
2863
|
text = text.replace(variable, `<span style="color:${props2.variableColor};font-size:${props2.variableFontSize}">${usedVariable}</span>`);
|
|
2865
2864
|
}
|
|
2866
2865
|
} else {
|
|
@@ -2939,7 +2938,7 @@
|
|
|
2939
2938
|
};
|
|
2940
2939
|
}
|
|
2941
2940
|
});
|
|
2942
|
-
const
|
|
2941
|
+
const Text_vue_vue_type_style_index_0_scoped_39de3ad6_lang = "";
|
|
2943
2942
|
const _hoisted_1$8 = ["innerHTML"];
|
|
2944
2943
|
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2945
2944
|
const _component_skeleton = vue.resolveComponent("skeleton");
|
|
@@ -2957,7 +2956,7 @@
|
|
|
2957
2956
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
|
|
2958
2957
|
}, null, 12, _hoisted_1$8));
|
|
2959
2958
|
}
|
|
2960
|
-
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-
|
|
2959
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-39de3ad6"]]);
|
|
2961
2960
|
const EcanText = withInstall(Text);
|
|
2962
2961
|
const _sfc_main$m = vue.defineComponent({
|
|
2963
2962
|
name: "EcanScrollText",
|
|
@@ -4930,7 +4929,9 @@
|
|
|
4930
4929
|
yAxisInverse: false,
|
|
4931
4930
|
isStack: false,
|
|
4932
4931
|
labelShow: false,
|
|
4933
|
-
labelFontSize: "12px"
|
|
4932
|
+
labelFontSize: "12px",
|
|
4933
|
+
labelPosition: "inside",
|
|
4934
|
+
labelColor: ""
|
|
4934
4935
|
};
|
|
4935
4936
|
const barComponentProps = transformToComponentProps(barProps);
|
|
4936
4937
|
const barEvents = ["refreshData", "click"];
|
|
@@ -4974,7 +4975,9 @@
|
|
|
4974
4975
|
}
|
|
4975
4976
|
item.label = {
|
|
4976
4977
|
show: props2.labelShow,
|
|
4977
|
-
fontSize: props2.labelFontSize
|
|
4978
|
+
fontSize: props2.labelFontSize,
|
|
4979
|
+
position: props2.labelPosition,
|
|
4980
|
+
color: props2.labelColor
|
|
4978
4981
|
};
|
|
4979
4982
|
series2.push(item);
|
|
4980
4983
|
}
|