@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
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var a = (n, s, t) => (
|
|
1
|
+
var f = Object.defineProperty;
|
|
2
|
+
var m = (n, s, t) => s in n ? f(n, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[s] = t;
|
|
3
|
+
var a = (n, s, t) => (m(n, typeof s != "symbol" ? s + "" : s, t), t);
|
|
4
4
|
import { BaseTag as g } from "./BaseTag.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as c from "three";
|
|
6
6
|
import { cancelIdleCallback as b, requestIdleCallback as y } from "../../utils/requestIdleCallback.js";
|
|
7
7
|
import "../../../shared-utils/Subscribe.js";
|
|
8
8
|
import "../../utils/tag/calculateTagConfig.js";
|
|
@@ -13,26 +13,16 @@ import "../../typings/tag/TagConfig.js";
|
|
|
13
13
|
import "@realsee/five";
|
|
14
14
|
import "../../../shared-utils/five/mode.js";
|
|
15
15
|
import "hammerjs";
|
|
16
|
-
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
17
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
18
|
-
import "../../../shared-utils/positionToVector3.js";
|
|
19
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
20
16
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
21
|
-
import "
|
|
22
|
-
import "../../../shared-utils/util.js";
|
|
23
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
24
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
25
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
26
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
27
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
28
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
29
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
30
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
31
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
17
|
+
import "@realsee/five/line";
|
|
32
18
|
import "../../../shared-utils/three/THREESphere.js";
|
|
33
19
|
import "animejs";
|
|
20
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
34
21
|
import "../../utils/tag/format.js";
|
|
22
|
+
import "../../../shared-utils/three/centerPoint.js";
|
|
23
|
+
import "../../../shared-utils/positionToVector3.js";
|
|
35
24
|
import "../../../shared-utils/three/blink.js";
|
|
25
|
+
import "../../../shared-utils/util.js";
|
|
36
26
|
import "../../../shared-utils/vectorToCoordinate.js";
|
|
37
27
|
import "../../../shared-utils/formatRad.js";
|
|
38
28
|
import "../../../shared-utils/five/transformPosition.js";
|
|
@@ -51,8 +41,8 @@ import "../../../shared-utils/five/getFloorIndex.js";
|
|
|
51
41
|
import "../../../shared-utils/safeObj.js";
|
|
52
42
|
import "../../utils/Cache.js";
|
|
53
43
|
import "../../../CruisePlugin/utils/sleep.js";
|
|
54
|
-
const v = new
|
|
55
|
-
class
|
|
44
|
+
const v = new c.Vector2();
|
|
45
|
+
class rt extends g {
|
|
56
46
|
constructor(t, e) {
|
|
57
47
|
super(t, e);
|
|
58
48
|
a(this, "__Object__");
|
|
@@ -118,12 +108,12 @@ class gt extends g {
|
|
|
118
108
|
const d = (() => {
|
|
119
109
|
if (!this.currentConfig.simulate3D)
|
|
120
110
|
return 1;
|
|
121
|
-
const
|
|
122
|
-
return Math.max(Math.min(1 -
|
|
123
|
-
})(),
|
|
111
|
+
const p = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), h = this.getDistance(void 0, 1);
|
|
112
|
+
return Math.max(Math.min(1 - p * h / 40, 1), 0.5);
|
|
113
|
+
})(), u = this.five.renderer.getSize(v);
|
|
124
114
|
this.screenPosition = {
|
|
125
|
-
leftPx: (r.x + 1) / 2 *
|
|
126
|
-
topPx: (-r.y + 1) / 2 *
|
|
115
|
+
leftPx: (r.x + 1) / 2 * u.x,
|
|
116
|
+
topPx: (-r.y + 1) / 2 * u.y,
|
|
127
117
|
scale: d
|
|
128
118
|
};
|
|
129
119
|
} else
|
|
@@ -138,12 +128,12 @@ class gt extends g {
|
|
|
138
128
|
}
|
|
139
129
|
}
|
|
140
130
|
computeNormal() {
|
|
141
|
-
return new
|
|
131
|
+
return new c.Vector3().fromArray(this.normal);
|
|
142
132
|
}
|
|
143
133
|
destroy() {
|
|
144
134
|
this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
|
|
145
135
|
}
|
|
146
136
|
}
|
|
147
137
|
export {
|
|
148
|
-
|
|
138
|
+
rt as PointTag
|
|
149
139
|
};
|
|
@@ -90,22 +90,10 @@ import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
|
90
90
|
import "../Components/Common/MediaItem.js";
|
|
91
91
|
import "../Components/Tag/MarketingTag.js";
|
|
92
92
|
import "hammerjs";
|
|
93
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
94
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
95
|
-
import "../../shared-utils/positionToVector3.js";
|
|
96
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
97
93
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
98
|
-
import "
|
|
99
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
100
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
101
|
-
import "../../shared-utils/Subscribe.js";
|
|
102
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
103
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
104
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
105
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
106
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
107
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
94
|
+
import "@realsee/five/line";
|
|
108
95
|
import "../../shared-utils/three/THREESphere.js";
|
|
96
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
109
97
|
import "../utils/noTypecheck.js";
|
|
110
98
|
import "../Components/Tag/AudioTag/index.js";
|
|
111
99
|
import "../Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -122,6 +110,7 @@ import "../Components/Tag/PanoramaTag.js";
|
|
|
122
110
|
import "../Components/Tag/CustomTag.js";
|
|
123
111
|
import "../../vendor/classnames/index.js";
|
|
124
112
|
import "./Tag/ModelTag.js";
|
|
113
|
+
import "../../shared-utils/positionToVector3.js";
|
|
125
114
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
126
115
|
import "@realsee/five/gltf-loader";
|
|
127
116
|
import "../utils/planeNormal.js";
|
|
@@ -135,6 +124,7 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
135
124
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
136
125
|
import "../../shared-utils/three/getNormal.js";
|
|
137
126
|
import "./Tag/BaseTag.js";
|
|
127
|
+
import "../../shared-utils/Subscribe.js";
|
|
138
128
|
import "../utils/tag/calculateTagConfig.js";
|
|
139
129
|
import "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
140
130
|
import "../../shared-utils/typescript/entries.js";
|
|
@@ -164,13 +154,25 @@ import "../utils/normalPositionToPositions.js";
|
|
|
164
154
|
import "../../vendor/svelte/store/index.js";
|
|
165
155
|
import "../../CSS3DRenderPlugin/index.js";
|
|
166
156
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
157
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
158
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
159
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
160
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
161
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
162
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
163
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
164
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
165
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
166
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
167
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
168
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
167
169
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
168
170
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
169
171
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
170
172
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
171
173
|
import "../../shared-utils/three/THREERaycaster.js";
|
|
172
174
|
import "../../base/BasePlugin.js";
|
|
173
|
-
class
|
|
175
|
+
class Se extends U {
|
|
174
176
|
constructor(t) {
|
|
175
177
|
super(t);
|
|
176
178
|
c(this, "rendererMap", /* @__PURE__ */ new Map());
|
|
@@ -321,5 +323,5 @@ class Me extends U {
|
|
|
321
323
|
}
|
|
322
324
|
}
|
|
323
325
|
export {
|
|
324
|
-
|
|
326
|
+
Se as TagRender
|
|
325
327
|
};
|
|
@@ -17,23 +17,26 @@ import "../../vendor/svelte/internal/index.js";
|
|
|
17
17
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
18
18
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
19
19
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
20
|
-
import "
|
|
21
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
22
|
-
import "../../shared-utils/util.js";
|
|
20
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
23
21
|
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
24
22
|
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
25
23
|
import "../../shared-utils/Subscribe.js";
|
|
26
24
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
25
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
27
26
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
28
27
|
import "../../shared-utils/three/centerPoint.js";
|
|
29
28
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
30
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
31
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
32
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
33
29
|
import "hammerjs";
|
|
34
|
-
import "
|
|
30
|
+
import "@realsee/five/line";
|
|
35
31
|
import "../../shared-utils/three/THREESphere.js";
|
|
36
32
|
import "animejs";
|
|
33
|
+
import "../../shared-utils/isNil.js";
|
|
34
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
36
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
37
|
+
import "../../shared-utils/util.js";
|
|
38
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
39
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
37
40
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
38
41
|
import "../../shared-utils/five/fiveModelLoad.js";
|
|
39
42
|
import "../../shared-utils/five/getFiveModel.js";
|
|
@@ -51,7 +54,7 @@ import "../../shared-utils/Utils/FiveUtil.js";
|
|
|
51
54
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
52
55
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
53
56
|
import "../../shared-utils/five/transformPosition.js";
|
|
54
|
-
class
|
|
57
|
+
class Se extends E {
|
|
55
58
|
constructor(e) {
|
|
56
59
|
super(e);
|
|
57
60
|
r(this, "tags", []);
|
|
@@ -177,5 +180,5 @@ class ye extends E {
|
|
|
177
180
|
}
|
|
178
181
|
}
|
|
179
182
|
export {
|
|
180
|
-
|
|
183
|
+
Se as TagUtil
|
|
181
184
|
};
|
|
@@ -40,13 +40,12 @@ import { resizeObserver as C } from "../../shared-utils/dom/resizeObserver.js";
|
|
|
40
40
|
import { TagRender as R } from "./TagRender.js";
|
|
41
41
|
import { isModelLike as G } from "../../shared-utils/five/mode.js";
|
|
42
42
|
import "hammerjs";
|
|
43
|
-
import "
|
|
44
|
-
import "
|
|
45
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
46
|
-
import { waitFiveModelLoaded as N } from "../../shared-utils/five/fiveModelLoad.js";
|
|
43
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
44
|
+
import "@realsee/five/line";
|
|
47
45
|
import "../../shared-utils/three/THREESphere.js";
|
|
48
46
|
import "animejs";
|
|
49
|
-
import { nextFrame as
|
|
47
|
+
import { nextFrame as N } from "../../shared-utils/animationFrame/index.js";
|
|
48
|
+
import { waitFiveModelLoaded as V } from "../../shared-utils/five/fiveModelLoad.js";
|
|
50
49
|
import { DebugUtil as z } from "../utils/DebugUtil.js";
|
|
51
50
|
import { safeObj as T } from "../../shared-utils/safeObj.js";
|
|
52
51
|
import { PointTag as x } from "./Tag/PointTag.js";
|
|
@@ -111,19 +110,7 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
|
111
110
|
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
112
111
|
import "../Components/Common/MediaItem.js";
|
|
113
112
|
import "../Components/Tag/MarketingTag.js";
|
|
114
|
-
import "../../
|
|
115
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
116
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
117
|
-
import "../../shared-utils/util.js";
|
|
118
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
119
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
120
|
-
import "../../shared-utils/Subscribe.js";
|
|
121
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
122
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
123
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
124
|
-
import "../../shared-utils/three/getObjectVisible.js";
|
|
125
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
126
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
113
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
127
114
|
import "../utils/noTypecheck.js";
|
|
128
115
|
import "../Components/Tag/AudioTag/index.js";
|
|
129
116
|
import "../Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -142,6 +129,7 @@ import "../../shared-utils/three/GLTFLoader.js";
|
|
|
142
129
|
import "@realsee/five/gltf-loader";
|
|
143
130
|
import "../utils/planeNormal.js";
|
|
144
131
|
import "../utils/model/mediaPlane.js";
|
|
132
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
145
133
|
import "../../shared-utils/three/loadTexture.js";
|
|
146
134
|
import "../../shared-utils/three/Quadrangle.js";
|
|
147
135
|
import "../../shared-utils/math/pointsIsRectangle.js";
|
|
@@ -151,12 +139,14 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
151
139
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
152
140
|
import "../../shared-utils/three/getNormal.js";
|
|
153
141
|
import "./Tag/BaseTag.js";
|
|
142
|
+
import "../../shared-utils/Subscribe.js";
|
|
154
143
|
import "../utils/tag/calculateTagConfig.js";
|
|
155
144
|
import "../../shared-utils/typescript/entries.js";
|
|
156
145
|
import "../utils/tag/adaptConfig.js";
|
|
157
146
|
import "../typings/tag/TagConfig.js";
|
|
158
147
|
import "@realsee/five";
|
|
159
148
|
import "../../shared-utils/three/blink.js";
|
|
149
|
+
import "../../shared-utils/util.js";
|
|
160
150
|
import "../../shared-utils/vectorToCoordinate.js";
|
|
161
151
|
import "../../shared-utils/formatRad.js";
|
|
162
152
|
import "../../shared-utils/five/transformPosition.js";
|
|
@@ -177,6 +167,18 @@ import "../utils/normalPositionToPositions.js";
|
|
|
177
167
|
import "../../vendor/svelte/store/index.js";
|
|
178
168
|
import "../../CSS3DRenderPlugin/index.js";
|
|
179
169
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
170
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
171
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
172
|
+
import "../../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
173
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
174
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
175
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
176
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
177
|
+
import "../../shared-utils/three/getObjectVisible.js";
|
|
178
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
179
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
180
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
181
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
180
182
|
import "../../shared-utils/url/absoluteUrl.js";
|
|
181
183
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
182
184
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
@@ -185,8 +187,8 @@ import "../../base/BasePlugin.js";
|
|
|
185
187
|
import "../utils/requestIdleCallback.js";
|
|
186
188
|
import "../Components/TagItem.js";
|
|
187
189
|
import "../Components/Common/TagPoint.js";
|
|
188
|
-
const S = "Dnalogel-PanoTagPlugin",
|
|
189
|
-
class
|
|
190
|
+
const S = "Dnalogel-PanoTagPlugin", Wi = (d) => `${S}--${d}`;
|
|
191
|
+
class ji extends R {
|
|
190
192
|
constructor(e, t) {
|
|
191
193
|
super(e);
|
|
192
194
|
/** state */
|
|
@@ -288,7 +290,7 @@ class $i extends R {
|
|
|
288
290
|
this.TagContainerSvelte = new W({
|
|
289
291
|
target: this.container,
|
|
290
292
|
props: c(f({}, n), { state: c(f({}, this.state), { enabled: !1 }) })
|
|
291
|
-
}),
|
|
293
|
+
}), N(() => {
|
|
292
294
|
var r;
|
|
293
295
|
(r = this.TagContainerSvelte) == null || r.$set({ state: this.state });
|
|
294
296
|
});
|
|
@@ -346,7 +348,7 @@ class $i extends R {
|
|
|
346
348
|
if (s === "Plane")
|
|
347
349
|
return new $(this, o);
|
|
348
350
|
});
|
|
349
|
-
return i.forEach(I), this.tags.push(...i), this.tagsLengthWillUpdate = !0,
|
|
351
|
+
return i.forEach(I), this.tags.push(...i), this.tagsLengthWillUpdate = !0, V(this.five).then(() => l(this, null, function* () {
|
|
350
352
|
var o, s;
|
|
351
353
|
this.store.eventListenerDisposer && ((s = (o = this.store).eventListenerDisposer) == null || s.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(i), i.forEach((n) => {
|
|
352
354
|
n.updateVisible(), n.updateZIndex();
|
|
@@ -599,7 +601,7 @@ class $i extends R {
|
|
|
599
601
|
}
|
|
600
602
|
}
|
|
601
603
|
export {
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
604
|
+
ji as PanoTagPluginController,
|
|
605
|
+
ji as default,
|
|
606
|
+
Wi as pluginFlag
|
|
605
607
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import r from "./controller/index.js";
|
|
2
|
-
import { pluginFlag as
|
|
3
|
-
import { defaultGlobalConfig as
|
|
4
|
-
import { ContentType as
|
|
2
|
+
import { pluginFlag as mr } from "./controller/index.js";
|
|
3
|
+
import { defaultGlobalConfig as er } from "./typings/tag/TagConfig.js";
|
|
4
|
+
import { ContentType as ar, DimensionType as fr, PointType as gr } from "./Archive/deprecated.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
7
7
|
import "./utils/addDebugPoints.js";
|
|
@@ -72,23 +72,10 @@ import "../vendor/svelte-carousel/src/utils/interval.js";
|
|
|
72
72
|
import "./Components/Common/MediaItem.js";
|
|
73
73
|
import "./Components/Tag/MarketingTag.js";
|
|
74
74
|
import "hammerjs";
|
|
75
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
76
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
77
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
78
75
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
79
|
-
import "
|
|
80
|
-
import "../shared-utils/util.js";
|
|
81
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
82
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
83
|
-
import "../shared-utils/Subscribe.js";
|
|
84
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
85
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
86
|
-
import "../shared-utils/three/centerPoint.js";
|
|
87
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
88
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
89
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
90
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
76
|
+
import "@realsee/five/line";
|
|
91
77
|
import "../shared-utils/three/THREESphere.js";
|
|
78
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
92
79
|
import "./utils/noTypecheck.js";
|
|
93
80
|
import "./Components/Tag/AudioTag/index.js";
|
|
94
81
|
import "./Components/Tag/AudioTag/AudioTag.js";
|
|
@@ -108,6 +95,7 @@ import "../shared-utils/three/GLTFLoader.js";
|
|
|
108
95
|
import "@realsee/five/gltf-loader";
|
|
109
96
|
import "./utils/planeNormal.js";
|
|
110
97
|
import "./utils/model/mediaPlane.js";
|
|
98
|
+
import "../shared-utils/three/centerPoint.js";
|
|
111
99
|
import "../shared-utils/three/loadTexture.js";
|
|
112
100
|
import "../shared-utils/three/Quadrangle.js";
|
|
113
101
|
import "../shared-utils/math/pointsIsRectangle.js";
|
|
@@ -117,12 +105,14 @@ import "../shared-utils/three/getPositionsByObjectFit.js";
|
|
|
117
105
|
import "../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
118
106
|
import "../shared-utils/three/getNormal.js";
|
|
119
107
|
import "./controller/Tag/BaseTag.js";
|
|
108
|
+
import "../shared-utils/Subscribe.js";
|
|
120
109
|
import "./utils/tag/calculateTagConfig.js";
|
|
121
110
|
import "../shared-utils/typescript/entries.js";
|
|
122
111
|
import "./utils/tag/adaptConfig.js";
|
|
123
112
|
import "@realsee/five";
|
|
124
113
|
import "../shared-utils/five/mode.js";
|
|
125
114
|
import "../shared-utils/three/blink.js";
|
|
115
|
+
import "../shared-utils/util.js";
|
|
126
116
|
import "../shared-utils/vectorToCoordinate.js";
|
|
127
117
|
import "../shared-utils/formatRad.js";
|
|
128
118
|
import "../shared-utils/five/transformPosition.js";
|
|
@@ -144,6 +134,18 @@ import "./utils/normalPositionToPositions.js";
|
|
|
144
134
|
import "../vendor/svelte/store/index.js";
|
|
145
135
|
import "../CSS3DRenderPlugin/index.js";
|
|
146
136
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
137
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
138
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
139
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
140
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
141
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
142
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
143
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
144
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
145
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
146
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
147
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
148
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
147
149
|
import "../shared-utils/url/absoluteUrl.js";
|
|
148
150
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
149
151
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
@@ -159,14 +161,14 @@ import "./Components/TagContainer.js";
|
|
|
159
161
|
import "./Components/TagItem.js";
|
|
160
162
|
import "./Components/Common/TagPoint.js";
|
|
161
163
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
162
|
-
const
|
|
164
|
+
const rr = (o, t) => new r(o, t);
|
|
163
165
|
export {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
166
|
+
ar as ContentType,
|
|
167
|
+
fr as DimensionType,
|
|
168
|
+
rr as PanoTagPlugin,
|
|
167
169
|
r as PanoTagPluginController,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
gr as PointType,
|
|
171
|
+
rr as default,
|
|
172
|
+
er as defaultGlobalConfig,
|
|
173
|
+
mr as pluginFlag
|
|
172
174
|
};
|
|
@@ -2,15 +2,15 @@ var z = Object.defineProperty, B = Object.defineProperties;
|
|
|
2
2
|
var H = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var E = Object.getOwnPropertySymbols;
|
|
4
4
|
var J = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var x = (o, i
|
|
6
|
-
for (var
|
|
7
|
-
J.call(
|
|
5
|
+
var x = (e, o, i) => o in e ? z(e, o, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[o] = i, F = (e, o) => {
|
|
6
|
+
for (var i in o || (o = {}))
|
|
7
|
+
J.call(o, i) && x(e, i, o[i]);
|
|
8
8
|
if (E)
|
|
9
|
-
for (var
|
|
10
|
-
K.call(
|
|
11
|
-
return
|
|
12
|
-
}, _ = (
|
|
13
|
-
import { objectAssignDeepExports as
|
|
9
|
+
for (var i of E(o))
|
|
10
|
+
K.call(o, i) && x(e, i, o[i]);
|
|
11
|
+
return e;
|
|
12
|
+
}, _ = (e, o) => B(e, H(o));
|
|
13
|
+
import { objectAssignDeepExports as d } from "../../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
14
14
|
import { entries as I } from "../../../shared-utils/typescript/entries.js";
|
|
15
15
|
import P from "./adaptConfig.js";
|
|
16
16
|
import { defaultGlobalConfig as N } from "../../typings/tag/TagConfig.js";
|
|
@@ -18,70 +18,56 @@ import { Five as Q } from "@realsee/five";
|
|
|
18
18
|
import { isPanoramaLike as R, isModelLike as S } from "../../../shared-utils/five/mode.js";
|
|
19
19
|
import "three";
|
|
20
20
|
import "hammerjs";
|
|
21
|
-
import "
|
|
22
|
-
import "
|
|
23
|
-
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
21
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
22
|
+
import "@realsee/five/line";
|
|
24
23
|
import "../../../shared-utils/three/THREESphere.js";
|
|
25
24
|
import "animejs";
|
|
26
|
-
import "../../../
|
|
27
|
-
|
|
28
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
29
|
-
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
30
|
-
import "../../../shared-utils/util.js";
|
|
31
|
-
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
32
|
-
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
33
|
-
import "../../../shared-utils/Subscribe.js";
|
|
34
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
35
|
-
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
36
|
-
import "../../../shared-utils/three/centerPoint.js";
|
|
37
|
-
import "../../../shared-utils/three/getObjectVisible.js";
|
|
38
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
39
|
-
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
40
|
-
function Co(o, i, e) {
|
|
25
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
|
+
function fe(e, o, i) {
|
|
41
27
|
var v, b, j, C, A;
|
|
42
|
-
const D = (v =
|
|
43
|
-
if (!
|
|
44
|
-
return (b =
|
|
28
|
+
const D = (v = i == null ? void 0 : i.useCache) != null ? v : !0;
|
|
29
|
+
if (!e)
|
|
30
|
+
return (b = o.globalConfig) != null ? b : {};
|
|
45
31
|
if (D) {
|
|
46
|
-
if ((j =
|
|
47
|
-
return
|
|
48
|
-
if ((C =
|
|
49
|
-
return
|
|
32
|
+
if ((j = e == null ? void 0 : e.computedConfig) != null && j._isMerged)
|
|
33
|
+
return e.computedConfig;
|
|
34
|
+
if ((C = e == null ? void 0 : e.config) != null && C._isMerged)
|
|
35
|
+
return e.config;
|
|
50
36
|
}
|
|
51
|
-
const k = {},
|
|
52
|
-
|
|
37
|
+
const k = {}, y = {}, h = {};
|
|
38
|
+
o.contentTypeConfig && Object.entries(o.contentTypeConfig).forEach(([n, c]) => {
|
|
53
39
|
var O, W;
|
|
54
|
-
const t = n, a = t.split("-"), g = n.startsWith("["),
|
|
55
|
-
if (!
|
|
56
|
-
if (
|
|
57
|
-
const [
|
|
58
|
-
(
|
|
40
|
+
const t = n, a = t.split("-"), g = n.startsWith("["), f = g ? a[0].slice(1, -1) : void 0, s = g ? a.slice(1) : a, p = f ? ["PanoramaLike", "ModelLike"].includes(f) ? (O = y[f]) != null ? O : y[f] = {} : (W = h[f]) != null ? W : h[f] = {} : k;
|
|
41
|
+
if (!p[t]) {
|
|
42
|
+
if (s.length === 0 && (p[t] = c), s.length === 1) {
|
|
43
|
+
const [r] = s;
|
|
44
|
+
(e.contentType === r || r === "Any") && (p[t] = c);
|
|
59
45
|
}
|
|
60
|
-
if (
|
|
61
|
-
const [
|
|
62
|
-
|
|
46
|
+
if (s.length === 2) {
|
|
47
|
+
const [r = "Any", l = "Any"] = s;
|
|
48
|
+
r === "Mixin" && e.contentType === l && (p[t] = c), (e.stickType === r || r === "Any") && (e.contentType === l || l === "Any") && (p[t] = c);
|
|
63
49
|
}
|
|
64
|
-
if (
|
|
65
|
-
const [
|
|
66
|
-
if (
|
|
67
|
-
const L =
|
|
68
|
-
(L.stickType ===
|
|
50
|
+
if (s.length === 3) {
|
|
51
|
+
const [r = "Any", l, w] = s;
|
|
52
|
+
if (l === "Audio" && e.contentType === "Audio") {
|
|
53
|
+
const L = e;
|
|
54
|
+
(L.stickType === r || r === "Any") && L.data.appearance === w && (p[t] = c);
|
|
69
55
|
}
|
|
70
56
|
}
|
|
71
57
|
}
|
|
72
58
|
});
|
|
73
|
-
const
|
|
74
|
-
I(
|
|
59
|
+
const M = (A = e.initialConfig) != null ? A : {}, m = d({}, N, o.globalConfig, ...Object.values(k)), G = d({}, m, M), u = {}, q = Object.values(Q.Mode);
|
|
60
|
+
I(y).forEach(([n, c]) => {
|
|
75
61
|
q.forEach((t) => {
|
|
76
|
-
(n === "PanoramaLike" && R(t) || n === "ModelLike" && S(t)) && (
|
|
62
|
+
(n === "PanoramaLike" && R(t) || n === "ModelLike" && S(t)) && (u[t] = d({}, m, ...Object.values(c), M, { _isMerged: !0 }));
|
|
77
63
|
});
|
|
78
|
-
}), I(
|
|
79
|
-
const t =
|
|
80
|
-
|
|
64
|
+
}), I(h).forEach(([n, c]) => {
|
|
65
|
+
const t = u[n];
|
|
66
|
+
u[n] = d({}, m, t, ...Object.values(c), M, { _isMerged: !0 });
|
|
81
67
|
});
|
|
82
|
-
const T = _(F({}, G), { configWithFiveMode:
|
|
83
|
-
return P(T), Object.values(
|
|
68
|
+
const T = _(F({}, G), { configWithFiveMode: u });
|
|
69
|
+
return P(T), Object.values(u).forEach((n) => P(n)), T._isMerged = !0, T;
|
|
84
70
|
}
|
|
85
71
|
export {
|
|
86
|
-
|
|
72
|
+
fe as calculateTagConfig
|
|
87
73
|
};
|