@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,228 +1,238 @@
1
- import { SvelteComponent as x, init as g, safe_not_equal as L, append_styles as W, element as k, attr as h, set_style as d, insert as u, transition_out as p, check_outros as N, transition_in as b, detach as _, group_outros as q, create_slot as C, update_slot_base as E, get_all_dirty_from_scope as M, get_slot_changes as S, space as T, empty as A, noop as m, text as z, set_data as j, append as B } from "../../../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as x, create_slot as g, update_slot_base as L, get_all_dirty_from_scope as W, get_slot_changes as N, noop as d } from "../../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as q, element as k, attr as h, set_style as _, insert as m, detach as u, space as C, empty as E, text as z, set_data as j, append as M } from "../../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_out as p, check_outros as S, transition_in as b, group_outros as T } from "../../../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { SvelteComponent as A, init as B } from "../../../../vendor/svelte/src/runtime/internal/Component.js";
5
+ import "../../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
6
  import y from "../../../utils/px2rem.js";
3
- function D(o) {
4
- W(o, "svelte-1j0cz4o", '.text.svelte-1j0cz4o{display:-webkit-box;display:-ms-box;display:-moz-box;position:relative;width:-moz-max-content;width:max-content;max-width:100%;-webkit-box-orient:vertical;-ms-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@keyframes svelte-1j0cz4o-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}.caret.svelte-1j0cz4o{position:absolute;width:0.0625rem;height:100%;background-color:#fff;animation:svelte-1j0cz4o-blink 1.2s infinite}.placeholder.svelte-1j0cz4o{opacity:0.5}.placeholder.svelte-1j0cz4o:empty::after{content:" "}');
7
+ import "../../../../vendor/svelte/src/runtime/internal/environment.js";
8
+ import "../../../../vendor/svelte/src/runtime/internal/loop.js";
9
+ import "../../../../vendor/svelte/src/runtime/internal/style_manager.js";
10
+ import "../../../../vendor/svelte/src/runtime/internal/scheduler.js";
11
+ import "../../../../vendor/svelte/src/runtime/internal/lifecycle.js";
12
+ import "../../../../vendor/svelte/src/shared/version.js";
13
+ function D(n) {
14
+ q(n, "svelte-1j0cz4o", '.text.svelte-1j0cz4o{display:-webkit-box;display:-ms-box;display:-moz-box;position:relative;width:-moz-max-content;width:max-content;max-width:100%;-webkit-box-orient:vertical;-ms-box-orient:vertical;overflow:hidden;text-overflow:ellipsis}@keyframes svelte-1j0cz4o-blink{0%{opacity:1}50%{opacity:0}100%{opacity:1}}.caret.svelte-1j0cz4o{position:absolute;width:0.0625rem;height:100%;background-color:#fff;animation:svelte-1j0cz4o-blink 1.2s infinite}.placeholder.svelte-1j0cz4o{opacity:0.5}.placeholder.svelte-1j0cz4o:empty::after{content:" "}');
5
15
  }
6
- function F(o) {
16
+ function F(n) {
7
17
  let t;
8
- const l = (
18
+ const i = (
9
19
  /*#slots*/
10
- o[6].default
11
- ), e = C(
12
- l,
13
- o,
20
+ n[6].default
21
+ ), e = g(
22
+ i,
23
+ n,
14
24
  /*$$scope*/
15
- o[5],
25
+ n[5],
16
26
  null
17
27
  );
18
28
  return {
19
29
  c() {
20
30
  e && e.c();
21
31
  },
22
- m(i, s) {
23
- e && e.m(i, s), t = !0;
32
+ m(l, c) {
33
+ e && e.m(l, c), t = !0;
24
34
  },
25
- p(i, s) {
26
- e && e.p && (!t || s & /*$$scope*/
27
- 32) && E(
35
+ p(l, c) {
36
+ e && e.p && (!t || c & /*$$scope*/
37
+ 32) && L(
28
38
  e,
29
- l,
30
39
  i,
40
+ l,
31
41
  /*$$scope*/
32
- i[5],
33
- t ? S(
34
- l,
42
+ l[5],
43
+ t ? N(
44
+ i,
35
45
  /*$$scope*/
36
- i[5],
37
- s,
46
+ l[5],
47
+ c,
38
48
  null
39
- ) : M(
49
+ ) : W(
40
50
  /*$$scope*/
41
- i[5]
51
+ l[5]
42
52
  ),
43
53
  null
44
54
  );
45
55
  },
46
- i(i) {
47
- t || (b(e, i), t = !0);
56
+ i(l) {
57
+ t || (b(e, l), t = !0);
48
58
  },
49
- o(i) {
50
- p(e, i), t = !1;
59
+ o(l) {
60
+ p(e, l), t = !1;
51
61
  },
52
- d(i) {
53
- e && e.d(i);
62
+ d(l) {
63
+ e && e.d(l);
54
64
  }
55
65
  };
56
66
  }
57
- function G(o) {
58
- var s, a;
59
- let t, l, e = (
67
+ function G(n) {
68
+ var c, a;
69
+ let t, i, e = (
60
70
  /*edit*/
61
- ((s = o[3]) == null ? void 0 : s.inputting) && v()
62
- ), i = typeof /*edit*/
63
- ((a = o[3]) == null ? void 0 : a.placeholder) == "string" && w(o);
71
+ ((c = n[3]) == null ? void 0 : c.inputting) && v()
72
+ ), l = typeof /*edit*/
73
+ ((a = n[3]) == null ? void 0 : a.placeholder) == "string" && w(n);
64
74
  return {
65
75
  c() {
66
- e && e.c(), t = T(), i && i.c(), l = A();
76
+ e && e.c(), t = C(), l && l.c(), i = E();
67
77
  },
68
- m(f, n) {
69
- e && e.m(f, n), u(f, t, n), i && i.m(f, n), u(f, l, n);
78
+ m(r, o) {
79
+ e && e.m(r, o), m(r, t, o), l && l.m(r, o), m(r, i, o);
70
80
  },
71
- p(f, n) {
72
- var c, r;
81
+ p(r, o) {
82
+ var f, s;
73
83
  /*edit*/
74
- (c = f[3]) != null && c.inputting ? e || (e = v(), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null), typeof /*edit*/
75
- ((r = f[3]) == null ? void 0 : r.placeholder) == "string" ? i ? i.p(f, n) : (i = w(f), i.c(), i.m(l.parentNode, l)) : i && (i.d(1), i = null);
84
+ (f = r[3]) != null && f.inputting ? e || (e = v(), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null), typeof /*edit*/
85
+ ((s = r[3]) == null ? void 0 : s.placeholder) == "string" ? l ? l.p(r, o) : (l = w(r), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null);
76
86
  },
77
- i: m,
78
- o: m,
79
- d(f) {
80
- e && e.d(f), f && _(t), i && i.d(f), f && _(l);
87
+ i: d,
88
+ o: d,
89
+ d(r) {
90
+ r && (u(t), u(i)), e && e.d(r), l && l.d(r);
81
91
  }
82
92
  };
83
93
  }
84
- function H(o) {
94
+ function H(n) {
85
95
  let t;
86
96
  return {
87
97
  c() {
88
98
  t = z(
89
99
  /*text*/
90
- o[2]
100
+ n[2]
91
101
  );
92
102
  },
93
- m(l, e) {
94
- u(l, t, e);
103
+ m(i, e) {
104
+ m(i, t, e);
95
105
  },
96
- p(l, e) {
106
+ p(i, e) {
97
107
  e & /*text*/
98
108
  4 && j(
99
109
  t,
100
110
  /*text*/
101
- l[2]
111
+ i[2]
102
112
  );
103
113
  },
104
- i: m,
105
- o: m,
106
- d(l) {
107
- l && _(t);
114
+ i: d,
115
+ o: d,
116
+ d(i) {
117
+ i && u(t);
108
118
  }
109
119
  };
110
120
  }
111
- function v(o) {
121
+ function v(n) {
112
122
  let t;
113
123
  return {
114
124
  c() {
115
125
  t = k("div"), h(t, "class", "caret svelte-1j0cz4o");
116
126
  },
117
- m(l, e) {
118
- u(l, t, e);
127
+ m(i, e) {
128
+ m(i, t, e);
119
129
  },
120
- d(l) {
121
- l && _(t);
130
+ d(i) {
131
+ i && u(t);
122
132
  }
123
133
  };
124
134
  }
125
- function w(o) {
126
- let t, l = (
135
+ function w(n) {
136
+ let t, i = (
127
137
  /*edit*/
128
- o[3].placeholder + ""
138
+ n[3].placeholder + ""
129
139
  ), e;
130
140
  return {
131
141
  c() {
132
- t = k("span"), e = z(l), h(t, "class", "placeholder svelte-1j0cz4o");
142
+ t = k("span"), e = z(i), h(t, "class", "placeholder svelte-1j0cz4o");
133
143
  },
134
- m(i, s) {
135
- u(i, t, s), B(t, e);
144
+ m(l, c) {
145
+ m(l, t, c), M(t, e);
136
146
  },
137
- p(i, s) {
138
- s & /*edit*/
139
- 8 && l !== (l = /*edit*/
140
- i[3].placeholder + "") && j(e, l);
147
+ p(l, c) {
148
+ c & /*edit*/
149
+ 8 && i !== (i = /*edit*/
150
+ l[3].placeholder + "") && j(e, i);
141
151
  },
142
- d(i) {
143
- i && _(t);
152
+ d(l) {
153
+ l && u(t);
144
154
  }
145
155
  };
146
156
  }
147
- function I(o) {
148
- let t, l, e, i;
149
- const s = [H, G, F], a = [];
150
- function f(n, c) {
157
+ function I(n) {
158
+ let t, i, e, l;
159
+ const c = [H, G, F], a = [];
160
+ function r(o, f) {
151
161
  return (
152
162
  /*text*/
153
- n[2] ? 0 : (
163
+ o[2] ? 0 : (
154
164
  /*isEditing*/
155
- n[4] ? 1 : 2
165
+ o[4] ? 1 : 2
156
166
  )
157
167
  );
158
168
  }
159
- return l = f(o), e = a[l] = s[l](o), {
169
+ return i = r(n), e = a[i] = c[i](n), {
160
170
  c() {
161
- t = k("div"), e.c(), h(t, "class", "text svelte-1j0cz4o"), d(t, "max-width", typeof /*maxWidth*/
162
- o[1] == "number" ? y(
171
+ t = k("div"), e.c(), h(t, "class", "text svelte-1j0cz4o"), _(t, "max-width", typeof /*maxWidth*/
172
+ n[1] == "number" ? y(
163
173
  /*maxWidth*/
164
- o[1]
174
+ n[1]
165
175
  ) : (
166
176
  /*maxWidth*/
167
- o[1]
168
- )), d(
177
+ n[1]
178
+ )), _(
169
179
  t,
170
180
  "-webkit-line-clamp",
171
181
  /*maxLine*/
172
- o[0]
182
+ n[0]
173
183
  );
174
184
  },
175
- m(n, c) {
176
- u(n, t, c), a[l].m(t, null), i = !0;
185
+ m(o, f) {
186
+ m(o, t, f), a[i].m(t, null), l = !0;
177
187
  },
178
- p(n, [c]) {
179
- let r = l;
180
- l = f(n), l === r ? a[l].p(n, c) : (q(), p(a[r], 1, 1, () => {
181
- a[r] = null;
182
- }), N(), e = a[l], e ? e.p(n, c) : (e = a[l] = s[l](n), e.c()), b(e, 1), e.m(t, null)), c & /*maxWidth*/
183
- 2 && d(t, "max-width", typeof /*maxWidth*/
184
- n[1] == "number" ? y(
188
+ p(o, [f]) {
189
+ let s = i;
190
+ i = r(o), i === s ? a[i].p(o, f) : (T(), p(a[s], 1, 1, () => {
191
+ a[s] = null;
192
+ }), S(), e = a[i], e ? e.p(o, f) : (e = a[i] = c[i](o), e.c()), b(e, 1), e.m(t, null)), f & /*maxWidth*/
193
+ 2 && _(t, "max-width", typeof /*maxWidth*/
194
+ o[1] == "number" ? y(
185
195
  /*maxWidth*/
186
- n[1]
196
+ o[1]
187
197
  ) : (
188
198
  /*maxWidth*/
189
- n[1]
190
- )), c & /*maxLine*/
191
- 1 && d(
199
+ o[1]
200
+ )), f & /*maxLine*/
201
+ 1 && _(
192
202
  t,
193
203
  "-webkit-line-clamp",
194
204
  /*maxLine*/
195
- n[0]
205
+ o[0]
196
206
  );
197
207
  },
198
- i(n) {
199
- i || (b(e), i = !0);
208
+ i(o) {
209
+ l || (b(e), l = !0);
200
210
  },
201
- o(n) {
202
- p(e), i = !1;
211
+ o(o) {
212
+ p(e), l = !1;
203
213
  },
204
- d(n) {
205
- n && _(t), a[l].d();
214
+ d(o) {
215
+ o && u(t), a[i].d();
206
216
  }
207
217
  };
208
218
  }
209
- function J(o, t, l) {
210
- let e, { $$slots: i = {}, $$scope: s } = t, { maxLine: a = null } = t, { maxWidth: f = null } = t, { text: n = null } = t, { edit: c = null } = t;
211
- return o.$$set = (r) => {
212
- "maxLine" in r && l(0, a = r.maxLine), "maxWidth" in r && l(1, f = r.maxWidth), "text" in r && l(2, n = r.text), "edit" in r && l(3, c = r.edit), "$$scope" in r && l(5, s = r.$$scope);
213
- }, o.$$.update = () => {
214
- o.$$.dirty & /*edit*/
215
- 8 && l(4, e = typeof (c == null ? void 0 : c.placeholder) == "string" || (c == null ? void 0 : c.inputting));
216
- }, [a, f, n, c, e, s, i];
219
+ function J(n, t, i) {
220
+ let e, { $$slots: l = {}, $$scope: c } = t, { maxLine: a = null } = t, { maxWidth: r = null } = t, { text: o = null } = t, { edit: f = null } = t;
221
+ return n.$$set = (s) => {
222
+ "maxLine" in s && i(0, a = s.maxLine), "maxWidth" in s && i(1, r = s.maxWidth), "text" in s && i(2, o = s.text), "edit" in s && i(3, f = s.edit), "$$scope" in s && i(5, c = s.$$scope);
223
+ }, n.$$.update = () => {
224
+ n.$$.dirty & /*edit*/
225
+ 8 && i(4, e = typeof (f == null ? void 0 : f.placeholder) == "string" || (f == null ? void 0 : f.inputting));
226
+ }, [a, r, o, f, e, c, l];
217
227
  }
218
- class P extends x {
228
+ class te extends A {
219
229
  constructor(t) {
220
- super(), g(
230
+ super(), B(
221
231
  this,
222
232
  t,
223
233
  J,
224
234
  I,
225
- L,
235
+ x,
226
236
  {
227
237
  maxLine: 0,
228
238
  maxWidth: 1,
@@ -234,5 +244,5 @@ class P extends x {
234
244
  }
235
245
  }
236
246
  export {
237
- P as default
247
+ te as default
238
248
  };
@@ -1,119 +1,129 @@
1
- import { SvelteComponent as h, init as p, safe_not_equal as k, append_styles as I, empty as g, insert as b, transition_in as d, transition_out as _, check_outros as q, detach as v, element as w, text as O, attr as C, append as N, set_data as S, add_render_callback as T, create_in_transition as j, create_out_transition as z, group_outros as A } from "../../../vendor/svelte/internal/index.js";
2
- import { cubicInOut as m } from "../../../vendor/svelte/easing/index.js";
3
- function B(a) {
4
- I(a, "svelte-1sfwqvc", ".text-char.svelte-1sfwqvc{opacity:1;display:inline-block;transform:translate(0, 0) scale(1) rotate(0)}");
1
+ import { safe_not_equal as y } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as h, empty as k, insert as x, detach as b, element as I, text as g, attr as q, append as w, set_data as O } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as d, transition_out as m, check_outros as C, create_in_transition as N, create_out_transition as S, group_outros as T } from "../../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { add_render_callback as j } from "../../../vendor/svelte/src/runtime/internal/scheduler.js";
5
+ import { SvelteComponent as z, init as A } from "../../../vendor/svelte/src/runtime/internal/Component.js";
6
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
7
+ import { cubicInOut as _ } from "../../../vendor/svelte/src/runtime/easing/index.js";
8
+ import "../../../vendor/svelte/src/runtime/internal/environment.js";
9
+ import "../../../vendor/svelte/src/runtime/internal/loop.js";
10
+ import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
11
+ import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
12
+ import "../../../vendor/svelte/src/shared/version.js";
13
+ function B(o) {
14
+ h(o, "svelte-1sfwqvc", ".text-char.svelte-1sfwqvc{opacity:1;display:inline-block;transform:translate(0, 0) scale(1) rotate(0)}");
5
15
  }
6
- function x(a) {
7
- let e, t, n, i, o;
16
+ function p(o) {
17
+ let e, t, n, i, s;
8
18
  return {
9
19
  c() {
10
- e = w("span"), t = O(
20
+ e = I("span"), t = g(
11
21
  /*content*/
12
- a[1]
13
- ), C(e, "class", "text-char svelte-1sfwqvc");
22
+ o[1]
23
+ ), q(e, "class", "text-char svelte-1sfwqvc");
14
24
  },
15
- m(r, c) {
16
- b(r, e, c), N(e, t), o = !0;
25
+ m(r, f) {
26
+ x(r, e, f), w(e, t), s = !0;
17
27
  },
18
- p(r, c) {
19
- (!o || c & /*content*/
20
- 2) && S(
28
+ p(r, f) {
29
+ (!s || f & /*content*/
30
+ 2) && O(
21
31
  t,
22
32
  /*content*/
23
33
  r[1]
24
34
  );
25
35
  },
26
36
  i(r) {
27
- o || (r && T(() => {
28
- o && (i && i.end(1), n = j(
37
+ s || (r && j(() => {
38
+ s && (i && i.end(1), n = N(
29
39
  e,
30
40
  /*fly*/
31
- a[2],
41
+ o[2],
32
42
  { duration: 400 }
33
43
  ), n.start());
34
- }), o = !0);
44
+ }), s = !0);
35
45
  },
36
46
  o(r) {
37
- n && n.invalidate(), r && (i = z(
47
+ n && n.invalidate(), r && (i = S(
38
48
  e,
39
49
  /*flyOut*/
40
- a[3],
50
+ o[3],
41
51
  { duration: 400 }
42
- )), o = !1;
52
+ )), s = !1;
43
53
  },
44
54
  d(r) {
45
- r && v(e), r && i && i.end();
55
+ r && b(e), r && i && i.end();
46
56
  }
47
57
  };
48
58
  }
49
- function D(a) {
59
+ function D(o) {
50
60
  let e, t = (
51
61
  /*visible*/
52
- a[0] && x(a)
62
+ o[0] && p(o)
53
63
  );
54
64
  return {
55
65
  c() {
56
- t && t.c(), e = g();
66
+ t && t.c(), e = k();
57
67
  },
58
68
  m(n, i) {
59
- t && t.m(n, i), b(n, e, i);
69
+ t && t.m(n, i), x(n, e, i);
60
70
  },
61
71
  p(n, [i]) {
62
72
  /*visible*/
63
73
  n[0] ? t ? (t.p(n, i), i & /*visible*/
64
- 1 && d(t, 1)) : (t = x(n), t.c(), d(t, 1), t.m(e.parentNode, e)) : t && (A(), _(t, 1, 1, () => {
74
+ 1 && d(t, 1)) : (t = p(n), t.c(), d(t, 1), t.m(e.parentNode, e)) : t && (T(), m(t, 1, 1, () => {
65
75
  t = null;
66
- }), q());
76
+ }), C());
67
77
  },
68
78
  i(n) {
69
79
  d(t);
70
80
  },
71
81
  o(n) {
72
- _(t);
82
+ m(t);
73
83
  },
74
84
  d(n) {
75
- t && t.d(n), n && v(e);
85
+ n && b(e), t && t.d(n);
76
86
  }
77
87
  };
78
88
  }
79
- function E(a, e, t) {
80
- let { index: n } = e, { rightIndex: i } = e, { visible: o } = e, { content: r } = e;
81
- function c(s, { duration: f }) {
89
+ function E(o, e, t) {
90
+ let { index: n } = e, { rightIndex: i } = e, { visible: s } = e, { content: r } = e;
91
+ function f(l, { duration: c }) {
82
92
  return {
83
- duration: f,
93
+ duration: c,
84
94
  delay: n * 40,
85
95
  css: (u) => {
86
- const l = m(u);
96
+ const a = _(u);
87
97
  return `
88
- transform: translate(${4 * (1 - l)}px, ${10 * (1 - l)}px) scale(${0.7 + l * 0.3}) rotate(${20 * (1 - l)}deg);
89
- opacity: ${l};`;
98
+ transform: translate(${4 * (1 - a)}px, ${10 * (1 - a)}px) scale(${0.7 + a * 0.3}) rotate(${20 * (1 - a)}deg);
99
+ opacity: ${a};`;
90
100
  }
91
101
  };
92
102
  }
93
- function y(s, { duration: f }) {
103
+ function v(l, { duration: c }) {
94
104
  return {
95
- duration: f,
105
+ duration: c,
96
106
  delay: i * 40,
97
107
  css: (u) => {
98
- const l = m(u);
108
+ const a = _(u);
99
109
  return `
100
- transform: translate(${4 * (1 - l)}px, ${10 * (1 - l)}px) scale(${0.7 + l * 0.3}) rotate(${20 * (1 - l)}deg);
101
- opacity: ${l};`;
110
+ transform: translate(${4 * (1 - a)}px, ${10 * (1 - a)}px) scale(${0.7 + a * 0.3}) rotate(${20 * (1 - a)}deg);
111
+ opacity: ${a};`;
102
112
  }
103
113
  };
104
114
  }
105
- return a.$$set = (s) => {
106
- "index" in s && t(4, n = s.index), "rightIndex" in s && t(5, i = s.rightIndex), "visible" in s && t(0, o = s.visible), "content" in s && t(1, r = s.content);
107
- }, [o, r, c, y, n, i];
115
+ return o.$$set = (l) => {
116
+ "index" in l && t(4, n = l.index), "rightIndex" in l && t(5, i = l.rightIndex), "visible" in l && t(0, s = l.visible), "content" in l && t(1, r = l.content);
117
+ }, [s, r, f, v, n, i];
108
118
  }
109
- class H extends h {
119
+ class W extends z {
110
120
  constructor(e) {
111
- super(), p(
121
+ super(), A(
112
122
  this,
113
123
  e,
114
124
  E,
115
125
  D,
116
- k,
126
+ y,
117
127
  {
118
128
  index: 4,
119
129
  rightIndex: 5,
@@ -125,5 +135,5 @@ class H extends h {
125
135
  }
126
136
  }
127
137
  export {
128
- H as default
138
+ W as default
129
139
  };