@xtctwins/tctwins-industry-engine 0.1.2 → 0.1.3
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/README.md +196 -196
- package/dist/{AnnotationTool-DmR1FVnC.mjs → AnnotationTool-C7l6-OOY.mjs} +3 -3
- package/dist/{CameraViewTool-r6cSaP1g.mjs → CameraViewTool-D_EQ41Z1.mjs} +12 -12
- package/dist/{CommentTool-DSsUxXd3.mjs → CommentTool-p6Un2NpR.mjs} +10 -10
- package/dist/{HiddenTool-BtwqlKjb.mjs → HiddenTool-CIeAjgxq.mjs} +5 -5
- package/dist/Industry_Viewer_Lib.es.js +1 -1
- package/dist/Industry_Viewer_Lib.umd.js +120 -120
- package/dist/{InspectorTool-C1LD5P8c.mjs → InspectorTool-CZod-iTj.mjs} +4 -4
- package/dist/MeasureTool-D4LogF0O.mjs +595 -0
- package/dist/{MouseTool-zXaLoVhr.mjs → MouseTool-zmgqeZnH.mjs} +1 -1
- package/dist/{NavigateTool-Dm9XeTMn.mjs → NavigateTool-CS2EopuR.mjs} +1 -1
- package/dist/{OperateTool-BHpG5L4i.mjs → OperateTool-CG2aVzKk.mjs} +31 -28
- package/dist/{RoamTool-C2Z6QuAO.mjs → RoamTool-BFL8VDlB.mjs} +14 -14
- package/dist/{ScreenShotTool-pFW91aP4.mjs → ScreenShotTool-Dz5RLoqN.mjs} +4 -4
- package/dist/{SectionTool-DayaGJkQ.mjs → SectionTool-IkA1bJ2y.mjs} +4 -4
- package/dist/{SettingTool-PpDmUY66.mjs → SettingTool-DCIDMjRW.mjs} +5 -5
- package/dist/{StructureTree-C2Jm05Mj.mjs → StructureTree-BT4rCLqe.mjs} +4 -4
- package/dist/{alert-67kDCiVn.mjs → alert-LKnose49.mjs} +15 -15
- package/dist/{index-B1oouGms.mjs → index-BDeMc4ft.mjs} +30046 -29708
- package/dist/{panel.vue_vue_type_style_index_0_lang-DGwOi2jH.mjs → panel.vue_vue_type_style_index_0_lang-CCRmuixj.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tallPanel-_IjvX2X6.mjs → tallPanel-D4xjdoyB.mjs} +6 -6
- package/package.json +85 -85
- package/types/components/BCFComponents/commentsView.vue.d.ts +4 -4
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +14 -14
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +14 -14
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +184 -184
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +14 -14
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +14 -14
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +4 -4
- package/dist/01.xtc +0 -0
- package/dist/02.xtc +0 -0
- package/dist/03.xtc +0 -0
- package/dist/MeasureTool-BiIYol2o.mjs +0 -593
- package/dist/index.html +0 -17
- package/types/components/BimxViewerComp.vue.d.ts +0 -25
- package/types/pages/BimxViewerEntry.vue.d.ts +0 -71
package/README.md
CHANGED
|
@@ -1,196 +1,196 @@
|
|
|
1
|
-
## @xtctwins/tctwins-bimx-engine
|
|
2
|
-
|
|
3
|
-
# xtc 三维文件查看器
|
|
4
|
-
|
|
5
|
-
## 安装相关依赖
|
|
6
|
-
|
|
7
|
-
## UI element-plus
|
|
8
|
-
|
|
9
|
-
<https://www.npmjs.com/package/element-plus>
|
|
10
|
-
|
|
11
|
-
```ssh
|
|
12
|
-
npm i element-plus
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## 事件总线 mitt
|
|
16
|
-
|
|
17
|
-
<https://www.npmjs.com/package/mitt>
|
|
18
|
-
|
|
19
|
-
```ssh
|
|
20
|
-
npm i mitt
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## 状态管理 pinia
|
|
24
|
-
|
|
25
|
-
<https://www.npmjs.com/package/pinia>
|
|
26
|
-
|
|
27
|
-
```ssh
|
|
28
|
-
npm i pinia
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
## 文件获取 ali-oss
|
|
32
|
-
|
|
33
|
-
<https://www.npmjs.com/package/ali-oss>
|
|
34
|
-
|
|
35
|
-
```ssh
|
|
36
|
-
npm i ali-oss
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
# 安装依赖
|
|
40
|
-
|
|
41
|
-
```ssh
|
|
42
|
-
// 安装依赖
|
|
43
|
-
npm i @xtctwins/tctwins-bimx-engine
|
|
44
|
-
// 引入样式
|
|
45
|
-
import "@xtctwins/tctwins-bimx-engine/dist/style.css";
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
# Example
|
|
49
|
-
|
|
50
|
-
```ts
|
|
51
|
-
<template>
|
|
52
|
-
<!-- 一个模型 -->
|
|
53
|
-
<!-- :model-buffer 和 :file-path 选一个使用即可-->
|
|
54
|
-
<!-- :model-buffer 是直接传入模型buffer数据-->
|
|
55
|
-
<!-- :file-path 是传入文件下载路径-->
|
|
56
|
-
<IndustryViewer
|
|
57
|
-
v-if="initialzed"
|
|
58
|
-
:load-meta="true"
|
|
59
|
-
:file-path="filePath"
|
|
60
|
-
:nav-cube-size="120"
|
|
61
|
-
:background-color="'#d0d0d0'"
|
|
62
|
-
@emit-handler="EmitHandler" />
|
|
63
|
-
|
|
64
|
-
<!-- 集成模型 -->
|
|
65
|
-
<!-- 请使用-->
|
|
66
|
-
<!--:file-paths="filePaths"-->
|
|
67
|
-
<!--:multi-model="true"-->
|
|
68
|
-
</template>
|
|
69
|
-
|
|
70
|
-
<script lang="ts" setup>
|
|
71
|
-
import { onMounted, ref } from "vue";
|
|
72
|
-
import { IndustryViewer } from "@xtctwins/tctwins-industry-engine";
|
|
73
|
-
import type { EventContent } from "@xtctwins/tctwins-industry-engine";
|
|
74
|
-
import "@xtctwins/tctwins-industry-engine/dist/style.css";
|
|
75
|
-
|
|
76
|
-
const initialzed = ref(false);
|
|
77
|
-
const filePath = ref(`https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com/test/1公寓幕墙.xtc`);
|
|
78
|
-
const filePaths = [
|
|
79
|
-
"https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com/tests/models/multiModel/model2/20250205170745913287.xtc",
|
|
80
|
-
"https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com/tests/models/multiModel/model2/20250205170736552499.xtc",
|
|
81
|
-
"https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com/tests/models/multiModel/model2/20250205170731500203.xtc"
|
|
82
|
-
];
|
|
83
|
-
const modelBuffer = ref<ArrayBuffer>();
|
|
84
|
-
|
|
85
|
-
onMounted(() => {
|
|
86
|
-
//如果选择直接传入模型modelBuffer,请在获取到buffer后再初始化IndustryViewer
|
|
87
|
-
// getModel(() => {
|
|
88
|
-
// initialzed.value = true;
|
|
89
|
-
// });
|
|
90
|
-
|
|
91
|
-
//如果使用filePath或者filePaths则直接初始化IndustryViewer即可
|
|
92
|
-
initialzed.value = true;
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
//监听引擎传出的事件
|
|
96
|
-
const EmitHandler = (content: EventContent) => {
|
|
97
|
-
console.log(content);
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
//xtc模型数据
|
|
101
|
-
const getModel = (callback: () => void) => {
|
|
102
|
-
// 自行填写获取模型文件的内容
|
|
103
|
-
// ...
|
|
104
|
-
// modelBuffer.value = ...
|
|
105
|
-
callback();
|
|
106
|
-
};
|
|
107
|
-
</script>
|
|
108
|
-
|
|
109
|
-
<style>
|
|
110
|
-
#app {
|
|
111
|
-
position: absolute;
|
|
112
|
-
left: 0;
|
|
113
|
-
right: 0;
|
|
114
|
-
top: 0;
|
|
115
|
-
bottom: 0;
|
|
116
|
-
width: 100%;
|
|
117
|
-
height: 100%;
|
|
118
|
-
}
|
|
119
|
-
</style>
|
|
120
|
-
|
|
121
|
-
```
|
|
122
|
-
|
|
123
|
-
## 其他参数解释
|
|
124
|
-
|
|
125
|
-
### 基础设置
|
|
126
|
-
|
|
127
|
-
是否载入构件属性信息(xts文件),
|
|
128
|
-
如果要载入,在模型xtc文件相同路径下必须有同名xts文件
|
|
129
|
-
|
|
130
|
-
```ssh
|
|
131
|
-
:load-meta="true"
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
是否显示导航盒
|
|
135
|
-
|
|
136
|
-
```ssh
|
|
137
|
-
:showNavCube="true"
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
导航盒尺寸
|
|
141
|
-
|
|
142
|
-
```ssh
|
|
143
|
-
:nav-cube-size="120"
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
背景颜色
|
|
147
|
-
|
|
148
|
-
```ssh
|
|
149
|
-
:background-color="#d0d0d0"
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
### 功能
|
|
153
|
-
|
|
154
|
-
添加需要的即可
|
|
155
|
-
|
|
156
|
-
```ssh
|
|
157
|
-
inspector
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
inspector - 构建属性面板开启 (需要开启loadMeta)
|
|
161
|
-
|
|
162
|
-
```ssh
|
|
163
|
-
reseta
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
reseta - 重置模型视角
|
|
167
|
-
|
|
168
|
-
## 事件
|
|
169
|
-
|
|
170
|
-
```ssh
|
|
171
|
-
//监听引擎传出的事件
|
|
172
|
-
const EmitHandler = (content: EventContent) => {
|
|
173
|
-
console.log(content);
|
|
174
|
-
};
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
```ts
|
|
178
|
-
//事件内容
|
|
179
|
-
type EventContent = {
|
|
180
|
-
isTool: boolean;
|
|
181
|
-
event_target: ComponentName | "IndustryViewer" | "ToolBar";
|
|
182
|
-
event_name: string;
|
|
183
|
-
content: {};
|
|
184
|
-
};
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
事件内容包括:
|
|
188
|
-
|
|
189
|
-
```ssh
|
|
190
|
-
"pickedEntity" - 点击构件
|
|
191
|
-
"pickedNothing" - 点击空白处
|
|
192
|
-
...
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
##### 正式
|
|
1
|
+
## @xtctwins/tctwins-bimx-engine
|
|
2
|
+
|
|
3
|
+
# xtc 三维文件查看器
|
|
4
|
+
|
|
5
|
+
## 安装相关依赖
|
|
6
|
+
|
|
7
|
+
## UI element-plus
|
|
8
|
+
|
|
9
|
+
<https://www.npmjs.com/package/element-plus>
|
|
10
|
+
|
|
11
|
+
```ssh
|
|
12
|
+
npm i element-plus
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## 事件总线 mitt
|
|
16
|
+
|
|
17
|
+
<https://www.npmjs.com/package/mitt>
|
|
18
|
+
|
|
19
|
+
```ssh
|
|
20
|
+
npm i mitt
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## 状态管理 pinia
|
|
24
|
+
|
|
25
|
+
<https://www.npmjs.com/package/pinia>
|
|
26
|
+
|
|
27
|
+
```ssh
|
|
28
|
+
npm i pinia
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## 文件获取 ali-oss
|
|
32
|
+
|
|
33
|
+
<https://www.npmjs.com/package/ali-oss>
|
|
34
|
+
|
|
35
|
+
```ssh
|
|
36
|
+
npm i ali-oss
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
# 安装依赖
|
|
40
|
+
|
|
41
|
+
```ssh
|
|
42
|
+
// 安装依赖
|
|
43
|
+
npm i @xtctwins/tctwins-bimx-engine
|
|
44
|
+
// 引入样式
|
|
45
|
+
import "@xtctwins/tctwins-bimx-engine/dist/style.css";
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
# Example
|
|
49
|
+
|
|
50
|
+
```ts
|
|
51
|
+
<template>
|
|
52
|
+
<!-- 一个模型 -->
|
|
53
|
+
<!-- :model-buffer 和 :file-path 选一个使用即可-->
|
|
54
|
+
<!-- :model-buffer 是直接传入模型buffer数据-->
|
|
55
|
+
<!-- :file-path 是传入文件下载路径-->
|
|
56
|
+
<IndustryViewer
|
|
57
|
+
v-if="initialzed"
|
|
58
|
+
:load-meta="true"
|
|
59
|
+
:file-path="filePath"
|
|
60
|
+
:nav-cube-size="120"
|
|
61
|
+
:background-color="'#d0d0d0'"
|
|
62
|
+
@emit-handler="EmitHandler" />
|
|
63
|
+
|
|
64
|
+
<!-- 集成模型 -->
|
|
65
|
+
<!-- 请使用-->
|
|
66
|
+
<!--:file-paths="filePaths"-->
|
|
67
|
+
<!--:multi-model="true"-->
|
|
68
|
+
</template>
|
|
69
|
+
|
|
70
|
+
<script lang="ts" setup>
|
|
71
|
+
import { onMounted, ref } from "vue";
|
|
72
|
+
import { IndustryViewer } from "@xtctwins/tctwins-industry-engine";
|
|
73
|
+
import type { EventContent } from "@xtctwins/tctwins-industry-engine";
|
|
74
|
+
import "@xtctwins/tctwins-industry-engine/dist/style.css";
|
|
75
|
+
|
|
76
|
+
const initialzed = ref(false);
|
|
77
|
+
const filePath = ref(`https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com/test/1公寓幕墙.xtc`);
|
|
78
|
+
const filePaths = [
|
|
79
|
+
"https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com/tests/models/multiModel/model2/20250205170745913287.xtc",
|
|
80
|
+
"https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com/tests/models/multiModel/model2/20250205170736552499.xtc",
|
|
81
|
+
"https://tctwins-oss-test.oss-cn-beijing.aliyuncs.com/tests/models/multiModel/model2/20250205170731500203.xtc"
|
|
82
|
+
];
|
|
83
|
+
const modelBuffer = ref<ArrayBuffer>();
|
|
84
|
+
|
|
85
|
+
onMounted(() => {
|
|
86
|
+
//如果选择直接传入模型modelBuffer,请在获取到buffer后再初始化IndustryViewer
|
|
87
|
+
// getModel(() => {
|
|
88
|
+
// initialzed.value = true;
|
|
89
|
+
// });
|
|
90
|
+
|
|
91
|
+
//如果使用filePath或者filePaths则直接初始化IndustryViewer即可
|
|
92
|
+
initialzed.value = true;
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
//监听引擎传出的事件
|
|
96
|
+
const EmitHandler = (content: EventContent) => {
|
|
97
|
+
console.log(content);
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
//xtc模型数据
|
|
101
|
+
const getModel = (callback: () => void) => {
|
|
102
|
+
// 自行填写获取模型文件的内容
|
|
103
|
+
// ...
|
|
104
|
+
// modelBuffer.value = ...
|
|
105
|
+
callback();
|
|
106
|
+
};
|
|
107
|
+
</script>
|
|
108
|
+
|
|
109
|
+
<style>
|
|
110
|
+
#app {
|
|
111
|
+
position: absolute;
|
|
112
|
+
left: 0;
|
|
113
|
+
right: 0;
|
|
114
|
+
top: 0;
|
|
115
|
+
bottom: 0;
|
|
116
|
+
width: 100%;
|
|
117
|
+
height: 100%;
|
|
118
|
+
}
|
|
119
|
+
</style>
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## 其他参数解释
|
|
124
|
+
|
|
125
|
+
### 基础设置
|
|
126
|
+
|
|
127
|
+
是否载入构件属性信息(xts文件),
|
|
128
|
+
如果要载入,在模型xtc文件相同路径下必须有同名xts文件
|
|
129
|
+
|
|
130
|
+
```ssh
|
|
131
|
+
:load-meta="true"
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
是否显示导航盒
|
|
135
|
+
|
|
136
|
+
```ssh
|
|
137
|
+
:showNavCube="true"
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
导航盒尺寸
|
|
141
|
+
|
|
142
|
+
```ssh
|
|
143
|
+
:nav-cube-size="120"
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
背景颜色
|
|
147
|
+
|
|
148
|
+
```ssh
|
|
149
|
+
:background-color="#d0d0d0"
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### 功能
|
|
153
|
+
|
|
154
|
+
添加需要的即可
|
|
155
|
+
|
|
156
|
+
```ssh
|
|
157
|
+
inspector
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
inspector - 构建属性面板开启 (需要开启loadMeta)
|
|
161
|
+
|
|
162
|
+
```ssh
|
|
163
|
+
reseta
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
reseta - 重置模型视角
|
|
167
|
+
|
|
168
|
+
## 事件
|
|
169
|
+
|
|
170
|
+
```ssh
|
|
171
|
+
//监听引擎传出的事件
|
|
172
|
+
const EmitHandler = (content: EventContent) => {
|
|
173
|
+
console.log(content);
|
|
174
|
+
};
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
```ts
|
|
178
|
+
//事件内容
|
|
179
|
+
type EventContent = {
|
|
180
|
+
isTool: boolean;
|
|
181
|
+
event_target: ComponentName | "IndustryViewer" | "ToolBar";
|
|
182
|
+
event_name: string;
|
|
183
|
+
content: {};
|
|
184
|
+
};
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
事件内容包括:
|
|
188
|
+
|
|
189
|
+
```ssh
|
|
190
|
+
"pickedEntity" - 点击构件
|
|
191
|
+
"pickedNothing" - 点击空白处
|
|
192
|
+
...
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
##### 正式
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as D } from "./alert-
|
|
1
|
+
import { _ as D } from "./alert-LKnose49.mjs";
|
|
2
2
|
import { defineComponent as H, ref as p, watch as O, onMounted as q, onBeforeUnmount as F, openBlock as i, createElementBlock as a, unref as n, createCommentVNode as b, createElementVNode as r, normalizeClass as f, Fragment as B, renderList as C, toDisplayString as R, withDirectives as U, createVNode as z, vShow as G } from "vue";
|
|
3
|
-
import { F as j, G as J, H as o, I as v, al as l, P as c, M as K } from "./index-
|
|
3
|
+
import { F as j, G as J, H as o, I as v, al as l, P as c, M as K } from "./index-BDeMc4ft.mjs";
|
|
4
4
|
const Q = { class: "annotation_component" }, Y = {
|
|
5
5
|
key: 0,
|
|
6
6
|
id: "annotation_toolbar",
|
|
@@ -160,7 +160,7 @@ const Q = { class: "annotation_component" }, Y = {
|
|
|
160
160
|
]);
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
|
-
}), ge = /* @__PURE__ */ K(de, [["__scopeId", "data-v-
|
|
163
|
+
}), ge = /* @__PURE__ */ K(de, [["__scopeId", "data-v-01b55576"]]);
|
|
164
164
|
export {
|
|
165
165
|
ge as default
|
|
166
166
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { G as X, H as Y, I as x, W as z, P as y, M as A } from "./index-
|
|
1
|
+
import { G as X, H as Y, I as x, W as z, P as y, M as A } from "./index-BDeMc4ft.mjs";
|
|
2
2
|
import { defineComponent as G, ref as l, watch as k, onMounted as O, onBeforeUnmount as j, openBlock as u, createElementBlock as g, normalizeClass as T, createElementVNode as t, createBlock as q, withCtx as F, unref as B, withDirectives as I, vModelText as N, createCommentVNode as J } from "vue";
|
|
3
3
|
const K = { class: "cameraView_tool_btn" }, Q = ["src"], Z = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "cameraView_tool_btn"
|
|
6
|
-
}, ee = ["src"], te = { class: "dialog-container" }, oe = { class: "dialog-header" }, ae = { class: "dialog-content" }, se = { class: "preview-shot" }, ne = ["src"], le = { class: "form-group" }, ie = { class: "form-group" },
|
|
6
|
+
}, ee = ["src"], te = { class: "dialog-container" }, oe = { class: "dialog-header" }, ae = { class: "dialog-content" }, se = { class: "preview-shot" }, ne = ["src"], le = { class: "form-group" }, ie = { class: "form-group" }, re = { class: "dialog-footer" }, ce = /* @__PURE__ */ G({
|
|
7
7
|
__name: "CameraViewTool",
|
|
8
8
|
props: ["componentId", "instruction"],
|
|
9
9
|
emits: ["emitHandler"],
|
|
@@ -43,7 +43,7 @@ const K = { class: "cameraView_tool_btn" }, Q = ["src"], Z = {
|
|
|
43
43
|
return "";
|
|
44
44
|
}, M = S, R = (o) => {
|
|
45
45
|
M("emitHandler", o);
|
|
46
|
-
},
|
|
46
|
+
}, r = l(""), c = l(""), n = l(!1), m = l(""), f = l(), U = () => {
|
|
47
47
|
n.value = !0, f.value = v.getCameraView(), m.value = H(220, 124);
|
|
48
48
|
}, $ = () => {
|
|
49
49
|
R({
|
|
@@ -52,11 +52,11 @@ const K = { class: "cameraView_tool_btn" }, Q = ["src"], Z = {
|
|
|
52
52
|
event_name: "newCameraView",
|
|
53
53
|
content: {
|
|
54
54
|
cameraView: f.value,
|
|
55
|
-
title:
|
|
56
|
-
description:
|
|
55
|
+
title: r.value,
|
|
56
|
+
description: c.value,
|
|
57
57
|
img_data: m.value
|
|
58
58
|
}
|
|
59
|
-
}), n.value = !1,
|
|
59
|
+
}), n.value = !1, r.value = "", c.value = "", f.value = null, m.value = "";
|
|
60
60
|
};
|
|
61
61
|
return j(() => {
|
|
62
62
|
x.off("BimViewer", V);
|
|
@@ -121,29 +121,29 @@ const K = { class: "cameraView_tool_btn" }, Q = ["src"], Z = {
|
|
|
121
121
|
t("div", le, [
|
|
122
122
|
e[7] || (e[7] = t("label", { class: "form-label" }, "视角名称", -1)),
|
|
123
123
|
I(t("input", {
|
|
124
|
-
"onUpdate:modelValue": e[2] || (e[2] = (s) =>
|
|
124
|
+
"onUpdate:modelValue": e[2] || (e[2] = (s) => r.value = s),
|
|
125
125
|
type: "text",
|
|
126
126
|
class: "form-input",
|
|
127
127
|
placeholder: "请输入视角名称",
|
|
128
128
|
maxlength: "50"
|
|
129
129
|
}, null, 512), [
|
|
130
|
-
[N,
|
|
130
|
+
[N, r.value]
|
|
131
131
|
])
|
|
132
132
|
]),
|
|
133
133
|
t("div", ie, [
|
|
134
134
|
e[8] || (e[8] = t("label", { class: "form-label" }, "视角描述", -1)),
|
|
135
135
|
I(t("textarea", {
|
|
136
|
-
"onUpdate:modelValue": e[3] || (e[3] = (s) =>
|
|
136
|
+
"onUpdate:modelValue": e[3] || (e[3] = (s) => c.value = s),
|
|
137
137
|
class: "form-textarea",
|
|
138
138
|
placeholder: "请输入视角描述",
|
|
139
139
|
maxlength: "200",
|
|
140
140
|
rows: "4"
|
|
141
141
|
}, null, 512), [
|
|
142
|
-
[N,
|
|
142
|
+
[N, c.value]
|
|
143
143
|
])
|
|
144
144
|
])
|
|
145
145
|
]),
|
|
146
|
-
t("div",
|
|
146
|
+
t("div", re, [
|
|
147
147
|
t("button", {
|
|
148
148
|
class: "btn btn-secondary",
|
|
149
149
|
onClick: e[4] || (e[4] = (s) => n.value = !1)
|
|
@@ -158,7 +158,7 @@ const K = { class: "cameraView_tool_btn" }, Q = ["src"], Z = {
|
|
|
158
158
|
], 2);
|
|
159
159
|
};
|
|
160
160
|
}
|
|
161
|
-
}), ue = /* @__PURE__ */ A(
|
|
161
|
+
}), ue = /* @__PURE__ */ A(ce, [["__scopeId", "data-v-54a90b4e"]]);
|
|
162
162
|
export {
|
|
163
163
|
ue as default
|
|
164
164
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as o, openBlock as n, createElementBlock as c, createElementVNode as e, unref as s, toDisplayString as a, withModifiers as Z, Fragment as G, renderList as q, createCommentVNode as A, createVNode as V, withCtx as ce, toRefs as Be, onMounted as me, watch as re, normalizeStyle as ee, createTextVNode as de, createBlock as oe, computed as ge, withDirectives as we, vShow as Ie, onBeforeUnmount as be, normalizeClass as ue } from "vue";
|
|
2
|
-
import { P, M as ie, a5 as ke, F as ae, K as pe, a6 as xe, a7 as Te, a8 as De, a9 as Se, aa as fe, ab as ve, ac as _e, H as j, J as Ce, ad as ye, a4 as Me, ae as ze, af as Ee, ag as Oe, Z as Re, $ as Ne, I as K, G as $e, ah as Le, ai as Fe, aj as Ue, ak as Ae } from "./index-
|
|
2
|
+
import { P, M as ie, a5 as ke, F as ae, K as pe, a6 as xe, a7 as Te, a8 as De, a9 as Se, aa as fe, ab as ve, ac as _e, H as j, J as Ce, ad as ye, a4 as Me, ae as ze, af as Ee, ag as Oe, Z as Re, $ as Ne, I as K, G as $e, ah as Le, ai as Fe, aj as Ue, ak as Ae } from "./index-BDeMc4ft.mjs";
|
|
3
3
|
import { T as He } from "./timer-DoTiGoWP.mjs";
|
|
4
4
|
const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src"], Ze = { class: "text" }, Ge = /* @__PURE__ */ ne({
|
|
5
5
|
__name: "prompt",
|
|
@@ -15,7 +15,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
15
15
|
])
|
|
16
16
|
]));
|
|
17
17
|
}
|
|
18
|
-
}), Ke = /* @__PURE__ */ ie(Ge, [["__scopeId", "data-v-
|
|
18
|
+
}), Ke = /* @__PURE__ */ ie(Ge, [["__scopeId", "data-v-c9f53f5c"]]), Ve = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "mobile-cmt-filter-container"
|
|
21
21
|
}, Xe = {
|
|
@@ -379,7 +379,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
379
379
|
])) : A("", !0);
|
|
380
380
|
};
|
|
381
381
|
}
|
|
382
|
-
}), ds = /* @__PURE__ */ ie(us, [["__scopeId", "data-v-
|
|
382
|
+
}), ds = /* @__PURE__ */ ie(us, [["__scopeId", "data-v-b3047543"]]), ms = { class: "mobile_CMT_search" }, vs = { class: "search_icon" }, _s = ["src"], ps = { class: "mobile_CMT_table_list" }, hs = { class: "table_list_title" }, gs = { class: "sort_buttons" }, fs = ["src"], bs = ["src"], ks = ["src"], Cs = { class: "sort_total" }, $s = ["src"], ys = ["src"], ws = {
|
|
383
383
|
key: 0,
|
|
384
384
|
class: "table_list_content"
|
|
385
385
|
}, Is = { class: "table_list" }, xs = ["onClick"], Ts = { class: "CMT_img" }, Ds = { class: "CMT_info" }, Ss = { class: "CMT_info1" }, Ls = { class: "title" }, Ps = { class: "CMT_info2" }, Bs = { class: "username" }, Ms = {
|
|
@@ -616,7 +616,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
616
616
|
], 4);
|
|
617
617
|
};
|
|
618
618
|
}
|
|
619
|
-
}), Es = /* @__PURE__ */ ie(zs, [["__scopeId", "data-v-
|
|
619
|
+
}), Es = /* @__PURE__ */ ie(zs, [["__scopeId", "data-v-00de9faf"]]), Os = ["src"], Rs = /* @__PURE__ */ ne({
|
|
620
620
|
__name: "zoomIn",
|
|
621
621
|
props: {
|
|
622
622
|
imgContent: {}
|
|
@@ -642,7 +642,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
642
642
|
])
|
|
643
643
|
]));
|
|
644
644
|
}
|
|
645
|
-
}), Pe = /* @__PURE__ */ ie(Rs, [["__scopeId", "data-v-
|
|
645
|
+
}), Pe = /* @__PURE__ */ ie(Rs, [["__scopeId", "data-v-a7fc494b"]]), Ns = { class: "content_scrollbar" }, Fs = { class: "cmt_detail_content" }, Us = { class: "cmt_id_time" }, As = { class: "snpshot_wrapper" }, Hs = { class: "snapshot_container" }, Ws = ["src"], Ys = ["src"], Js = ["src"], Zs = { class: "cmt_content" }, Gs = { class: "content" }, Ks = { class: "select_item" }, Vs = { class: "item_title" }, Xs = { class: "select_wrapper" }, js = { class: "select_item" }, qs = { class: "item_title" }, Qs = { class: "select_item" }, eo = { class: "item_title" }, to = { class: "select_wrapper" }, so = { class: "select_item" }, oo = { class: "item_title" }, lo = {
|
|
646
646
|
key: 0,
|
|
647
647
|
class: "tag_list"
|
|
648
648
|
}, no = { class: "tag_span" }, io = {
|
|
@@ -789,7 +789,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
789
789
|
], 64);
|
|
790
790
|
};
|
|
791
791
|
}
|
|
792
|
-
}), _o = /* @__PURE__ */ ie(vo, [["__scopeId", "data-v-
|
|
792
|
+
}), _o = /* @__PURE__ */ ie(vo, [["__scopeId", "data-v-12f2d235"]]), po = { class: "image" }, ho = { class: "fill" }, go = { class: "screenshot" }, fo = ["src"], bo = ["src"], ko = ["src"], Co = { class: "content" }, $o = { class: "select_item" }, yo = { class: "select_wrapper" }, wo = { class: "select_item" }, Io = { class: "select_wrapper" }, xo = { class: "select_item" }, To = { class: "select_wrapper" }, Do = { class: "select_item" }, So = { class: "select_wrapper" }, Lo = { class: "select_item" }, Po = { class: "select_wrapper" }, Bo = { class: "select_item" }, Mo = { class: "select_wrapper" }, zo = { class: "bottom" }, Eo = /* @__PURE__ */ ne({
|
|
793
793
|
__name: "add",
|
|
794
794
|
props: {
|
|
795
795
|
imageData: {},
|
|
@@ -969,7 +969,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
969
969
|
], 64);
|
|
970
970
|
};
|
|
971
971
|
}
|
|
972
|
-
}), Oo = /* @__PURE__ */ ie(Eo, [["__scopeId", "data-v-
|
|
972
|
+
}), Oo = /* @__PURE__ */ ie(Eo, [["__scopeId", "data-v-8b9d476b"]]), Ro = { class: "mobile_comments_toolbar" }, No = { class: "enter" }, Fo = { class: "comment_toolbar" }, Uo = { class: "comment-list" }, Ao = ["onClick"], Ho = { class: "comment-icon" }, Wo = ["src"], Yo = { class: "comment-name" }, Jo = { class: "comment-icon" }, Zo = ["src"], Go = {
|
|
973
973
|
class: "comment-name",
|
|
974
974
|
style: { color: "#df1c1c" }
|
|
975
975
|
}, Ko = { class: "buttons" }, Vo = {
|
|
@@ -1150,7 +1150,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
1150
1150
|
], 64);
|
|
1151
1151
|
};
|
|
1152
1152
|
}
|
|
1153
|
-
}), ol = /* @__PURE__ */ ie(sl, [["__scopeId", "data-v-
|
|
1153
|
+
}), ol = /* @__PURE__ */ ie(sl, [["__scopeId", "data-v-d2391911"]]), ll = {
|
|
1154
1154
|
id: "comments_toolbar",
|
|
1155
1155
|
class: "comments_toolbar"
|
|
1156
1156
|
}, nl = { class: "comments_toolbar_wrapper" }, il = { class: "comments_toolbar_content" }, al = { class: "comments_toolbar_group" }, cl = ["onClick"], rl = ["src"], ul = {
|
|
@@ -1339,7 +1339,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
1339
1339
|
])
|
|
1340
1340
|
]));
|
|
1341
1341
|
}
|
|
1342
|
-
}), $l = /* @__PURE__ */ ie(Cl, [["__scopeId", "data-v-
|
|
1342
|
+
}), $l = /* @__PURE__ */ ie(Cl, [["__scopeId", "data-v-8518aacc"]]), yl = { key: 2 }, wl = { class: "top" }, Il = { class: "top_bar" }, xl = ["src"], Tl = {
|
|
1343
1343
|
key: 0,
|
|
1344
1344
|
class: "title_2"
|
|
1345
1345
|
}, Dl = { class: "more" }, Sl = ["src"], Ll = {
|
|
@@ -1522,7 +1522,7 @@ const We = { class: "prompt_wrapper" }, Ye = { class: "prompt_box" }, Je = ["src
|
|
|
1522
1522
|
], 32);
|
|
1523
1523
|
};
|
|
1524
1524
|
}
|
|
1525
|
-
}), El = /* @__PURE__ */ ie(Pl, [["__scopeId", "data-v-
|
|
1525
|
+
}), El = /* @__PURE__ */ ie(Pl, [["__scopeId", "data-v-905be4d3"]]);
|
|
1526
1526
|
export {
|
|
1527
1527
|
El as default
|
|
1528
1528
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, onMounted as E, ref as k, onBeforeUnmount as B, openBlock as s, createElementBlock as l, createElementVNode as r, Fragment as C, renderList as H, unref as c, normalizeClass as w, toDisplayString as I } from "vue";
|
|
2
|
-
import { F as S, G as T, I as m, X as A, P as O, H as x, M as j } from "./index-
|
|
2
|
+
import { F as S, G as T, I as m, X as A, P as O, H as x, M as j } from "./index-BDeMc4ft.mjs";
|
|
3
3
|
const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["onClick"], F = ["src"], N = /* @__PURE__ */ y({
|
|
4
4
|
__name: "HiddenTool",
|
|
5
5
|
props: ["componentId"],
|
|
@@ -21,12 +21,12 @@ const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["on
|
|
|
21
21
|
m.off("BimViewer", d);
|
|
22
22
|
});
|
|
23
23
|
const a = (e) => {
|
|
24
|
-
i.value != -1 && (i.value == 1 ? v(e) : i.value == 2 ?
|
|
24
|
+
i.value != -1 && (i.value == 1 ? v(e) : i.value == 2 ? h(e) : i.value == 3 && f(e));
|
|
25
25
|
}, v = (e) => {
|
|
26
26
|
window.bimViewer.setEntityVisible(e);
|
|
27
|
-
}, f = (e) => {
|
|
28
|
-
window.bimViewer.setEntityHighlighted(e);
|
|
29
27
|
}, h = (e) => {
|
|
28
|
+
window.bimViewer.setEntityHighlighted(e);
|
|
29
|
+
}, f = (e) => {
|
|
30
30
|
window.bimViewer.setEntitySelected(e);
|
|
31
31
|
}, p = () => {
|
|
32
32
|
window.bimViewer.setAllObjectsVisible(!0), window.bimViewer.setAllObjectsHighlighted(!1), window.bimViewer.setAllObjectsSelected(!1);
|
|
@@ -50,7 +50,7 @@ const D = { class: "hidden_wrapper" }, L = { class: "hidden_content" }, M = ["on
|
|
|
50
50
|
])
|
|
51
51
|
]));
|
|
52
52
|
}
|
|
53
|
-
}), z = /* @__PURE__ */ j(N, [["__scopeId", "data-v-
|
|
53
|
+
}), z = /* @__PURE__ */ j(N, [["__scopeId", "data-v-8b4085d8"]]);
|
|
54
54
|
export {
|
|
55
55
|
z as default
|
|
56
56
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as e, aL as t, aM as o, aN as i, a0 as l, aO as n, aP as I, aQ as r, aR as f, aS as g, aT as u, aU as C, aV as S, O as y } from "./index-
|
|
1
|
+
import { U as e, aL as t, aM as o, aN as i, a0 as l, aO as n, aP as I, aQ as r, aR as f, aS as g, aT as u, aU as C, aV as S, O as y } from "./index-BDeMc4ft.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as BIMX_CONFIGS,
|
|
4
4
|
t as IndustryViewer,
|