@ecan-bi/datav 1.5.73 → 1.5.74

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.73 */
1
+ /*! @ecan-bi/datav@1.5.74 */
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";
@@ -2682,7 +2682,7 @@ const An = ["keyValue", "conditionKey", "conditionLabel", "conditionName", "cond
2682
2682
  let g = c.modelKey;
2683
2683
  g && c.prop && (g += `-${c.prop}`), c.fieldValue = "${" + g + "}";
2684
2684
  } else
2685
- c.fieldValue = "${" + c.fieldValue + "}";
2685
+ c.fieldValue = "${" + Ln(c.componentId, c.fieldValue) + "}";
2686
2686
  delete c.dataType;
2687
2687
  }
2688
2688
  mn(c, "activeKey") && delete c.activeKey, mn(c, "radioValue") && delete c.radioValue, mn(c, "indexCode") && (c.hrpIndexCode = c.indexCode, delete c.indexCode), mn(c, "indexCodeNum") && (c.hrpIndexCodeNum = c.indexCodeNum, delete c.indexCodeNum), c.dataType !== "component" && c.useCurrentTime && (c.fieldValue = ce().format(c.dateFormat)), mn(c, "modelKey") && delete c.modelKey, mn(c, "prop") && delete c.prop, delete c.useCurrentTime;
@@ -2749,7 +2749,7 @@ const An = ["keyValue", "conditionKey", "conditionLabel", "conditionName", "cond
2749
2749
  });
2750
2750
  if (Rn != null && Rn.length)
2751
2751
  for (const j of Rn)
2752
- w.find((vn) => vn.id === j.id) || w.push(j);
2752
+ w.find((vn) => vn.keyName === j.keyName) || w.push(j);
2753
2753
  }
2754
2754
  }
2755
2755
  const Pn = w.length, re = u;
@@ -12917,7 +12917,7 @@ const DrillModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_r
12917
12917
  };
12918
12918
  window.addEventListener("message", async (Ir) => {
12919
12919
  var Rr, Lr;
12920
- if (c.customId === "ProviderConfig") {
12920
+ if (Ir.source !== window && c.customId === "ProviderConfig") {
12921
12921
  const jr = Ir.data || {};
12922
12922
  let Hr = {
12923
12923
  data: {}
@@ -13036,7 +13036,7 @@ const DrillModal = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_r
13036
13036
  isMobile: Rn
13037
13037
  };
13038
13038
  }
13039
- }), ProviderConfig_vue_vue_type_style_index_0_scoped_7b95fe71_lang = "", ProviderConfig_vue_vue_type_style_index_1_lang = "", _hoisted_1$k = ["id"];
13039
+ }), ProviderConfig_vue_vue_type_style_index_0_scoped_c845972b_lang = "", ProviderConfig_vue_vue_type_style_index_1_lang = "", _hoisted_1$k = ["id"];
13040
13040
  function _sfc_render$y(c, u, f, d, p, m) {
13041
13041
  const g = resolveComponent("drill-modal"), v = resolveComponent("indicator-detail-modal"), y = resolveComponent("trend-modal");
13042
13042
  return openBlock(), createElementBlock(Fragment, null, [
@@ -13068,7 +13068,7 @@ function _sfc_render$y(c, u, f, d, p, m) {
13068
13068
  }, null, 8, ["theme"])
13069
13069
  ], 64);
13070
13070
  }
13071
- const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$y], ["__scopeId", "data-v-7b95fe71"]]), EcanProviderConfig = withInstall$1(ProviderConfig), textProps = {
13071
+ const ProviderConfig = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$y], ["__scopeId", "data-v-c845972b"]]), EcanProviderConfig = withInstall$1(ProviderConfig), textProps = {
13072
13072
  ...props$1,
13073
13073
  name: "文本",
13074
13074
  keyName: "文本",