@eyeon/map 2.0.36 → 2.0.39
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/assets/MapViewer.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/basemap/GoogleBasemap.d.ts +18 -0
- package/dist/basemap/GoogleBasemap.d.ts.map +1 -0
- package/dist/basemap/SurroundingsPanel.d.ts +14 -0
- package/dist/basemap/SurroundingsPanel.d.ts.map +1 -0
- package/dist/basemap/googleMaps.d.ts +98 -0
- package/dist/basemap/googleMaps.d.ts.map +1 -0
- package/dist/chunks/MapViewer.js +2849 -2576
- package/dist/chunks/MapViewer.js.map +1 -1
- package/dist/chunks/responsive.js +824 -779
- package/dist/chunks/responsive.js.map +1 -1
- package/dist/chunks/wheelZoom.js +28 -28
- package/dist/core/georeference.d.ts +19 -0
- package/dist/core/georeference.d.ts.map +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +176 -172
- package/dist/core/publish/index.d.ts +2 -0
- package/dist/core/publish/index.d.ts.map +1 -1
- package/dist/core/types.d.ts +18 -4
- package/dist/core/types.d.ts.map +1 -1
- package/dist/editor/MapEditor.d.ts +7 -1
- package/dist/editor/MapEditor.d.ts.map +1 -1
- package/dist/editor/draftOps.d.ts +2 -1
- package/dist/editor/draftOps.d.ts.map +1 -1
- package/dist/editor/index.css +175 -2
- package/dist/editor/index.js +5083 -4675
- package/dist/editor/index.js.map +1 -1
- package/dist/editor/panels/LeftRail.d.ts +5 -2
- package/dist/editor/panels/LeftRail.d.ts.map +1 -1
- package/dist/editor/panels/PreviewOverlay.d.ts +8 -2
- package/dist/editor/panels/PreviewOverlay.d.ts.map +1 -1
- package/dist/editor/previewDocument.d.ts.map +1 -1
- package/dist/viewer/MapViewer.d.ts +6 -0
- package/dist/viewer/MapViewer.d.ts.map +1 -1
- package/dist/viewer/components/CameraRig.d.ts +3 -1
- package/dist/viewer/components/CameraRig.d.ts.map +1 -1
- package/dist/viewer/components/MapScene.d.ts +4 -1
- package/dist/viewer/components/MapScene.d.ts.map +1 -1
- package/dist/viewer/index.css +21 -1
- package/dist/viewer/index.js +1 -1
- package/package.json +1 -1
package/dist/chunks/wheelZoom.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
1
|
+
import { bI as S, b9 as w, b7 as M, b2 as L, bb as _, bX as N, aT as O, B as T, cl as $, d as y, bt as v, at as k, bN as x, bL as F, k as W } from "./responsive.js";
|
|
2
|
+
function V(e, d, r) {
|
|
3
3
|
var i, o, u, a;
|
|
4
4
|
const c = S(e), t = [];
|
|
5
5
|
for (const n of c.elements) {
|
|
6
6
|
if (!n.d || n.interactive || d != null && d.has(n.id) || /^parking[-_]?lines?(?:[-_]|$)/i.test(n.id) || n.id.toLowerCase().startsWith("route-path") || w(n.id) || M(n.id) || L(n.id) || _(n.id)) continue;
|
|
7
|
-
const f =
|
|
7
|
+
const f = N(n.id, r), I = (f == null ? void 0 : f.fill) ?? (O(n.id) ? T(r) : (i = n.style) == null ? void 0 : i.fill), l = (f == null ? void 0 : f.stroke) ?? ((o = n.style) == null ? void 0 : o.stroke), m = (f == null ? void 0 : f.strokeWidth) ?? ((u = n.style) == null ? void 0 : u.strokeWidth);
|
|
8
8
|
t.push({
|
|
9
9
|
id: n.id,
|
|
10
10
|
d: n.d,
|
|
@@ -14,7 +14,7 @@ function U(e, d, r) {
|
|
|
14
14
|
opacity: (a = n.style) == null ? void 0 : a.opacity
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
return
|
|
17
|
+
return $(t, (n) => n.id);
|
|
18
18
|
}
|
|
19
19
|
function P(e, d, r, c = y) {
|
|
20
20
|
const t = e.filter((n) => r.includes(n.id));
|
|
@@ -64,10 +64,10 @@ function R(e, d, r = y) {
|
|
|
64
64
|
}
|
|
65
65
|
return { anchors: o, edges: a };
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function X(e, d, r, c = y) {
|
|
68
68
|
let t = null;
|
|
69
69
|
for (const o of d) {
|
|
70
|
-
const u =
|
|
70
|
+
const u = v(e, o);
|
|
71
71
|
u && (!t || u.distance < t.distance) && (t = { point: u.point, distance: u.distance });
|
|
72
72
|
}
|
|
73
73
|
if (!t) return null;
|
|
@@ -83,7 +83,7 @@ function Y(e, d, r, c = y) {
|
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Y(e, d, r, c) {
|
|
87
87
|
if (r.length === 0) return null;
|
|
88
88
|
const t = r.flat();
|
|
89
89
|
if (t.length === 0) return null;
|
|
@@ -128,13 +128,13 @@ function q(e, d, r = 20) {
|
|
|
128
128
|
for (const [p, g] of h) {
|
|
129
129
|
const A = `${p},${g}`;
|
|
130
130
|
if (!f.has(A)) continue;
|
|
131
|
-
const
|
|
132
|
-
m.has(
|
|
131
|
+
const b = s.key < A ? `${s.key}|${A}` : `${A}|${s.key}`;
|
|
132
|
+
m.has(b) || (m.add(b), l.push({ fromTempId: s.key, toTempId: A }));
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
return { anchors: I, edges: l };
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Z(e, d, r, c, t = y) {
|
|
138
138
|
const i = [], o = [];
|
|
139
139
|
let u = c;
|
|
140
140
|
const a = (f, I) => {
|
|
@@ -154,7 +154,7 @@ function J(e, d, r, c, t = y) {
|
|
|
154
154
|
}), m;
|
|
155
155
|
};
|
|
156
156
|
for (const f of e) {
|
|
157
|
-
const I =
|
|
157
|
+
const I = F(f);
|
|
158
158
|
for (const l of I)
|
|
159
159
|
for (let m = 0; m < l.length - 1; m++) {
|
|
160
160
|
const s = a(l[m].x, l[m].y), h = a(l[m + 1].x, l[m + 1].y);
|
|
@@ -181,35 +181,35 @@ function C(e) {
|
|
|
181
181
|
function K(e) {
|
|
182
182
|
return e === "entrance" ? "entrance_link" : "unit_link";
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function H(e, d, r) {
|
|
185
185
|
if (x(e, d)) return "inside";
|
|
186
186
|
for (const c of d) {
|
|
187
187
|
if (c.length < 2) continue;
|
|
188
|
-
const t = [...c, c[0]], i =
|
|
188
|
+
const t = [...c, c[0]], i = v(e, t);
|
|
189
189
|
if (i && i.distance <= r) return "near";
|
|
190
190
|
}
|
|
191
191
|
return null;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function j(e, d, r) {
|
|
194
194
|
let c = null;
|
|
195
195
|
for (const t of d) {
|
|
196
196
|
if (!W.includes(t.kind)) continue;
|
|
197
197
|
const i = t.geometry.polygons ?? [];
|
|
198
198
|
if (i.length === 0) continue;
|
|
199
|
-
const o =
|
|
199
|
+
const o = H(e, i, r);
|
|
200
200
|
if (o === "inside") return t;
|
|
201
201
|
o === "near" && c == null && (c = t);
|
|
202
202
|
}
|
|
203
203
|
return c;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function J(e, d, r, c = y * 3) {
|
|
206
206
|
const t = /* @__PURE__ */ new Map();
|
|
207
207
|
for (const o of d)
|
|
208
208
|
t.set(o.fromAnchorId, (t.get(o.fromAnchorId) ?? 0) + 1), t.set(o.toAnchorId, (t.get(o.toAnchorId) ?? 0) + 1);
|
|
209
209
|
let i = 0;
|
|
210
210
|
for (const o of e) {
|
|
211
211
|
if (o.shapeId != null) continue;
|
|
212
|
-
const u =
|
|
212
|
+
const u = j(o, r, c);
|
|
213
213
|
if (!u || (o.shapeId = u.id, o.kind = C(u.kind), i += 1, (t.get(o.id) ?? 0) > 1)) continue;
|
|
214
214
|
const a = K(o.kind);
|
|
215
215
|
for (const n of d)
|
|
@@ -217,29 +217,29 @@ function Z(e, d, r, c = y * 3) {
|
|
|
217
217
|
}
|
|
218
218
|
return i;
|
|
219
219
|
}
|
|
220
|
-
const
|
|
221
|
-
function
|
|
222
|
-
return Math.pow(
|
|
220
|
+
const B = 0.95, E = 1;
|
|
221
|
+
function G(e = E) {
|
|
222
|
+
return Math.pow(B, e);
|
|
223
223
|
}
|
|
224
224
|
function Q(e, d, r) {
|
|
225
225
|
if (d === 0) return e;
|
|
226
|
-
const c =
|
|
226
|
+
const c = G((r == null ? void 0 : r.zoomSpeed) ?? E), t = d < 0 ? e / c : e * c, i = (r == null ? void 0 : r.min) ?? Number.NEGATIVE_INFINITY, o = (r == null ? void 0 : r.max) ?? Number.POSITIVE_INFINITY;
|
|
227
227
|
return Math.min(o, Math.max(i, t));
|
|
228
228
|
}
|
|
229
229
|
export {
|
|
230
|
-
|
|
230
|
+
B as W,
|
|
231
231
|
E as a,
|
|
232
|
-
|
|
233
|
-
|
|
232
|
+
J as b,
|
|
233
|
+
X as c,
|
|
234
234
|
q as d,
|
|
235
235
|
R as e,
|
|
236
236
|
D as f,
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
G as g,
|
|
238
|
+
Z as i,
|
|
239
239
|
Q as n,
|
|
240
|
-
|
|
240
|
+
V as o,
|
|
241
241
|
C as r,
|
|
242
|
-
|
|
242
|
+
Y as u,
|
|
243
243
|
P as w
|
|
244
244
|
};
|
|
245
245
|
//# sourceMappingURL=wheelZoom.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Saved Google map camera. The API key is never stored here. */
|
|
2
|
+
export interface MapGeoreference {
|
|
3
|
+
lat: number;
|
|
4
|
+
lng: number;
|
|
5
|
+
zoom: number;
|
|
6
|
+
heading: number;
|
|
7
|
+
/**
|
|
8
|
+
* Building camera when this Google view was aligned.
|
|
9
|
+
* Other maps use it so pan and zoom stay locked to the building.
|
|
10
|
+
*/
|
|
11
|
+
anchorZoom?: number;
|
|
12
|
+
anchorX?: number;
|
|
13
|
+
anchorY?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare function parseMapGeoreference(value: unknown): MapGeoreference | null;
|
|
16
|
+
export declare function sameMapGeoreference(a: MapGeoreference, b: MapGeoreference): boolean;
|
|
17
|
+
/** Opening Surroundings on the default country view is not a saved alignment. */
|
|
18
|
+
export declare function isDefaultMapGeoreference(value: MapGeoreference): boolean;
|
|
19
|
+
//# sourceMappingURL=georeference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"georeference.d.ts","sourceRoot":"","sources":["../../src/core/georeference.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AASD,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,eAAe,GAAG,IAAI,CA6B3E;AAuBD,wBAAgB,mBAAmB,CACjC,CAAC,EAAE,eAAe,EAClB,CAAC,EAAE,eAAe,GACjB,OAAO,CAET;AAED,iFAAiF;AACjF,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAExE"}
|
package/dist/core/index.d.ts
CHANGED
package/dist/core/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
|
package/dist/core/index.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { A as s, C as o, D as
|
|
2
|
-
import { W as
|
|
1
|
+
import { A as s, C as o, D as r, a as i, b as t, c as n, d as l, e as c, E as S, f as p, g as d, F as b, I as E, h as m, i as u, j as A, k as I, L as v, M as O, l as h, O as T, m as g, n as _, o as L, R, p as P, q as y, r as N, s as C, S as D, t as F, u as w, v as f, w as M, x as V, T as H, V as B, W as x, y as K, z as G, B as U, G as k, H as Y, J as W, K as z, N as Z, P as q, Q as j, U as X, X as Q, Y as J, Z as $, _ as aa, $ as ea, a0 as sa, a1 as oa, a2 as ra, a3 as ia, a4 as ta, a5 as na, a6 as la, a7 as ca, a8 as Sa, a9 as pa, aa as da, ab as ba, ac as Ea, ad as ma, ae as ua, af as Aa, ag as Ia, ah as va, ai as Oa, aj as ha, ak as Ta, al as ga, am as _a, an as La, ao as Ra, ap as Pa, aq as ya, ar as Na, as as Ca, at as Da, au as Fa, av as wa, aw as fa, ax as Ma, ay as Va, az as Ha, aA as Ba, aB as xa, aC as Ka, aD as Ga, aE as Ua, aF as ka, aG as Ya, aH as Wa, aI as za, aJ as Za, aK as qa, aL as ja, aM as Xa, aN as Qa, aO as Ja, aP as $a, aQ as ae, aR as ee, aS as se, aT as oe, aU as re, aV as ie, aW as te, aX as ne, aY as le, aZ as ce, a_ as Se, a$ as pe, b0 as de, b1 as be, b2 as Ee, b3 as me, b4 as ue, b5 as Ae, b6 as Ie, b7 as ve, b8 as Oe, b9 as he, ba as Te, bb as ge, bc as _e, bd as Le, be as Re, bf as Pe, bg as ye, bh as Ne, bi as Ce, bj as De, bk as Fe, bl as we, bm as fe, bn as Me, bo as Ve, bp as He, bq as Be, br as xe, bs as Ke, bt as Ge, bu as Ue, bv as ke, bw as Ye, bx as We, by as ze, bz as Ze, bA as qe, bB as je, bC as Xe, bD as Qe, bE as Je, bF as $e, bG as as, bH as es, bI as ss, bJ as os, bK as rs, bL as is, bM as ts, bN as ns, bO as ls, bP as cs, bQ as Ss, bR as ps, bS as ds, bT as bs, bU as Es, bV as ms, bW as us, bX as As, bY as Is, bZ as vs, b_ as Os, b$ as hs, c0 as Ts, c1 as gs, c2 as _s, c3 as Ls, c4 as Rs, c5 as Ps, c6 as ys, c7 as Ns, c8 as Cs, c9 as Ds, ca as Fs, cb as ws, cc as fs, cd as Ms, ce as Vs, cf as Hs, cg as Bs, ch as xs, ci as Ks, cj as Gs, ck as Us, cl as ks, cm as Ys, cn as Ws, co as zs, cp as Zs, cq as qs, cr as js, cs as Xs, ct as Qs, cu as Js, cv as $s, cw as ao, cx as eo, cy as so, cz as oo, cA as ro, cB as io, cC as to, cD as no, cE as lo, cF as co, cG as So, cH as po, cI as bo, cJ as Eo, cK as mo, cL as uo, cM as Ao, cN as Io, cO as vo, cP as Oo, cQ as ho, cR as To, cS as go, cT as _o, cU as Lo, cV as Ro, cW as Po, cX as yo } from "../chunks/responsive.js";
|
|
2
|
+
import { W as Co, a as Do, b as Fo, c as wo, d as fo, e as Mo, f as Vo, i as Ho, n as Bo, o as xo, r as Ko, u as Go, w as Uo, g as ko } from "../chunks/wheelZoom.js";
|
|
3
3
|
export {
|
|
4
4
|
s as ASSIGNMENT_LAYER_TYPES,
|
|
5
5
|
o as CONNECTOR_ICON_SIZE,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
r as DEFAULT_ASSIGNMENT_SIZE,
|
|
7
|
+
i as DEFAULT_ENTRANCE_SIZE,
|
|
8
8
|
t as DEFAULT_LABEL_ALIGN,
|
|
9
9
|
n as DEFAULT_THEME,
|
|
10
10
|
l as DEFAULT_WELD_TOLERANCE,
|
|
11
11
|
c as DIRECTIONS_UNAVAILABLE_MESSAGE,
|
|
12
12
|
S as EMPTY_RESPONSIVE_CAMERA,
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
p as EMPTY_RESPONSIVE_CONTROLS,
|
|
14
|
+
d as ENTRANCE_ICON_ID,
|
|
15
15
|
b as FLOOR_CHANGE_PENALTY,
|
|
16
16
|
E as ICON_THEME_KEYS,
|
|
17
17
|
m as IDENTITY_MATRIX,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
u as IMPORT_DRIFT_THRESHOLD,
|
|
19
|
+
A as IMPORT_PERSISTED_KINDS,
|
|
20
|
+
I as INTERACTIVE_SHAPE_KINDS,
|
|
21
21
|
v as LABEL_ALIGNS,
|
|
22
22
|
O as MAP_NO_FLOORS_MESSAGE,
|
|
23
23
|
h as MIN_ENTRANCE_SIZE,
|
|
24
24
|
T as OPENING_VOID_FILL,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
g as OPENING_VOID_MARK,
|
|
26
|
+
_ as OPENING_VOID_STROKE,
|
|
27
27
|
L as OUTDOOR_SVG_DEFAULT_PAINT_ORDER,
|
|
28
28
|
R as RESPONSIVE_DESKTOP_MIN_WIDTH,
|
|
29
29
|
P as RESPONSIVE_DEVICES,
|
|
@@ -34,56 +34,56 @@ export {
|
|
|
34
34
|
F as STAFF_PAD_PLACEHOLDER,
|
|
35
35
|
w as STATIC_ICON_COLORS,
|
|
36
36
|
f as STATIC_LAYER_KEYS,
|
|
37
|
-
|
|
37
|
+
M as STATIC_LAYER_STYLES,
|
|
38
38
|
V as STATIC_LAYER_THEME_KEYS,
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
H as TRANSPARENT_COLOR,
|
|
40
|
+
B as VERTICAL_ROUTE_CONNECTOR_KINDS,
|
|
41
41
|
x as WALKING_PATH_COLOR,
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
Co as WHEEL_ZOOM_BASE,
|
|
43
|
+
Do as WHEEL_ZOOM_SPEED,
|
|
44
44
|
K as allowsFloorChange,
|
|
45
45
|
G as amenityAssignedName,
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
U as amenityHouseFill,
|
|
47
|
+
k as angleFromWall,
|
|
48
48
|
Y as applyBulkAssignPatch,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
W as applyLevelTransform,
|
|
50
|
+
z as applyMatrix,
|
|
51
51
|
Z as approximateArc,
|
|
52
52
|
q as approximateCubic,
|
|
53
53
|
j as approximateQuadratic,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
X as assignNumberFromDraft,
|
|
55
|
+
Q as assignmentDisplayText,
|
|
56
56
|
J as assignmentHasTarget,
|
|
57
57
|
$ as assignmentIconThemeFallback,
|
|
58
58
|
aa as assignmentOverlayImageUrl,
|
|
59
59
|
ea as assignmentOverlayRenderSize,
|
|
60
60
|
sa as assignmentOverlayVisible,
|
|
61
61
|
oa as assignmentPadFillFallback,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
ra as assignmentSpecialIconId,
|
|
63
|
+
ia as assignmentVisualPatch,
|
|
64
|
+
Fo as attachImportedRouteAnchors,
|
|
65
|
+
wo as autoConnectUnitAnchor,
|
|
66
66
|
ta as bboxOf,
|
|
67
67
|
na as bboxUnion,
|
|
68
68
|
la as bendRouteToCubic,
|
|
69
69
|
ca as boundsFromStackedLevels,
|
|
70
|
-
|
|
70
|
+
fo as buildAutoSkeleton,
|
|
71
71
|
Sa as buildGeometryFromPaths,
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
pa as bulkAssignFormState,
|
|
73
|
+
da as canonicalizeEntranceLabel,
|
|
74
74
|
ba as centroid,
|
|
75
75
|
Ea as clampEntranceSize,
|
|
76
76
|
ma as clampRouteThickness,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
ua as clampStoreRadius,
|
|
78
|
+
Aa as classifyId,
|
|
79
|
+
Mo as collapseDuplicateRouteGraph,
|
|
80
|
+
Ia as commitAssignNumberDraft,
|
|
81
81
|
va as compareBuildingFloors,
|
|
82
82
|
Oa as compareOutdoorSvgPaintOrder,
|
|
83
83
|
ha as compileDocument,
|
|
84
84
|
Ta as compileGraph,
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
ga as connectorIconLayout,
|
|
86
|
+
_a as darkenShapeFill,
|
|
87
87
|
La as defaultLayerTypeForKind,
|
|
88
88
|
Ra as defaultTargetTypeForKind,
|
|
89
89
|
Pa as defaultViewerLevelId,
|
|
@@ -94,164 +94,168 @@ export {
|
|
|
94
94
|
Fa as emptyResponsiveOverrideInput,
|
|
95
95
|
wa as emptyShapeAssignment,
|
|
96
96
|
fa as expandBounds,
|
|
97
|
-
|
|
97
|
+
Ma as expandPlaceAnchorIds,
|
|
98
98
|
Va as filletPolygon,
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
Ha as findNearestAmenityPath,
|
|
100
|
+
Ba as findPath,
|
|
101
101
|
xa as findPublishedShape,
|
|
102
102
|
Ka as findResponsiveOverride,
|
|
103
103
|
Ga as findShortestPath,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
Ua as findShortestPlacePath,
|
|
105
|
+
ka as findViewerKioskOrigin,
|
|
106
|
+
Vo as findWeldCandidates,
|
|
107
107
|
Ya as flipY,
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
Wa as floorSwitcherDisplayLevels,
|
|
109
|
+
za as floorSwitcherLevels,
|
|
110
110
|
Za as formatRetailerPhone,
|
|
111
111
|
qa as geometryBBox,
|
|
112
112
|
ja as geometryCentroid,
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
Xa as hasBuildingFloors,
|
|
114
|
+
Qa as hasOutdoorLevel,
|
|
115
115
|
Ja as holeRingForOuter,
|
|
116
116
|
$a as holesOverlappingOuter,
|
|
117
|
-
|
|
117
|
+
Ho as importRoutePaths,
|
|
118
118
|
ae as importSvg,
|
|
119
119
|
ee as inlineSvgStyles,
|
|
120
120
|
se as isActiveVoidShape,
|
|
121
121
|
oe as isAmenityLayerId,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
te as
|
|
125
|
-
ne as
|
|
126
|
-
le as
|
|
127
|
-
ce as
|
|
128
|
-
Se as
|
|
122
|
+
re as isAssignmentLayerType,
|
|
123
|
+
ie as isDefaultMapGeoreference,
|
|
124
|
+
te as isDeviceType,
|
|
125
|
+
ne as isEmptyOverride,
|
|
126
|
+
le as isEmptyVec3,
|
|
127
|
+
ce as isEntranceIcon,
|
|
128
|
+
Se as isEntranceIconKey,
|
|
129
|
+
pe as isGeometrySpaceStale,
|
|
129
130
|
de as isHttpImageUrl,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
be as isIdentityMatrix,
|
|
132
|
+
Ee as isInteractiveGroupLabel,
|
|
133
|
+
me as isLayerContainerLabel,
|
|
134
|
+
ue as isMapViewerHost,
|
|
134
135
|
Ae as isNonInteractiveGroupLabel,
|
|
135
136
|
Ie as isOutdoorLevel,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
ve as isRouteFolderLabel,
|
|
138
|
+
Oe as isRouteLineElement,
|
|
139
|
+
he as isRoutePathLabel,
|
|
140
|
+
Te as isSlabShapeKind,
|
|
141
|
+
ge as isStoreFolderLabel,
|
|
141
142
|
_e as isTransparentColor,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
143
|
+
Le as isTransparentPadKind,
|
|
144
|
+
Re as isVerticalRouteConnectorKind,
|
|
145
|
+
Pe as isViewerKioskOriginShape,
|
|
146
|
+
ye as isVoidKind,
|
|
147
|
+
Ne as kioskAssignedName,
|
|
148
|
+
Ce as labelAlignX,
|
|
149
|
+
De as labelSvgTextAnchor,
|
|
150
|
+
Fe as levelHasVoids,
|
|
151
|
+
we as mapSurface,
|
|
152
|
+
fe as matchingShapeAnchorIds,
|
|
153
|
+
Me as mergeEntranceAwareLabel,
|
|
154
|
+
Ve as mergePresentationStyle,
|
|
155
|
+
He as mergeResponsiveOverrides,
|
|
155
156
|
Be as mergeTheme,
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
157
|
+
xe as moveRouteHandle,
|
|
158
|
+
Ke as multiplyMatrix,
|
|
159
|
+
Ge as nearestPointOnPolyline,
|
|
160
|
+
Ue as nextLowerBuildingFloor,
|
|
161
|
+
Bo as nextZoomFromWheel,
|
|
161
162
|
ke as normalizeGeometrySpace,
|
|
162
|
-
|
|
163
|
-
|
|
163
|
+
Ye as normalizeLabelAlign,
|
|
164
|
+
We as normalizeLayerLabel,
|
|
164
165
|
ze as normalizeLayerName,
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
Ze as normalizePublishedDocument,
|
|
167
|
+
qe as normalizeRetailerCatalogItem,
|
|
168
|
+
xo as outdoorDecorationFromSvg,
|
|
169
|
+
je as outdoorSvgPaintOrder,
|
|
170
|
+
Xe as outdoorSvgSuppressIds,
|
|
170
171
|
Qe as overrideToCameraPose,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
is as
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
ds as
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
As as
|
|
191
|
-
Is as
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
_s as
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
Bs as
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
ks as
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
zs as
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
Qs as
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
io as
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
Ao as
|
|
246
|
-
Io as
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
_o as
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
172
|
+
Je as parseHexRgb,
|
|
173
|
+
$e as parseKioskIdInput,
|
|
174
|
+
as as parseMapGeoreference,
|
|
175
|
+
es as parseShapeAssignment,
|
|
176
|
+
ss as parseSvgString,
|
|
177
|
+
os as parseTransform,
|
|
178
|
+
rs as parseViewBox,
|
|
179
|
+
is as pathToPolygons,
|
|
180
|
+
ts as pointInPolygon,
|
|
181
|
+
ns as pointInPolygons,
|
|
182
|
+
ls as polygonBBox,
|
|
183
|
+
cs as polygonSignedArea,
|
|
184
|
+
Ss as polygonsOverlap,
|
|
185
|
+
ps as poseToResponsiveFields,
|
|
186
|
+
ds as projectOntoRouteEdge,
|
|
187
|
+
bs as projectOntoSegment,
|
|
188
|
+
Es as publishedShapeLabel,
|
|
189
|
+
ms as readPresentationStyle,
|
|
190
|
+
us as resolveFetchUrl,
|
|
191
|
+
As as resolveLayerStyle,
|
|
192
|
+
Is as resolveStaticLayerKey,
|
|
193
|
+
vs as resolvedAssignmentBgColor,
|
|
194
|
+
Os as resolvedAssignmentIconColor,
|
|
195
|
+
hs as resolvedAssignmentTextColor,
|
|
196
|
+
Ts as resolvedShapeFill,
|
|
197
|
+
gs as resolvedViewerShapeFill,
|
|
198
|
+
_s as responsiveSlotKey,
|
|
199
|
+
Ls as responsiveViewKey,
|
|
200
|
+
Rs as retailerOptionLabel,
|
|
201
|
+
Ps as revealedBuildingFloors,
|
|
202
|
+
ys as reverseRouteCurve,
|
|
203
|
+
Ns as reversedRing,
|
|
204
|
+
Cs as rgbToHex,
|
|
205
|
+
Ko as routeAnchorKindForShape,
|
|
206
|
+
Ds as routeCurveFromRaw,
|
|
207
|
+
Fs as routeCurveOf,
|
|
208
|
+
ws as routeEdgeLength,
|
|
209
|
+
fs as routeEdgePathD,
|
|
210
|
+
Ms as sameMapGeoreference,
|
|
211
|
+
Vs as sceneBoundsFromBBox,
|
|
212
|
+
Hs as shapeAnchorIds,
|
|
213
|
+
Bs as shiftRouteCurveForAnchor,
|
|
214
|
+
xs as shouldProxyMediaUrl,
|
|
215
|
+
Ks as shouldShowFloorSwitcher,
|
|
216
|
+
Gs as siblingShapeAnchorIds,
|
|
217
|
+
Us as snapAngle,
|
|
218
|
+
ks as sortByOutdoorSvgPaintOrder,
|
|
219
|
+
Ys as splitRouteCurve,
|
|
220
|
+
Ws as staffPadPlaceholderFill,
|
|
221
|
+
zs as staticIconThemeDefaults,
|
|
222
|
+
Zs as staticLayerHouseColor,
|
|
223
|
+
qs as staticLayerThemeDefaults,
|
|
224
|
+
js as surroundingsMode,
|
|
225
|
+
Xs as svgIdsOwnedByShapes,
|
|
226
|
+
Qs as tokenizePathData,
|
|
227
|
+
Js as transformPathD,
|
|
228
|
+
$s as unionViewBox,
|
|
229
|
+
ao as uniqueAnchorIds,
|
|
230
|
+
eo as uniqueClosedRing,
|
|
231
|
+
Go as unitAnchorFromShape,
|
|
232
|
+
so as upsertResponsiveOverride,
|
|
233
|
+
oo as viewBoxToBounds,
|
|
234
|
+
ro as viewerAllowsWheelZoom,
|
|
235
|
+
io as viewerCanShowScene,
|
|
236
|
+
to as viewerChrome,
|
|
237
|
+
no as viewerHidesUnassignedServiceShapes,
|
|
238
|
+
lo as viewerHoverRequiresAssignment,
|
|
239
|
+
co as viewerHoverTooltipLabel,
|
|
240
|
+
So as viewerLevelIdAfterShapeSelect,
|
|
241
|
+
po as viewerLevelStack,
|
|
242
|
+
bo as viewerRequiresBuildingFloors,
|
|
243
|
+
Eo as viewerResetPatch,
|
|
244
|
+
mo as viewerServiceShapeVisible,
|
|
245
|
+
uo as viewerShapeBaseOpacity,
|
|
246
|
+
Ao as viewerShapeHoverableOnHost,
|
|
247
|
+
Io as viewerShapeVisibleOnHost,
|
|
248
|
+
vo as viewerShowsHoverTooltip,
|
|
249
|
+
Oo as viewerShowsStaffPadFill,
|
|
250
|
+
ho as voidPolygonsOnLevel,
|
|
251
|
+
To as websiteClickOpensModal,
|
|
252
|
+
go as websiteDestination,
|
|
253
|
+
_o as websiteDirectionsUnavailable,
|
|
254
|
+
Lo as websiteFromRetailerOptions,
|
|
255
|
+
Ro as websiteInfoModalDirections,
|
|
256
|
+
Po as websiteMapItAnchors,
|
|
257
|
+
yo as websiteRetailersOnMap,
|
|
258
|
+
Uo as weldAnchors,
|
|
259
|
+
ko as wheelDollyScale
|
|
256
260
|
};
|
|
257
261
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CmAmenityCatalogItem, CmAnchor, CmBuilding, CmConnector, CmLevel, CmResponsiveOverride, CmRouteEdge, CmShape, CmShapeAssignment, MapAssignRetailer, PublishedDocument, ThemeDefaults, ViewBox } from '../types';
|
|
2
|
+
import { MapGeoreference } from '../georeference';
|
|
2
3
|
export interface PublishInput {
|
|
3
4
|
revisionId: number;
|
|
4
5
|
revisionNumber: number;
|
|
@@ -18,6 +19,7 @@ export interface PublishInput {
|
|
|
18
19
|
responsiveOverrides: CmResponsiveOverride[];
|
|
19
20
|
/** Center retailers used to bake retail display data into the revision. */
|
|
20
21
|
retailers?: MapAssignRetailer[];
|
|
22
|
+
georeference?: MapGeoreference | null;
|
|
21
23
|
/** Persist stable logo/media keys instead of session-specific resolved URLs. */
|
|
22
24
|
persistMediaKeys?: boolean;
|
|
23
25
|
/** Resolve S3 key → CDN URL for level source SVGs. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/publish/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,QAAQ,EACR,UAAU,EACV,WAAW,EACX,OAAO,EACP,oBAAoB,EACpB,WAAW,EACX,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EAEjB,aAAa,EACb,OAAO,EACR,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/publish/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,QAAQ,EACR,UAAU,EACV,WAAW,EACX,OAAO,EACP,oBAAoB,EACpB,WAAW,EACX,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EAEjB,aAAa,EACb,OAAO,EACR,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAOvD,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,OAAO,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,UAAU,EAAE,CAAC;IACxB,MAAM,EAAE,OAAO,EAAE,CAAC;IAClB,MAAM,EAAE,OAAO,EAAE,CAAC;IAClB,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,UAAU,EAAE,WAAW,EAAE,CAAC;IAC1B,SAAS,EAAE,oBAAoB,EAAE,CAAC;IAClC,mBAAmB,EAAE,oBAAoB,EAAE,CAAC;IAC5C,2EAA2E;IAC3E,SAAS,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAChC,YAAY,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IACtC,gFAAgF;IAChF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,sDAAsD;IACtD,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,KAAK,MAAM,GAAG,IAAI,CAAC;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,YAAY,GAAG,iBAAiB,CA+EtE;AAkBD;;;;GAIG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,EAAE,iBAAiB,GACrB,iBAAiB,CAuBnB"}
|