@ecan-bi/datav 1.0.93 → 1.0.94
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 +123 -106
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +123 -106
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +9 -9
- package/package.json +1 -1
- package/types/container/tabs/Tabs.vue.d.ts +56 -0
- package/types/container/tabs/index.d.ts +56 -0
- package/types/container/tabs/props.d.ts +32 -0
- package/types/graph/bar/Bar.vue.d.ts +149 -0
- package/types/graph/bar/index.d.ts +149 -0
- package/types/graph/bar/props.d.ts +75 -0
- package/types/map/map/Map.vue.d.ts +1 -1
- package/types/map/map/index.d.ts +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.0.
|
|
1
|
+
/*! @ecan-bi/datav@1.0.94 */
|
|
2
2
|
var _a, _b, _c, _d;
|
|
3
3
|
import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, normalizeStyle, createCommentVNode, provide, toDisplayString, Fragment, renderList, createElementVNode, normalizeClass, pushScopeId, popScopeId, createSlots, resolveDynamicComponent, mergeProps, withModifiers, withDirectives, vShow } from "vue";
|
|
4
4
|
import { throttle, init, use, registerMap } from "echarts/core";
|
|
@@ -3117,12 +3117,12 @@ const _sfc_main$k = defineComponent({
|
|
|
3117
3117
|
});
|
|
3118
3118
|
const List_vue_vue_type_style_index_0_scoped_73ca0d93_lang = "";
|
|
3119
3119
|
const List_vue_vue_type_style_index_1_lang = "";
|
|
3120
|
-
const _withScopeId$
|
|
3120
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-73ca0d93"), n = n(), popScopeId(), n);
|
|
3121
3121
|
const _hoisted_1$6 = {
|
|
3122
3122
|
key: 0,
|
|
3123
3123
|
class: "title"
|
|
3124
3124
|
};
|
|
3125
|
-
const _hoisted_2$
|
|
3125
|
+
const _hoisted_2$2 = {
|
|
3126
3126
|
key: 0,
|
|
3127
3127
|
class: "ranking"
|
|
3128
3128
|
};
|
|
@@ -3134,7 +3134,7 @@ const _hoisted_4$1 = {
|
|
|
3134
3134
|
key: 0,
|
|
3135
3135
|
class: "ranking"
|
|
3136
3136
|
};
|
|
3137
|
-
const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$
|
|
3137
|
+
const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "icon" }, null, -1));
|
|
3138
3138
|
const _hoisted_6$1 = { class: "sort" };
|
|
3139
3139
|
const _hoisted_7$1 = {
|
|
3140
3140
|
key: 2,
|
|
@@ -3160,7 +3160,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3160
3160
|
}),
|
|
3161
3161
|
key: count
|
|
3162
3162
|
}, [
|
|
3163
|
-
_ctx.useRanking ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
3163
|
+
_ctx.useRanking ? (openBlock(), createElementBlock("div", _hoisted_2$2)) : createCommentVNode("", true),
|
|
3164
3164
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, (column, i) => {
|
|
3165
3165
|
return openBlock(), createElementBlock("div", {
|
|
3166
3166
|
class: "column",
|
|
@@ -4830,6 +4830,9 @@ const barProps = {
|
|
|
4830
4830
|
xAxisLabelOverflow: "none",
|
|
4831
4831
|
xAxisLineStyleColor: "#333",
|
|
4832
4832
|
xAxisTickShow: true,
|
|
4833
|
+
yAxisLabelWidth: void 0,
|
|
4834
|
+
yAxisLabelRotate: 0,
|
|
4835
|
+
yAxisLabelOverflow: "none",
|
|
4833
4836
|
yAxisSplitLineShow: true,
|
|
4834
4837
|
yAxisSplitLineStyleColor: "#333",
|
|
4835
4838
|
yAxisLabelColor: "#333",
|
|
@@ -4859,6 +4862,8 @@ const barProps = {
|
|
|
4859
4862
|
toolboxInfoText: "\u5F53\u524D\u65E0\u8BF4\u660E\u4FE1\u606F",
|
|
4860
4863
|
isUseHorizontalAxis: false,
|
|
4861
4864
|
axisInverse: false,
|
|
4865
|
+
xAxisInverse: false,
|
|
4866
|
+
yAxisInverse: false,
|
|
4862
4867
|
isStack: false
|
|
4863
4868
|
};
|
|
4864
4869
|
const barComponentProps = transformToComponentProps(barProps);
|
|
@@ -5014,7 +5019,7 @@ const _sfc_main$a = defineComponent({
|
|
|
5014
5019
|
xAxis: {
|
|
5015
5020
|
type: props2.isUseHorizontalAxis ? "value" : "category",
|
|
5016
5021
|
data: props2.isUseHorizontalAxis ? null : unref(dimensions),
|
|
5017
|
-
inverse: props2.isUseHorizontalAxis ?
|
|
5022
|
+
inverse: props2.isUseHorizontalAxis ? props2.xAxisInverse : props2.axisInverse,
|
|
5018
5023
|
splitLine: {
|
|
5019
5024
|
show: props2.xAxisSplitLineShow,
|
|
5020
5025
|
lineStyle: {
|
|
@@ -5043,7 +5048,7 @@ const _sfc_main$a = defineComponent({
|
|
|
5043
5048
|
yAxis: {
|
|
5044
5049
|
type: props2.isUseHorizontalAxis ? "category" : "value",
|
|
5045
5050
|
data: props2.isUseHorizontalAxis ? unref(dimensions) : null,
|
|
5046
|
-
inverse: props2.isUseHorizontalAxis ? props2.axisInverse :
|
|
5051
|
+
inverse: props2.isUseHorizontalAxis ? props2.axisInverse : props2.yAxisInverse,
|
|
5047
5052
|
splitLine: {
|
|
5048
5053
|
show: props2.yAxisSplitLineShow,
|
|
5049
5054
|
lineStyle: {
|
|
@@ -5052,6 +5057,9 @@ const _sfc_main$a = defineComponent({
|
|
|
5052
5057
|
},
|
|
5053
5058
|
axisLabel: {
|
|
5054
5059
|
color: props2.yAxisLabelColor,
|
|
5060
|
+
rotate: props2.yAxisLabelRotate,
|
|
5061
|
+
width: props2.yAxisLabelWidth,
|
|
5062
|
+
overflow: props2.yAxisLabelOverflow,
|
|
5055
5063
|
formatter(value) {
|
|
5056
5064
|
return useValueFormatter(yAxisLabelFormatter, value);
|
|
5057
5065
|
}
|
|
@@ -6144,26 +6152,26 @@ const _sfc_main$6 = defineComponent({
|
|
|
6144
6152
|
const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUzuC1AtU1sF9KHmnmrtrSK6idqBWqE6GFVxFdGvqDGoJ01Qt7rfTEV0e7V6qSK6VjNPtTaqoOq8Ugnqr7aeav+rAuqrTh+qZw3o1urAVcFVQD3U6ZnaYY9MLZk6G5WhDaDFI9UeUPyE7gCNsAdAD9gxoBJ7ARRPUVwALXdu8/h/s3xmjtwUu0/M0M/UJzBjAei3TUTdpmKmcpkBmOHKBNTPzJi59zYJys3DO2aL78YcmNkLgrrM9m9TucwzmoBy08xlju+bgL42G4c5OcxqZSLqbwqXOVNTGXMWFD0ak6KN1ZKaojYmbribndW9MXELNQEFFUyiNqQlmEQ1JqpgErUifUUTUVEIupx1wzpjvWfdsh4FQX8ANe4nnpsb9NEAAAAASUVORK5CYII=";
|
|
6145
6153
|
const _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAaVBMVEUAAABElM9BltJCldJCldFBltJBldJCltFNmrNCmNNFldNAldJBldNBldRBldNBldNBldJCoNFBldJBltNBldJBldJAldJAltJBldJBldJBldNAlNFAldJBlNJAldJBldNBldJBldJBldLfIVowAAAAI3RSTlMAGjJNgGbmswMSCScgDTs/ZAVRK0eYj2s3r3AWveHEhXjeXb5rzlgAAAFqSURBVEjH1dbJVsJAEIXhHjJ05tlEooK8/0NKsbDrFjmHiBD0Lvqcf9PfthRM7xvoZMQuLHZaOejGYLtcdEItzI9oaLg5xIHj5hgcG262oXXcrGzJ23Umg5717C7NKBrAjOMDM8YgCI5ghmEPprUTmMZkrBOtdbJgfpZovho0gwzNOkfTam9k5jSGkKlTMOezWT3VLH5qlg8wQzSbO5jJ28l8Z+YLmZMwuz9lupvNXpjlFTMTZv7vzFSatTDtGnNeYdpNzZTMSJhx5f84m8Y3mSEzJzTVolko3J7Qve+a0J3vntDWffdEaMUQQo1vTWjuuyA0UWvUUarqzuqLUMPt1MD3uKTaTdRwvdrdorpFtfZtH6eyK2F3RS23U3uhlr9VB1TdE1V2h7Vr1O4mdbdera6o+Wq1Vqi2rEktFapGoZopVLVCtVCXag19IBPUiiWpBrojE1QNXZAp1/TYbhKdKVwuWotORKfn9wu/DSc/X9T6qgAAAABJRU5ErkJggg==";
|
|
6146
6154
|
const Border_vue_vue_type_style_index_0_scoped_f3fc1305_lang = "";
|
|
6147
|
-
const _withScopeId
|
|
6148
|
-
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId
|
|
6149
|
-
const _hoisted_2$
|
|
6150
|
-
const _hoisted_3 = /* @__PURE__ */ _withScopeId
|
|
6151
|
-
const _hoisted_4 = /* @__PURE__ */ _withScopeId
|
|
6155
|
+
const _withScopeId = (n) => (pushScopeId("data-v-f3fc1305"), n = n(), popScopeId(), n);
|
|
6156
|
+
const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "top-left border-item" }, null, -1));
|
|
6157
|
+
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "top-right border-item" }, null, -1));
|
|
6158
|
+
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-left border-item" }, null, -1));
|
|
6159
|
+
const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-right border-item" }, null, -1));
|
|
6152
6160
|
const _hoisted_5 = { class: "title-item-wrapper" };
|
|
6153
6161
|
const _hoisted_6 = { class: "title-item" };
|
|
6154
|
-
const _hoisted_7 = /* @__PURE__ */ _withScopeId
|
|
6162
|
+
const _hoisted_7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
|
|
6155
6163
|
class: "title-decoration-left",
|
|
6156
6164
|
src: _imports_0
|
|
6157
6165
|
}, null, -1));
|
|
6158
6166
|
const _hoisted_8 = { class: "title" };
|
|
6159
|
-
const _hoisted_9 = /* @__PURE__ */ _withScopeId
|
|
6167
|
+
const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
|
|
6160
6168
|
class: "title-decoration-right",
|
|
6161
6169
|
src: _imports_1
|
|
6162
6170
|
}, null, -1));
|
|
6163
|
-
const _hoisted_10 = /* @__PURE__ */ _withScopeId
|
|
6164
|
-
const _hoisted_11 = /* @__PURE__ */ _withScopeId
|
|
6165
|
-
const _hoisted_12 = /* @__PURE__ */ _withScopeId
|
|
6166
|
-
const _hoisted_13 = /* @__PURE__ */ _withScopeId
|
|
6171
|
+
const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "top-left border-item" }, null, -1));
|
|
6172
|
+
const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "top-right border-item" }, null, -1));
|
|
6173
|
+
const _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-left border-item" }, null, -1));
|
|
6174
|
+
const _hoisted_13 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-right border-item" }, null, -1));
|
|
6167
6175
|
const _hoisted_14 = {
|
|
6168
6176
|
key: 2,
|
|
6169
6177
|
class: "left-title"
|
|
@@ -6182,7 +6190,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6182
6190
|
}, [
|
|
6183
6191
|
_ctx.useBorderModify ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
6184
6192
|
_hoisted_1$5,
|
|
6185
|
-
_hoisted_2$
|
|
6193
|
+
_hoisted_2$1,
|
|
6186
6194
|
_hoisted_3,
|
|
6187
6195
|
_hoisted_4
|
|
6188
6196
|
], 64)) : createCommentVNode("", true)
|
|
@@ -6396,9 +6404,11 @@ const tabsProps = {
|
|
|
6396
6404
|
activeTabBackgroundImage: "",
|
|
6397
6405
|
tabColor: "#333",
|
|
6398
6406
|
tabBarGutter: "24px",
|
|
6407
|
+
tabFontWeight: 400,
|
|
6399
6408
|
value: "",
|
|
6400
6409
|
activeKey: 0,
|
|
6401
6410
|
contains: [],
|
|
6411
|
+
tabFlexDirection: "row",
|
|
6402
6412
|
data: [
|
|
6403
6413
|
{
|
|
6404
6414
|
title: "\u6807\u7B7E1"
|
|
@@ -6409,7 +6419,9 @@ const tabsProps = {
|
|
|
6409
6419
|
{
|
|
6410
6420
|
title: "\u6807\u7B7E3"
|
|
6411
6421
|
}
|
|
6412
|
-
]
|
|
6422
|
+
],
|
|
6423
|
+
tabAlignItems: "flex-start",
|
|
6424
|
+
tabJustifyContent: "flex-start"
|
|
6413
6425
|
};
|
|
6414
6426
|
const tabsComponentProps = transformToComponentProps(tabsProps);
|
|
6415
6427
|
const tabsEvents = ["tabChange"];
|
|
@@ -6467,10 +6479,8 @@ const _sfc_main$4 = defineComponent({
|
|
|
6467
6479
|
};
|
|
6468
6480
|
}
|
|
6469
6481
|
});
|
|
6470
|
-
const
|
|
6471
|
-
const _withScopeId = (n) => (pushScopeId("data-v-0a4268f1"), n = n(), popScopeId(), n);
|
|
6482
|
+
const Tabs_vue_vue_type_style_index_0_scoped_3db5a989_lang = "";
|
|
6472
6483
|
const _hoisted_1$4 = ["onClick"];
|
|
6473
|
-
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "tabs-content" }, null, -1));
|
|
6474
6484
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6475
6485
|
return openBlock(), createElementBlock("div", {
|
|
6476
6486
|
class: "ecan-tabs",
|
|
@@ -6479,7 +6489,10 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6479
6489
|
createElementVNode("div", {
|
|
6480
6490
|
class: "tabs-header",
|
|
6481
6491
|
style: normalizeStyle({
|
|
6482
|
-
fontSize: _ctx.tabFontSize
|
|
6492
|
+
fontSize: _ctx.tabFontSize,
|
|
6493
|
+
alignItems: _ctx.tabAlignItems,
|
|
6494
|
+
justifyContent: _ctx.tabJustifyContent,
|
|
6495
|
+
flexDirection: _ctx.tabFlexDirection
|
|
6483
6496
|
})
|
|
6484
6497
|
}, [
|
|
6485
6498
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.myData, (tab, index2) => {
|
|
@@ -6489,7 +6502,9 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6489
6502
|
padding: `5px ${_ctx.tabHorizontalPadding}`,
|
|
6490
6503
|
color: _ctx.isActive(index2) ? _ctx.activeTabColor : _ctx.tabColor,
|
|
6491
6504
|
backgroundImage: _ctx.isActive(index2) ? _ctx.useImagePath(_ctx.activeTabBackgroundImage, true) : _ctx.useImagePath(_ctx.tabBackgroundImage, true),
|
|
6492
|
-
|
|
6505
|
+
marginRight: _ctx.tabFlexDirection === "row" ? _ctx.tabBarGutter : null,
|
|
6506
|
+
marginBottom: _ctx.tabFlexDirection === "column" ? _ctx.tabBarGutter : null,
|
|
6507
|
+
fontWeight: _ctx.tabFontWeight
|
|
6493
6508
|
}),
|
|
6494
6509
|
key: index2,
|
|
6495
6510
|
onClick: withModifiers(($event) => _ctx.tabChange(tab, index2), ["prevent", "stop"])
|
|
@@ -6502,11 +6517,10 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6502
6517
|
}, toDisplayString(tab.title), 5)
|
|
6503
6518
|
], 12, _hoisted_1$4);
|
|
6504
6519
|
}), 128))
|
|
6505
|
-
], 4)
|
|
6506
|
-
_hoisted_2$1
|
|
6520
|
+
], 4)
|
|
6507
6521
|
], 4);
|
|
6508
6522
|
}
|
|
6509
|
-
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
6523
|
+
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-3db5a989"]]);
|
|
6510
6524
|
const EcanTabs = withInstall(Tabs);
|
|
6511
6525
|
const imageProps = {
|
|
6512
6526
|
...props,
|
|
@@ -6598,9 +6612,9 @@ const _sfc_main$2 = defineComponent({
|
|
|
6598
6612
|
});
|
|
6599
6613
|
const myLink = computed(() => {
|
|
6600
6614
|
let link = useVariablesInText(props2.link);
|
|
6601
|
-
if (props2.linkType === "erd") {
|
|
6602
|
-
const erdUrl = ERD_URL || unref(contextRequestUrl);
|
|
6603
|
-
link = `${unref(erdUrl)}
|
|
6615
|
+
if (props2.linkType === "erd" && link != null) {
|
|
6616
|
+
const erdUrl = ERD_URL || unref(contextRequestUrl) + "/erdReport";
|
|
6617
|
+
link = `${unref(erdUrl)}?_t=0&uid=${link}`;
|
|
6604
6618
|
}
|
|
6605
6619
|
return link;
|
|
6606
6620
|
});
|
|
@@ -6610,7 +6624,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
6610
6624
|
};
|
|
6611
6625
|
}
|
|
6612
6626
|
});
|
|
6613
|
-
const
|
|
6627
|
+
const Iframe_vue_vue_type_style_index_0_scoped_9631ea8e_lang = "";
|
|
6614
6628
|
const _hoisted_1$2 = ["src"];
|
|
6615
6629
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6616
6630
|
return _ctx.myLink ? (openBlock(), createElementBlock("iframe", {
|
|
@@ -6623,7 +6637,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6623
6637
|
style: normalizeStyle(_ctx.style)
|
|
6624
6638
|
}, " \u8BF7\u586B\u5199\u7F51\u9875\u94FE\u63A5 ", 4));
|
|
6625
6639
|
}
|
|
6626
|
-
const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
6640
|
+
const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-9631ea8e"]]);
|
|
6627
6641
|
const EcanIframe = withInstall(Iframe);
|
|
6628
6642
|
const tableProps = {
|
|
6629
6643
|
...props,
|
|
@@ -7271,84 +7285,87 @@ const _sfc_main = defineComponent({
|
|
|
7271
7285
|
}
|
|
7272
7286
|
return "circle";
|
|
7273
7287
|
});
|
|
7274
|
-
const
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
},
|
|
7282
|
-
graphic: [
|
|
7283
|
-
{
|
|
7284
|
-
type: "image",
|
|
7285
|
-
style: {
|
|
7286
|
-
width: parseFloat(props2.width),
|
|
7287
|
-
height: parseFloat(props2.height),
|
|
7288
|
-
image: unref(myBackgroundImage)
|
|
7289
|
-
},
|
|
7290
|
-
top: "center"
|
|
7291
|
-
}
|
|
7292
|
-
],
|
|
7293
|
-
geo: {
|
|
7294
|
-
zoom: props2.geoZoom,
|
|
7295
|
-
roam: props2.geoRoam,
|
|
7296
|
-
center: unref(geoCenter),
|
|
7297
|
-
map: "map",
|
|
7288
|
+
const option = computed(() => {
|
|
7289
|
+
const geoCenter = props2.geoCenter;
|
|
7290
|
+
let center;
|
|
7291
|
+
if (typeof geoCenter === "string" && geoCenter !== "") {
|
|
7292
|
+
center = geoCenter.split(",");
|
|
7293
|
+
}
|
|
7294
|
+
return {
|
|
7298
7295
|
tooltip: {
|
|
7299
|
-
show:
|
|
7300
|
-
},
|
|
7301
|
-
label: {
|
|
7302
|
-
show: props2.geoLabelShow,
|
|
7303
|
-
color: props2.geoLabelColor,
|
|
7304
|
-
fontSize: props2.geoLabelFontSize
|
|
7305
|
-
},
|
|
7306
|
-
itemStyle: {
|
|
7307
|
-
areaColor: unref(areaColor),
|
|
7308
|
-
borderColor: props2.geoItemStyleBorderColor,
|
|
7309
|
-
borderWidth: props2.geoItemStyleBorderWidth,
|
|
7310
|
-
shadowColor: props2.geoItemStyleShadowColor,
|
|
7311
|
-
shadowBlur: props2.geoItemStyleShadowBlur,
|
|
7312
|
-
shadowOffsetX: props2.geoItemStyleShadowOffsetX,
|
|
7313
|
-
shadowOffsetY: props2.geoItemStyleShadowOffsetY
|
|
7296
|
+
show: true
|
|
7314
7297
|
},
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7298
|
+
graphic: [
|
|
7299
|
+
{
|
|
7300
|
+
type: "image",
|
|
7301
|
+
style: {
|
|
7302
|
+
width: parseFloat(props2.width),
|
|
7303
|
+
height: parseFloat(props2.height),
|
|
7304
|
+
image: unref(myBackgroundImage)
|
|
7305
|
+
},
|
|
7306
|
+
top: "center"
|
|
7323
7307
|
}
|
|
7324
|
-
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7308
|
+
],
|
|
7309
|
+
geo: {
|
|
7310
|
+
zoom: props2.geoZoom,
|
|
7311
|
+
roam: props2.geoRoam,
|
|
7312
|
+
center,
|
|
7313
|
+
map: "map",
|
|
7314
|
+
tooltip: {
|
|
7315
|
+
show: false
|
|
7332
7316
|
},
|
|
7333
|
-
symbol: unref(symbol),
|
|
7334
|
-
symbolSize: [props2.symbolWidth, props2.symbolHeight],
|
|
7335
7317
|
label: {
|
|
7336
|
-
show: props2.
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
color: props2.labelColor
|
|
7318
|
+
show: props2.geoLabelShow,
|
|
7319
|
+
color: props2.geoLabelColor,
|
|
7320
|
+
fontSize: props2.geoLabelFontSize
|
|
7340
7321
|
},
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7345
|
-
|
|
7346
|
-
|
|
7322
|
+
itemStyle: {
|
|
7323
|
+
areaColor: unref(areaColor),
|
|
7324
|
+
borderColor: props2.geoItemStyleBorderColor,
|
|
7325
|
+
borderWidth: props2.geoItemStyleBorderWidth,
|
|
7326
|
+
shadowColor: props2.geoItemStyleShadowColor,
|
|
7327
|
+
shadowBlur: props2.geoItemStyleShadowBlur,
|
|
7328
|
+
shadowOffsetX: props2.geoItemStyleShadowOffsetX,
|
|
7329
|
+
shadowOffsetY: props2.geoItemStyleShadowOffsetY
|
|
7347
7330
|
},
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7331
|
+
emphasis: {
|
|
7332
|
+
disabled: props2.geoEmphasisDisabled,
|
|
7333
|
+
label: {
|
|
7334
|
+
color: props2.geoEmphasisLabelColor
|
|
7335
|
+
},
|
|
7336
|
+
itemStyle: {
|
|
7337
|
+
areaColor: props2.geoEmphasisItemStyleAreaColor,
|
|
7338
|
+
borderColor: props2.geoEmphasisItemStyleBorderColor
|
|
7339
|
+
}
|
|
7340
|
+
}
|
|
7341
|
+
},
|
|
7342
|
+
series: [
|
|
7343
|
+
{
|
|
7344
|
+
type: "scatter",
|
|
7345
|
+
coordinateSystem: "geo",
|
|
7346
|
+
itemStyle: {
|
|
7347
|
+
color: props2.itemStyleColor
|
|
7348
|
+
},
|
|
7349
|
+
symbol: unref(symbol),
|
|
7350
|
+
symbolSize: [props2.symbolWidth, props2.symbolHeight],
|
|
7351
|
+
label: {
|
|
7352
|
+
show: props2.labelShow,
|
|
7353
|
+
fontSize: props2.labelFontSize,
|
|
7354
|
+
formatter: props2.labelFormatter,
|
|
7355
|
+
color: props2.labelColor
|
|
7356
|
+
},
|
|
7357
|
+
tooltip: {
|
|
7358
|
+
show: props2.tooltipShow,
|
|
7359
|
+
formatter: props2.tooltipFormatter,
|
|
7360
|
+
textStyle: {
|
|
7361
|
+
color: props2.tooltipTextStyleColor
|
|
7362
|
+
}
|
|
7363
|
+
},
|
|
7364
|
+
data: props2.data
|
|
7365
|
+
}
|
|
7366
|
+
]
|
|
7367
|
+
};
|
|
7368
|
+
});
|
|
7352
7369
|
const isLoadedData = ref(false);
|
|
7353
7370
|
const handleRegisterMap = async () => {
|
|
7354
7371
|
const mapJson = props2.mapJson;
|
|
@@ -7372,7 +7389,7 @@ const _sfc_main = defineComponent({
|
|
|
7372
7389
|
};
|
|
7373
7390
|
}
|
|
7374
7391
|
});
|
|
7375
|
-
const
|
|
7392
|
+
const Map_vue_vue_type_style_index_0_scoped_38065aba_lang = "";
|
|
7376
7393
|
const _hoisted_1 = ["src"];
|
|
7377
7394
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7378
7395
|
const _component_echarts = resolveComponent("echarts");
|
|
@@ -7394,7 +7411,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7394
7411
|
])
|
|
7395
7412
|
], 4);
|
|
7396
7413
|
}
|
|
7397
|
-
const Map$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
7414
|
+
const Map$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-38065aba"]]);
|
|
7398
7415
|
const EcanMap = withInstall(Map$1);
|
|
7399
7416
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7400
7417
|
__proto__: null,
|