@ecan-bi/datav 1.5.76 → 1.5.77

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.76 */
1
+ /*! @ecan-bi/datav@1.5.77 */
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";
@@ -17978,11 +17978,10 @@ const vue3VirtualScroller = "", _sfc_main$j = defineComponent({
17978
17978
  return br;
17979
17979
  }), Qn = ref([]), sr = computed(() => {
17980
17980
  const br = {};
17981
- if (c.mode !== "multiple") {
17982
- const xr = unref(Qn).find((Ar) => Ar.value === unref(b));
17983
- xr && (br.itemCodes = xr[re.value]);
17984
- }
17985
- return br;
17981
+ let xr = toRaw(unref(b));
17982
+ c.mode !== "multiple" && (xr = [xr]);
17983
+ const Ar = unref(Qn).filter((Ir) => xr.includes(Ir.value));
17984
+ return Ar != null && Ar.length && (br.itemCodes = Ar.map((Ir) => Ir[re.value]).join(",")), br;
17986
17985
  }), pr = computed(() => {
17987
17986
  const { value: br, label: xr } = re, Ar = unref(y).find((Ir) => Ir[br] === unref(J));
17988
17987
  return Ar ? {
@@ -18180,7 +18179,7 @@ const vue3VirtualScroller = "", _sfc_main$j = defineComponent({
18180
18179
  mobileMultOptions: zn
18181
18180
  };
18182
18181
  }
18183
- }), Select_vue_vue_type_style_index_0_scoped_1720460d_lang = "", Select_vue_vue_type_style_index_1_lang = "", _withScopeId$4 = (c) => (pushScopeId("data-v-1720460d"), c = c(), popScopeId(), c), _hoisted_1$b = { class: "popup-toolbar" }, _hoisted_2$6 = { class: "operate" }, _hoisted_3$2 = {
18182
+ }), Select_vue_vue_type_style_index_0_scoped_f0ec57dd_lang = "", Select_vue_vue_type_style_index_1_lang = "", _withScopeId$4 = (c) => (pushScopeId("data-v-f0ec57dd"), c = c(), popScopeId(), c), _hoisted_1$b = { class: "popup-toolbar" }, _hoisted_2$6 = { class: "operate" }, _hoisted_3$2 = {
18184
18183
  key: 0,
18185
18184
  class: "cancel-tool"
18186
18185
  }, _hoisted_4$2 = /* @__PURE__ */ createTextVNode(" 全选 "), _hoisted_5$2 = /* @__PURE__ */ _withScopeId$4(() => /* @__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(" 全选 ");
@@ -18372,7 +18371,7 @@ function _sfc_render$l(c, u, f, d, p, m) {
18372
18371
  renderSlot(c.$slots, "toolbox", {}, void 0, !0)
18373
18372
  ], 4);
18374
18373
  }
18375
- const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$l], ["__scopeId", "data-v-1720460d"]]), EcanSelect = withInstall$1(Select), treeSelectProps = {
18374
+ const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$l], ["__scopeId", "data-v-f0ec57dd"]]), EcanSelect = withInstall$1(Select), treeSelectProps = {
18376
18375
  ...props$1,
18377
18376
  name: "树形下拉框选择器",
18378
18377
  keyName: "树形下拉框选择器",