@ecan-bi/datav 1.4.77 → 1.4.79
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 +4 -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 +1 -1
- 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.79 */
|
|
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, reactive, useCssVars, toDisplayString, pushScopeId, popScopeId, createSlots, withModifiers, createTextVNode, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, withDirectives, vShow, 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";
|
|
@@ -9112,17 +9112,17 @@ const handleFormatter = (c) => c.replace(/\\n/g, `
|
|
|
9112
9112
|
getGlobalModel: p
|
|
9113
9113
|
}), { dimensions: b, dataset: w } = u, { classificationList: Bn = [] } = m, J = Bn.find((re) => re.show).label || "";
|
|
9114
9114
|
for (const re of y)
|
|
9115
|
-
b.
|
|
9115
|
+
!b.find((vn) => +vn == +re) && !isNaN(+re) && b.push(+re);
|
|
9116
9116
|
b.sort((re, vn) => dayjs(re).isBefore(dayjs(vn)) ? -1 : 1);
|
|
9117
9117
|
for (const re of w) {
|
|
9118
9118
|
const { data: vn } = re;
|
|
9119
9119
|
if (vn != null && vn.length) {
|
|
9120
9120
|
const Fn = [];
|
|
9121
9121
|
for (const Rn of y)
|
|
9122
|
-
if (vn.find((_) => _[J]
|
|
9122
|
+
if (!vn.find((_) => +_[J] == +Rn) && !isNaN(+Rn)) {
|
|
9123
9123
|
const _ = cloneDeep(vn[0]);
|
|
9124
9124
|
for (const gn in _)
|
|
9125
|
-
gn === J ? _[gn] = Rn : _[gn] = 0;
|
|
9125
|
+
gn === J ? _[gn] = +Rn : _[gn] = 0;
|
|
9126
9126
|
Fn.push(_);
|
|
9127
9127
|
}
|
|
9128
9128
|
re.data.push(...Fn), re.data.sort((Rn, _) => dayjs(Rn[J]).isBefore(dayjs(_[J])) ? -1 : 1);
|