@ecan-bi/datav 1.4.17 → 1.4.19

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.4.17 */
1
+ /*! @ecan-bi/datav@1.4.19 */
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, useCssVars, toDisplayString, pushScopeId, popScopeId, createSlots, withModifiers, createTextVNode, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, withDirectives, vShow, reactive, vModelText, getCurrentInstance, onDeactivated, isRef, onActivated, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
3
3
  import { throttle, init, use, registerMap } from "echarts/core";
4
4
  import { addListener, removeListener } from "resize-detector";
@@ -26999,7 +26999,9 @@ const DataSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_r
26999
26999
  // 下拉菜单-背景色
27000
27000
  dropDownMenuBgColor: "#FFFFFF",
27001
27001
  // 下拉菜单-字体颜色
27002
- dropDownMenuColor: "#141414"
27002
+ dropDownMenuColor: "#141414",
27003
+ // 下拉菜单-菜单项高亮颜色
27004
+ dropDownMenuHightLightColor: "#2E68CF"
27003
27005
  }
27004
27006
  }, pivotTableComponentProps = transformToComponentProps(pivotTableProps), pivotTableEvents = ["refreshData"], _sfc_main$1 = defineComponent({
27005
27007
  name: "EcanPivotTable",
@@ -27129,7 +27131,7 @@ const DataSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_r
27129
27131
  unref(l).find((C) => C.data.indicatorKey === M.data.indicatorKey) || l.value.push(M), m();
27130
27132
  }, P = (M) => {
27131
27133
  const C = unref(l).findIndex((A) => A.data.indicatorKey === M);
27132
- C !== -1 && l.value.splice(C, 1);
27134
+ C !== -1 && l.value.splice(C, 1), m();
27133
27135
  }, R = (M) => {
27134
27136
  const { key: C = "", rule: A = {}, type: N = "" } = M || {}, { rule: w, value: $ } = A;
27135
27137
  if (C && w && $) {
@@ -27168,6 +27170,12 @@ const DataSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_r
27168
27170
  f.value = M || {}, m();
27169
27171
  }, O = (M) => {
27170
27172
  const { key: C, order: A, type: N, columnData: w = [] } = M;
27173
+ if (N === "indicators") {
27174
+ let $ = "";
27175
+ for (const L in unref(u))
27176
+ unref(u)[L].type === "indicators" && ($ = L);
27177
+ $ && delete unref(u)[$];
27178
+ }
27171
27179
  unref(u)[C] = {
27172
27180
  order: A,
27173
27181
  type: N,
@@ -27215,7 +27223,7 @@ const DataSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_r
27215
27223
  }
27216
27224
  };
27217
27225
  }
27218
- }), PivotTableContainer_vue_vue_type_style_index_0_scoped_8c905787_lang = "";
27226
+ }), PivotTableContainer_vue_vue_type_style_index_0_scoped_20f3ea88_lang = "";
27219
27227
  function _sfc_render$1(e, n, r, i, a, o) {
27220
27228
  const s = resolveComponent("pivot-table");
27221
27229
  return openBlock(), createElementBlock("div", {
@@ -27230,7 +27238,7 @@ function _sfc_render$1(e, n, r, i, a, o) {
27230
27238
  }), null, 16, ["pageMode", "theme", "calculateList", "onTableChange"])
27231
27239
  ], 4);
27232
27240
  }
27233
- const PivotTableContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-8c905787"]]), EcanPivotTable = withInstall$1(PivotTableContainer), valueLineProps = {
27241
+ const PivotTableContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-20f3ea88"]]), EcanPivotTable = withInstall$1(PivotTableContainer), valueLineProps = {
27234
27242
  ...props,
27235
27243
  id: "",
27236
27244
  name: "双值轴折线图",