@xtctwins/tctwins-bimx-engine 0.3.2 → 0.3.4

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 (172) hide show
  1. package/README.md +196 -193
  2. package/dist/AnnotationTool-o5g0AREJ.mjs +167 -0
  3. package/dist/BIMX_Viewer_Lib.es.js +3 -3
  4. package/dist/BIMX_Viewer_Lib.umd.js +166 -266
  5. package/dist/CameraViewTool-DYukyv5Q.mjs +164 -0
  6. package/dist/CommentTool-0voGtLXB.mjs +1529 -0
  7. package/dist/{HiddenTool-rORoKTeD.mjs → HiddenTool-CB8a3I71.mjs} +16 -16
  8. package/dist/{InspectorTool-l4bDxTia.mjs → InspectorTool-D_zuKOsj.mjs} +66 -66
  9. package/dist/{MeasureTool-d-EV6m2R.mjs → MeasureTool-F0pD5KDj.mjs} +107 -131
  10. package/dist/{MouseTool-DKMcdeRD.mjs → MouseTool-DwVd0jsi.mjs} +32 -35
  11. package/dist/{NavigateTool-BNvZ8Oat.mjs → NavigateTool-D9yL9I0-.mjs} +13 -13
  12. package/dist/{RoamTool-DJu93SVl.mjs → RoamTool-C0cFwyiz.mjs} +14 -14
  13. package/dist/ScreenShotTool-BlQ4pLfp.mjs +357 -0
  14. package/dist/SectionTool-BSqICcbP.mjs +331 -0
  15. package/dist/SettingTool-Jvi1wkwu.mjs +657 -0
  16. package/dist/StructureTree-DQ_lU3sB.mjs +1583 -0
  17. package/dist/{Alert-5pEYzrMO.mjs → alert-Bc55oe1i.mjs} +8 -8
  18. package/dist/const-DOnRsYpZ.mjs +389 -0
  19. package/dist/el-input-number-CpL0IdzD.mjs +818 -0
  20. package/dist/index-BSouWIqa.mjs +129592 -0
  21. package/dist/index.html +17 -17
  22. package/dist/{Panel.vue_vue_type_style_index_0_lang-C4tqfy-B.mjs → panel.vue_vue_type_style_index_0_lang-Bt42YE-8.mjs} +2 -2
  23. package/dist/style.css +1 -1
  24. package/dist/{TallPanel-DtXOSzmF.mjs → tallPanel-DURfdD5Z.mjs} +14 -14
  25. package/package.json +4 -7
  26. package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +10 -38
  27. package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +22 -0
  28. package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +9 -37
  29. package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +7 -5
  30. package/types/components/BCFComponents/BCFFilter.vue.d.ts +7 -5
  31. package/types/components/BCFComponents/BCFTool.vue.d.ts +7 -4
  32. package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +7 -5
  33. package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +6 -5
  34. package/types/components/BCFComponents/commentInput.vue.d.ts +10 -36
  35. package/types/components/BCFComponents/commentsView.vue.d.ts +7 -36
  36. package/types/components/BCFComponents/dialogPanel.vue.d.ts +8 -5
  37. package/types/components/BCFComponents/imageView.vue.d.ts +7 -5
  38. package/types/components/BCFComponents/imageZoomIn.vue.d.ts +6 -5
  39. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
  40. package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +1 -18
  41. package/types/components/{tools/NavigateTool.vue.d.ts → BimViewerComponents/CameraViewTool.vue.d.ts} +3 -1
  42. package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
  43. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +1 -32
  44. package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
  45. package/types/components/BimViewerComponents/InspectorTool.vue.d.ts +0 -2
  46. package/types/components/BimViewerComponents/MeasureTool.vue.d.ts +0 -2
  47. package/types/components/BimViewerComponents/MobileCommentsTool/{MobileCommentAdd.vue.d.ts → add.vue.d.ts} +8 -6
  48. package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +5 -4
  49. package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
  50. package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +1 -478
  51. package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +7 -499
  52. package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +6 -5
  53. package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
  54. package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
  55. package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
  56. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
  57. package/types/components/BimViewerComponents/SectionTool.vue.d.ts +0 -4
  58. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +6 -4
  59. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +1 -4026
  60. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
  61. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +8 -0
  62. package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +1 -18
  63. package/types/components/BimxViewerComp.vue.d.ts +20 -7
  64. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +10 -37
  65. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +9 -37
  66. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +7 -499
  67. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +1 -478
  68. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +8 -5
  69. package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +12 -38
  70. package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +9 -7
  71. package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +7 -5
  72. package/types/components/bimxViewer.vue.d.ts +14 -7
  73. package/types/components/utilsComponents/alert.vue.d.ts +1 -1
  74. package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
  75. package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
  76. package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
  77. package/types/components/utilsComponents/loading.vue.d.ts +1 -1
  78. package/types/components/utilsComponents/panel.vue.d.ts +2 -8
  79. package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
  80. package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -3
  81. package/types/components/utilsComponents/tallPanel.vue.d.ts +3 -13
  82. package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +3 -13
  83. package/types/i18n/index.d.ts +5 -5
  84. package/types/i18n/locales/en-US.d.ts +1 -1
  85. package/types/i18n/locales/zh-CN.d.ts +1 -1
  86. package/types/pages/BimxViewerEntry.vue.d.ts +61 -5
  87. package/types/pages/viewerEntry.vue.d.ts +57 -7
  88. package/types/store/bcfReflect.d.ts +81 -13
  89. package/types/store/const.d.ts +228 -11
  90. package/types/store/initConfigs.d.ts +1 -1
  91. package/types/store/toolbars.d.ts +117 -69
  92. package/types/store/userInfoStore.d.ts +1 -1
  93. package/types/tests/cmt.d.ts +1 -0
  94. package/types/utils/OSSHelper.d.ts +0 -27
  95. package/types/utils/cacheInfo.d.ts +3 -26
  96. package/types/utils/eventBus.d.ts +87 -1
  97. package/types/utils/splitType.d.ts +1 -0
  98. package/types/viewerManager/load/loadModel.d.ts +1 -1
  99. package/types/viewerManager/viewerManager.d.ts +3 -53
  100. package/dist/AnnotationTool-B3tDIyWy.mjs +0 -239
  101. package/dist/CommentTool--UgPVIZZ.mjs +0 -1541
  102. package/dist/ScreenShotTool-D2h0Qjtv.mjs +0 -430
  103. package/dist/SectionTool-DHw2Zfzv.mjs +0 -343
  104. package/dist/SettingTool-D13GBT87.mjs +0 -747
  105. package/dist/StructureTree-DHaOzAP9.mjs +0 -1662
  106. package/dist/bimTools-D3TraX9d.mjs +0 -75
  107. package/dist/el-slider-CHaMBaUG.mjs +0 -1040
  108. package/dist/index-BDupeKSG.mjs +0 -127986
  109. package/types/components/bcf/AddObjectOrAnno.vue.d.ts +0 -16
  110. package/types/components/bcf/BCFAddPanel.vue.d.ts +0 -55
  111. package/types/components/bcf/BCFDetailPanel.vue.d.ts +0 -59
  112. package/types/components/bcf/BCFDisplayList.vue.d.ts +0 -18
  113. package/types/components/bcf/BCFFilter.vue.d.ts +0 -14
  114. package/types/components/bcf/BCFTool.vue.d.ts +0 -15
  115. package/types/components/bcf/CheckObjectPanel.vue.d.ts +0 -11
  116. package/types/components/bcf/CommentInput.vue.d.ts +0 -51
  117. package/types/components/bcf/CommentsView.vue.d.ts +0 -48
  118. package/types/components/bcf/DialogPanel.vue.d.ts +0 -15
  119. package/types/components/bcf/ImageView.vue.d.ts +0 -17
  120. package/types/components/bcf/ImageZoomIn.vue.d.ts +0 -9
  121. package/types/components/bcf/MobileBCFAdd.vue.d.ts +0 -56
  122. package/types/components/bcf/MobileBCFDetail.vue.d.ts +0 -55
  123. package/types/components/bcf/MobileBCFDisplayList.vue.d.ts +0 -498
  124. package/types/components/bcf/MobileBCFFilter.vue.d.ts +0 -475
  125. package/types/components/bcf/MobileBCFTool.vue.d.ts +0 -17
  126. package/types/components/bcf/MobileCommentInput.vue.d.ts +0 -54
  127. package/types/components/bcf/MobileCommentsView.vue.d.ts +0 -17
  128. package/types/components/bcf/SelectPanel.vue.d.ts +0 -12
  129. package/types/components/comment/mobile/MobileCommentAdd.vue.d.ts +0 -14
  130. package/types/components/comment/mobile/MobileDetail.vue.d.ts +0 -11
  131. package/types/components/comment/mobile/MobileDraw.vue.d.ts +0 -17
  132. package/types/components/comment/mobile/MobileFilter.vue.d.ts +0 -475
  133. package/types/components/comment/mobile/MobileList.vue.d.ts +0 -497
  134. package/types/components/comment/mobile/MobileZoomIn.vue.d.ts +0 -9
  135. package/types/components/comment/pc/PcDraw.vue.d.ts +0 -14
  136. package/types/components/shared/Alert.vue.d.ts +0 -32
  137. package/types/components/shared/CloseButton.vue.d.ts +0 -50
  138. package/types/components/shared/CloseButtonDark.vue.d.ts +0 -32
  139. package/types/components/shared/EmptyPage.vue.d.ts +0 -6
  140. package/types/components/shared/Loading.vue.d.ts +0 -2
  141. package/types/components/shared/Panel.vue.d.ts +0 -47
  142. package/types/components/shared/Prompt.vue.d.ts +0 -8
  143. package/types/components/shared/RectangleButton.vue.d.ts +0 -106
  144. package/types/components/shared/TallPanel.vue.d.ts +0 -69
  145. package/types/components/shared/TallPanelNoPos.vue.d.ts +0 -82
  146. package/types/components/tools/AnnotationTool.vue.d.ts +0 -14
  147. package/types/components/tools/AppToolbar.vue.d.ts +0 -27
  148. package/types/components/tools/ClickEvent.vue.d.ts +0 -6
  149. package/types/components/tools/CommentTool.vue.d.ts +0 -45
  150. package/types/components/tools/HiddenTool.vue.d.ts +0 -12
  151. package/types/components/tools/InspectorTool.vue.d.ts +0 -14
  152. package/types/components/tools/MeasureTool.vue.d.ts +0 -14
  153. package/types/components/tools/MouseTool.vue.d.ts +0 -6
  154. package/types/components/tools/RoamTool.vue.d.ts +0 -12
  155. package/types/components/tools/ScreenShotTool.vue.d.ts +0 -10
  156. package/types/components/tools/SectionTool.vue.d.ts +0 -14
  157. package/types/components/tools/SettingTool.vue.d.ts +0 -13
  158. package/types/components/tools/StructureTree.vue.d.ts +0 -11645
  159. package/types/components/tools/Toolbar.vue.d.ts +0 -10
  160. package/types/composables/useBimViewerEvent.d.ts +0 -44
  161. package/types/composables/useEmitHandler.d.ts +0 -2
  162. package/types/composables/useToolActive.d.ts +0 -1
  163. package/types/composables/useToolReady.d.ts +0 -1
  164. package/types/store/const/app.d.ts +0 -66
  165. package/types/store/const/bimTools.d.ts +0 -81
  166. package/types/store/const/project.d.ts +0 -48
  167. package/types/store/const/theme.d.ts +0 -16
  168. package/types/store/const/toolbar.d.ts +0 -26
  169. package/types/stores/viewerStore.d.ts +0 -112
  170. package/types/types/bcf.d.ts +0 -83
  171. package/types/types/events.d.ts +0 -88
  172. package/types/utils/dbscan.d.ts +0 -1
