@xtctwins/tctwins-bimx-engine 0.1.6 → 0.1.7

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 (57) hide show
  1. package/package.json +3 -2
  2. package/dist/AnnotationTool-C0AaQMB1.mjs +0 -112
  3. package/dist/BIMX_Viewer_Lib.es.js +0 -6
  4. package/dist/BIMX_Viewer_Lib.umd.js +0 -90077
  5. package/dist/CommentTool-CiolqeDj.mjs +0 -196
  6. package/dist/InspectorTool-CA4Md8Dv.mjs +0 -316
  7. package/dist/MeasureTool-C7tExKgB.mjs +0 -1468
  8. package/dist/RoamTool-BFlLmQ3g.mjs +0 -55
  9. package/dist/ScreenShotTool-CdXjMsaO.mjs +0 -368
  10. package/dist/SectionTool-EdTnd_n7.mjs +0 -466
  11. package/dist/SettingTool-6O9M50_O.mjs +0 -1261
  12. package/dist/StructureTree-C8CMDkRw.mjs +0 -1444
  13. package/dist/closeButton.vue_vue_type_style_index_0_scope_true_lang-BW5GVLcB.mjs +0 -52
  14. package/dist/const-DJE8tz9n.mjs +0 -202
  15. package/dist/debounce-DVn6qwoL.mjs +0 -80
  16. package/dist/el-checkbox-B8tlnJ5e.mjs +0 -479
  17. package/dist/el-input-N6A8Q9Ku.mjs +0 -559
  18. package/dist/el-scrollbar-La242VUu.mjs +0 -34
  19. package/dist/icon-CG9NOnu-.mjs +0 -193
  20. package/dist/index-6Heev9CL.mjs +0 -93898
  21. package/dist/index-BmdZn1b0.mjs +0 -286
  22. package/dist/index-hkoByltX.mjs +0 -502
  23. package/dist/index.html +0 -17
  24. package/dist/style.css +0 -1
  25. package/dist/use-form-item-BjyiJRVB.mjs +0 -105
  26. package/types/BIMX_Viewer_Initial/viewerInitial.d.ts +0 -16
  27. package/types/components/BimViewerComponents/AnnotationTool.vue.d.ts +0 -10
  28. package/types/components/BimViewerComponents/CommentTool.vue.d.ts +0 -14
  29. package/types/components/BimViewerComponents/InspectorTool.vue.d.ts +0 -14
  30. package/types/components/BimViewerComponents/MeasureTool.vue.d.ts +0 -12
  31. package/types/components/BimViewerComponents/RoamTool.vue.d.ts +0 -12
  32. package/types/components/BimViewerComponents/ScreenShotTool.vue.d.ts +0 -12
  33. package/types/components/BimViewerComponents/SectionTool.vue.d.ts +0 -6
  34. package/types/components/BimViewerComponents/SettingTool.vue.d.ts +0 -6
  35. package/types/components/BimViewerComponents/StructureTree.vue.d.ts +0 -8
  36. package/types/components/BimViewerComponents/Toolbar.vue.d.ts +0 -12
  37. package/types/components/BimViewerComponents/emptyPage.vue.d.ts +0 -8
  38. package/types/components/BimX_Viewer.vue.d.ts +0 -7
  39. package/types/components/index.d.ts +0 -4
  40. package/types/components/types.d.ts +0 -1
  41. package/types/components/utilsComponents/closeButton.vue.d.ts +0 -41
  42. package/types/index.d.ts +0 -8
  43. package/types/main.d.ts +0 -1
  44. package/types/pages/BIMXViewer.vue.d.ts +0 -6
  45. package/types/pages/mainView.vue.d.ts +0 -7
  46. package/types/router/index.d.ts +0 -2
  47. package/types/services/request/config.d.ts +0 -13
  48. package/types/store/components.d.ts +0 -6
  49. package/types/store/const.d.ts +0 -198
  50. package/types/store/ifcPropertyReflect.d.ts +0 -1
  51. package/types/store/initConfigs.d.ts +0 -47
  52. package/types/store/toolbars.d.ts +0 -95
  53. package/types/store/userInfo.d.ts +0 -45
  54. package/types/utils/OSSHelper.d.ts +0 -5
  55. package/types/utils/eventBus.d.ts +0 -28
  56. package/types/utils/roles.d.ts +0 -1
  57. package/types/utils/splitType.d.ts +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtctwins/tctwins-bimx-engine",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "main": "dist/BIMX_Viewer_Lib.umd.js",
5
5
  "style": "dist/style.css",
6
6
  "module": "dist/BIMX_Viewer_Lib.es.js",
@@ -10,11 +10,12 @@
10
10
  "types"
11
11
  ],
12
12
  "scripts": {
13
+
13
14
  "publish": "npm publish --access public"
14
15
  },
