matrix_components 2.0.376 → 2.0.378

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.
@@ -54753,13 +54753,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54753
54753
  },
54754
54754
  setup(__props, { expose: __expose }) {
54755
54755
  useCssVars((_ctx) => ({
54756
- "v0e1b23a4": customBackgroundColor.value,
54757
- "v4ce19814": gapV.value,
54758
- "v609faf97": superLabelWidth.value,
54759
- "v7e4f269c": subLabelWidth.value,
54760
- "v97073946": height.value,
54761
- "v59868330": labelWidth.value,
54762
- "ac27df8a": _ctx.$props.labelColor
54756
+ "v07e9eeef": customBackgroundColor.value,
54757
+ "v1ac43515": gapV.value,
54758
+ "v5c731518": superLabelWidth.value,
54759
+ "b1e00f46": subLabelWidth.value,
54760
+ "v7c7598bc": height.value,
54761
+ "v3263a772": labelWidth.value,
54762
+ "v0307cd08": _ctx.$props.labelColor
54763
54763
  }));
54764
54764
  const props = __props;
54765
54765
  const initialValues = ref$1(/* @__PURE__ */ new Map());
@@ -55295,7 +55295,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
55295
55295
  props.model.indexOf("vertical") > -1 ? `vertical ${!checkIsElempentComponent(rowInfo) ? "custom-vertical" : ""}` : "horizontal"
55296
55296
  ])
55297
55297
  }, [
55298
- createTextVNode(toDisplayString(rowInfo.label || ""), 1)
55298
+ createTextVNode(toDisplayString(rowInfo.label ?? ""), 1)
55299
55299
  ], 2)), [
55300
55300
  [_directive_sline]
55301
55301
  ]) : createCommentVNode("", true)
@@ -55321,7 +55321,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
55321
55321
  props.model.indexOf("table") > -1 ? "model-table" : "",
55322
55322
  props.model.indexOf("vertical") > -1 ? "vertical" : "horizontal"
55323
55323
  ])
