@xtctwins/tctwins-industry-engine 0.0.12 → 0.1.0
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 -3
- package/dist/01.xtc +0 -0
- package/dist/02.xtc +0 -0
- package/dist/03.xtc +0 -0
- package/dist/AnnotationTool-DfcSXn-d.mjs +166 -0
- package/dist/CameraViewTool-C91GKumm.mjs +164 -0
- package/dist/CommentTool-CR1yMDYP.mjs +1528 -0
- package/dist/HiddenTool-iCXaAMtS.mjs +56 -0
- package/dist/Industry_Viewer_Lib.es.js +10 -5
- package/dist/Industry_Viewer_Lib.umd.js +264 -237
- package/dist/InspectorTool-MyLTC7qp.mjs +679 -0
- package/dist/MeasureTool-BpomWCXl.mjs +593 -0
- package/dist/MouseTool-COWvA8Jk.mjs +84 -0
- package/dist/NavigateTool-DeMrrYoS.mjs +51 -0
- package/dist/OperateTool-DSZCJVkD.mjs +185 -0
- package/dist/RoamTool-0E0ls2Cx.mjs +287 -0
- package/dist/ScreenShotTool-viitj9zy.mjs +429 -0
- package/dist/SectionTool-Bz1c26fa.mjs +241 -0
- package/dist/SettingTool-BlsqUNQM.mjs +1745 -0
- package/dist/StructureTree-Dke0hMRC.mjs +1685 -0
- package/dist/alert-CgfjcpRo.mjs +52 -0
- package/dist/index-COQ8NdId.mjs +138714 -0
- package/dist/index.html +17 -0
- package/dist/{panel.vue_vue_type_style_index_0_lang-CCuIP-Pp.mjs → panel.vue_vue_type_style_index_0_lang-B-dNXuRK.mjs} +3 -3
- package/dist/style.css +3 -1
- package/dist/{tallPanel-CqKqC6yK.mjs → tallPanel-B-5hSZt6.mjs} +24 -24
- package/dist/timer-DoTiGoWP.mjs +30 -0
- package/package.json +85 -66
- package/types/App.vue.d.ts +3 -1
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +1 -1
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +1 -1
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +2 -2
- package/types/components/BCFComponents/commentInput.vue.d.ts +1 -1
- package/types/components/BCFComponents/commentsView.vue.d.ts +6 -6
- package/types/components/BCFComponents/imageView.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/CameraViewTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/CommentTool.vue.d.ts +34 -1
- package/types/components/BimViewerComponents/MobileCommentsTool/add.vue.d.ts +14 -0
- package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +11 -0
- package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +17 -0
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +275 -0
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +297 -0
- package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +9 -0
- package/types/components/BimViewerComponents/OperateTool.vue.d.ts +12 -0
- package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +14 -0
- package/types/components/BimViewerComponents/SectionModeBar.vue.d.ts +2 -0
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +8035 -419
- package/types/components/{industryViewer.vue.d.ts → BimxViewerComp.vue.d.ts} +7 -0
- package/types/components/IndustryViewerComp.vue.d.ts +25 -0
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +1 -1
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +1 -1
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +100 -308
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +100 -308
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +2 -0
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +4 -4
- package/types/components/utilsComponents/alert.vue.d.ts +9 -0
- package/types/components/utilsComponents/prompt.vue.d.ts +8 -0
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -1
- package/types/i18n/index.d.ts +1767 -0
- package/types/i18n/locales/en-US.d.ts +439 -0
- package/types/i18n/locales/zh-CN.d.ts +439 -0
- package/types/i18n/types.d.ts +144 -0
- package/types/index.d.ts +8 -5
- package/types/pages/{viewerEntry.vue.d.ts → BimxViewerEntry.vue.d.ts} +20 -8
- package/types/pages/IndustryViewerEntry.vue.d.ts +71 -0
- package/types/services/request/api.d.ts +3 -0
- package/types/services/request/index.d.ts +14 -0
- package/types/services/request/types.d.ts +12 -0
- package/types/store/bcfReflect.d.ts +8 -7
- package/types/store/const.d.ts +32 -3
- package/types/store/initConfigs.d.ts +3 -3
- package/types/store/localeStore.d.ts +12 -0
- package/types/store/propertyReflect.d.ts +1 -1
- package/types/store/toolbars.d.ts +596 -75
- package/types/store/userInfoStore.d.ts +32 -0
- package/types/tests/bcf.d.ts +8 -0
- package/types/utils/OSSHelper.d.ts +3 -0
- package/types/utils/eventBus.d.ts +23 -5
- package/types/utils/roles.d.ts +1 -1
- package/types/utils/splitType.d.ts +1 -0
- package/types/viewerManager/initial/viewerInitial.d.ts +14 -1
- package/types/viewerManager/load/loadModel.d.ts +137 -1
- package/types/viewerManager/sectionManager.d.ts +524 -0
- package/types/viewerManager/viewerManager.d.ts +19 -1
- package/dist/AnnotationTool-f7CrC7Dr.mjs +0 -131
- package/dist/BCFTool-CdN6SGDL.mjs +0 -25118
- package/dist/CommentTool-Cfht7mQS.mjs +0 -168
- package/dist/InspectorTool-M_oBYVQA.mjs +0 -674
- package/dist/MeasureTool-CxWeQFgY.mjs +0 -167
- package/dist/MouseTool-BHbi-fg3.mjs +0 -84
- package/dist/NavigateTool-BdUVi4Be.mjs +0 -52
- package/dist/RoamTool-Uuxa-94w.mjs +0 -212
- package/dist/ScreenShotTool-CZUm8l2Z.mjs +0 -445
- package/dist/SectionTool-DZToybAI.mjs +0 -217
- package/dist/SettingTool-CYM0qsUs.mjs +0 -770
- package/dist/StructureTree-DeXxENMk.mjs +0 -1824
- package/dist/XRayTool-Bug-FcKJ.mjs +0 -57
- package/dist/alert-DGyQ9rEq.mjs +0 -46
- package/dist/const-DeViLYl5.mjs +0 -266
- package/dist/el-checkbox-ClYe-8uK.mjs +0 -544
- package/dist/el-input-number-Df5HOHuh.mjs +0 -1028
- package/dist/index-BNrMlQLr.mjs +0 -101871
- /package/types/components/BimViewerComponents/{mobileToolbar.vue.d.ts → AppToolbar.vue.d.ts} +0 -0
- /package/types/components/BimViewerComponents/{XRayTool.vue.d.ts → HiddenTool.vue.d.ts} +0 -0
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
industryViewer: {
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
delete: string;
|
|
7
|
+
add: string;
|
|
8
|
+
edit: string;
|
|
9
|
+
save: string;
|
|
10
|
+
submit: string;
|
|
11
|
+
close: string;
|
|
12
|
+
back: string;
|
|
13
|
+
next: string;
|
|
14
|
+
previous: string;
|
|
15
|
+
search: string;
|
|
16
|
+
reset: string;
|
|
17
|
+
export: string;
|
|
18
|
+
import: string;
|
|
19
|
+
upload: string;
|
|
20
|
+
download: string;
|
|
21
|
+
refresh: string;
|
|
22
|
+
placeholder_input: string;
|
|
23
|
+
placeholder_select: string;
|
|
24
|
+
all: string;
|
|
25
|
+
placeholder_date: string;
|
|
26
|
+
placeholder_search: string;
|
|
27
|
+
image: string;
|
|
28
|
+
placeholder_comment: string;
|
|
29
|
+
title: string;
|
|
30
|
+
view: string;
|
|
31
|
+
created: string;
|
|
32
|
+
done: string;
|
|
33
|
+
lang_zh: string;
|
|
34
|
+
lang_en: string;
|
|
35
|
+
organization: string;
|
|
36
|
+
date: string;
|
|
37
|
+
unknown: string;
|
|
38
|
+
loading: string;
|
|
39
|
+
noData: string;
|
|
40
|
+
emptyPage: string;
|
|
41
|
+
areYouSureDelete: string;
|
|
42
|
+
questionMark: string;
|
|
43
|
+
success: string;
|
|
44
|
+
error: string;
|
|
45
|
+
warning: string;
|
|
46
|
+
info: string;
|
|
47
|
+
confirmEdit: string;
|
|
48
|
+
};
|
|
49
|
+
toolbar: {
|
|
50
|
+
tree: string;
|
|
51
|
+
reset: string;
|
|
52
|
+
roam: string;
|
|
53
|
+
cameraView: string;
|
|
54
|
+
measure: string;
|
|
55
|
+
section: string;
|
|
56
|
+
comment: string;
|
|
57
|
+
anno: string;
|
|
58
|
+
screenshot: string;
|
|
59
|
+
inspector: string;
|
|
60
|
+
setting: string;
|
|
61
|
+
fullscreen: string;
|
|
62
|
+
exitFullscreen: string;
|
|
63
|
+
virtualMouse: string;
|
|
64
|
+
enjoy: string;
|
|
65
|
+
share: string;
|
|
66
|
+
cooperate: string;
|
|
67
|
+
bcf: string;
|
|
68
|
+
navigate: string;
|
|
69
|
+
mouse: string;
|
|
70
|
+
hidden: string;
|
|
71
|
+
operate: string;
|
|
72
|
+
};
|
|
73
|
+
hidden: {
|
|
74
|
+
hide: string;
|
|
75
|
+
perspective: string;
|
|
76
|
+
select: string;
|
|
77
|
+
recover: string;
|
|
78
|
+
};
|
|
79
|
+
bcf: {
|
|
80
|
+
title: string;
|
|
81
|
+
addNew: string;
|
|
82
|
+
detail: string;
|
|
83
|
+
list: string;
|
|
84
|
+
filter: string;
|
|
85
|
+
type: string;
|
|
86
|
+
priority: string;
|
|
87
|
+
status: string;
|
|
88
|
+
stage: string;
|
|
89
|
+
assignedTo: string;
|
|
90
|
+
dueDate: string;
|
|
91
|
+
description: string;
|
|
92
|
+
comment: string;
|
|
93
|
+
noComments: string;
|
|
94
|
+
thisComment: string;
|
|
95
|
+
viewpoint: string;
|
|
96
|
+
addViewpoint: string;
|
|
97
|
+
addObject: string;
|
|
98
|
+
addMarker: string;
|
|
99
|
+
viewElements: string;
|
|
100
|
+
labels: string;
|
|
101
|
+
author: string;
|
|
102
|
+
createDate: string;
|
|
103
|
+
modifiedDate: string;
|
|
104
|
+
createNow: string;
|
|
105
|
+
error_title_required: string;
|
|
106
|
+
elements: string;
|
|
107
|
+
creator: string;
|
|
108
|
+
commentNow: string;
|
|
109
|
+
addComment: string;
|
|
110
|
+
editComment: string;
|
|
111
|
+
snapshot: string;
|
|
112
|
+
screenshot: string;
|
|
113
|
+
index: string;
|
|
114
|
+
time: string;
|
|
115
|
+
createTime: string;
|
|
116
|
+
emptyHint: string;
|
|
117
|
+
addedObjects: string;
|
|
118
|
+
addedAnnotations: string;
|
|
119
|
+
hintClickToAddObject: string;
|
|
120
|
+
hintHoldLeftClickMultiSelect: string;
|
|
121
|
+
types: {
|
|
122
|
+
basic: string;
|
|
123
|
+
conflict: string;
|
|
124
|
+
error: string;
|
|
125
|
+
};
|
|
126
|
+
priorities: {
|
|
127
|
+
high: string;
|
|
128
|
+
middle: string;
|
|
129
|
+
low: string;
|
|
130
|
+
};
|
|
131
|
+
statuses: {
|
|
132
|
+
closed: string;
|
|
133
|
+
inProgress: string;
|
|
134
|
+
resolved: string;
|
|
135
|
+
};
|
|
136
|
+
stages: {
|
|
137
|
+
planningEnd: string;
|
|
138
|
+
constructionStart: string;
|
|
139
|
+
constructionEnd: string;
|
|
140
|
+
};
|
|
141
|
+
tags: {
|
|
142
|
+
architecture: string;
|
|
143
|
+
hvac: string;
|
|
144
|
+
mep: string;
|
|
145
|
+
structure: string;
|
|
146
|
+
};
|
|
147
|
+
messages: {
|
|
148
|
+
pleaseInputTitle: string;
|
|
149
|
+
deleteConfirm: string;
|
|
150
|
+
deleteCommentConfirm: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
mobileComments: {
|
|
154
|
+
empty: string;
|
|
155
|
+
filter: {
|
|
156
|
+
title: string;
|
|
157
|
+
priority: string;
|
|
158
|
+
status: string;
|
|
159
|
+
author: string;
|
|
160
|
+
tag: string;
|
|
161
|
+
};
|
|
162
|
+
createText: string;
|
|
163
|
+
pleaseInputContent: string;
|
|
164
|
+
backToModel: string;
|
|
165
|
+
deleteComment: string;
|
|
166
|
+
newComment: string;
|
|
167
|
+
list: string;
|
|
168
|
+
createSuccess: string;
|
|
169
|
+
notice: {
|
|
170
|
+
title: string;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
mobileBcf: {
|
|
174
|
+
selectPanel: {
|
|
175
|
+
titleSuffix: string;
|
|
176
|
+
};
|
|
177
|
+
add: {
|
|
178
|
+
continueScreenshot: string;
|
|
179
|
+
createNow: string;
|
|
180
|
+
confirmEdit: string;
|
|
181
|
+
};
|
|
182
|
+
filter: {
|
|
183
|
+
tag: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
setting: {
|
|
187
|
+
title: string;
|
|
188
|
+
effect: string;
|
|
189
|
+
bgColor: string;
|
|
190
|
+
showEdges: string;
|
|
191
|
+
lightIntensity: string;
|
|
192
|
+
appearance: string;
|
|
193
|
+
skybox: string;
|
|
194
|
+
perspective: string;
|
|
195
|
+
ortho: string;
|
|
196
|
+
mode2d3d: string;
|
|
197
|
+
modelInvert: string;
|
|
198
|
+
zAxisUp: string;
|
|
199
|
+
modelSpace: string;
|
|
200
|
+
spaceEffect: string;
|
|
201
|
+
language: string;
|
|
202
|
+
modelViewSwitch: string;
|
|
203
|
+
zoomSpeed: string;
|
|
204
|
+
colors: {
|
|
205
|
+
white: string;
|
|
206
|
+
lightGray: string;
|
|
207
|
+
gray: string;
|
|
208
|
+
darkGray: string;
|
|
209
|
+
black: string;
|
|
210
|
+
};
|
|
211
|
+
spaceEffects: {
|
|
212
|
+
transparent: string;
|
|
213
|
+
wireframe: string;
|
|
214
|
+
hide: string;
|
|
215
|
+
bright: string;
|
|
216
|
+
dark: string;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
bgColor: {
|
|
220
|
+
gradientBlue: string;
|
|
221
|
+
gray: string;
|
|
222
|
+
dimSky: string;
|
|
223
|
+
white: string;
|
|
224
|
+
milkBlue: string;
|
|
225
|
+
};
|
|
226
|
+
roles: {
|
|
227
|
+
guest: string;
|
|
228
|
+
user: string;
|
|
229
|
+
admin: string;
|
|
230
|
+
creator: string;
|
|
231
|
+
};
|
|
232
|
+
measure: {
|
|
233
|
+
title: string;
|
|
234
|
+
settings: string;
|
|
235
|
+
distance: string;
|
|
236
|
+
area: string;
|
|
237
|
+
angle: string;
|
|
238
|
+
angleLabel: string;
|
|
239
|
+
totalLength: string;
|
|
240
|
+
x: string;
|
|
241
|
+
y: string;
|
|
242
|
+
z: string;
|
|
243
|
+
pointDistance: string;
|
|
244
|
+
pointAngle: string;
|
|
245
|
+
edgeLength: string;
|
|
246
|
+
edgeDistance: string;
|
|
247
|
+
edgeAngle: string;
|
|
248
|
+
faceArea: string;
|
|
249
|
+
circleRadius: string;
|
|
250
|
+
elevation: string;
|
|
251
|
+
distanceLabel: string;
|
|
252
|
+
lengthLabel: string;
|
|
253
|
+
areaLabel: string;
|
|
254
|
+
radiusLabel: string;
|
|
255
|
+
elevationLabel: string;
|
|
256
|
+
typeLabel: string;
|
|
257
|
+
hint_pointDistance: string;
|
|
258
|
+
hint_pointAngle: string;
|
|
259
|
+
hint_edgeLength: string;
|
|
260
|
+
hint_edgeDistance: string;
|
|
261
|
+
hint_edgeAngle: string;
|
|
262
|
+
hint_circleRadius: string;
|
|
263
|
+
hint_elevation: string;
|
|
264
|
+
setDatum: string;
|
|
265
|
+
hint_setDatumPick: string;
|
|
266
|
+
setDatumHint: string;
|
|
267
|
+
setDatumDone: string;
|
|
268
|
+
scaleLabel: string;
|
|
269
|
+
unitLabel: string;
|
|
270
|
+
unitPlaceholder: string;
|
|
271
|
+
precisionLabel: string;
|
|
272
|
+
precisionPlaceholder: string;
|
|
273
|
+
clear: string;
|
|
274
|
+
clearAll: string;
|
|
275
|
+
};
|
|
276
|
+
structure: {
|
|
277
|
+
title: string;
|
|
278
|
+
search: string;
|
|
279
|
+
expand: string;
|
|
280
|
+
collapse: string;
|
|
281
|
+
showAll: string;
|
|
282
|
+
hideAll: string;
|
|
283
|
+
objects: string;
|
|
284
|
+
categories: string;
|
|
285
|
+
floors: string;
|
|
286
|
+
files: string;
|
|
287
|
+
all: string;
|
|
288
|
+
};
|
|
289
|
+
inspector: {
|
|
290
|
+
title: string;
|
|
291
|
+
basic: string;
|
|
292
|
+
properties: string;
|
|
293
|
+
materials: string;
|
|
294
|
+
noSelection: string;
|
|
295
|
+
name: string;
|
|
296
|
+
type: string;
|
|
297
|
+
objectCount: string;
|
|
298
|
+
pSetsCount: string;
|
|
299
|
+
author: string;
|
|
300
|
+
instanceProperties: string;
|
|
301
|
+
typeProperties: string;
|
|
302
|
+
};
|
|
303
|
+
roam: {
|
|
304
|
+
title: string;
|
|
305
|
+
courseTitle: string;
|
|
306
|
+
dontRemind: string;
|
|
307
|
+
gotIt: string;
|
|
308
|
+
speedLabel: string;
|
|
309
|
+
firstPerson: string;
|
|
310
|
+
thirdPerson: string;
|
|
311
|
+
speed: string;
|
|
312
|
+
height: string;
|
|
313
|
+
dontShowCourseMessage: string;
|
|
314
|
+
};
|
|
315
|
+
screenshot: {
|
|
316
|
+
title: string;
|
|
317
|
+
capture: string;
|
|
318
|
+
save: string;
|
|
319
|
+
widthPlaceholder: string;
|
|
320
|
+
heightPlaceholder: string;
|
|
321
|
+
custom: string;
|
|
322
|
+
};
|
|
323
|
+
annotation: {
|
|
324
|
+
title: string;
|
|
325
|
+
text: string;
|
|
326
|
+
line: string;
|
|
327
|
+
arrow: string;
|
|
328
|
+
clear: string;
|
|
329
|
+
image: string;
|
|
330
|
+
record: string;
|
|
331
|
+
video: string;
|
|
332
|
+
file: string;
|
|
333
|
+
};
|
|
334
|
+
section: {
|
|
335
|
+
allSections: string;
|
|
336
|
+
sectionPrefix: string;
|
|
337
|
+
xAxis: string;
|
|
338
|
+
yAxis: string;
|
|
339
|
+
zAxis: string;
|
|
340
|
+
planeMode: string;
|
|
341
|
+
boxMode: string;
|
|
342
|
+
boxShow: string;
|
|
343
|
+
boxHide: string;
|
|
344
|
+
bulk: {
|
|
345
|
+
deleteAll: string;
|
|
346
|
+
flipAll: string;
|
|
347
|
+
showAll: string;
|
|
348
|
+
hideAll: string;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
validity: {
|
|
352
|
+
"1day": string;
|
|
353
|
+
"7day": string;
|
|
354
|
+
"14day": string;
|
|
355
|
+
permanent: string;
|
|
356
|
+
};
|
|
357
|
+
roleList: {
|
|
358
|
+
viewOnly: string;
|
|
359
|
+
viewDownload: string;
|
|
360
|
+
};
|
|
361
|
+
navigate: {
|
|
362
|
+
top: string;
|
|
363
|
+
bottom: string;
|
|
364
|
+
left: string;
|
|
365
|
+
right: string;
|
|
366
|
+
front: string;
|
|
367
|
+
back: string;
|
|
368
|
+
leftBottom: string;
|
|
369
|
+
rightBottom: string;
|
|
370
|
+
rightTop: string;
|
|
371
|
+
leftTop: string;
|
|
372
|
+
};
|
|
373
|
+
enjoy: {
|
|
374
|
+
annotation: string;
|
|
375
|
+
};
|
|
376
|
+
allocationRole: {
|
|
377
|
+
viewOnly: string;
|
|
378
|
+
editable: string;
|
|
379
|
+
};
|
|
380
|
+
project: {
|
|
381
|
+
recentlyUsed: string;
|
|
382
|
+
myProjects: string;
|
|
383
|
+
};
|
|
384
|
+
directory: {
|
|
385
|
+
rename: string;
|
|
386
|
+
exit: string;
|
|
387
|
+
};
|
|
388
|
+
fontSize: {
|
|
389
|
+
large: string;
|
|
390
|
+
medium: string;
|
|
391
|
+
small: string;
|
|
392
|
+
};
|
|
393
|
+
commentTool: {
|
|
394
|
+
pencil: string;
|
|
395
|
+
arrow: string;
|
|
396
|
+
rectangle: string;
|
|
397
|
+
circle: string;
|
|
398
|
+
text: string;
|
|
399
|
+
};
|
|
400
|
+
alert: {
|
|
401
|
+
selectPoint: string;
|
|
402
|
+
selectSectionPlane: string;
|
|
403
|
+
};
|
|
404
|
+
clickEvent: {
|
|
405
|
+
focus: string;
|
|
406
|
+
hide: string;
|
|
407
|
+
onlyShow: string;
|
|
408
|
+
cancel: string;
|
|
409
|
+
edge: string;
|
|
410
|
+
fill: string;
|
|
411
|
+
transparent: string;
|
|
412
|
+
solid: string;
|
|
413
|
+
multiSelect: string;
|
|
414
|
+
};
|
|
415
|
+
operate: {
|
|
416
|
+
focus: string;
|
|
417
|
+
hide: string;
|
|
418
|
+
onlyShow: string;
|
|
419
|
+
edge: string;
|
|
420
|
+
fill: string;
|
|
421
|
+
transparent: string;
|
|
422
|
+
solid: string;
|
|
423
|
+
multiSelect: string;
|
|
424
|
+
recover: string;
|
|
425
|
+
hintDefault: string;
|
|
426
|
+
hintSelected: string;
|
|
427
|
+
hintMultiSelected: string;
|
|
428
|
+
hintFocus: string;
|
|
429
|
+
hintHide: string;
|
|
430
|
+
hintOnlyShow: string;
|
|
431
|
+
hintEdge: string;
|
|
432
|
+
hintFill: string;
|
|
433
|
+
hintTransparent: string;
|
|
434
|
+
hintSolid: string;
|
|
435
|
+
hintMultiSelect: string;
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
export default _default;
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
export type Locale = "zh-CN" | "en-US";
|
|
2
|
+
export interface LocaleMessages {
|
|
3
|
+
common: {
|
|
4
|
+
confirm: string;
|
|
5
|
+
cancel: string;
|
|
6
|
+
delete: string;
|
|
7
|
+
add: string;
|
|
8
|
+
edit: string;
|
|
9
|
+
save: string;
|
|
10
|
+
submit: string;
|
|
11
|
+
close: string;
|
|
12
|
+
back: string;
|
|
13
|
+
next: string;
|
|
14
|
+
previous: string;
|
|
15
|
+
search: string;
|
|
16
|
+
reset: string;
|
|
17
|
+
export: string;
|
|
18
|
+
import: string;
|
|
19
|
+
upload: string;
|
|
20
|
+
download: string;
|
|
21
|
+
refresh: string;
|
|
22
|
+
placeholder_input: string;
|
|
23
|
+
placeholder_select: string;
|
|
24
|
+
placeholder_date: string;
|
|
25
|
+
placeholder_search: string;
|
|
26
|
+
loading: string;
|
|
27
|
+
noData: string;
|
|
28
|
+
success: string;
|
|
29
|
+
error: string;
|
|
30
|
+
warning: string;
|
|
31
|
+
info: string;
|
|
32
|
+
};
|
|
33
|
+
toolbar: {
|
|
34
|
+
tree: string;
|
|
35
|
+
reset: string;
|
|
36
|
+
roam: string;
|
|
37
|
+
measure: string;
|
|
38
|
+
section: string;
|
|
39
|
+
comment: string;
|
|
40
|
+
anno: string;
|
|
41
|
+
screenshot: string;
|
|
42
|
+
inspector: string;
|
|
43
|
+
setting: string;
|
|
44
|
+
fullscreen: string;
|
|
45
|
+
enjoy: string;
|
|
46
|
+
share: string;
|
|
47
|
+
cooperate: string;
|
|
48
|
+
bcf: string;
|
|
49
|
+
navigate: string;
|
|
50
|
+
mouse: string;
|
|
51
|
+
hidden: string;
|
|
52
|
+
};
|
|
53
|
+
bcf: {
|
|
54
|
+
title: string;
|
|
55
|
+
addNew: string;
|
|
56
|
+
detail: string;
|
|
57
|
+
list: string;
|
|
58
|
+
filter: string;
|
|
59
|
+
type: string;
|
|
60
|
+
priority: string;
|
|
61
|
+
status: string;
|
|
62
|
+
stage: string;
|
|
63
|
+
assignedTo: string;
|
|
64
|
+
dueDate: string;
|
|
65
|
+
description: string;
|
|
66
|
+
comment: string;
|
|
67
|
+
viewpoint: string;
|
|
68
|
+
addViewpoint: string;
|
|
69
|
+
addObject: string;
|
|
70
|
+
addMarker: string;
|
|
71
|
+
labels: string;
|
|
72
|
+
author: string;
|
|
73
|
+
createDate: string;
|
|
74
|
+
modifiedDate: string;
|
|
75
|
+
types: {
|
|
76
|
+
basic: string;
|
|
77
|
+
conflict: string;
|
|
78
|
+
error: string;
|
|
79
|
+
};
|
|
80
|
+
priorities: {
|
|
81
|
+
high: string;
|
|
82
|
+
middle: string;
|
|
83
|
+
low: string;
|
|
84
|
+
};
|
|
85
|
+
statuses: {
|
|
86
|
+
closed: string;
|
|
87
|
+
inProgress: string;
|
|
88
|
+
resolved: string;
|
|
89
|
+
};
|
|
90
|
+
stages: {
|
|
91
|
+
planningEnd: string;
|
|
92
|
+
constructionStart: string;
|
|
93
|
+
constructionEnd: string;
|
|
94
|
+
};
|
|
95
|
+
tags: {
|
|
96
|
+
architecture: string;
|
|
97
|
+
hvac: string;
|
|
98
|
+
mep: string;
|
|
99
|
+
structure: string;
|
|
100
|
+
};
|
|
101
|
+
messages: {
|
|
102
|
+
pleaseInputTitle: string;
|
|
103
|
+
deleteConfirm: string;
|
|
104
|
+
deleteCommentConfirm: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
setting: {
|
|
108
|
+
title: string;
|
|
109
|
+
effect: string;
|
|
110
|
+
bgColor: string;
|
|
111
|
+
showEdges: string;
|
|
112
|
+
lightIntensity: string;
|
|
113
|
+
appearance: string;
|
|
114
|
+
skybox: string;
|
|
115
|
+
perspective: string;
|
|
116
|
+
ortho: string;
|
|
117
|
+
mode2d3d: string;
|
|
118
|
+
modelInvert: string;
|
|
119
|
+
zAxisUp: string;
|
|
120
|
+
modelSpace: string;
|
|
121
|
+
spaceEffect: string;
|
|
122
|
+
language: string;
|
|
123
|
+
modelViewSwitch: string;
|
|
124
|
+
colors: {
|
|
125
|
+
white: string;
|
|
126
|
+
lightGray: string;
|
|
127
|
+
gray: string;
|
|
128
|
+
darkGray: string;
|
|
129
|
+
black: string;
|
|
130
|
+
};
|
|
131
|
+
spaceEffects: {
|
|
132
|
+
transparent: string;
|
|
133
|
+
wireframe: string;
|
|
134
|
+
hide: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
roles: {
|
|
138
|
+
guest: string;
|
|
139
|
+
user: string;
|
|
140
|
+
admin: string;
|
|
141
|
+
creator: string;
|
|
142
|
+
};
|
|
143
|
+
[key: string]: any;
|
|
144
|
+
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { default as IndustryViewer } from './pages/
|
|
2
|
-
import { default as InitialViewer } from './viewerManager/initial/viewerInitial';
|
|
1
|
+
import { default as IndustryViewer } from './pages/IndustryViewerEntry.vue';
|
|
3
2
|
import { EventContent, InstructionContent } from './utils/eventBus';
|
|
4
|
-
import { ConfigsParams, setConfigs,
|
|
3
|
+
import { ConfigsParams, setConfigs, BIMX_CONFIGS } from './store/initConfigs';
|
|
5
4
|
import { default as ViewerManager } from './viewerManager/viewerManager';
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
import { default as InitialViewer } from './viewerManager/initial/viewerInitial';
|
|
6
|
+
import { Locale, messages, defaultI18nConfig, setGlobalI18n } from './i18n';
|
|
7
|
+
import { useLocaleStore, setI18nInstance } from './store/localeStore';
|
|
8
|
+
export { IndustryViewer, InitialViewer, setConfigs, BIMX_CONFIGS, ViewerManager, useLocaleStore, setI18nInstance, messages as bimxMessages, defaultI18nConfig, setGlobalI18n };
|
|
8
9
|
export type { EventContent };
|
|
10
|
+
export type { InstructionContent };
|
|
11
|
+
export type { Locale };
|
|
9
12
|
/**
|
|
10
13
|
* 配置初始化
|
|
11
14
|
* @param {configsParams} configs
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { InstructionContent } from '../utils/eventBus';
|
|
2
|
-
import {
|
|
2
|
+
import { NavCubePos, TallPanelPos, ThemeColor, Offset, ToolPos, EditPrivilege } from '../store/initConfigs';
|
|
3
3
|
import { BcfContent } from '../store/bcfReflect';
|
|
4
|
+
import { UserInfo } from '../store/userInfoStore';
|
|
5
|
+
import { Locale } from '../i18n';
|
|
4
6
|
type __VLS_Props = {
|
|
5
|
-
appType?: AppType;
|
|
6
7
|
instruction?: InstructionContent | undefined;
|
|
7
8
|
fileId?: string;
|
|
8
9
|
fileName?: string;
|
|
@@ -10,6 +11,11 @@ type __VLS_Props = {
|
|
|
10
11
|
modelBuffer?: ArrayBuffer;
|
|
11
12
|
metaBuffer?: ArrayBuffer;
|
|
12
13
|
modelType?: string;
|
|
14
|
+
multiModel?: boolean;
|
|
15
|
+
filePaths?: string[];
|
|
16
|
+
modelIds?: string[];
|
|
17
|
+
loadSequential?: boolean;
|
|
18
|
+
loadInterval?: number;
|
|
13
19
|
themeColor?: ThemeColor;
|
|
14
20
|
topHeight?: number;
|
|
15
21
|
bottomHeight?: number;
|
|
@@ -26,30 +32,36 @@ type __VLS_Props = {
|
|
|
26
32
|
commentOffset?: Offset;
|
|
27
33
|
measureOffset?: Offset;
|
|
28
34
|
hideTool?: boolean;
|
|
29
|
-
isPc?: boolean;
|
|
30
35
|
phone?: boolean;
|
|
31
36
|
loadMeta?: boolean;
|
|
37
|
+
showNavCube?: boolean;
|
|
32
38
|
outliersDetect?: boolean;
|
|
33
39
|
backButton?: boolean;
|
|
34
40
|
backgroundColor?: string;
|
|
35
|
-
reset?: boolean;
|
|
36
|
-
measure?: boolean;
|
|
37
|
-
comment?: boolean;
|
|
38
41
|
tree?: boolean;
|
|
39
|
-
|
|
42
|
+
reset?: boolean;
|
|
40
43
|
roam?: boolean;
|
|
44
|
+
cameraView?: boolean;
|
|
45
|
+
measure?: boolean;
|
|
41
46
|
section?: boolean;
|
|
47
|
+
comment?: boolean;
|
|
42
48
|
anno?: boolean;
|
|
43
49
|
screenshot?: boolean;
|
|
44
50
|
inspector?: boolean;
|
|
45
51
|
setting?: boolean;
|
|
46
52
|
fullscreen?: boolean;
|
|
53
|
+
navigate?: boolean;
|
|
47
54
|
share?: boolean;
|
|
48
55
|
cooperate?: boolean;
|
|
49
|
-
|
|
56
|
+
hidden?: boolean;
|
|
50
57
|
bcf?: boolean;
|
|
51
58
|
mouse?: boolean;
|
|
59
|
+
operate?: boolean;
|
|
60
|
+
enjoy?: boolean;
|
|
52
61
|
bcfContent?: BcfContent;
|
|
62
|
+
userInfo?: UserInfo;
|
|
63
|
+
editPrivilege?: EditPrivilege;
|
|
64
|
+
locale?: Locale;
|
|
53
65
|
};
|
|
54
66
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
55
67
|
emitHandler: (...args: any[]) => void;
|