@ecan-bi/datav 1.6.33 → 1.6.35

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.6.33 */
1
+ /*! @ecan-bi/datav@1.6.35 */
2
2
  import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h as h$1, 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, reactive, toRaw, createTextVNode, useCssVars, createSlots, resolveDirective, withDirectives, vShow, vModelText, getCurrentInstance, onActivated, onDeactivated, isRef, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
3
3
  import { throttle as throttle$2, init, use, registerMap } from "echarts/core";
4
4
  import { addListener, removeListener } from "resize-detector";
@@ -3009,7 +3009,7 @@ let On = (ct, Dn) => () => {
3009
3009
  };
3010
3010
  const Cn = (ct, Dn) => {
3011
3011
  let ur = ct;
3012
- const dr = /[.*+?^${}()|[\]\\]/, fr = Object.assign({ dayjs: wt }, Dn);
3012
+ const dr = /[.*+?^${}()()|[\]\\]/, fr = Object.assign({ dayjs: wt }, Dn);
3013
3013
  let hr = "";
3014
3014
  const mr = [];
3015
3015
  for (const vr in fr) {
@@ -18358,7 +18358,8 @@ const TimeDisplay = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_
18358
18358
  var Rr;
18359
18359
  const { columns: Mr = [], rows: jr = [] } = ((Rr = Dr == null ? void 0 : Dr.data) == null ? void 0 : Rr.data) ?? {};
18360
18360
  ct.isUseSeq && Mr.unshift(ct.seqName), yr.value.forEach((Hr, Zr) => {
18361
- (!ct.isUseSeq || Zr !== 0) && (Hr.title = Mr[Zr], Hr.key = Mr[Zr]);
18361
+ const Wr = Mr[Zr];
18362
+ Wr && (!ct.isUseSeq || Zr !== 0) && (Hr.title = Wr, Hr.key = Wr);
18362
18363
  }), ur.value = jr;
18363
18364
  }, br = useIndicatorData(ct, Cr), _r = async () => {
18364
18365
  try {
@@ -18447,7 +18448,7 @@ const TimeDisplay = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_
18447
18448
  }, Nr = (Dr, Mr) => {
18448
18449
  const { seqIconConfig: jr } = ct;
18449
18450
  let Rr = jr.find((Hr) => Hr.key === Dr + 1);
18450
- return Rr || (Rr = jr.find((Hr) => Hr.key === "other")), Mr === 1 ? Rr != null && Rr.icon ? useImagePath(Rr.icon) : "" : Mr === 2 ? (Rr == null ? void 0 : Rr.color) || "#fff" : "";
18451
+ return Rr || (Rr = jr.find((Hr) => Hr.key === "other")), Mr === 1 ? Rr != null && Rr.icon ? useImagePath(Rr.icon) : "" : Mr === 2 ? (Rr == null ? void 0 : Rr.color) || "#fff" : Mr === 3 ? (Rr == null ? void 0 : Rr.showText) === void 0 ? !0 : (Rr == null ? void 0 : Rr.showText) || "" : "";
18451
18452
  }, qr = (Dr) => {
18452
18453
  const { seqIndexFormatter: Mr } = ct, jr = Dr + 1;
18453
18454
  return Mr ? jn(
@@ -18505,7 +18506,7 @@ const TimeDisplay = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["render", _sfc_
18505
18506
  getText: (Dr, Mr) => (Dr.format != null || Dr.format !== "") && fr(Mr[Dr.key], Dr)
18506
18507
  };
18507
18508
  }
18508
- }), List_vue_vue_type_style_index_0_scoped_05746fc9_lang = "", List_vue_vue_type_style_index_1_lang = "", _withScopeId$6 = (ct) => (pushScopeId("data-v-05746fc9"), ct = ct(), popScopeId(), ct), _hoisted_1$k = {
18509
+ }), List_vue_vue_type_style_index_0_scoped_d88f15e6_lang = "", List_vue_vue_type_style_index_1_lang = "", _withScopeId$6 = (ct) => (pushScopeId("data-v-d88f15e6"), ct = ct(), popScopeId(), ct), _hoisted_1$k = {
18509
18510
  key: 0,
18510
18511
  class: "title"
18511
18512
  }, _hoisted_2$b = {
@@ -18619,7 +18620,8 @@ function _sfc_render$y(ct, Dn, ur, dr, fr, hr) {
18619
18620
  height: ct.seqIconHeight
18620
18621
  })
18621
18622
  }, null, 12, _hoisted_7$3)) : createCommentVNode("", !0),
18622
- createElementVNode("span", {
18623
+ ct.getSeqIconData(yr, 3) ? (openBlock(), createElementBlock("span", {
18624
+ key: 1,
18623
18625
  class: "custom-seq-text",
18624
18626
  style: normalizeStyle$1({
18625
18627
  fontSize: ct.seqFontSize,
@@ -18628,7 +18630,7 @@ function _sfc_render$y(ct, Dn, ur, dr, fr, hr) {
18628
18630
  left: ct.seqIconOffsetX,
18629
18631
  top: ct.seqIconOffsetY
18630
18632
  })
18631
- }, toDisplayString(ct.formatSeq(yr)), 5)
18633
+ }, toDisplayString(ct.formatSeq(yr)), 5)) : createCommentVNode("", !0)
18632
18634
  ], 4)) : (openBlock(), createElementBlock("div", _hoisted_8$3, [
18633
18635
  yr === 0 ? (openBlock(), createElementBlock("img", {
18634
18636
  key: 0,
@@ -18708,7 +18710,7 @@ function _sfc_render$y(ct, Dn, ur, dr, fr, hr) {
18708
18710
  renderSlot(ct.$slots, "toolbox", {}, void 0, !0)
18709
18711
  ], 4);
18710
18712
  }
18711
- const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$y], ["__scopeId", "data-v-05746fc9"]]), EcanList = withInstall$1(List), proportionProps = {
18713
+ const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$y], ["__scopeId", "data-v-d88f15e6"]]), EcanList = withInstall$1(List), proportionProps = {
18712
18714
  ...props$1,
18713
18715
  name: "占比图",
18714
18716
  keyName: "占比图",