55324
- }, toDisplayString(rowInfo.value || __props.valueEmptyTag || ""), 3)) : (openBlock(), createElementBlock("span", {
55324
+ }, toDisplayString(rowInfo.value ?? __props.valueEmptyTag ?? ""), 3)) : (openBlock(), createElementBlock("span", {
55325
55325
  key: 1,
55326
55326
  class: normalizeClass([
55327
55327
  "detial-row-item-value",
@@ -55452,7 +55452,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
55452
55452
  };
55453
55453
  }
55454
55454
  });
55455
- const NsForm = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-bc0a65f5"]]);
55455
+ const NsForm = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-b2b5a27b"]]);
55456
55456
  const _hoisted_1$1 = { class: "title-image-view" };
55457
55457
  const _hoisted_2 = { class: "content-model-title" };
55458
55458
  const _hoisted_3 = { class: "title-text" };
@@ -73423,6 +73423,16 @@ const DownFill = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7
73423
73423
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
73424
73424
  __name: "index",
73425
73425
  props: {
73426
+ // 是否对x轴数据进行排序,默认true
73427
+ isSortX: {
73428
+ type: Boolean,
73429
+ default: true
73430
+ },
73431
+ fullData: {
73432
+ type: Object,
73433
+ default: () => {
73434
+ }
73435
+ },
73426
73436
  data: {
73427
73437
  type: Object,
73428
73438
  default: () => {
@@ -73461,6 +73471,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
73461
73471
  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;
73462
73472
  const _className = `key_${parseInt(Math.random() * 1e6)}`;
73463
73473
  const props = __props;
73474
+ const data = ref$1(props.data);
73475
+ const waterLevel = ref$1(props.waterLevel);
73464
73476
  const noData = ref$1(false);
73465
73477
  const stage = ref$1();
73466
73478
  const stoneYOffset = ((_a3 = props.config) == null ? void 0 : _a3.stoneYOffset) || 20;
@@ -73683,17 +73695,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
73683
73695
  });
73684
73696
  async function initChart() {
73685
73697
  var _a4, _b2, _c3, _d2, _e2, _f2, _g2, _h4, _i2, _j2, _k2, _l3, _m3, _n3, _o3;
73686
- yOffset.value = ((_a4 = props.data) == null ? void 0 : _a4.yStart) ? Number(props.data.yStart) : 0;
73698
+ yOffset.value = ((_a4 = data.value) == null ? void 0 : _a4.yStart) ? Number(data.value.yStart) : 0;
73687
73699
  const dam_x_points = [];
73688
73700
  const dam_y_points = [];
73689
73701
  const xPoints = [];
73690
73702
  const yPoints = [];
73691
73703
  const _w2 = stageSize.value.width;
73692
73704
  const _h3 = stageSize.value.height;
73693
- if (!((_b2 = props.data) == null ? void 0 : _b2.sectionTableList)) {
73705
+ if (!((_b2 = data.value) == null ? void 0 : _b2.sectionTableList)) {
73694
73706
  return;
73695
73707
  }
73696
- props.data.sectionTableList.forEach((item, index2) => {
73708
+ data.value.sectionTableList.forEach((item, index2) => {
73697
73709
  index2 === 0 ? xOffset.value = item.xPoint : null;
73698
73710
  const xValue = Number(item.xPoint) - Number(xOffset.value);
73699
73711
  const yValue = Number(item.yPoint) - Number(yOffset.value);
@@ -73820,15 +73832,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
73820
73832
  yUnitTextConfig.value.y = 10 * y_right_percent.value;
73821
73833
  }
73822
73834
  {
73823
- if (props.data.isWall + "" === "1" && damTops.value.length === 2) {
73824
- wallConfig.value.x = changeX(originZeroX.value + Number(props.data.wallXpoint));
73835
+ if (data.value.isWall + "" === "1" && damTops.value.length === 2) {
73836
+ wallConfig.value.x = changeX(originZeroX.value + Number(data.value.wallXpoint));
73825
73837
  wallConfig.value.y = changeY(damTops.value[0][1]);
73826
73838
  wallConfig.value.height = damTops.value[0][1] * yScale.value;
73827
73839
  }
73828
73840
  }
73829
73841
  {
73830
- if ((_c3 = props.data.pipelineTableList) == null ? void 0 : _c3.length) {
73831
- pipeLines.value = (_d2 = props.data.pipelineTableList) == null ? void 0 : _d2.map((item) => {
73842
+ if ((_c3 = data.value.pipelineTableList) == null ? void 0 : _c3.length) {
73843
+ pipeLines.value = (_d2 = data.value.pipelineTableList) == null ? void 0 : _d2.map((item) => {
73832
73844
  const tmp = {
73833
73845
  x: changeX(originZeroX.value + Number(item.xPoint)),
73834
73846
  y: changeY(Number(item.yPoint), true),
@@ -73854,11 +73866,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
73854
73866
  }
73855
73867
  await nextTick();
73856
73868
  try {
73857
- waterInfo.kssw = (_e2 = props.waterLevel) == null ? void 0 : _e2.kssw;
73858
- waterInfo.xxsw = (_f2 = props.waterLevel) == null ? void 0 : _f2.xxsw;
73859
- waterInfo.sjsw = (_g2 = props.waterLevel) == null ? void 0 : _g2.sjsw;
73860
- waterInfo.jhsw = (_h4 = props.waterLevel) == null ? void 0 : _h4.jhsw;
73861
- const oldSections = (_i2 = props.waterLevel) == null ? void 0 : _i2.map;
73869
+ waterInfo.kssw = (_e2 = waterLevel.value) == null ? void 0 : _e2.kssw;
73870
+ waterInfo.xxsw = (_f2 = waterLevel.value) == null ? void 0 : _f2.xxsw;
73871
+ waterInfo.sjsw = (_g2 = waterLevel.value) == null ? void 0 : _g2.sjsw;
73872
+ waterInfo.jhsw = (_h4 = waterLevel.value) == null ? void 0 : _h4.jhsw;
73873
+ const oldSections = (_i2 = waterLevel.value) == null ? void 0 : _i2.map;
73862
73874
  const sortArrayByOrder = (targetArray, orderArray, targetKey, orderKey) => {
73863
73875
  const orderMap = /* @__PURE__ */ new Map();
73864
73876
  orderArray.forEach((item, index2) => {
@@ -73873,11 +73885,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
73873
73885
  });
73874
73886
  };
73875
73887
  let sections = oldSections;
73876
- if (oldSections && Array.isArray(oldSections) && ((_j2 = props.data) == null ? void 0 : _j2.pipelineTableList) && Array.isArray(props.data.pipelineTableList)) {
73888
+ if (oldSections && Array.isArray(oldSections) && ((_j2 = data.value) == null ? void 0 : _j2.pipelineTableList) && Array.isArray(data.value.pipelineTableList)) {
73877
73889
  sections = sortArrayByOrder(
73878
73890
  [...oldSections],
73879
73891
  // 使用浅拷贝避免修改原数组
73880
- props.data.pipelineTableList,
73892
+ data.value.pipelineTableList,
73881
73893
  "pointCode",
73882
73894
  "pointCode"
73883
73895
  );
@@ -73888,31 +73900,36 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
73888
73900
  const waterLine1 = [xTrackOffset.value, changeY(0), xTrackOffset.value, changeY(waterInfo.kssw, true), ...intersections[0].canvasCoord];
73889
73901
  const waterLine2 = [];
73890
73902
  let isAddWall = false;
73903
+ await nextTick();
73891
73904
  for (let i = 0; i < sections.length; i++) {
73892
- const { pointCode, waterLevel } = sections[i];
73905
+ const { pointCode, waterLevel: waterLevel2 } = sections[i];
73893
73906
  const pipelineRect = getPipelineByPointCode(pointCode);
73907
+ if (!pipelineRect) {
73908
+ console.warn(`测压管 ${pointCode} 未找到对应的图形元素,可能是nextTick()并没有完成渲染,考虑改成setTimeout`);
73909
+ continue;
73910
+ }
73894
73911
  const children = pipelineRect.getNode().getChildren();
73895
73912
  const bkRect = children[0];
73896
73913
  const valueRect = children[1];
73897
73914
  const textRect = children[2];
73898
- const pipeLine = (_k2 = props.data.pipelineTableList) == null ? void 0 : _k2.find((item) => item.pointCode === pointCode);
73915
+ const pipeLine = (_k2 = data.value.pipelineTableList) == null ? void 0 : _k2.find((item) => item.pointCode === pointCode);
73899
73916
  if (pipeLine) {
73900
- const _y2 = (Number(pipeLine.yPoint) - Number(waterLevel)) * yScale.value;
73917
+ const _y2 = (Number(pipeLine.yPoint) - Number(waterLevel2)) * yScale.value;
73901
73918
  valueRect.setAttrs({
73902
73919
  y: _y2,
73903
- height: bkRect.height() - _y2,
73920
+ height: bkRect.height() - _y2 < 0 ? 0 : bkRect.height() - _y2,
73904
73921
  fill: "#0A7BFF"
73905
73922
  });
73906
73923
  textRect.setAttrs({
73907
73924
  x: 0,
73908
73925
  y: _y2,
73909
- text: `${parseFloat(Number(waterLevel + "").toFixed(2))}m`,
73926
+ text: `${parseFloat(Number(waterLevel2 + "").toFixed(2))}m`,
73910
73927
  align: "center",
73911
73928
  offsetX: 10,
73912
73929
  offsetY: 15
73913
73930
  });
73914
73931
  let afterWallNoWater = false;
73915
- if (!isAddWall && ((_l3 = props.data) == null ? void 0 : _l3.isWall) + "" === "1") {
73932
+ if (!isAddWall && ((_l3 = data.value) == null ? void 0 : _l3.isWall) + "" === "1") {
73916
73933
  if (layerWallRef.value.getNode().x() < pipelineRect.getNode().x()) {
73917
73934
  isAddWall = true;
73918
73935
  const wall = layerWallRef.value.getNode();
@@ -73960,7 +73977,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
73960
73977
  }
73961
73978
  }
73962
73979
  }
73963
- if (((_n3 = (_m3 = props.waterLevel) == null ? void 0 : _m3.map) == null ? void 0 : _n3.length) === 0) {
73980
+ if (((_n3 = (_m3 = waterLevel.value) == null ? void 0 : _m3.map) == null ? void 0 : _n3.length) === 0) {
73964
73981
  noWaterConfig.value.sceneFunc = (context, shape) => {
73965
73982
  context.beginPath();
73966
73983
  const points = [];
@@ -74101,6 +74118,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
74101
74118
  function changeY(_y2, offset = false) {
74102
74119
  return (yMaxMin.value[1] - Number(_y2) + (offset ? Number(yOffset.value) : 0)) * yScale.value;
74103
74120
  }
74121
+ function handleDragstart() {
74122
+ console.log("预留:handleDragstart");
74123
+ }
74124
+ function handleDragend() {
74125
+ console.log("预留:handleDragend");
74126
+ }
74104
74127
  function setPipelineGroupRef(el2, pointCode) {
74105
74128
  if (el2 && pointCode) {
74106
74129
  pipelineGroupRefs.value.set(pointCode, el2);
@@ -74245,23 +74268,95 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
74245
74268
  watch(
74246
74269
  [() => props.waterLevel, () => props.data],
74247
74270
  async (newValues) => {
74248
- var _a4, _b2;
74249
- resetCanvasState();
74250
- if (!!newValues[0] && !!((_b2 = (_a4 = newValues[1]) == null ? void 0 : _a4.sectionTableList) == null ? void 0 : _b2.length)) {
74251
- await nextTick();
74252
- stageSize.value = {
74253
- width: document.querySelector(`.${_className}`).clientWidth,
74254
- height: document.querySelector(`.${_className}`).clientHeight
74255
- };
74256
- await nextTick();
74257
- initChart();
74258
- noData.value = false;
74259
- } else {
74260
- noData.value = true;
74261
- }
74271
+ waterLevel.value = newValues[0];
74272
+ data.value = newValues[1];
74273
+ },
74274
+ { deep: true, immediate: true }
74275
+ );
74276
+ watch(
74277
+ [() => waterLevel.value, () => data.value],
74278
+ async (newValues) => {
74279
+ waterLevelOrDataChange(newValues);
74262
74280
  },
74263
74281
  { deep: true, immediate: true }
74264
74282
  );
74283
+ watch(
74284
+ () => props.fullData,
74285
+ (nv, ol2) => {
74286
+ var _a4, _b2, _c3, _d2;
74287
+ if (!nv || Object.keys(nv).length === 0) {
74288
+ try {
74289
+ if (!!ol2 && Object.keys(ol2).length) {
74290
+ data.value = {};
74291
+ waterLevel.value = {};
74292
+ }
74293
+ } catch (e6) {
74294
+ console.log(e6);
74295
+ }
74296
+ return;
74297
+ }
74298
+ const res = JSON.parse(JSON.stringify(nv));
74299
+ const waterLevelData = {
74300
+ "map": [],
74301
+ "kssw": (res == null ? void 0 : res.ksw) || "0",
74302
+ "xxsw": (res == null ? void 0 : res.xxsw) || "0",
74303
+ "sjsw": (res == null ? void 0 : res.sjsw) || "0",
74304
+ "jhsw": (res == null ? void 0 : res.jhsw) || "0"
74305
+ };
74306
+ if (props.isSortX) {
74307
+ (_a4 = res == null ? void 0 : res.pointList) == null ? void 0 : _a4.sort((a, b3) => Number(a.x || 0) - Number(b3.x || 0));
74308
+ }
74309
+ (_b2 = res == null ? void 0 : res.pointList) == null ? void 0 : _b2.forEach((item) => {
74310
+ var _a5;
74311
+ item.xPoint = item.x;
74312
+ item.yPoint = item.y;
74313
+ if (item.value) {
74314
+ (_a5 = waterLevelData.map) == null ? void 0 : _a5.push({
74315
+ id: item.id,
74316
+ pointCode: item.pointCode,
74317
+ waterLevel: item.value,
74318
+ date: item.time
74319
+ });
74320
+ }
74321
+ });
74322
+ if (props.isSortX) {
74323
+ (_c3 = res == null ? void 0 : res.sectionList) == null ? void 0 : _c3.sort((a, b3) => Number(a.x || 0) - Number(b3.x || 0));
74324
+ }
74325
+ (_d2 = res == null ? void 0 : res.sectionList) == null ? void 0 : _d2.forEach((item) => {
74326
+ item.tmpId = parseInt(Math.random() * 999999 + "");
74327
+ item.xPoint = item.x;
74328
+ item.yPoint = item.y;
74329
+ });
74330
+ data.value = {
74331
+ // 坝体
74332
+ "sectionTableList": (res == null ? void 0 : res.sectionList) || [],
74333
+ // 测压管
74334
+ "pipelineTableList": (res == null ? void 0 : res.pointList) || [],
74335
+ // y/x偏移
74336
+ "isWall": (res == null ? void 0 : res.isWall) + "" === "true" ? "1" : "0",
74337
+ "yStart": (res == null ? void 0 : res.y) || "0",
74338
+ "wallXpoint": (res == null ? void 0 : res.x) || "0"
74339
+ };
74340
+ waterLevel.value = waterLevelData || {};
74341
+ },
74342
+ { immediate: true, deep: true }
74343
+ );
74344
+ async function waterLevelOrDataChange(newValues) {
74345
+ var _a4, _b2;
74346
+ resetCanvasState();
74347
+ if (!!newValues[0] && !!((_b2 = (_a4 = newValues[1]) == null ? void 0 : _a4.sectionTableList) == null ? void 0 : _b2.length)) {
74348
+ await nextTick();
74349
+ stageSize.value = {
74350
+ width: document.querySelector(`.${_className}`).clientWidth,
74351
+ height: document.querySelector(`.${_className}`).clientHeight
74352
+ };
74353
+ await nextTick();
74354
+ initChart();
74355
+ noData.value = false;
74356
+ } else {
74357
+ noData.value = true;
74358
+ }
74359
+ }
74265
74360
  function resetCanvasState() {
74266
74361
  xOffset.value = 0;
74267
74362
  yOffset.value = 0;
@@ -74270,24 +74365,34 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
74270
74365
  xScale.value = 1;
74271
74366
  yScale.value = 1;
74272
74367
  damTops.value = [];
74368
+ originZeroX.value = 0;
74369
+ stageSize.value = {
74370
+ width: 0,
74371
+ height: 0
74372
+ };
74273
74373
  xLabels.value = [];
74274
74374
  yLabels.value = [];
74275
74375
  pipeLines.value = [];
74276
74376
  pipelineGroupRefs.value.clear();
74277
74377
  textGroup.value = [];
74278
74378
  textGroupRefs.value.clear();
74379
+ textIconImage.value = null;
74279
74380
  damConfig.value.points = [];
74280
74381
  domBkConfig.value.points = [];
74281
74382
  xTrackConfig.value.points = [];
74282
74383
  yTrackConfig.value.points = [];
74283
74384
  waterStartConfig.value.points = [];
74385
+ waterStartConfig.value.fillLinearGradientStartPoint = { x: 0, y: 0 };
74284
74386
  waterStartConfig.value.fillLinearGradientEndPoint = { x: 0, y: 0 };
74387
+ delete waterStartConfig.value.sceneFunc;
74285
74388
  waterConfig.value.points = [];
74286
74389
  waterConfig.value.fillLinearGradientStartPoint = { x: 0, y: 0 };
74287
74390
  waterConfig.value.fillLinearGradientEndPoint = { x: 0, y: 0 };
74391
+ delete waterConfig.value.sceneFunc;
74288
74392
  noWaterConfig.value.points = [];
74289
74393
  noWaterConfig.value.fillLinearGradientStartPoint = { x: 0, y: 0 };
74290
74394
  noWaterConfig.value.fillLinearGradientEndPoint = { x: 0, y: 0 };
74395
+ delete noWaterConfig.value.sceneFunc;
74291
74396
  wallConfig.value.x = 0;
74292
74397
  wallConfig.value.y = 0;
74293
74398
  wallConfig.value.height = 0;
@@ -74295,6 +74400,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
74295
74400
  stoneConfig.value.y = 0;
74296
74401
  stoneConfig.value.width = 0;
74297
74402
  stoneConfig.value.height = 0;
74403
+ delete stoneConfig.value.fillPatternImage;
74404
+ delete stoneConfig.value.fillPatternScale;
74298
74405
  xUnitTextConfig.value.x = -9999;
74299
74406
  xUnitTextConfig.value.y = -9999;
74300
74407
  yUnitTextConfig.value.x = -9999;
@@ -74322,15 +74429,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
74322
74429
  ref_key: "stage",
74323
74430
  ref: stage,
74324
74431
  config: stageSize.value,
74325
- onDragstart: _ctx.handleDragstart,
74326
- onDragend: _ctx.handleDragend
74432
+ onDragstart: handleDragstart,
74433
+ onDragend: handleDragend
74327
74434
  }, {
74328
74435
  default: withCtx(() => [
74329
74436
  createVNode(_component_v_layer, { ref: "layerWater" }, {
74330
74437
  default: withCtx(() => {
74331
74438
  var _a4, _b2;
74332
74439
  return [
74333
- ((_b2 = (_a4 = props.waterLevel) == null ? void 0 : _a4.map) == null ? void 0 : _b2.length) === 0 ? (openBlock(), createBlock(_component_v_shape, {
74440
+ ((_b2 = (_a4 = waterLevel.value) == null ? void 0 : _a4.map) == null ? void 0 : _b2.length) === 0 ? (openBlock(), createBlock(_component_v_shape, {
74334
74441
  key: 0,
74335
74442
  config: noWaterConfig.value
74336
74443
  }, null, 8, ["config"])) : createCommentVNode("", true)
@@ -74411,7 +74518,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
74411
74518
  default: withCtx(() => {
74412
74519
  var _a4, _b2;
74413
74520
  return [
74414
- ((_b2 = (_a4 = props.waterLevel) == null ? void 0 : _a4.map) == null ? void 0 : _b2.length) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
74521
+ ((_b2 = (_a4 = waterLevel.value) == null ? void 0 : _a4.map) == null ? void 0 : _b2.length) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
74415
74522
  createVNode(_component_v_shape, { config: waterStartConfig.value }, null, 8, ["config"]),
74416
74523
  createVNode(_component_v_shape, { config: waterConfig.value }, null, 8, ["config"])
74417
74524
  ], 64)) : createCommentVNode("", true)
@@ -74423,7 +74530,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
74423
74530
  default: withCtx(() => {
74424
74531
  var _a4;
74425
74532
  return [
74426
- ((_a4 = __props.data) == null ? void 0 : _a4.isWall) + "" === "1" ? (openBlock(), createBlock(_component_v_rect, {
74533
+ ((_a4 = data.value) == null ? void 0 : _a4.isWall) + "" === "1" ? (openBlock(), createBlock(_component_v_rect, {
74427
74534
  key: 0,
74428
74535
  ref_key: "layerWallRef",
74429
74536
  ref: layerWallRef,
@@ -74458,16 +74565,17 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
74458
74565
  }, 512)
74459
74566
  ]),
74460
74567
  _: 1
74461
- }, 8, ["config", "onDragstart", "onDragend"])) : createCommentVNode("", true),
74462
- createVNode(_component_NoData, {
74463
- noData: noData.value,
74464
- height: "100px"
74465
- }, null, 8, ["noData"])
74568
+ }, 8, ["config"])) : renderSlot(_ctx.$slots, "default", { key: 1 }, () => [
74569
+ createVNode(_component_NoData, {
74570
+ noData: noData.value,
74571
+ height: "100px"
74572
+ }, null, 8, ["noData"])
74573
+ ], true)
74466
74574
  ], 2);
74467
74575
  };
74468
74576
  }
74469
74577
  });
74470
- const NsSaturationLine = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-51b573d9"]]);
74578
+ const NsSaturationLine = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-df3a1e4d"]]);
74471
74579
  NsSaturationLine.install = (app2) => {
74472
74580
  app2.component(NsSaturationLine.name, NsSaturationLine);
74473
74581
  };