@realsee/dnalogel 3.0.1 → 3.1.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/dist/floorplan/Components/MissingFloor.svelte.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/Controller.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
- package/dist/floorplan/typings/index.d.ts +15 -0
- package/dist/index.cjs.js +62 -62
- package/dist/index.js +6654 -6294
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/filter.d.ts +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +423 -214
- package/libs/floorplan/Components/Main.js +205 -271
- package/libs/floorplan/Components/MissingFloor.js +99 -0
- package/libs/floorplan/Components/MissingFloor.svelte.d.ts +1 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +1 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +74 -66
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +9 -8
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +108 -101
- package/libs/floorplan/ModelFloorplanPlugin/index.js +9 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +88 -68
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +199 -127
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +110 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +15 -14
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +118 -110
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +9 -8
- package/libs/floorplan/typings/index.d.ts +15 -0
- package/libs/index.js +122 -121
- package/libs/shared-utils/filter.d.ts +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,399 +1,608 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { writable as
|
|
3
|
-
import { BaseImage as
|
|
4
|
-
import { RoomLabels as
|
|
5
|
-
import { RuleLabels as
|
|
6
|
-
import { RoomMaterial as
|
|
7
|
-
import { RoomHighlight as
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { SvelteComponent as W, init as X, safe_not_equal as Y, append_styles as Z, element as y, attr as H, null_to_empty as S, insert as R, group_outros as z, transition_out as D, check_outros as F, transition_in as u, detach as k, assign as P, create_component as p, space as w, empty as x, mount_component as C, get_spread_update as U, destroy_component as v } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { writable as $ } from "../../vendor/svelte/store/index.js";
|
|
3
|
+
import { BaseImage as ee } from "./BaseImage.js";
|
|
4
|
+
import { RoomLabels as le } from "./RoomLabels/RoomLabels.js";
|
|
5
|
+
import { RuleLabels as oe } from "./RuleLabels/RuleLabels.js";
|
|
6
|
+
import { RoomMaterial as ne } from "./RoomMaterials/RoomMaterial.js";
|
|
7
|
+
import { RoomHighlight as ae } from "./RoomHighlight/RoomHighlight.js";
|
|
8
|
+
import { MissingFloor as re } from "./MissingFloor.js";
|
|
9
|
+
import { Camera as te } from "./Camera.js";
|
|
10
|
+
import { Compass as ie } from "./Compass.js";
|
|
11
|
+
function fe(r) {
|
|
12
|
+
Z(r, "svelte-bl8zrz", ".floorplan-plugin__floor.svelte-bl8zrz{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;pointer-events:none}.floorplan-plugin__floor--is-current.svelte-bl8zrz{opacity:1;pointer-events:auto}");
|
|
10
13
|
}
|
|
11
|
-
function
|
|
12
|
-
let l, a;
|
|
13
|
-
const
|
|
14
|
+
function me(r) {
|
|
15
|
+
let l, o, a, i, e, m, s, L, b, d;
|
|
16
|
+
const I = [
|
|
14
17
|
{
|
|
15
18
|
floorIndex: (
|
|
16
19
|
/*floorIndex*/
|
|
17
|
-
|
|
20
|
+
r[2]
|
|
18
21
|
),
|
|
19
22
|
floorplanData: (
|
|
20
23
|
/*floorplanData*/
|
|
21
|
-
|
|
24
|
+
r[10]
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
];
|
|
28
|
+
let T = {};
|
|
29
|
+
for (let n = 0; n < I.length; n += 1)
|
|
30
|
+
T = P(T, I[n]);
|
|
31
|
+
l = new ne({ props: T });
|
|
32
|
+
let g = (
|
|
33
|
+
/*highlightEnable*/
|
|
34
|
+
(r[3] || /*hoverEnable*/
|
|
35
|
+
r[5]) && j(r)
|
|
36
|
+
);
|
|
37
|
+
const N = [
|
|
38
|
+
{
|
|
39
|
+
floorplanData: (
|
|
40
|
+
/*floorplanData*/
|
|
41
|
+
r[10]
|
|
42
|
+
),
|
|
43
|
+
floorIndex: (
|
|
44
|
+
/*floorIndex*/
|
|
45
|
+
r[2]
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
];
|
|
49
|
+
let A = {};
|
|
50
|
+
for (let n = 0; n < N.length; n += 1)
|
|
51
|
+
A = P(A, N[n]);
|
|
52
|
+
i = new ee({ props: A });
|
|
53
|
+
let _ = (
|
|
54
|
+
/*roomLabelsEnable*/
|
|
55
|
+
r[6] && G(r)
|
|
56
|
+
), h = (
|
|
57
|
+
/*ruleLabelsEnable*/
|
|
58
|
+
r[9] && J(r)
|
|
59
|
+
), c = (
|
|
60
|
+
/*cameraEnable*/
|
|
61
|
+
r[4] && K(r)
|
|
62
|
+
), E = (
|
|
63
|
+
/*compassEnable*/
|
|
64
|
+
r[20] && O(r)
|
|
65
|
+
);
|
|
66
|
+
return {
|
|
67
|
+
c() {
|
|
68
|
+
p(l.$$.fragment), o = w(), g && g.c(), a = w(), p(i.$$.fragment), e = w(), _ && _.c(), m = w(), h && h.c(), s = w(), c && c.c(), L = w(), E && E.c(), b = x();
|
|
69
|
+
},
|
|
70
|
+
m(n, f) {
|
|
71
|
+
C(l, n, f), R(n, o, f), g && g.m(n, f), R(n, a, f), C(i, n, f), R(n, e, f), _ && _.m(n, f), R(n, m, f), h && h.m(n, f), R(n, s, f), c && c.m(n, f), R(n, L, f), E && E.m(n, f), R(n, b, f), d = !0;
|
|
72
|
+
},
|
|
73
|
+
p(n, f) {
|
|
74
|
+
const V = f & /*floorIndex, floorplanData*/
|
|
75
|
+
1028 ? U(I, [
|
|
76
|
+
{
|
|
77
|
+
floorIndex: (
|
|
78
|
+
/*floorIndex*/
|
|
79
|
+
n[2]
|
|
80
|
+
),
|
|
81
|
+
floorplanData: (
|
|
82
|
+
/*floorplanData*/
|
|
83
|
+
n[10]
|
|
84
|
+
)
|
|
85
|
+
}
|
|
86
|
+
]) : {};
|
|
87
|
+
l.$set(V), /*highlightEnable*/
|
|
88
|
+
n[3] || /*hoverEnable*/
|
|
89
|
+
n[5] ? g ? (g.p(n, f), f & /*highlightEnable, hoverEnable*/
|
|
90
|
+
40 && u(g, 1)) : (g = j(n), g.c(), u(g, 1), g.m(a.parentNode, a)) : g && (z(), D(g, 1, 1, () => {
|
|
91
|
+
g = null;
|
|
92
|
+
}), F());
|
|
93
|
+
const M = f & /*floorplanData, floorIndex*/
|
|
94
|
+
1028 ? U(N, [
|
|
95
|
+
{
|
|
96
|
+
floorplanData: (
|
|
97
|
+
/*floorplanData*/
|
|
98
|
+
n[10]
|
|
99
|
+
),
|
|
100
|
+
floorIndex: (
|
|
101
|
+
/*floorIndex*/
|
|
102
|
+
n[2]
|
|
103
|
+
)
|
|
104
|
+
}
|
|
105
|
+
]) : {};
|
|
106
|
+
i.$set(M), /*roomLabelsEnable*/
|
|
107
|
+
n[6] ? _ ? (_.p(n, f), f & /*roomLabelsEnable*/
|
|
108
|
+
64 && u(_, 1)) : (_ = G(n), _.c(), u(_, 1), _.m(m.parentNode, m)) : _ && (z(), D(_, 1, 1, () => {
|
|
109
|
+
_ = null;
|
|
110
|
+
}), F()), /*ruleLabelsEnable*/
|
|
111
|
+
n[9] ? h ? (h.p(n, f), f & /*ruleLabelsEnable*/
|
|
112
|
+
512 && u(h, 1)) : (h = J(n), h.c(), u(h, 1), h.m(s.parentNode, s)) : h && (z(), D(h, 1, 1, () => {
|
|
113
|
+
h = null;
|
|
114
|
+
}), F()), /*cameraEnable*/
|
|
115
|
+
n[4] ? c ? (c.p(n, f), f & /*cameraEnable*/
|
|
116
|
+
16 && u(c, 1)) : (c = K(n), c.c(), u(c, 1), c.m(L.parentNode, L)) : c && (z(), D(c, 1, 1, () => {
|
|
117
|
+
c = null;
|
|
118
|
+
}), F()), /*compassEnable*/
|
|
119
|
+
n[20] ? E ? (E.p(n, f), f & /*compassEnable*/
|
|
120
|
+
1048576 && u(E, 1)) : (E = O(n), E.c(), u(E, 1), E.m(b.parentNode, b)) : E && (z(), D(E, 1, 1, () => {
|
|
121
|
+
E = null;
|
|
122
|
+
}), F());
|
|
123
|
+
},
|
|
124
|
+
i(n) {
|
|
125
|
+
d || (u(l.$$.fragment, n), u(g), u(i.$$.fragment, n), u(_), u(h), u(c), u(E), d = !0);
|
|
126
|
+
},
|
|
127
|
+
o(n) {
|
|
128
|
+
D(l.$$.fragment, n), D(g), D(i.$$.fragment, n), D(_), D(h), D(c), D(E), d = !1;
|
|
129
|
+
},
|
|
130
|
+
d(n) {
|
|
131
|
+
v(l, n), n && k(o), g && g.d(n), n && k(a), v(i, n), n && k(e), _ && _.d(n), n && k(m), h && h.d(n), n && k(s), c && c.d(n), n && k(L), E && E.d(n), n && k(b);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
function se(r) {
|
|
136
|
+
let l, o;
|
|
137
|
+
return l = new re({
|
|
138
|
+
props: {
|
|
139
|
+
missingFloorConfig: (
|
|
140
|
+
/*missingFloorConfig*/
|
|
141
|
+
r[16]
|
|
142
|
+
)
|
|
143
|
+
}
|
|
144
|
+
}), {
|
|
145
|
+
c() {
|
|
146
|
+
p(l.$$.fragment);
|
|
147
|
+
},
|
|
148
|
+
m(a, i) {
|
|
149
|
+
C(l, a, i), o = !0;
|
|
150
|
+
},
|
|
151
|
+
p(a, i) {
|
|
152
|
+
const e = {};
|
|
153
|
+
i & /*missingFloorConfig*/
|
|
154
|
+
65536 && (e.missingFloorConfig = /*missingFloorConfig*/
|
|
155
|
+
a[16]), l.$set(e);
|
|
156
|
+
},
|
|
157
|
+
i(a) {
|
|
158
|
+
o || (u(l.$$.fragment, a), o = !0);
|
|
159
|
+
},
|
|
160
|
+
o(a) {
|
|
161
|
+
D(l.$$.fragment, a), o = !1;
|
|
162
|
+
},
|
|
163
|
+
d(a) {
|
|
164
|
+
v(l, a);
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
function j(r) {
|
|
169
|
+
let l, o;
|
|
170
|
+
const a = [
|
|
171
|
+
{
|
|
172
|
+
floorIndex: (
|
|
173
|
+
/*floorIndex*/
|
|
174
|
+
r[2]
|
|
175
|
+
),
|
|
176
|
+
floorplanData: (
|
|
177
|
+
/*floorplanData*/
|
|
178
|
+
r[10]
|
|
22
179
|
),
|
|
23
180
|
hoveredRoom: (
|
|
24
181
|
/*hoveredRoom*/
|
|
25
|
-
|
|
182
|
+
r[22]
|
|
26
183
|
),
|
|
27
184
|
highlightData: (
|
|
28
185
|
/*highlightData*/
|
|
29
|
-
|
|
186
|
+
r[15]
|
|
30
187
|
)
|
|
31
188
|
}
|
|
32
189
|
];
|
|
33
|
-
let
|
|
34
|
-
for (let e = 0; e <
|
|
35
|
-
|
|
36
|
-
return l = new
|
|
190
|
+
let i = {};
|
|
191
|
+
for (let e = 0; e < a.length; e += 1)
|
|
192
|
+
i = P(i, a[e]);
|
|
193
|
+
return l = new ae({ props: i }), {
|
|
37
194
|
c() {
|
|
38
|
-
|
|
195
|
+
p(l.$$.fragment);
|
|
39
196
|
},
|
|
40
|
-
m(e,
|
|
41
|
-
|
|
197
|
+
m(e, m) {
|
|
198
|
+
C(l, e, m), o = !0;
|
|
42
199
|
},
|
|
43
|
-
p(e,
|
|
44
|
-
const
|
|
45
|
-
|
|
200
|
+
p(e, m) {
|
|
201
|
+
const s = m & /*floorIndex, floorplanData, hoveredRoom, highlightData*/
|
|
202
|
+
4228100 ? U(a, [
|
|
46
203
|
{
|
|
47
204
|
floorIndex: (
|
|
48
205
|
/*floorIndex*/
|
|
49
|
-
e[
|
|
206
|
+
e[2]
|
|
50
207
|
),
|
|
51
208
|
floorplanData: (
|
|
52
209
|
/*floorplanData*/
|
|
53
|
-
e[
|
|
210
|
+
e[10]
|
|
54
211
|
),
|
|
55
212
|
hoveredRoom: (
|
|
56
213
|
/*hoveredRoom*/
|
|
57
|
-
e[
|
|
214
|
+
e[22]
|
|
58
215
|
),
|
|
59
216
|
highlightData: (
|
|
60
217
|
/*highlightData*/
|
|
61
|
-
e[
|
|
218
|
+
e[15]
|
|
62
219
|
)
|
|
63
220
|
}
|
|
64
221
|
]) : {};
|
|
65
|
-
l.$set(
|
|
222
|
+
l.$set(s);
|
|
66
223
|
},
|
|
67
224
|
i(e) {
|
|
68
|
-
|
|
225
|
+
o || (u(l.$$.fragment, e), o = !0);
|
|
69
226
|
},
|
|
70
227
|
o(e) {
|
|
71
|
-
|
|
228
|
+
D(l.$$.fragment, e), o = !1;
|
|
72
229
|
},
|
|
73
230
|
d(e) {
|
|
74
|
-
|
|
231
|
+
v(l, e);
|
|
75
232
|
}
|
|
76
233
|
};
|
|
77
234
|
}
|
|
78
|
-
function
|
|
79
|
-
let l,
|
|
80
|
-
const
|
|
235
|
+
function G(r) {
|
|
236
|
+
let l, o;
|
|
237
|
+
const a = [
|
|
81
238
|
{
|
|
82
239
|
floorplanData: (
|
|
83
240
|
/*floorplanData*/
|
|
84
|
-
|
|
241
|
+
r[10]
|
|
85
242
|
),
|
|
86
243
|
roomAreaEnable: (
|
|
87
244
|
/*roomAreaEnable*/
|
|
88
|
-
|
|
245
|
+
r[7]
|
|
89
246
|
),
|
|
90
247
|
roomNameEnable: (
|
|
91
248
|
/*roomNameEnable*/
|
|
92
|
-
|
|
249
|
+
r[8]
|
|
93
250
|
),
|
|
94
251
|
floorIndex: (
|
|
95
252
|
/*floorIndex*/
|
|
96
|
-
|
|
253
|
+
r[2]
|
|
97
254
|
),
|
|
98
255
|
getRoomAreaText: (
|
|
99
256
|
/*getRoomAreaText*/
|
|
100
|
-
|
|
257
|
+
r[11]
|
|
101
258
|
),
|
|
102
259
|
getLabelElement: (
|
|
103
260
|
/*getLabelElement*/
|
|
104
|
-
|
|
261
|
+
r[12]
|
|
105
262
|
),
|
|
106
263
|
hoveredRoom: (
|
|
107
264
|
/*hoveredRoom*/
|
|
108
|
-
|
|
265
|
+
r[22]
|
|
109
266
|
),
|
|
110
267
|
adaptiveRoomLabelVisibleEnable: (
|
|
111
268
|
/*adaptiveRoomLabelVisibleEnable*/
|
|
112
|
-
|
|
269
|
+
r[14]
|
|
113
270
|
)
|
|
114
271
|
}
|
|
115
272
|
];
|
|
116
|
-
let
|
|
117
|
-
for (let e = 0; e <
|
|
118
|
-
|
|
119
|
-
return l = new
|
|
273
|
+
let i = {};
|
|
274
|
+
for (let e = 0; e < a.length; e += 1)
|
|
275
|
+
i = P(i, a[e]);
|
|
276
|
+
return l = new le({ props: i }), {
|
|
120
277
|
c() {
|
|
121
|
-
|
|
278
|
+
p(l.$$.fragment);
|
|
122
279
|
},
|
|
123
|
-
m(e,
|
|
124
|
-
|
|
280
|
+
m(e, m) {
|
|
281
|
+
C(l, e, m), o = !0;
|
|
125
282
|
},
|
|
126
|
-
p(e,
|
|
127
|
-
const
|
|
128
|
-
|
|
283
|
+
p(e, m) {
|
|
284
|
+
const s = m & /*floorplanData, roomAreaEnable, roomNameEnable, floorIndex, getRoomAreaText, getLabelElement, hoveredRoom, adaptiveRoomLabelVisibleEnable*/
|
|
285
|
+
4218244 ? U(a, [
|
|
129
286
|
{
|
|
130
287
|
floorplanData: (
|
|
131
288
|
/*floorplanData*/
|
|
132
|
-
e[
|
|
289
|
+
e[10]
|
|
133
290
|
),
|
|
134
291
|
roomAreaEnable: (
|
|
135
292
|
/*roomAreaEnable*/
|
|
136
|
-
e[
|
|
293
|
+
e[7]
|
|
137
294
|
),
|
|
138
295
|
roomNameEnable: (
|
|
139
296
|
/*roomNameEnable*/
|
|
140
|
-
e[
|
|
297
|
+
e[8]
|
|
141
298
|
),
|
|
142
299
|
floorIndex: (
|
|
143
300
|
/*floorIndex*/
|
|
144
|
-
e[
|
|
301
|
+
e[2]
|
|
145
302
|
),
|
|
146
303
|
getRoomAreaText: (
|
|
147
304
|
/*getRoomAreaText*/
|
|
148
|
-
e[
|
|
305
|
+
e[11]
|
|
149
306
|
),
|
|
150
307
|
getLabelElement: (
|
|
151
308
|
/*getLabelElement*/
|
|
152
|
-
e[
|
|
309
|
+
e[12]
|
|
153
310
|
),
|
|
154
311
|
hoveredRoom: (
|
|
155
312
|
/*hoveredRoom*/
|
|
156
|
-
e[
|
|
313
|
+
e[22]
|
|
157
314
|
),
|
|
158
315
|
adaptiveRoomLabelVisibleEnable: (
|
|
159
316
|
/*adaptiveRoomLabelVisibleEnable*/
|
|
160
|
-
e[
|
|
317
|
+
e[14]
|
|
161
318
|
)
|
|
162
319
|
}
|
|
163
320
|
]) : {};
|
|
164
|
-
l.$set(
|
|
321
|
+
l.$set(s);
|
|
165
322
|
},
|
|
166
323
|
i(e) {
|
|
167
|
-
|
|
324
|
+
o || (u(l.$$.fragment, e), o = !0);
|
|
168
325
|
},
|
|
169
326
|
o(e) {
|
|
170
|
-
|
|
327
|
+
D(l.$$.fragment, e), o = !1;
|
|
171
328
|
},
|
|
172
329
|
d(e) {
|
|
173
|
-
|
|
330
|
+
v(l, e);
|
|
174
331
|
}
|
|
175
332
|
};
|
|
176
333
|
}
|
|
177
|
-
function
|
|
178
|
-
let l,
|
|
179
|
-
const
|
|
334
|
+
function J(r) {
|
|
335
|
+
let l, o;
|
|
336
|
+
const a = [
|
|
180
337
|
{
|
|
181
338
|
floorplanData: (
|
|
182
339
|
/*floorplanData*/
|
|
183
|
-
|
|
340
|
+
r[10]
|
|
184
341
|
),
|
|
185
342
|
floorIndex: (
|
|
186
343
|
/*floorIndex*/
|
|
187
|
-
|
|
344
|
+
r[2]
|
|
188
345
|
),
|
|
189
346
|
getRuleDistanceText: (
|
|
190
347
|
/*getRuleDistanceText*/
|
|
191
|
-
|
|
348
|
+
r[13]
|
|
192
349
|
)
|
|
193
350
|
}
|
|
194
351
|
];
|
|
195
|
-
let
|
|
196
|
-
for (let e = 0; e <
|
|
197
|
-
|
|
198
|
-
return l = new
|
|
352
|
+
let i = {};
|
|
353
|
+
for (let e = 0; e < a.length; e += 1)
|
|
354
|
+
i = P(i, a[e]);
|
|
355
|
+
return l = new oe({ props: i }), {
|
|
199
356
|
c() {
|
|
200
|
-
|
|
357
|
+
p(l.$$.fragment);
|
|
201
358
|
},
|
|
202
|
-
m(e,
|
|
203
|
-
|
|
359
|
+
m(e, m) {
|
|
360
|
+
C(l, e, m), o = !0;
|
|
204
361
|
},
|
|
205
|
-
p(e,
|
|
206
|
-
const
|
|
207
|
-
|
|
362
|
+
p(e, m) {
|
|
363
|
+
const s = m & /*floorplanData, floorIndex, getRuleDistanceText*/
|
|
364
|
+
9220 ? U(a, [
|
|
208
365
|
{
|
|
209
366
|
floorplanData: (
|
|
210
367
|
/*floorplanData*/
|
|
211
|
-
e[
|
|
368
|
+
e[10]
|
|
212
369
|
),
|
|
213
370
|
floorIndex: (
|
|
214
371
|
/*floorIndex*/
|
|
215
|
-
e[
|
|
372
|
+
e[2]
|
|
216
373
|
),
|
|
217
374
|
getRuleDistanceText: (
|
|
218
375
|
/*getRuleDistanceText*/
|
|
219
|
-
e[
|
|
376
|
+
e[13]
|
|
220
377
|
)
|
|
221
378
|
}
|
|
222
379
|
]) : {};
|
|
223
|
-
l.$set(
|
|
380
|
+
l.$set(s);
|
|
224
381
|
},
|
|
225
382
|
i(e) {
|
|
226
|
-
|
|
383
|
+
o || (u(l.$$.fragment, e), o = !0);
|
|
227
384
|
},
|
|
228
385
|
o(e) {
|
|
229
|
-
|
|
386
|
+
D(l.$$.fragment, e), o = !1;
|
|
230
387
|
},
|
|
231
388
|
d(e) {
|
|
232
|
-
|
|
389
|
+
v(l, e);
|
|
233
390
|
}
|
|
234
391
|
};
|
|
235
392
|
}
|
|
236
|
-
function
|
|
237
|
-
let l,
|
|
238
|
-
const
|
|
393
|
+
function K(r) {
|
|
394
|
+
let l, o;
|
|
395
|
+
const a = [
|
|
239
396
|
{
|
|
240
|
-
|
|
241
|
-
/*
|
|
242
|
-
|
|
397
|
+
panoIndex: (
|
|
398
|
+
/*panoIndex*/
|
|
399
|
+
r[0]
|
|
243
400
|
),
|
|
244
401
|
floorplanData: (
|
|
245
402
|
/*floorplanData*/
|
|
246
|
-
|
|
247
|
-
)
|
|
248
|
-
}
|
|
249
|
-
];
|
|
250
|
-
let R = {};
|
|
251
|
-
for (let t = 0; t < d.length; t += 1)
|
|
252
|
-
R = L(R, d[t]);
|
|
253
|
-
a = new X({ props: R });
|
|
254
|
-
let r = (
|
|
255
|
-
/*highlightEnable*/
|
|
256
|
-
(n[2] || /*hoverEnable*/
|
|
257
|
-
n[3]) && V(n)
|
|
258
|
-
);
|
|
259
|
-
const D = [
|
|
260
|
-
{
|
|
261
|
-
floorplanData: (
|
|
262
|
-
/*floorplanData*/
|
|
263
|
-
n[8]
|
|
403
|
+
r[10]
|
|
264
404
|
),
|
|
265
|
-
|
|
266
|
-
/*
|
|
267
|
-
|
|
405
|
+
lastPanoramaLongitude: (
|
|
406
|
+
/*lastPanoramaLongitude*/
|
|
407
|
+
r[17]
|
|
408
|
+
),
|
|
409
|
+
cameraImageUrl: (
|
|
410
|
+
/*cameraImageUrl*/
|
|
411
|
+
r[18]
|
|
268
412
|
)
|
|
269
413
|
}
|
|
270
414
|
];
|
|
271
|
-
let
|
|
272
|
-
for (let
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
let i = (
|
|
276
|
-
/*roomLabelsEnable*/
|
|
277
|
-
n[4] && q(n)
|
|
278
|
-
), f = (
|
|
279
|
-
/*ruleLabelsEnable*/
|
|
280
|
-
n[7] && B(n)
|
|
281
|
-
);
|
|
282
|
-
return {
|
|
415
|
+
let i = {};
|
|
416
|
+
for (let e = 0; e < a.length; e += 1)
|
|
417
|
+
i = P(i, a[e]);
|
|
418
|
+
return l = new te({ props: i }), {
|
|
283
419
|
c() {
|
|
284
|
-
l
|
|
285
|
-
n[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz");
|
|
420
|
+
p(l.$$.fragment);
|
|
286
421
|
},
|
|
287
|
-
m(
|
|
288
|
-
|
|
422
|
+
m(e, m) {
|
|
423
|
+
C(l, e, m), o = !0;
|
|
289
424
|
},
|
|
290
|
-
p(
|
|
291
|
-
const
|
|
292
|
-
|
|
425
|
+
p(e, m) {
|
|
426
|
+
const s = m & /*panoIndex, floorplanData, lastPanoramaLongitude, cameraImageUrl*/
|
|
427
|
+
394241 ? U(a, [
|
|
293
428
|
{
|
|
294
|
-
|
|
295
|
-
/*
|
|
296
|
-
|
|
429
|
+
panoIndex: (
|
|
430
|
+
/*panoIndex*/
|
|
431
|
+
e[0]
|
|
297
432
|
),
|
|
298
433
|
floorplanData: (
|
|
299
434
|
/*floorplanData*/
|
|
300
|
-
|
|
301
|
-
)
|
|
302
|
-
}
|
|
303
|
-
]) : {};
|
|
304
|
-
a.$set(F), /*highlightEnable*/
|
|
305
|
-
t[2] || /*hoverEnable*/
|
|
306
|
-
t[3] ? r ? (r.p(t, o), o & /*highlightEnable, hoverEnable*/
|
|
307
|
-
12 && b(r, 1)) : (r = V(t), r.c(), b(r, 1), r.m(l, m)) : r && (k(), h(r, 1, 1, () => {
|
|
308
|
-
r = null;
|
|
309
|
-
}), w());
|
|
310
|
-
const H = o & /*floorplanData, floorIndex*/
|
|
311
|
-
258 ? p(D, [
|
|
312
|
-
{
|
|
313
|
-
floorplanData: (
|
|
314
|
-
/*floorplanData*/
|
|
315
|
-
t[8]
|
|
435
|
+
e[10]
|
|
316
436
|
),
|
|
317
|
-
|
|
318
|
-
/*
|
|
319
|
-
|
|
437
|
+
lastPanoramaLongitude: (
|
|
438
|
+
/*lastPanoramaLongitude*/
|
|
439
|
+
e[17]
|
|
440
|
+
),
|
|
441
|
+
cameraImageUrl: (
|
|
442
|
+
/*cameraImageUrl*/
|
|
443
|
+
e[18]
|
|
320
444
|
)
|
|
321
445
|
}
|
|
322
446
|
]) : {};
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
t[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && C(l, "class", E);
|
|
334
|
-
},
|
|
335
|
-
i(t) {
|
|
336
|
-
_ || (b(a.$$.fragment, t), b(r), b(e.$$.fragment, t), b(i), b(f), _ = !0);
|
|
337
|
-
},
|
|
338
|
-
o(t) {
|
|
339
|
-
h(a.$$.fragment, t), h(r), h(e.$$.fragment, t), h(i), h(f), _ = !1;
|
|
340
|
-
},
|
|
341
|
-
d(t) {
|
|
342
|
-
t && O(l), A(a), r && r.d(), A(e), i && i.d(), f && f.d();
|
|
447
|
+
l.$set(s);
|
|
448
|
+
},
|
|
449
|
+
i(e) {
|
|
450
|
+
o || (u(l.$$.fragment, e), o = !0);
|
|
451
|
+
},
|
|
452
|
+
o(e) {
|
|
453
|
+
D(l.$$.fragment, e), o = !1;
|
|
454
|
+
},
|
|
455
|
+
d(e) {
|
|
456
|
+
v(l, e);
|
|
343
457
|
}
|
|
344
458
|
};
|
|
345
459
|
}
|
|
346
|
-
function
|
|
347
|
-
let
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
460
|
+
function O(r) {
|
|
461
|
+
let l, o;
|
|
462
|
+
return l = new ie({
|
|
463
|
+
props: {
|
|
464
|
+
floorplanData: (
|
|
465
|
+
/*floorplanData*/
|
|
466
|
+
r[10]
|
|
467
|
+
),
|
|
468
|
+
northDesc: (
|
|
469
|
+
/*northDesc*/
|
|
470
|
+
r[19]
|
|
471
|
+
)
|
|
472
|
+
}
|
|
473
|
+
}), {
|
|
474
|
+
c() {
|
|
475
|
+
p(l.$$.fragment);
|
|
476
|
+
},
|
|
477
|
+
m(a, i) {
|
|
478
|
+
C(l, a, i), o = !0;
|
|
479
|
+
},
|
|
480
|
+
p(a, i) {
|
|
481
|
+
const e = {};
|
|
482
|
+
i & /*floorplanData*/
|
|
483
|
+
1024 && (e.floorplanData = /*floorplanData*/
|
|
484
|
+
a[10]), i & /*northDesc*/
|
|
485
|
+
524288 && (e.northDesc = /*northDesc*/
|
|
486
|
+
a[19]), l.$set(e);
|
|
487
|
+
},
|
|
488
|
+
i(a) {
|
|
489
|
+
o || (u(l.$$.fragment, a), o = !0);
|
|
490
|
+
},
|
|
491
|
+
o(a) {
|
|
492
|
+
D(l.$$.fragment, a), o = !1;
|
|
493
|
+
},
|
|
494
|
+
d(a) {
|
|
495
|
+
v(l, a);
|
|
496
|
+
}
|
|
497
|
+
};
|
|
498
|
+
}
|
|
499
|
+
function ue(r) {
|
|
500
|
+
let l, o, a, i, e;
|
|
501
|
+
const m = [se, me], s = [];
|
|
502
|
+
function L(b, d) {
|
|
503
|
+
return (
|
|
504
|
+
/*hasCurrentFloorData*/
|
|
505
|
+
b[21] ? 1 : 0
|
|
506
|
+
);
|
|
507
|
+
}
|
|
508
|
+
return o = L(r), a = s[o] = m[o](r), {
|
|
509
|
+
c() {
|
|
510
|
+
l = y("div"), a.c(), H(l, "class", i = S(`floorplan-plugin__floor${/*isCurrent*/
|
|
511
|
+
r[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz");
|
|
512
|
+
},
|
|
513
|
+
m(b, d) {
|
|
514
|
+
R(b, l, d), s[o].m(l, null), e = !0;
|
|
515
|
+
},
|
|
516
|
+
p(b, [d]) {
|
|
517
|
+
let I = o;
|
|
518
|
+
o = L(b), o === I ? s[o].p(b, d) : (z(), D(s[I], 1, 1, () => {
|
|
519
|
+
s[I] = null;
|
|
520
|
+
}), F(), a = s[o], a ? a.p(b, d) : (a = s[o] = m[o](b), a.c()), u(a, 1), a.m(l, null)), (!e || d & /*isCurrent*/
|
|
521
|
+
2 && i !== (i = S(`floorplan-plugin__floor${/*isCurrent*/
|
|
522
|
+
b[1] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && H(l, "class", i);
|
|
523
|
+
},
|
|
524
|
+
i(b) {
|
|
525
|
+
e || (u(a), e = !0);
|
|
526
|
+
},
|
|
527
|
+
o(b) {
|
|
528
|
+
D(a), e = !1;
|
|
529
|
+
},
|
|
530
|
+
d(b) {
|
|
531
|
+
b && k(l), s[o].d();
|
|
532
|
+
}
|
|
533
|
+
};
|
|
534
|
+
}
|
|
535
|
+
function be(r, l, o) {
|
|
536
|
+
let a, i, { panoIndex: e } = l, { isCurrent: m } = l, { floorIndex: s } = l, { highlightEnable: L } = l, { cameraEnable: b } = l, { hoverEnable: d } = l, { roomLabelsEnable: I } = l, { roomAreaEnable: T } = l, { roomNameEnable: g } = l, { ruleLabelsEnable: N } = l, { floorplanData: A } = l, { getRoomAreaText: _ } = l, { getLabelElement: h } = l, { getRuleDistanceText: c } = l, { adaptiveRoomLabelVisibleEnable: E } = l, { highlightData: n } = l, { missingFloorConfig: f } = l, { lastPanoramaLongitude: V } = l, { cameraImageUrl: M } = l, { northDesc: q } = l, { compassEnable: B } = l;
|
|
537
|
+
const Q = $(void 0);
|
|
538
|
+
return r.$$set = (t) => {
|
|
539
|
+
"panoIndex" in t && o(0, e = t.panoIndex), "isCurrent" in t && o(1, m = t.isCurrent), "floorIndex" in t && o(2, s = t.floorIndex), "highlightEnable" in t && o(3, L = t.highlightEnable), "cameraEnable" in t && o(4, b = t.cameraEnable), "hoverEnable" in t && o(5, d = t.hoverEnable), "roomLabelsEnable" in t && o(6, I = t.roomLabelsEnable), "roomAreaEnable" in t && o(7, T = t.roomAreaEnable), "roomNameEnable" in t && o(8, g = t.roomNameEnable), "ruleLabelsEnable" in t && o(9, N = t.ruleLabelsEnable), "floorplanData" in t && o(10, A = t.floorplanData), "getRoomAreaText" in t && o(11, _ = t.getRoomAreaText), "getLabelElement" in t && o(12, h = t.getLabelElement), "getRuleDistanceText" in t && o(13, c = t.getRuleDistanceText), "adaptiveRoomLabelVisibleEnable" in t && o(14, E = t.adaptiveRoomLabelVisibleEnable), "highlightData" in t && o(15, n = t.highlightData), "missingFloorConfig" in t && o(16, f = t.missingFloorConfig), "lastPanoramaLongitude" in t && o(17, V = t.lastPanoramaLongitude), "cameraImageUrl" in t && o(18, M = t.cameraImageUrl), "northDesc" in t && o(19, q = t.northDesc), "compassEnable" in t && o(20, B = t.compassEnable);
|
|
540
|
+
}, r.$$.update = () => {
|
|
541
|
+
r.$$.dirty & /*floorplanData, floorIndex*/
|
|
542
|
+
1028 && o(23, a = A.floorDatas[s]), r.$$.dirty & /*floorData*/
|
|
543
|
+
8388608 && o(21, i = a.rooms.length > 0);
|
|
351
544
|
}, [
|
|
352
|
-
s,
|
|
353
|
-
m,
|
|
354
545
|
e,
|
|
546
|
+
m,
|
|
547
|
+
s,
|
|
548
|
+
L,
|
|
549
|
+
b,
|
|
550
|
+
d,
|
|
551
|
+
I,
|
|
552
|
+
T,
|
|
355
553
|
g,
|
|
356
|
-
|
|
357
|
-
|
|
554
|
+
N,
|
|
555
|
+
A,
|
|
358
556
|
_,
|
|
359
|
-
|
|
360
|
-
R,
|
|
361
|
-
r,
|
|
362
|
-
D,
|
|
557
|
+
h,
|
|
363
558
|
c,
|
|
364
|
-
|
|
559
|
+
E,
|
|
560
|
+
n,
|
|
365
561
|
f,
|
|
366
|
-
|
|
562
|
+
V,
|
|
563
|
+
M,
|
|
564
|
+
q,
|
|
565
|
+
B,
|
|
566
|
+
i,
|
|
567
|
+
Q,
|
|
568
|
+
a
|
|
367
569
|
];
|
|
368
570
|
}
|
|
369
|
-
class
|
|
571
|
+
class ke extends W {
|
|
370
572
|
constructor(l) {
|
|
371
|
-
super(),
|
|
573
|
+
super(), X(
|
|
372
574
|
this,
|
|
373
575
|
l,
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
576
|
+
be,
|
|
577
|
+
ue,
|
|
578
|
+
Y,
|
|
377
579
|
{
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
580
|
+
panoIndex: 0,
|
|
581
|
+
isCurrent: 1,
|
|
582
|
+
floorIndex: 2,
|
|
583
|
+
highlightEnable: 3,
|
|
584
|
+
cameraEnable: 4,
|
|
585
|
+
hoverEnable: 5,
|
|
586
|
+
roomLabelsEnable: 6,
|
|
587
|
+
roomAreaEnable: 7,
|
|
588
|
+
roomNameEnable: 8,
|
|
589
|
+
ruleLabelsEnable: 9,
|
|
590
|
+
floorplanData: 10,
|
|
591
|
+
getRoomAreaText: 11,
|
|
592
|
+
getLabelElement: 12,
|
|
593
|
+
getRuleDistanceText: 13,
|
|
594
|
+
adaptiveRoomLabelVisibleEnable: 14,
|
|
595
|
+
highlightData: 15,
|
|
596
|
+
missingFloorConfig: 16,
|
|
597
|
+
lastPanoramaLongitude: 17,
|
|
598
|
+
cameraImageUrl: 18,
|
|
599
|
+
northDesc: 19,
|
|
600
|
+
compassEnable: 20
|
|
392
601
|
},
|
|
393
|
-
|
|
602
|
+
fe
|
|
394
603
|
);
|
|
395
604
|
}
|
|
396
605
|
}
|
|
397
606
|
export {
|
|
398
|
-
|
|
607
|
+
ke as CurrentFloor
|
|
399
608
|
};
|