@xtctwins/tctwins-bimx-engine 0.3.2 → 0.3.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 -193
- package/dist/AnnotationTool-C3o-nYdK.mjs +167 -0
- package/dist/BIMX_Viewer_Lib.es.js +3 -3
- package/dist/BIMX_Viewer_Lib.umd.js +165 -265
- package/dist/CameraViewTool-DaGFzAdV.mjs +164 -0
- package/dist/CommentTool-BuqyVt4A.mjs +1529 -0
- package/dist/{HiddenTool-rORoKTeD.mjs → HiddenTool-B20p_qDY.mjs} +16 -16
- package/dist/{InspectorTool-l4bDxTia.mjs → InspectorTool-ChM2elpV.mjs} +66 -66
- package/dist/{MeasureTool-d-EV6m2R.mjs → MeasureTool-BZF__yUT.mjs} +107 -131
- package/dist/{MouseTool-DKMcdeRD.mjs → MouseTool-Bhmif0vq.mjs} +32 -35
- package/dist/{NavigateTool-BNvZ8Oat.mjs → NavigateTool-DER-SD2Y.mjs} +13 -13
- package/dist/{RoamTool-DJu93SVl.mjs → RoamTool-B2fyUtKk.mjs} +14 -14
- package/dist/ScreenShotTool-C8iq1Ssm.mjs +357 -0
- package/dist/SectionTool-CL95rzx4.mjs +331 -0
- package/dist/SettingTool-b9HLJ1iu.mjs +657 -0
- package/dist/StructureTree-DlqVbX97.mjs +1583 -0
- package/dist/{Alert-5pEYzrMO.mjs → alert-DoM5CyWV.mjs} +8 -8
- package/dist/const-DOnRsYpZ.mjs +389 -0
- package/dist/el-input-number-Bj97l7q_.mjs +818 -0
- package/dist/index-Cslxj2q_.mjs +128302 -0
- package/dist/index.html +17 -17
- package/dist/{Panel.vue_vue_type_style_index_0_lang-C4tqfy-B.mjs → panel.vue_vue_type_style_index_0_lang-r40t3eim.mjs} +2 -2
- package/dist/style.css +1 -1
- package/dist/{TallPanel-DtXOSzmF.mjs → tallPanel-CdjNke7H.mjs} +14 -14
- package/package.json +3 -4
- package/types/components/BCFComponents/BCFAddPanel.vue.d.ts +10 -38
- package/types/components/BCFComponents/BCFCommentNew.vue.d.ts +22 -0
- package/types/components/BCFComponents/BCFDetailPanel.vue.d.ts +9 -37
- package/types/components/BCFComponents/BCFDisplayList.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFFilter.vue.d.ts +7 -5
- package/types/components/BCFComponents/BCFTool.vue.d.ts +7 -4
- package/types/components/BCFComponents/addObjectOrAnno.vue.d.ts +7 -5
- package/types/components/BCFComponents/checkObjectPanel.vue.d.ts +6 -5
- package/types/components/BCFComponents/commentInput.vue.d.ts +10 -36
- package/types/components/BCFComponents/commentsView.vue.d.ts +7 -36
- package/types/components/BCFComponents/dialogPanel.vue.d.ts +8 -5
- package/types/components/BCFComponents/imageView.vue.d.ts +7 -5
- package/types/components/BCFComponents/imageZoomIn.vue.d.ts +6 -5
- package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/AppToolbar.vue.d.ts +1 -18
- package/types/components/{tools/NavigateTool.vue.d.ts → BimViewerComponents/CameraViewTool.vue.d.ts} +3 -1
- package/types/components/BimViewerComponents/ClickEvent.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/CommentTool.vue.d.ts +1 -32
- package/types/components/BimViewerComponents/HiddenTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/InspectorTool.vue.d.ts +0 -2
- package/types/components/BimViewerComponents/MeasureTool.vue.d.ts +0 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/{MobileCommentAdd.vue.d.ts → add.vue.d.ts} +8 -6
- package/types/components/BimViewerComponents/MobileCommentsTool/detail.vue.d.ts +5 -4
- package/types/components/BimViewerComponents/MobileCommentsTool/draw.vue.d.ts +2 -2
- package/types/components/BimViewerComponents/MobileCommentsTool/filter.vue.d.ts +1 -478
- package/types/components/BimViewerComponents/MobileCommentsTool/list.vue.d.ts +7 -499
- package/types/components/BimViewerComponents/MobileCommentsTool/zoomIn.vue.d.ts +6 -5
- package/types/components/BimViewerComponents/MouseTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/NavigateTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/PCCommentTool/pcdraw.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/RoamTool.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/SectionTool.vue.d.ts +0 -4
- package/types/components/BimViewerComponents/SettingTool.vue.d.ts +6 -4
- package/types/components/BimViewerComponents/StructureTree.vue.d.ts +1 -4026
- package/types/components/BimViewerComponents/Toolbar.vue.d.ts +1 -1
- package/types/components/BimViewerComponents/emptyPage.vue.d.ts +8 -0
- package/types/components/BimViewerComponents/mobileToolbar.vue.d.ts +1 -18
- package/types/components/BimxViewerComp.vue.d.ts +14 -7
- package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +10 -37
- package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +9 -37
- package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +7 -499
- package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +1 -478
- package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +8 -5
- package/types/components/MobileBCFComponents/MobileCommentInput.vue.d.ts +12 -38
- package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +9 -7
- package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +7 -5
- package/types/components/bimxViewer.vue.d.ts +14 -7
- package/types/components/utilsComponents/alert.vue.d.ts +1 -1
- package/types/components/utilsComponents/closeButton.vue.d.ts +1 -1
- package/types/components/utilsComponents/closeButton_dark.vue.d.ts +1 -1
- package/types/components/utilsComponents/emptyPage.vue.d.ts +1 -1
- package/types/components/utilsComponents/loading.vue.d.ts +1 -1
- package/types/components/utilsComponents/panel.vue.d.ts +2 -8
- package/types/components/utilsComponents/prompt.vue.d.ts +1 -1
- package/types/components/utilsComponents/rectangleButton.vue.d.ts +1 -3
- package/types/components/utilsComponents/tallPanel.vue.d.ts +3 -13
- package/types/components/utilsComponents/tallPanel_noPos.vue.d.ts +3 -13
- package/types/i18n/index.d.ts +5 -5
- package/types/i18n/locales/en-US.d.ts +1 -1
- package/types/i18n/locales/zh-CN.d.ts +1 -1
- package/types/pages/BimxViewerEntry.vue.d.ts +59 -5
- package/types/pages/viewerEntry.vue.d.ts +57 -7
- package/types/store/bcfReflect.d.ts +81 -13
- package/types/store/const.d.ts +228 -11
- package/types/store/initConfigs.d.ts +1 -1
- package/types/store/toolbars.d.ts +117 -69
- package/types/store/userInfoStore.d.ts +1 -1
- package/types/tests/cmt.d.ts +1 -0
- package/types/utils/OSSHelper.d.ts +0 -27
- package/types/utils/cacheInfo.d.ts +3 -26
- package/types/utils/eventBus.d.ts +87 -1
- package/types/viewerManager/viewerManager.d.ts +3 -53
- package/dist/AnnotationTool-B3tDIyWy.mjs +0 -239
- package/dist/CommentTool--UgPVIZZ.mjs +0 -1541
- package/dist/ScreenShotTool-D2h0Qjtv.mjs +0 -430
- package/dist/SectionTool-DHw2Zfzv.mjs +0 -343
- package/dist/SettingTool-D13GBT87.mjs +0 -747
- package/dist/StructureTree-DHaOzAP9.mjs +0 -1662
- package/dist/bimTools-D3TraX9d.mjs +0 -75
- package/dist/el-slider-CHaMBaUG.mjs +0 -1040
- package/dist/index-BDupeKSG.mjs +0 -127986
- package/types/components/bcf/AddObjectOrAnno.vue.d.ts +0 -16
- package/types/components/bcf/BCFAddPanel.vue.d.ts +0 -55
- package/types/components/bcf/BCFDetailPanel.vue.d.ts +0 -59
- package/types/components/bcf/BCFDisplayList.vue.d.ts +0 -18
- package/types/components/bcf/BCFFilter.vue.d.ts +0 -14
- package/types/components/bcf/BCFTool.vue.d.ts +0 -15
- package/types/components/bcf/CheckObjectPanel.vue.d.ts +0 -11
- package/types/components/bcf/CommentInput.vue.d.ts +0 -51
- package/types/components/bcf/CommentsView.vue.d.ts +0 -48
- package/types/components/bcf/DialogPanel.vue.d.ts +0 -15
- package/types/components/bcf/ImageView.vue.d.ts +0 -17
- package/types/components/bcf/ImageZoomIn.vue.d.ts +0 -9
- package/types/components/bcf/MobileBCFAdd.vue.d.ts +0 -56
- package/types/components/bcf/MobileBCFDetail.vue.d.ts +0 -55
- package/types/components/bcf/MobileBCFDisplayList.vue.d.ts +0 -498
- package/types/components/bcf/MobileBCFFilter.vue.d.ts +0 -475
- package/types/components/bcf/MobileBCFTool.vue.d.ts +0 -17
- package/types/components/bcf/MobileCommentInput.vue.d.ts +0 -54
- package/types/components/bcf/MobileCommentsView.vue.d.ts +0 -17
- package/types/components/bcf/SelectPanel.vue.d.ts +0 -12
- package/types/components/comment/mobile/MobileCommentAdd.vue.d.ts +0 -14
- package/types/components/comment/mobile/MobileDetail.vue.d.ts +0 -11
- package/types/components/comment/mobile/MobileDraw.vue.d.ts +0 -17
- package/types/components/comment/mobile/MobileFilter.vue.d.ts +0 -475
- package/types/components/comment/mobile/MobileList.vue.d.ts +0 -497
- package/types/components/comment/mobile/MobileZoomIn.vue.d.ts +0 -9
- package/types/components/comment/pc/PcDraw.vue.d.ts +0 -14
- package/types/components/shared/Alert.vue.d.ts +0 -32
- package/types/components/shared/CloseButton.vue.d.ts +0 -50
- package/types/components/shared/CloseButtonDark.vue.d.ts +0 -32
- package/types/components/shared/EmptyPage.vue.d.ts +0 -6
- package/types/components/shared/Loading.vue.d.ts +0 -2
- package/types/components/shared/Panel.vue.d.ts +0 -47
- package/types/components/shared/Prompt.vue.d.ts +0 -8
- package/types/components/shared/RectangleButton.vue.d.ts +0 -106
- package/types/components/shared/TallPanel.vue.d.ts +0 -69
- package/types/components/shared/TallPanelNoPos.vue.d.ts +0 -82
- package/types/components/tools/AnnotationTool.vue.d.ts +0 -14
- package/types/components/tools/AppToolbar.vue.d.ts +0 -27
- package/types/components/tools/ClickEvent.vue.d.ts +0 -6
- package/types/components/tools/CommentTool.vue.d.ts +0 -45
- package/types/components/tools/HiddenTool.vue.d.ts +0 -12
- package/types/components/tools/InspectorTool.vue.d.ts +0 -14
- package/types/components/tools/MeasureTool.vue.d.ts +0 -14
- package/types/components/tools/MouseTool.vue.d.ts +0 -6
- package/types/components/tools/RoamTool.vue.d.ts +0 -12
- package/types/components/tools/ScreenShotTool.vue.d.ts +0 -10
- package/types/components/tools/SectionTool.vue.d.ts +0 -14
- package/types/components/tools/SettingTool.vue.d.ts +0 -13
- package/types/components/tools/StructureTree.vue.d.ts +0 -11645
- package/types/components/tools/Toolbar.vue.d.ts +0 -10
- package/types/composables/useBimViewerEvent.d.ts +0 -44
- package/types/composables/useEmitHandler.d.ts +0 -2
- package/types/composables/useToolActive.d.ts +0 -1
- package/types/composables/useToolReady.d.ts +0 -1
- package/types/store/const/app.d.ts +0 -66
- package/types/store/const/bimTools.d.ts +0 -81
- package/types/store/const/project.d.ts +0 -48
- package/types/store/const/theme.d.ts +0 -16
- package/types/store/const/toolbar.d.ts +0 -26
- package/types/stores/viewerStore.d.ts +0 -112
- package/types/types/bcf.d.ts +0 -83
- package/types/types/events.d.ts +0 -88
- package/types/utils/dbscan.d.ts +0 -1
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
title: string;
|
|
3
3
|
items: string[];
|
|
4
|
-
}
|
|
5
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
5
|
select: (...args: any[]) => void;
|
|
7
6
|
closePanel: (...args: any[]) => void;
|
|
8
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
8
|
+
title: string;
|
|
9
|
+
items: string[];
|
|
10
|
+
}> & Readonly<{
|
|
9
11
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
10
12
|
onClosePanel?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
14
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InstructionContent } from '../utils/eventBus';
|
|
2
|
-
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
3
|
instruction?: InstructionContent | undefined;
|
|
4
4
|
fileId?: string;
|
|
5
5
|
fileName?: string;
|
|
@@ -9,12 +9,19 @@ type __VLS_Props = {
|
|
|
9
9
|
metaBuffer?: ArrayBuffer;
|
|
10
10
|
multiModel?: boolean;
|
|
11
11
|
filePaths?: string[];
|
|
12
|
-
}
|
|
13
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
13
|
emitHandler: (...args: any[]) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
+
instruction?: InstructionContent | undefined;
|
|
16
|
+
fileId?: string;
|
|
17
|
+
fileName?: string;
|
|
18
|
+
filePath?: string;
|
|
19
|
+
modelType?: string;
|
|
20
|
+
modelBuffer?: ArrayBuffer;
|
|
21
|
+
metaBuffer?: ArrayBuffer;
|
|
22
|
+
multiModel?: boolean;
|
|
23
|
+
filePaths?: string[];
|
|
24
|
+
}> & Readonly<{
|
|
16
25
|
onEmitHandler?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
-
canvas: HTMLCanvasElement;
|
|
19
|
-
}, HTMLDivElement>;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
27
|
export default _default;
|
|
@@ -28,5 +28,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
28
28
|
width: number;
|
|
29
29
|
panelTitle: string;
|
|
30
30
|
clickHandle: Function;
|
|
31
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
@@ -46,5 +46,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
46
46
|
sizeType: string;
|
|
47
47
|
light: boolean;
|
|
48
48
|
dark: boolean;
|
|
49
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
49
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
50
|
export default _default;
|
|
@@ -28,5 +28,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
28
28
|
width: number;
|
|
29
29
|
clickHandle: Function;
|
|
30
30
|
sizeType: string;
|
|
31
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
@@ -2,5 +2,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2
2
|
title: StringConstructor;
|
|
3
3
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
4
4
|
title: StringConstructor;
|
|
5
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
5
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {};
|
|
7
|
-
rootEl: any;
|
|
2
|
+
default?(_: {}): any;
|
|
8
3
|
};
|
|
9
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
4
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
5
|
panelTitle: {
|
|
12
6
|
type: StringConstructor;
|
|
@@ -38,7 +32,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
38
32
|
panelTitle: string;
|
|
39
33
|
clickHandle: Function;
|
|
40
34
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
41
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
42
36
|
export default _default;
|
|
43
37
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
38
|
new (): {
|
|
@@ -4,5 +4,5 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
4
4
|
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
5
5
|
text?: any;
|
|
6
6
|
type?: any;
|
|
7
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {},
|
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
8
|
export default _default;
|
|
@@ -100,7 +100,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
100
100
|
imgHeight: number;
|
|
101
101
|
imgUrl: string;
|
|
102
102
|
imgActiveUrl: string;
|
|
103
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
104
|
-
buttonRef: HTMLDivElement;
|
|
105
|
-
}, HTMLDivElement>;
|
|
103
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
106
104
|
export default _default;
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {
|
|
7
|
-
tallPanelWrapper: HTMLDivElement;
|
|
8
|
-
};
|
|
9
|
-
rootEl: HTMLDivElement;
|
|
2
|
+
default?(_: {}): any;
|
|
10
3
|
};
|
|
11
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
4
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
5
|
panelTitle: {
|
|
14
6
|
type: StringConstructor;
|
|
@@ -57,10 +49,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
57
49
|
clickHandle: Function;
|
|
58
50
|
pos: string;
|
|
59
51
|
setWidth: boolean;
|
|
60
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
61
|
-
|
|
62
|
-
}, HTMLDivElement>;
|
|
63
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
52
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
64
54
|
export default _default;
|
|
65
55
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
66
56
|
new (): {
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
-
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {
|
|
7
|
-
tallPanelWrapper: HTMLDivElement;
|
|
8
|
-
};
|
|
9
|
-
rootEl: HTMLDivElement;
|
|
2
|
+
default?(_: {}): any;
|
|
10
3
|
};
|
|
11
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
4
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
5
|
panelTitle: {
|
|
14
6
|
type: StringConstructor;
|
|
@@ -70,10 +62,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
70
62
|
head: boolean;
|
|
71
63
|
pos: string;
|
|
72
64
|
setWidth: boolean;
|
|
73
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
74
|
-
|
|
75
|
-
}, HTMLDivElement>;
|
|
76
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
65
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
66
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
77
67
|
export default _default;
|
|
78
68
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
79
69
|
new (): {
|
package/types/i18n/index.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export declare const messages: {
|
|
|
52
52
|
tree: string;
|
|
53
53
|
reset: string;
|
|
54
54
|
roam: string;
|
|
55
|
+
cameraView: string;
|
|
55
56
|
measure: string;
|
|
56
57
|
section: string;
|
|
57
58
|
comment: string;
|
|
@@ -201,7 +202,6 @@ export declare const messages: {
|
|
|
201
202
|
language: string;
|
|
202
203
|
modelViewSwitch: string;
|
|
203
204
|
zoomSpeed: string;
|
|
204
|
-
outliersDetect: string;
|
|
205
205
|
colors: {
|
|
206
206
|
white: string;
|
|
207
207
|
lightGray: string;
|
|
@@ -437,6 +437,7 @@ export declare const messages: {
|
|
|
437
437
|
tree: string;
|
|
438
438
|
reset: string;
|
|
439
439
|
roam: string;
|
|
440
|
+
cameraView: string;
|
|
440
441
|
measure: string;
|
|
441
442
|
section: string;
|
|
442
443
|
comment: string;
|
|
@@ -586,7 +587,6 @@ export declare const messages: {
|
|
|
586
587
|
language: string;
|
|
587
588
|
modelViewSwitch: string;
|
|
588
589
|
zoomSpeed: string;
|
|
589
|
-
outliersDetect: string;
|
|
590
590
|
colors: {
|
|
591
591
|
white: string;
|
|
592
592
|
lightGray: string;
|
|
@@ -828,6 +828,7 @@ export declare const defaultI18nConfig: {
|
|
|
828
828
|
tree: string;
|
|
829
829
|
reset: string;
|
|
830
830
|
roam: string;
|
|
831
|
+
cameraView: string;
|
|
831
832
|
measure: string;
|
|
832
833
|
section: string;
|
|
833
834
|
comment: string;
|
|
@@ -977,7 +978,6 @@ export declare const defaultI18nConfig: {
|
|
|
977
978
|
language: string;
|
|
978
979
|
modelViewSwitch: string;
|
|
979
980
|
zoomSpeed: string;
|
|
980
|
-
outliersDetect: string;
|
|
981
981
|
colors: {
|
|
982
982
|
white: string;
|
|
983
983
|
lightGray: string;
|
|
@@ -1213,6 +1213,7 @@ export declare const defaultI18nConfig: {
|
|
|
1213
1213
|
tree: string;
|
|
1214
1214
|
reset: string;
|
|
1215
1215
|
roam: string;
|
|
1216
|
+
cameraView: string;
|
|
1216
1217
|
measure: string;
|
|
1217
1218
|
section: string;
|
|
1218
1219
|
comment: string;
|
|
@@ -1362,7 +1363,6 @@ export declare const defaultI18nConfig: {
|
|
|
1362
1363
|
language: string;
|
|
1363
1364
|
modelViewSwitch: string;
|
|
1364
1365
|
zoomSpeed: string;
|
|
1365
|
-
outliersDetect: string;
|
|
1366
1366
|
colors: {
|
|
1367
1367
|
white: string;
|
|
1368
1368
|
lightGray: string;
|
|
@@ -1552,4 +1552,4 @@ export declare const defaultI18nConfig: {
|
|
|
1552
1552
|
export declare const setGlobalI18n: (i18n: any) => void;
|
|
1553
1553
|
export declare const getGlobalI18n: () => any;
|
|
1554
1554
|
export declare const getI18nTranslate: () => (key: string, ...args: any[]) => any;
|
|
1555
|
-
export declare const useBimxI18n: () => (
|
|
1555
|
+
export declare const useBimxI18n: () => (key: string, ...args: any[]) => any;
|
|
@@ -50,6 +50,7 @@ declare const _default: {
|
|
|
50
50
|
tree: string;
|
|
51
51
|
reset: string;
|
|
52
52
|
roam: string;
|
|
53
|
+
cameraView: string;
|
|
53
54
|
measure: string;
|
|
54
55
|
section: string;
|
|
55
56
|
comment: string;
|
|
@@ -199,7 +200,6 @@ declare const _default: {
|
|
|
199
200
|
language: string;
|
|
200
201
|
modelViewSwitch: string;
|
|
201
202
|
zoomSpeed: string;
|
|
202
|
-
outliersDetect: string;
|
|
203
203
|
colors: {
|
|
204
204
|
white: string;
|
|
205
205
|
lightGray: string;
|
|
@@ -50,6 +50,7 @@ declare const _default: {
|
|
|
50
50
|
tree: string;
|
|
51
51
|
reset: string;
|
|
52
52
|
roam: string;
|
|
53
|
+
cameraView: string;
|
|
53
54
|
measure: string;
|
|
54
55
|
section: string;
|
|
55
56
|
comment: string;
|
|
@@ -199,7 +200,6 @@ declare const _default: {
|
|
|
199
200
|
language: string;
|
|
200
201
|
modelViewSwitch: string;
|
|
201
202
|
zoomSpeed: string;
|
|
202
|
-
outliersDetect: string;
|
|
203
203
|
colors: {
|
|
204
204
|
white: string;
|
|
205
205
|
lightGray: string;
|
|
@@ -3,7 +3,7 @@ import { NavCubePos, TallPanelPos, ThemeColor, Offset, ToolPos, EditPrivilege }
|
|
|
3
3
|
import { BcfContent } from '../store/bcfReflect';
|
|
4
4
|
import { UserInfo } from '../store/userInfoStore';
|
|
5
5
|
import { Locale } from '../i18n';
|
|
6
|
-
|
|
6
|
+
declare const _default: import('vue').DefineComponent<{
|
|
7
7
|
instruction?: InstructionContent | undefined;
|
|
8
8
|
fileId?: string;
|
|
9
9
|
fileName?: string;
|
|
@@ -38,6 +38,7 @@ type __VLS_Props = {
|
|
|
38
38
|
tree?: boolean;
|
|
39
39
|
reset?: boolean;
|
|
40
40
|
roam?: boolean;
|
|
41
|
+
cameraView?: boolean;
|
|
41
42
|
measure?: boolean;
|
|
42
43
|
section?: boolean;
|
|
43
44
|
comment?: boolean;
|
|
@@ -57,11 +58,64 @@ type __VLS_Props = {
|
|
|
57
58
|
userInfo?: UserInfo;
|
|
58
59
|
editPrivilege?: EditPrivilege;
|
|
59
60
|
locale?: Locale;
|
|
60
|
-
|
|
61
|
-
};
|
|
62
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
61
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
63
62
|
emitHandler: (...args: any[]) => void;
|
|
64
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
63
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
64
|
+
instruction?: InstructionContent | undefined;
|
|
65
|
+
fileId?: string;
|
|
66
|
+
fileName?: string;
|
|
67
|
+
filePath?: string;
|
|
68
|
+
modelBuffer?: ArrayBuffer;
|
|
69
|
+
metaBuffer?: ArrayBuffer;
|
|
70
|
+
modelType?: string;
|
|
71
|
+
multiModel?: boolean;
|
|
72
|
+
filePaths?: string[];
|
|
73
|
+
themeColor?: ThemeColor;
|
|
74
|
+
topHeight?: number;
|
|
75
|
+
bottomHeight?: number;
|
|
76
|
+
leftWidth?: number;
|
|
77
|
+
rightWidth?: number;
|
|
78
|
+
treePos?: TallPanelPos;
|
|
79
|
+
inspectorPos?: TallPanelPos;
|
|
80
|
+
commentPos?: ToolPos;
|
|
81
|
+
annotationPos?: ToolPos;
|
|
82
|
+
roamPos?: ToolPos;
|
|
83
|
+
navCubePos?: NavCubePos;
|
|
84
|
+
navCubeSize?: number;
|
|
85
|
+
skyboxImg?: HTMLImageElement;
|
|
86
|
+
commentOffset?: Offset;
|
|
87
|
+
measureOffset?: Offset;
|
|
88
|
+
hideTool?: boolean;
|
|
89
|
+
phone?: boolean;
|
|
90
|
+
loadMeta?: boolean;
|
|
91
|
+
showNavCube?: boolean;
|
|
92
|
+
outliersDetect?: boolean;
|
|
93
|
+
backButton?: boolean;
|
|
94
|
+
backgroundColor?: string;
|
|
95
|
+
tree?: boolean;
|
|
96
|
+
reset?: boolean;
|
|
97
|
+
roam?: boolean;
|
|
98
|
+
cameraView?: boolean;
|
|
99
|
+
measure?: boolean;
|
|
100
|
+
section?: boolean;
|
|
101
|
+
comment?: boolean;
|
|
102
|
+
anno?: boolean;
|
|
103
|
+
screenshot?: boolean;
|
|
104
|
+
inspector?: boolean;
|
|
105
|
+
setting?: boolean;
|
|
106
|
+
fullscreen?: boolean;
|
|
107
|
+
navigate?: boolean;
|
|
108
|
+
share?: boolean;
|
|
109
|
+
cooperate?: boolean;
|
|
110
|
+
hidden?: boolean;
|
|
111
|
+
bcf?: boolean;
|
|
112
|
+
mouse?: boolean;
|
|
113
|
+
enjoy?: boolean;
|
|
114
|
+
bcfContent?: BcfContent;
|
|
115
|
+
userInfo?: UserInfo;
|
|
116
|
+
editPrivilege?: EditPrivilege;
|
|
117
|
+
locale?: Locale;
|
|
118
|
+
}> & Readonly<{
|
|
65
119
|
onEmitHandler?: ((...args: any[]) => any) | undefined;
|
|
66
120
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
67
121
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { InstructionContent } from '../utils/eventBus';
|
|
2
1
|
import { NavCubePos, TallPanelPos, ThemeColor, Offset, ToolPos, EditPrivilege } from '../store/initConfigs';
|
|
2
|
+
import { InstructionContent } from '../utils/eventBus';
|
|
3
3
|
import { BcfContent } from '../store/bcfReflect';
|
|
4
4
|
import { UserInfo } from '../store/userInfoStore';
|
|
5
|
-
|
|
6
|
-
type __VLS_Props = {
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{
|
|
7
6
|
instruction?: InstructionContent | undefined;
|
|
8
7
|
fileId?: string;
|
|
9
8
|
fileName?: string;
|
|
@@ -56,11 +55,62 @@ type __VLS_Props = {
|
|
|
56
55
|
bcfContent?: BcfContent;
|
|
57
56
|
userInfo?: UserInfo;
|
|
58
57
|
editPrivilege?: EditPrivilege;
|
|
59
|
-
|
|
60
|
-
};
|
|
61
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
62
59
|
emitHandler: (...args: any[]) => void;
|
|
63
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
60
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
61
|
+
instruction?: InstructionContent | undefined;
|
|
62
|
+
fileId?: string;
|
|
63
|
+
fileName?: string;
|
|
64
|
+
filePath?: string;
|
|
65
|
+
modelBuffer?: ArrayBuffer;
|
|
66
|
+
metaBuffer?: ArrayBuffer;
|
|
67
|
+
modelType?: string;
|
|
68
|
+
multiModel?: boolean;
|
|
69
|
+
filePaths?: string[];
|
|
70
|
+
themeColor?: ThemeColor;
|
|
71
|
+
topHeight?: number;
|
|
72
|
+
bottomHeight?: number;
|
|
73
|
+
leftWidth?: number;
|
|
74
|
+
rightWidth?: number;
|
|
75
|
+
treePos?: TallPanelPos;
|
|
76
|
+
inspectorPos?: TallPanelPos;
|
|
77
|
+
commentPos?: ToolPos;
|
|
78
|
+
annotationPos?: ToolPos;
|
|
79
|
+
roamPos?: ToolPos;
|
|
80
|
+
navCubePos?: NavCubePos;
|
|
81
|
+
navCubeSize?: number;
|
|
82
|
+
skyboxImg?: HTMLImageElement;
|
|
83
|
+
commentOffset?: Offset;
|
|
84
|
+
measureOffset?: Offset;
|
|
85
|
+
hideTool?: boolean;
|
|
86
|
+
phone?: boolean;
|
|
87
|
+
loadMeta?: boolean;
|
|
88
|
+
showNavCube?: boolean;
|
|
89
|
+
outliersDetect?: boolean;
|
|
90
|
+
backButton?: boolean;
|
|
91
|
+
backgroundColor?: string;
|
|
92
|
+
tree?: boolean;
|
|
93
|
+
reset?: boolean;
|
|
94
|
+
roam?: boolean;
|
|
95
|
+
measure?: boolean;
|
|
96
|
+
section?: boolean;
|
|
97
|
+
comment?: boolean;
|
|
98
|
+
anno?: boolean;
|
|
99
|
+
screenshot?: boolean;
|
|
100
|
+
inspector?: boolean;
|
|
101
|
+
setting?: boolean;
|
|
102
|
+
fullscreen?: boolean;
|
|
103
|
+
navigate?: boolean;
|
|
104
|
+
share?: boolean;
|
|
105
|
+
cooperate?: boolean;
|
|
106
|
+
hidden?: boolean;
|
|
107
|
+
bcf?: boolean;
|
|
108
|
+
mouse?: boolean;
|
|
109
|
+
enjoy?: boolean;
|
|
110
|
+
bcfContent?: BcfContent;
|
|
111
|
+
userInfo?: UserInfo;
|
|
112
|
+
editPrivilege?: EditPrivilege;
|
|
113
|
+
}> & Readonly<{
|
|
64
114
|
onEmitHandler?: ((...args: any[]) => any) | undefined;
|
|
65
115
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
66
116
|
export default _default;
|
|
@@ -1,18 +1,86 @@
|
|
|
1
|
-
|
|
1
|
+
import { InputBCFView } from '@xtctwins/tctwins-bimx-viewer/types/src/toolbar/BCFTool';
|
|
2
|
+
export type userInfo = {
|
|
3
|
+
avatar: string;
|
|
4
|
+
createTime: string;
|
|
5
|
+
updateTime: any;
|
|
6
|
+
email: string;
|
|
7
|
+
inviteId: number;
|
|
8
|
+
inviteUserName: string;
|
|
9
|
+
mobile: string;
|
|
10
|
+
role: number;
|
|
11
|
+
status: number;
|
|
12
|
+
userId: number;
|
|
13
|
+
userName: string;
|
|
14
|
+
self: boolean;
|
|
15
|
+
};
|
|
16
|
+
export type BcfContent = {
|
|
17
|
+
userId: number;
|
|
18
|
+
bcfList: BcfTopicTotal[];
|
|
19
|
+
staffList: userInfo[];
|
|
20
|
+
};
|
|
21
|
+
export type InputComment = {
|
|
22
|
+
guid?: string;
|
|
23
|
+
date: string;
|
|
24
|
+
userId?: number;
|
|
25
|
+
author: string | number;
|
|
26
|
+
comment: string;
|
|
27
|
+
snapshotList?: any[];
|
|
28
|
+
modified_author?: string;
|
|
29
|
+
modified_date?: string;
|
|
30
|
+
viewPoint?: string;
|
|
31
|
+
};
|
|
32
|
+
export type BcfTopicTotal = {
|
|
33
|
+
_id: number;
|
|
34
|
+
fileId: number;
|
|
35
|
+
userId: number;
|
|
36
|
+
guid?: string;
|
|
37
|
+
title: string;
|
|
38
|
+
author: number | string;
|
|
39
|
+
createDate: string;
|
|
40
|
+
index: number;
|
|
41
|
+
priority?: string;
|
|
42
|
+
type?: string;
|
|
43
|
+
stage?: string;
|
|
44
|
+
status?: string;
|
|
45
|
+
labels?: string[] | undefined;
|
|
46
|
+
dueDate?: string;
|
|
47
|
+
assignedTo?: string | number;
|
|
48
|
+
description?: string;
|
|
49
|
+
viewPoints?: InputBCFView[];
|
|
50
|
+
comments?: InputComment[];
|
|
51
|
+
server_assigned_id?: string;
|
|
52
|
+
reference_links?: string[] | undefined;
|
|
53
|
+
modified_date?: string;
|
|
54
|
+
modified_author?: string;
|
|
55
|
+
related_topics?: string[] | undefined;
|
|
56
|
+
};
|
|
57
|
+
export type BcfTopic = {
|
|
58
|
+
guid?: string;
|
|
59
|
+
title: string;
|
|
60
|
+
author: number | string;
|
|
61
|
+
createDate: string;
|
|
62
|
+
index?: number;
|
|
63
|
+
priority?: string;
|
|
64
|
+
type?: string;
|
|
65
|
+
stage?: string;
|
|
66
|
+
status?: string;
|
|
67
|
+
labels?: string[] | undefined;
|
|
68
|
+
dueDate?: string;
|
|
69
|
+
assignedTo?: string | number;
|
|
70
|
+
description?: string;
|
|
71
|
+
viewPoints?: InputBCFView[];
|
|
72
|
+
comments?: InputComment[];
|
|
73
|
+
server_assigned_id?: string;
|
|
74
|
+
reference_links?: string[] | undefined;
|
|
75
|
+
modified_date?: string;
|
|
76
|
+
modified_author?: string;
|
|
77
|
+
related_topics?: string[] | undefined;
|
|
78
|
+
};
|
|
2
79
|
export declare const getPriority: (priority: string) => string;
|
|
3
80
|
export declare const getPriorityCh: (priority: string) => any;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* @param priority - 优先级值(支持中英文:高/high/High、中/middle/Middle、低/low/Low)
|
|
8
|
-
* @param variant - 颜色变体:"default" 默认面板 / "mobile" 移动端 / "text" 文字颜色
|
|
9
|
-
* @returns 对应的十六进制颜色值
|
|
10
|
-
*/
|
|
11
|
-
export declare const getPriorityColor: (priority: string, variant?: "default" | "mobile" | "text") => string;
|
|
12
|
-
/** 移动端优先级颜色(保持向后兼容) */
|
|
13
|
-
export declare const getPriorityColorMobile: (priority: string) => string;
|
|
14
|
-
/** 文字优先级颜色(保持向后兼容) */
|
|
15
|
-
export declare const getPriorityTextColor: (priority: string) => string;
|
|
81
|
+
export declare const getPriorityColor: (priority: string) => "#F54D4D" | "#86B6FF" | "#D5D5D5";
|
|
82
|
+
export declare const getPriorityColorMobile: (priority: string) => "#F54D4D" | "#86B6FF" | "#333333";
|
|
83
|
+
export declare const getPriorityTextColor: (priority: string) => "#F54D4D" | "#86B6FF" | "#262626";
|
|
16
84
|
export declare const getStageColor: (stage: string) => "#F54D4D" | "#00AF50" | "#959595";
|
|
17
85
|
export declare const BCFTYPE: () => any[];
|
|
18
86
|
export declare const BCFPRIORITY: () => any[];
|