15
16
  "dependencies": {
16
17
  "@element-plus/icons-vue": "^2.3.1",
17
- "@xtctwins/tctwins-bimx-viewer": "^0.1.2",
18
+ "@xtctwins/tctwins-bimx-viewer": "^0.1.4",
18
19
  "ali-oss": "^6.20.0",
19
20
  "element-plus": "^2.7.6",
20
21
  "js-base64": "^3.7.7",
@@ -1,112 +0,0 @@
1
- import { defineComponent as I, ref as r, onMounted as h, openBlock as _, createElementBlock as m, createElementVNode as i, Fragment as k, renderList as C, unref as g, normalizeClass as M, createCommentVNode as $, pushScopeId as S, popScopeId as W } from "vue";
2
- import { S as p, k as X, O as o, n as x } from "./index-6Heev9CL.mjs";
3
- const T = (a) => (S("data-v-5edee21d"), a = a(), W(), a), E = { class: "annotation_component" }, L = {
4
- class: "annotation_toolbar",
5
- id: "annotation_toolbar"
6
- }, H = { class: "annotation_toolbar_wrapper" }, q = { class: "annotation_toolbar_group" }, D = ["onClick", "id"], N = ["src"], O = /* @__PURE__ */ T(() => /* @__PURE__ */ i("div", { class: "tollbar_trangle" }, null, -1)), R = /* @__PURE__ */ T(() => /* @__PURE__ */ i("div", { id: "uploadButton" }, null, -1)), y = /* @__PURE__ */ I({
7
- __name: "AnnotationTool",
8
- emits: ["uploadImage", "clickAnnotation", "emitHandler"],
9
- setup(a, { emit: f }) {
10
- const w = f, e = (n) => {
11
- w("emitHandler", n);
12
- };
13
- let d;
14
- const b = r(), t = r("");
15
- let c;
16
- const s = r();
17
- h(() => {
18
- s.value = p();
19
- });
20
- let A = {
21
- image: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/image_active.png`,
22
- file: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/file_active.png`,
23
- record: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/record_active.png`,
24
- text: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/text_active.png`,
25
- video: `${o}/BIMX_Website/main/mainView/function_icon/annotation_icons/video_active.png`
26
- };
27
- X.on("BimViewer", () => {
28
- d = window.BimViewer.annotationTool, d.setTypeImage(A), e({
29
- isTool: !0,
30
- event_target: "AnnotationTool",
31
- event_name: "annoReady",
32
- content: {
33
- msg: "anno image ready"
34
- }
35
- }), c = window.BimViewer.eventTrigger, c.on("createAnnotation", (n) => {
36
- e({
37
- isTool: !0,
38
- event_target: "AnnotationTool",
39
- event_name: "createAnnotation",
40
- content: {
41
- newAnno: n
42
- }
43
- });
44
- }), c.on("markerClicked", (n) => {
45
- e({
46
- isTool: !0,
47
- event_target: "AnnotationTool",
48
- event_name: "clickAnnotation",
49
- content: {
50
- targetAnno: n
51
- }
52
- });
53
- }), c.on("requestDeleteMarker", (n) => {
54
- e({
55
- isTool: !0,
56
- event_target: "AnnotationTool",
57
- event_name: "requestDelAnno",
58
- content: {
59
- msg: "请求删除指定标注",
60
- annoId: n
61
- }
62
- });
63
- });
64
- });
65
- const B = (n) => {
66
- t.value === n ? t.value = "" : (V(n), t.value = n);
67
- }, u = (n) => {
68
- window.BimViewer.annotationTool.setEnabled(n);
69
- }, V = (n) => {
70
- s.value && (s.value[n] ? (u(!0), window.BimViewer.annotationTool.setCurrentType(n), e({
71
- isTool: !0,
72
- event_target: "AnnotationTool",
73
- event_name: "clickAnnoTool",
74
- content: {
75
- tool_type: n,
76
- enable: t.value == n
77
- }
78
- })) : (b.value.openMask(), u(!1), e({
79
- isTool: !0,
80
- event_target: "AnnotationTool",
81
- event_name: "clickAnnoTool",
82
- content: {
83
- tool_type: n,
84
- enable: !1
85
- }
86
- })));
87
- };
88
- return (n, z) => (_(), m("div", E, [
89
- i("div", L, [
90
- i("div", H, [
91
- i("div", q, [
92
- (_(!0), m(k, null, C(g(p)(), (v, l) => (_(), m("button", {
93
- onClick: (F) => B(l),
94
- class: M(["annotation_tool_btn", { active: t.value === l }]),
95
- id: `annotation_tool_btn_${l}`
96
- }, [
97
- $("", !0),
98
- i("img", {
99
- src: `${g(o)}/BIMX_Website/main/mainView/function_icon/annotation_icons/${t.value !== l ? v.img : v.img_active}.png`
100
- }, null, 8, N)
101
- ], 10, D))), 256))
102
- ])
103
- ]),
104
- O
105
- ]),
106
- R
107
- ]));
108
- }
109
- }), G = /* @__PURE__ */ x(y, [["__scopeId", "data-v-5edee21d"]]);
110
- export {
111
- G as default
112
- };
@@ -1,6 +0,0 @@
1
- import { ai as e, aj as r, ak as s } from "./index-6Heev9CL.mjs";
2
- export {
3
- e as BIMXViewer,
4
- r as InitialViewer,
5
- s as InitializeConfigs
6
- };