@ecan-bi/datav 1.3.85 → 1.3.86
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 +12 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- 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.86 */
|
|
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";
|
|
@@ -8433,9 +8433,15 @@ const runCode = (e, r) => {
|
|
|
8433
8433
|
const { prop: D = "", dateFormat: V = "", modelKey: N = "", keyName: q = "", operateValue: $, operateMode: P, operateType: B } = M || {}, E = N || q;
|
|
8434
8434
|
if (O === "PARENT" && E && D) {
|
|
8435
8435
|
const W = window.config.record;
|
|
8436
|
+
let j = D, L = V;
|
|
8437
|
+
const Y = D.match(/\{(.+?)\}/g);
|
|
8438
|
+
if (Y != null && Y.length) {
|
|
8439
|
+
const J = Y[0].slice(1, -1).trim();
|
|
8440
|
+
j = D.replace(Y[0], ""), L = J, _.dateFormat = L;
|
|
8441
|
+
}
|
|
8436
8442
|
if (W && W[E]) {
|
|
8437
|
-
const
|
|
8438
|
-
dayjs.isDayjs(
|
|
8443
|
+
const J = unref(W[E][j]);
|
|
8444
|
+
dayjs.isDayjs(J) ? _.fieldValue = J.format(L || "YYYY-MM-DD") : _.fieldValue = J;
|
|
8439
8445
|
}
|
|
8440
8446
|
return;
|
|
8441
8447
|
}
|
|
@@ -8884,7 +8890,7 @@ const runCode = (e, r) => {
|
|
|
8884
8890
|
const x = {};
|
|
8885
8891
|
return a || (x.width = r.value, x.height = n.value), {
|
|
8886
8892
|
...x,
|
|
8887
|
-
backgroundColor: e.backgroundColor,
|
|
8893
|
+
backgroundColor: e.pageId ? "transparent" : e.backgroundColor,
|
|
8888
8894
|
backgroundImage: useImagePath(e.backgroundImage, !0),
|
|
8889
8895
|
backgroundSize: e.backgroundSize
|
|
8890
8896
|
};
|
|
@@ -8937,7 +8943,7 @@ const runCode = (e, r) => {
|
|
|
8937
8943
|
ready: d
|
|
8938
8944
|
};
|
|
8939
8945
|
}
|
|
8940
|
-
}),
|
|
8946
|
+
}), PageConfig_vue_vue_type_style_index_0_scoped_e1e149bf_lang = "", _hoisted_1$g = {
|
|
8941
8947
|
id: "container",
|
|
8942
8948
|
ref: "container"
|
|
8943
8949
|
};
|
|
@@ -8952,7 +8958,7 @@ function _sfc_render$x(e, r, n, i, a, o) {
|
|
|
8952
8958
|
], 4)) : createCommentVNode("", !0)
|
|
8953
8959
|
], 512);
|
|
8954
8960
|
}
|
|
8955
|
-
const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_render$x], ["__scopeId", "data-v-
|
|
8961
|
+
const PageConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["render", _sfc_render$x], ["__scopeId", "data-v-e1e149bf"]]), EcanPageConfig = withInstall$1(PageConfig), providerConfig = {
|
|
8956
8962
|
contextRequestUrl: "",
|
|
8957
8963
|
pageMode: "normal",
|
|
8958
8964
|
theme: "light",
|