zzz-pc-view 0.0.125 → 0.0.127

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zzz-pc-view",
3
- "version": "0.0.125",
3
+ "version": "0.0.127",
4
4
  "main": "src/index.umd.js",
5
5
  "module": "src/index.es.js",
6
6
  "types": "src/index.d.ts",
package/src/index.es.js CHANGED
@@ -3267,10 +3267,10 @@ const setYAxis$1 = (chartOption, param) => {
3267
3267
  const axisName = dimension.axisName ?? "";
3268
3268
  const minMax = {};
3269
3269
  const { min, max } = dimension;
3270
- if (Number.isFinite(min)) {
3270
+ if (Number.isFinite(min) || typeof min === "function") {
3271
3271
  minMax.min = min;
3272
3272
  }
3273
- if (Number.isFinite(max)) {
3273
+ if (Number.isFinite(max) || typeof max === "function") {
3274
3274
  minMax.max = max;
3275
3275
  }
3276
3276
  if (!Object.prototype.hasOwnProperty.call(axisNameIndexMap, axisName)) {
@@ -4180,7 +4180,6 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
4180
4180
  chartInstance = void 0;
4181
4181
  };
4182
4182
  const resize = () => {
4183
- console.log(111);
4184
4183
  chartInstance == null ? void 0 : chartInstance.resize();
4185
4184
  };
4186
4185
  let windowResizeTimer;
@@ -13381,7 +13380,11 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
13381
13380
  key: 0,
13382
13381
  class: "layout-header-system-info-icon"
13383
13382
  })) : createCommentVNode("", true),
13384
- _ctx.systemInfo.title ? (openBlock(), createElementBlock("div", _hoisted_3$2, toDisplayString(_ctx.systemInfo.title), 1)) : createCommentVNode("", true)
13383
+ _ctx.systemInfo.title ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
13384
+ renderSlot(_ctx.$slots, "systemInfoTitle", {}, () => [
13385
+ createTextVNode(toDisplayString(_ctx.systemInfo.title), 1)
13386
+ ])
13387
+ ])) : createCommentVNode("", true)
13385
13388
  ])) : createCommentVNode("", true),
13386
13389
  createElementVNode("div", _hoisted_4$2, [
13387
13390
  createVNode(_component_el_scrollbar, { "view-class": "flex layout-header-scrollbar-view" }, {
@@ -13600,7 +13603,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13600
13603
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
13601
13604
  const _component_router_view = resolveComponent("router-view");
13602
13605
  return openBlock(), createElementBlock("div", _hoisted_1, [
13603
- createVNode(_sfc_main$2, normalizeProps(guardReactiveProps(_ctx.headerProps)), null, 16),
13606
+ createVNode(_sfc_main$2, normalizeProps(guardReactiveProps(_ctx.headerProps)), {
13607
+ systemInfoTitle: withCtx(() => [
13608
+ renderSlot(_ctx.$slots, "systemInfoTitle")
13609
+ ]),
13610
+ _: 3
13611
+ }, 16),
13604
13612
  createElementVNode("div", _hoisted_2, [
13605
13613
  _ctx.headerProps.navOnlyShowRoot && unref(navStore).currentRouteNav ? (openBlock(), createElementBlock("aside", _hoisted_3, [
13606
13614
  createVNode(_component_el_scrollbar, null, {