@ecan-bi/datav 1.1.10 → 1.1.12
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 +7 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -6
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +3 -3
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.1.
|
|
1
|
+
/*! @ecan-bi/datav@1.1.12 */
|
|
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) {
|
|
@@ -1704,7 +1704,7 @@
|
|
|
1704
1704
|
const useRequestData = (props2, callBack = () => {
|
|
1705
1705
|
}) => {
|
|
1706
1706
|
const {
|
|
1707
|
-
requestUrl
|
|
1707
|
+
requestUrl,
|
|
1708
1708
|
requestMethod: method,
|
|
1709
1709
|
requestHeaders: headers,
|
|
1710
1710
|
requestParams,
|
|
@@ -1720,6 +1720,8 @@
|
|
|
1720
1720
|
getGlobalModel: (key) => void 0
|
|
1721
1721
|
});
|
|
1722
1722
|
const requestData = async (params = {}) => {
|
|
1723
|
+
const url = useVariablesInText(requestUrl);
|
|
1724
|
+
console.log("url", url);
|
|
1723
1725
|
if (!url || !method || !headers || vue.unref(pageMode) === "design")
|
|
1724
1726
|
return;
|
|
1725
1727
|
let _params = {};
|
|
@@ -2271,7 +2273,6 @@
|
|
|
2271
2273
|
console.warn(e);
|
|
2272
2274
|
}
|
|
2273
2275
|
}
|
|
2274
|
-
console.log("\u7ED3\u679C-formatter", formatter);
|
|
2275
2276
|
return formatter;
|
|
2276
2277
|
};
|
|
2277
2278
|
const useIndicatorData = (props2 = {}) => {
|
|
@@ -2860,7 +2861,7 @@
|
|
|
2860
2861
|
} else if (props2.format === "money") {
|
|
2861
2862
|
usedVariable = +usedVariable;
|
|
2862
2863
|
if (!isNaN(usedVariable)) {
|
|
2863
|
-
usedVariable = usedVariable
|
|
2864
|
+
usedVariable = formatMoney(usedVariable);
|
|
2864
2865
|
text = text.replace(variable, `<span style="color:${props2.variableColor};font-size:${props2.variableFontSize}">${usedVariable}</span>`);
|
|
2865
2866
|
}
|
|
2866
2867
|
} else {
|
|
@@ -2939,7 +2940,7 @@
|
|
|
2939
2940
|
};
|
|
2940
2941
|
}
|
|
2941
2942
|
});
|
|
2942
|
-
const
|
|
2943
|
+
const Text_vue_vue_type_style_index_0_scoped_39de3ad6_lang = "";
|
|
2943
2944
|
const _hoisted_1$8 = ["innerHTML"];
|
|
2944
2945
|
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2945
2946
|
const _component_skeleton = vue.resolveComponent("skeleton");
|
|
@@ -2957,7 +2958,7 @@
|
|
|
2957
2958
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
|
|
2958
2959
|
}, null, 12, _hoisted_1$8));
|
|
2959
2960
|
}
|
|
2960
|
-
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-
|
|
2961
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-39de3ad6"]]);
|
|
2961
2962
|
const EcanText = withInstall(Text);
|
|
2962
2963
|
const _sfc_main$m = vue.defineComponent({
|
|
2963
2964
|
name: "EcanScrollText",
|