matrix_components 2.0.478 → 2.0.500

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.
@@ -76822,12 +76822,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
76822
76822
  waterLevelTextColor: "#212121",
76823
76823
  waterLevelStartColor: "rgba(10, 123, 255, 0.7)",
76824
76824
  waterLevelEndColor: "rgba(10, 123, 255, 0.2)",
76825
- wallColor: "#999999"
76825
+ wallColor: "#999999",
76826
+ xyLabelFontSize: 12,
76827
+ pipeLineLabelFontSize: 12,
76828
+ pipeLineValueFontSize: 12,
76829
+ waterLabelFontSize: 12
76826
76830
  })
76827
76831
  }
76828
76832
  },
76829
76833
  setup(__props, { expose: __expose }) {
76830
- var _a3, _b, _c2, _d, _e, _f, _g, _h2, _i, _j, _k, _l2, _m2, _n2, _o2, _p, _q, _r2, _s2, _t2, _u2, _v, _w, _x, _y, _z, _A, _B;
76834
+ var _a3, _b, _c2, _d, _e, _f, _g, _h2, _i, _j, _k, _l2, _m2, _n2, _o2, _p, _q, _r2, _s2, _t2, _u2, _v, _w, _x, _y, _z, _A, _B, _C, _D;
76831
76835
  const _className = `key_${parseInt(Math.random() * 1e6)}`;
76832
76836
  const props = __props;
76833
76837
  const data = ref$1(props.data);
@@ -76907,18 +76911,26 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
76907
76911
  closed: false
76908
76912
  });
76909
76913
  function labelTextConfig(item) {
76910
- var _a4;
76914
+ var _a4, _b2;
76911
76915
  return {
76912
- fontSize: 12,
76913
- fill: ((_a4 = props.config) == null ? void 0 : _a4.axisTextColor) || "#666666",
76916
+ fontSize: ((_a4 = props.config) == null ? void 0 : _a4.xyLabelFontSize) ?? 12,
76917
+ fill: ((_b2 = props.config) == null ? void 0 : _b2.axisTextColor) || "#666666",
76918
+ ...item
76919
+ };
76920
+ }
76921
+ function pipeLineTextConfig(item) {
76922
+ var _a4, _b2;
76923
+ return {
76924
+ fontSize: ((_a4 = props.config) == null ? void 0 : _a4.pipeLineValueFontSize) ?? 12,
76925
+ fill: ((_b2 = props.config) == null ? void 0 : _b2.axisTextColor) || "#666666",
76914
76926
  ...item
76915
76927
  };
76916
76928
  }
76917
76929
  function downLabelTextConfig(item) {
76918
- var _a4;
76930
+ var _a4, _b2;
76919
76931
  return {
76920
- fontSize: 12,
76921
- fill: ((_a4 = props.config) == null ? void 0 : _a4.axisTextColor) || "#666666",
76932
+ fontSize: ((_a4 = props.config) == null ? void 0 : _a4.pipeLineLabelFontSize) ?? 12,
76933
+ fill: ((_b2 = props.config) == null ? void 0 : _b2.axisTextColor) || "#666666",
76922
76934
  x: -50,
76923
76935
  y: item.height + 8,
76924
76936
  text: item.pointName,
@@ -76930,15 +76942,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
76930
76942
  x: -9999,
76931
76943
  y: -9999,
76932
76944
  text: "单位:m",
76933
- fontSize: 12,
76934
- fill: ((_r2 = props.config) == null ? void 0 : _r2.axisTextColor) || "#666666"
76945
+ fontSize: ((_r2 = props.config) == null ? void 0 : _r2.xyLabelFontSize) ?? 12,
76946
+ fill: ((_s2 = props.config) == null ? void 0 : _s2.axisTextColor) || "#666666"
76935
76947
  });
76936
76948
  const yUnitTextConfig = ref$1({
76937
76949
  x: -9999,
76938
76950
  y: -9999,
76939
76951
  text: "单位:m",
76940
- fontSize: 12,
76941
- fill: ((_s2 = props.config) == null ? void 0 : _s2.axisTextColor) || "#666666"
76952
+ fontSize: ((_t2 = props.config) == null ? void 0 : _t2.xyLabelFontSize) ?? 12,
76953
+ fill: ((_u2 = props.config) == null ? void 0 : _u2.axisTextColor) || "#666666"
76942
76954
  });
76943
76955
  const pipeLineGroupConfig = function(item) {
76944
76956
  return {
@@ -76995,7 +77007,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
76995
77007
  };
76996
77008
  };
76997
77009
  function textConfig(item) {
76998
- var _a4;
77010
+ var _a4, _b2;
76999
77011
  if (!item) {
77000
77012
  return {};
77001
77013
  }
@@ -77005,8 +77017,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
77005
77017
  y: 0,
77006
77018
  width: item.width,
77007
77019
  height: item.height,
77008
- fontSize: 12,
77009
- fill: ((_a4 = props.config) == null ? void 0 : _a4.waterLevelTextColor) || "#212121",
77020
+ fontSize: ((_a4 = props.config) == null ? void 0 : _a4.waterLabelFontSize) ?? 12,
77021
+ fill: ((_b2 = props.config) == null ? void 0 : _b2.waterLevelTextColor) || "#212121",
77010
77022
  verticalAlign: "middle"
77011
77023
  };
