@xtctwins/tctwins-bimx-engine 0.2.55 → 0.3.1

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.
Files changed (104) hide show
  1. package/dist/{alert-C0MgdbKf.mjs → Alert-CSiEPFGt.mjs} +5 -5
  2. package/dist/{AnnotationTool-CPBZcbp_.mjs → AnnotationTool-CKzHkqWM.mjs} +80 -80
  3. package/dist/BIMX_Viewer_Lib.es.js +1 -1
  4. package/dist/BIMX_Viewer_Lib.umd.js +224 -169
  5. package/dist/{CommentTool-ChVib2Wg.mjs → CommentTool-5HhGDqpg.mjs} +575 -555
  6. package/dist/{HiddenTool-CilrXe5l.mjs → HiddenTool-BGFoHMWC.mjs} +9 -9
  7. package/dist/{InspectorTool-BXArGZHO.mjs → InspectorTool-DD3w7k07.mjs} +27 -27
  8. package/dist/{MeasureTool-DtUiP4t1.mjs → MeasureTool-COR8QLDf.mjs} +118 -94
  9. package/dist/{MouseTool-2Nxz447f.mjs → MouseTool-OxODcO4X.mjs} +27 -24
  10. package/dist/{NavigateTool-COsSnxyD.mjs → NavigateTool-Bw6GFzsg.mjs} +5 -5
  11. package/dist/{panel.vue_vue_type_style_index_0_lang-CN9vybau.mjs → Panel.vue_vue_type_style_index_0_lang-DgM_qGLO.mjs} +4 -4
  12. package/dist/{RoamTool-CjRywSYn.mjs → RoamTool-X-b0hsmJ.mjs} +7 -7
  13. package/dist/ScreenShotTool-0xSJZBBw.mjs +430 -0
  14. package/dist/SectionTool-BqI2Qnk5.mjs +343 -0
  15. package/dist/SettingTool-CGkRGfZH.mjs +747 -0
  16. package/dist/StructureTree-CWAXoI0r.mjs +1662 -0
  17. package/dist/{tallPanel-Ddd7gAie.mjs → TallPanel-CR5vNQ4c.mjs} +8 -8
  18. package/dist/bimTools-D3TraX9d.mjs +75 -0
  19. package/dist/el-slider-CBVU9_og.mjs +1040 -0
  20. package/dist/{index-DTeJ8S3e.mjs → index-CwRGVhoT.mjs} +44953 -46755
  21. package/dist/style.css +1 -1
  22. package/package.json +4 -3
  23. package/types/components/bcf/AddObjectOrAnno.vue.d.ts +16 -0
  24. package/types/components/bcf/BCFAddPanel.vue.d.ts +55 -0
  25. package/types/components/bcf/BCFDetailPanel.vue.d.ts +59 -0
  26. package/types/components/bcf/BCFDisplayList.vue.d.ts +18 -0
  27. package/types/components/bcf/BCFFilter.vue.d.ts +14 -0
  28. package/types/components/bcf/BCFTool.vue.d.ts +15 -0
  29. package/types/components/bcf/CheckObjectPanel.vue.d.ts +11 -0
  30. package/types/components/bcf/CommentInput.vue.d.ts +51 -0
  31. package/types/components/bcf/CommentsView.vue.d.ts +48 -0
  32. package/types/components/bcf/DialogPanel.vue.d.ts +15 -0
  33. package/types/components/bcf/ImageView.vue.d.ts +17 -0
  34. package/types/components/bcf/ImageZoomIn.vue.d.ts +9 -0
  35. package/types/components/bcf/MobileBCFAdd.vue.d.ts +56 -0
  36. package/types/components/bcf/MobileBCFDetail.vue.d.ts +55 -0
  37. package/types/components/bcf/MobileBCFDisplayList.vue.d.ts +498 -0
  38. package/types/components/bcf/MobileBCFFilter.vue.d.ts +475 -0
  39. package/types/components/bcf/MobileBCFTool.vue.d.ts +17 -0
  40. package/types/components/bcf/MobileCommentInput.vue.d.ts +54 -0
  41. package/types/components/bcf/MobileCommentsView.vue.d.ts +17 -0
  42. package/types/components/bcf/SelectPanel.vue.d.ts +12 -0
  43. package/types/components/comment/mobile/MobileCommentAdd.vue.d.ts +14 -0
  44. package/types/components/comment/mobile/MobileDetail.vue.d.ts +11 -0
  45. package/types/components/comment/mobile/MobileDraw.vue.d.ts +17 -0
  46. package/types/components/comment/mobile/MobileFilter.vue.d.ts +475 -0
  47. package/types/components/comment/mobile/MobileList.vue.d.ts +497 -0
  48. package/types/components/comment/mobile/MobileZoomIn.vue.d.ts +9 -0
  49. package/types/components/comment/pc/PcDraw.vue.d.ts +14 -0
  50. package/types/components/shared/Alert.vue.d.ts +32 -0
  51. package/types/components/shared/CloseButton.vue.d.ts +50 -0
  52. package/types/components/shared/CloseButtonDark.vue.d.ts +32 -0
  53. package/types/components/shared/EmptyPage.vue.d.ts +6 -0
  54. package/types/components/shared/Loading.vue.d.ts +2 -0
  55. package/types/components/shared/Panel.vue.d.ts +47 -0
  56. package/types/components/shared/Prompt.vue.d.ts +8 -0
  57. package/types/components/shared/RectangleButton.vue.d.ts +106 -0
  58. package/types/components/shared/TallPanel.vue.d.ts +69 -0
  59. package/types/components/shared/TallPanelNoPos.vue.d.ts +82 -0
  60. package/types/components/tools/AnnotationTool.vue.d.ts +14 -0
  61. package/types/components/tools/AppToolbar.vue.d.ts +27 -0
  62. package/types/components/tools/ClickEvent.vue.d.ts +6 -0
  63. package/types/components/tools/CommentTool.vue.d.ts +45 -0
  64. package/types/components/tools/HiddenTool.vue.d.ts +12 -0
  65. package/types/components/tools/InspectorTool.vue.d.ts +14 -0
  66. package/types/components/tools/MeasureTool.vue.d.ts +14 -0
  67. package/types/components/tools/MouseTool.vue.d.ts +6 -0
  68. package/types/components/tools/NavigateTool.vue.d.ts +10 -0
  69. package/types/components/tools/RoamTool.vue.d.ts +12 -0
  70. package/types/components/tools/ScreenShotTool.vue.d.ts +10 -0
  71. package/types/components/tools/SectionTool.vue.d.ts +14 -0
  72. package/types/components/tools/SettingTool.vue.d.ts +13 -0
  73. package/types/components/tools/StructureTree.vue.d.ts +11645 -0
  74. package/types/components/tools/Toolbar.vue.d.ts +10 -0
  75. package/types/composables/useBimViewerEvent.d.ts +44 -0
  76. package/types/composables/useEmitHandler.d.ts +2 -0
  77. package/types/composables/useToolActive.d.ts +1 -0
  78. package/types/composables/useToolReady.d.ts +1 -0
  79. package/types/i18n/index.d.ts +5 -1
  80. package/types/i18n/locales/en-US.d.ts +1 -0
  81. package/types/i18n/locales/zh-CN.d.ts +1 -0
  82. package/types/store/bcfReflect.d.ts +13 -81
  83. package/types/store/const/app.d.ts +66 -0
  84. package/types/store/const/bimTools.d.ts +81 -0
  85. package/types/store/const/project.d.ts +48 -0
  86. package/types/store/const/theme.d.ts +16 -0
  87. package/types/store/const/toolbar.d.ts +26 -0
  88. package/types/store/const.d.ts +11 -228
  89. package/types/store/toolbars.d.ts +22 -0
  90. package/types/store/userInfoStore.d.ts +1 -1
  91. package/types/stores/viewerStore.d.ts +112 -0
  92. package/types/types/bcf.d.ts +83 -0
  93. package/types/types/events.d.ts +88 -0
  94. package/types/utils/OSSHelper.d.ts +27 -0
  95. package/types/utils/cacheInfo.d.ts +26 -3
  96. package/types/utils/dbscan.d.ts +1 -0
  97. package/types/utils/eventBus.d.ts +1 -83
  98. package/types/viewerManager/viewerManager.d.ts +53 -3
  99. package/dist/ScreenShotTool-g1dzvqn2.mjs +0 -500
  100. package/dist/SectionTool-DlnlE6Pv.mjs +0 -331
  101. package/dist/SettingTool-y_hp2XrJ.mjs +0 -815
  102. package/dist/StructureTree-CtJ4Yf5_.mjs +0 -1846
  103. package/dist/const-DOnRsYpZ.mjs +0 -389
  104. package/dist/el-input-number-BjEspzGk.mjs +0 -1169
