@ecan-bi/datav 1.0.92 → 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.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.0.92 */
1
+ /*! @ecan-bi/datav@1.0.94 */
2
2
  (function(global, factory) {
3
3
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue"), require("echarts/core"), require("resize-detector"), require("ant-design-vue"), require("ant-design-vue/es/spin/style"), require("ant-design-vue/es/skeleton/style"), require("lodash-es"), require("axios"), require("mitt"), require("dayjs"), require("ant-design-vue/es/progress/style"), require("ant-design-vue/es/input/style"), require("ant-design-vue/es/date-picker/style"), require("ant-design-vue/es/date-picker/locale/zh_CN"), require("ant-design-vue/es/select/style"), require("ant-design-vue/es/button/style"), require("ant-design-vue/es/checkbox/style"), require("echarts/renderers"), require("echarts/charts"), require("echarts/components"), require("echarts"), require("ant-design-vue/es/modal/style"), require("ant-design-vue/es/table/style")) : typeof define === "function" && define.amd ? define(["exports", "vue", "echarts/core", "resize-detector", "ant-design-vue", "ant-design-vue/es/spin/style", "ant-design-vue/es/skeleton/style", "lodash-es", "axios", "mitt", "dayjs", "ant-design-vue/es/progress/style", "ant-design-vue/es/input/style", "ant-design-vue/es/date-picker/style", "ant-design-vue/es/date-picker/locale/zh_CN", "ant-design-vue/es/select/style", "ant-design-vue/es/button/style", "ant-design-vue/es/checkbox/style", "echarts/renderers", "echarts/charts", "echarts/components", "echarts", "ant-design-vue/es/modal/style", "ant-design-vue/es/table/style"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["@ecan/bi-datav"] = {}, global.vue, global["echarts/core"], global["resize-detector"], global["ant-design-vue"], null, null, global["lodash-es"], global.axios, global.mitt, global.dayjs, null, null, null, global["ant-design-vue/es/date-picker/locale/zh_CN"], null, null, null, global["echarts/renderers"], global["echarts/charts"], global["echarts/components"], global.echarts));
4
4
  })(this, function(exports2, vue, core, resizeDetector, antDesignVue, style$1, style$2, lodashEs, axios, mitt, dayjs, style$3, style$4, style$5, locale, style$6, style$7, style$8, renderers, charts, components$1, echarts) {
@@ -3122,12 +3122,12 @@
3122
3122
  });
3123
3123
  const List_vue_vue_type_style_index_0_scoped_73ca0d93_lang = "";
3124
3124
  const List_vue_vue_type_style_index_1_lang = "";
3125
- const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-73ca0d93"), n = n(), vue.popScopeId(), n);
3125
+ const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-73ca0d93"), n = n(), vue.popScopeId(), n);
3126
3126
  const _hoisted_1$6 = {
3127
3127
  key: 0,
3128
3128
  class: "title"
3129
3129
  };
3130
- const _hoisted_2$3 = {
3130
+ const _hoisted_2$2 = {
3131
3131
  key: 0,
3132
3132
  class: "ranking"
3133
3133
  };
@@ -3139,7 +3139,7 @@
3139
3139
  key: 0,
3140
3140
  class: "ranking"
3141
3141
  };
3142
- const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "icon" }, null, -1));
3142
+ const _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "icon" }, null, -1));
3143
3143
  const _hoisted_6$1 = { class: "sort" };
3144
3144
  const _hoisted_7$1 = {
3145
3145
  key: 2,
@@ -3165,7 +3165,7 @@
3165
3165
  }),
3166
3166
  key: count
