@ecan-bi/datav 1.5.65 → 1.5.66

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.5.65 */
1
+ /*! @ecan-bi/datav@1.5.66 */
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, withModifiers, toDisplayString, pushScopeId, popScopeId, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, toRaw, reactive, useCssVars, createSlots, resolveDirective, withDirectives, vShow, createTextVNode, vModelText, getCurrentInstance, onActivated, onDeactivated, isRef, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
3
3
  import { throttle as throttle$1, init, use, registerMap } from "echarts/core";
4
4
  import { addListener, removeListener } from "resize-detector";
@@ -2728,8 +2728,12 @@ const An = ["keyValue", "conditionKey", "conditionLabel", "conditionName", "cond
2728
2728
  }
2729
2729
  }
2730
2730
  }, Ln = (c, u) => {
2731
- const f = Sn.find((d) => d.id === c);
2732
- return (f == null ? void 0 : f.keyName) || u || "";
2731
+ const f = Sn.find((p) => p.id === c), { keyName: d } = f;
2732
+ if (d) {
2733
+ const p = /-(startTime|endTime)/g, m = u.match(p);
2734
+ return m != null && m.length ? `${d}${m[0]}` : d;
2735
+ }
2736
+ return u || "";
2733
2737
  }, Tn = (c) => {
2734
2738
  if (!c)
2735
2739
  return [];