@ecan-bi/datav 1.6.19 → 1.6.21

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.19 */
1
+ /*! @ecan-bi/datav@1.6.21 */
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";
@@ -3077,7 +3077,7 @@ const Cn = (ct, Fn) => {
3077
3077
  return ct;
3078
3078
  };
3079
3079
  function Dn(ct) {
3080
- return Number(ct).toLocaleString("zh-CN", { minimumFractionDigits: 2 });
3080
+ return Number(ct).toLocaleString("zh-CN", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
3081
3081
  }
3082
3082
  function $n(ct) {
3083
3083
  return Number(ct).toLocaleString();
@@ -21003,7 +21003,7 @@ const vue3VirtualScroller = "", _sfc_main$n = defineComponent({
21003
21003
  const Wr = {};
21004
21004
  let Xr = toRaw(unref(lr));
21005
21005
  ct.mode !== "multiple" && (Xr = [Xr]);
21006
- const hi = unref(Dr).filter((vi) => Xr.includes(vi.value));
21006
+ const hi = unref(Dr).filter((vi) => Xr == null ? void 0 : Xr.includes(vi.value));
21007
21007
  return hi != null && hi.length && (Wr.itemCodes = hi.map((vi) => vi[hr.value]).join(","), Wr.itemLabels = hi.map((vi) => vi[hr.label]).join(",")), Wr;
21008
21008
  }), Vr = computed(() => {
21009
21009
  const { value: Wr, label: Xr } = hr, hi = unref(sr).find((vi) => vi[Wr] === unref(mr));
@@ -21204,7 +21204,7 @@ const vue3VirtualScroller = "", _sfc_main$n = defineComponent({
21204
21204
  mobileMultOptions: Sr
21205
21205
  };
21206
21206
  }
21207
- }), Select_vue_vue_type_style_index_0_scoped_87e8a4b4_lang = "", Select_vue_vue_type_style_index_1_lang = "", _withScopeId$5 = (ct) => (pushScopeId("data-v-87e8a4b4"), ct = ct(), popScopeId(), ct), _hoisted_1$d = { class: "popup-toolbar" }, _hoisted_2$8 = { class: "operate" }, _hoisted_3$3 = {
21207
+ }), Select_vue_vue_type_style_index_0_scoped_8df5f829_lang = "", Select_vue_vue_type_style_index_1_lang = "", _withScopeId$5 = (ct) => (pushScopeId("data-v-8df5f829"), ct = ct(), popScopeId(), ct), _hoisted_1$d = { class: "popup-toolbar" }, _hoisted_2$8 = { class: "operate" }, _hoisted_3$3 = {
21208
21208
  key: 0,
21209
21209
  class: "cancel-tool"
21210
21210
  }, _hoisted_4$2 = /* @__PURE__ */ createTextVNode(" 全选 "), _hoisted_5$2 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "title-tool" }, null, -1)), _hoisted_6$2 = { style: { flex: "1", overflow: "auto" } }, _hoisted_7$2 = { style: { padding: "4px 10px", cursor: "pointer" } }, _hoisted_8$2 = /* @__PURE__ */ createTextVNode(" 全选 ");
@@ -21396,7 +21396,7 @@ function _sfc_render$p(ct, Fn, er, tr, nr, or) {
21396
21396
  renderSlot(ct.$slots, "toolbox", {}, void 0, !0)
21397
21397
  ], 4);
21398
21398
  }
21399
- const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$p], ["__scopeId", "data-v-87e8a4b4"]]), EcanSelect = withInstall$1(Select), treeSelectProps = {
21399
+ const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$p], ["__scopeId", "data-v-8df5f829"]]), EcanSelect = withInstall$1(Select), treeSelectProps = {
21400
21400
  ...props$1,
21401
21401
  name: "树形下拉框选择器",
21402
21402
  keyName: "树形下拉框选择器",