3167
3167
  }, [
3168
- _ctx.useRanking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$3)) : vue.createCommentVNode("", true),
3168
+ _ctx.useRanking ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$2)) : vue.createCommentVNode("", true),
3169
3169
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.columns, (column, i) => {
3170
3170
  return vue.openBlock(), vue.createElementBlock("div", {
3171
3171
  class: "column",
@@ -4835,6 +4835,9 @@
4835
4835
  xAxisLabelOverflow: "none",
4836
4836
  xAxisLineStyleColor: "#333",
4837
4837
  xAxisTickShow: true,
4838
+ yAxisLabelWidth: void 0,
4839
+ yAxisLabelRotate: 0,
4840
+ yAxisLabelOverflow: "none",
4838
4841
  yAxisSplitLineShow: true,
4839
4842
  yAxisSplitLineStyleColor: "#333",
4840
4843
  yAxisLabelColor: "#333",
@@ -4864,6 +4867,8 @@
4864
4867
  toolboxInfoText: "\u5F53\u524D\u65E0\u8BF4\u660E\u4FE1\u606F",
4865
4868
  isUseHorizontalAxis: false,
4866
4869
  axisInverse: false,
4870
+ xAxisInverse: false,
4871
+ yAxisInverse: false,
4867
4872
  isStack: false
4868
4873
  };
4869
4874
  const barComponentProps = transformToComponentProps(barProps);
@@ -5019,7 +5024,7 @@
5019
5024
  xAxis: {
5020
5025
  type: props2.isUseHorizontalAxis ? "value" : "category",
5021
5026
  data: props2.isUseHorizontalAxis ? null : vue.unref(dimensions),
5022
- inverse: props2.isUseHorizontalAxis ? false : props2.axisInverse,
5027
+ inverse: props2.isUseHorizontalAxis ? props2.xAxisInverse : props2.axisInverse,
5023
5028
  splitLine: {
5024
5029
  show: props2.xAxisSplitLineShow,
5025
5030
  lineStyle: {
@@ -5048,7 +5053,7 @@
5048
5053
  yAxis: {
5049
5054
  type: props2.isUseHorizontalAxis ? "category" : "value",
5050
5055
  data: props2.isUseHorizontalAxis ? vue.unref(dimensions) : null,
5051
- inverse: props2.isUseHorizontalAxis ? props2.axisInverse : false,
5056
+ inverse: props2.isUseHorizontalAxis ? props2.axisInverse : props2.yAxisInverse,
5052
5057
  splitLine: {
5053
5058
  show: props2.yAxisSplitLineShow,
5054
5059
  lineStyle: {
@@ -5057,6 +5062,9 @@
5057
5062
  },
5058
5063
  axisLabel: {
5059
5064
  color: props2.yAxisLabelColor,
5065
+ rotate: props2.yAxisLabelRotate,
5066
+ width: props2.yAxisLabelWidth,
5067
+ overflow: props2.yAxisLabelOverflow,
5060
5068
  formatter(value) {
5061
5069
  return useValueFormatter(yAxisLabelFormatter, value);
5062
5070
  }
@@ -6149,26 +6157,26 @@
6149
6157
  const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUzuC1AtU1sF9KHmnmrtrSK6idqBWqE6GFVxFdGvqDGoJ01Qt7rfTEV0e7V6qSK6VjNPtTaqoOq8Ugnqr7aeav+rAuqrTh+qZw3o1urAVcFVQD3U6ZnaYY9MLZk6G5WhDaDFI9UeUPyE7gCNsAdAD9gxoBJ7ARRPUVwALXdu8/h/s3xmjtwUu0/M0M/UJzBjAei3TUTdpmKmcpkBmOHKBNTPzJi59zYJys3DO2aL78YcmNkLgrrM9m9TucwzmoBy08xlju+bgL42G4c5OcxqZSLqbwqXOVNTGXMWFD0ak6KN1ZKaojYmbribndW9MXELNQEFFUyiNqQlmEQ1JqpgErUifUUTUVEIupx1wzpjvWfdsh4FQX8ANe4nnpsb9NEAAAAASUVORK5CYII=";
6150
6158
  const _imports_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAaVBMVEUAAABElM9BltJCldJCldFBltJBldJCltFNmrNCmNNFldNAldJBldNBldRBldNBldNBldJCoNFBldJBltNBldJBldJAldJAltJBldJBldJBldNAlNFAldJBlNJAldJBldNBldJBldJBldLfIVowAAAAI3RSTlMAGjJNgGbmswMSCScgDTs/ZAVRK0eYj2s3r3AWveHEhXjeXb5rzlgAAAFqSURBVEjH1dbJVsJAEIXhHjJ05tlEooK8/0NKsbDrFjmHiBD0Lvqcf9PfthRM7xvoZMQuLHZaOejGYLtcdEItzI9oaLg5xIHj5hgcG262oXXcrGzJ23Umg5717C7NKBrAjOMDM8YgCI5ghmEPprUTmMZkrBOtdbJgfpZovho0gwzNOkfTam9k5jSGkKlTMOezWT3VLH5qlg8wQzSbO5jJ28l8Z+YLmZMwuz9lupvNXpjlFTMTZv7vzFSatTDtGnNeYdpNzZTMSJhx5f84m8Y3mSEzJzTVolko3J7Qve+a0J3vntDWffdEaMUQQo1vTWjuuyA0UWvUUarqzuqLUMPt1MD3uKTaTdRwvdrdorpFtfZtH6eyK2F3RS23U3uhlr9VB1TdE1V2h7Vr1O4mdbdera6o+Wq1Vqi2rEktFapGoZopVLVCtVCXag19IBPUiiWpBrojE1QNXZAp1/TYbhKdKVwuWotORKfn9wu/DSc/X9T6qgAAAABJRU5ErkJggg==";
6151
6159
  const Border_vue_vue_type_style_index_0_scoped_f3fc1305_lang = "";
6152
- const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-f3fc1305"), n = n(), vue.popScopeId(), n);
6153
- const _hoisted_1$5 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-left border-item" }, null, -1));
6154
- const _hoisted_2$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-right border-item" }, null, -1));
6155
- const _hoisted_3 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "bottom-left border-item" }, null, -1));
6156
- const _hoisted_4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "bottom-right border-item" }, null, -1));
6160
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-f3fc1305"), n = n(), vue.popScopeId(), n);
6161
+ const _hoisted_1$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-left border-item" }, null, -1));
6162
+ const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-right border-item" }, null, -1));
6163
+ const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "bottom-left border-item" }, null, -1));
6164
+ const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "bottom-right border-item" }, null, -1));
6157
6165
  const _hoisted_5 = { class: "title-item-wrapper" };
