@ecan-bi/datav 1.5.66 → 1.5.68

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.5.66 */
1
+ /*! @ecan-bi/datav@1.5.68 */
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, withModifiers, toDisplayString, pushScopeId, popScopeId, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, toRaw, reactive, useCssVars, createSlots, resolveDirective, withDirectives, vShow, createTextVNode, vModelText, getCurrentInstance, onActivated, onDeactivated, isRef, isVNode, Transition, onBeforeUpdate, Comment } from "vue";
3
3
  import { throttle as throttle$1, init, use, registerMap } from "echarts/core";
4
4
  import { addListener, removeListener } from "resize-detector";
@@ -12916,14 +12916,17 @@ const DrillModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_r
12916
12916
  window.addEventListener("message", async (Mr) => {
12917
12917
  var Dr, Lr;
12918
12918
  if (c.customId === "ProviderConfig") {
12919
- const Vr = Mr.data;
12920
- let zr;
12919
+ const Vr = Mr.data || {};
12920
+ let zr = {
12921
+ data: {}
12922
+ };
12921
12923
  try {
12922
12924
  const Gr = (Dr = unref(Kn)) == null ? void 0 : Dr.filter((ei) => ei.type === "ecanIndexPanel");
12923
12925
  if (Vr.type === "checkData")
12924
12926
  zr = {
12925
12927
  type: "checkDataRes",
12926
- hasData: !!(Gr != null && Gr.length)
12928
+ hasData: !!(Gr != null && Gr.length),
12929
+ data: {}
12927
12930
  };
12928
12931
  else if (Vr.type === "getData") {
12929
12932
  const ei = {};
@@ -12957,7 +12960,7 @@ const DrillModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_r
12957
12960
  }, ci && (zr.dataType = ci);
12958
12961
  }
12959
12962
  } catch (Gr) {
12960
- zr = { error: Gr.message };
12963
+ zr = { error: Gr.message, data: {} };
12961
12964
  }
12962
12965
  Mr.source.postMessage(zr, Mr.origin);
12963
12966
  }
@@ -13031,7 +13034,7 @@ const DrillModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_r
13031
13034
  isMobile: Rn
13032
13035
  };
13033
13036
  }
13034
- }), ProviderConfig_vue_vue_type_style_index_0_scoped_6bbd7026_lang = "", ProviderConfig_vue_vue_type_style_index_1_lang = "", _hoisted_1$k = ["id"];
13037
+ }), ProviderConfig_vue_vue_type_style_index_0_scoped_5c3d2bcd_lang = "", ProviderConfig_vue_vue_type_style_index_1_lang = "", _hoisted_1$k = ["id"];
13035
13038
  function _sfc_render$y(c, u, f, d, p, m) {
13036
13039
  const g = resolveComponent("drill-modal"), v = resolveComponent("indicator-detail-modal"), y = resolveComponent("trend-modal");
13037
13040
  return openBlock(), createElementBlock(Fragment, null, [
@@ -13063,7 +13066,7 @@ function _sfc_render$y(c, u, f, d, p, m) {
13063
13066
  }, null, 8, ["theme"])
13064
13067
  ], 64);
13065
13068
  }
13066
- const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$y], ["__scopeId", "data-v-6bbd7026"]]), EcanProviderConfig = withInstall$1(ProviderConfig), textProps = {
13069
+ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$y], ["__scopeId", "data-v-5c3d2bcd"]]), EcanProviderConfig = withInstall$1(ProviderConfig), textProps = {
13067
13070
  ...props$1,
13068
13071
  name: "文本",
13069
13072
  keyName: "文本",