@ecan-bi/datav 1.2.81 → 1.2.83

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 CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.2.81 */
1
+ /*! @ecan-bi/datav@1.2.83 */
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) => (Dc(e), e), (e) => Promise.reject(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({
@@ -7246,8 +7249,8 @@ const Rc = (e) => e.replace(/\\n/g, `
7246
7249
  let s;
7247
7250
  try {
7248
7251
  s = Function(`"use strict";return (${r})`)()(...a);
7249
- } catch (i) {
7250
- return console.error(i), e;
7252
+ } catch {
7253
+ return e;
7251
7254
  }
7252
7255
  return s;
7253
7256
  }, Re = (e = "", { textData: n, codeData: t } = {}, { useNewline: o = !1, useSpace: a = !1 } = {}) => {
@@ -13892,7 +13895,7 @@ const Yd = /* @__PURE__ */ pe($d, [["render", Zd], ["__scopeId", "data-v-19bc100
13892
13895
  graphicConfig: {},
13893
13896
  stripedShow: !1,
13894
13897
  stripedColor: "#fafafa",
13895
- isGroupTable: !1,
13898
+ isGroupTable: !0,
13896
13899
  seqWidth: "10%",
13897
13900
  isSummaryFixed: !1,
13898
13901
  isPageBottom: !1,
@@ -13901,7 +13904,8 @@ const Yd = /* @__PURE__ */ pe($d, [["render", Zd], ["__scopeId", "data-v-19bc100
13901
13904
  paginationColor: "#000000a6",
13902
13905
  paginationBgColor: "#fff",
13903
13906
  activePaginationColor: "#1890ff",
13904
- activePaginationBgColor: "#fff"
13907
+ activePaginationBgColor: "#fff",
13908
+ hoverBackgroundColor: "#fafafa"
13905
13909
  }, v0 = Ce(h0), Qd = ["click", "refreshData", "resetRecord", "exportTableData"], Qo = ye({
13906
13910
  name: "EcanTable",
13907
13911
  components: {
@@ -14378,13 +14382,14 @@ const Yd = /* @__PURE__ */ pe($d, [["render", Zd], ["__scopeId", "data-v-19bc100
14378
14382
  }
14379
14383
  }), Ar = () => {
14380
14384
  Bn((e) => ({
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
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
14388
14393
  }));
14389
14394
  }, kr = Qo.setup;
14390
14395
  Qo.setup = kr ? (e, n) => (Ar(), kr(e, n)) : Ar;
@@ -14590,7 +14595,7 @@ function f1(e, n, t, o, a, r) {
14590
14595
  }, 8, ["loading"])
14591
14596
  ], 12, Xd);
14592
14597
  }
14593
- const d1 = /* @__PURE__ */ pe(Qo, [["render", f1], ["__scopeId", "data-v-d98c0946"]]), h1 = be(d1), g0 = {
14598
+ const d1 = /* @__PURE__ */ pe(Qo, [["render", f1], ["__scopeId", "data-v-a6c1aaeb"]]), h1 = be(d1), g0 = {
14594
14599
  ...Te,
14595
14600
  mapJson: null,
14596
14601
  data: [],