@ecan-bi/datav 1.6.40 → 1.6.41
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 +14 -13
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +2 -2
- package/package.json +4 -3
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.6.
|
|
1
|
+
/*! @ecan-bi/datav@1.6.41 */
|
|
2
2
|
import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h as h$1, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, onBeforeUnmount, normalizeClass as normalizeClass$1, normalizeStyle as normalizeStyle$1, createElementVNode, createCommentVNode, Fragment, renderList, provide, withModifiers, toDisplayString, pushScopeId, popScopeId, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, reactive, toRaw, createTextVNode, useCssVars, createSlots, resolveDirective, withDirectives, vShow, vModelText, getCurrentInstance, onActivated, onDeactivated, isRef, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
|
|
3
3
|
import { throttle as throttle$2, init, use, registerMap } from "echarts/core";
|
|
4
4
|
import { addListener, removeListener } from "resize-detector";
|
|
@@ -3355,7 +3355,7 @@ const qn = (ct) => {
|
|
|
3355
3355
|
if (di != null && di.length) {
|
|
3356
3356
|
for (const vi of di)
|
|
3357
3357
|
if (vi.variableName) {
|
|
3358
|
-
const Oi = Gn(vi.id, vi.keyName), fi = { variateName: vi.variableName, globalCondition: !1, valueType: vi.variableType, alias: Oi || "" };
|
|
3358
|
+
const Oi = Gn(vi.id, vi.keyName), fi = { variateName: vi.variableName, globalCondition: vi.globalCondition || !1, valueType: vi.variableType, alias: Oi || "" };
|
|
3359
3359
|
Bn(fi, vi.id, { dateFormat: vi.format, prop: vi.dateTypeValue, keyName: Oi, operateType: vi.operateType, operateMode: vi.operateMode, operateValue: vi.operateValue }), vi.dataType === "" && (fi.fieldValue = vi.variableValue), vi.format && (fi.dateFormat = vi.format), vi.label && (fi.label = vi.label), Ci.push(fi);
|
|
3360
3360
|
}
|
|
3361
3361
|
}
|
|
@@ -36698,9 +36698,10 @@ const CFB = /* @__PURE__ */ getDefaultExportFromCjs(cfbExports), ALIGN_INDEX = {
|
|
|
36698
36698
|
paginationBgColor: bi,
|
|
36699
36699
|
activePaginationColor: Fi,
|
|
36700
36700
|
activePaginationBgColor: Bi,
|
|
36701
|
-
hoverBackgroundColor: Mi
|
|
36701
|
+
hoverBackgroundColor: Mi,
|
|
36702
|
+
isTableFill: Pi
|
|
36702
36703
|
} = ct;
|
|
36703
|
-
return ui && (ii += "p-color "), bi && (ii += "p-bg-color "), Fi && (ii += "active-p-color "), Bi && (ii += "active-p-bg-color "), Mi && (ii += "hover-bg-color "), ii;
|
|
36704
|
+
return Pi && (ii += "table-fill "), ui && (ii += "p-color "), bi && (ii += "p-bg-color "), Fi && (ii += "active-p-color "), Bi && (ii += "active-p-bg-color "), Mi && (ii += "hover-bg-color "), ii;
|
|
36704
36705
|
}), Ai = (ii, ui) => {
|
|
36705
36706
|
if (qi(ii.dataIndex))
|
|
36706
36707
|
return !1;
|
|
@@ -36836,17 +36837,17 @@ const CFB = /* @__PURE__ */ getDefaultExportFromCjs(cfbExports), ALIGN_INDEX = {
|
|
|
36836
36837
|
}
|
|
36837
36838
|
}), __injectCSSVars__ = () => {
|
|
36838
36839
|
useCssVars((ct) => ({
|
|
36839
|
-
"
|
|
36840
|
-
"
|
|
36841
|
-
"
|
|
36842
|
-
|
|
36843
|
-
|
|
36844
|
-
"
|
|
36845
|
-
"
|
|
36840
|
+
"8ad7f132": ct.stripedColor,
|
|
36841
|
+
"5ead8004": ct.bodyRowHeight,
|
|
36842
|
+
"3fca5cf4": ct.headRowHeight,
|
|
36843
|
+
83223038: ct.tableBorderColor,
|
|
36844
|
+
"007784de": ct.tableHeaderBgColor,
|
|
36845
|
+
"4c2bc92e": ct.tableBodyBgColor,
|
|
36846
|
+
"34cbdb18": ct.hoverBackgroundColor
|
|
36846
36847
|
}));
|
|
36847
36848
|
}, __setup__ = __default__.setup;
|
|
36848
36849
|
__default__.setup = __setup__ ? (ct, Dn) => (__injectCSSVars__(), __setup__(ct, Dn)) : __injectCSSVars__;
|
|
36849
|
-
const
|
|
36850
|
+
const Table_vue_vue_type_style_index_0_scoped_71d818a1_lang = "", Table_vue_vue_type_style_index_1_lang = "", _withScopeId = (ct) => (pushScopeId("data-v-71d818a1"), ct = ct(), popScopeId(), ct), _hoisted_1$2 = ["id"], _hoisted_2$2 = {
|
|
36850
36851
|
key: 0,
|
|
36851
36852
|
class: "table-tool"
|
|
36852
36853
|
}, _hoisted_3$1 = /* @__PURE__ */ createTextVNode("导出数据"), _hoisted_4 = {
|
|
@@ -37176,7 +37177,7 @@ function _sfc_render$6(ct, Dn, ur, fr, dr, hr) {
|
|
|
37176
37177
|
renderSlot(ct.$slots, "toolbox", {}, void 0, !0)
|
|
37177
37178
|
], 14, _hoisted_1$2);
|
|
37178
37179
|
}
|
|
37179
|
-
const Table = /* @__PURE__ */ _export_sfc$1(__default__, [["render", _sfc_render$6], ["__scopeId", "data-v-
|
|
37180
|
+
const Table = /* @__PURE__ */ _export_sfc$1(__default__, [["render", _sfc_render$6], ["__scopeId", "data-v-71d818a1"]]), EcanTable = withInstall$1(Table), mapProps = {
|
|
37180
37181
|
...props$1,
|
|
37181
37182
|
mapJson: null,
|
|
37182
37183
|
data: [],
|