@@ -1,11 +1,11 @@
1
- import { B as g, C as t, T as r, K as y, L as x, H as S, I as k } from "./index-DTeJ8S3e.mjs";
2
- import { defineComponent as P, ref as c, onMounted as W, watch as b, createElementBlock as f, openBlock as _, normalizeStyle as w, createElementVNode as o, createCommentVNode as C, toDisplayString as T, createVNode as N, unref as h, renderSlot as B } from "vue";
1
+ import { B as g, C as t, T as r, K as y, L as x, H as S, I as k } from "./index-CwRGVhoT.mjs";
2
+ import { defineComponent as P, ref as c, onMounted as W, watch as b, openBlock as _, createElementBlock as f, normalizeStyle as w, createElementVNode as o, toDisplayString as C, createVNode as T, unref as h, renderSlot as N, createCommentVNode as B } from "vue";
3
3
  const E = { class: "tall_panel_content" }, H = { class: "panel_top" }, $ = { class: "panel_title" }, L = { class: "panel_close" }, I = { class: "panel_content" }, M = {
4
4
  key: 0,
5
5
  class: "width-set",
6
6
  id: "lineWidthSet"
7
7
  }, V = /* @__PURE__ */ P({
8
- __name: "tallPanel",
8
+ __name: "TallPanel",
9
9
  props: {
10
10
  panelTitle: {
11
11
  type: String,
@@ -58,9 +58,9 @@ const E = { class: "tall_panel_content" }, H = { class: "panel_top" }, $ = { cla
58
58
  }, [
59
59
  o("div", E, [
60
60
  o("div", H, [
61
- o("div", $, T(a.panelTitle), 1),
61
+ o("div", $, C(a.panelTitle), 1),
62
62
  o("div", L, [
63
- N(v, {
63
+ T(v, {
64
64
  width: 18,
65
65
  "click-handle": a.clickHandle,
66
66
  light: h(r).currentTheme == "blue",
@@ -69,16 +69,16 @@ const E = { class: "tall_panel_content" }, H = { class: "panel_top" }, $ = { cla
69
69
  ])
70
70
  ]),
71
71
  o("div", I, [
72
- B(e.$slots, "default", {}, void 0, !0)
72
+ N(e.$slots, "default", {}, void 0, !0)
73
73
  ])
74
74
  ]),
75
75
  a.setWidth ? (_(), f("div", M, [...s[0] || (s[0] = [
76
76
  o("div", { class: "set-line" }, null, -1)
77
- ])])) : C("", !0)
77
+ ])])) : B("", !0)
78
78
  ], 4);
79
79
  };
80
80
  }
81
- }), A = /* @__PURE__ */ k(V, [["__scopeId", "data-v-4af7d9ff"]]);
81
+ }), A = /* @__PURE__ */ k(V, [["__scopeId", "data-v-576e0a25"]]);
82
82
  export {
83
83
  A as _
84
84
  };
