@realsee/dnalogel 3.42.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.
Files changed (158) hide show
  1. package/CHANGELOG.md +8 -1
  2. package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
  3. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
  4. package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
  5. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
  6. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
  7. package/dist/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  8. package/dist/Sculpt/Meshes/Line.d.ts +19 -1
  9. package/dist/Sculpt/utils/color.d.ts +1 -1
  10. package/dist/index.cjs.js +102 -68
  11. package/dist/index.js +7597 -7330
  12. package/dist/index.umd.js +103 -69
  13. package/dist/shared-utils/five/getPosition.d.ts +12 -4
  14. package/dist/shared-utils/five/initialCSS3DRender.d.ts +2 -0
  15. package/dist/shared-utils/math/deg2Rad.d.ts +1 -1
  16. package/dist/shared-utils/math/rad2Deg.d.ts +1 -1
  17. package/dist/shared-utils/positionToVector3.d.ts +6 -6
  18. package/{libs/shared-utils/three/PointSelector.d.ts → dist/shared-utils/three/PointSelector/index.d.ts} +23 -7
  19. package/dist/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
  20. package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
  21. package/dist/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
  22. package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
  23. package/dist/shared-utils/three/index.d.ts +2 -3
  24. package/libs/AreaMakerPlugin/Controller.js +5 -18
  25. package/libs/AreaMakerPlugin/index.js +4 -17
  26. package/libs/AreaMakerPlugin/utils/Item.js +13 -26
  27. package/libs/CSS3DRenderPlugin/Controller.js +9 -6
  28. package/libs/CSS3DRenderPlugin/index.js +12 -9
  29. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +6 -6
  30. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +4 -2
  31. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +73 -56
  32. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +11 -4
  33. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +2 -1
  34. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +14 -14
  35. package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +4 -0
  36. package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +13 -0
  37. package/libs/CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js +85 -0
  38. package/libs/CruisePlugin/BaseController.js +20 -33
  39. package/libs/CruisePlugin/Move.js +25 -23
  40. package/libs/CruisePlugin/Work.js +10 -8
  41. package/libs/CruisePlugin/index.js +23 -21
  42. package/libs/CurrentPanoImagePlugin/Controller.js +30 -43
  43. package/libs/CurrentPanoImagePlugin/index.js +5 -18
  44. package/libs/GuideLinePlugin/Controller.js +15 -13
  45. package/libs/GuideLinePlugin/GuideLineItem.js +19 -17
  46. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +4 -5
  47. package/libs/GuideLinePlugin/GuideLineModeItem.js +21 -19
  48. package/libs/GuideLinePlugin/index.js +23 -21
  49. package/libs/ModelMakerPlugin/Controller.js +19 -30
  50. package/libs/ModelMakerPlugin/index.js +11 -22
  51. package/libs/ModelTVVideoPlugin/Plugin.js +13 -10
  52. package/libs/ModelTVVideoPlugin/index.js +12 -9
  53. package/libs/Object3DHelperPlugin/Controller.js +7 -5
  54. package/libs/Object3DHelperPlugin/index.js +23 -21
  55. package/libs/PanoCompassPlugin/Controller.js +18 -15
  56. package/libs/PanoCompassPlugin/index.js +21 -18
  57. package/libs/PanoDoorLabelPlugin/BaseController.js +24 -37
  58. package/libs/PanoDoorLabelPlugin/Controller.js +56 -69
  59. package/libs/PanoDoorLabelPlugin/index.js +5 -18
  60. package/libs/PanoMeasurePlugin/Components/Controller0.js +40 -47
  61. package/libs/PanoMeasurePlugin/Components/Controller1.js +72 -79
  62. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +6 -1
  63. package/libs/PanoMeasurePlugin/Controller/BaseController.js +53 -39
  64. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +1 -1
  65. package/libs/PanoMeasurePlugin/Controller/EditController.js +177 -153
  66. package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -1
  67. package/libs/PanoMeasurePlugin/Controller/WatchController.js +60 -74
  68. package/libs/PanoMeasurePlugin/Controller/index.d.ts +2 -0
  69. package/libs/PanoMeasurePlugin/Controller/index.js +59 -60
  70. package/libs/PanoMeasurePlugin/Model/area.js +30 -44
  71. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -16
  72. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +42 -49
  73. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -1
  74. package/libs/PanoMeasurePlugin/index.js +35 -40
  75. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +23 -36
  76. package/libs/PanoSpatialTagPlugin/Plugin.js +41 -38
  77. package/libs/PanoSpatialTagPlugin/index.js +10 -7
  78. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +80 -93
  79. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +55 -69
  80. package/libs/PanoTagPlugin/Components/Tag/index.js +135 -145
  81. package/libs/PanoTagPlugin/Components/TagContainer.js +42 -52
  82. package/libs/PanoTagPlugin/Components/TagItem.js +74 -84
  83. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +87 -88
  84. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +29 -39
  85. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +11 -21
  86. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -28
  87. package/libs/PanoTagPlugin/controller/TagRender.js +18 -16
  88. package/libs/PanoTagPlugin/controller/TagUtil.js +12 -9
  89. package/libs/PanoTagPlugin/controller/index.js +27 -25
  90. package/libs/PanoTagPlugin/index.js +28 -26
  91. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +43 -57
  92. package/libs/PanoVideoPlugin/Controller.js +52 -65
  93. package/libs/PanoVideoPlugin/VideoMeshController.js +11 -25
  94. package/libs/PanoVideoPlugin/index.js +8 -21
  95. package/libs/PipelinePlugin/Controller.js +44 -57
  96. package/libs/PipelinePlugin/index.js +5 -18
  97. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +20 -34
  98. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +16 -30
  99. package/libs/PipelinePlugin/utils/Objects/Pipe.js +39 -53
  100. package/libs/Sculpt/Meshes/Box.js +3 -3
  101. package/libs/Sculpt/Meshes/Cylinder.js +14 -14
  102. package/libs/Sculpt/Meshes/Line.d.ts +19 -1
  103. package/libs/Sculpt/Meshes/Line.js +40 -41
  104. package/libs/Sculpt/Meshes/LineWithDots.js +5 -6
  105. package/libs/Sculpt/Meshes/Point.js +3 -3
  106. package/libs/Sculpt/Meshes/Polyline.js +3 -3
  107. package/libs/Sculpt/Meshes/Prism.js +11 -12
  108. package/libs/Sculpt/Meshes/Rectangle.js +3 -3
  109. package/libs/Sculpt/Objects/Point/Editor.js +10 -10
  110. package/libs/Sculpt/Objects/Polygon/Editor.js +6 -6
  111. package/libs/Sculpt/Objects/Polyline/Editor.js +4 -4
  112. package/libs/Sculpt/index.js +3 -3
  113. package/libs/Sculpt/utils/Modules/Global.js +1 -1
  114. package/libs/Sculpt/utils/color.d.ts +1 -1
  115. package/libs/Sculpt/utils/three/ColoredMesh.js +3 -3
  116. package/libs/base/BasePlugin.js +4 -4
  117. package/libs/floorplan/Components/Compass.js +29 -31
  118. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +9 -22
  119. package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -19
  120. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -18
  121. package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -18
  122. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +48 -61
  123. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -18
  124. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +28 -41
  125. package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -18
  126. package/libs/floorplan/index.js +3 -3
  127. package/libs/index.js +140 -137
  128. package/libs/shared-utils/five/getPosition.d.ts +12 -4
  129. package/libs/shared-utils/five/getPosition.js +23 -23
  130. package/libs/shared-utils/five/index.js +2 -2
  131. package/libs/shared-utils/five/initialCSS3DRender.d.ts +2 -0
  132. package/libs/shared-utils/five/initialCSS3DRender.js +17 -0
  133. package/libs/shared-utils/five/lookObject.js +3 -3
  134. package/libs/shared-utils/index.js +38 -40
  135. package/libs/shared-utils/logger.js +1 -1
  136. package/libs/shared-utils/math/deg2Rad.d.ts +1 -1
  137. package/libs/shared-utils/math/rad2Deg.d.ts +1 -1
  138. package/libs/shared-utils/positionToVector3.d.ts +6 -6
  139. package/{dist/shared-utils/three/PointSelector.d.ts → libs/shared-utils/three/PointSelector/index.d.ts} +23 -7
  140. package/libs/shared-utils/three/{PointSelector.js → PointSelector/index.js} +54 -45
  141. package/libs/shared-utils/three/{PointHelper.d.ts → PointSelector/utils/PointHelper.d.ts} +11 -3
  142. package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +95 -0
  143. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +30 -0
  144. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +153 -0
  145. package/libs/shared-utils/three/{PointSelectorHelper.d.ts → PointSelector/utils/PointSelectorHelper.d.ts} +9 -10
  146. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +60 -0
  147. package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.js +3 -4
  148. package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
  149. package/libs/shared-utils/three/index.d.ts +2 -3
  150. package/libs/shared-utils/three/index.js +3 -3
  151. package/package.json +3 -3
  152. package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
  153. package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
  154. package/libs/shared-utils/three/PointDomHelper.js +0 -62
  155. package/libs/shared-utils/three/PointHelper.js +0 -73
  156. package/libs/shared-utils/three/PointSelectorHelper.js +0 -52
  157. /package/dist/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
  158. /package/libs/{PanoMeasurePlugin/Modules/rangePiece → shared-utils/three/PointSelector/utils}/html.d.ts +0 -0
