@ecan-bi/datav 1.3.78 → 1.3.79
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 +29 -24
- 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/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.3.
|
|
1
|
+
/*! @ecan-bi/datav@1.3.79 */
|
|
2
2
|
import { watch, inject, computed, unref, watchEffect, defineComponent, shallowRef, toRefs, onMounted, onUnmounted, h, nextTick, createVNode, resolveComponent, openBlock, createElementBlock, createBlock, renderSlot, withCtx, ref, onBeforeUnmount, normalizeClass as normalizeClass$1, normalizeStyle as normalizeStyle$1, createElementVNode, createCommentVNode, Fragment, renderList, provide, useCssVars, toDisplayString, pushScopeId, popScopeId, createSlots, withModifiers, createTextVNode, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, withDirectives, vShow, reactive, vModelText, getCurrentInstance, onDeactivated, isRef, onActivated, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
|
|
3
3
|
import { throttle, init, use, registerMap } from "echarts/core";
|
|
4
4
|
import { addListener, removeListener } from "resize-detector";
|
|
@@ -9033,7 +9033,7 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_r
|
|
|
9033
9033
|
const ae = oe.match(/\[(.+?)\]/g);
|
|
9034
9034
|
let le = "";
|
|
9035
9035
|
ae != null && ae.length && (oe = oe.replace(ae[0], ""), le = ae[0].slice(1, -1).trim());
|
|
9036
|
-
const de = unref(
|
|
9036
|
+
const de = unref(c).find((pe) => pe.keyName === oe);
|
|
9037
9037
|
if (de) {
|
|
9038
9038
|
const pe = x(de.id), { type: ye, value: Ce, RECORD: Se, recordData: Te } = pe || {};
|
|
9039
9039
|
lowerCaseIncludes(ye, MODEL_KEY_LIST) ? te = Se[le] : lowerCaseIncludes(ye, "select") ? te = Te[le] : lowerCaseIncludes(ye, ["rangePicker", "date"]) ? dayjs.isDayjs(unref(pe[le])) ? te = unref(pe[le]).format(pe.format) : te = unref(pe[le]) : te = Ce;
|
|
@@ -9218,7 +9218,7 @@ const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_r
|
|
|
9218
9218
|
configStyle: v
|
|
9219
9219
|
};
|
|
9220
9220
|
}
|
|
9221
|
-
}),
|
|
9221
|
+
}), ProviderConfig_vue_vue_type_style_index_0_scoped_5e577e78_lang = "";
|
|
9222
9222
|
function _sfc_render$w(e, r, n, i, a, o) {
|
|
9223
9223
|
return openBlock(), createElementBlock("div", {
|
|
9224
9224
|
id: "ProviderConfig",
|
|
@@ -9228,7 +9228,7 @@ function _sfc_render$w(e, r, n, i, a, o) {
|
|
|
9228
9228
|
renderSlot(e.$slots, "default", {}, void 0, !0)
|
|
9229
9229
|
], 4);
|
|
9230
9230
|
}
|
|
9231
|
-
const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _sfc_render$w], ["__scopeId", "data-v-
|
|
9231
|
+
const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _sfc_render$w], ["__scopeId", "data-v-5e577e78"]]), EcanProviderConfig = withInstall$1(ProviderConfig), textProps = {
|
|
9232
9232
|
...props,
|
|
9233
9233
|
name: "文本",
|
|
9234
9234
|
keyName: "文本",
|
|
@@ -9578,9 +9578,6 @@ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _s
|
|
|
9578
9578
|
id: e.id,
|
|
9579
9579
|
requestFn: F,
|
|
9580
9580
|
sortNum: e.requestSort
|
|
9581
|
-
}), useOnEvent(e, {
|
|
9582
|
-
refreshData: F,
|
|
9583
|
-
resetRecord: D
|
|
9584
9581
|
}), r({
|
|
9585
9582
|
refreshData: F
|
|
9586
9583
|
});
|
|
@@ -9594,7 +9591,13 @@ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _s
|
|
|
9594
9591
|
getRecordValueByKeyName: d,
|
|
9595
9592
|
setTemplateData: b
|
|
9596
9593
|
});
|
|
9597
|
-
})
|
|
9594
|
+
});
|
|
9595
|
+
useOnEvent(e, {
|
|
9596
|
+
refreshData: F,
|
|
9597
|
+
resetRecord: D,
|
|
9598
|
+
click: I
|
|
9599
|
+
});
|
|
9600
|
+
const M = V("valueChange", () => {
|
|
9598
9601
|
});
|
|
9599
9602
|
return watch(() => v.value, (S, E) => {
|
|
9600
9603
|
S !== E && M();
|
|
@@ -9611,13 +9614,13 @@ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["render", _s
|
|
|
9611
9614
|
}
|
|
9612
9615
|
}), __injectCSSVars__$4 = () => {
|
|
9613
9616
|
useCssVars((e) => ({
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
"
|
|
9617
|
+
"732b96b7": e.vFontSize,
|
|
9618
|
+
cb3169b0: e.textIndent,
|
|
9619
|
+
"21de5300": e.percentageSide
|
|
9617
9620
|
}));
|
|
9618
9621
|
}, __setup__$4 = __default__$4.setup;
|
|
9619
9622
|
__default__$4.setup = __setup__$4 ? (e, r) => (__injectCSSVars__$4(), __setup__$4(e, r)) : __injectCSSVars__$4;
|
|
9620
|
-
const
|
|
9623
|
+
const Text_vue_vue_type_style_index_0_scoped_43215f8b_lang = "", Text_vue_vue_type_style_index_1_lang = "", _hoisted_1$f = ["innerHTML"];
|
|
9621
9624
|
function _sfc_render$v(e, r, n, i, a, o) {
|
|
9622
9625
|
const s = resolveComponent("skeleton");
|
|
9623
9626
|
return e.loading ? (openBlock(), createElementBlock("div", {
|
|
@@ -9638,7 +9641,7 @@ function _sfc_render$v(e, r, n, i, a, o) {
|
|
|
9638
9641
|
onClick: r[0] || (r[0] = (...l) => e.click && e.click(...l))
|
|
9639
9642
|
}, null, 14, _hoisted_1$f));
|
|
9640
9643
|
}
|
|
9641
|
-
const Text = /* @__PURE__ */ _export_sfc$1(__default__$4, [["render", _sfc_render$v], ["__scopeId", "data-v-
|
|
9644
|
+
const Text = /* @__PURE__ */ _export_sfc$1(__default__$4, [["render", _sfc_render$v], ["__scopeId", "data-v-43215f8b"]]), EcanText = withInstall$1(Text), _sfc_main$q = defineComponent({
|
|
9642
9645
|
name: "EcanScrollText",
|
|
9643
9646
|
setup() {
|
|
9644
9647
|
return {
|
|
@@ -25074,13 +25077,15 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_rende
|
|
|
25074
25077
|
highlight: unref(Y) === qe && e.clickHighlight
|
|
25075
25078
|
},
|
|
25076
25079
|
onClick: j("click", () => {
|
|
25080
|
+
if (!e.linkPage && !e.href)
|
|
25081
|
+
return;
|
|
25077
25082
|
const Ge = e.id, Ke = H(Ge);
|
|
25078
25083
|
Ne = {
|
|
25079
25084
|
dataIndex: be,
|
|
25080
25085
|
title: _e,
|
|
25081
25086
|
...Ne
|
|
25082
25087
|
}, W(Ge, { ...Ke, type: e.type, RECORD: Ne }), setTimeout(() => {
|
|
25083
|
-
|
|
25088
|
+
handleJumpLink(e, {
|
|
25084
25089
|
pageMode: unref(n),
|
|
25085
25090
|
getRecordValueByKeyName: U
|
|
25086
25091
|
});
|
|
@@ -25566,18 +25571,18 @@ const Iframe = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["render", _sfc_rende
|
|
|
25566
25571
|
}
|
|
25567
25572
|
}), __injectCSSVars__ = () => {
|
|
25568
25573
|
useCssVars((e) => ({
|
|
25569
|
-
|
|
25570
|
-
|
|
25571
|
-
"
|
|
25572
|
-
"
|
|
25573
|
-
"
|
|
25574
|
-
"
|
|
25575
|
-
|
|
25576
|
-
|
|
25574
|
+
"05e6e36f": e.stripedColor,
|
|
25575
|
+
ef318a34: e.tableHeaderBgColor,
|
|
25576
|
+
"48dfb371": e.tableBodyBgColor,
|
|
25577
|
+
"50e87b81": e.paginationBgColor,
|
|
25578
|
+
"74d59186": e.paginationColor,
|
|
25579
|
+
"38156f5b": e.activePaginationBgColor,
|
|
25580
|
+
"1681b3e0": e.activePaginationColor,
|
|
25581
|
+
"3074667c": e.hoverBackgroundColor
|
|
25577
25582
|
}));
|
|
25578
25583
|
}, __setup__ = __default__.setup;
|
|
25579
25584
|
__default__.setup = __setup__ ? (e, r) => (__injectCSSVars__(), __setup__(e, r)) : __injectCSSVars__;
|
|
25580
|
-
const
|
|
25585
|
+
const Table_vue_vue_type_style_index_0_scoped_fc8391da_lang = "", Table_vue_vue_type_style_index_1_lang = "", _withScopeId = (e) => (pushScopeId("data-v-fc8391da"), e = e(), popScopeId(), e), _hoisted_1$1 = ["id"], _hoisted_2 = {
|
|
25581
25586
|
key: 0,
|
|
25582
25587
|
class: "table-tool"
|
|
25583
25588
|
}, _hoisted_3 = /* @__PURE__ */ createTextVNode("导出数据"), _hoisted_4 = {
|
|
@@ -25868,7 +25873,7 @@ function _sfc_render$2(e, r, n, i, a, o) {
|
|
|
25868
25873
|
}, 8, ["loading"])
|
|
25869
25874
|
], 14, _hoisted_1$1);
|
|
25870
25875
|
}
|
|
25871
|
-
const Table = /* @__PURE__ */ _export_sfc$1(__default__, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
25876
|
+
const Table = /* @__PURE__ */ _export_sfc$1(__default__, [["render", _sfc_render$2], ["__scopeId", "data-v-fc8391da"]]), EcanTable = withInstall$1(Table), mapProps = {
|
|
25872
25877
|
...props,
|
|
25873
25878
|
mapJson: null,
|
|
25874
25879
|
data: [],
|