@ecan-bi/datav 1.2.80 → 1.2.82
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 +24 -10
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +4 -4
- 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 +40 -0
- package/types/table/table/index.d.ts +40 -0
- package/types/table/table/props.d.ts +25 -0
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.2.
|
|
1
|
+
/*! @ecan-bi/datav@1.2.82 */
|
|
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";
|
|
@@ -7178,7 +7178,10 @@ const gr = window.config.requestErrorTip, dt = Y0.create({
|
|
|
7178
7178
|
// timeout: 1000 * 15
|
|
7179
7179
|
timeout: 1e3 * 180
|
|
7180
7180
|
});
|
|
7181
|
-
dt.interceptors.request.use((e) =>
|
|
7181
|
+
dt.interceptors.request.use((e) => {
|
|
7182
|
+
const { requestParams: n = {} } = window.config;
|
|
7183
|
+
return n != null && n.pltToken && (e.headers["Plt-Token"] = n.pltToken), Dc(e), e;
|
|
7184
|
+
}, (e) => Promise.reject(e));
|
|
7182
7185
|
dt.interceptors.response.use((e) => {
|
|
7183
7186
|
var n, t, o;
|
|
7184
7187
|
return gr && +((n = e == null ? void 0 : e.data) == null ? void 0 : n.code) == 500 && Ht.error({
|
|
@@ -7260,7 +7263,7 @@ const Rc = (e) => e.replace(/\\n/g, `
|
|
|
7260
7263
|
const h = /[\u4e00-\u9fa5a-z-_A-Z0-9]*/g, f = u.match(h);
|
|
7261
7264
|
for (let d = 0; d < f.length; d++) {
|
|
7262
7265
|
const g = f[d], v = s[g];
|
|
7263
|
-
v != null && (u = u.replace(g, v));
|
|
7266
|
+
v != null && typeof v != "function" && (u = u.replace(g, v));
|
|
7264
7267
|
}
|
|
7265
7268
|
(/\(.*\)/g.test(u) || /[+/\\*]/g.test(u)) && (u = Mn(u, t)), e = e.replace(l, u);
|
|
7266
7269
|
}
|
|
@@ -10381,7 +10384,7 @@ function wf(e, n, t, o, a, r) {
|
|
|
10381
10384
|
_: 3
|
|
10382
10385
|
}, 8, ["getContainer", "wrapClassName", "visible", "width", "destroyOnClose", "style", "onOk", "onCancel", "id"]);
|
|
10383
10386
|
}
|
|
10384
|
-
const Cf = /* @__PURE__ */ pe(Sf, [["render", wf], ["__scopeId", "data-v-
|
|
10387
|
+
const Cf = /* @__PURE__ */ pe(Sf, [["render", wf], ["__scopeId", "data-v-4d60efbd"]]), Ft = be(Cf);
|
|
10385
10388
|
It([
|
|
10386
10389
|
Ot,
|
|
10387
10390
|
Q0,
|
|
@@ -13892,12 +13895,17 @@ const Yd = /* @__PURE__ */ pe($d, [["render", Zd], ["__scopeId", "data-v-19bc100
|
|
|
13892
13895
|
graphicConfig: {},
|
|
13893
13896
|
stripedShow: !1,
|
|
13894
13897
|
stripedColor: "#fafafa",
|
|
13895
|
-
isGroupTable: !
|
|
13898
|
+
isGroupTable: !0,
|
|
13896
13899
|
seqWidth: "10%",
|
|
13897
13900
|
isSummaryFixed: !1,
|
|
13898
13901
|
isPageBottom: !1,
|
|
13899
13902
|
isShowTotal: !1,
|
|
13900
|
-
hideTableHeader: !1
|
|
13903
|
+
hideTableHeader: !1,
|
|
13904
|
+
paginationColor: "#000000a6",
|
|
13905
|
+
paginationBgColor: "#fff",
|
|
13906
|
+
activePaginationColor: "#1890ff",
|
|
13907
|
+
activePaginationBgColor: "#fff",
|
|
13908
|
+
hoverBackgroundColor: "#fafafa"
|
|
13901
13909
|
}, v0 = Ce(h0), Qd = ["click", "refreshData", "resetRecord", "exportTableData"], Qo = ye({
|
|
13902
13910
|
name: "EcanTable",
|
|
13903
13911
|
components: {
|
|
@@ -14148,6 +14156,7 @@ const Yd = /* @__PURE__ */ pe($d, [["render", Zd], ["__scopeId", "data-v-19bc100
|
|
|
14148
14156
|
current: F(v),
|
|
14149
14157
|
pageSize: F(b) || "10",
|
|
14150
14158
|
showSizeChanger: !1,
|
|
14159
|
+
size: "large",
|
|
14151
14160
|
...K
|
|
14152
14161
|
};
|
|
14153
14162
|
}), L = (V) => +V == 1 ? "是" : +V == 0 ? "否" : V, k = (V, Z) => {
|
|
@@ -14373,9 +14382,14 @@ const Yd = /* @__PURE__ */ pe($d, [["render", Zd], ["__scopeId", "data-v-19bc100
|
|
|
14373
14382
|
}
|
|
14374
14383
|
}), Ar = () => {
|
|
14375
14384
|
Bn((e) => ({
|
|
14376
|
-
|
|
14377
|
-
"
|
|
14378
|
-
"
|
|
14385
|
+
b771a9fc: e.stripedColor,
|
|
14386
|
+
"5d161064": e.paginationBgColor,
|
|
14387
|
+
"4a0285da": e.paginationColor,
|
|
14388
|
+
e4d68430: e.activePaginationBgColor,
|
|
14389
|
+
"48ad41ad": e.activePaginationColor,
|
|
14390
|
+
e62d29e2: e.hoverBackgroundColor,
|
|
14391
|
+
"196a4839": e.tableHeaderBgColor,
|
|
14392
|
+
b0480cf8: e.tableBodyBgColor
|
|
14379
14393
|
}));
|
|
14380
14394
|
}, kr = Qo.setup;
|
|
14381
14395
|
Qo.setup = kr ? (e, n) => (Ar(), kr(e, n)) : Ar;
|
|
@@ -14581,7 +14595,7 @@ function f1(e, n, t, o, a, r) {
|
|
|
14581
14595
|
}, 8, ["loading"])
|
|
14582
14596
|
], 12, Xd);
|
|
14583
14597
|
}
|
|
14584
|
-
const d1 = /* @__PURE__ */ pe(Qo, [["render", f1], ["__scopeId", "data-v-
|
|
14598
|
+
const d1 = /* @__PURE__ */ pe(Qo, [["render", f1], ["__scopeId", "data-v-a6c1aaeb"]]), h1 = be(d1), g0 = {
|
|
14585
14599
|
...Te,
|
|
14586
14600
|
mapJson: null,
|
|
14587
14601
|
data: [],
|