@ecan-bi/datav 1.2.80 → 1.2.81
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 +19 -10
- 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 +1 -1
- package/types/table/table/Table.vue.d.ts +32 -0
- package/types/table/table/index.d.ts +32 -0
- package/types/table/table/props.d.ts +20 -0
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.2.
|
|
1
|
+
/*! @ecan-bi/datav@1.2.81 */
|
|
2
2
|
import { watch as de, inject as ee, computed as X, unref as F, watchEffect as zo, defineComponent as ye, shallowRef as Nn, toRefs as T0, onMounted as Rt, onUnmounted as Dn, h as Tn, nextTick as Dt, createVNode as ae, resolveComponent as re, openBlock as U, createElementBlock as Q, createBlock as Ne, renderSlot as un, withCtx as ce, ref as G, provide as Xe, normalizeStyle as oe, createCommentVNode as Me, onBeforeUnmount as Bo, useCssVars as Bn, toDisplayString as Be, Fragment as qe, renderList as tt, createElementVNode as ge, normalizeClass as xt, pushScopeId as Rn, popScopeId as In, createTextVNode as mt, Teleport as Rr, resolveDynamicComponent as Ro, mergeProps as cn, normalizeProps as Ir, toHandlers as Or, withModifiers as Lr, reactive as _0, withDirectives as Fr, vModelText as E0, vShow as D0 } from "vue";
|
|
3
3
|
import { throttle as B0, init as R0, use as It, registerMap as dn } from "echarts/core";
|
|
4
4
|
import { addListener as I0, removeListener as O0 } from "resize-detector";
|
|
@@ -7246,8 +7246,8 @@ const Rc = (e) => e.replace(/\\n/g, `
|
|
|
7246
7246
|
let s;
|
|
7247
7247
|
try {
|
|
7248
7248
|
s = Function(`"use strict";return (${r})`)()(...a);
|
|
7249
|
-
} catch {
|
|
7250
|
-
return e;
|
|
7249
|
+
} catch (i) {
|
|
7250
|
+
return console.error(i), e;
|
|
7251
7251
|
}
|
|
7252
7252
|
return s;
|
|
7253
7253
|
}, Re = (e = "", { textData: n, codeData: t } = {}, { useNewline: o = !1, useSpace: a = !1 } = {}) => {
|
|
@@ -7260,7 +7260,7 @@ const Rc = (e) => e.replace(/\\n/g, `
|
|
|
7260
7260
|
const h = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, f = u.match(h);
|
|
7261
7261
|
for (let d = 0; d < f.length; d++) {
|
|
7262
7262
|
const g = f[d], v = s[g];
|
|
7263
|
-
v != null && (u = u.replace(g, v));
|
|
7263
|
+
v != null && typeof v != "function" && (u = u.replace(g, v));
|
|
7264
7264
|
}
|
|
7265
7265
|
(/\(.*\)/g.test(u) || /[+/\\*]/g.test(u)) && (u = Mn(u, t)), e = e.replace(l, u);
|
|
7266
7266
|
}
|
|
@@ -10381,7 +10381,7 @@ function wf(e, n, t, o, a, r) {
|
|
|
10381
10381
|
_: 3
|
|
10382
10382
|
}, 8, ["getContainer", "wrapClassName", "visible", "width", "destroyOnClose", "style", "onOk", "onCancel", "id"]);
|
|
10383
10383
|
}
|
|
10384
|
-
const Cf = /* @__PURE__ */ pe(Sf, [["render", wf], ["__scopeId", "data-v-
|
|
10384
|
+
const Cf = /* @__PURE__ */ pe(Sf, [["render", wf], ["__scopeId", "data-v-4d60efbd"]]), Ft = be(Cf);
|
|
10385
10385
|
It([
|
|
10386
10386
|
Ot,
|
|
10387
10387
|
Q0,
|
|
@@ -13897,7 +13897,11 @@ const Yd = /* @__PURE__ */ pe($d, [["render", Zd], ["__scopeId", "data-v-19bc100
|
|
|
13897
13897
|
isSummaryFixed: !1,
|
|
13898
13898
|
isPageBottom: !1,
|
|
13899
13899
|
isShowTotal: !1,
|
|
13900
|
-
hideTableHeader: !1
|
|
13900
|
+
hideTableHeader: !1,
|
|
13901
|
+
paginationColor: "#000000a6",
|
|
13902
|
+
paginationBgColor: "#fff",
|
|
13903
|
+
activePaginationColor: "#1890ff",
|
|
13904
|
+
activePaginationBgColor: "#fff"
|
|
13901
13905
|
}, v0 = Ce(h0), Qd = ["click", "refreshData", "resetRecord", "exportTableData"], Qo = ye({
|
|
13902
13906
|
name: "EcanTable",
|
|
13903
13907
|
components: {
|
|
@@ -14148,6 +14152,7 @@ const Yd = /* @__PURE__ */ pe($d, [["render", Zd], ["__scopeId", "data-v-19bc100
|
|
|
14148
14152
|
current: F(v),
|
|
14149
14153
|
pageSize: F(b) || "10",
|
|
14150
14154
|
showSizeChanger: !1,
|
|
14155
|
+
size: "large",
|
|
14151
14156
|
...K
|
|
14152
14157
|
};
|
|
14153
14158
|
}), L = (V) => +V == 1 ? "是" : +V == 0 ? "否" : V, k = (V, Z) => {
|
|
@@ -14373,9 +14378,13 @@ const Yd = /* @__PURE__ */ pe($d, [["render", Zd], ["__scopeId", "data-v-19bc100
|
|
|
14373
14378
|
}
|
|
14374
14379
|
}), Ar = () => {
|
|
14375
14380
|
Bn((e) => ({
|
|
14376
|
-
"
|
|
14377
|
-
"
|
|
14378
|
-
"
|
|
14381
|
+
"0fab6ced": e.stripedColor,
|
|
14382
|
+
"609430c3": e.paginationBgColor,
|
|
14383
|
+
"2311af48": e.paginationColor,
|
|
14384
|
+
"06c0ab1d": e.activePaginationBgColor,
|
|
14385
|
+
"52ecf822": e.activePaginationColor,
|
|
14386
|
+
"6e322de4": e.tableHeaderBgColor,
|
|
14387
|
+
"62274def": e.tableBodyBgColor
|
|
14379
14388
|
}));
|
|
14380
14389
|
}, kr = Qo.setup;
|
|
14381
14390
|
Qo.setup = kr ? (e, n) => (Ar(), kr(e, n)) : Ar;
|
|
@@ -14581,7 +14590,7 @@ function f1(e, n, t, o, a, r) {
|
|
|
14581
14590
|
}, 8, ["loading"])
|
|
14582
14591
|
], 12, Xd);
|
|
14583
14592
|
}
|
|
14584
|
-
const d1 = /* @__PURE__ */ pe(Qo, [["render", f1], ["__scopeId", "data-v-
|
|
14593
|
+
const d1 = /* @__PURE__ */ pe(Qo, [["render", f1], ["__scopeId", "data-v-d98c0946"]]), h1 = be(d1), g0 = {
|
|
14585
14594
|
...Te,
|
|
14586
14595
|
mapJson: null,
|
|
14587
14596
|
data: [],
|