@xtctwins/tctwins-bimx-engine 0.2.13 → 0.2.14

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 (38) hide show
  1. package/dist/{AnnotationTool-h6kLP4-J.mjs → AnnotationTool-CwaFYuqV.mjs} +26 -26
  2. package/dist/BIMX_Viewer_Lib.es.js +2 -2
  3. package/dist/BIMX_Viewer_Lib.umd.js +153 -151
  4. package/dist/{CommentTool-fEkFa5a4.mjs → CommentTool-OYjw2kUU.mjs} +32 -32
  5. package/dist/{HiddenTool-CHEX-LN8.mjs → HiddenTool-CbYRKfVy.mjs} +8 -8
  6. package/dist/{InspectorTool-Dp0nln8M.mjs → InspectorTool-BCxU5Yh4.mjs} +24 -24
  7. package/dist/{MeasureTool-CIPDVGJ2.mjs → MeasureTool-Dd40ZBiN.mjs} +35 -35
  8. package/dist/{NavigateTool-BTg74q73.mjs → NavigateTool-BSPx7ARu.mjs} +1 -1
  9. package/dist/{RoamTool-b-iVvgOg.mjs → RoamTool-D2nRKx_s.mjs} +19 -19
  10. package/dist/ScreenShotTool-BhD1Rd3c.mjs +357 -0
  11. package/dist/{SectionTool-BmaWUeLw.mjs → SectionTool-Bnr9LzXM.mjs} +29 -29
  12. package/dist/{SettingTool-WjB-y_2N.mjs → SettingTool-DSQpuvjZ.mjs} +113 -113
  13. package/dist/{StructureTree-fQGdtbdW.mjs → StructureTree-C1MGOHIs.mjs} +241 -232
  14. package/dist/{alert-Byx6QRux.mjs → alert-DQu7d6Ye.mjs} +1 -1
  15. package/dist/el-input-number-rXbj0ATn.mjs +858 -0
  16. package/dist/{index-DUCjdjwm.mjs → index-BuukvE1n.mjs} +46602 -44491
  17. package/dist/{panel.vue_vue_type_style_index_0_lang-DN1hWNk5.mjs → panel.vue_vue_type_style_index_0_lang-DoWNnmu1.mjs} +1 -1
  18. package/dist/style.css +1 -1
  19. package/dist/{tallPanel-CmihOwoA.mjs → tallPanel-esnKA-2e.mjs} +12 -12
  20. package/package.json +2 -2
  21. package/types/components/MobileBCFComponents/MobileBCFAdd.vue.d.ts +29 -0
  22. package/types/components/MobileBCFComponents/MobileBCFDetail.vue.d.ts +27 -0
  23. package/types/components/MobileBCFComponents/MobileBCFDisplayList.vue.d.ts +14 -0
  24. package/types/components/MobileBCFComponents/MobileBCFFilter.vue.d.ts +6 -0
  25. package/types/components/MobileBCFComponents/MobileBCFTool.vue.d.ts +20 -0
  26. package/types/components/{BCFComponents/BCFCommentNew.vue.d.ts → MobileBCFComponents/MobileCommentInput.vue.d.ts} +14 -8
  27. package/types/components/MobileBCFComponents/MobileCommentsView.vue.d.ts +19 -0
  28. package/types/components/MobileBCFComponents/selectPanel.vue.d.ts +14 -0
  29. package/types/components/utilsComponents/closeButton_dark.vue.d.ts +32 -0
  30. package/types/services/request/api.d.ts +3 -0
  31. package/types/services/request/index.d.ts +14 -0
  32. package/types/services/request/types.d.ts +12 -0
  33. package/types/store/bcfReflect.d.ts +2 -0
  34. package/types/store/components.d.ts +6 -0
  35. package/types/tests/bcf.d.ts +8 -0
  36. package/dist/ScreenShotTool-Cei3hiGn.mjs +0 -357
  37. package/dist/el-input-number-6wp_0Clc.mjs +0 -818
  38. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
