@ecan-bi/datav 1.5.72 → 1.5.73
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 +30 -31
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +16 -16
- 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.73 */
|
|
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, toRaw, reactive, useCssVars, createSlots, resolveDirective, withDirectives, vShow, createTextVNode, vModelText, getCurrentInstance, onActivated, onDeactivated, isRef, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
|
|
3
3
|
import { throttle as throttle$1, init, use, registerMap } from "echarts/core";
|
|
4
4
|
import { addListener, removeListener } from "resize-detector";
|
|
@@ -1642,7 +1642,7 @@ const withInstall$1 = (c, u) => {
|
|
|
1642
1642
|
for (const f in c) {
|
|
1643
1643
|
const d = c[f];
|
|
1644
1644
|
let p = d == null ? void 0 : d.constructor;
|
|
1645
|
-
["width", "height", "requestHeaders"].includes(f) ? p = [d == null ? void 0 : d.constructor, Object] : ["left", "top"].includes(f) && (p = [d == null ? void 0 : d.constructor, Number]), u[f] = {
|
|
1645
|
+
["width", "height", "requestHeaders"].includes(f) ? p = [d == null ? void 0 : d.constructor, Object] : ["left", "top", "lineHeight"].includes(f) && (p = [d == null ? void 0 : d.constructor, Number, Object]), u[f] = {
|
|
1646
1646
|
type: p,
|
|
1647
1647
|
default: d
|
|
1648
1648
|
};
|
|
@@ -10778,7 +10778,7 @@ const Render = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render", _sfc_rende
|
|
|
10778
10778
|
requestLoaded: yr
|
|
10779
10779
|
};
|
|
10780
10780
|
}
|
|
10781
|
-
}),
|
|
10781
|
+
}), Modal_vue_vue_type_style_index_0_scoped_e8d3acb6_lang = "", Modal_vue_vue_type_style_index_1_lang = "";
|
|
10782
10782
|
function _sfc_render$D(c, u, f, d, p, m) {
|
|
10783
10783
|
const g = resolveComponent("close-outlined"), v = resolveComponent("render"), y = resolveComponent("a-modal");
|
|
10784
10784
|
return openBlock(), createBlock(y, {
|
|
@@ -10843,7 +10843,9 @@ function _sfc_render$D(c, u, f, d, p, m) {
|
|
|
10843
10843
|
component: b,
|
|
10844
10844
|
onReady: c.onComponentReady
|
|
10845
10845
|
}, null, 8, ["component", "onReady"])) : createCommentVNode("", !0)
|
|
10846
|
-
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(b.type),
|
|
10846
|
+
], 64)) : (openBlock(), createBlock(resolveDynamicComponent(b.type), mergeProps({ key: 1 }, b, {
|
|
10847
|
+
cpntid: b.id
|
|
10848
|
+
}), null, 16, ["cpntid"]))
|
|
10847
10849
|
], 64))), 128))
|
|
10848
10850
|
], 2)) : renderSlot(c.$slots, "default", { key: 1 }, void 0, !0)
|
|
10849
10851
|
], 4)) : createCommentVNode("", !0)
|
|
@@ -10852,7 +10854,7 @@ function _sfc_render$D(c, u, f, d, p, m) {
|
|
|
10852
10854
|
_: 3
|
|
10853
10855
|
}, 8, ["getContainer", "wrapClassName", "visible", "width", "destroyOnClose", "style", "onOk", "onCancel", "id"]);
|
|
10854
10856
|
}
|
|
10855
|
-
const Modal = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$D], ["__scopeId", "data-v-
|
|
10857
|
+
const Modal = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$D], ["__scopeId", "data-v-e8d3acb6"]]), EcanModal = withInstall$1(Modal);
|
|
10856
10858
|
use([
|
|
10857
10859
|
CanvasRenderer,
|
|
10858
10860
|
LineChart,
|
|
@@ -30771,40 +30773,37 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports), __default
|
|
|
30771
30773
|
}
|
|
30772
30774
|
}), __injectCSSVars__$1 = () => {
|
|
30773
30775
|
useCssVars((c) => ({
|
|
30774
|
-
"
|
|
30775
|
-
|
|
30776
|
+
"118bc1b5": c.isHoverStyle ? "pointer" : "auto",
|
|
30777
|
+
b274cb58: c.isHoverStyle ? "0.6" : "1"
|
|
30776
30778
|
}));
|
|
30777
30779
|
}, __setup__$1 = __default__$1.setup;
|
|
30778
30780
|
__default__$1.setup = __setup__$1 ? (c, u) => (__injectCSSVars__$1(), __setup__$1(c, u)) : __injectCSSVars__$1;
|
|
30779
|
-
const
|
|
30781
|
+
const Image_vue_vue_type_style_index_0_scoped_7bf7ebf4_lang = "", _hoisted_1$3 = ["src"];
|
|
30780
30782
|
function _sfc_render$7(c, u, f, d, p, m) {
|
|
30781
30783
|
var g;
|
|
30782
|
-
return openBlock(), createElementBlock(
|
|
30783
|
-
c.
|
|
30784
|
-
|
|
30785
|
-
|
|
30786
|
-
|
|
30787
|
-
|
|
30788
|
-
|
|
30789
|
-
|
|
30790
|
-
|
|
30791
|
-
|
|
30792
|
-
|
|
30793
|
-
|
|
30794
|
-
|
|
30795
|
-
|
|
30796
|
-
|
|
30797
|
-
|
|
30798
|
-
}, null, 14, _hoisted_1$3)) : createCommentVNode("", !0)
|
|
30799
|
-
], 64)),
|
|
30784
|
+
return openBlock(), createElementBlock("div", {
|
|
30785
|
+
class: normalizeClass$1(["ecan-image", c.pageMode === "design" ? "component" : ""]),
|
|
30786
|
+
style: normalizeStyle$1(c.customStyle)
|
|
30787
|
+
}, [
|
|
30788
|
+
c.isAnimation && c.animationSource.directory ? (openBlock(), createElementBlock("div", {
|
|
30789
|
+
key: 0,
|
|
30790
|
+
class: "full",
|
|
30791
|
+
ref: "animation",
|
|
30792
|
+
onClick: u[0] || (u[0] = (...v) => c.onClick && c.onClick(...v))
|
|
30793
|
+
}, null, 512)) : !c.isAnimation && c.myImgUrl ? (openBlock(), createElementBlock("img", {
|
|
30794
|
+
key: 1,
|
|
30795
|
+
class: "full",
|
|
30796
|
+
src: c.myImgUrl,
|
|
30797
|
+
style: { width: "100%", height: "100%" },
|
|
30798
|
+
onClick: u[1] || (u[1] = (...v) => c.onClick && c.onClick(...v))
|
|
30799
|
+
}, null, 8, _hoisted_1$3)) : createCommentVNode("", !0),
|
|
30800
30800
|
(c.isAnimation ? !((g = c.animationSource) != null && g.directory) : !c.myImgUrl) ? (openBlock(), createElementBlock("div", {
|
|
30801
30801
|
key: 2,
|
|
30802
|
-
class: normalizeClass$1(["image-placeholder", c.pageMode === "design" ? "component" : ""])
|
|
30803
|
-
|
|
30804
|
-
|
|
30805
|
-
], 64);
|
|
30802
|
+
class: normalizeClass$1(["image-placeholder full", c.pageMode === "design" ? "component" : ""])
|
|
30803
|
+
}, " 请上传图片 ", 2)) : createCommentVNode("", !0)
|
|
30804
|
+
], 6);
|
|
30806
30805
|
}
|
|
30807
|
-
const Image$1 = /* @__PURE__ */ _export_sfc$1(__default__$1, [["render", _sfc_render$7], ["__scopeId", "data-v-
|
|
30806
|
+
const Image$1 = /* @__PURE__ */ _export_sfc$1(__default__$1, [["render", _sfc_render$7], ["__scopeId", "data-v-7bf7ebf4"]]), EcanImage = withInstall$1(Image$1), iframeProps = {
|
|
30808
30807
|
...props$1,
|
|
30809
30808
|
name: "网页",
|
|
30810
30809
|
keyName: "网页",
|