77012
77024
  }
@@ -77014,7 +77026,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
77014
77026
  points: [],
77015
77027
  fillLinearGradientStartPoint: { x: 0, y: 0 },
77016
77028
  fillLinearGradientEndPoint: { x: 0, y: 0 },
77017
- fillLinearGradientColorStops: [0, ((_t2 = props.config) == null ? void 0 : _t2.waterLevelStartColor) || "rgba(10, 123, 255, 0.7)", 1, ((_u2 = props.config) == null ? void 0 : _u2.waterLevelEndColor) || "rgba(10, 123, 255, 0.2)"],
77029
+ fillLinearGradientColorStops: [0, ((_v = props.config) == null ? void 0 : _v.waterLevelStartColor) || "rgba(10, 123, 255, 0.7)", 1, ((_w = props.config) == null ? void 0 : _w.waterLevelEndColor) || "rgba(10, 123, 255, 0.2)"],
77018
77030
  stroke: "#0A7BFF",
77019
77031
  strokeWidth: 0
77020
77032
  });
@@ -77022,7 +77034,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
77022
77034
  points: [],
77023
77035
  fillLinearGradientStartPoint: { x: 0, y: 0 },
77024
77036
  fillLinearGradientEndPoint: { x: 0, y: 0 },
77025
- fillLinearGradientColorStops: [0, ((_v = props.config) == null ? void 0 : _v.waterLevelStartColor) || "rgba(10, 123, 255, 0.7)", 1, ((_w = props.config) == null ? void 0 : _w.waterLevelEndColor) || "rgba(10, 123, 255, 0.2)"],
77037
+ fillLinearGradientColorStops: [0, ((_x = props.config) == null ? void 0 : _x.waterLevelStartColor) || "rgba(10, 123, 255, 0.7)", 1, ((_y = props.config) == null ? void 0 : _y.waterLevelEndColor) || "rgba(10, 123, 255, 0.2)"],
77026
77038
  stroke: "#0A7BFF",
77027
77039
  strokeWidth: 0
77028
77040
  });
@@ -77030,7 +77042,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
77030
77042
  points: [],
77031
77043
  fillLinearGradientStartPoint: { x: 0, y: 0 },
77032
77044
  fillLinearGradientEndPoint: { x: 0, y: 0 },
77033
- fillLinearGradientColorStops: [0, ((_x = props.config) == null ? void 0 : _x.waterLevelStartColor) || "rgba(10, 123, 255, 0.7)", 1, ((_y = props.config) == null ? void 0 : _y.waterLevelEndColor) || "rgba(10, 123, 255, 0.2)"],
77045
+ fillLinearGradientColorStops: [0, ((_z = props.config) == null ? void 0 : _z.waterLevelStartColor) || "rgba(10, 123, 255, 0.7)", 1, ((_A = props.config) == null ? void 0 : _A.waterLevelEndColor) || "rgba(10, 123, 255, 0.2)"],
77034
77046
  stroke: "#0A7BFF",
77035
77047
  strokeWidth: 0
77036
77048
  });
@@ -77039,8 +77051,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
77039
77051
  y: 0,
77040
77052
  width: wall_width.value,
77041
77053
  height: 0,
77042
- fill: ((_z = props.config) == null ? void 0 : _z.wallColor) || "#999999",
77043
- stroke: ((_A = props.config) == null ? void 0 : _A.wallColor) || "#999999",
77054
+ fill: ((_B = props.config) == null ? void 0 : _B.wallColor) || "#999999",
77055
+ stroke: ((_C = props.config) == null ? void 0 : _C.wallColor) || "#999999",
77044
77056
  strokeWidth: 0.5
77045
77057
  });
77046
77058
  const stoneConfig = ref$1({
@@ -77049,7 +77061,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
77049
77061
  width: 0,
77050
77062
  height: 0,
77051
77063
  fillPatternRepeat: "repeat",
77052
- stroke: ((_B = props.config) == null ? void 0 : _B.wallColor) || "#999999",
77064
+ stroke: ((_D = props.config) == null ? void 0 : _D.wallColor) || "#999999",
77053
77065
  strokeWidth: 1
77054
77066
  });
77055
77067
  async function initChart() {
@@ -77861,7 +77873,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
77861
77873
  config: pipeLineBkConfig(item)
77862
77874
  }, null, 8, ["config"]),
77863
77875
  createVNode(_component_v_text, {
77864
- config: labelTextConfig(item)
77876
+ config: pipeLineTextConfig(item)
77865
77877
  }, null, 8, ["config"]),
77866
77878
  createVNode(_component_v_text, {
77867
77879
  config: downLabelTextConfig(item)
@@ -77934,7 +77946,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
77934
77946
  };
77935
77947
  }
77936
77948
  });
77937
- const NsSaturationLine = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-df3a1e4d"]]);
77949
+ const NsSaturationLine = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-7fbacc59"]]);
77938
77950
  NsSaturationLine.install = (app2) => {
77939
77951
  app2.component(NsSaturationLine.name, NsSaturationLine);
77940
77952
  };