@ecan-bi/datav 1.1.10 → 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 CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.1.10 */
1
+ /*! @ecan-bi/datav@1.1.11 */
2
2
  var _a, _b, _c, _d;
3
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, onBeforeUnmount, toDisplayString, Fragment, renderList, createElementVNode, normalizeClass, pushScopeId, popScopeId, createSlots, resolveDynamicComponent, mergeProps, withModifiers, reactive, createTextVNode, withDirectives, vShow } from "vue";
4
4
  import { throttle, init, use, registerMap } from "echarts/core";
@@ -2266,7 +2266,6 @@ const useValueFormatter = (formatter, value) => {
2266
2266
  console.warn(e);
2267
2267
  }
2268
2268
  }
2269
- console.log("\u7ED3\u679C-formatter", formatter);
2270
2269
  return formatter;
2271
2270
  };
2272
2271
  const useIndicatorData = (props2 = {}) => {
@@ -2855,7 +2854,7 @@ const _sfc_main$n = defineComponent({
2855
2854
  } else if (props2.format === "money") {
2856
2855
  usedVariable = +usedVariable;
2857
2856
  if (!isNaN(usedVariable)) {
2858
- usedVariable = usedVariable.toFixed(2).toLocaleString();
2857
+ usedVariable = formatMoney(usedVariable);
2859
2858
  text = text.replace(variable, `<span style="color:${props2.variableColor};font-size:${props2.variableFontSize}">${usedVariable}</span>`);
2860
2859
  }
2861
2860
  } else {
@@ -2934,7 +2933,7 @@ const _sfc_main$n = defineComponent({
2934
2933
  };
2935
2934
  }
2936
2935
  });
2937
- const Text_vue_vue_type_style_index_0_scoped_445a06d8_lang = "";
2936
+ const Text_vue_vue_type_style_index_0_scoped_39de3ad6_lang = "";
2938
2937
  const _hoisted_1$8 = ["innerHTML"];
2939
2938
  function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
2940
2939
  const _component_skeleton = resolveComponent("skeleton");
@@ -2952,7 +2951,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
2952
2951
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
2953
2952
  }, null, 12, _hoisted_1$8));
2954
2953
  }
2955
- const Text = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-445a06d8"]]);
2954
+ const Text = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-39de3ad6"]]);
2956
2955
  const EcanText = withInstall(Text);
2957
2956
  const _sfc_main$m = defineComponent({
2958
2957
  name: "EcanScrollText",