@ecan-bi/datav 1.3.39 → 1.3.40
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 +20 -23
- 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.40 */
|
|
2
2
|
import { watch as pe, inject as ae, computed as ee, unref as O, watchEffect as ca, defineComponent as Ee, shallowRef as uo, toRefs as Xl, onMounted as Pt, onUnmounted as io, h as to, nextTick as Xt, createVNode as he, resolveComponent as de, openBlock as j, createElementBlock as Y, createBlock as He, renderSlot as Ot, withCtx as xe, ref as V, onBeforeUnmount as no, normalizeClass as St, normalizeStyle as ne, createElementVNode as be, createCommentVNode as Te, Fragment as qe, renderList as et, provide as xt, useCssVars as Ln, toDisplayString as ze, pushScopeId as Fn, popScopeId as Mn, withModifiers as ua, createTextVNode as Lt, Teleport as sr, resolveDynamicComponent as On, mergeProps as Ut, normalizeProps as ro, toHandlers as da, withDirectives as fa, vShow as cr, reactive as e0, vModelText as t0 } from "vue";
|
|
3
3
|
import { throttle as n0, init as o0, use as tn, registerMap as Vn } from "echarts/core";
|
|
4
4
|
import { addListener as a0, removeListener as i0 } from "resize-detector";
|
|
@@ -8200,29 +8200,26 @@ const Pn = (e, n) => {
|
|
|
8200
8200
|
preview: G = !1
|
|
8201
8201
|
// 预览开关
|
|
8202
8202
|
} = S || {}, M = [];
|
|
8203
|
-
if ((S == null ? void 0 : S.pageMode) === "design") {
|
|
8204
|
-
|
|
8205
|
-
|
|
8206
|
-
|
|
8207
|
-
|
|
8208
|
-
se.rule = ve === "NONE" ? "EQUAL" : ve;
|
|
8209
|
-
}
|
|
8210
|
-
return {
|
|
8211
|
-
...ie,
|
|
8212
|
-
...se
|
|
8213
|
-
};
|
|
8214
|
-
}), M != null && M.length) {
|
|
8215
|
-
const ie = M.filter((ve) => ve.globalCondition), se = M.filter((ve) => !ve.globalCondition);
|
|
8216
|
-
(ie == null ? void 0 : ie.length) > 1 && (M = [
|
|
8217
|
-
{
|
|
8218
|
-
join: "&&",
|
|
8219
|
-
conditions: ie
|
|
8220
|
-
},
|
|
8221
|
-
...se
|
|
8222
|
-
]);
|
|
8203
|
+
if ((S == null ? void 0 : S.pageMode) === "design" ? M = (S.sqlConditions ?? []).map((ie) => {
|
|
8204
|
+
const se = {};
|
|
8205
|
+
if (!i(ie, "globalCondition") && !ie.join && (se.globalCondition = !0), !ie.join) {
|
|
8206
|
+
const ve = ie.rule || "EQUAL";
|
|
8207
|
+
se.rule = ve === "NONE" ? "EQUAL" : ve;
|
|
8223
8208
|
}
|
|
8224
|
-
|
|
8225
|
-
|
|
8209
|
+
return {
|
|
8210
|
+
...ie,
|
|
8211
|
+
...se
|
|
8212
|
+
};
|
|
8213
|
+
}) : M = s(S), M != null && M.length) {
|
|
8214
|
+
const ie = M.filter((ve) => ve.globalCondition), se = M.filter((ve) => !ve.globalCondition);
|
|
8215
|
+
(ie == null ? void 0 : ie.length) > 1 && (M = [
|
|
8216
|
+
{
|
|
8217
|
+
join: "&&",
|
|
8218
|
+
conditions: ie
|
|
8219
|
+
},
|
|
8220
|
+
...se
|
|
8221
|
+
]);
|
|
8222
|
+
}
|
|
8226
8223
|
M != null && M.length && (M = r(M, "1")), k == null && (Ct(y, ["table"]) || Ct(y, "list") && (L == null ? void 0 : L.length) > 1 ? k = "1" : Ct(y, ["select", "checkbox", "radio"]) ? k = "3" : k = "2");
|
|
8227
8224
|
let N, P = "";
|
|
8228
8225
|
if (Array.isArray(L) && L.length > 0 && (y !== "ecanList" || (L == null ? void 0 : L.length) === 1)) {
|