chbim-plugins 0.0.113 → 0.0.114

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/chbim-plugins.js CHANGED
@@ -20356,7 +20356,7 @@ class v1 {
20356
20356
  _ = a.modelId, S = a.modelType, C = a.tender, O = a.releasedDistance, k = a.modelTitle, D = a.permission, F = a.customize, E = a.url, L = a.color, T.maxCanvasSize = a.maxCanvasSize || 4080;
20357
20357
  c && (c.color && (L = c.color), c.clip && (T.area = c.clip.handleDataList), c.flat && (M.area = c.flat.handleDataList), c.maxCanvasSize && (T.maxCanvasSize = c.maxCanvasSize || 4080));
20358
20358
  let R;
20359
- if (d ? (window.mapClone && window.mapClone.mapEx.addLayer(this.tilesetLayer), window.mapClone && (R = window.mapClone.mapEx.getLayer(a, "modelId"))) : R = window.map.getLayer(a, "modelId"), R)
20359
+ if (d ? window.mapClone && (R = window.mapClone.mapEx.getLayer(a, "modelId")) : R = window.map.getLayer(a, "modelId"), R)
20360
20360
  return m(R), c.color && this.editColor(
20361
20361
  a,
20362
20362
  c.color,
@@ -24571,7 +24571,7 @@ class y1 {
24571
24571
  });
24572
24572
  } else
24573
24573
  c({
24574
- tite: "【矢量】「" + a + "」丢失",
24574
+ tite: "【矢量】ID:「" + a + "」已删除",
24575
24575
  type: "error",
24576
24576
  id: a
24577
24577
  });
@@ -25240,20 +25240,18 @@ class T1 {
25240
25240
  let g, _, S;
25241
25241
  if (c == null ? void 0 : c.isClone)
25242
25242
  this.entityCloneLayer && (_ = this.query(a), _ ? (S = JSON.parse(_.bimPlanPainting.graphic), S.attr = S.attr || {}, S.attr.entityId = a, this.entityCloneLayer.addGraphic(S)) : d({
25243
- tite: "【标绘】 ID为「" + a + "」丢失",
25243
+ tite: "【标绘】 ID:「" + a + "」已删除",
25244
25244
  type: "error",
25245
- id: a,
25246
- url: ""
25245
+ id: a
25247
25246
  }));
25248
25247
  else {
25249
25248
  if (typeof a != "object" ? (g = this.entityLayer.getGraphicByAttr(
25250
25249
  a,
25251
25250
  "entityId"
25252
25251
  ), _ = this.query(a), _ ? (S = JSON.parse(_.bimPlanPainting.graphic), S.attr = S.attr || {}, S.attr.entityId = a) : d({
25253
- tite: "【标绘】「" + a + "」无数据",
25252
+ tite: "【标绘】ID:「" + a + "」已删除",
25254
25253
  type: "error",
25255
- id: a,
25256
- url: ""
25254
+ id: a
25257
25255
  })) : (g = this.entityLayer.getGraphicByAttr(
25258
25256
  a.id,
25259
25257
  "entityId"
@@ -25340,7 +25338,7 @@ class T1 {
25340
25338
  startDrawGraphic(a) {
25341
25339
  return new Promise((o, c) => {
25342
25340
  let { type: d, style: u } = a;
25343
- if (d == "div")
25341
+ if (a.style.drawShow = !0, d == "div")
25344
25342
  if (u.html)
25345
25343
  this.entityLayer.startDraw(a).then((m) => {
25346
25344
  setTimeout(() => {
@@ -30736,7 +30734,7 @@ const E1 = () => {
30736
30734
  window.planClip.clearPlanClip(), window.schemeEvnModify.clearAllEvnModify(), window.bimRotatePoint.stop(), window.bimTrafficSimulation.destruction(), window.bimMapPTV && window.bimMapPTV.destruction(), window.romStop(), window.complete(), window.bimMapCompare.hide ? window.bimMapCompare.hide() : window.bimMapCompare.destroyControl();
30737
30735
  }, b1 = () => {
30738
30736
  window.planClip.clearPlanClip(), window.bimRotatePoint.stop(), window.bimTrafficSimulation.destruction(), window.bimMapPTV && window.bimMapPTV.destruction(), window.romStop(), window.complete(), window.bimMapCompare.hide ? window.bimMapCompare.hide() : window.bimMapCompare.destroyControl();
30739
- }, C1 = () => {
30737
+ }, C1 = (x = 1) => {
30740
30738
  window.planClip.clearPlanClip(), window.bimRotatePoint.stop(), window.bimTrafficSimulation.destruction(), window.bimMapPTV && window.bimMapPTV.destruction(), window.romStop(), window.complete(), window.bimMapCompare.hide ? window.bimMapCompare.hide() : window.bimMapCompare.destroyControl();
30741
30739
  }, A1 = (x) => {
30742
30740
  let a = [];
@@ -30758,7 +30756,7 @@ const E1 = () => {
30758
30756
  let c = a[o].mockData, d = a[o - 1].mockData.item;
30759
30757
  const u = /* @__PURE__ */ new Map();
30760
30758
  d.forEach((m) => {
30761
- m.type != "rotatePoint" && m.type != "viewpoint" && m.type != "roaming" && m.type != "splitScreen" && m.type != "planClip" ? u.set(`${m.screenplayId}-${m.type}`, m) : (console.log(m), a[o].mockData.previousPage.push(m));
30759
+ m.type != "rotatePoint" && m.type != "viewpoint" && m.type != "roaming" && m.type != "splitScreen" && m.type != "planClip" ? u.set(`${m.screenplayId}-${m.type}`, m) : a[o].mockData.previousPage.push(m);
30762
30760
  }), c.nextPage.forEach((m) => {
30763
30761
  const g = `${m.screenplayId}-${m.type}`;
30764
30762
  let _ = {
@@ -30859,7 +30857,7 @@ const E1 = () => {
30859
30857
  return o;
30860
30858
  }, Bp = (x, a = "all") => {
30861
30859
  let { type: o, show: c, screenplayId: d, overallStaining: u, clip: m, flat: g } = x, _ = {};
30862
- if (console.log(x, a), a == "all")
30860
+ if (console.log("111111111111111", x, a), a == "all")
30863
30861
  switch (o) {
30864
30862
  case "model":
30865
30863
  case "shp":
@@ -30916,6 +30914,12 @@ const E1 = () => {
30916
30914
  })
30917
30915
  };
30918
30916
  break;
30917
+ case "editor":
30918
+ window.updateEitor({
30919
+ eitorinfo: "",
30920
+ eitorflag: !1
30921
+ });
30922
+ break;
30919
30923
  }
30920
30924
  else
30921
30925
  switch (console.log("初始化", a), a) {