@ecan-bi/datav 1.3.71 → 1.3.72
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 +17 -14
- 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.3.
|
|
1
|
+
/*! @ecan-bi/datav@1.3.72 */
|
|
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";
|
|
@@ -7827,7 +7827,7 @@ const runCode = (e, r) => {
|
|
|
7827
7827
|
customRequestParams: u
|
|
7828
7828
|
} = e, { pageMode: y } = inject(GLOBAL_CONFIG, {
|
|
7829
7829
|
pageMode: "normal"
|
|
7830
|
-
}), { contextRequestUrl: m, touchEventId: b } = inject(GLOBAL_CONFIG, {
|
|
7830
|
+
}) || {}, { contextRequestUrl: m, touchEventId: b } = inject(GLOBAL_CONFIG, {
|
|
7831
7831
|
contextRequestUrl: "",
|
|
7832
7832
|
touchEventId: ""
|
|
7833
7833
|
}) || {}, { getGlobalModel: w } = inject(GLOBAL_MODEL, {
|
|
@@ -7900,19 +7900,22 @@ const runCode = (e, r) => {
|
|
|
7900
7900
|
Object.prototype.toString.call(F) === "[object Object]" && (F = JSON.stringify(F)), N === 0 ? O !== 1 ? k += `?${B}=${F}&` : k += `?${B}=${F}` : N === D ? k += `${B}=${F}` : k += `${B}=${F}&`;
|
|
7901
7901
|
});
|
|
7902
7902
|
function V(B) {
|
|
7903
|
-
var
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7903
|
+
var N;
|
|
7904
|
+
if (typeof B == "string") {
|
|
7905
|
+
const F = JSON.parse(B), T = ((N = window == null ? void 0 : window.config) == null ? void 0 : N.requestParams) || {};
|
|
7906
|
+
if (Object.prototype.toString.call(F) === "[object Object]") {
|
|
7907
|
+
for (const M in F)
|
|
7908
|
+
if (typeof F[M] == "string") {
|
|
7909
|
+
const E = F[M].match(/\${(.+?)\}/g);
|
|
7910
|
+
if (E != null && E.length) {
|
|
7911
|
+
const A = E[0].slice(2, -1);
|
|
7912
|
+
A && T[A] ? F[M] = T[A] : F[M] = "";
|
|
7913
|
+
}
|
|
7912
7914
|
}
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7915
|
+
}
|
|
7916
|
+
return F;
|
|
7917
|
+
} else
|
|
7918
|
+
return B;
|
|
7916
7919
|
}
|
|
7917
7920
|
try {
|
|
7918
7921
|
const B = ["get", "head"].includes(i), N = {};
|