@ecan-bi/datav 1.5.61 → 1.5.62

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.61 */
1
+ /*! @ecan-bi/datav@1.5.62 */
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, 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";
@@ -16422,6 +16422,9 @@ const __default__$2 = defineComponent({
16422
16422
  case "month":
16423
16423
  y.value = [dayjs().startOf("month"), dayjs().endOf("month")];
16424
16424
  break;
16425
+ case "lastMonth":
16426
+ y.value = [dayjs().subtract(1, "month").startOf("month"), dayjs().subtract(1, "month").endOf("month")];
16427
+ break;
16425
16428
  case "monthStartToToday":
16426
16429
  y.value = [dayjs().startOf("month"), dayjs().endOf("day")];
16427
16430
  break;
@@ -16518,11 +16521,11 @@ const __default__$2 = defineComponent({
16518
16521
  }
16519
16522
  }), __injectCSSVars__$2 = () => {
16520
16523
  useCssVars((c) => ({
16521
- "87f5b4e2": c.optionFontSize
16524
+ "579676af": c.optionFontSize
16522
16525
  }));
16523
16526
  }, __setup__$2 = __default__$2.setup;
16524
16527
  __default__$2.setup = __setup__$2 ? (c, u) => (__injectCSSVars__$2(), __setup__$2(c, u)) : __injectCSSVars__$2;
16525
- const RangePicker_vue_vue_type_style_index_0_scoped_55b94f8c_lang = "", RangePicker_vue_vue_type_style_index_1_lang = "";
16528
+ const RangePicker_vue_vue_type_style_index_0_scoped_c04ea755_lang = "", RangePicker_vue_vue_type_style_index_1_lang = "";
16526
16529
  function _sfc_render$o(c, u, f, d, p, m) {
16527
16530
  const g = resolveComponent("calendar-outlined"), v = resolveComponent("close-circle-filled"), y = resolveComponent("a-input"), b = resolveComponent("van-date-picker"), x = resolveComponent("van-picker-group"), Bn = resolveComponent("van-popup"), w = resolveComponent("a-range-picker");
16528
16531
  return openBlock(), createElementBlock("div", {
@@ -16611,7 +16614,7 @@ function _sfc_render$o(c, u, f, d, p, m) {
16611
16614
  }, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "disabled-date", "onChange", "onCalendarChange", "onOpenChange", "popupStyle"]))
16612
16615
  ], 4);
16613
16616
  }
16614
- const RangePicker = /* @__PURE__ */ _export_sfc$1(__default__$2, [["render", _sfc_render$o], ["__scopeId", "data-v-55b94f8c"]]), EcanRangePicker = withInstall$1(RangePicker), buttonProps = {
16617
+ const RangePicker = /* @__PURE__ */ _export_sfc$1(__default__$2, [["render", _sfc_render$o], ["__scopeId", "data-v-c04ea755"]]), EcanRangePicker = withInstall$1(RangePicker), buttonProps = {
16615
16618
  ...props$1,
16616
16619
  width: "200px",
16617
16620
  name: "按钮",
@@ -22015,7 +22018,7 @@ const Radar = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["render", _sfc_render
22015
22018
  ...borderComponentProps
22016
22019
  },
22017
22020
  setup(c) {
22018
- const u = usePickComponentStyle(c, ["background"]), f = computed(() => {
22021
+ const u = usePickComponentStyle(c, ["background", "backgroundColor"]), f = computed(() => {
22019
22022
  const { isTransparent: re, gradientShow: J, gradientColor: Rn, gradientOffset: Fn, gradientAngle: j, backgroundColor: Pn } = c;
22020
22023
  if (J) {
22021
22024
  let gn = Rn;
@@ -22087,7 +22090,7 @@ const Radar = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["render", _sfc_render
22087
22090
  cursorStyle: d
22088
22091
  };
22089
22092
  }
22090
- }), Border_vue_vue_type_style_index_0_scoped_c202e88a_lang = "", _withScopeId$1 = (c) => (pushScopeId("data-v-c202e88a"), c = c(), popScopeId(), c), _hoisted_1$6 = ["id"], _hoisted_2$3 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "top-left border-item" }, null, -1)), _hoisted_3$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "top-right border-item" }, null, -1)), _hoisted_4$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-left border-item" }, null, -1)), _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-right border-item" }, null, -1)), _hoisted_6$1 = { class: "title-item" }, _hoisted_7$1 = ["src"], _hoisted_8$1 = ["src"], _hoisted_9$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "top-left border-item" }, null, -1)), _hoisted_10$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "top-right border-item" }, null, -1)), _hoisted_11$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-left border-item" }, null, -1)), _hoisted_12$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-right border-item" }, null, -1)), _hoisted_13$1 = {
22093
+ }), Border_vue_vue_type_style_index_0_scoped_ecd209af_lang = "", _withScopeId$1 = (c) => (pushScopeId("data-v-ecd209af"), c = c(), popScopeId(), c), _hoisted_1$6 = ["id"], _hoisted_2$3 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "top-left border-item" }, null, -1)), _hoisted_3$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "top-right border-item" }, null, -1)), _hoisted_4$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-left border-item" }, null, -1)), _hoisted_5$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-right border-item" }, null, -1)), _hoisted_6$1 = { class: "title-item" }, _hoisted_7$1 = ["src"], _hoisted_8$1 = ["src"], _hoisted_9$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "top-left border-item" }, null, -1)), _hoisted_10$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "top-right border-item" }, null, -1)), _hoisted_11$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-left border-item" }, null, -1)), _hoisted_12$1 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "bottom-right border-item" }, null, -1)), _hoisted_13$1 = {
22091
22094
  key: 2,
22092
22095
  class: "left-title"
22093
22096
  }, _hoisted_14$1 = { class: "title" };
@@ -22153,7 +22156,7 @@ function _sfc_render$b(c, u, f, d, p, m) {
22153
22156
  ])) : createCommentVNode("", !0)
22154
22157
  ], 12, _hoisted_1$6);
22155
22158
  }
22156
- const Border = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$b], ["__scopeId", "data-v-c202e88a"]]), EcanBorder = withInstall$1(Border), tabsProps$1 = {
22159
+ const Border = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$b], ["__scopeId", "data-v-ecd209af"]]), EcanBorder = withInstall$1(Border), tabsProps$1 = {
22157
22160
  ...props$1,
22158
22161
  tabHorizontalPadding: "0px",
22159
22162
  tabVerticalPadding: "5px",