6158
6166
  const _hoisted_6 = { class: "title-item" };
6159
- const _hoisted_7 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("img", {
6167
+ const _hoisted_7 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("img", {
6160
6168
  class: "title-decoration-left",
6161
6169
  src: _imports_0
6162
6170
  }, null, -1));
6163
6171
  const _hoisted_8 = { class: "title" };
6164
- const _hoisted_9 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("img", {
6172
+ const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("img", {
6165
6173
  class: "title-decoration-right",
6166
6174
  src: _imports_1
6167
6175
  }, null, -1));
6168
- const _hoisted_10 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-left border-item" }, null, -1));
6169
- const _hoisted_11 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-right border-item" }, null, -1));
6170
- const _hoisted_12 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "bottom-left border-item" }, null, -1));
6171
- const _hoisted_13 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "bottom-right border-item" }, null, -1));
6176
+ const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-left border-item" }, null, -1));
6177
+ const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-right border-item" }, null, -1));
6178
+ const _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "bottom-left border-item" }, null, -1));
6179
+ const _hoisted_13 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "bottom-right border-item" }, null, -1));
6172
6180
  const _hoisted_14 = {
6173
6181
  key: 2,
6174
6182
  class: "left-title"
@@ -6187,7 +6195,7 @@
6187
6195
  }, [
6188
6196
  _ctx.useBorderModify ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
6189
6197
  _hoisted_1$5,
6190
- _hoisted_2$2,
6198
+ _hoisted_2$1,
6191
6199
  _hoisted_3,
6192
6200
  _hoisted_4
6193
6201
  ], 64)) : vue.createCommentVNode("", true)
