@ecan-bi/datav 1.4.72 → 1.4.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.4.72 */
1
+ /*! @ecan-bi/datav@1.4.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, reactive, useCssVars, toDisplayString, pushScopeId, popScopeId, createSlots, withModifiers, createTextVNode, Teleport, resolveDynamicComponent, mergeProps, normalizeProps, toHandlers, withDirectives, vShow, 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";
@@ -12663,7 +12663,7 @@ const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_render$
12663
12663
  } catch (Hn) {
12664
12664
  console.error(Hn);
12665
12665
  }
12666
- typeof +Qn == "number" && !isNaN(+Qn) ? (Qn = +Qn * 100, c.decimalFormat && (Qn = Qn.toFixed(2))) : typeof Qn != "string" && (Qn = qn), zn = zn.replace(Xn, `<span style="color: ${c.variableColor};">${Qn + ""}</span>`);
12666
+ typeof +Qn == "number" && !isNaN(+Qn) ? (Qn = +Qn * 100, c.decimalFormat && (Qn = Qn.toFixed(2))) : typeof Qn != "string" && (Qn = qn), Qn === "percent" && (Qn = qn), zn = zn.replace(Xn, `<span style="color: ${c.variableColor};">${Qn + ""}</span>`);
12667
12667
  }
12668
12668
  return zn = zn == null ? void 0 : zn.replace(/\n|\\n/g, "<br/>"), unref(f) ? "NaN" : zn;
12669
12669
  }), b = useRequestData(c), w = ref(!1), Bn = async () => {
@@ -12753,7 +12753,7 @@ const List = /* @__PURE__ */ _export_sfc$1(_sfc_main$q, [["render", _sfc_render$
12753
12753
  customStrokeColor: Pn
12754
12754
  };
12755
12755
  }
12756
- }), Proportion_vue_vue_type_style_index_0_scoped_ca061c1e_lang = "", _hoisted_1$c = ["innerHTML"];
12756
+ }), Proportion_vue_vue_type_style_index_0_scoped_b6f58928_lang = "", _hoisted_1$c = ["innerHTML"];
12757
12757
  function _sfc_render$t(c, u, f, d, p, m) {
12758
12758
  const g = resolveComponent("skeleton"), v = resolveComponent("a-progress");
12759
12759
  return openBlock(), createElementBlock("div", {
@@ -12798,7 +12798,7 @@ function _sfc_render$t(c, u, f, d, p, m) {
12798
12798
  }, 8, ["class", "percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "showInfo", "gapDegree", "onClick"])
12799
12799
  ], 4);
12800
12800
  }
12801
- const Proportion = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$t], ["__scopeId", "data-v-ca061c1e"]]), EcanProportion = withInstall$1(Proportion), counterProps = {
12801
+ const Proportion = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["render", _sfc_render$t], ["__scopeId", "data-v-b6f58928"]]), EcanProportion = withInstall$1(Proportion), counterProps = {
12802
12802
  ...props,
12803
12803
  name: "计数器",
12804
12804
  type: "ecanCounter",
@@ -13742,7 +13742,9 @@ const RangePicker = /* @__PURE__ */ _export_sfc$1(__default__$2, [["render", _sf
13742
13742
  blank: "_blank"
13743
13743
  }[y];
13744
13744
  });
13745
- return {
13745
+ return useOnEvent(c, {
13746
+ click: d
13747
+ }), {
13746
13748
  style: u,
13747
13749
  click: d,
13748
13750
  myText: m,
@@ -14077,7 +14079,7 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_ren
14077
14079
  const dr = {};
14078
14080
  if (c.mode !== "multiple") {
14079
14081
  const vr = unref(er).find((pr) => pr.value === unref(b));
14080
- vr && (dr.itemCodes = vr.item_codes);
14082
+ vr && (dr.itemCodes = vr[Rn.value]);
14081
14083
  }
14082
14084
  return dr;
14083
14085
  }), Xn = computed(() => {
@@ -14162,7 +14164,7 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_ren
14162
14164
  try {
14163
14165
  Pn.value = !0;
14164
14166
  const dr = await Vn();
14165
- Yn(dr);
14167
+ console.log("props111111111", c), Yn(dr);
14166
14168
  } catch (dr) {
14167
14169
  console.error(dr);
14168
14170
  } finally {
@@ -14180,8 +14182,9 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_ren
14180
14182
  const lr = () => {
14181
14183
  switch (c.dataType) {
14182
14184
  case "indicator": {
14183
- if (unref(nr)) {
14184
- if (unref(J)[unref(nr).id]) {
14185
+ if (console.log("cascadeCpnt", nr.value), unref(nr)) {
14186
+ if (console.log("loadedData", J.value), unref(J)[unref(nr).id]) {
14187
+ console.log("props", c);
14185
14188
  const { mode: dr } = c;
14186
14189
  dr === "multiple" || dr === "tags" || dr === "combobox" ? w.value = [] : w.value = "", Gn();
14187
14190
  }
@@ -14234,7 +14237,7 @@ const Checkbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["render", _sfc_ren
14234
14237
  mobileSelectValue: m
14235
14238
  };
14236
14239
  }
14237
- }), Select_vue_vue_type_style_index_0_scoped_81dec643_lang = "", Select_vue_vue_type_style_index_1_lang = "";
14240
+ }), Select_vue_vue_type_style_index_0_scoped_e58a92f7_lang = "", Select_vue_vue_type_style_index_1_lang = "";
14238
14241
  function _sfc_render$m(c, u, f, d, p, m) {
14239
14242
  const g = resolveComponent("down-outlined"), v = resolveComponent("a-input"), y = resolveComponent("van-picker"), b = resolveComponent("van-popup"), w = resolveComponent("a-select-option"), Bn = resolveComponent("a-select");
14240
14243
  return openBlock(), createElementBlock("div", {
@@ -14307,7 +14310,7 @@ function _sfc_render$m(c, u, f, d, p, m) {
14307
14310
  }, 8, ["value", "placeholder", "allowClear", "mode", "getPopupContainer", "maxTagCount", "filterOption", "loading", "autoClearSearchValue", "onChange", "style"]))
14308
14311
  ], 4);
14309
14312
  }
14310
- const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$m], ["__scopeId", "data-v-81dec643"]]), EcanSelect = withInstall$1(Select), treeSelectProps = {
14313
+ const Select = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["render", _sfc_render$m], ["__scopeId", "data-v-e58a92f7"]]), EcanSelect = withInstall$1(Select), treeSelectProps = {
14311
14314
  ...props,
14312
14315
  name: "树形下拉框选择器",
14313
14316
  keyName: "树形下拉框选择器",