@@ -1,11 +1,228 @@
1
- /**
2
- * const.ts 常量桶文件
3
- *
4
- * 所有常量已按职责拆分到 const/ 子目录中的独立文件。
5
- * 本文件统一重导出,保持 `import { ... } from "@/store/const"` 的向后兼容性。
6
- */
7
- export { MENU, TOKEN, IS_FOLD, USER_INFO, USER_LIST, ENTIRE_ROLES, KEYID, CACHE_LOGIN_USER_INFO, KEYSECRET, USER_DEFAULT_AVATAR, USER_DEFAULT_POPOVER_AVATAR, INVALID_FILENAME, TABLIST, CREATEITEM, TABLE_TABS, ACCOUNT_APP_ID, CHOOSETYPELIST, FILETYPE, CONVERT_STATUS, } from './const/app';
8
- export { ALLOCATION_ROLE_LIST, PROJECT_CHOOSE_TYPE, DIRECTORY_LIST, MEMBER_BENEFITS, MEMBER_TYPE_LIST, PROVOLEGE_LIST, ENJOY_MEMBER_LIST, VALIDITY_PERIOD_LIST, ROLE_LIST, } from './const/project';
9
- export { BULK_OPERATION, MEASUREMENT, LINE_WEIGHT_LIST, TIPS_COLOR, FONT_SIZE_LIST, COMMENT_TOOL_LIST, ANNOTATION_LIST, HIDDEN_LIST, SCREEN_LIST, NAVIGATE_LIST, STRUCTURE_TREE_LIST, } from './const/bimTools';
10
- export { TOOL_BAR_LIST, TOOL_BAR_APP_LIST, TOOL_BAR_APP_SHARED_LIST, } from './const/toolbar';
11
- export { BG_COLOR_APP_LIST, BG_COLOR_LIST, } from './const/theme';
1
+ import { AnnoType } from '../utils/eventBus';
2
+ export declare const MENU = "menus";
3
+ export declare const TOKEN = "token";
4
+ export declare const IS_FOLD = "isFold";
5
+ export declare const USER_INFO = "userInfo";
6
+ export declare const USER_LIST = "userList";
7
+ export declare const ENTIRE_ROLES = "entireRoles";
8
+ export declare const KEYID = "LTAI4FvDVqNXSTHoAUqXGMfo";
9
+ export declare const CACHE_LOGIN_USER_INFO = "loginUserInfo";
10
+ export declare const KEYSECRET = "6wusVUYf8w9pW8YOJuGhRouYNHLnwY";
11
+ export declare const USER_DEFAULT_AVATAR: string;
12
+ export declare const USER_DEFAULT_POPOVER_AVATAR: string;
13
+ export declare const INVALID_FILENAME: RegExp;
14
+ export declare const TABLIST: ({
15
+ id: number;
16
+ name: string;
17
+ showIcon: boolean;
18
+ type: string;
19
+ active: boolean;
20
+ iconUpActive?: undefined;
21
+ iconDownActive?: undefined;
22
+ } | {
23
+ id: number;
24
+ name: string;
25
+ showIcon: boolean;
26
+ type: string;
27
+ active: boolean;
28
+ iconUpActive: boolean;
29
+ iconDownActive: boolean;
30
+ } | {
31
+ id: number;
32
+ name: string;
33
+ showIcon: boolean;
34
+ type: string;
35
+ active?: undefined;
36
+ iconUpActive?: undefined;
37
+ iconDownActive?: undefined;
38
+ })[];
39
+ export declare const CREATEITEM: {
40
+ projectId: number;
41
+ isCreat: boolean;
42
+ operate: number;
43
+ }[];
44
+ export declare const TABLE_TABS: {
45
+ id: number;
46
+ num: string;
47
+ fileType: string;
48
+ name: string;
49
+ img: string;
50
+ }[];
51
+ export declare const ACCOUNT_APP_ID = "wx74d8c813cb7fd518";
52
+ export declare const CHOOSETYPELIST: {
53
+ id: number;
54
+ name: string;
55
+ data: number[];
56
+ }[];
57
+ export declare const FILETYPE: {
58
+ id: number;
59
+ name: string;
60
+ data: number[];
61
+ }[];
62
+ export declare const BULK_OPERATION: {
63
+ id: number;
64
+ name: string;
65
+ }[];
66
+ export declare const ALLOCATION_ROLE_LIST: {
67
+ id: number;
68
+ name: string;
69
+ label: string;
70
+ }[];
71
+ export declare const PROJECT_CHOOSE_TYPE: {
72
+ id: number;
73
+ name: string;
74
+ label: string;
75
+ }[];
76
+ export declare const DIRECTORY_LIST: {
77
+ id: number;
78
+ name: string;
79
+ label: string;
80
+ isShow: boolean;
81
+ color: string;
82
+ }[];
83
+ export declare const CONVERT_STATUS: {
84
+ unconverted: number;
85
+ converting: number;
86
+ convertSuccessful: number;
87
+ convertFailed: number;
88
+ };
89
+ export declare const STRUCTURE_TREE_LIST: {
90
+ id: number;
91
+ name: string;
92
+ }[];
93
+ export declare const MEMBER_BENEFITS: {
94
+ id: number;
95
+ name: string;
96
+ img: string;
97
+ }[];
98
+ export declare const MEMBER_TYPE_LIST: {
99
+ id: number;
100
+ name: string;
101
+ }[];
102
+ export declare const PROVOLEGE_LIST: {
103
+ id: number;
104
+ name: string;
105
+ }[];
106
+ export declare const LINE_WEIGHT_LIST: {
107
+ id: number;
108
+ size: string;
109
+ }[];
110
+ export declare const TIPS_COLOR: {
111
+ id: number;
112
+ color: string;
113
+ }[];
114
+ export declare const FONT_SIZE_LIST: {
115
+ id: number;
116
+ name: string;
117
+ label: string;
118
+ fontSize: string;
119
+ }[];
120
+ export declare const COMMENT_TOOL_LIST: {
121
+ id: number;
122
+ name: string;
123
+ label: string;
124
+ buttontype: string;
125
+ img: string;
126
+ imgActive: string;
127
+ svg: string;
128
+ svgActive: string;
129
+ isShow: boolean;
130
+ }[];
131
+ export declare const TOOL_BAR_LIST: {
132
+ id: number;
133
+ name: string;
134
+ isShowDelimiter: boolean;
135
+ img: string;
136
+ imgActive: string;
137
+ }[];
138
+ export declare const TOOL_BAR_APP_LIST: {
139
+ id: number;
140
+ code: string;
141
+ name: string;
142
+ isShowDelimiter: boolean;
143
+ img: string;
144
+ imgActive: string;
145
+ }[];
146
+ export declare const TOOL_BAR_APP_SHARED_LIST: {
147
+ id: number;
148
+ code: string;
149
+ name: string;
150
+ isShowDelimiter: boolean;
151
+ img: string;
152
+ imgActive: string;
153
+ }[];
154
+ export declare const BG_COLOR_APP_LIST: {
155
+ id: number;
156
+ name: string;
157
+ color: string;
158
+ rgb: number[];
159
+ }[];
160
+ export declare const BG_COLOR_LIST: {
161
+ id: number;
162
+ name: string;
163
+ label: string;
164
+ color: string;
165
+ rgb: number[];
166
+ }[];
167
+ export declare const ENJOY_MEMBER_LIST: {
168
+ id: number;
169
+ name: string;
170
+ label: string;
171
+ }[];
172
+ export declare const VALIDITY_PERIOD_LIST: {
173
+ id: string;
174
+ name: string;
175
+ label: string;
176
+ }[];
177
+ export declare const ROLE_LIST: {
178
+ id: number;
179
+ name: string;
180
+ label: string;
181
+ }[];
182
+ export declare const MEASUREMENT: {
183
+ id: number;
184
+ code: string;
185
+ name: string;
186
+ label: string;
187
+ img: string;
188
+ imgActive: string;
189
+ svg: string;
190
+ svgActive: string;
191
+ }[];
192
+ export declare const SCREEN_LIST: ({
193
+ id: number;
194
+ name: string;
195
+ width: string;
196
+ height: string;
197
+ label?: undefined;
198
+ } | {
199
+ id: number;
200
+ label: string;
201
+ name?: undefined;
202
+ width?: undefined;
203
+ height?: undefined;
204
+ })[];
205
+ export declare const NAVIGATE_LIST: {
206
+ id: number;
207
+ code: string;
208
+ name: string;
209
+ label: string;
210
+ dir_num: number;
211
+ img: string;
212
+ imgActive: string;
213
+ }[];
214
+ export declare const ANNOTATION_LIST: {
215
+ id: number;
216
+ code: AnnoType;
217
+ name: string;
218
+ okType: string;
219
+ img: string;
220
+ img_active: string;
221
+ imgActive: string;
222
+ }[];
223
+ export declare const HIDDEN_LIST: {
224
+ id: number;
225
+ name: string;
226
+ img: string;
227
+ img_active: string;
228
+ }[];
@@ -40,7 +40,7 @@ export type ConfigsParams = {
40
40
  callback?: Function;
41
41
  };
42
42
  /**基础配置 */
43
- export type BasicConfig = "showTree" | "showInspector" | "showRoam" | "annoLimit" | "userInfo" | "isMobile" | "loadMeta" | "showNavCube" | "multiModel" | "outliersDetect" | "themeColor" | "hideTool" | "backButton" | "backgroundColor" | "editPrivilege" | "locale" | "hideLogo";
43
+ export type BasicConfig = "enableTree" | "showInspector" | "showRoam" | "annoLimit" | "userInfo" | "isMobile" | "loadMeta" | "showNavCube" | "multiModel" | "outliersDetect" | "themeColor" | "hideTool" | "backButton" | "backgroundColor" | "editPrivilege" | "locale";
44
44
  /**边距配置 */
45
45
  export type MarginConfig = "topHeight" | "rightWidth" | "bottomHeight" | "leftWidth";
46
46
  /**界面配置 */