@xtctwins/tctwins-bimx-engine 0.1.21 → 0.1.22

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 (36) hide show
  1. package/dist/{AnnotationTool-BvFG1vTX.mjs → AnnotationTool-CgiAUuLM.mjs} +12 -12
  2. package/dist/BIMX_Viewer_Lib.es.js +4 -4
  3. package/dist/BIMX_Viewer_Lib.umd.js +86 -91
  4. package/dist/CommentTool-BeT1ECI-.mjs +338 -0
  5. package/dist/HiddenTool-qqISJ_uV.mjs +58 -0
  6. package/dist/InspectorTool-CLPjV6WW.mjs +609 -0
  7. package/dist/MeasureTool-Be-rmUeb.mjs +1540 -0
  8. package/dist/{NavigateTool-CCIb1X4u.mjs → NavigateTool-C-VsKB0k.mjs} +7 -7
  9. package/dist/{RoamTool-B1w0efz8.mjs → RoamTool-DdHBNeVg.mjs} +20 -20
  10. package/dist/{ScreenShotTool-BviRVFSg.mjs → ScreenShotTool-Da7D2dkW.mjs} +67 -67
  11. package/dist/SectionTool-CHcmUQul.mjs +624 -0
  12. package/dist/SettingTool-CkR1F4x_.mjs +525 -0
  13. package/dist/StructureTree-DBu9xTue.mjs +1438 -0
  14. package/dist/{debounce-Cg3LHv0T.mjs → debounce-DLzt_q3i.mjs} +13 -13
  15. package/dist/{el-checkbox-lp8vWAXQ.mjs → el-checkbox-DsUGOsl_.mjs} +46 -46
  16. package/dist/{el-input-Bwqgf3wZ.mjs → el-input-UdjCNTtW.mjs} +66 -68
  17. package/dist/{el-input-number-0OWyX276.mjs → el-input-number-ySU-dVGM.mjs} +75 -75
  18. package/dist/{index-CQ8depiU.mjs → index-BfLgpvcd.mjs} +3 -3
  19. package/dist/{index-CYEu_kT4.mjs → index-DQKkZiNH.mjs} +1 -1
  20. package/dist/{index-DX-eYsBm.mjs → index-DyFDTMAw.mjs} +1795 -1794
  21. package/dist/{isEqual-Bg-tyY30.mjs → isEqual-BWlMaoTp.mjs} +9 -9
  22. package/dist/panel.vue_vue_type_style_index_0_lang-ZCDiwNFo.mjs +96 -0
  23. package/dist/style.css +1 -1
  24. package/dist/tallPanel-Cz_n6AsB.mjs +49 -0
  25. package/package.json +1 -1
  26. package/types/components/utilsComponents/tallPanel.vue.d.ts +41 -0
  27. package/types/services/fileApi/fileManager.d.ts +5 -5
  28. package/types/store/themeManager.d.ts +1 -1
  29. package/dist/CommentTool-B6ruuuGV.mjs +0 -338
  30. package/dist/HiddenTool-DW-lRdW5.mjs +0 -58
  31. package/dist/InspectorTool-Cc288ySp.mjs +0 -515
  32. package/dist/MeasureTool-DdfM3U_3.mjs +0 -1542
  33. package/dist/SectionTool-jSjWX32j.mjs +0 -630
  34. package/dist/SettingTool-CVMZAx2H.mjs +0 -536
  35. package/dist/StructureTree-4OCdRRPG.mjs +0 -2672
  36. package/dist/panel.vue_vue_type_style_index_0_scope_true_lang-BfE1I0S9.mjs +0 -82