@@ -1,152 +1,139 @@
1
- import { SvelteComponent as F, init as M, safe_not_equal as U, append_styles as W, element as h, space as _, create_component as I, attr as z, set_style as y, toggle_class as b, insert as X, append as m, mount_component as R, listen as B, transition_in as j, transition_out as q, detach as E, destroy_component as A, getContext as G, bubble as H } from "../../../vendor/svelte/internal/index.js";
2
- import J from "./Shadow.js";
3
- import K from "./Icon/Icon.js";
4
- import { Image_Default_Point as N } from "../../Assets/Icon.js";
1
+ import { SvelteComponent as j, init as q, safe_not_equal as O, append_styles as U, element as h, space as _, create_component as S, attr as z, set_style as y, toggle_class as b, insert as W, append as m, mount_component as A, listen as X, transition_in as D, transition_out as I, detach as B, destroy_component as R, getContext as E, bubble as G } from "../../../vendor/svelte/internal/index.js";
2
+ import H from "./Shadow.js";
3
+ import J from "./Icon/Icon.js";
4
+ import { Image_Default_Point as K } from "../../Assets/Icon.js";
5
+ import { isModelLike as N } from "../../../shared-utils/five/mode.js";
5
6
  import "three";
6
7
  import "hammerjs";
7
- import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
8
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
9
- import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
8
+ import "three/examples/jsm/renderers/CSS3DRenderer";
9
+ import "@realsee/five/line";
10
10
  import "../../../shared-utils/three/THREESphere.js";
