@ecan-bi/datav 1.0.94 → 1.0.96

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.94 */
1
+ /*! @ecan-bi/datav@1.0.96 */
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) {
@@ -6618,8 +6618,14 @@
6618
6618
  const myLink = vue.computed(() => {
6619
6619
  let link = useVariablesInText(props2.link);
6620
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}`;
6621
+ let ctxErdUrl = vue.unref(contextRequestUrl);
6622
+ if (ctxErdUrl[ctxErdUrl.length - 1] === "/") {
6623
+ ctxErdUrl += "erdReport";
6624
+ } else {
6625
+ ctxErdUrl += "/erdReport";
6626
+ }
6627
+ const erdUrl = ERD_URL || ctxErdUrl;
6628
+ link = `${erdUrl}?_t=0&uid=${link}`;
6623
6629
  }
6624
6630
  return link;
6625
6631
  });
@@ -6629,7 +6635,7 @@
6629
6635
  };
6630
6636
  }
6631
6637
  });
6632
- const Iframe_vue_vue_type_style_index_0_scoped_9631ea8e_lang = "";
6638
+ const Iframe_vue_vue_type_style_index_0_scoped_b0be60e8_lang = "";
6633
6639
  const _hoisted_1$2 = ["src"];
6634
6640
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
6635
6641
  return _ctx.myLink ? (vue.openBlock(), vue.createElementBlock("iframe", {
@@ -6642,7 +6648,7 @@
6642
6648
  style: vue.normalizeStyle(_ctx.style)
6643
6649
  }, " \u8BF7\u586B\u5199\u7F51\u9875\u94FE\u63A5 ", 4));
6644
6650
  }
6645
- const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-9631ea8e"]]);
6651
+ const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-b0be60e8"]]);
6646
6652
  const EcanIframe = withInstall(Iframe);
6647
6653
  const tableProps = {
6648
6654
  ...props,
@@ -6789,7 +6795,8 @@
6789
6795
  if (isUseSeq) {
6790
6796
  _columns.push({
6791
6797
  title: "\u5E8F\u53F7",
6792
- dataIndex: "SEQ"
6798
+ dataIndex: "SEQ",
6799
+ align: "center"
6793
6800
  });
6794
6801
  }
6795
6802
  _columns = _columns.concat(lodashEs.cloneDeep(columns));
@@ -7089,7 +7096,7 @@
7089
7096
  };
7090
7097
  }
7091
7098
  });
7092
- const Table_vue_vue_type_style_index_0_scoped_e90dd607_lang = "";
7099
+ const Table_vue_vue_type_style_index_0_scoped_392a99da_lang = "";
7093
7100
  const Table_vue_vue_type_style_index_1_lang = "";
7094
7101
  const _hoisted_1$1 = {
7095
7102
  key: 1,
@@ -7129,7 +7136,7 @@
7129
7136
  fontWeight: _ctx.headerFontWeight,
7130
7137
  width: "100%",
7131
7138
  height: "100%",
7132
- textAlign: column.headerCellAlign,
7139
+ textAlign: column.headerCellAlign || "center",
7133
7140
  color: column.headerCellColor,
7134
7141
  borderBottomColor: _ctx.borderColor
7135
7142
  })
@@ -7207,7 +7214,7 @@
7207
7214
  }, 8, ["loading"])
7208
7215
  ], 4);
7209
7216
  }
7210
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-e90dd607"]]);
7217
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-392a99da"]]);
7211
7218
  const EcanTable = withInstall(Table);
7212
7219
  const mapProps = {
7213
7220
  ...props,