@@ -6401,9 +6409,11 @@
6401
6409
  activeTabBackgroundImage: "",
6402
6410
  tabColor: "#333",
6403
6411
  tabBarGutter: "24px",
6412
+ tabFontWeight: 400,
6404
6413
  value: "",
6405
6414
  activeKey: 0,
6406
6415
  contains: [],
6416
+ tabFlexDirection: "row",
6407
6417
  data: [
6408
6418
  {
6409
6419
  title: "\u6807\u7B7E1"
@@ -6414,7 +6424,9 @@
6414
6424
  {
6415
6425
  title: "\u6807\u7B7E3"
6416
6426
  }
6417
- ]
6427
+ ],
6428
+ tabAlignItems: "flex-start",
6429
+ tabJustifyContent: "flex-start"
6418
6430
  };
6419
6431
  const tabsComponentProps = transformToComponentProps(tabsProps);
6420
6432
  const tabsEvents = ["tabChange"];
@@ -6472,10 +6484,8 @@
6472
6484
  };
6473
6485
  }
6474
6486
  });
6475
- const Tabs_vue_vue_type_style_index_0_scoped_0a4268f1_lang = "";
6476
- const _withScopeId = (n) => (vue.pushScopeId("data-v-0a4268f1"), n = n(), vue.popScopeId(), n);
6487
+ const Tabs_vue_vue_type_style_index_0_scoped_3db5a989_lang = "";
6477
6488
  const _hoisted_1$4 = ["onClick"];
6478
- const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tabs-content" }, null, -1));
6479
6489
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
6480
6490
  return vue.openBlock(), vue.createElementBlock("div", {
6481
6491
  class: "ecan-tabs",
@@ -6484,7 +6494,10 @@
6484
6494
  vue.createElementVNode("div", {
6485
6495
  class: "tabs-header",
6486
6496
  style: vue.normalizeStyle({
6487
- fontSize: _ctx.tabFontSize
6497
+ fontSize: _ctx.tabFontSize,
6498
+ alignItems: _ctx.tabAlignItems,
6499
+ justifyContent: _ctx.tabJustifyContent,
6500
+ flexDirection: _ctx.tabFlexDirection
6488
6501
  })
6489
6502
  }, [
6490
6503
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.myData, (tab, index2) => {
@@ -6494,7 +6507,9 @@
6494
6507
  padding: `5px ${_ctx.tabHorizontalPadding}`,
6495
6508
  color: _ctx.isActive(index2) ? _ctx.activeTabColor : _ctx.tabColor,
6496
6509
  backgroundImage: _ctx.isActive(index2) ? _ctx.useImagePath(_ctx.activeTabBackgroundImage, true) : _ctx.useImagePath(_ctx.tabBackgroundImage, true),
6497
- paddingRight: _ctx.tabBarGutter
6510
+ marginRight: _ctx.tabFlexDirection === "row" ? _ctx.tabBarGutter : null,
6511
+ marginBottom: _ctx.tabFlexDirection === "column" ? _ctx.tabBarGutter : null,
6512
+ fontWeight: _ctx.tabFontWeight
6498
6513
  }),
6499
6514
  key: index2,
6500
6515
  onClick: vue.withModifiers(($event) => _ctx.tabChange(tab, index2), ["prevent", "stop"])
@@ -6507,11 +6522,10 @@
6507
6522
  }, vue.toDisplayString(tab.title), 5)
6508
6523
  ], 12, _hoisted_1$4);
6509
6524
  }), 128))
6510
- ], 4),
6511
- _hoisted_2$1
6525
+ ], 4)
6512
6526
  ], 4);
6513
6527
  }
6514
- const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-0a4268f1"]]);
6528
+ const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-3db5a989"]]);
6515
6529
  const EcanTabs = withInstall(Tabs);
