@ecan-bi/datav 1.5.29 → 1.5.31
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 +8 -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.5.
|
|
1
|
+
/*! @ecan-bi/datav@1.5.31 */
|
|
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, withModifiers, toDisplayString, pushScopeId, popScopeId, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, reactive, useCssVars, createSlots, createTextVNode, withDirectives, vShow, vModelText, getCurrentInstance, onActivated, onDeactivated, isRef, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
|
|
3
3
|
import { throttle, init, use, registerMap } from "echarts/core";
|
|
4
4
|
import { addListener, removeListener } from "resize-detector";
|
|
@@ -9707,7 +9707,7 @@ const hasChinese = (c) => /[\u4e00-\u9fa5]/.test(c), dragModalAction = (c, u) =>
|
|
|
9707
9707
|
if (ir[0])
|
|
9708
9708
|
if (ir[0] === "userInfo")
|
|
9709
9709
|
try {
|
|
9710
|
-
Xn
|
|
9710
|
+
Xn.token = (qn = (Bn = JSON.parse(decodeURIComponent(ir[1]))) == null ? void 0 : Bn.baseInfo) == null ? void 0 : qn.hrpToken;
|
|
9711
9711
|
} catch (sr) {
|
|
9712
9712
|
console.log(sr);
|
|
9713
9713
|
}
|
|
@@ -9989,7 +9989,7 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_r
|
|
|
9989
9989
|
const zn = localStorage.getItem("indDetailZoom");
|
|
9990
9990
|
if (zn && (v.value = +zn), unref(y)) {
|
|
9991
9991
|
const Xn = document.querySelector("#ProviderConfig > #container");
|
|
9992
|
-
g.value = !0, (Kn = Xn == null ? void 0 : Xn.style) == null || Kn.setProperty("--window-screen-width",
|
|
9992
|
+
g.value = !0, (Kn = Xn == null ? void 0 : Xn.style) == null || Kn.setProperty("--window-screen-width", document.body.clientWidth + "px"), (Un = Xn == null ? void 0 : Xn.style) == null || Un.setProperty("--window-screen-height", document.body.clientHeight + "px");
|
|
9993
9993
|
}
|
|
9994
9994
|
}), u({
|
|
9995
9995
|
showModal: Pn
|
|
@@ -10012,7 +10012,7 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["render", _sfc_r
|
|
|
10012
10012
|
handleResetZoom: qn
|
|
10013
10013
|
};
|
|
10014
10014
|
}
|
|
10015
|
-
}),
|
|
10015
|
+
}), IndicatorDetailModal_vue_vue_type_style_index_0_scoped_321c1810_lang = "", IndicatorDetailModal_vue_vue_type_style_index_1_lang = "", _withScopeId$6 = (c) => (pushScopeId("data-v-321c1810"), c = c(), popScopeId(), c), _hoisted_1$m = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("div", { class: "modal-title" }, "指标详情", -1)), _hoisted_2$a = { class: "zoom-btn" }, _hoisted_3$5 = {
|
|
10016
10016
|
key: 0,
|
|
10017
10017
|
class: "spin-container"
|
|
10018
10018
|
}, _hoisted_4$3 = ["innerHTML"], _hoisted_5$3 = { class: "index-name" }, _hoisted_6$3 = {
|
|
@@ -10122,7 +10122,7 @@ function _sfc_render$F(c, u, f, d, p, m) {
|
|
|
10122
10122
|
_: 1
|
|
10123
10123
|
}, 8, ["visible", "getContainer", "bodyStyle", "wrap-class-name", "onCancel"]);
|
|
10124
10124
|
}
|
|
10125
|
-
const IndicatorDetailModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["render", _sfc_render$F], ["__scopeId", "data-v-
|
|
10125
|
+
const IndicatorDetailModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["render", _sfc_render$F], ["__scopeId", "data-v-321c1810"]]), lineProps = {
|
|
10126
10126
|
...props,
|
|
10127
10127
|
id: "",
|
|
10128
10128
|
name: "折线图",
|
|
@@ -11407,7 +11407,7 @@ const _sfc_main$w = defineComponent({
|
|
|
11407
11407
|
var b, x;
|
|
11408
11408
|
if (unref(m)) {
|
|
11409
11409
|
const Pn = document.querySelector("#ProviderConfig > #container");
|
|
11410
|
-
(b = Pn == null ? void 0 : Pn.style) == null || b.setProperty("--window-screen-width",
|
|
11410
|
+
(b = Pn == null ? void 0 : Pn.style) == null || b.setProperty("--window-screen-width", document.body.clientWidth + "px"), (x = Pn == null ? void 0 : Pn.style) == null || x.setProperty("--window-screen-height", document.body.clientHeight + "px");
|
|
11411
11411
|
}
|
|
11412
11412
|
}), u({
|
|
11413
11413
|
showModal: g
|
|
@@ -11420,7 +11420,7 @@ const _sfc_main$w = defineComponent({
|
|
|
11420
11420
|
getContainer: v
|
|
11421
11421
|
};
|
|
11422
11422
|
}
|
|
11423
|
-
}),
|
|
11423
|
+
}), TrendModal_vue_vue_type_style_index_0_scoped_b4c3b51c_lang = "", TrendModal_vue_vue_type_style_index_1_lang = "", _withScopeId$5 = (c) => (pushScopeId("data-v-b4c3b51c"), c = c(), popScopeId(), c), _hoisted_1$l = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { class: "modal-title" }, "趋势图", -1));
|
|
11424
11424
|
function _sfc_render$B(c, u, f, d, p, m) {
|
|
11425
11425
|
const g = resolveComponent("ecan-line"), v = resolveComponent("a-modal");
|
|
11426
11426
|
return openBlock(), createBlock(v, {
|
|
@@ -11447,7 +11447,7 @@ function _sfc_render$B(c, u, f, d, p, m) {
|
|
|
11447
11447
|
_: 1
|
|
11448
11448
|
}, 8, ["visible", "getContainer", "bodyStyle", "wrap-class-name"]);
|
|
11449
11449
|
}
|
|
11450
|
-
const TrendModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$B], ["__scopeId", "data-v-
|
|
11450
|
+
const TrendModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_render$B], ["__scopeId", "data-v-b4c3b51c"]]), pivotTableProps = {
|
|
11451
11451
|
...props,
|
|
11452
11452
|
name: "透视表",
|
|
11453
11453
|
keyName: "透视表",
|