@realsee/dnalogel 3.33.1-dev.1 → 3.34.0-dev.2

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.
@@ -82,28 +82,28 @@ class Z extends S {
82
82
  o(this, "create3DDomContainer", (e, t) => {
83
83
  if (this.state.disposed)
84
84
  return;
85
- const d = (() => {
85
+ const s = (() => {
86
86
  var a;
87
87
  (t == null ? void 0 : t.dpr) !== void 0 && console.warn(`${b}: please use "config.devicePixelRatio" replace "config.dpr"`);
88
- const s = {
88
+ const d = {
89
89
  ratio: 216e-5,
90
90
  devicePixelRatio: (a = t == null ? void 0 : t.dpr) != null ? a : 1,
91
91
  mode: "front",
92
92
  autoRender: !0,
93
93
  wrapperStyle: {}
94
94
  };
95
- return Object.assign(s, t, (t == null ? void 0 : t.mode) === "behind" ? { scene: this.five.scene } : void 0);
96
- })(), { autoRender: l } = d;
97
- d.mode === "behind" && d.behindFiveContainer && (this.behindFiveContainer = d.behindFiveContainer);
98
- const n = this.create3DElement(this.five.camera, e, h(p({}, d), { autoRender: !1 }));
95
+ return Object.assign(d, t, (t == null ? void 0 : t.mode) === "behind" ? { scene: this.five.scene } : void 0);
96
+ })(), { autoRender: l } = s;
97
+ s.mode === "behind" && s.behindFiveContainer && (this.behindFiveContainer = s.behindFiveContainer);
98
+ const n = this.create3DElement(this.five.camera, e, h(p({}, s), { autoRender: !1 }));
99
99
  if (!n)
100
100
  return;
101
101
  const v = () => {
102
102
  var a, u;
103
- const s = n.css3DObject.mode === "front" ? (u = this.frontFiveContainer) != null ? u : (a = this.five.getElement()) == null ? void 0 : a.parentElement : this.getBehindFiveElement();
104
- if (console.log({ wrapper: s }), !s)
105
- return console.error(`${b}: wrapper is ${s}; mode is ${n.css3DObject.mode}`);
106
- n.appendToElement(s), n.render(), this.created3DElementResults.push(n);
103
+ const d = n.css3DObject.mode === "front" ? (u = this.frontFiveContainer) != null ? u : (a = this.five.getElement()) == null ? void 0 : a.parentElement : this.getBehindFiveElement();
104
+ if (!d)
105
+ return console.error(`${b}: wrapper is ${d}; mode is ${n.css3DObject.mode}`);
106
+ n.appendToElement(d), n.render(), this.created3DElementResults.push(n);
107
107
  }, c = () => {
108
108
  n.css3DObject.mode === "front" && v(), n.css3DObject.mode === "behind" && P(this.five).then(() => v());
109
109
  };
@@ -14,18 +14,18 @@ var i = (n, e, t) => (C(n, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  var p = (n, e, t) => new Promise((s, r) => {
15
15
  var d = (c) => {
16
16
  try {
17
- f(t.next(c));
17
+ l(t.next(c));
18
18
  } catch (S) {
19
19
  r(S);
20
20
  }
21
- }, l = (c) => {
21
+ }, f = (c) => {
22
22
  try {
23
- f(t.throw(c));
23
+ l(t.throw(c));
24
24
  } catch (S) {
25
25
  r(S);
26
26
  }
27
- }, f = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(d, l);
28
- f((t = t.apply(n, e)).next());
27
+ }, l = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(d, f);
28
+ l((t = t.apply(n, e)).next());
29
29
  });
30
30
  import { anyPositionToVector3 as q } from "../../../shared-utils/positionToVector3.js";
31
31
  import B from "./CSS3DRenderer.js";
@@ -48,10 +48,7 @@ const J = 3, G = "CSS3DRenderer", b = `${G}@${J}`, u = () => {
48
48
  }, o = {
49
49
  css3DObjects: [],
50
50
  frontModeStore: {
51
- css3DRenderer: (() => {
52
- const n = new B();
53
- return n.domElement.style.zIndex = "1", n;
54
- })()
51
+ css3DRenderer: new B()
55
52
  },
56
53
  behindModeStore: {
57
54
  css3DRenderer: new B()
@@ -130,18 +127,18 @@ class y {
130
127
  })(), d = t.map(q);
131
128
  if ((d == null ? void 0 : d.length) < 4)
132
129
  return console.error(`${b}: requires 4 point but params may have fewer`);
133
- const { ratio: l, devicePixelRatio: f, mode: c, autoRender: S, container: O, pointerEvents: I, wrapperStyle: F } = r;
130
+ const { ratio: f, devicePixelRatio: l, mode: c, autoRender: S, container: O, pointerEvents: F, wrapperStyle: I } = r;
134
131
  let D = !1;
135
- const a = this.createObject(d, { ratio: l, dpr: f, container: O, mode: c, pointerEvents: I, wrapperStyle: F });
132
+ const a = this.createObject(d, { ratio: f, dpr: l, container: O, mode: c, pointerEvents: F, wrapperStyle: I });
136
133
  o.css3DObjects.push(a), r.scene && this.setScene(r.scene);
137
- const x = () => {
134
+ const N = () => {
138
135
  if (D)
139
136
  return;
140
137
  const h = a.mode === "front" ? this.getFrontCSS3DObjectGroup() : this.getBehindCSS3DObjectGroup();
141
138
  h && h.add(a);
142
139
  }, E = () => {
143
- D || (x(), this.render(e), this.hooks.emit("render"));
144
- }, m = (h) => this.setVisibleById(a.id, h), M = (h) => this.setEnabledById(a.id, h), N = () => (D = !0, a.removeFromParent(), !0), V = c === "front" ? o.frontModeStore.css3DRenderer : o.behindModeStore.css3DRenderer;
140
+ D || (N(), this.render(e), this.hooks.emit("render"));
141
+ }, m = (h) => this.setVisibleById(a.id, h), M = (h) => this.setEnabledById(a.id, h), x = () => (D = !0, a.removeFromParent(), !0), V = c === "front" ? o.frontModeStore.css3DRenderer : o.behindModeStore.css3DRenderer;
145
142
  return S && E(), {
146
143
  id: a.uuid,
147
144
  container: O,
@@ -153,7 +150,7 @@ class y {
153
150
  enable: () => M(!0),
154
151
  disable: () => M(!1),
155
152
  setEnabled: M,
156
- dispose: N,
153
+ dispose: x,
157
154
  appendToElement: (h) => V.setWrapper(h)
158
155
  };
159
156
  });
@@ -250,8 +247,8 @@ class y {
250
247
  console.error(`${b}: scene is required when mode is behind`);
251
248
  return;
252
249
  }
253
- const l = new T(d);
254
- o.behindModeStore.css3DScene = l, o.behindModeStore.scene = d;
250
+ const f = new T(d);
251
+ o.behindModeStore.css3DScene = f, o.behindModeStore.scene = d;
255
252
  }
256
253
  return o.behindModeStore.css3DScene;
257
254
  }
@@ -2,9 +2,9 @@ import { CSS3DRenderer } from 'three/examples/jsm/renderers/CSS3DRenderer';
2
2
  import type * as THREE from 'three';
3
3
  export default class ICSS3DRenderer extends CSS3DRenderer {
4
4
  wrapper?: Element;
5
+ domElementWrapper: HTMLDivElement;
5
6
  private requestAnimationFrameId?;
6
7
  private resizeDisoper?;
7
- private domElementWrapper;
8
8
  constructor();
9
9
  setWrapper(wrapper: Element): this;
10
10
  appendToElement(wrapper: Element): void;
@@ -10,13 +10,13 @@ class v extends d {
10
10
  constructor() {
11
11
  super();
12
12
  n(this, "wrapper");
13
+ n(this, "domElementWrapper", document.createElement("div"));
13
14
  n(this, "requestAnimationFrameId");
14
15
  n(this, "resizeDisoper");
15
- n(this, "domElementWrapper", document.createElement("div"));
16
16
  this.domElementWrapper.classList.add("ICSS3DRendererWrapper"), this.domElementWrapper.style.position = "absolute", this.domElementWrapper.style.top = "0", this.domElementWrapper.style.left = "0", this.domElementWrapper.style.width = "100%", this.domElementWrapper.style.height = "100%", this.domElementWrapper.style.userSelect = "none", this.domElementWrapper.style.pointerEvents = "none", this.domElement.classList.add("ICSS3DRenderer"), this.domElement.style.position = "absolute", this.domElement.style.top = "0", this.domElement.style.left = "0", this.domElement.style.userSelect = "none", this.domElement.style.pointerEvents = "none", this.domElementWrapper.appendChild(this.domElement);
17
17
  }
18
18
  setWrapper(e) {
19
- if (console.log("setWrapper", e, this.wrapper), !e)
19
+ if (!e)
20
20
  throw new Error("CSS3DRenderer: wrapper is required");
21
21
  if ((() => {
22
22
  for (let s = 0; s < e.children.length; s++)
@@ -26,8 +26,8 @@ import { BetterTween as E, tweenProgress as A } from "../../shared-utils/animati
26
26
  import { loadTexture as G } from "../../shared-utils/three/loadTexture.js";
27
27
  import P from "../../PanoTagPlugin/controller/index.js";
28
28
  import B from "../Components/Tag.js";
29
- import { filterAdjacentDistinct as W } from "../utils/index.js";
30
- import { objectAssignDeepExports as I } from "../../vendor/object-assign-deep/objectAssignDeep.js";
29
+ import { filterAdjacentDistinct as I } from "../utils/index.js";
30
+ import { objectAssignDeepExports as W } from "../../vendor/object-assign-deep/objectAssignDeep.js";
31
31
  const R = (
32
32
  /* glsl */
33
33
  `
@@ -221,7 +221,7 @@ class H {
221
221
  i(this, "logWarning", (e) => L("GuideLineModeItem: ", e));
222
222
  i(this, "logError", (e) => S("GuideLineModeItem: ", e));
223
223
  var o, a;
224
- this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new P(this.five) }, this.endTagContainer = { tag: null, plugin: new P(this.five) };
224
+ this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new P(this.five, { containerZIndex: 1 }) }, this.endTagContainer = { tag: null, plugin: new P(this.five, { containerZIndex: 1 }) };
225
225
  const s = new n.BufferGeometry(), r = new n.ShaderMaterial({
226
226
  vertexShader: R,
227
227
  fragmentShader: N,
@@ -290,7 +290,7 @@ class H {
290
290
  return this.logError("disposed");
291
291
  if (!this.five.work)
292
292
  return this.logError("setPathByPanoGroup: work is not ready");
293
- const s = W(e);
293
+ const s = I(e);
294
294
  if (this._panoGroup = s, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
295
295
  const o = t.skipPanoGroup ? s.map((a) => this.plugin.workUtils.getObserverStandingPosition(a)).filter(w) : null;
296
296
  this.skippedPositions = o;
@@ -454,7 +454,7 @@ class H {
454
454
  const s = this.curvePath, r = e === "start" ? this.startTagContainer : this.endTagContainer;
455
455
  if (!(t != null && t.data))
456
456
  return r.plugin.clearTags();
457
- const a = I({}, {
457
+ const a = W({}, {
458
458
  contentType: "Custom",
459
459
  stickType: "2DPoint",
460
460
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
@@ -1,5 +1,5 @@
1
- import { SvelteComponent as S, init as v, safe_not_equal as A, append_styles as T, empty as w, insert as h, transition_in as s, transition_out as u, check_outros as y, detach as _, setContext as q, element as z, attr as C, toggle_class as c, group_outros as M, update_keyed_each as I, outro_and_destroy_block as N, create_component as j, mount_component as B, destroy_component as D } from "../../vendor/svelte/internal/index.js";
2
- import E from "./TagItem.js";
1
+ import { SvelteComponent as A, init as z, safe_not_equal as T, append_styles as q, empty as M, insert as h, transition_in as f, transition_out as c, check_outros as S, detach as _, setContext as I, element as C, attr as N, toggle_class as u, set_style as k, group_outros as v, update_keyed_each as j, outro_and_destroy_block as B, create_component as D, mount_component as E, destroy_component as F } from "../../vendor/svelte/internal/index.js";
2
+ import G from "./TagItem.js";
3
3
  import "./Tag/index.js";
4
4
  import "./Tag/TextTag/index.js";
5
5
  import "./Tag/TextTag/TextTag.js";
@@ -93,82 +93,95 @@ import "./Tag/PanoramaTag.js";
93
93
  import "./Tag/CustomTag.js";
94
94
  import "../../vendor/classnames/index.js";
95
95
  import "./Common/TagPoint.js";
96
- function F(p) {
97
- T(p, "svelte-38qb2t", ".tag--container.svelte-38qb2t{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translate3d(0, 0, 0);z-index:1}.withAnimation.svelte-38qb2t{transition:opacity 0.2s linear}.tag--container.hide.svelte-38qb2t{opacity:0;pointer-events:none}.tag--container.hide.svelte-38qb2t *{pointer-events:none !important}");
96
+ function H(p) {
97
+ q(p, "svelte-p0nosq", ".tag--container.svelte-p0nosq{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none;transform:translate3d(0, 0, 0)}.withAnimation.svelte-p0nosq{transition:opacity 0.2s linear}.tag--container.hide.svelte-p0nosq{opacity:0;pointer-events:none}.tag--container.hide.svelte-p0nosq *{pointer-events:none !important}");
98
98
  }
99
- function d(p, t, i) {
100
- const e = p.slice();
101
- return e[8] = t[i], e;
99
+ function b(p, t, e) {
100
+ const i = p.slice();
101
+ return i[9] = t[e], i;
102
102
  }
103
- function b(p) {
104
- let t, i = [], e = /* @__PURE__ */ new Map(), n, r = (
103
+ function w(p) {
104
+ let t, e = [], i = /* @__PURE__ */ new Map(), m, n = (
105
105
  /*tags*/
106
106
  p[1]
107
107
  );
108
- const a = (o) => (
108
+ const l = (o) => (
109
109
  /*tag*/
110
- o[8].id
110
+ o[9].id
111
111
  );
112
- for (let o = 0; o < r.length; o += 1) {
113
- let m = d(p, r, o), f = a(m);
114
- e.set(f, i[o] = k(f, m));
112
+ for (let o = 0; o < n.length; o += 1) {
113
+ let r = b(p, n, o), s = l(r);
114
+ i.set(s, e[o] = y(s, r));
115
115
  }
116
116
  return {
117
117
  c() {
118
- t = z("div");
119
- for (let o = 0; o < i.length; o += 1)
120
- i[o].c();
121
- C(t, "class", "tag--container svelte-38qb2t"), c(t, "hide", !/*state*/
118
+ var o;
119
+ t = C("div");
120
+ for (let r = 0; r < e.length; r += 1)
121
+ e[r].c();
122
+ N(t, "class", "tag--container svelte-p0nosq"), u(t, "hide", !/*state*/
122
123
  p[5].visible || !/*temporaryState*/
123
- p[6].visible), c(
124
+ p[6].visible), u(
124
125
  t,
125
126
  "withAnimation",
126
127
  /*withAnimation*/
127
128
  p[0]
129
+ ), k(
130
+ t,
131
+ "z-index",
132
+ /*zIndex*/
133
+ (o = p[7]) != null ? o : ""
128
134
  );
129
135
  },
130
- m(o, m) {
131
- h(o, t, m);
132
- for (let f = 0; f < i.length; f += 1)
133
- i[f] && i[f].m(t, null);
134
- n = !0;
136
+ m(o, r) {
137
+ h(o, t, r);
138
+ for (let s = 0; s < e.length; s += 1)
139
+ e[s] && e[s].m(t, null);
140
+ m = !0;
135
141
  },
136
- p(o, m) {
137
- m & /*state, temporaryState, withAnimation, tags, mediaStore, rendererMap, contentTypeMap*/
138
- 127 && (r = /*tags*/
139
- o[1], M(), i = I(i, m, a, 1, o, r, e, t, N, k, null, d), y()), (!n || m & /*state, temporaryState*/
140
- 96) && c(t, "hide", !/*state*/
142
+ p(o, r) {
143
+ var s;
144
+ r & /*state, temporaryState, withAnimation, tags, mediaStore, rendererMap, contentTypeMap*/
145
+ 127 && (n = /*tags*/
146
+ o[1], v(), e = j(e, r, l, 1, o, n, i, t, B, y, null, b), S()), (!m || r & /*state, temporaryState*/
147
+ 96) && u(t, "hide", !/*state*/
141
148
  o[5].visible || !/*temporaryState*/
142
- o[6].visible), (!n || m & /*withAnimation*/
143
- 1) && c(
149
+ o[6].visible), (!m || r & /*withAnimation*/
150
+ 1) && u(
144
151
  t,
145
152
  "withAnimation",
146
153
  /*withAnimation*/
147
154
  o[0]
155
+ ), r & /*zIndex*/
156
+ 128 && k(
157
+ t,
158
+ "z-index",
159
+ /*zIndex*/
160
+ (s = o[7]) != null ? s : ""
148
161
  );
149
162
  },
150
163
  i(o) {
151
- if (!n) {
152
- for (let m = 0; m < r.length; m += 1)
153
- s(i[m]);
154
- n = !0;
164
+ if (!m) {
165
+ for (let r = 0; r < n.length; r += 1)
166
+ f(e[r]);
167
+ m = !0;
155
168
  }
156
169
  },
157
170
  o(o) {
158
- for (let m = 0; m < i.length; m += 1)
159
- u(i[m]);
160
- n = !1;
171
+ for (let r = 0; r < e.length; r += 1)
172
+ c(e[r]);
173
+ m = !1;
161
174
  },
162
175
  d(o) {
163
176
  o && _(t);
164
- for (let m = 0; m < i.length; m += 1)
165
- i[m].d();
177
+ for (let r = 0; r < e.length; r += 1)
178
+ e[r].d();
166
179
  }
167
180
  };
168
181
  }
169
- function k(p, t) {
170
- let i, e, n;
171
- return e = new E({
182
+ function y(p, t) {
183
+ let e, i, m;
184
+ return i = new G({
172
185
  props: {
173
186
  state: (
174
187
  /*state*/
@@ -184,7 +197,7 @@ function k(p, t) {
184
197
  ),
185
198
  tag: (
186
199
  /*tag*/
187
- t[8]
200
+ t[9]
188
201
  ),
189
202
  mediaStore: (
190
203
  /*mediaStore*/
@@ -203,108 +216,110 @@ function k(p, t) {
203
216
  key: p,
204
217
  first: null,
205
218
  c() {
206
- i = w(), j(e.$$.fragment), this.first = i;
219
+ e = M(), D(i.$$.fragment), this.first = e;
207
220
  },
208
- m(r, a) {
209
- h(r, i, a), B(e, r, a), n = !0;
221
+ m(n, l) {
222
+ h(n, e, l), E(i, n, l), m = !0;
210
223
  },
211
- p(r, a) {
212
- t = r;
224
+ p(n, l) {
225
+ t = n;
213
226
  const o = {};
214
- a & /*state*/
227
+ l & /*state*/
215
228
  32 && (o.state = /*state*/
216
- t[5]), a & /*temporaryState*/
229
+ t[5]), l & /*temporaryState*/
217
230
  64 && (o.temporaryState = /*temporaryState*/
218
- t[6]), a & /*withAnimation*/
231
+ t[6]), l & /*withAnimation*/
219
232
  1 && (o.withAnimation = /*withAnimation*/
220
- t[0]), a & /*tags*/
233
+ t[0]), l & /*tags*/
221
234
  2 && (o.tag = /*tag*/
222
- t[8]), a & /*mediaStore*/
235
+ t[9]), l & /*mediaStore*/
223
236
  4 && (o.mediaStore = /*mediaStore*/
224
- t[2]), a & /*rendererMap*/
237
+ t[2]), l & /*rendererMap*/
225
238
  8 && (o.rendererMap = /*rendererMap*/
226
- t[3]), a & /*contentTypeMap*/
239
+ t[3]), l & /*contentTypeMap*/
227
240
  16 && (o.contentTypeMap = /*contentTypeMap*/
228
- t[4]), e.$set(o);
241
+ t[4]), i.$set(o);
229
242
  },
230
- i(r) {
231
- n || (s(e.$$.fragment, r), n = !0);
243
+ i(n) {
244
+ m || (f(i.$$.fragment, n), m = !0);
232
245
  },
233
- o(r) {
234
- u(e.$$.fragment, r), n = !1;
246
+ o(n) {
247
+ c(i.$$.fragment, n), m = !1;
235
248
  },
236
- d(r) {
237
- r && _(i), D(e, r);
249
+ d(n) {
250
+ n && _(e), F(i, n);
238
251
  }
239
252
  };
240
253
  }
241
- function G(p) {
242
- let t, i, e = (
254
+ function J(p) {
255
+ let t, e, i = (
243
256
  /*state*/
244
- p[5].enabled && b(p)
257
+ p[5].enabled && w(p)
245
258
  );
246
259
  return {
247
260
  c() {
248
- e && e.c(), t = w();
261
+ i && i.c(), t = M();
249
262
  },
250
- m(n, r) {
251
- e && e.m(n, r), h(n, t, r), i = !0;
263
+ m(m, n) {
264
+ i && i.m(m, n), h(m, t, n), e = !0;
252
265
  },
253
- p(n, [r]) {
266
+ p(m, [n]) {
254
267
  /*state*/
255
- n[5].enabled ? e ? (e.p(n, r), r & /*state*/
256
- 32 && s(e, 1)) : (e = b(n), e.c(), s(e, 1), e.m(t.parentNode, t)) : e && (M(), u(e, 1, 1, () => {
257
- e = null;
258
- }), y());
268
+ m[5].enabled ? i ? (i.p(m, n), n & /*state*/
269
+ 32 && f(i, 1)) : (i = w(m), i.c(), f(i, 1), i.m(t.parentNode, t)) : i && (v(), c(i, 1, 1, () => {
270
+ i = null;
271
+ }), S());
259
272
  },
260
- i(n) {
261
- i || (s(e), i = !0);
273
+ i(m) {
274
+ e || (f(i), e = !0);
262
275
  },
263
- o(n) {
264
- u(e), i = !1;
276
+ o(m) {
277
+ c(i), e = !1;
265
278
  },
266
- d(n) {
267
- e && e.d(n), n && _(t);
279
+ d(m) {
280
+ i && i.d(m), m && _(t);
268
281
  }
269
282
  };
270
283
  }
271
- function H(p, t, i) {
272
- let { withAnimation: e = !1 } = t, { tags: n = [] } = t, { hooks: r } = t, { mediaStore: a } = t, { rendererMap: o } = t, { contentTypeMap: m } = t, { state: f } = t, { temporaryState: g } = t;
273
- return q("hooks", r), p.$$set = (l) => {
274
- "withAnimation" in l && i(0, e = l.withAnimation), "tags" in l && i(1, n = l.tags), "hooks" in l && i(7, r = l.hooks), "mediaStore" in l && i(2, a = l.mediaStore), "rendererMap" in l && i(3, o = l.rendererMap), "contentTypeMap" in l && i(4, m = l.contentTypeMap), "state" in l && i(5, f = l.state), "temporaryState" in l && i(6, g = l.temporaryState);
284
+ function K(p, t, e) {
285
+ let { withAnimation: i = !1 } = t, { tags: m = [] } = t, { hooks: n } = t, { mediaStore: l } = t, { rendererMap: o } = t, { contentTypeMap: r } = t, { state: s } = t, { temporaryState: d } = t, { zIndex: g = void 0 } = t;
286
+ return I("hooks", n), p.$$set = (a) => {
287
+ "withAnimation" in a && e(0, i = a.withAnimation), "tags" in a && e(1, m = a.tags), "hooks" in a && e(8, n = a.hooks), "mediaStore" in a && e(2, l = a.mediaStore), "rendererMap" in a && e(3, o = a.rendererMap), "contentTypeMap" in a && e(4, r = a.contentTypeMap), "state" in a && e(5, s = a.state), "temporaryState" in a && e(6, d = a.temporaryState), "zIndex" in a && e(7, g = a.zIndex);
275
288
  }, [
276
- e,
277
- n,
278
- a,
279
- o,
289
+ i,
280
290
  m,
281
- f,
291
+ l,
292
+ o,
293
+ r,
294
+ s,
295
+ d,
282
296
  g,
283
- r
297
+ n
284
298
  ];
285
299
  }
286
- class Te extends S {
300
+ class qe extends A {
287
301
  constructor(t) {
288
- super(), v(
302
+ super(), z(
289
303
  this,
290
304
  t,
291
- H,
292
- G,
293
- A,
305
+ K,
306
+ J,
307
+ T,
294
308
  {
295
309
  withAnimation: 0,
296
310
  tags: 1,
297
- hooks: 7,
311
+ hooks: 8,
298
312
  mediaStore: 2,
299
313
  rendererMap: 3,
300
314
  contentTypeMap: 4,
301
315
  state: 5,
302
- temporaryState: 6
316
+ temporaryState: 6,
317
+ zIndex: 7
303
318
  },
304
- F
319
+ H
305
320
  );
306
321
  }
307
322
  }
308
323
  export {
309
- Te as default
324
+ qe as default
310
325
  };
@@ -27,9 +27,9 @@ var S = (d, m, t) => new Promise((e, o) => {
27
27
  a((t = t.apply(d, m)).next());
28
28
  });
29
29
  import { TagComputer as V } from "./TagComputer.js";
30
- import { Group as y, Quaternion as O, Vector3 as b, Matrix4 as v } from "three";
31
- import E from "../Components/TagContainer.js";
32
- import x from "../Components/Tag/index.js";
30
+ import { Group as y, Quaternion as x, Vector3 as b, Matrix4 as v } from "three";
31
+ import O from "../Components/TagContainer.js";
32
+ import E from "../Components/Tag/index.js";
33
33
  import { loadGLTF as G } from "../../shared-utils/three/GLTFLoader.js";
34
34
  import { isMediaModelTag as D, isStickModelTag as F } from "../utils/tag/tagCheck.js";
35
35
  import { VideoPlane as _, ImagePlane as w } from "../utils/model/mediaPlane.js";
@@ -307,7 +307,7 @@ class Pi extends V {
307
307
  if (e.tag3DContentSvelte) {
308
308
  const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: l } = e.tag3DContentSvelte;
309
309
  if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(l)) {
310
- const p = new O().setFromUnitVectors(n, l);
310
+ const p = new x().setFromUnitVectors(n, l);
311
311
  s.css3DObject.setRotationFromQuaternion(p);
312
312
  }
313
313
  return;
@@ -340,7 +340,7 @@ class Pi extends V {
340
340
  if (!p)
341
341
  return;
342
342
  this.store.css3DRenderDisposer.set(e.id, [p.dispose]);
343
- const h = new x({
343
+ const h = new E({
344
344
  target: p.container,
345
345
  props: {
346
346
  tag: e,
@@ -487,7 +487,7 @@ class Pi extends V {
487
487
  const i = this.container;
488
488
  if (!i)
489
489
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
490
- this.TagContainerSvelte = new E({
490
+ this.TagContainerSvelte = new O({
491
491
  target: i,
492
492
  props: {
493
493
  hooks: this.hooks,
@@ -497,7 +497,8 @@ class Pi extends V {
497
497
  mediaStore: this.mediaStore,
498
498
  rendererMap: this.rendererMap,
499
499
  contentTypeMap: this.contentTypeMap,
500
- withAnimation: (o = t == null ? void 0 : t.withAnimation) != null ? o : this.store.visibleWithAnimation
500
+ withAnimation: (o = t == null ? void 0 : t.withAnimation) != null ? o : this.store.visibleWithAnimation,
501
+ zIndex: this.params.containerZIndex
501
502
  }
502
503
  });
503
504
  }
@@ -16,6 +16,12 @@ export declare abstract class TagUtil extends TagCache {
16
16
  workUtil: WorkUtil;
17
17
  set workCode(workCode: string);
18
18
  get workCode(): string;
19
+ /** 插件参数 */
20
+ protected params: {
21
+ config: Pick<Tags, 'contentTypeConfig' | 'globalConfig'>;
22
+ debug: boolean;
23
+ containerZIndex?: number;
24
+ };
19
25
  protected mediaStore: MediaStore;
20
26
  /** css3DRenderPlugin */
21
27
  protected get css3DRenderPlugin(): import("../../CSS3DRenderPlugin/Controller").default;