@ecan-bi/datav 1.4.69 → 1.4.71
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 +10 -8
- 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.4.
|
|
1
|
+
/*! @ecan-bi/datav@1.4.71 */
|
|
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";
|
|
@@ -13904,13 +13904,13 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_ren
|
|
|
13904
13904
|
const { mode: fr, selectFirstOption: vr, value: pr } = c, dr = Fn(pr), gr = Rn.value;
|
|
13905
13905
|
if (fr === "multiple" || fr === "tags" || fr === "combobox") {
|
|
13906
13906
|
if (dr)
|
|
13907
|
-
b.value = dr.split(",");
|
|
13907
|
+
b.value = unref(dr).split(",");
|
|
13908
13908
|
else if (vr) {
|
|
13909
13909
|
const mr = unref(y)[0];
|
|
13910
13910
|
b.value = mr ? [mr[gr]] : [];
|
|
13911
13911
|
}
|
|
13912
13912
|
} else if (dr)
|
|
13913
|
-
b.value = dr;
|
|
13913
|
+
b.value = unref(dr);
|
|
13914
13914
|
else if (vr) {
|
|
13915
13915
|
const mr = unref(y)[0];
|
|
13916
13916
|
b.value = mr ? mr[gr] : "";
|
|
@@ -13919,10 +13919,11 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_ren
|
|
|
13919
13919
|
immediate: !0
|
|
13920
13920
|
});
|
|
13921
13921
|
const _ = (fr, vr) => {
|
|
13922
|
+
var Cr;
|
|
13922
13923
|
const pr = Rn.label, dr = Rn.value;
|
|
13923
13924
|
let gr;
|
|
13924
13925
|
const mr = vr[pr], xr = vr[dr];
|
|
13925
|
-
return mr != null ? gr = mr : xr != null && (gr = xr), (gr == null ? void 0 : gr.toLowerCase().indexOf(fr == null ? void 0 : fr.toLowerCase())) >= 0;
|
|
13926
|
+
return mr != null ? gr = mr : xr != null && (gr = xr), gr ? (gr == null ? void 0 : gr.toLowerCase().indexOf(fr == null ? void 0 : fr.toLowerCase())) >= 0 : ((Cr = vr.label) == null ? void 0 : Cr.toLowerCase().indexOf(fr == null ? void 0 : fr.toLowerCase())) >= 0;
|
|
13926
13927
|
}, vn = (fr) => {
|
|
13927
13928
|
const { label: vr, value: pr, options: dr } = c.dataFieldNames;
|
|
13928
13929
|
if (dr && Array.isArray(fr))
|
|
@@ -14149,7 +14150,7 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_ren
|
|
|
14149
14150
|
mobileSelectValue: m
|
|
14150
14151
|
};
|
|
14151
14152
|
}
|
|
14152
|
-
}),
|
|
14153
|
+
}), Select_vue_vue_type_style_index_0_scoped_81dec643_lang = "", Select_vue_vue_type_style_index_1_lang = "";
|
|
14153
14154
|
function _sfc_render$m(c, u, f, d, p, m) {
|
|
14154
14155
|
const g = resolveComponent("down-outlined"), v = resolveComponent("a-input"), y = resolveComponent("van-picker"), b = resolveComponent("van-popup"), w = resolveComponent("a-select-option"), Bn = resolveComponent("a-select");
|
|
14155
14156
|
return openBlock(), createElementBlock("div", {
|
|
@@ -14209,19 +14210,20 @@ function _sfc_render$m(c, u, f, d, p, m) {
|
|
|
14209
14210
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(c.options, (x, J) => (openBlock(), createBlock(w, {
|
|
14210
14211
|
key: J,
|
|
14211
14212
|
value: x.value,
|
|
14212
|
-
style: normalizeStyle$1({ fontSize: c.optionFontSize })
|
|
14213
|
+
style: normalizeStyle$1({ fontSize: c.optionFontSize }),
|
|
14214
|
+
label: x.label
|
|
14213
14215
|
}, {
|
|
14214
14216
|
default: withCtx(() => [
|
|
14215
14217
|
createTextVNode(toDisplayString(x.label), 1)
|
|
14216
14218
|
]),
|
|
14217
14219
|
_: 2
|
|
14218
|
-
}, 1032, ["value", "style"]))), 128))
|
|
14220
|
+
}, 1032, ["value", "style", "label"]))), 128))
|
|
14219
14221
|
]),
|
|
14220
14222
|
_: 1
|
|
14221
14223
|
}, 8, ["value", "placeholder", "allowClear", "mode", "getPopupContainer", "maxTagCount", "filterOption", "loading", "autoClearSearchValue", "onChange", "style"]))
|
|
14222
14224
|
], 4);
|
|
14223
14225
|
}
|
|
14224
|
-
const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$m], ["__scopeId", "data-v-
|
|
14226
|
+
const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$m], ["__scopeId", "data-v-81dec643"]]), EcanSelect = withInstall$1(Select), treeSelectProps = {
|
|
14225
14227
|
...props,
|
|
14226
14228
|
name: "树形下拉框选择器",
|
|
14227
14229
|
keyName: "树形下拉框选择器",
|