sctj-components 1.0.54 → 1.0.55

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.
@@ -9400,8 +9400,8 @@ const _sfc_main$2 = {
9400
9400
  }
9401
9401
  };
9402
9402
  const SCTJBusinessMapDrawingDialog = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d0bea808"]]);
9403
- const BimViewer_vue_vue_type_style_index_0_scoped_6cb42de6_lang = "";
9404
- const _withScopeId = (n) => (pushScopeId("data-v-6cb42de6"), n = n(), popScopeId(), n);
9403
+ const BimViewer_vue_vue_type_style_index_0_scoped_89f55b38_lang = "";
9404
+ const _withScopeId = (n) => (pushScopeId("data-v-89f55b38"), n = n(), popScopeId(), n);
9405
9405
  const _hoisted_1 = {
9406
9406
  key: 0,
9407
9407
  class: "error-overlay"
@@ -9686,6 +9686,18 @@ const _sfc_main$1 = {
9686
9686
  model3D.clearIsolation();
9687
9687
  viewer3D.value.render();
9688
9688
  };
9689
+ const getModelTree = () => {
9690
+ new Promise((resolve, reject) => {
9691
+ const model3D = viewer3D.value.getModel();
9692
+ try {
9693
+ model3D.getModelTree(function(data) {
9694
+ resolve(data);
9695
+ });
9696
+ } catch (error) {
9697
+ reject(error);
9698
+ }
9699
+ });
9700
+ };
9689
9701
  const initBim = () => {
9690
9702
  nextTick(() => {
9691
9703
  loadModel();
@@ -9704,7 +9716,8 @@ const _sfc_main$1 = {
9704
9716
  hideComponent,
9705
9717
  showComponent,
9706
9718
  isolateComponent,
9707
- unIsolateComponent
9719
+ unIsolateComponent,
9720
+ getModelTree
9708
9721
  });
9709
9722
  return (_ctx, _cache) => {
9710
9723
  const _component_el_button = resolveComponent("el-button");
@@ -9736,7 +9749,7 @@ const _sfc_main$1 = {
9736
9749
  };
9737
9750
  }
9738
9751
  };
9739
- const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6cb42de6"]]);
9752
+ const SCTJBimViewer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-89f55b38"]]);
9740
9753
  const DwgViewer_vue_vue_type_style_index_0_scoped_ab9c8ebd_lang = "";
9741
9754
  const _sfc_main = {
9742
9755
  __name: "DwgViewer",