@@ -0,0 +1,75 @@
1
+ const e = [
2
+ { id: 0, name: "section.bulk.deleteAll" },
3
+ { id: 1, name: "section.bulk.flipAll" },
4
+ { id: 2, name: "section.bulk.showAll" },
5
+ { id: 4, name: "section.bulk.hideAll" }
6
+ ], i = [
7
+ { id: 1, code: "distance", name: "距离", label: "measure.distance", img: "pmeasure-distance", imgActive: "pmeasure-distance-active", svg: "distance", svgActive: "distance-active" },
8
+ { id: 2, code: "angle", name: "角度", label: "measure.angle", img: "pmeasure-angle", imgActive: "pmeasure-angle-active", svg: "angle", svgActive: "angle-active" }
9
+ ], t = [
10
+ { id: 0, size: "1" },
11
+ { id: 1, size: "2" },
12
+ { id: 2, size: "3" }
13
+ ], a = [
14
+ { id: 1, color: "#066CFC" },
15
+ { id: 2, color: "#FE4444" },
16
+ { id: 3, color: "#FF9357" },
17
+ { id: 4, color: "#66C15F" },
18
+ { id: 5, color: "#FFFFFF" },
19
+ { id: 6, color: "#8F8F8F" },
20
+ { id: 7, color: "#000000" }
21
+ ], c = [
22
+ { id: 0, name: "大", label: "fontSize.large", fontSize: "18" },
23
+ { id: 1, name: "中", label: "fontSize.medium", fontSize: "14" },
24
+ { id: 2, name: "小", label: "fontSize.small", fontSize: "10" }
25
+ ], o = [
26
+ { id: 1, name: "铅笔", label: "commentTool.pencil", buttontype: "path", img: "edit-icon", imgActive: "edit-active-icon", svg: "draw", svgActive: "draw-active", isShow: !0 },
27
+ { id: 2, name: "箭头", label: "commentTool.arrow", buttontype: "arrow", img: "arrow-icon", imgActive: "arrow-active-icon", svg: "arrow", svgActive: "arrow-active", isShow: !1 },
28
+ { id: 3, name: "矩形", label: "commentTool.rectangle", buttontype: "rect", img: "rect-icon", imgActive: "rect-active-icon", svg: "rectangle", svgActive: "rectangle-active", isShow: !1 },
29
+ { id: 4, name: "圆形", label: "commentTool.circle", buttontype: "ellipse", img: "ellipse-icon", imgActive: "ellipse-active-icon", svg: "circle", svgActive: "circle-active", isShow: !1 },
30
+ { id: 5, name: "文字", label: "commentTool.text", buttontype: "text", img: "text-icon", imgActive: "text-active-icon", svg: "text", svgActive: "text-active", isShow: !1 }
31
+ ], m = [
32
+ { id: 1, code: "image", name: "annotation.image", okType: "image/*", img: "image", img_active: "image_active", imgActive: "image-active" },
33
+ { id: 2, code: "record", name: "annotation.record", okType: "record", img: "record", img_active: "record_active", imgActive: "record-active" },
34
+ { id: 3, code: "video", name: "annotation.video", okType: "video/*", img: "video", img_active: "video_active", imgActive: "video-active" },
35
+ { id: 4, code: "file", name: "annotation.file", okType: "*/*", img: "file", img_active: "file_active", imgActive: "file-active" },
36
+ { id: 5, code: "text", name: "annotation.text", okType: "text", img: "text", img_active: "text_active", imgActive: "text-active" }
37
+ ], n = [
38
+ { id: 1, name: "hidden.hide", img: "hidden", img_active: "hidden-active" },
39
+ { id: 2, name: "hidden.perspective", img: "xray", img_active: "xray-active" },
40
+ { id: 3, name: "hidden.select", img: "select", img_active: "select-active" },
41
+ { id: 0, name: "hidden.recover", img: "recover", img_active: "recover-active" }
42
+ ], v = [
43
+ { id: 0, name: "1280x720px", width: "1280", height: "720" },
44
+ { id: 1, name: "1920x1080px", width: "1920", height: "1080" },
45
+ { id: 2, name: "2560x1440px", width: "2560", height: "1440" },
46
+ { id: 3, label: "screenshot.custom" }
47
+ ], d = [
48
+ { id: 1, code: "top", name: "俯视图", label: "navigate.top", dir_num: 4, img: "view-top", imgActive: "view-top-active" },
49
+ { id: 2, code: "bottom", name: "仰视图", label: "navigate.bottom", dir_num: 5, img: "view-bottom", imgActive: "view-bottom-active" },
50
+ { id: 3, code: "left", name: "左视图", label: "navigate.left", dir_num: 3, img: "view-left", imgActive: "view-left-active" },
51
+ { id: 4, code: "right", name: "右视图", label: "navigate.right", dir_num: 2, img: "view-right", imgActive: "view-right-active" },
52
+ { id: 5, code: "front", name: "前视图", label: "navigate.front", dir_num: 0, img: "view-front", imgActive: "view-front-active" },
53
+ { id: 6, code: "back", name: "后视图", label: "navigate.back", dir_num: 1, img: "view-back", imgActive: "view-back-active" },
54
+ { id: 7, code: "left-bottom", name: "西南", label: "navigate.leftBottom", dir_num: 14, img: "view-left-bottom", imgActive: "view-left-bottom-active" },
55
+ { id: 8, code: "right-bottom", name: "东南", label: "navigate.rightBottom", dir_num: 15, img: "view-right-bottom", imgActive: "view-right-bottom-active" },
56
+ { id: 9, code: "right-top", name: "东北", label: "navigate.rightTop", dir_num: 16, img: "view-right-top", imgActive: "view-right-top-active" },
57
+ { id: 10, code: "left-top", name: "西北", label: "navigate.leftTop", dir_num: 17, img: "view-left-top", imgActive: "view-left-top-active" }
58
+ ], l = [
59
+ { id: 0, name: "structure.objects" },
60
+ { id: 1, name: "structure.categories" },
61
+ { id: 2, name: "structure.floors" }
62
+ ];
63
+ export {
64
+ m as A,
65
+ e as B,
66
+ o as C,
67
+ c as F,
68
+ n as H,
69
+ t as L,
70
+ i as M,
71
+ d as N,
72
+ l as S,
73
+ a as T,
74
+ v as a
75
+ };