chbim-plugins 0.0.85 → 0.0.86

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
@@ -30884,11 +30884,20 @@ const w1 = () => {
30884
30884
  return Object.keys(a).forEach((c) => {
30885
30885
  x.hasOwnProperty(c) && (o[c] = x[c]);
30886
30886
  }), o;
30887
- }, b1 = (x) => /^rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(0|1|0\.\d+)\s*\)$/i.test(x), A1 = () => {
30888
- window.map.getLayers().forEach((x) => {
30889
- (x.type == "3dtiles" || x.type == "geojson") && x.options.name != "国界" && x.remove();
30890
- }), window.bimEntity.entityLayer.getGraphicsByAttr().forEach((x) => {
30891
- x.remove();
30887
+ }, b1 = (x) => /^rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*(0|1|0\.\d+)\s*\)$/i.test(x), A1 = (x) => {
30888
+ let a = {};
30889
+ (x == null ? void 0 : x.length) > 0 && x[0].operate.forEach((o) => {
30890
+ let { executionProperty: c, screenplayId: d, property: u, type: m } = o;
30891
+ (c == "show" || c == "overallStaining") && (a[d] || (a[d] = {
30892
+ type: m
30893
+ }), a[d][u] = c);
30894
+ }), console.log("retentionData", a), window.map.getLayers().forEach((o) => {
30895
+ if ((o.type == "3dtiles" || o.type == "geojson") && o.options.name != "国界") {
30896
+ let c = o.options.modelId || o.options.vectorId;
30897
+ a[c] ? window.bimModel.editColor(c) : o.remove();
30898
+ }
30899
+ }), window.bimEntity.entityLayer.getGraphicsByAttr().forEach((o) => {
30900
+ console.log("1111111111111", o, a), o.remove();
30892
30901
  }), window.bimMapSetUp.undergroundVal(1), window.bimTerrainProvider.show(), window.bimTrafficSimulation.destruction(), window.bimRotatePoint.stop(), window.bimMapPTV.destruction(), window.romStop(), window.complete();
30893
30902
  }, u1 = [T_, W_], C1 = {
30894
30903
  continuation: null,