@@ -1,10 +1,10 @@
1
- import { n as g, o as t, T as i, y, z as x, v as S, x as b } from "./index-DUCjdjwm.mjs";
2
- import { defineComponent as k, ref as u, onMounted as P, watch as w, openBlock as _, createElementBlock as f, normalizeStyle as W, createElementVNode as o, toDisplayString as C, createVNode as T, unref as h, renderSlot as N, createCommentVNode as E } from "vue";
3
- const $ = { class: "tall_panel_content" }, B = { class: "panel_top" }, H = { class: "panel_title" }, L = { class: "panel_close" }, z = { class: "panel_content" }, M = {
1
+ import { q as g, t, T as i, B as y, C as x, z as S, A as b } from "./index-BuukvE1n.mjs";
2
+ import { defineComponent as k, ref as u, onMounted as P, watch as w, openBlock as _, createElementBlock as f, normalizeStyle as C, createElementVNode as o, toDisplayString as W, createVNode as T, unref as h, renderSlot as N, createCommentVNode as B } from "vue";
3
+ const E = { class: "tall_panel_content" }, $ = { class: "panel_top" }, H = { class: "panel_title" }, L = { class: "panel_close" }, z = { class: "panel_content" }, A = {
4
4
  key: 0,
5
5
  class: "width-set",
6
6
  id: "lineWidthSet"
7
- }, V = /* @__PURE__ */ k({
7
+ }, M = /* @__PURE__ */ k({
8
8
  __name: "tallPanel",
9
9
  props: {
10
10
  panelTitle: {
@@ -54,11 +54,11 @@ const $ = { class: "tall_panel_content" }, B = { class: "panel_top" }, H = { cla
54
54
  ref: n,
55
55
  class: "tall_panel_wrapper",
56
56
  id: "tall_panel_wrapper",
57
- style: W({ width: l.value.toString() + "px" })
57
+ style: C({ width: l.value.toString() + "px" })
58
58
  }, [
59
- o("div", $, [
60
- o("div", B, [
61
- o("div", H, C(a.panelTitle), 1),
59
+ o("div", E, [
60
+ o("div", $, [
61
+ o("div", H, W(a.panelTitle), 1),
62
62
  o("div", L, [
63
63
  T(v, {
64
64
  width: 18,
@@ -72,13 +72,13 @@ const $ = { class: "tall_panel_content" }, B = { class: "panel_top" }, H = { cla
72
72
  N(e.$slots, "default", {}, void 0, !0)
73
73
  ])
74
74
  ]),
75
- a.setWidth ? (_(), f("div", M, s[0] || (s[0] = [
75
+ a.setWidth ? (_(), f("div", A, s[0] || (s[0] = [
76
76
  o("div", { class: "set-line" }, null, -1)
77
- ]))) : E("", !0)
77
+ ]))) : B("", !0)
78
78
  ], 4);
79
79
  };
80
80
  }
81
- }), D = /* @__PURE__ */ b(V, [["__scopeId", "data-v-cacd0bce"]]);
81
+ }), q = /* @__PURE__ */ b(M, [["__scopeId", "data-v-cacd0bce"]]);
82
82
  export {
83
- D as _
83
+ q as _
84
84
  };
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@xtctwins/tctwins-bimx-engine",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "main": "dist/BIMX_Viewer_Lib.umd.js",
5
5
  "style": "dist/style.css",
6
6
  "module": "dist/BIMX_Viewer_Lib.es.js",
7
7
  "types": "types/index.d.ts",
8
- "packageManager": "yarn@4.3.1",
8
+ "packageManager": "yarn@4.5.3",
9
9
  "files": [
10
10
  "dist",
11
11
  "types"
@@ -0,0 +1,29 @@
1
+ import { BcfTopic, BcfTopicTotal } from '../../store/bcfReflect';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ bcfId: number;
4
+ userId: number;
5
+ mode?: "add" | "edit";
6
+ bcfContent?: BcfTopic | BcfTopicTotal;
7
+ bcfList: BcfTopicTotal[];
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ closePanel: (...args: any[]) => void;
10
+ imageZoomIn: (...args: any[]) => void;
11
+ closeAdd: (...args: any[]) => void;
12
+ submitBcf: (...args: any[]) => void;
13
+ updateBcf: (...args: any[]) => void;
14
+ bcfScreenshot: (...args: any[]) => void;
15
+ }, string, import('vue').PublicProps, Readonly<{
16
+ bcfId: number;
17
+ userId: number;
18
+ mode?: "add" | "edit";
19
+ bcfContent?: BcfTopic | BcfTopicTotal;
20
+ bcfList: BcfTopicTotal[];
21
+ }> & Readonly<{
22
+ onClosePanel?: ((...args: any[]) => any) | undefined;
23
+ onImageZoomIn?: ((...args: any[]) => any) | undefined;
24
+ onCloseAdd?: ((...args: any[]) => any) | undefined;
25
+ onSubmitBcf?: ((...args: any[]) => any) | undefined;
26
+ onUpdateBcf?: ((...args: any[]) => any) | undefined;
27
+ onBcfScreenshot?: ((...args: any[]) => any) | undefined;
28
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { BcfTopicTotal } from '../../store/bcfReflect';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ bcfId: number;
4
+ userId: number;
5
+ bcfList: BcfTopicTotal[];
6
+ bcfContent: BcfTopicTotal;
7
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ emitHandler: (...args: any[]) => void;
9
+ editBcf: (...args: any[]) => void;
10
+ imageZoomIn: (...args: any[]) => void;
11
+ updateBcf: (...args: any[]) => void;
12
+ closeDetail: (...args: any[]) => void;
13
+ bcfScreenshot: (...args: any[]) => void;
14
+ }, string, import('vue').PublicProps, Readonly<{
15
+ bcfId: number;
16
+ userId: number;
17
+ bcfList: BcfTopicTotal[];
18
+ bcfContent: BcfTopicTotal;
19
+ }> & Readonly<{
20
+ onEmitHandler?: ((...args: any[]) => any) | undefined;
21
+ onEditBcf?: ((...args: any[]) => any) | undefined;
22
+ onImageZoomIn?: ((...args: any[]) => any) | undefined;
23
+ onUpdateBcf?: ((...args: any[]) => any) | undefined;
24
+ onCloseDetail?: ((...args: any[]) => any) | undefined;
25
+ onBcfScreenshot?: ((...args: any[]) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { BcfTopicTotal } from '../../store/bcfReflect';
2
+ import { InstructionContent } from '../../utils/eventBus';
3
+ declare const _default: import('vue').DefineComponent<{
4
+ instruction?: InstructionContent | undefined;
5
+ bcfList: BcfTopicTotal[];
6
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ checkBcfDetail: (...args: any[]) => void;
8
+ }, string, import('vue').PublicProps, Readonly<{
9
+ instruction?: InstructionContent | undefined;
10
+ bcfList: BcfTopicTotal[];
11
+ }> & Readonly<{
12
+ onCheckBcfDetail?: ((...args: any[]) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {
2
+ open: (option: any) => void;
3
+ close: () => void;
4
+ refresh: () => void;
5
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { InstructionContent } from '../../utils/eventBus';
2
+ import { BcfTopicTotal } from '../../store/bcfReflect';
3
+ declare const _default: import('vue').DefineComponent<{
4
+ instruction?: InstructionContent | undefined;
5
+ bcfList: BcfTopicTotal[];
6
+ userId: number;
7
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ closePanel: (...args: any[]) => void;
9
+ emitHandler: (...args: any[]) => void;
10
+ bcfScreenshot: (...args: any[]) => void;
11
+ }, string, import('vue').PublicProps, Readonly<{
12
+ instruction?: InstructionContent | undefined;
13
+ bcfList: BcfTopicTotal[];
14
+ userId: number;
15
+ }> & Readonly<{
16
+ onClosePanel?: ((...args: any[]) => any) | undefined;
17
+ onEmitHandler?: ((...args: any[]) => any) | undefined;
18
+ onBcfScreenshot?: ((...args: any[]) => any) | undefined;
19
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ export default _default;
@@ -1,22 +1,28 @@
1
1
  declare const _default: import('vue').DefineComponent<{
2
- bcfId: number;
3
- author: string;
4
- commentId?: string;
2
+ userId: number;
3
+ commentGuid?: string;
5
4
  oldComment?: string;
5
+ snapshotList?: any[];
6
6
  mode: "add" | "update";
7
7
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
8
  cancel: (...args: any[]) => void;
9
- updateComment: (...args: any[]) => void;
9
+ imageZoomIn: (...args: any[]) => void;
10
+ bcfScreenshot: (...args: any[]) => void;
10
11
  submitComment: (...args: any[]) => void;
12
+ updateComment: (...args: any[]) => void;
13
+ addViewPoint: (...args: any[]) => void;
11
14
  }, string, import('vue').PublicProps, Readonly<{
12
- bcfId: number;
13
- author: string;
14
- commentId?: string;
15
+ userId: number;
16
+ commentGuid?: string;
15
17
  oldComment?: string;
18
+ snapshotList?: any[];
16
19
  mode: "add" | "update";
17
20
  }> & Readonly<{
18
21
  onCancel?: ((...args: any[]) => any) | undefined;
19
- onUpdateComment?: ((...args: any[]) => any) | undefined;
22
+ onImageZoomIn?: ((...args: any[]) => any) | undefined;
23
+ onBcfScreenshot?: ((...args: any[]) => any) | undefined;
20
24
  onSubmitComment?: ((...args: any[]) => any) | undefined;
25
+ onUpdateComment?: ((...args: any[]) => any) | undefined;
26
+ onAddViewPoint?: ((...args: any[]) => any) | undefined;
21
27
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
28
  export default _default;
@@ -0,0 +1,19 @@
1
+ import { InputComment } from '../../store/bcfReflect';
2
+ declare const _default: import('vue').DefineComponent<{
3
+ userId: number;
4
+ commentList: InputComment[] | undefined;
5
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ bcfScreenshot: (...args: any[]) => void;
7
+ deleteComment: (...args: any[]) => void;
8
+ updateComment: (...args: any[]) => void;
9
+ addViewPoint: (...args: any[]) => void;
10
+ }, string, import('vue').PublicProps, Readonly<{
11
+ userId: number;
12
+ commentList: InputComment[] | undefined;
13
+ }> & Readonly<{
14
+ onBcfScreenshot?: ((...args: any[]) => any) | undefined;
15
+ onDeleteComment?: ((...args: any[]) => any) | undefined;
16
+ onUpdateComment?: ((...args: any[]) => any) | undefined;
17
+ onAddViewPoint?: ((...args: any[]) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ export default _default;
@@ -0,0 +1,14 @@
1
+ declare const _default: import('vue').DefineComponent<{
2
+ title: string;
3
+ items: string[];
4
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ select: (...args: any[]) => void;
6
+ closePanel: (...args: any[]) => void;
7
+ }, string, import('vue').PublicProps, Readonly<{
8
+ title: string;
9
+ items: string[];
10
+ }> & Readonly<{
11
+ onSelect?: ((...args: any[]) => any) | undefined;
12
+ onClosePanel?: ((...args: any[]) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,32 @@
1
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
+ width: {
3
+ type: NumberConstructor;
4
+ default: number;
5
+ };
6
+ sizeType: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ clickHandle: {
11
+ type: FunctionConstructor;
12
+ default: () => void;
13
+ };
14
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
15
+ width: {
16
+ type: NumberConstructor;
17
+ default: number;
18
+ };
19
+ sizeType: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ clickHandle: {
24
+ type: FunctionConstructor;
25
+ default: () => void;
26
+ };
27
+ }>> & Readonly<{}>, {
28
+ width: number;
29
+ clickHandle: Function;
30
+ sizeType: string;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { default as MyRequest } from './index';
2
+ declare const $api: MyRequest;
3
+ export default $api;
@@ -0,0 +1,14 @@
1
+ import { AxiosInstance } from 'axios';
2
+ import { MyRequestConfig, MyRequestIntercepts } from './types';
3
+ declare class MyRequest {
4
+ instance: AxiosInstance;
5
+ intercepts?: MyRequestIntercepts;
6
+ constructor(config: any);
7
+ request<T>(config: MyRequestConfig<T>): Promise<T>;
8
+ get<T = any>(config: MyRequestConfig<T>): Promise<T>;
9
+ post<T = any>(config: MyRequestConfig<T>): Promise<T>;
10
+ put<T = any>(config: MyRequestConfig<T>): Promise<T>;
11
+ delete<T = any>(config: MyRequestConfig<T>): Promise<T>;
12
+ patch<T = any>(config: MyRequestConfig<T>): Promise<T>;
13
+ }
14
+ export default MyRequest;
@@ -0,0 +1,12 @@
1
+ import { AxiosRequestConfig, AxiosResponse } from 'axios';
2
+ interface MyRequestIntercepts<T = AxiosResponse> {
3
+ requestHook?: (config: AxiosRequestConfig) => AxiosRequestConfig;
4
+ requestHookCatch?: (error: any) => any;
5
+ responseHook?: (config: T) => T;
6
+ responseHookCatch?: (error: any) => any;
7
+ }
8
+ interface MyRequestConfig<T = AxiosResponse> extends AxiosRequestConfig {
9
+ intercepts?: MyRequestIntercepts<T>;
10
+ showLoading?: boolean;
11
+ }
12
+ export type { MyRequestConfig, MyRequestIntercepts };
@@ -24,6 +24,7 @@ export type InputComment = {
24
24
  userId?: number;
25
25
  author: string | number;
26
26
  comment: string;
27
+ snapshotList?: any[];
27
28
  modified_author?: string;
28
29
  modified_date?: string;
29
30
  viewPoint?: string;
@@ -78,6 +79,7 @@ export type BcfTopic = {
78
79
  export declare const getPriority: (priority: string) => string;
79
80
  export declare const getPriorityCh: (priority: string) => string;
80
81
  export declare const getPriorityColor: (priority: string) => "#F54D4D" | "#86B6FF" | "#D5D5D5";
82
+ export declare const getPriorityColorMobile: (priority: string) => "#F54D4D" | "#86B6FF" | "#333333";
81
83
  export declare const getPriorityTextColor: (priority: string) => "#F54D4D" | "#86B6FF" | "#262626";
82
84
  export declare const getStageColor: (stage: string) => "#F54D4D" | "#00AF50" | "#959595";
83
85
  export declare const BCFTYPE: string[];
@@ -0,0 +1,6 @@
1
+ export declare const useComponentStore: import('pinia').StoreDefinition<"componentStore", {
2
+ activeComponents: any;
3
+ }, {}, {
4
+ addComponent(componentName: string, props: any): void;
5
+ removeComponent(componentName: string): void;
6
+ }>;
@@ -0,0 +1,8 @@
1
+ export declare const apiLogin: (name: any, pwd: any) => Promise<any>;
2
+ export declare const createBcf: (fileId: number, content: any) => Promise<any>;
3
+ export declare const getBCFList: (fileId?: number) => Promise<any>;
4
+ export declare const BCFDetail: (guid: string) => Promise<any>;
5
+ export declare const DeleteBCF: (guid: string) => Promise<any>;
6
+ export declare const ModifyBCF: (guid: any, bcf: any) => Promise<any>;
7
+ export declare const MemberList: (projectId: any, keword?: string) => Promise<any>;
8
+ export declare const getFileDetail: (fileId: number) => Promise<any>;