11
11
  import "animejs";
12
+ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
12
13
  import "../../../vendor/svelte/transition/index.js";
13
14
  import "../../../vendor/svelte/easing/index.js";
14
15
  import "../../utils/noTypecheck.js";
15
16
  import "../../utils/getImageInfo.js";
16
17
  import "../../utils/px2rem.js";
17
- import "../../../shared-utils/positionToVector3.js";
18
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
19
- import "three/examples/jsm/renderers/CSS3DRenderer";
20
- import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
21
- import "../../../shared-utils/util.js";
22
- import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
23
- import "../../../CSS3DRenderPlugin/utils/even.js";
24
- import "../../../shared-utils/Subscribe.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
- function O(t) {
32
- W(t, "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}');
18
+ function Q(e) {
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}');
33
20
  }
34
- function Q(t) {
35
- let i, r, d, p, c, u, w, o, a, l, g, v;
36
- return p = new J({
21
+ function V(e) {
22
+ let o, r, u, d, c, p, w, t, a, l, g, v;
23
+ return d = new H({
37
24
  props: {
38
25
  center: !0,
39
26
  blurRadius: 15,
40
27
  spreadRadius: 5,
41
28
  opacity: 0.3
42
29
  }
43
- }), a = new K({
30
+ }), a = new J({
44
31
  props: {
45
32
  icon: (
46
33
  /*url*/
47
- t[2]
34
+ e[2]
48
35
  ),
49
36
  width: (
50
37
  /*width*/
51
- t[1]
38
+ e[1]
52
39
  )
53
40
  }
54
41
  }), a.$on(
55
42
  "iconLoaded",
56
43
  /*iconLoaded_handler*/
57
- t[7]
44
+ e[7]
58
45
  ), {
59
46
  c() {
60
- i = h("div"), r = h("div"), d = _(), I(p.$$.fragment), c = _(), u = h("div"), w = _(), o = h("div"), I(a.$$.fragment), z(r, "class", "tag-point-click-helper svelte-7aiuwz"), z(u, "class", "tag-unfolded-point svelte-7aiuwz"), y(
61
- u,
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,
62
49
  "transition-delay",
63
50
  /*folded*/
64
- (t[3] ? (
51
+ (e[3] ? (
65
52
  /*foldDelay*/
66
- t[5]
53
+ e[5]
67
54
  ) : 0) + "ms"
68
- ), z(o, "class", "tag-folded-point svelte-7aiuwz"), y(
69
- o,
55
+ ), z(t, "class", "tag-folded-point svelte-7aiuwz"), y(
56
+ t,
70
57
  "transition-delay",
71
58
  /*folded*/
72
- (t[3] ? (
59
+ (e[3] ? (
73
60
  /*foldDelay*/
74
- t[5]
61
+ e[5]
75
62
  ) : 0) + "ms"
76
- ), z(i, "class", "tag-point-wrapper svelte-7aiuwz"), b(
77
- i,
63
+ ), z(o, "class", "tag-point-wrapper svelte-7aiuwz"), b(
64
+ o,
78
65
  "unfolded",
79
66
  /*unfolded*/
80
- t[0]
67
+ e[0]
81
68
  ), b(
82
- i,
69
+ o,
83
70
  "folded",
84
71
  /*folded*/
85
- t[3]
72
+ e[3]
86
73
  );
87
74
  },
88
- m(e, s) {
89
- X(e, i, s), m(i, r), m(i, d), R(p, i, null), m(i, c), m(i, u), m(i, w), m(i, o), R(a, o, null), l = !0, g || (v = B(
75
+ m(i, s) {
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(
90
77
  r,
91
78
  "click",
92
79
  /*handlePointClick*/
93
- t[4]
80
+ e[4]
94
81
  ), g = !0);
95
82
  },
96
- p(e, [s]) {
83
+ p(i, [s]) {
97
84
  s & /*folded*/
98
85
  8 && y(
99
- u,
86
+ p,
100
87
  "transition-delay",
101
88
  /*folded*/
102
- (e[3] ? (
89
+ (i[3] ? (
103
90
  /*foldDelay*/
104
- e[5]
91
+ i[5]
105
92
  ) : 0) + "ms"
106
93
  );
107
94
  const n = {};
108
95
  s & /*url*/
109
96
  4 && (n.icon = /*url*/
110
- e[2]), s & /*width*/
97
+ i[2]), s & /*width*/
111
98
  2 && (n.width = /*width*/
112
- e[1]), a.$set(n), s & /*folded*/
99
+ i[1]), a.$set(n), s & /*folded*/
113
100
  8 && y(
114
- o,
101
+ t,
115
102
  "transition-delay",
116
103
  /*folded*/
117
- (e[3] ? (
104
+ (i[3] ? (
118
105
  /*foldDelay*/
119
- e[5]
106
+ i[5]
120
107
  ) : 0) + "ms"
121
108
  ), (!l || s & /*unfolded*/
122
109
  1) && b(
123
- i,
110
+ o,
124
111
  "unfolded",
125
112
  /*unfolded*/
126
- e[0]
113
+ i[0]
127
114
  ), (!l || s & /*folded*/
128
115
  8) && b(
129
- i,
116
+ o,
130
117
  "folded",
131
118
  /*folded*/
132
- e[3]
119
+ i[3]
133
120
  );
134
121
  },
135
- i(e) {
136
- l || (j(p.$$.fragment, e), j(a.$$.fragment, e), l = !0);
122
+ i(i) {
123
+ l || (D(d.$$.fragment, i), D(a.$$.fragment, i), l = !0);
137
124
  },
138
- o(e) {
139
- q(p.$$.fragment, e), q(a.$$.fragment, e), l = !1;
125
+ o(i) {
126
+ I(d.$$.fragment, i), I(a.$$.fragment, i), l = !1;
140
127
  },
141
- d(e) {
142
- e && E(i), A(p), A(a), g = !1, v();
128
+ d(i) {
129
+ i && B(o), R(d), R(a), g = !1, v();
143
130
  }
144
131
  };
145
132
  }
146
- function V(t, i, r) {
147
- let d, p, c, u;
148
- const w = G("hooks");
149
- let { tag: o } = i, a, l = !1;
133
+ function Y(e, o, r) {
134
+ let u, d, c, p;
135
+ const w = E("hooks");
136
+ let { tag: t } = o, a, l = !1;
150
137
  const g = () => {
151
138
  a !== void 0 && clearTimeout(a), l = !0, a = setTimeout(
152
139
  () => {
@@ -155,25 +142,25 @@ function V(t, i, r) {
155
142
  800
156
143
  );
157
144
  }, v = (n) => {
158
- l || w.emit("click", { event: n, target: "TagPoint", tag: o });
159
- }, e = (() => o.contentType === "Text" && o.data.appearance === "plane" ? 500 : 800)();
145
+ l || (console.log("handleClick", t.entryFromModel), t.entryFromModel && N(t.five.state.mode) ? t.find({ targetMode: "Panorama" }).then(() => t.unfoldAndFoldOthers()) : w.emit("click", { event: n, target: "TagPoint", tag: t }));
146
+ }, i = (() => t.contentType === "Text" && t.data.appearance === "plane" ? 500 : 800)();
160
147
  function s(n) {
161
- H.call(this, t, n);
148
+ G.call(this, e, n);
162
149
  }
163
- return t.$$set = (n) => {
164
- "tag" in n && r(6, o = n.tag);
165
- }, t.$$.update = () => {
150
+ return e.$$set = (n) => {
151
+ "tag" in n && r(6, t = n.tag);
152
+ }, e.$$.update = () => {
166
153
  var n, k, T, L;
167
- t.$$.dirty & /*tag*/
168
- 64 && r(0, d = (n = o.state) == null ? void 0 : n.unfolded), t.$$.dirty & /*unfolded*/
169
- 1 && r(3, p = !d), t.$$.dirty & /*tag*/
170
- 64 && r(2, c = (T = (k = o.style) == null ? void 0 : k.point) != null && T.url ? (L = o.style) == null ? void 0 : L.point : { url: N }), t.$$.dirty & /*tag*/
171
- 64 && r(1, u = (() => {
172
- var $, C, S, D;
173
- const P = (C = ($ = o.style) == null ? void 0 : $.point) == null ? void 0 : C.width;
174
- if (typeof P == "number")
175
- return P;
176
- const f = (D = (S = o.style) == null ? void 0 : S.point) == null ? void 0 : D.size;
154
+ e.$$.dirty & /*tag*/
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 = (() => {
159
+ var P, C, F, $;
160
+ const M = (C = (P = t.style) == null ? void 0 : P.point) == null ? void 0 : C.width;
161
+ if (typeof M == "number")
162
+ return M;
163
+ const f = ($ = (F = t.style) == null ? void 0 : F.point) == null ? void 0 : $.size;
177
164
  if (typeof f == "number")
178
165
  return f;
179
166
  if (f === "S")
@@ -186,21 +173,21 @@ function V(t, i, r) {
186
173
  return 28;
187
174
  })());
188
175
  }, g(), [
189
- d,
190
176
  u,
191
- c,
192
177
  p,
178
+ c,
179
+ d,
193
180
  v,
194
- e,
195
- o,
181
+ i,
182
+ t,
196
183
  s
197
184
  ];
198
185
  }
199
- class $t extends F {
200
- constructor(i) {
201
- super(), M(this, i, V, Q, U, { tag: 6 }, O);
186
+ class gt extends j {
187
+ constructor(o) {
188
+ super(), q(this, o, Y, V, O, { tag: 6 }, Q);
202
189
  }
203
190
  }
204
191
  export {
205
- $t as default
192
+ gt as default
206
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 oe, transition_out as ae, 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";
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 "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
5
- import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
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 a = 0; a < r.length; a += 1)
67
- c[a] = A(E(l, r, a));
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 a = 0; a < m.length; a += 1)
73
- f[a] = J(j(l, m, a));
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 a = 0; a < c.length; a += 1)
78
- c[a].c();
63
+ for (let o = 0; o < c.length; o += 1)
64
+ c[o].c();
79
65
  s = C();
80
- for (let a = 0; a < f.length; a += 1)
81
- f[a].c();
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(a, v) {
85
- y(a, e, v), q(e, t);
86
- for (let o = 0; o < c.length; o += 1)
87
- c[o] && c[o].m(t, null);
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 o = 0; o < f.length; o += 1)
90
- f[o] && f[o].m(t, null);
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(a, v) {
87
+ p(o, v) {
102
88
  if (v & /*minTagWidth, primaryTags*/
103
89
  4) {
104
90
  r = /*primaryTags*/
105
- a[2] || [];
106
- let o;
107
- for (o = 0; o < r.length; o += 1) {
108
- const k = E(a, r, o);
109
- c[o] ? c[o].p(k, v) : (c[o] = A(k), c[o].c(), c[o].m(t, s));
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 (; o < c.length; o += 1)
112
- c[o].d(1);
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
- a[5] || [];
119
- let o;
120
- for (o = 0; o < m.length; o += 1) {
121
- const k = j(a, m, o);
122
- f[o] ? f[o].p(k, v) : (f[o] = J(k), f[o].c(), f[o].m(t, null));
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 (; o < f.length; o += 1)
125
- f[o].d(1);
110
+ for (; a < f.length; a += 1)
111
+ f[a].d(1);
126
112
  f.length = m.length;
127
113
  }
128
114
  },
129
- d(a) {
130
- a && T(e), O(c, a), O(f, a), i = !1, ge(n);
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, a) {
261
- y(f, e, a), q(e, t), q(e, s), q(e, i), q(i, r), y(f, c, a), y(f, m, a);
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, a) {
264
- a & /*data*/
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, a, v = (
261
+ let e, t, s, i, n, r, c, m, f, o, v = (
276
262
  /*data*/
277
263
  l[3].title + ""
278
- ), o, k, U, _, w;
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"), a = p("div"), o = S(v), k = C(), u && u.c(), U = C(), z && z.c(), d(i, "class", "line svelte-sezqcq"), L(
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(a, "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(
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, a), q(a, o), q(r, k), u && u.m(r, null), q(r, U), z && z.m(r, null), w = !0;
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(o, v), /*primaryTags*/
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 || (oe(t.$$.fragment, g), w = !0);
362
+ w || (ae(t.$$.fragment, g), w = !0);
377
363
  },
378
364
  o(g) {
379
- ae(t.$$.fragment, g), w = !1;
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, a, { tag: v } = e, o, k = (() => {
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, o = _.detail);
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 && o > 40 && t(10, m = m - 1), l.$$.dirty & /*data, maxTagsLength*/
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, a = ((W = n.tags) == null ? void 0 : W.slice(0, m - f.length).filter(Boolean)) || []);
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
- o,
400
+ a,
415
401
  f,
416
402
  n,
417
403
  s,
418
- a,
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 Ke extends te {
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
- Ke as default
419
+ Be as default
434
420
  };