@realsee/dnalogel 3.43.0 → 3.44.0
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/CHANGELOG.md +4 -0
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/dist/Sculpt/Meshes/Line.d.ts +19 -1
- package/dist/Sculpt/utils/color.d.ts +1 -1
- package/dist/index.cjs.js +102 -68
- package/dist/index.js +7374 -7116
- package/dist/index.umd.js +106 -72
- package/dist/shared-utils/five/getPosition.d.ts +12 -4
- package/dist/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/dist/shared-utils/math/deg2Rad.d.ts +1 -1
- package/dist/shared-utils/math/rad2Deg.d.ts +1 -1
- package/dist/shared-utils/positionToVector3.d.ts +6 -6
- package/{libs/shared-utils/three/PointSelector.d.ts → dist/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/dist/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/dist/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/dist/shared-utils/three/index.d.ts +2 -3
- package/libs/AreaMakerPlugin/Controller.js +5 -18
- package/libs/AreaMakerPlugin/index.js +4 -17
- package/libs/AreaMakerPlugin/utils/Item.js +13 -26
- package/libs/CSS3DRenderPlugin/Controller.js +9 -6
- package/libs/CSS3DRenderPlugin/index.js +12 -9
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +73 -56
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -4
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +14 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +13 -0
- package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +85 -0
- package/libs/CruisePlugin/BaseController.js +20 -33
- package/libs/CruisePlugin/Move.js +25 -23
- package/libs/CruisePlugin/Work.js +10 -8
- package/libs/CruisePlugin/index.js +23 -21
- package/libs/CurrentPanoImagePlugin/Controller.js +30 -43
- package/libs/CurrentPanoImagePlugin/index.js +5 -18
- package/libs/GuideLinePlugin/Controller.js +15 -13
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -17
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +21 -19
- package/libs/GuideLinePlugin/index.js +23 -21
- package/libs/ModelMakerPlugin/Controller.js +19 -30
- package/libs/ModelMakerPlugin/index.js +11 -22
- package/libs/ModelTVVideoPlugin/Plugin.js +13 -10
- package/libs/ModelTVVideoPlugin/index.js +12 -9
- package/libs/Object3DHelperPlugin/Controller.js +7 -5
- package/libs/Object3DHelperPlugin/index.js +23 -21
- package/libs/PanoCompassPlugin/Controller.js +18 -15
- package/libs/PanoCompassPlugin/index.js +21 -18
- package/libs/PanoDoorLabelPlugin/BaseController.js +24 -37
- package/libs/PanoDoorLabelPlugin/Controller.js +56 -69
- package/libs/PanoDoorLabelPlugin/index.js +5 -18
- package/libs/PanoMeasurePlugin/Components/Controller0.js +40 -47
- package/libs/PanoMeasurePlugin/Components/Controller1.js +72 -79
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -39
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/EditController.js +177 -153
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +60 -74
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -60
- package/libs/PanoMeasurePlugin/Model/area.js +30 -44
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +42 -49
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +35 -40
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +23 -36
- package/libs/PanoSpatialTagPlugin/Plugin.js +41 -38
- package/libs/PanoSpatialTagPlugin/index.js +10 -7
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +29 -43
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
- package/libs/PanoTagPlugin/Components/Tag/index.js +9 -19
- package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
- package/libs/PanoTagPlugin/Components/TagItem.js +9 -19
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +23 -33
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -39
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +11 -21
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -28
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -16
- package/libs/PanoTagPlugin/controller/TagUtil.js +12 -9
- package/libs/PanoTagPlugin/controller/index.js +27 -25
- package/libs/PanoTagPlugin/index.js +28 -26
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +43 -57
- package/libs/PanoVideoPlugin/Controller.js +52 -65
- package/libs/PanoVideoPlugin/VideoMeshController.js +11 -25
- package/libs/PanoVideoPlugin/index.js +8 -21
- package/libs/PipelinePlugin/Controller.js +44 -57
- package/libs/PipelinePlugin/index.js +5 -18
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +20 -34
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -30
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +39 -53
- package/libs/Sculpt/Meshes/Box.js +3 -3
- package/libs/Sculpt/Meshes/Cylinder.js +14 -14
- package/libs/Sculpt/Meshes/Line.d.ts +19 -1
- package/libs/Sculpt/Meshes/Line.js +40 -41
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -6
- package/libs/Sculpt/Meshes/Point.js +3 -3
- package/libs/Sculpt/Meshes/Polyline.js +3 -3
- package/libs/Sculpt/Meshes/Prism.js +11 -12
- package/libs/Sculpt/Meshes/Rectangle.js +3 -3
- package/libs/Sculpt/Objects/Point/Editor.js +10 -10
- package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
- package/libs/Sculpt/Objects/Polyline/Editor.js +4 -4
- package/libs/Sculpt/index.js +3 -3
- package/libs/Sculpt/utils/Modules/Global.js +1 -1
- package/libs/Sculpt/utils/color.d.ts +1 -1
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
- package/libs/base/BasePlugin.js +4 -4
- package/libs/floorplan/Components/Compass.js +29 -31
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +9 -22
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -19
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -18
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -61
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -18
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +28 -41
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -18
- package/libs/floorplan/index.js +3 -3
- package/libs/index.js +140 -137
- package/libs/shared-utils/five/getPosition.d.ts +12 -4
- package/libs/shared-utils/five/getPosition.js +23 -23
- package/libs/shared-utils/five/index.js +2 -2
- package/libs/shared-utils/five/initialCSS3DRender.d.ts +2 -0
- package/libs/shared-utils/five/initialCSS3DRender.js +17 -0
- package/libs/shared-utils/five/lookObject.js +3 -3
- package/libs/shared-utils/index.js +38 -40
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/deg2Rad.d.ts +1 -1
- package/libs/shared-utils/math/rad2Deg.d.ts +1 -1
- package/libs/shared-utils/positionToVector3.d.ts +6 -6
- package/{dist/shared-utils/three/PointSelector.d.ts → libs/shared-utils/three/PointSelector/index.d.ts} +23 -7
- package/libs/shared-utils/three/{PointSelector.js → PointSelector/index.js} +54 -45
- package/libs/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +95 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +153 -0
- package/libs/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +60 -0
- package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.js +3 -4
- package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/libs/shared-utils/three/index.d.ts +2 -3
- package/libs/shared-utils/three/index.js +3 -3
- package/package.json +3 -3
- package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.js +0 -62
- package/libs/shared-utils/three/PointHelper.js +0 -73
- package/libs/shared-utils/three/PointSelectorHelper.js +0 -52
- /package/dist/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
- /package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
|
@@ -5,43 +5,29 @@ import { Image_Default_Point as K } from "../../Assets/Icon.js";
|
|
|
5
5
|
import { isModelLike as N } from "../../../shared-utils/five/mode.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "hammerjs";
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
8
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
9
|
+
import "@realsee/five/line";
|
|
11
10
|
import "../../../shared-utils/three/THREESphere.js";
|
|
12
11
|
import "animejs";
|
|
12
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
13
13
|
import "../../../vendor/svelte/transition/index.js";
|
|
14
14
|
import "../../../vendor/svelte/easing/index.js";
|
|
15
15
|
import "../../utils/noTypecheck.js";
|
|
16
16
|
import "../../utils/getImageInfo.js";
|
|
17
17
|
import "../../utils/px2rem.js";
|
|
18
|
-
import "../../../shared-utils/positionToVector3.js";
|
|
19
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
20
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
21
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
22
|
-
import "../../../shared-utils/util.js";
|
|
23
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
24
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
25
|
-
import "../../../shared-utils/Subscribe.js";
|
|
26
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
27
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
28
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
29
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
30
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
31
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
32
18
|
function Q(e) {
|
|
33
19
|
U(e, "svelte-7aiuwz", '@charset "UTF-8";.tag-point-click-helper.svelte-7aiuwz.svelte-7aiuwz{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-7aiuwz.svelte-7aiuwz{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-folded-point.svelte-7aiuwz.svelte-7aiuwz,.tag-unfolded-point.svelte-7aiuwz.svelte-7aiuwz{transition:all 0.5s}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:1;scale:1}');
|
|
34
20
|
}
|
|
35
21
|
function V(e) {
|
|
36
|
-
let o,
|
|
37
|
-
return
|
|
22
|
+
let o, r, u, d, c, p, w, t, a, l, g, v;
|
|
23
|
+
return d = new H({
|
|
38
24
|
props: {
|
|
39
25
|
center: !0,
|
|
40
26
|
blurRadius: 15,
|
|
41
27
|
spreadRadius: 5,
|
|
42
28
|
opacity: 0.3
|
|
43
29
|
}
|
|
44
|
-
}),
|
|
30
|
+
}), a = new J({
|
|
45
31
|
props: {
|
|
46
32
|
icon: (
|
|
47
33
|
/*url*/
|
|
@@ -52,14 +38,14 @@ function V(e) {
|
|
|
52
38
|
e[1]
|
|
53
39
|
)
|
|
54
40
|
}
|
|
55
|
-
}),
|
|
41
|
+
}), a.$on(
|
|
56
42
|
"iconLoaded",
|
|
57
43
|
/*iconLoaded_handler*/
|
|
58
44
|
e[7]
|
|
59
45
|
), {
|
|
60
46
|
c() {
|
|
61
|
-
o = h("div"),
|
|
62
|
-
|
|
47
|
+
o = h("div"), r = h("div"), u = _(), S(d.$$.fragment), c = _(), p = h("div"), w = _(), t = h("div"), S(a.$$.fragment), z(r, "class", "tag-point-click-helper svelte-7aiuwz"), z(p, "class", "tag-unfolded-point svelte-7aiuwz"), y(
|
|
48
|
+
p,
|
|
63
49
|
"transition-delay",
|
|
64
50
|
/*folded*/
|
|
65
51
|
(e[3] ? (
|
|
@@ -87,8 +73,8 @@ function V(e) {
|
|
|
87
73
|
);
|
|
88
74
|
},
|
|
89
75
|
m(i, s) {
|
|
90
|
-
W(i, o, s), m(o,
|
|
91
|
-
|
|
76
|
+
W(i, o, s), m(o, r), m(o, u), A(d, o, null), m(o, c), m(o, p), m(o, w), m(o, t), A(a, t, null), l = !0, g || (v = X(
|
|
77
|
+
r,
|
|
92
78
|
"click",
|
|
93
79
|
/*handlePointClick*/
|
|
94
80
|
e[4]
|
|
@@ -97,7 +83,7 @@ function V(e) {
|
|
|
97
83
|
p(i, [s]) {
|
|
98
84
|
s & /*folded*/
|
|
99
85
|
8 && y(
|
|
100
|
-
|
|
86
|
+
p,
|
|
101
87
|
"transition-delay",
|
|
102
88
|
/*folded*/
|
|
103
89
|
(i[3] ? (
|
|
@@ -110,7 +96,7 @@ function V(e) {
|
|
|
110
96
|
4 && (n.icon = /*url*/
|
|
111
97
|
i[2]), s & /*width*/
|
|
112
98
|
2 && (n.width = /*width*/
|
|
113
|
-
i[1]),
|
|
99
|
+
i[1]), a.$set(n), s & /*folded*/
|
|
114
100
|
8 && y(
|
|
115
101
|
t,
|
|
116
102
|
"transition-delay",
|
|
@@ -134,22 +120,22 @@ function V(e) {
|
|
|
134
120
|
);
|
|
135
121
|
},
|
|
136
122
|
i(i) {
|
|
137
|
-
l || (D(
|
|
123
|
+
l || (D(d.$$.fragment, i), D(a.$$.fragment, i), l = !0);
|
|
138
124
|
},
|
|
139
125
|
o(i) {
|
|
140
|
-
I(
|
|
126
|
+
I(d.$$.fragment, i), I(a.$$.fragment, i), l = !1;
|
|
141
127
|
},
|
|
142
128
|
d(i) {
|
|
143
|
-
i && B(o), R(
|
|
129
|
+
i && B(o), R(d), R(a), g = !1, v();
|
|
144
130
|
}
|
|
145
131
|
};
|
|
146
132
|
}
|
|
147
|
-
function Y(e, o,
|
|
148
|
-
let u,
|
|
133
|
+
function Y(e, o, r) {
|
|
134
|
+
let u, d, c, p;
|
|
149
135
|
const w = E("hooks");
|
|
150
|
-
let { tag: t } = o,
|
|
136
|
+
let { tag: t } = o, a, l = !1;
|
|
151
137
|
const g = () => {
|
|
152
|
-
|
|
138
|
+
a !== void 0 && clearTimeout(a), l = !0, a = setTimeout(
|
|
153
139
|
() => {
|
|
154
140
|
l = !1;
|
|
155
141
|
},
|
|
@@ -162,14 +148,14 @@ function Y(e, o, a) {
|
|
|
162
148
|
G.call(this, e, n);
|
|
163
149
|
}
|
|
164
150
|
return e.$$set = (n) => {
|
|
165
|
-
"tag" in n &&
|
|
151
|
+
"tag" in n && r(6, t = n.tag);
|
|
166
152
|
}, e.$$.update = () => {
|
|
167
153
|
var n, k, T, L;
|
|
168
154
|
e.$$.dirty & /*tag*/
|
|
169
|
-
64 &&
|
|
170
|
-
1 &&
|
|
171
|
-
64 &&
|
|
172
|
-
64 &&
|
|
155
|
+
64 && r(0, u = (n = t.state) == null ? void 0 : n.unfolded), e.$$.dirty & /*unfolded*/
|
|
156
|
+
1 && r(3, d = !u), e.$$.dirty & /*tag*/
|
|
157
|
+
64 && r(2, c = (T = (k = t.style) == null ? void 0 : k.point) != null && T.url ? (L = t.style) == null ? void 0 : L.point : { url: K }), e.$$.dirty & /*tag*/
|
|
158
|
+
64 && r(1, p = (() => {
|
|
173
159
|
var P, C, F, $;
|
|
174
160
|
const M = (C = (P = t.style) == null ? void 0 : P.point) == null ? void 0 : C.width;
|
|
175
161
|
if (typeof M == "number")
|
|
@@ -188,20 +174,20 @@ function Y(e, o, a) {
|
|
|
188
174
|
})());
|
|
189
175
|
}, g(), [
|
|
190
176
|
u,
|
|
191
|
-
d,
|
|
192
|
-
c,
|
|
193
177
|
p,
|
|
178
|
+
c,
|
|
179
|
+
d,
|
|
194
180
|
v,
|
|
195
181
|
i,
|
|
196
182
|
t,
|
|
197
183
|
s
|
|
198
184
|
];
|
|
199
185
|
}
|
|
200
|
-
class
|
|
186
|
+
class gt extends j {
|
|
201
187
|
constructor(o) {
|
|
202
188
|
super(), q(this, o, Y, V, O, { tag: 6 }, Q);
|
|
203
189
|
}
|
|
204
190
|
}
|
|
205
191
|
export {
|
|
206
|
-
|
|
192
|
+
gt as default
|
|
207
193
|
};
|
|
@@ -1,29 +1,15 @@
|
|
|
1
|
-
import { SvelteComponent as te, init as le, safe_not_equal as ie, append_styles as se, element as p, create_component as re, space as C, text as S, attr as d, set_style as L, null_to_empty as D, toggle_class as H, insert as y, mount_component as ne, append as q, set_data as P, transition_in as
|
|
1
|
+
import { SvelteComponent as te, init as le, safe_not_equal as ie, append_styles as se, element as p, create_component as re, space as C, text as S, attr as d, set_style as L, null_to_empty as D, toggle_class as H, insert as y, mount_component as ne, append as q, set_data as P, transition_in as ae, transition_out as oe, detach as T, destroy_component as ce, src_url_equal as F, action_destroyer as fe, listen as me, destroy_each as O, run_all as ge } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import "three";
|
|
3
3
|
import "hammerjs";
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
4
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
5
|
+
import "@realsee/five/line";
|
|
7
6
|
import "../../../shared-utils/three/THREESphere.js";
|
|
8
7
|
import "animejs";
|
|
9
8
|
import { notNil as qe } from "../../../shared-utils/isNil.js";
|
|
9
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
10
10
|
import de from "../../utils/px2rem.js";
|
|
11
11
|
import pe from "../Common/Shadow.js";
|
|
12
12
|
import { svelteResizeObserver as ve } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
13
|
-
import "../../../shared-utils/positionToVector3.js";
|
|
14
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
15
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
16
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
17
|
-
import "../../../shared-utils/util.js";
|
|
18
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
19
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
20
|
-
import "../../../shared-utils/Subscribe.js";
|
|
21
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
22
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
23
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
24
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
25
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
26
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
27
13
|
import "../../../vendor/svelte/transition/index.js";
|
|
28
14
|
import "../../../vendor/svelte/easing/index.js";
|
|
29
15
|
import "../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
@@ -63,31 +49,31 @@ function Z(l) {
|
|
|
63
49
|
/*primaryTags*/
|
|
64
50
|
l[2] || []
|
|
65
51
|
), c = [];
|
|
66
|
-
for (let
|
|
67
|
-
c[
|
|
52
|
+
for (let o = 0; o < r.length; o += 1)
|
|
53
|
+
c[o] = A(E(l, r, o));
|
|
68
54
|
let m = (
|
|
69
55
|
/*secondaryTags*/
|
|
70
56
|
l[5] || []
|
|
71
57
|
), f = [];
|
|
72
|
-
for (let
|
|
73
|
-
f[
|
|
58
|
+
for (let o = 0; o < m.length; o += 1)
|
|
59
|
+
f[o] = J(j(l, m, o));
|
|
74
60
|
return {
|
|
75
61
|
c() {
|
|
76
62
|
e = p("div"), t = p("div");
|
|
77
|
-
for (let
|
|
78
|
-
c[
|
|
63
|
+
for (let o = 0; o < c.length; o += 1)
|
|
64
|
+
c[o].c();
|
|
79
65
|
s = C();
|
|
80
|
-
for (let
|
|
81
|
-
f[
|
|
66
|
+
for (let o = 0; o < f.length; o += 1)
|
|
67
|
+
f[o].c();
|
|
82
68
|
d(t, "class", "tags svelte-sezqcq"), d(e, "class", "tags-wrapper svelte-sezqcq");
|
|
83
69
|
},
|
|
84
|
-
m(
|
|
85
|
-
y(
|
|
86
|
-
for (let
|
|
87
|
-
c[
|
|
70
|
+
m(o, v) {
|
|
71
|
+
y(o, e, v), q(e, t);
|
|
72
|
+
for (let a = 0; a < c.length; a += 1)
|
|
73
|
+
c[a] && c[a].m(t, null);
|
|
88
74
|
q(t, s);
|
|
89
|
-
for (let
|
|
90
|
-
f[
|
|
75
|
+
for (let a = 0; a < f.length; a += 1)
|
|
76
|
+
f[a] && f[a].m(t, null);
|
|
91
77
|
i || (n = [
|
|
92
78
|
fe(ve.call(null, t)),
|
|
93
79
|
me(
|
|
@@ -98,36 +84,36 @@ function Z(l) {
|
|
|
98
84
|
)
|
|
99
85
|
], i = !0);
|
|
100
86
|
},
|
|
101
|
-
p(
|
|
87
|
+
p(o, v) {
|
|
102
88
|
if (v & /*minTagWidth, primaryTags*/
|
|
103
89
|
4) {
|
|
104
90
|
r = /*primaryTags*/
|
|
105
|
-
|
|
106
|
-
let
|
|
107
|
-
for (
|
|
108
|
-
const k = E(
|
|
109
|
-
c[
|
|
91
|
+
o[2] || [];
|
|
92
|
+
let a;
|
|
93
|
+
for (a = 0; a < r.length; a += 1) {
|
|
94
|
+
const k = E(o, r, a);
|
|
95
|
+
c[a] ? c[a].p(k, v) : (c[a] = A(k), c[a].c(), c[a].m(t, s));
|
|
110
96
|
}
|
|
111
|
-
for (;
|
|
112
|
-
c[
|
|
97
|
+
for (; a < c.length; a += 1)
|
|
98
|
+
c[a].d(1);
|
|
113
99
|
c.length = r.length;
|
|
114
100
|
}
|
|
115
101
|
if (v & /*minTagWidth, secondaryTags*/
|
|
116
102
|
32) {
|
|
117
103
|
m = /*secondaryTags*/
|
|
118
|
-
|
|
119
|
-
let
|
|
120
|
-
for (
|
|
121
|
-
const k = j(
|
|
122
|
-
f[
|
|
104
|
+
o[5] || [];
|
|
105
|
+
let a;
|
|
106
|
+
for (a = 0; a < m.length; a += 1) {
|
|
107
|
+
const k = j(o, m, a);
|
|
108
|
+
f[a] ? f[a].p(k, v) : (f[a] = J(k), f[a].c(), f[a].m(t, null));
|
|
123
109
|
}
|
|
124
|
-
for (;
|
|
125
|
-
f[
|
|
110
|
+
for (; a < f.length; a += 1)
|
|
111
|
+
f[a].d(1);
|
|
126
112
|
f.length = m.length;
|
|
127
113
|
}
|
|
128
114
|
},
|
|
129
|
-
d(
|
|
130
|
-
|
|
115
|
+
d(o) {
|
|
116
|
+
o && T(e), O(c, o), O(f, o), i = !1, ge(n);
|
|
131
117
|
}
|
|
132
118
|
};
|
|
133
119
|
}
|
|
@@ -257,11 +243,11 @@ function x(l) {
|
|
|
257
243
|
c() {
|
|
258
244
|
e = p("div"), t = p("div"), s = C(), i = p("span"), r = S(n), c = C(), m = p("div"), m.innerHTML = '<svg class="arrow svelte-sezqcq" viewBox="0 0 6 9"><g transform="translate(-3, -2)" fill-rule="nonzero" class="svelte-sezqcq"><path d="M4.43868724,2.12056563 C4.28121824,1.95989074 4.02582143,1.95979988 3.86824251,2.1203627 C3.72498894,2.26632889 3.71189225,2.49481723 3.82900374,2.65587166 L6.57092402,5.92894326 C6.72651763,6.11470411 6.72651763,6.38529589 6.57092402,6.57105674 L3.86804348,9.79798499 C3.72488984,9.94405307 3.71194952,10.1725507 3.8291712,10.3335217 L3.86824251,10.3796373 C4.01149607,10.5256035 4.23559087,10.5387981 4.39346025,10.4192733 L4.43868724,10.3794344 L8.1144599,6.5985342 C8.30312347,6.40447482 8.30312347,6.09552518 8.1144599,5.9014658 L4.43868724,2.12056563 Z" class="svelte-sezqcq"></path></g></svg>', d(t, "class", "gap svelte-sezqcq"), d(i, "class", "text svelte-sezqcq"), d(e, "class", "goto-button goto-icon svelte-sezqcq"), d(m, "class", "arrow-wrapper svelte-sezqcq");
|
|
259
245
|
},
|
|
260
|
-
m(f,
|
|
261
|
-
y(f, e,
|
|
246
|
+
m(f, o) {
|
|
247
|
+
y(f, e, o), q(e, t), q(e, s), q(e, i), q(i, r), y(f, c, o), y(f, m, o);
|
|
262
248
|
},
|
|
263
|
-
p(f,
|
|
264
|
-
|
|
249
|
+
p(f, o) {
|
|
250
|
+
o & /*data*/
|
|
265
251
|
8 && n !== (n = /*data*/
|
|
266
252
|
f[3].highlightText + "") && P(r, n);
|
|
267
253
|
},
|
|
@@ -272,10 +258,10 @@ function x(l) {
|
|
|
272
258
|
}
|
|
273
259
|
function ue(l) {
|
|
274
260
|
var W, G;
|
|
275
|
-
let e, t, s, i, n, r, c, m, f,
|
|
261
|
+
let e, t, s, i, n, r, c, m, f, o, v = (
|
|
276
262
|
/*data*/
|
|
277
263
|
l[3].title + ""
|
|
278
|
-
),
|
|
264
|
+
), a, k, U, _, w;
|
|
279
265
|
t = new pe({
|
|
280
266
|
props: {
|
|
281
267
|
visible: (
|
|
@@ -303,12 +289,12 @@ function ue(l) {
|
|
|
303
289
|
);
|
|
304
290
|
return {
|
|
305
291
|
c() {
|
|
306
|
-
e = p("div"), re(t.$$.fragment), s = C(), i = p("div"), n = C(), r = p("div"), h && h.c(), c = C(), m = p("div"), f = p("div"),
|
|
292
|
+
e = p("div"), re(t.$$.fragment), s = C(), i = p("div"), n = C(), r = p("div"), h && h.c(), c = C(), m = p("div"), f = p("div"), o = p("div"), a = S(v), k = C(), u && u.c(), U = C(), z && z.c(), d(i, "class", "line svelte-sezqcq"), L(
|
|
307
293
|
i,
|
|
308
294
|
"transition-delay",
|
|
309
295
|
/*unfolded*/
|
|
310
296
|
l[4] ? R + "ms" : Y + ee - $ - 40 + "ms"
|
|
311
|
-
), d(
|
|
297
|
+
), d(o, "class", "text svelte-sezqcq"), d(f, "class", "title svelte-sezqcq"), d(m, "class", "title-wrapper svelte-sezqcq"), d(r, "class", "content svelte-sezqcq"), L(r, "max-width", de(
|
|
312
298
|
/*maxWidth*/
|
|
313
299
|
l[9]
|
|
314
300
|
)), L(
|
|
@@ -330,7 +316,7 @@ function ue(l) {
|
|
|
330
316
|
);
|
|
331
317
|
},
|
|
332
318
|
m(g, b) {
|
|
333
|
-
y(g, e, b), ne(t, e, null), q(e, s), q(e, i), q(e, n), q(e, r), h && h.m(r, null), q(r, c), q(r, m), q(m, f), q(f,
|
|
319
|
+
y(g, e, b), ne(t, e, null), q(e, s), q(e, i), q(e, n), q(e, r), h && h.m(r, null), q(r, c), q(r, m), q(m, f), q(f, o), q(o, a), q(r, k), u && u.m(r, null), q(r, U), z && z.m(r, null), w = !0;
|
|
334
320
|
},
|
|
335
321
|
p(g, [b]) {
|
|
336
322
|
var M, X;
|
|
@@ -346,7 +332,7 @@ function ue(l) {
|
|
|
346
332
|
), /*data*/
|
|
347
333
|
g[3].headerPictureUrl ? h ? h.p(g, b) : (h = N(g), h.c(), h.m(r, c)) : h && (h.d(1), h = null), (!w || b & /*data*/
|
|
348
334
|
8) && v !== (v = /*data*/
|
|
349
|
-
g[3].title + "") && P(
|
|
335
|
+
g[3].title + "") && P(a, v), /*primaryTags*/
|
|
350
336
|
((M = g[2].length) != null ? M : 0) + /*secondaryTags*/
|
|
351
337
|
((X = g[5].length) != null ? X : 0) > 0 ? u ? u.p(g, b) : (u = Z(g), u.c(), u.m(r, U)) : u && (u.d(1), u = null), /*havePrice*/
|
|
352
338
|
g[7] || /*data*/
|
|
@@ -373,10 +359,10 @@ function ue(l) {
|
|
|
373
359
|
);
|
|
374
360
|
},
|
|
375
361
|
i(g) {
|
|
376
|
-
w || (
|
|
362
|
+
w || (ae(t.$$.fragment, g), w = !0);
|
|
377
363
|
},
|
|
378
364
|
o(g) {
|
|
379
|
-
|
|
365
|
+
oe(t.$$.fragment, g), w = !1;
|
|
380
366
|
},
|
|
381
367
|
d(g) {
|
|
382
368
|
g && T(e), ce(t), h && h.d(), u && u.d(), z && z.d();
|
|
@@ -385,7 +371,7 @@ function ue(l) {
|
|
|
385
371
|
}
|
|
386
372
|
const B = 40, R = 400, $ = 500, Y = 180, ee = 500;
|
|
387
373
|
function ze(l, e, t) {
|
|
388
|
-
let s, i, n, r, c, m, f,
|
|
374
|
+
let s, i, n, r, c, m, f, o, { tag: v } = e, a, k = (() => {
|
|
389
375
|
var w;
|
|
390
376
|
const _ = (w = v.data.limitWidth) != null ? w : !0;
|
|
391
377
|
if (typeof _ == "number")
|
|
@@ -394,7 +380,7 @@ function ze(l, e, t) {
|
|
|
394
380
|
return 172;
|
|
395
381
|
})();
|
|
396
382
|
const U = (_) => {
|
|
397
|
-
t(1,
|
|
383
|
+
t(1, a = _.detail);
|
|
398
384
|
};
|
|
399
385
|
return l.$$set = (_) => {
|
|
400
386
|
"tag" in _ && t(0, v = _.tag);
|
|
@@ -406,16 +392,16 @@ function ze(l, e, t) {
|
|
|
406
392
|
1 && t(3, n = v.data), l.$$.dirty & /*data*/
|
|
407
393
|
8 && t(7, r = qe((h = n.price) == null ? void 0 : h.value) && ((u = n.price) == null ? void 0 : u.value) !== ""), l.$$.dirty & /*tag*/
|
|
408
394
|
1 && t(6, c = v.data.theme || "light"), l.$$.dirty & /*tagsOffsetHeight, maxTagsLength*/
|
|
409
|
-
1026 &&
|
|
395
|
+
1026 && a > 40 && t(10, m = m - 1), l.$$.dirty & /*data, maxTagsLength*/
|
|
410
396
|
1032 && t(2, f = ((z = n.brandTags) == null ? void 0 : z.slice(0, m).filter(Boolean)) || []), l.$$.dirty & /*data, maxTagsLength, primaryTags*/
|
|
411
|
-
1036 && t(5,
|
|
397
|
+
1036 && t(5, o = ((W = n.tags) == null ? void 0 : W.slice(0, m - f.length).filter(Boolean)) || []);
|
|
412
398
|
}, t(10, m = (k - 20) / B), [
|
|
413
399
|
v,
|
|
414
|
-
|
|
400
|
+
a,
|
|
415
401
|
f,
|
|
416
402
|
n,
|
|
417
403
|
s,
|
|
418
|
-
|
|
404
|
+
o,
|
|
419
405
|
c,
|
|
420
406
|
r,
|
|
421
407
|
i,
|
|
@@ -424,11 +410,11 @@ function ze(l, e, t) {
|
|
|
424
410
|
U
|
|
425
411
|
];
|
|
426
412
|
}
|
|
427
|
-
class
|
|
413
|
+
class Be extends te {
|
|
428
414
|
constructor(e) {
|
|
429
415
|
super(), le(this, e, ze, ue, ie, { tag: 0 }, he);
|
|
430
416
|
}
|
|
431
417
|
}
|
|
432
418
|
export {
|
|
433
|
-
|
|
419
|
+
Be as default
|
|
434
420
|
};
|
|
@@ -13,11 +13,11 @@ import { classnames as S } from "../../../vendor/classnames/index.js";
|
|
|
13
13
|
import { ModelTag as cA } from "../../controller/Tag/ModelTag.js";
|
|
14
14
|
import { isModelLike as dA } from "../../../shared-utils/five/mode.js";
|
|
15
15
|
import "hammerjs";
|
|
16
|
-
import "
|
|
17
|
-
import "
|
|
18
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
16
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
17
|
+
import "@realsee/five/line";
|
|
19
18
|
import "../../../shared-utils/three/THREESphere.js";
|
|
20
19
|
import "animejs";
|
|
20
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
21
|
import "./TextTag/TextTag.js";
|
|
22
22
|
import "../Common/Line/Straight.js";
|
|
23
23
|
import "../../../vendor/svelte/transition/index.js";
|
|
@@ -70,20 +70,6 @@ import "../../../vendor/svelte-carousel/src/utils/lazy.js";
|
|
|
70
70
|
import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
71
71
|
import "../../../vendor/svelte-carousel/src/utils/interval.js";
|
|
72
72
|
import "../Common/MediaItem.js";
|
|
73
|
-
import "../../../shared-utils/positionToVector3.js";
|
|
74
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
75
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
76
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
77
|
-
import "../../../shared-utils/util.js";
|
|
78
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
79
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
80
|
-
import "../../../shared-utils/Subscribe.js";
|
|
81
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
82
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
83
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
84
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
85
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
86
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
87
73
|
import "./AudioTag/AudioTag.js";
|
|
88
74
|
import "../Common/Audio.js";
|
|
89
75
|
import "../../utils/audio/SharedAudio.js";
|
|
@@ -92,11 +78,13 @@ import "../Common/Icon/audioIcon.js";
|
|
|
92
78
|
import "./AudioTag/AudioPlaneTag.js";
|
|
93
79
|
import "../Common/Icon/Icon.js";
|
|
94
80
|
import "../../utils/getImageInfo.js";
|
|
81
|
+
import "../../../shared-utils/positionToVector3.js";
|
|
95
82
|
import "../../../shared-utils/three/GLTFLoader.js";
|
|
96
83
|
import "@realsee/five/gltf-loader";
|
|
97
84
|
import "../../utils/planeNormal.js";
|
|
98
85
|
import "../../utils/tag/tagCheck.js";
|
|
99
86
|
import "../../utils/model/mediaPlane.js";
|
|
87
|
+
import "../../../shared-utils/three/centerPoint.js";
|
|
100
88
|
import "../../../shared-utils/three/loadTexture.js";
|
|
101
89
|
import "../../../shared-utils/three/Quadrangle.js";
|
|
102
90
|
import "../../../shared-utils/math/pointsIsRectangle.js";
|
|
@@ -106,6 +94,7 @@ import "../../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
106
94
|
import "../../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
107
95
|
import "../../../shared-utils/three/getNormal.js";
|
|
108
96
|
import "../../controller/Tag/BaseTag.js";
|
|
97
|
+
import "../../../shared-utils/Subscribe.js";
|
|
109
98
|
import "../../utils/tag/calculateTagConfig.js";
|
|
110
99
|
import "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
111
100
|
import "../../../shared-utils/typescript/entries.js";
|
|
@@ -114,6 +103,7 @@ import "../../typings/tag/TagConfig.js";
|
|
|
114
103
|
import "@realsee/five";
|
|
115
104
|
import "../../utils/tag/format.js";
|
|
116
105
|
import "../../../shared-utils/three/blink.js";
|
|
106
|
+
import "../../../shared-utils/util.js";
|
|
117
107
|
import "../../../shared-utils/vectorToCoordinate.js";
|
|
118
108
|
import "../../../shared-utils/formatRad.js";
|
|
119
109
|
import "../../../shared-utils/five/transformPosition.js";
|
|
@@ -761,7 +751,7 @@ function TA(i, A, t) {
|
|
|
761
751
|
y
|
|
762
752
|
];
|
|
763
753
|
}
|
|
764
|
-
class
|
|
754
|
+
class Ot extends tA {
|
|
765
755
|
constructor(A) {
|
|
766
756
|
super(), iA(
|
|
767
757
|
this,
|
|
@@ -783,5 +773,5 @@ class $t extends tA {
|
|
|
783
773
|
}
|
|
784
774
|
}
|
|
785
775
|
export {
|
|
786
|
-
|
|
776
|
+
Ot as default
|
|
787
777
|
};
|