@ecan-bi/datav 1.0.91 → 1.0.93
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 +4 -13
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -13
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +9 -9
- package/package.json +2 -1
- package/types/table/table/Table.vue.d.ts +0 -47
- package/types/table/table/index.d.ts +0 -47
- package/types/table/table/props.d.ts +0 -21
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.0.
|
|
1
|
+
/*! @ecan-bi/datav@1.0.93 */
|
|
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";
|
|
@@ -6645,7 +6645,6 @@ const tableProps = {
|
|
|
6645
6645
|
paginationShow: true,
|
|
6646
6646
|
isReverse: false,
|
|
6647
6647
|
simple: false,
|
|
6648
|
-
headerBackgroundColor: "#fafafa",
|
|
6649
6648
|
cellBackgroundColor: "",
|
|
6650
6649
|
borderColor: "",
|
|
6651
6650
|
paginationPosition: "bottomRight",
|
|
@@ -6963,11 +6962,6 @@ const _sfc_main$1 = defineComponent({
|
|
|
6963
6962
|
loading.value = false;
|
|
6964
6963
|
}
|
|
6965
6964
|
};
|
|
6966
|
-
const customHeaderRow = () => ({
|
|
6967
|
-
style: {
|
|
6968
|
-
backgroundColor: props2.headerBackgroundColor || "#fafafa"
|
|
6969
|
-
}
|
|
6970
|
-
});
|
|
6971
6965
|
const customRow = (record) => ({
|
|
6972
6966
|
onClick: emitEvent("click", () => {
|
|
6973
6967
|
const id = props2.id;
|
|
@@ -7062,7 +7056,6 @@ const _sfc_main$1 = defineComponent({
|
|
|
7062
7056
|
y,
|
|
7063
7057
|
style: style2,
|
|
7064
7058
|
customRow,
|
|
7065
|
-
customHeaderRow,
|
|
7066
7059
|
pagination,
|
|
7067
7060
|
formatFn,
|
|
7068
7061
|
contrastClass,
|
|
@@ -7077,7 +7070,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
7077
7070
|
};
|
|
7078
7071
|
}
|
|
7079
7072
|
});
|
|
7080
|
-
const
|
|
7073
|
+
const Table_vue_vue_type_style_index_0_scoped_e90dd607_lang = "";
|
|
7081
7074
|
const Table_vue_vue_type_style_index_1_lang = "";
|
|
7082
7075
|
const _hoisted_1$1 = {
|
|
7083
7076
|
key: 1,
|
|
@@ -7108,7 +7101,6 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7108
7101
|
customRow: _ctx.customRow,
|
|
7109
7102
|
scroll: { x: _ctx.x, y: _ctx.y },
|
|
7110
7103
|
pagination: _ctx.pagination,
|
|
7111
|
-
customHeaderRow: _ctx.customHeaderRow,
|
|
7112
7104
|
onChange: _ctx.tableChange
|
|
7113
7105
|
}, {
|
|
7114
7106
|
headerCell: withCtx(({ column }) => [
|
|
@@ -7116,7 +7108,6 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7116
7108
|
style: normalizeStyle({
|
|
7117
7109
|
fontSize: _ctx.headerFontSize,
|
|
7118
7110
|
fontWeight: _ctx.headerFontWeight,
|
|
7119
|
-
backgroundColor: _ctx.headerBackgroundColor || "#fafafa",
|
|
7120
7111
|
width: "100%",
|
|
7121
7112
|
height: "100%",
|
|
7122
7113
|
textAlign: column.headerCellAlign,
|
|
@@ -7191,13 +7182,13 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7191
7182
|
})) : createCommentVNode("", true)
|
|
7192
7183
|
]),
|
|
7193
7184
|
_: 1
|
|
7194
|
-
}, 8, ["columns", "data-source", "bordered", "size", "customRow", "scroll", "pagination", "
|
|
7185
|
+
}, 8, ["columns", "data-source", "bordered", "size", "customRow", "scroll", "pagination", "onChange"])
|
|
7195
7186
|
]),
|
|
7196
7187
|
_: 1
|
|
7197
7188
|
}, 8, ["loading"])
|
|
7198
7189
|
], 4);
|
|
7199
7190
|
}
|
|
7200
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
7191
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-e90dd607"]]);
|
|
7201
7192
|
const EcanTable = withInstall(Table);
|
|
7202
7193
|
const mapProps = {
|
|
7203
7194
|
...props,
|