@ecan-bi/datav 1.6.22 → 1.6.24
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 +6 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.6.
|
|
1
|
+
/*! @ecan-bi/datav@1.6.24 */
|
|
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";
|
|
@@ -21534,8 +21534,10 @@ const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_rende
|
|
|
21534
21534
|
const Lr = unref(er).filter((Ur) => qr == null ? void 0 : qr.find((Jr) => typeof Jr == "object" ? Jr.value === Ur.value : Jr === Ur.value));
|
|
21535
21535
|
return Lr != null && Lr.length ? (Fr.itemCodes = Lr.map((Ur) => Ur[sr.value]).join(","), Fr.itemLabels = Lr.map((Ur) => Ur[sr.label]).join(",")) : (Fr.itemCodes = "", Fr.itemLabels = ""), Fr;
|
|
21536
21536
|
}), Dr = () => {
|
|
21537
|
+
var Ur;
|
|
21537
21538
|
const Fr = ct.id, qr = nr(Fr);
|
|
21538
|
-
|
|
21539
|
+
let Lr = unref(br);
|
|
21540
|
+
Array.isArray(Lr) ? Lr = unref(br).map((Jr) => typeof Jr == "object" ? (Jr == null ? void 0 : Jr.value) || "" : Jr) : typeof Lr == "object" && (Lr = ((Ur = unref(br)) == null ? void 0 : Ur.value) || ""), or(Fr, { ...qr, ...unref(Mr), RECORD: Lr, value: Lr });
|
|
21539
21541
|
}, Vr = useEmitEvent(ct)("selectChange", Dr);
|
|
21540
21542
|
watch(() => [ct.multiple, ct.value, ct.treeCheckable, ct.selectFirstOption, ct.selectAllOption, ir.value], () => {
|
|
21541
21543
|
const { value: Fr, selectFirstOption: qr, selectAllOption: Lr } = ct;
|
|
@@ -21656,7 +21658,7 @@ const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_rende
|
|
|
21656
21658
|
}
|
|
21657
21659
|
};
|
|
21658
21660
|
}
|
|
21659
|
-
},
|
|
21661
|
+
}, TreeSelect_vue_vue_type_style_index_0_scoped_f35c3940_lang = "", TreeSelect_vue_vue_type_style_index_1_lang = "";
|
|
21660
21662
|
function _sfc_render$o(ct, Fn, er, tr, nr, or) {
|
|
21661
21663
|
const ar = resolveComponent("a-tree-select");
|
|
21662
21664
|
return openBlock(), createElementBlock("div", {
|
|
@@ -21687,7 +21689,7 @@ function _sfc_render$o(ct, Fn, er, tr, nr, or) {
|
|
|
21687
21689
|
}, null, 8, ["value", "loading", "fieldNames", "treeData", "maxTagCount", "multiple", "treeCheckable", "filterTreeNode", "placeholder", "dropdownRender", "onSearch", "onSelect", "onChange", "onDropdownVisibleChange"])
|
|
21688
21690
|
], 4);
|
|
21689
21691
|
}
|
|
21690
|
-
const TreeSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$o], ["__scopeId", "data-v-
|
|
21692
|
+
const TreeSelect = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$o], ["__scopeId", "data-v-f35c3940"]]), EcanTreeSelect = withInstall$1(TreeSelect), radioProps = {
|
|
21691
21693
|
...props$1,
|
|
21692
21694
|
width: "260px",
|
|
21693
21695
|
height: "32px",
|