6516
6530
  const imageProps = {
6517
6531
  ...props,
@@ -6603,9 +6617,9 @@
6603
6617
  });
6604
6618
  const myLink = vue.computed(() => {
6605
6619
  let link = useVariablesInText(props2.link);
6606
- if (props2.linkType === "erd") {
6607
- const erdUrl = ERD_URL || vue.unref(contextRequestUrl);
6608
- link = `${vue.unref(erdUrl)}/erdReport?_t=0&uid=${link}`;
6620
+ if (props2.linkType === "erd" && link != null) {
6621
+ const erdUrl = ERD_URL || vue.unref(contextRequestUrl) + "/erdReport";
6622
+ link = `${vue.unref(erdUrl)}?_t=0&uid=${link}`;
6609
6623
  }
6610
6624
  return link;
6611
6625
  });
@@ -6615,7 +6629,7 @@
6615
6629
  };
6616
6630
  }
6617
6631
  });
6618
- const Iframe_vue_vue_type_style_index_0_scoped_8ff0c882_lang = "";
6632
+ const Iframe_vue_vue_type_style_index_0_scoped_9631ea8e_lang = "";
6619
6633
  const _hoisted_1$2 = ["src"];
6620
6634
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
6621
6635
  return _ctx.myLink ? (vue.openBlock(), vue.createElementBlock("iframe", {
@@ -6628,7 +6642,7 @@
6628
6642
  style: vue.normalizeStyle(_ctx.style)
6629
6643
  }, " \u8BF7\u586B\u5199\u7F51\u9875\u94FE\u63A5 ", 4));
6630
6644
  }
6631
- const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-8ff0c882"]]);
6645
+ const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-9631ea8e"]]);
6632
6646
  const EcanIframe = withInstall(Iframe);
6633
6647
  const tableProps = {
6634
6648
  ...props,
@@ -6650,7 +6664,6 @@
6650
6664
  paginationShow: true,
6651
6665
  isReverse: false,
6652
6666
  simple: false,
6653
- headerBackgroundColor: "#fafafa",
6654
6667
  cellBackgroundColor: "",
6655
6668
  borderColor: "",
6656
6669
  paginationPosition: "bottomRight",
@@ -6968,11 +6981,6 @@
6968
6981
  loading.value = false;
6969
6982
  }
6970
6983
  };
6971
- const customHeaderRow = () => ({
6972
- style: {
6973
- backgroundColor: props2.headerBackgroundColor
6974
- }
6975
- });
6976
6984
  const customRow = (record) => ({
6977
6985
  onClick: emitEvent("click", () => {
6978
6986
  const id = props2.id;
@@ -7067,7 +7075,6 @@
7067
7075
  y,
7068
7076
  style: style2,
7069
7077
  customRow,
7070
- customHeaderRow,
7071
7078
  pagination,
7072
7079
  formatFn,
7073
7080
  contrastClass,
@@ -7082,7 +7089,7 @@
7082
7089
  };
7083
7090
  }
7084
7091
  });
7085
- const Table_vue_vue_type_style_index_0_scoped_601c5548_lang = "";
7092
+ const Table_vue_vue_type_style_index_0_scoped_e90dd607_lang = "";
7086
7093
  const Table_vue_vue_type_style_index_1_lang = "";
7087
7094
  const _hoisted_1$1 = {
7088
7095
  key: 1,
@@ -7113,7 +7120,6 @@
7113
7120
  customRow: _ctx.customRow,
7114
7121
  scroll: { x: _ctx.x, y: _ctx.y },
7115
7122
  pagination: _ctx.pagination,
7116
- customHeaderRow: _ctx.customHeaderRow,
7117
7123
  onChange: _ctx.tableChange
7118
7124
  }, {
7119
7125
  headerCell: vue.withCtx(({ column }) => [
@@ -7121,7 +7127,6 @@
7121
7127
  style: vue.normalizeStyle({
7122
7128
  fontSize: _ctx.headerFontSize,
7123
7129
  fontWeight: _ctx.headerFontWeight,
7124
- backgroundColor: _ctx.headerBackgroundColor,
7125
7130
  width: "100%",
7126
7131
  height: "100%",
7127
7132
  textAlign: column.headerCellAlign,
@@ -7196,13 +7201,13 @@
7196
7201
  })) : vue.createCommentVNode("", true)
7197
7202
  ]),
