@realsee/dnalogel 3.31.1-dev.0 → 3.32.0-dev.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 (167) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  3. package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  5. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  6. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  7. package/dist/index.cjs.js +66 -66
  8. package/dist/index.js +5849 -5666
  9. package/dist/index.umd.js +59 -59
  10. package/libs/AreaMakerPlugin/Controller.js +54 -44
  11. package/libs/AreaMakerPlugin/index.js +13 -3
  12. package/libs/AreaMakerPlugin/utils/Item.js +13 -3
  13. package/libs/CruisePlugin/Move.js +50 -37
  14. package/libs/CruisePlugin/Work.js +19 -6
  15. package/libs/CruisePlugin/index.js +23 -10
  16. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  17. package/libs/GuideLinePlugin/Controller.js +46 -33
  18. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  19. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  20. package/libs/GuideLinePlugin/index.js +23 -10
  21. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  22. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  23. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  24. package/libs/ItemLabelPlugin/index.js +16 -5
  25. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  26. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  27. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  28. package/libs/ModelItemLabelPlugin/index.js +16 -5
  29. package/libs/ModelMakerPlugin/Controller.js +33 -23
  30. package/libs/ModelMakerPlugin/index.js +13 -3
  31. package/libs/ModelMakerPlugin/utils/Text.js +43 -33
  32. package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
  33. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  34. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  35. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  36. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  37. package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
  38. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  39. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  40. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  41. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  42. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  43. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  44. package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
  45. package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
  46. package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
  47. package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
  48. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
  49. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
  50. package/libs/PanoMeasurePlugin/index.js +27 -16
  51. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  52. package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
  53. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  54. package/libs/PanoRulerProPlugin/index.js +15 -4
  55. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  56. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  57. package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
  58. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  59. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  60. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  61. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  62. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  63. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
  64. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
  65. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  66. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  67. package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
  68. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
  69. package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
  70. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  71. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  72. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
  73. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
  74. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  75. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
  76. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  77. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  78. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  79. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  80. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  81. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
  82. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  83. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
  84. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
  85. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
  86. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  87. package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
  88. package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
  89. package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
  90. package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  91. package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
  92. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  93. package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
  94. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  95. package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
  96. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  97. package/libs/PanoTagPlugin/controller/index.js +84 -65
  98. package/libs/PanoTagPlugin/index.js +28 -15
  99. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  100. package/libs/base/BasePlugin.js +1 -1
  101. package/libs/components/AreaLabel/LabelItem.js +56 -51
  102. package/libs/floorplan/Components/BaseImage.js +43 -39
  103. package/libs/floorplan/Components/Camera.js +41 -32
  104. package/libs/floorplan/Components/Compass.js +27 -24
  105. package/libs/floorplan/Components/CurrentFloor.js +167 -162
  106. package/libs/floorplan/Components/Main.js +85 -76
  107. package/libs/floorplan/Components/MissingFloor.js +24 -21
  108. package/libs/floorplan/Components/Normalmage.js +25 -22
  109. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  110. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  111. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
  112. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
  113. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  114. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  115. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  116. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  117. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  118. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  119. package/libs/floorplan/Components/SvgImage.js +30 -27
  120. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
  121. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  122. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
  123. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  124. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
  125. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
  126. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
  127. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
  128. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
  129. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  130. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
  131. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  132. package/libs/floorplan/index.js +1 -0
  133. package/libs/index.js +143 -129
  134. package/libs/shared-utils/logger.js +1 -1
  135. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  136. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  137. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  138. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  139. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  140. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  141. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  142. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  143. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  144. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  145. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  146. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  147. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  148. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  149. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  150. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  151. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  152. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  153. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  154. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  155. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  156. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  157. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  158. package/libs/vendor/svelte/src/shared/version.js +4 -0
  159. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
  160. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  161. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  162. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  163. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  164. package/package.json +5 -6
  165. package/libs/vendor/svelte/internal/index.js +0 -749
  166. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  167. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,6 +1,10 @@
