@ecan-bi/datav 1.6.28 → 1.6.29

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.28 */
1
+ /*! @ecan-bi/datav@1.6.29 */
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";
@@ -37343,6 +37343,8 @@ const ValueLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_re
37343
37343
  height: "210px",
37344
37344
  zIndex: 1,
37345
37345
  borderRadius: "5",
37346
+ borderWidth: "",
37347
+ borderColor: "",
37346
37348
  componentIds: [],
37347
37349
  componentConfig: {},
37348
37350
  data: {},
@@ -37367,7 +37369,7 @@ const ValueLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_re
37367
37369
  for (const pr of fr)
37368
37370
  (+pr || +pr == 0) && gr.push(+pr + "px");
37369
37371
  }
37370
- return gr != null && gr.length && (dr.borderRadius = gr.join(" ")), unref(or) === "design" && (dr.border = "1px solid #a8a8a8"), ct.backgroundColor ? dr.backgroundColor = ct.backgroundColor : unref(tr) ? dr.backgroundColor = unref(tr) : dr.backgroundColor = "#B3AFAF", dr;
37372
+ return gr != null && gr.length && (dr.borderRadius = gr.join(" ")), ct.borderWidth && ct.borderColor && (dr.border = `${ct.borderWidth} solid ${ct.borderColor}`), unref(or) === "design" && !dr.border && (dr.border = "1px solid #a8a8a8"), ct.backgroundColor ? dr.backgroundColor = ct.backgroundColor : unref(tr) ? dr.backgroundColor = unref(tr) : dr.backgroundColor = "#B3AFAF", dr;
37371
37373
  }), lr = (Sr) => {
37372
37374
  var dr;
37373
37375
  const { rows: gr } = ((dr = Sr == null ? void 0 : Sr.data) == null ? void 0 : dr.data) || {};