7198
7203
  _: 1
7199
- }, 8, ["columns", "data-source", "bordered", "size", "customRow", "scroll", "pagination", "customHeaderRow", "onChange"])
7204
+ }, 8, ["columns", "data-source", "bordered", "size", "customRow", "scroll", "pagination", "onChange"])
7200
7205
  ]),
7201
7206
  _: 1
7202
7207
  }, 8, ["loading"])
7203
7208
  ], 4);
7204
7209
  }
7205
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-601c5548"]]);
7210
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-e90dd607"]]);
7206
7211
  const EcanTable = withInstall(Table);
7207
7212
  const mapProps = {
7208
7213
  ...props,
@@ -7285,84 +7290,87 @@
7285
7290
  }
7286
7291
  return "circle";
7287
7292
  });
7288
- const geoCenter = vue.computed(() => {
7289
- var _a2;
7290
- return (_a2 = props2.geoCenter) == null ? void 0 : _a2.split(",");
7291
- });
7292
- const option = vue.computed(() => ({
7293
- tooltip: {
7294
- show: true
7295
- },
7296
- graphic: [
7297
- {
7298
- type: "image",
7299
- style: {
7300
- width: parseFloat(props2.width),
7301
- height: parseFloat(props2.height),
7302
- image: vue.unref(myBackgroundImage)
7303
- },
7304
- top: "center"
7305
- }
7306
- ],
7307
- geo: {
7308
- zoom: props2.geoZoom,
7309
- roam: props2.geoRoam,
7310
- center: vue.unref(geoCenter),
7311
- map: "map",
7293
+ const option = vue.computed(() => {
7294
+ const geoCenter = props2.geoCenter;
7295
+ let center;
7296
+ if (typeof geoCenter === "string" && geoCenter !== "") {
7297
+ center = geoCenter.split(",");
7298
+ }
7299
+ return {
7312
7300
  tooltip: {
7313
- show: false
7314
- },
7315
- label: {
7316
- show: props2.geoLabelShow,
7317
- color: props2.geoLabelColor,
7318
- fontSize: props2.geoLabelFontSize
7301
+ show: true
7319
7302
  },
7320
- itemStyle: {
7321
- areaColor: vue.unref(areaColor),
7322
- borderColor: props2.geoItemStyleBorderColor,
7323
- borderWidth: props2.geoItemStyleBorderWidth,
7324
- shadowColor: props2.geoItemStyleShadowColor,
7325
- shadowBlur: props2.geoItemStyleShadowBlur,
7326
- shadowOffsetX: props2.geoItemStyleShadowOffsetX,
7327
- shadowOffsetY: props2.geoItemStyleShadowOffsetY
7328
- },
7329
- emphasis: {
7330
- disabled: props2.geoEmphasisDisabled,
7331
- label: {
7332
- color: props2.geoEmphasisLabelColor
7333
- },
7334
- itemStyle: {
7335
- areaColor: props2.geoEmphasisItemStyleAreaColor,
7336
- borderColor: props2.geoEmphasisItemStyleBorderColor
7303
+ graphic: [
7304
+ {
7305
+ type: "image",
7306
+ style: {
7307
+ width: parseFloat(props2.width),
7308
+ height: parseFloat(props2.height),
7309
+ image: vue.unref(myBackgroundImage)
7310
+ },
7311
+ top: "center"
7337
7312
  }
7338
- }
7339
- },
7340
- series: [
7341
- {
7342
- type: "scatter",
7343
- coordinateSystem: "geo",
7344
- itemStyle: {
7345
- color: props2.itemStyleColor
7313
+ ],
7314
+ geo: {
7315
+ zoom: props2.geoZoom,
7316
+ roam: props2.geoRoam,
7317
+ center,
7318
+ map: "map",
7319
+ tooltip: {
7320
+ show: false
7346
7321
  },
7347
- symbol: vue.unref(symbol),
7348
- symbolSize: [props2.symbolWidth, props2.symbolHeight],
7349
7322
  label: {
7350
- show: props2.labelShow,
7351
- fontSize: props2.labelFontSize,
7352
- formatter: props2.labelFormatter,
7353
- color: props2.labelColor
7323
+ show: props2.geoLabelShow,
7324
+ color: props2.geoLabelColor,
7325
+ fontSize: props2.geoLabelFontSize
7354
7326
  },
7355
- tooltip: {
7356
- show: props2.tooltipShow,
7357
- formatter: props2.tooltipFormatter,
7358
- textStyle: {
7359
- color: props2.tooltipTextStyleColor
7360
- }
7327
+ itemStyle: {
7328
+ areaColor: vue.unref(areaColor),
7329
+ borderColor: props2.geoItemStyleBorderColor,
7330
+ borderWidth: props2.geoItemStyleBorderWidth,
7331
+ shadowColor: props2.geoItemStyleShadowColor,
7332
+ shadowBlur: props2.geoItemStyleShadowBlur,
7333
+ shadowOffsetX: props2.geoItemStyleShadowOffsetX,
7334
+ shadowOffsetY: props2.geoItemStyleShadowOffsetY
7361
7335
  },
7362
- data: props2.data
7363
- }
7364
- ]
7365
- }));
7336
+ emphasis: {
7337
+ disabled: props2.geoEmphasisDisabled,
7338
+ label: {
7339
+ color: props2.geoEmphasisLabelColor
7340
+ },
7341
+ itemStyle: {
7342
+ areaColor: props2.geoEmphasisItemStyleAreaColor,
7343
+ borderColor: props2.geoEmphasisItemStyleBorderColor
7344
+ }
7345
+ }
7346
+ },
7347
+ series: [
7348
+ {
7349
+ type: "scatter",
7350
+ coordinateSystem: "geo",
7351
+ itemStyle: {
7352
+ color: props2.itemStyleColor
7353
+ },
7354
+ symbol: vue.unref(symbol),
7355
+ symbolSize: [props2.symbolWidth, props2.symbolHeight],
7356
+ label: {
7357
+ show: props2.labelShow,
7358
+ fontSize: props2.labelFontSize,
7359
+ formatter: props2.labelFormatter,
7360
+ color: props2.labelColor
7361
+ },
7362
+ tooltip: {
7363
+ show: props2.tooltipShow,
7364
+ formatter: props2.tooltipFormatter,
7365
+ textStyle: {
7366
+ color: props2.tooltipTextStyleColor
7367
+ }
7368
+ },
7369
+ data: props2.data
7370
+ }
7371
+ ]
7372
+ };
7373
+ });
7366
7374
  const isLoadedData = vue.ref(false);
7367
7375
  const handleRegisterMap = async () => {
7368
7376
  const mapJson = props2.mapJson;
@@ -7386,7 +7394,7 @@
7386
7394
  };
7387
7395
  }
7388
7396
  });
7389
- const Map_vue_vue_type_style_index_0_scoped_01c2ad5b_lang = "";
7397
+ const Map_vue_vue_type_style_index_0_scoped_38065aba_lang = "";
7390
7398
  const _hoisted_1 = ["src"];
7391
7399
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
7392
7400
  const _component_echarts = vue.resolveComponent("echarts");
@@ -7408,7 +7416,7 @@
7408
7416
  ])
7409
7417
  ], 4);
7410
7418
  }
7411
- const Map$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-01c2ad5b"]]);
7419
+ const Map$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-38065aba"]]);
7412
7420
  const EcanMap = withInstall(Map$1);
7413
7421
  const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7414
7422
  __proto__: null,