@@ -1,630 +0,0 @@
1
- import { _ as j, a as A, X as U, Q as k, d as I, Y as we, u as ke, Z as Se, T as Ce, $ as $e, w as Ee, O as m, x as Ie, p as Te, q as L, s as J, v as Be } from "./index-DX-eYsBm.mjs";
2
- import { E as Pe } from "./el-input-number-0OWyX276.mjs";
3
- import { a as Ne } from "./el-input-Bwqgf3wZ.mjs";
4
- import { _ as Le, a as Oe } from "./panel.vue_vue_type_style_index_0_scope_true_lang-BfE1I0S9.mjs";
5
- import { defineComponent as O, renderSlot as x, ref as w, provide as W, inject as Ve, onMounted as te, unref as s, onBeforeUnmount as ze, computed as z, openBlock as c, createBlock as oe, mergeProps as xe, withCtx as T, createElementBlock as v, normalizeClass as K, toDisplayString as E, createCommentVNode as X, createTextVNode as ne, watch as ie, createElementVNode as o, normalizeStyle as Z, createVNode as $, Fragment as G, renderList as Q } from "vue";
6
- import { B as Ae } from "./const-CbUmfuHy.mjs";
7
- const Me = /* @__PURE__ */ O({
8
- inheritAttrs: !1
9
- });
10
- function De(r, a, p, l, h, _) {
11
- return x(r.$slots, "default");
12
- }
13
- var Re = /* @__PURE__ */ j(Me, [["render", De], ["__file", "collection.vue"]]);
14
- const Ue = /* @__PURE__ */ O({
15
- name: "ElCollectionItem",
16
- inheritAttrs: !1
17
- });
18
- function je(r, a, p, l, h, _) {
19
- return x(r.$slots, "default");
20
- }
21
- var Ke = /* @__PURE__ */ j(Ue, [["render", je], ["__file", "collection-item.vue"]]);
22
- const Fe = "data-el-collection-item", He = (r) => {
23
- const a = `El${r}Collection`, p = `${a}Item`, l = Symbol(a), h = Symbol(p), _ = {
24
- ...Re,
25
- name: a,
26
- setup() {
27
- const f = w(null), y = /* @__PURE__ */ new Map();
28
- W(l, {
29
- itemMap: y,
30
- getItems: () => {
31
- const g = s(f);
32
- if (!g)
33
- return [];
34
- const b = Array.from(g.querySelectorAll(`[${Fe}]`));
35
- return [...y.values()].sort((P, d) => b.indexOf(P.ref) - b.indexOf(d.ref));
36
- },
37
- collectionRef: f
38
- });
39
- }
40
- }, S = {
41
- ...Ke,
42
- name: p,
43
- setup(f, { attrs: y }) {
44
- const u = w(null), g = Ve(l, void 0);
45
- W(h, {
46
- collectionItemRef: u
47
- }), te(() => {
48
- const b = s(u);
49
- b && g.itemMap.set(b, {
50
- ref: b,
51
- ...y
52
- });
53
- }), ze(() => {
54
- const b = s(u);
55
- g.itemMap.delete(b);
56
- });
57
- }
58
- };
59
- return {
60
- COLLECTION_INJECTION_KEY: l,
61
- COLLECTION_ITEM_INJECTION_KEY: h,
62
- ElCollection: _,
63
- ElCollectionItem: S
64
- };
65
- }, R = A({
66
- trigger: U.trigger,
67
- effect: {
68
- ...k.effect,
69
- default: "light"
70
- },
71
- type: {
72
- type: I(String)
73
- },
74
- placement: {
75
- type: I(String),
76
- default: "bottom"
77
- },
78
- popperOptions: {
79
- type: I(Object),
80
- default: () => ({})
81
- },
82
- id: String,
83
- size: {
84
- type: String,
85
- default: ""
86
- },
87
- splitButton: Boolean,
88
- hideOnClick: {
89
- type: Boolean,
90
- default: !0
91
- },
92
- loop: {
93
- type: Boolean,
94
- default: !0
95
- },
96
- showTimeout: {
97
- type: Number,
98
- default: 150
99
- },
100
- hideTimeout: {
101
- type: Number,
102
- default: 150
103
- },
104
- tabindex: {
105
- type: I([Number, String]),
106
- default: 0
107
- },
108
- maxHeight: {
109
- type: I([Number, String]),
110
- default: ""
111
- },
112
- popperClass: {
113
- type: String,
114
- default: ""
115
- },
116
- disabled: Boolean,
117
- role: {
118
- type: String,
119
- default: "menu"
120
- },
121
- buttonProps: {
122
- type: I(Object)
123
- },
124
- teleported: k.teleported
125
- });
126
- A({
127
- command: {
128
- type: [Object, String, Number],
129
- default: () => ({})
130
- },
131
- disabled: Boolean,
132
- divided: Boolean,
133
- textValue: String,
134
- icon: {
135
- type: Ne
136
- }
137
- });
138
- A({
139
- onKeydown: { type: I(Function) }
140
- });
141
- He("Dropdown");
142
- const Ye = A({
143
- trigger: U.trigger,
144
- placement: R.placement,
145
- disabled: U.disabled,
146
- visible: k.visible,
147
- transition: k.transition,
148
- popperOptions: R.popperOptions,
149
- tabindex: R.tabindex,
150
- content: k.content,
151
- popperStyle: k.popperStyle,
152
- popperClass: k.popperClass,
153
- enterable: {
154
- ...k.enterable,
155
- default: !0
156
- },
157
- effect: {
158
- ...k.effect,
159
- default: "light"
160
- },
161
- teleported: k.teleported,
162
- title: String,
163
- width: {
164
- type: [String, Number],
165
- default: 150
166
- },
167
- offset: {
168
- type: Number,
169
- default: void 0
170
- },
171
- showAfter: {
172
- type: Number,
173
- default: 0
174
- },
175
- hideAfter: {
176
- type: Number,
177
- default: 200
178
- },
179
- autoClose: {
180
- type: Number,
181
- default: 0
182
- },
183
- showArrow: {
184
- type: Boolean,
185
- default: !0
186
- },
187
- persistent: {
188
- type: Boolean,
189
- default: !0
190
- },
191
- "onUpdate:visible": {
192
- type: Function
193
- }
194
- }), qe = {
195
- "update:visible": (r) => we(r),
196
- "before-enter": () => !0,
197
- "before-leave": () => !0,
198
- "after-enter": () => !0,
199
- "after-leave": () => !0
200
- }, Je = "onUpdate:visible", We = O({
201
- name: "ElPopover"
202
- }), Xe = /* @__PURE__ */ O({
203
- ...We,
204
- props: Ye,
205
- emits: qe,
206
- setup(r, { expose: a, emit: p }) {
207
- const l = r, h = z(() => l[Je]), _ = ke("popover"), S = w(), f = z(() => {
208
- var t;
209
- return (t = s(S)) == null ? void 0 : t.popperRef;
210
- }), y = z(() => [
211
- {
212
- width: Se(l.width)
213
- },
214
- l.popperStyle
215
- ]), u = z(() => [_.b(), l.popperClass, { [_.m("plain")]: !!l.content }]), g = z(() => l.transition === `${_.namespace.value}-fade-in-linear`), b = () => {
216
- var t;
217
- (t = S.value) == null || t.hide();
218
- }, B = () => {
219
- p("before-enter");
220
- }, P = () => {
221
- p("before-leave");
222
- }, d = () => {
223
- p("after-enter");
224
- }, C = () => {
225
- p("update:visible", !1), p("after-leave");
226
- };
227
- return a({
228
- popperRef: f,
229
- hide: b
230
- }), (t, N) => (c(), oe(s(Ce), xe({
231
- ref_key: "tooltipRef",
232
- ref: S
233
- }, t.$attrs, {
234
- trigger: t.trigger,
235
- placement: t.placement,
236
- disabled: t.disabled,
237
- visible: t.visible,
238
- transition: t.transition,
239
- "popper-options": t.popperOptions,
240
- tabindex: t.tabindex,
241
- content: t.content,
242
- offset: t.offset,
243
- "show-after": t.showAfter,
244
- "hide-after": t.hideAfter,
245
- "auto-close": t.autoClose,
246
- "show-arrow": t.showArrow,
247
- "aria-label": t.title,
248
- effect: t.effect,
249
- enterable: t.enterable,
250
- "popper-class": s(u),
251
- "popper-style": s(y),
252
- teleported: t.teleported,
253
- persistent: t.persistent,
254
- "gpu-acceleration": s(g),
255
- "onUpdate:visible": s(h),
256
- onBeforeShow: B,
257
- onBeforeHide: P,
258
- onShow: d,
259
- onHide: C
260
- }), {
261
- content: T(() => [
262
- t.title ? (c(), v("div", {
263
- key: 0,
264
- class: K(s(_).e("title")),
265
- role: "title"
266
- }, E(t.title), 3)) : X("v-if", !0),
267
- x(t.$slots, "default", {}, () => [
268
- ne(E(t.content), 1)
269
- ])
270
- ]),
271
- default: T(() => [
272
- t.$slots.reference ? x(t.$slots, "reference", { key: 0 }) : X("v-if", !0)
273
- ]),
274
- _: 3
275
- }, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration", "onUpdate:visible"]));
276
- }
277
- });
278
- var Ze = /* @__PURE__ */ j(Xe, [["__file", "popover.vue"]]);
279
- const ee = (r, a) => {
280
- const p = a.arg || a.value, l = p == null ? void 0 : p.popperRef;
281
- l && (l.triggerRef = r);
282
- };
283
- var Ge = {
284
- mounted(r, a) {
285
- ee(r, a);
286
- },
287
- updated(r, a) {
288
- ee(r, a);
289
- }
290
- };
291
- const Qe = "popover", et = $e(Ge, Qe), tt = Ee(Ze, {
292
- directive: et
293
- }), ot = { class: "empty" }, nt = ["src"], it = { class: "title" }, st = /* @__PURE__ */ O({
294
- __name: "emptyPage",
295
- props: {
296
- title: String,
297
- type: String
298
- },
299
- setup(r) {
300
- const a = r, p = w("这里空空的,快去上传文件吧~");
301
- return ie(a, (l) => {
302
- p.value = l.title || "这里空空的,快去上传文件吧~";
303
- }), (l, h) => (c(), v("div", ot, [
304
- o("img", {
305
- class: K(["img1", { img1: a.type === "model" }]),
306
- src: s(m) + "/bimkk-app/pinapp-empty-box.png",
307
- alt: ""
308
- }, null, 10, nt),
309
- o("div", it, E(r.title), 1)
310
- ]));
311
- }
312
- }), lt = /* @__PURE__ */ Ie(st, [["__scopeId", "data-v-3f1f6a46"]]), rt = { class: "section_panel_middle" }, ct = ["src"], at = { class: "popover-class" }, dt = ["onClick"], pt = ["onClick"], ut = { class: "cont_item_left" }, vt = ["src", "onClick"], ft = ["src", "onClick"], mt = { class: "cont_item_right" }, _t = ["src", "onClick"], gt = ["src", "onClick"], bt = ["src", "onClick"], ht = {
313
- key: 1,
314
- class: "empty1"
315
- }, yt = {
316
- key: 1,
317
- class: "mobile_section_panel"
318
- }, wt = { class: "slicing-title-box" }, kt = /* @__PURE__ */ o("div", { class: "slicing-title" }, "剖切", -1), St = { class: "slicing-title-icon" }, Ct = { class: "slicing-content-box" }, $t = { class: "slicing-select-box" }, Et = { class: "select-item" }, It = { class: "select-item-left" }, Tt = ["src"], Bt = ["src"], Pt = { class: "select-item-center" }, Nt = { class: "item-center-top" }, Lt = /* @__PURE__ */ o("div", null, "X轴", -1), Ot = { class: "item-center-bottom" }, Vt = { class: "select-item" }, zt = { class: "select-item-left" }, xt = ["src"], At = ["src"], Mt = { class: "select-item-center" }, Dt = { class: "item-center-top" }, Rt = /* @__PURE__ */ o("div", null, "Y轴", -1), Ut = { class: "item-center-bottom" }, jt = { class: "select-item" }, Kt = { class: "select-item-left" }, Ft = ["src"], Ht = ["src"], Yt = { class: "select-item-center" }, qt = { class: "item-center-top" }, Jt = /* @__PURE__ */ o("div", null, "Z轴", -1), Wt = { class: "item-center-bottom" }, oo = /* @__PURE__ */ O({
319
- __name: "SectionTool",
320
- props: ["componentId"],
321
- emits: ["closePanel"],
322
- setup(r, { emit: a }) {
323
- const p = Te(), l = r, h = w(0), _ = w(0), S = w(0);
324
- te(() => {
325
- p.setReadyById(l.componentId), L("themeColor") == "blue" ? (h.value = 240, _.value = 360, S.value = 14) : L("themeColor") == "light-gray" && (h.value = 202, _.value = 280, S.value = 12);
326
- });
327
- const f = w(), y = w();
328
- let u, g;
329
- const b = a;
330
- ie(
331
- () => p.isToolActive(l.componentId),
332
- (e) => {
333
- e ? L("isMobile") && (N(C.value.direction), document.addEventListener("touchmove", P)) : document.removeEventListener("touchmove", P);
334
- }
335
- );
336
- let B = !1;
337
- J.on("BimViewer", () => {
338
- u = window.BimViewer.sectionTool, g = window.BimViewer.eventTrigger, L("isMobile") || g.on("createSection", (e) => {
339
- f.value = Object.keys(ve()).map((n) => ({
340
- id: n,
341
- isLook: !0,
342
- directionLeft: !0
343
- })), y.value = e.id;
344
- }), L("isMobile") && (g.on("touchPlaneStart", () => {
345
- B = !0;
346
- }), g.on("touchPlaneEnd", () => {
347
- B = !1;
348
- }));
349
- });
350
- const P = () => {
351
- B && se();
352
- }, d = w({
353
- x: 0,
354
- y: 0,
355
- z: 0
356
- }), C = w({
357
- direction: "x"
358
- }), t = (e) => {
359
- N(e);
360
- }, N = (e) => {
361
- switch (C.value.direction = e, e) {
362
- case "x":
363
- window.BimViewer.sectionTool.sectionDirection = 0, window.BimViewer.sectionTool.setControlPos(100 - d.value.x);
364
- break;
365
- case "y":
366
- window.BimViewer.sectionTool.sectionDirection = 1, window.BimViewer.sectionTool.setControlPos(d.value.y);
367
- break;
368
- case "z":
369
- window.BimViewer.sectionTool.sectionDirection = 2, window.BimViewer.sectionTool.setControlPos(100 - d.value.z);
370
- break;
371
- }
372
- }, se = () => {
373
- switch (C.value.direction) {
374
- case "x":
375
- d.value.x = 100 - window.BimViewer.sectionTool.getControlPos();
376
- break;
377
- case "y":
378
- d.value.y = window.BimViewer.sectionTool.getControlPos();
379
- break;
380
- case "z":
381
- d.value.z = 100 - window.BimViewer.sectionTool.getControlPos();
382
- break;
383
- }
384
- }, F = () => {
385
- b("closePanel"), f.value = [];
386
- };
387
- J.on("closeAll", (e) => {
388
- f.value = [];
389
- });
390
- const le = (e) => {
391
- u.showSectionPlane(e);
392
- }, re = (e) => {
393
- y.value !== e.id && (y.value = e.id, le(e.id));
394
- }, H = (e) => {
395
- e.isLook = !e.isLook, e.isLook ? ae(e.id) : de(e.id);
396
- }, Y = (e) => {
397
- e.directionLeft = !e.directionLeft, ue(e.id);
398
- }, ce = (e) => {
399
- u.destroySectionPlane(e), f.value = f.value.filter((n) => n.id !== e);
400
- }, ae = (e) => {
401
- u.setSectionEnable(e);
402
- }, de = (e) => {
403
- u.setSectionDisable(e);
404
- }, pe = (e) => {
405
- e.id === 0 ? (fe(), f.value = []) : e.id === 1 ? me() : e.id === 2 ? _e() : e.id === 4 && ge();
406
- }, ue = (e) => {
407
- u.flipSection(e);
408
- }, ve = () => u.getSectionPlanes(), fe = () => {
409
- u.clear();
410
- }, me = () => {
411
- u.flipSections();
412
- }, _e = () => {
413
- u.enableSections();
414
- }, ge = () => {
415
- u.disableSections();
416
- };
417
- return (e, n) => {
418
- const be = tt, q = Be, he = Le, ye = Oe, M = Pe;
419
- return s(L)("isMobile") ? (c(), v("div", yt, [
420
- o("div", wt, [
421
- kt,
422
- o("div", St, [
423
- $(ye, { "click-handle": F })
424
- ])
425
- ]),
426
- o("div", Ct, [
427
- $(q, null, {
428
- default: T(() => [
429
- o("div", $t, [
430
- o("div", Et, [
431
- o("div", It, [
432
- C.value.direction === "x" ? (c(), v("img", {
433
- key: 0,
434
- src: s(m) + "/bim-viewer/section_look_icon.png",
435
- alt: "",
436
- onClick: n[0] || (n[0] = (i) => t("x"))
437
- }, null, 8, Tt)) : (c(), v("img", {
438
- key: 1,
439
- src: s(m) + "/bim-viewer/section_unlook_icon.png",
440
- alt: "",
441
- onClick: n[1] || (n[1] = (i) => t("x"))
442
- }, null, 8, Bt))
443
- ]),
444
- o("div", Pt, [
445
- o("div", Nt, [
446
- Lt,
447
- o("div", null, E(d.value.x) + " %", 1)
448
- ]),
449
- o("div", Ot, [
450
- $(M, {
451
- modelValue: d.value.x,
452
- "onUpdate:modelValue": n[2] || (n[2] = (i) => d.value.x = i),
453
- size: "large",
454
- "show-tooltip": !1,
455
- onInput: n[3] || (n[3] = (i) => N("x"))
456
- }, null, 8, ["modelValue"])
457
- ])
458
- ])
459
- ]),
460
- o("div", Vt, [
461
- o("div", zt, [
462
- C.value.direction === "y" ? (c(), v("img", {
463
- key: 0,
464
- src: s(m) + "/bim-viewer/section_look_icon.png",
465
- alt: "",
466
- onClick: n[4] || (n[4] = (i) => t("y"))
467
- }, null, 8, xt)) : (c(), v("img", {
468
- key: 1,
469
- src: s(m) + "/bim-viewer/section_unlook_icon.png",
470
- alt: "",
471
- onClick: n[5] || (n[5] = (i) => t("y"))
472
- }, null, 8, At))
473
- ]),
474
- o("div", Mt, [
475
- o("div", Dt, [
476
- Rt,
477
- o("div", null, E(d.value.y) + " %", 1)
478
- ]),
479
- o("div", Ut, [
480
- $(M, {
481
- modelValue: d.value.y,
482
- "onUpdate:modelValue": n[6] || (n[6] = (i) => d.value.y = i),
483
- size: "large",
484
- "show-tooltip": !1,
485
- onInput: n[7] || (n[7] = (i) => N("y"))
486
- }, null, 8, ["modelValue"])
487
- ])
488
- ])
489
- ]),
490
- o("div", jt, [
491
- o("div", Kt, [
492
- C.value.direction === "z" ? (c(), v("img", {
493
- key: 0,
494
- src: s(m) + "/bim-viewer/section_look_icon.png",
495
- alt: "",
496
- onClick: n[8] || (n[8] = (i) => t("z"))
497
- }, null, 8, Ft)) : (c(), v("img", {
498
- key: 1,
499
- src: s(m) + "/bim-viewer/section_unlook_icon.png",
500
- alt: "",
501
- onClick: n[9] || (n[9] = (i) => t("z"))
502
- }, null, 8, Ht))
503
- ]),
504
- o("div", Yt, [
505
- o("div", qt, [
506
- Jt,
507
- o("div", null, E(d.value.z) + " %", 1)
508
- ]),
509
- o("div", Wt, [
510
- $(M, {
511
- modelValue: d.value.z,
512
- "onUpdate:modelValue": n[10] || (n[10] = (i) => d.value.z = i),
513
- size: "large",
514
- "show-tooltip": !1,
515
- onInput: n[11] || (n[11] = (i) => N("z"))
516
- }, null, 8, ["modelValue"])
517
- ])
518
- ])
519
- ])
520
- ])
521
- ]),
522
- _: 1
523
- })
524
- ])
525
- ])) : (c(), oe(he, {
526
- key: 0,
527
- class: "section_panel",
528
- width: h.value,
529
- panelTitle: "剖切",
530
- "click-handle": F
531
- }, {
532
- default: T(() => [
533
- o("div", rt, [
534
- o("div", {
535
- class: "section_middle_title",
536
- style: Z({ fontSize: S.value.toString() + "px" })
537
- }, " 全部剖切 ", 4),
538
- o("div", null, [
539
- $(be, {
540
- "popper-class": "popover-wrapper",
541
- placement: "bottom",
542
- trigger: "hover",
543
- "popper-style": `\r
544
- inset: 290px 20px auto auto;\r
545
- z-index:999999;\r
546
- width: 120px;\r
547
- text-align:center;\r
548
- border-radius: 10px;\r
549
- `
550
- }, {
551
- reference: T(() => [
552
- o("img", {
553
- src: s(m) + "/bim-viewer/slicing-more.png"
554
- }, null, 8, ct)
555
- ]),
556
- default: T(() => [
557
- o("div", at, [
558
- (c(!0), v(G, null, Q(s(Ae), (i) => (c(), v("div", {
559
- key: i.id,
560
- class: "bulk-operation",
561
- onClick: (D) => pe(i)
562
- }, E(i.name), 9, dt))), 128))
563
- ])
564
- ]),
565
- _: 1
566
- })
567
- ])
568
- ]),
569
- o("div", {
570
- class: "section_panel_cont",
571
- style: Z({ height: _.value.toString() + "px" })
572
- }, [
573
- $(q, { height: "360px" }, {
574
- default: T(() => [
575
- f.value && f.value.length ? (c(!0), v(G, { key: 0 }, Q(f.value, (i, D) => (c(), v("div", {
576
- key: D,
577
- class: K(["panel_cont_item", { panel_cont_item_choose: y.value === i.id }]),
578
- onClick: (V) => re(i)
579
- }, [
580
- o("div", ut, [
581
- i.isLook ? (c(), v("img", {
582
- key: 1,
583
- src: s(m) + "/bim-viewer/section_unlook_icon.png",
584
- alt: "",
585
- onClick: (V) => H(i)
586
- }, null, 8, ft)) : (c(), v("img", {
587
- key: 0,
588
- src: s(m) + "/bim-viewer/section_look_icon.png",
589
- alt: "",
590
- onClick: (V) => H(i)
591
- }, null, 8, vt)),
592
- ne(" 剖切面#" + E(D + 1), 1)
593
- ]),
594
- o("div", mt, [
595
- i.directionLeft ? (c(), v("img", {
596
- key: 0,
597
- src: s(m) + "/bim-viewer/left_section_icon.png",
598
- alt: "",
599
- onClick: (V) => Y(i)
600
- }, null, 8, _t)) : (c(), v("img", {
601
- key: 1,
602
- src: s(m) + "/bim-viewer/right_section_icon.png",
603
- alt: "",
604
- onClick: (V) => Y(i)
605
- }, null, 8, gt)),
606
- o("img", {
607
- src: s(m) + "/bim-viewer/section_del_icon.png",
608
- alt: "",
609
- onClick: (V) => ce(i.id)
610
- }, null, 8, bt)
611
- ])
612
- ], 10, pt))), 128)) : (c(), v("div", ht, [
613
- $(lt, {
614
- title: "暂无剖切,快去添加~",
615
- type: "model"
616
- })
617
- ]))
618
- ]),
619
- _: 1
620
- })
621
- ], 4)
622
- ]),
623
- _: 1
624
- }, 8, ["width"]));
625
- };
626
- }
627
- });
628
- export {
629
- oo as default
630
- };