@ecan-bi/datav 1.0.73 → 1.0.75
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 +5 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +3 -2
- package/package.json +5 -3
package/dist/index.es.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/*! @ecan-bi/datav@1.0.75 */
|
|
1
2
|
var _a, _b, _c;
|
|
2
3
|
import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, normalizeStyle, createCommentVNode, provide, toDisplayString, Fragment, renderList, createElementVNode, normalizeClass, pushScopeId, popScopeId, createSlots, resolveDynamicComponent, mergeProps, withModifiers, withDirectives, vShow } from "vue";
|
|
3
4
|
import { throttle, init, use, registerMap } from "echarts/core";
|
|
@@ -1723,7 +1724,7 @@ const useRequestData = (props2, callBack = () => {
|
|
|
1723
1724
|
_params[key] = useVariablesInText(value);
|
|
1724
1725
|
}
|
|
1725
1726
|
});
|
|
1726
|
-
_params = { ..._params, ...params };
|
|
1727
|
+
_params = { ...window.requestParams, ..._params, ...params };
|
|
1727
1728
|
let urlParams = "";
|
|
1728
1729
|
const keys = Object.keys(_params);
|
|
1729
1730
|
const last = keys.length - 1;
|
|
@@ -2777,7 +2778,8 @@ const _sfc_main$l = defineComponent({
|
|
|
2777
2778
|
var _a2;
|
|
2778
2779
|
const data = unref(myData);
|
|
2779
2780
|
let text = props2.text;
|
|
2780
|
-
text = text == null ? void 0 : text.replace(/\n|\\n/g, "<br
|
|
2781
|
+
text = text == null ? void 0 : text.replace(/\n|\\n/g, "<br/>");
|
|
2782
|
+
text = text == null ? void 0 : text.replace(/\s/g, " ");
|
|
2781
2783
|
const variables = text.match(/\{\s*[\w\u4e00-\u9fa5]*\s*\}/g);
|
|
2782
2784
|
if (variables == null || variables.length === 0)
|
|
2783
2785
|
return text;
|
|
@@ -2875,7 +2877,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2875
2877
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
|
|
2876
2878
|
}, null, 12, _hoisted_1$7));
|
|
2877
2879
|
}
|
|
2878
|
-
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-
|
|
2880
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-2c15326b"]]);
|
|
2879
2881
|
const EcanText = withInstall(Text);
|
|
2880
2882
|
const ScrollText_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2881
2883
|
const _sfc_main$k = defineComponent({
|