@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.es.js +16 -9
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +16 -9
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +9 -9
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.0.
|
|
1
|
+
/*! @ecan-bi/datav@1.0.96 */
|
|
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";
|
|
@@ -6613,8 +6613,14 @@ const _sfc_main$2 = defineComponent({
|
|
|
6613
6613
|
const myLink = computed(() => {
|
|
6614
6614
|
let link = useVariablesInText(props2.link);
|
|
6615
6615
|
if (props2.linkType === "erd" && link != null) {
|
|
6616
|
-
|
|
6617
|
-
|
|
6616
|
+
let ctxErdUrl = unref(contextRequestUrl);
|
|
6617
|
+
if (ctxErdUrl[ctxErdUrl.length - 1] === "/") {
|
|
6618
|
+
ctxErdUrl += "erdReport";
|
|
6619
|
+
} else {
|
|
6620
|
+
ctxErdUrl += "/erdReport";
|
|
6621
|
+
}
|
|
6622
|
+
const erdUrl = ERD_URL || ctxErdUrl;
|
|
6623
|
+
link = `${erdUrl}?_t=0&uid=${link}`;
|
|
6618
6624
|
}
|
|
6619
6625
|
return link;
|
|
6620
6626
|
});
|
|
@@ -6624,7 +6630,7 @@ const _sfc_main$2 = defineComponent({
|
|
|
6624
6630
|
};
|
|
6625
6631
|
}
|
|
6626
6632
|
});
|
|
6627
|
-
const
|
|
6633
|
+
const Iframe_vue_vue_type_style_index_0_scoped_b0be60e8_lang = "";
|
|
6628
6634
|
const _hoisted_1$2 = ["src"];
|
|
6629
6635
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6630
6636
|
return _ctx.myLink ? (openBlock(), createElementBlock("iframe", {
|
|
@@ -6637,7 +6643,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6637
6643
|
style: normalizeStyle(_ctx.style)
|
|
6638
6644
|
}, " \u8BF7\u586B\u5199\u7F51\u9875\u94FE\u63A5 ", 4));
|
|
6639
6645
|
}
|
|
6640
|
-
const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
6646
|
+
const Iframe = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-b0be60e8"]]);
|
|
6641
6647
|
const EcanIframe = withInstall(Iframe);
|
|
6642
6648
|
const tableProps = {
|
|
6643
6649
|
...props,
|
|
@@ -6784,7 +6790,8 @@ const _sfc_main$1 = defineComponent({
|
|
|
6784
6790
|
if (isUseSeq) {
|
|
6785
6791
|
_columns.push({
|
|
6786
6792
|
title: "\u5E8F\u53F7",
|
|
6787
|
-
dataIndex: "SEQ"
|
|
6793
|
+
dataIndex: "SEQ",
|
|
6794
|
+
align: "center"
|
|
6788
6795
|
});
|
|
6789
6796
|
}
|
|
6790
6797
|
_columns = _columns.concat(cloneDeep(columns));
|
|
@@ -7084,7 +7091,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
7084
7091
|
};
|
|
7085
7092
|
}
|
|
7086
7093
|
});
|
|
7087
|
-
const
|
|
7094
|
+
const Table_vue_vue_type_style_index_0_scoped_392a99da_lang = "";
|
|
7088
7095
|
const Table_vue_vue_type_style_index_1_lang = "";
|
|
7089
7096
|
const _hoisted_1$1 = {
|
|
7090
7097
|
key: 1,
|
|
@@ -7124,7 +7131,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7124
7131
|
fontWeight: _ctx.headerFontWeight,
|
|
7125
7132
|
width: "100%",
|
|
7126
7133
|
height: "100%",
|
|
7127
|
-
textAlign: column.headerCellAlign,
|
|
7134
|
+
textAlign: column.headerCellAlign || "center",
|
|
7128
7135
|
color: column.headerCellColor,
|
|
7129
7136
|
borderBottomColor: _ctx.borderColor
|
|
7130
7137
|
})
|
|
@@ -7202,7 +7209,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7202
7209
|
}, 8, ["loading"])
|
|
7203
7210
|
], 4);
|
|
7204
7211
|
}
|
|
7205
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
7212
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-392a99da"]]);
|
|
7206
7213
|
const EcanTable = withInstall(Table);
|
|
7207
7214
|
const mapProps = {
|
|
7208
7215
|
...props,
|