@ecan-bi/datav 1.4.97 → 1.4.98
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 +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.4.
|
|
1
|
+
/*! @ecan-bi/datav@1.4.98 */
|
|
2
2
|
import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, onBeforeUnmount, normalizeClass as normalizeClass$1, normalizeStyle as normalizeStyle$1, createElementVNode, createCommentVNode, Fragment, renderList, provide, reactive, toDisplayString, mergeProps, useCssVars, pushScopeId, popScopeId, createSlots, withModifiers, createTextVNode, Teleport, resolveDynamicComponent, normalizeProps, toHandlers, withDirectives, vShow, vModelText, getCurrentInstance, onActivated, onDeactivated, isRef, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
|
|
3
3
|
import { throttle, init, use, registerMap } from "echarts/core";
|
|
4
4
|
import { addListener, removeListener } from "resize-detector";
|
|
@@ -31382,10 +31382,10 @@ const ValueLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_re
|
|
|
31382
31382
|
const { componentIds: re, componentConfig: Pn, graphicConfig: zn } = c, qn = [], Yn = zn == null ? void 0 : zn.indicators.find((Wn) => Wn.show);
|
|
31383
31383
|
d.value = Rn.color;
|
|
31384
31384
|
for (const Wn of re) {
|
|
31385
|
-
const Xn = unref(v).find((
|
|
31385
|
+
const Xn = unref(v).find((Qn) => Qn.id === Wn), Jn = Pn[Wn], { text: Zn = "" } = Xn;
|
|
31386
31386
|
qn.push({
|
|
31387
31387
|
id: Wn,
|
|
31388
|
-
text:
|
|
31388
|
+
text: Zn.includes("{value}") || Zn.includes("{") || Zn.includes("}") ? Zn : "{value}",
|
|
31389
31389
|
data: {
|
|
31390
31390
|
value: Jn.key === "indexName" ? Yn.label : Rn[Jn.key]
|
|
31391
31391
|
}
|