1
- import { SvelteComponent as r, init as l, safe_not_equal as d, append_styles as h, element as u, attr as v, toggle_class as a, insert as _, listen as m, noop as n, detach as p, bubble as g } from "../../../../svelte/internal/index.js";
1
+ import { safe_not_equal as n, noop as a } from "../../../../svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as l, element as d, attr as h, toggle_class as r, insert as m, listen as u, detach as v } from "../../../../svelte/src/runtime/internal/dom.js";
3
+ import { bubble as _ } from "../../../../svelte/src/runtime/internal/lifecycle.js";
4
+ import { SvelteComponent as p, init as g } from "../../../../svelte/src/runtime/internal/Component.js";
5
+ import "../../../../svelte/src/runtime/internal/disclose-version/index.js";
2
6
  function f(e) {
3
- h(e, "svelte-1mgyhhn", `:root{--sc-dot-size:6px;--sc-active-dot-size:8px;--sc-dot-size-animation-time:250ms}.sc-carousel-dot__dot.svelte-1mgyhhn{background-color:var(--sc-color-rgb-light);border-radius:50%;display:inline-block;opacity:0.5;transition:opacity 100ms ease,\r
7
+ l(e, "svelte-1mgyhhn", `:root{--sc-dot-size:6px;--sc-active-dot-size:8px;--sc-dot-size-animation-time:250ms}.sc-carousel-dot__dot.svelte-1mgyhhn{background-color:var(--sc-color-rgb-light);border-radius:50%;display:inline-block;opacity:0.5;transition:opacity 100ms ease,\r
4
8
  height var(--sc-dot-size-animation-time) ease,\r
5
9
  width var(--sc-dot-size-animation-time) ease;cursor:pointer;-webkit-tap-highlight-color:transparent;height:var(--sc-dot-size);width:var(--sc-dot-size)}.sc-carousel-dot__dot.svelte-1mgyhhn:hover{opacity:0.9}.sc-carousel-dot__dot_active.svelte-1mgyhhn{opacity:0.7;height:var(--sc-active-dot-size);width:var(--sc-active-dot-size)}`);
6
10
  }
@@ -8,7 +12,7 @@ function b(e) {
8
12
  let t, s, c;
9
13
  return {
10
14
  c() {
11
- t = u("button"), v(t, "class", "sc-carousel-button sc-carousel-dot__dot svelte-1mgyhhn"), a(
15
+ t = d("button"), h(t, "class", "sc-carousel-button sc-carousel-dot__dot svelte-1mgyhhn"), r(
12
16
  t,
13
17
  "sc-carousel-dot__dot_active",
14
18
  /*active*/
@@ -16,7 +20,7 @@ function b(e) {
16
20
  );
17
21
  },
18
22
  m(i, o) {
19
- _(i, t, o), s || (c = m(
23
+ m(i, t, o), s || (c = u(
20
24
  t,
21
25
  "click",
22
26
  /*click_handler*/
@@ -25,34 +29,34 @@ function b(e) {
25
29
  },
26
30
  p(i, [o]) {
27
31
  o & /*active*/
28
- 1 && a(
32
+ 1 && r(
29
33
  t,
30
34
  "sc-carousel-dot__dot_active",
31
35
  /*active*/
32
36
  i[0]
33
37
  );
34
38
  },
35
- i: n,
36
- o: n,
39
+ i: a,
40
+ o: a,
37
41
  d(i) {
38
- i && p(t), s = !1, c();
42
+ i && v(t), s = !1, c();
39
43
  }
40
44
  };
41
45
  }
42
46
  function y(e, t, s) {
43
47
  let { active: c = !1 } = t;
44
48
  function i(o) {
45
- g.call(this, e, o);
49
+ _.call(this, e, o);
46
50
  }
47
51
  return e.$$set = (o) => {
48
52
  "active" in o && s(0, c = o.active);
49
53
  }, [c, i];
50
54
  }
51
- class k extends r {
55
+ class C extends p {
52
56
  constructor(t) {
53
- super(), l(this, t, y, b, d, { active: 0 }, f);
57
+ super(), g(this, t, y, b, n, { active: 0 }, f);
54
58
  }
55
59
  }
56
60
  export {
57
- k as Dot
61
+ C as Dot
58
62
  };
@@ -1,127 +1,133 @@
1
- import { SvelteComponent as v, init as k, safe_not_equal as y, append_styles as x, element as f, attr as _, insert as g, group_outros as C, update_keyed_each as w, outro_and_destroy_block as D, check_outros as I, transition_in as h, transition_out as p, detach as m, createEventDispatcher as P, create_component as b, space as j, mount_component as z, append as A, destroy_component as q } from "../../../../svelte/internal/index.js";
2
- import { Dot as E } from "../Dot/Dot.js";
3
- function M(l) {
4
- x(l, "svelte-670fde", ".sc-carousel-dots__container.svelte-670fde{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;padding:0 30px}.sc-carousel-dots__dot-container.svelte-670fde{height:calc(var(--sc-dot-size) + 14px);width:calc(var(--sc-dot-size) + 10px);display:flex;align-items:center;justify-content:center}");
1
+ import { safe_not_equal as k } from "../../../../svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as y, element as _, attr as p, insert as m, detach as g, space as x, append as C } from "../../../../svelte/src/runtime/internal/dom.js";
3
+ import { group_outros as w, check_outros as D, transition_in as h, transition_out as v } from "../../../../svelte/src/runtime/internal/transitions.js";
4
+ import { createEventDispatcher as I } from "../../../../svelte/src/runtime/internal/lifecycle.js";
5
+ import { ensure_array_like as u, update_keyed_each as P, outro_and_destroy_block as b } from "../../../../svelte/src/runtime/internal/each.js";
6
+ import { SvelteComponent as j, init as z, create_component as A, mount_component as q, destroy_component as E } from "../../../../svelte/src/runtime/internal/Component.js";
7
+ import "../../../../svelte/src/runtime/internal/disclose-version/index.js";
8
+ import { Dot as M } from "../Dot/Dot.js";
9
+ function S(l) {
10
+ y(l, "svelte-670fde", ".sc-carousel-dots__container.svelte-670fde{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;padding:0 30px}.sc-carousel-dots__dot-container.svelte-670fde{height:calc(var(--sc-dot-size) + 14px);width:calc(var(--sc-dot-size) + 10px);display:flex;align-items:center;justify-content:center}");
5
11
  }
6
- function u(l, c, n) {
7
- const r = l.slice();
8
- return r[5] = c[n], r[7] = n, r;
12
+ function f(l, r, n) {
13
+ const o = l.slice();
14
+ return o[5] = r[n], o[7] = n, o;
9
15
  }
10
- function d(l, c) {
11
- let n, r, a, o;
12
- function i() {
16
+ function d(l, r) {
17
+ let n, o, i, c;
18
+ function s() {
13
19
  return (
14
20
  /*click_handler*/
15
- c[3](
21
+ r[3](
16
22
  /*pageIndex*/
17
- c[7]
23
+ r[7]
18
24
  )
19
25
  );
20
26
  }
21
- return r = new E({
27
+ return o = new M({
22
28
  props: {
23
29
  active: (
24
30
  /*currentPageIndex*/
25
- c[1] === /*pageIndex*/
26
- c[7]
31
+ r[1] === /*pageIndex*/
32
+ r[7]
27
33
  )
28
34
  }
29
- }), r.$on("click", i), {
35
+ }), o.$on("click", s), {
30
36
  key: l,
31
37
  first: null,
32
38
  c() {
33
- n = f("div"), b(r.$$.fragment), a = j(), _(n, "class", "sc-carousel-dots__dot-container svelte-670fde"), this.first = n;
39
+ n = _("div"), A(o.$$.fragment), i = x(), p(n, "class", "sc-carousel-dots__dot-container svelte-670fde"), this.first = n;
34
40
  },
35
41
  m(t, e) {
36
- g(t, n, e), z(r, n, null), A(n, a), o = !0;
42
+ m(t, n, e), q(o, n, null), C(n, i), c = !0;
37
43
  },
38
44
  p(t, e) {
39
- c = t;
40
- const s = {};
45
+ r = t;
46
+ const a = {};
41
47
  e & /*currentPageIndex, pagesCount*/
42
- 3 && (s.active = /*currentPageIndex*/
43
- c[1] === /*pageIndex*/
44
- c[7]), r.$set(s);
48
+ 3 && (a.active = /*currentPageIndex*/
49
+ r[1] === /*pageIndex*/
50
+ r[7]), o.$set(a);
45
51
  },
46
52
  i(t) {
47
- o || (h(r.$$.fragment, t), o = !0);
53
+ c || (h(o.$$.fragment, t), c = !0);
48
54
  },
49
55
  o(t) {
50
- p(r.$$.fragment, t), o = !1;
56
+ v(o.$$.fragment, t), c = !1;
51
57
  },
52
58
  d(t) {
53
- t && m(n), q(r);
59
+ t && g(n), E(o);
54
60
  }
55
61
  };
56
62
  }
57
- function S(l) {
58
- let c, n = [], r = /* @__PURE__ */ new Map(), a, o = Array(
63
+ function B(l) {
64
+ let r, n = [], o = /* @__PURE__ */ new Map(), i, c = u(Array(
59
65
  /*pagesCount*/
60
66
  l[0]
61
- );
62
- const i = (t) => (
67
+ ));
68
+ const s = (t) => (
63
69
  /*pageIndex*/
64
70
  t[7]
65
71
  );
66
- for (let t = 0; t < o.length; t += 1) {
67
- let e = u(l, o, t), s = i(e);
68
- r.set(s, n[t] = d(s, e));
72
+ for (let t = 0; t < c.length; t += 1) {
73
+ let e = f(l, c, t), a = s(e);
74
+ o.set(a, n[t] = d(a, e));
69
75
  }
70
76
  return {
71
77
  c() {
72
- c = f("div");
78
+ r = _("div");
73
79
  for (let t = 0; t < n.length; t += 1)
74
80
  n[t].c();
75
- _(c, "class", "sc-carousel-dots__container svelte-670fde");
81
+ p(r, "class", "sc-carousel-dots__container svelte-670fde");
76
82
  },
77
83
  m(t, e) {
78
- g(t, c, e);
79
- for (let s = 0; s < n.length; s += 1)
80
- n[s] && n[s].m(c, null);
81
- a = !0;
84
+ m(t, r, e);
85
+ for (let a = 0; a < n.length; a += 1)
86
+ n[a] && n[a].m(r, null);
87
+ i = !0;
82
88
  },
83
89
  p(t, [e]) {
84
90
  e & /*currentPageIndex, Array, pagesCount, handleDotClick*/
85
- 7 && (o = Array(
91
+ 7 && (c = u(Array(
86
92
  /*pagesCount*/
87
93
  t[0]
88
- ), C(), n = w(n, e, i, 1, t, o, r, c, D, d, null, u), I());
94
+ )), w(), n = P(n, e, s, 1, t, c, o, r, b, d, null, f), D());
89
95
  },
90
96
  i(t) {
91
- if (!a) {
92
- for (let e = 0; e < o.length; e += 1)
97
+ if (!i) {
98
+ for (let e = 0; e < c.length; e += 1)
93
99
  h(n[e]);
94
- a = !0;
100
+ i = !0;
95
101
  }
96
102
  },
97
103
  o(t) {
98
104
  for (let e = 0; e < n.length; e += 1)
99
- p(n[e]);
100
- a = !1;
105
+ v(n[e]);
106
+ i = !1;
101
107
  },
102
108
  d(t) {
103
- t && m(c);
109
+ t && g(r);
104
110
  for (let e = 0; e < n.length; e += 1)
105
111
  n[e].d();
106
112
  }
107
113
  };
108
114
  }
109
- function B(l, c, n) {
110
- const r = P();
111
- let { pagesCount: a = 1 } = c, { currentPageIndex: o = 0 } = c;
112
- function i(e) {
113
- r("pageChange", e);
115
+ function F(l, r, n) {
116
+ const o = I();
117
+ let { pagesCount: i = 1 } = r, { currentPageIndex: c = 0 } = r;
118
+ function s(e) {
119
+ o("pageChange", e);
114
120
  }
115
- const t = (e) => i(e);
121
+ const t = (e) => s(e);
116
122
  return l.$$set = (e) => {
117
- "pagesCount" in e && n(0, a = e.pagesCount), "currentPageIndex" in e && n(1, o = e.currentPageIndex);
118
- }, [a, o, i, t];
123
+ "pagesCount" in e && n(0, i = e.pagesCount), "currentPageIndex" in e && n(1, c = e.currentPageIndex);
124
+ }, [i, c, s, t];
119
125
  }
120
- class H extends v {
121
- constructor(c) {
122
- super(), k(this, c, B, S, y, { pagesCount: 0, currentPageIndex: 1 }, M);
126
+ class R extends j {
127
+ constructor(r) {
128
+ super(), z(this, r, F, B, k, { pagesCount: 0, currentPageIndex: 1 }, S);
123
129
  }
124
130
  }
125
131
  export {
126
- H as Dots
132
+ R as Dots
127
133
  };
@@ -1,52 +1,55 @@
1
- import { SvelteComponent as d, init as l, safe_not_equal as u, append_styles as f, element as _, attr as h, set_style as o, insert as p, noop as a, detach as v } from "../../../../svelte/internal/index.js";
2
- function m(t) {
3
- f(t, "svelte-i7yfid", ".sc-carousel-progress__indicator.svelte-i7yfid{height:100%;background-color:var(--sc-color-hex-dark-50p)}");
1
+ import { safe_not_equal as d, noop as n } from "../../../../svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as l, element as u, attr as f, set_style as a, insert as m, detach as p } from "../../../../svelte/src/runtime/internal/dom.js";
3
+ import { SvelteComponent as _, init as h } from "../../../../svelte/src/runtime/internal/Component.js";
4
+ import "../../../../svelte/src/runtime/internal/disclose-version/index.js";
5
+ function v(e) {
6
+ l(e, "svelte-i7yfid", ".sc-carousel-progress__indicator.svelte-i7yfid{height:100%;background-color:var(--sc-color-hex-dark-50p)}");
4
7
  }
5
- function g(t) {
6
- let e;
8
+ function g(e) {
9
+ let t;
7
10
  return {
8
11
  c() {
9
- e = _("div"), h(e, "class", "sc-carousel-progress__indicator svelte-i7yfid"), o(
10
- e,
12
+ t = u("div"), f(t, "class", "sc-carousel-progress__indicator svelte-i7yfid"), a(
13
+ t,
11
14
  "width",
12
15
  /*width*/
13
- t[0] + "%"
16
+ e[0] + "%"
14
17
  );
15
18
  },
16
- m(i, s) {
17
- p(i, e, s);
19
+ m(i, r) {
20
+ m(i, t, r);
18
21
  },
19
- p(i, [s]) {
20
- s & /*width*/
21
- 1 && o(
22
- e,
22
+ p(i, [r]) {
23
+ r & /*width*/
24
+ 1 && a(
25
+ t,
23
26
  "width",
24
27
  /*width*/
25
28
  i[0] + "%"
26
29
  );
27
30
  },
28
- i: a,
29
- o: a,
31
+ i: n,
32
+ o: n,
30
33
  d(i) {
31
- i && v(e);
34
+ i && p(t);
32
35
  }
33
36
  };
34
37
  }
35
38
  const c = 100;
36
- function y(t, e, i) {
37
- let s, { value: r = 0 } = e;
38
- return t.$$set = (n) => {
39
- "value" in n && i(1, r = n.value);
40
- }, t.$$.update = () => {
41
- t.$$.dirty & /*value*/
42
- 2 && i(0, s = Math.min(Math.max(r * c, 0), c));
43
- }, [s, r];
39
+ function y(e, t, i) {
40
+ let r, { value: o = 0 } = t;
41
+ return e.$$set = (s) => {
42
+ "value" in s && i(1, o = s.value);
43
+ }, e.$$.update = () => {
44
+ e.$$.dirty & /*value*/
45
+ 2 && i(0, r = Math.min(Math.max(o * c, 0), c));
46
+ }, [r, o];
44
47
  }
45
- class w extends d {
46
- constructor(e) {
47
- super(), l(this, e, y, g, u, { value: 1 }, m);
48
+ class C extends _ {
49
+ constructor(t) {
50
+ super(), h(this, t, y, g, d, { value: 1 }, v);
48
51
  }
49
52
  }
50
53
  export {
51
- w as Progress
54
+ C as Progress
52
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.31.1-dev.0",
3
+ "version": "3.32.0-dev.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",
@@ -24,7 +24,6 @@
24
24
  "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
25
25
  "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
26
26
  "docs": "typedoc --options ./typedoc.json",
27
- "prepublishOnly": "run-p build",
28
27
  "postpublish": "cnpm sync @realsee/dnalogel"
29
28
  },
30
29
  "files": [
@@ -41,8 +40,8 @@
41
40
  "devDependencies": {
42
41
  "@babel/core": "^7.22.9",
43
42
  "@realsee/five": "6.0.0-alpha.98",
44
- "@sveltejs/vite-plugin-svelte": "^2.4.2",
45
- "@tsconfig/svelte": "^4.0.1",
43
+ "@sveltejs/vite-plugin-svelte": "^3.1.1",
44
+ "@tsconfig/svelte": "^5.0.4",
46
45
  "@tweenjs/tween.js": "^23.1.1",
47
46
  "@types/glob": "^8.1.0",
48
47
  "@types/hammerjs": "2.0.41",
@@ -72,9 +71,9 @@
72
71
  "sass": "^1.64.0",
73
72
  "stylelint": "^14.16.1",
74
73
  "stylelint-config-prettier": "^9.0.5",
75
- "svelte": "3.58.0",
74
+ "svelte": "4.2.18",
76
75
  "svelte-carousel": "1.0.25",
77
- "svelte-preprocess": "^5.0.4",
76
+ "svelte-preprocess": "^5.1.4",
78
77
  "three": "0.117.1",
79
78
  "type-fest": "4.13.1",
80
79
  "typedoc": "^0.24.8",