@eyeon/map 2.0.15 → 2.0.19
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/chunks/MapViewer.js +2566 -2161
- package/dist/chunks/MapViewer.js.map +1 -1
- package/dist/chunks/responsive.js +2590 -0
- package/dist/chunks/responsive.js.map +1 -0
- package/dist/chunks/wheelZoom.js +163 -177
- package/dist/chunks/wheelZoom.js.map +1 -1
- package/dist/core/assignment.d.ts +19 -2
- package/dist/core/assignment.d.ts.map +1 -1
- package/dist/core/color.d.ts +7 -0
- package/dist/core/color.d.ts.map +1 -1
- package/dist/core/entranceIcon.d.ts +17 -3
- package/dist/core/entranceIcon.d.ts.map +1 -1
- package/dist/core/hostChrome.d.ts +13 -2
- package/dist/core/hostChrome.d.ts.map +1 -1
- package/dist/core/hoverTooltip.d.ts +37 -0
- package/dist/core/hoverTooltip.d.ts.map +1 -0
- package/dist/core/import/index.d.ts +10 -1
- package/dist/core/import/index.d.ts.map +1 -1
- package/dist/core/index.d.ts +3 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +237 -189
- package/dist/core/layerStyles.d.ts +31 -0
- package/dist/core/layerStyles.d.ts.map +1 -1
- package/dist/core/outdoorDecoration.d.ts.map +1 -1
- package/dist/core/publicShapes.d.ts +14 -0
- package/dist/core/publicShapes.d.ts.map +1 -1
- package/dist/core/responsive.d.ts +6 -0
- package/dist/core/responsive.d.ts.map +1 -1
- package/dist/core/routing/graph-tools.d.ts +6 -5
- package/dist/core/routing/graph-tools.d.ts.map +1 -1
- package/dist/core/routing/pathfinding.d.ts +36 -0
- package/dist/core/routing/pathfinding.d.ts.map +1 -1
- package/dist/core/shapeFill.d.ts +40 -0
- package/dist/core/shapeFill.d.ts.map +1 -0
- package/dist/core/stacking.d.ts +4 -0
- package/dist/core/stacking.d.ts.map +1 -1
- package/dist/core/types.d.ts +21 -3
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/viewerReset.d.ts +24 -0
- package/dist/core/viewerReset.d.ts.map +1 -0
- package/dist/core/websiteModal.d.ts +15 -0
- package/dist/core/websiteModal.d.ts.map +1 -1
- package/dist/editor/MapEditor.d.ts.map +1 -1
- package/dist/editor/assignmentOverlay.d.ts +37 -0
- package/dist/editor/assignmentOverlay.d.ts.map +1 -0
- package/dist/editor/canvas/AssignedShapeOverlay.d.ts +8 -0
- package/dist/editor/canvas/AssignedShapeOverlay.d.ts.map +1 -0
- package/dist/editor/canvas/EditorCanvas.d.ts +6 -1
- package/dist/editor/canvas/EditorCanvas.d.ts.map +1 -1
- package/dist/editor/canvas/coords.d.ts +9 -0
- package/dist/editor/canvas/coords.d.ts.map +1 -1
- package/dist/editor/canvas/editorFill.d.ts.map +1 -1
- package/dist/editor/canvas/editorHover.d.ts +4 -0
- package/dist/editor/canvas/editorHover.d.ts.map +1 -1
- package/dist/editor/draftOps.d.ts.map +1 -1
- package/dist/editor/entranceIcon.d.ts +2 -2
- package/dist/editor/entranceIcon.d.ts.map +1 -1
- package/dist/editor/index.css +369 -87
- package/dist/editor/index.js +4735 -4328
- package/dist/editor/index.js.map +1 -1
- package/dist/editor/panels/AssignForm.d.ts +4 -3
- package/dist/editor/panels/AssignForm.d.ts.map +1 -1
- package/dist/editor/panels/BulkAssignForm.d.ts +3 -1
- package/dist/editor/panels/BulkAssignForm.d.ts.map +1 -1
- package/dist/editor/panels/ConnectorAssign.d.ts.map +1 -1
- package/dist/editor/panels/FloorsPanel.d.ts.map +1 -1
- package/dist/editor/panels/Inspector.d.ts +4 -2
- package/dist/editor/panels/Inspector.d.ts.map +1 -1
- package/dist/editor/panels/LeftRail.d.ts.map +1 -1
- package/dist/editor/routeStubs.d.ts +11 -0
- package/dist/editor/routeStubs.d.ts.map +1 -1
- package/dist/specialIcons.d.ts +22 -1
- package/dist/specialIcons.d.ts.map +1 -1
- package/dist/test-maps/LF - Shops At South Town.ai +4468 -1
- package/dist/test-maps/LF - Shops At South Town.svg +245 -0
- package/dist/test-maps/shops-at-south-town/SVG/escalator.svg +13 -0
- package/dist/viewer/MapViewer.d.ts.map +1 -1
- package/dist/viewer/camera.d.ts +10 -0
- package/dist/viewer/camera.d.ts.map +1 -1
- package/dist/viewer/components/CameraRig.d.ts.map +1 -1
- package/dist/viewer/components/LevelMeshes.d.ts +12 -2
- package/dist/viewer/components/LevelMeshes.d.ts.map +1 -1
- package/dist/viewer/components/MapScene.d.ts +5 -2
- package/dist/viewer/components/MapScene.d.ts.map +1 -1
- package/dist/viewer/components/RouteLine.d.ts +28 -9
- package/dist/viewer/components/RouteLine.d.ts.map +1 -1
- package/dist/viewer/components/SvgVectorLayer.d.ts +1 -1
- package/dist/viewer/components/SvgVectorLayer.d.ts.map +1 -1
- package/dist/viewer/index.css +319 -62
- package/dist/viewer/index.js +1 -1
- package/dist/viewer/pointer.d.ts +42 -6
- package/dist/viewer/pointer.d.ts.map +1 -1
- package/dist/viewer/routeFloorChanges.d.ts +33 -0
- package/dist/viewer/routeFloorChanges.d.ts.map +1 -0
- package/dist/viewer/ui/HoverTooltip.d.ts +6 -0
- package/dist/viewer/ui/HoverTooltip.d.ts.map +1 -0
- package/dist/viewer/ui/MapControls.d.ts.map +1 -1
- package/dist/viewer/ui/RuntimeChrome.d.ts +2 -1
- package/dist/viewer/ui/RuntimeChrome.d.ts.map +1 -1
- package/dist/viewer/ui/WebsiteInfoModal.d.ts +3 -2
- package/dist/viewer/ui/WebsiteInfoModal.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/chunks/stacking.js +0 -2243
- package/dist/chunks/stacking.js.map +0 -1
package/dist/core/index.js
CHANGED
|
@@ -1,196 +1,244 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
import { W as
|
|
1
|
+
import { A as s, C as i, D as o, a as r, b as n, c as t, d as l, e as c, E as S, f as b, g as p, F as d, I as E, h as m, i as A, j as I, k as h, L as O, M as T, l as _, O as v, m as L, n as g, o as u, R, p as y, q as P, r as N, s as D, S as w, t as C, u as F, v as f, w as V, x as B, T as H, V as M, W as x, y as K, z as G, B as k, G as U, H as Y, J as z, K as W, 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 ia, a2 as oa, a3 as ra, a4 as na, a5 as ta, a6 as la, a7 as ca, a8 as Sa, a9 as ba, aa as pa, ab as da, ac as Ea, ad as ma, ae as Aa, af as Ia, ag as ha, ah as Oa, ai as Ta, aj as _a, ak as va, al as La, am as ga, an as ua, ao as Ra, ap as ya, aq as Pa, ar as Na, as as Da, at as wa, au as Ca, av as Fa, aw as fa, ax as Va, ay as Ba, az as Ha, aA as Ma, aB as xa, aC as Ka, aD as Ga, aE as ka, aF as Ua, aG as Ya, aH as za, aI as Wa, 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 ie, aU as oe, aV as re, aW as ne, aX as te, aY as le, aZ as ce, a_ as Se, a$ as be, b0 as pe, b1 as de, b2 as Ee, b3 as me, b4 as Ae, b5 as Ie, b6 as he, b7 as Oe, b8 as Te, b9 as _e, ba as ve, bb as Le, bc as ge, bd as ue, be as Re, bf as ye, bg as Pe, bh as Ne, bi as De, bj as we, bk as Ce, bl as Fe, bm as fe, bn as Ve, bo as Be, bp as He, bq as Me, br as xe, bs as Ke, bt as Ge, bu as ke, bv as Ue, bw as Ye, bx as ze, by as We, 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 is, bK as os, bL as rs, bM as ns, bN as ts, bO as ls, bP as cs, bQ as Ss, bR as bs, bS as ps, bT as ds, bU as Es, bV as ms, bW as As, bX as Is, bY as hs, bZ as Os, b_ as Ts, b$ as _s, c0 as vs, c1 as Ls, c2 as gs, c3 as us, c4 as Rs, c5 as ys, c6 as Ps, c7 as Ns, c8 as Ds, c9 as ws, ca as Cs, cb as Fs, cc as fs, cd as Vs, ce as Bs, cf as Hs, cg as Ms, ch as xs, ci as Ks, cj as Gs, ck as ks, cl as Us, cm as Ys, cn as zs, co as Ws, cp as Zs, cq as qs, cr as js, cs as Xs, ct as Qs, cu as Js, cv as $s, cw as ai, cx as ei, cy as si, cz as ii, cA as oi, cB as ri, cC as ni, cD as ti, cE as li, cF as ci, cG as Si } from "../chunks/responsive.js";
|
|
2
|
+
import { W as pi, a as di, b as Ei, c as mi, d as Ai, e as Ii, f as hi, i as Oi, n as Ti, o as _i, r as vi, u as Li, w as gi, g as ui } from "../chunks/wheelZoom.js";
|
|
3
3
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
s as ASSIGNMENT_LAYER_TYPES,
|
|
5
|
+
i as CONNECTOR_ICON_SIZE,
|
|
6
|
+
o as DEFAULT_ASSIGNMENT_SIZE,
|
|
7
7
|
r as DEFAULT_ENTRANCE_SIZE,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
n as DEFAULT_LABEL_ALIGN,
|
|
9
|
+
t as DEFAULT_THEME,
|
|
10
10
|
l as DEFAULT_WELD_TOLERANCE,
|
|
11
|
+
c as DIRECTIONS_UNAVAILABLE_MESSAGE,
|
|
11
12
|
S as EMPTY_RESPONSIVE_CAMERA,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
m as
|
|
17
|
-
A as
|
|
18
|
-
I as
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
T as
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
b as EMPTY_RESPONSIVE_CONTROLS,
|
|
14
|
+
p as ENTRANCE_ICON_ID,
|
|
15
|
+
d as FLOOR_CHANGE_PENALTY,
|
|
16
|
+
E as ICON_THEME_KEYS,
|
|
17
|
+
m as IDENTITY_MATRIX,
|
|
18
|
+
A as IMPORT_DRIFT_THRESHOLD,
|
|
19
|
+
I as IMPORT_PERSISTED_KINDS,
|
|
20
|
+
h as INTERACTIVE_SHAPE_KINDS,
|
|
21
|
+
O as LABEL_ALIGNS,
|
|
22
|
+
T as MAP_NO_FLOORS_MESSAGE,
|
|
23
|
+
_ as MIN_ENTRANCE_SIZE,
|
|
24
|
+
v as OPENING_VOID_FILL,
|
|
25
|
+
L as OPENING_VOID_MARK,
|
|
24
26
|
g as OPENING_VOID_STROKE,
|
|
25
|
-
u as
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
ga as
|
|
85
|
-
ua as
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
27
|
+
u as OUTDOOR_SVG_DEFAULT_PAINT_ORDER,
|
|
28
|
+
R as RESPONSIVE_DESKTOP_MIN_WIDTH,
|
|
29
|
+
y as RESPONSIVE_DEVICES,
|
|
30
|
+
P as RESPONSIVE_DEVICE_TABS,
|
|
31
|
+
N as RESPONSIVE_TABLET_MIN_WIDTH,
|
|
32
|
+
D as RETAIL_LOGO_RENDER_SCALE,
|
|
33
|
+
w as SLAB_SHAPE_KINDS,
|
|
34
|
+
C as STAFF_PAD_PLACEHOLDER,
|
|
35
|
+
F as STATIC_ICON_COLORS,
|
|
36
|
+
f as STATIC_LAYER_KEYS,
|
|
37
|
+
V as STATIC_LAYER_STYLES,
|
|
38
|
+
B as STATIC_LAYER_THEME_KEYS,
|
|
39
|
+
H as TRANSPARENT_COLOR,
|
|
40
|
+
M as VERTICAL_ROUTE_CONNECTOR_KINDS,
|
|
41
|
+
x as WALKING_PATH_COLOR,
|
|
42
|
+
pi as WHEEL_ZOOM_BASE,
|
|
43
|
+
di as WHEEL_ZOOM_SPEED,
|
|
44
|
+
K as allowsFloorChange,
|
|
45
|
+
G as amenityAssignedName,
|
|
46
|
+
k as amenityHouseFill,
|
|
47
|
+
U as angleFromWall,
|
|
48
|
+
Y as applyBulkAssignPatch,
|
|
49
|
+
z as applyLevelTransform,
|
|
50
|
+
W as applyMatrix,
|
|
51
|
+
Z as approximateArc,
|
|
52
|
+
q as approximateCubic,
|
|
53
|
+
j as approximateQuadratic,
|
|
54
|
+
X as assignNumberFromDraft,
|
|
55
|
+
Q as assignmentDisplayText,
|
|
56
|
+
J as assignmentHasTarget,
|
|
57
|
+
$ as assignmentIconThemeFallback,
|
|
58
|
+
aa as assignmentOverlayImageUrl,
|
|
59
|
+
ea as assignmentOverlayRenderSize,
|
|
60
|
+
sa as assignmentOverlayVisible,
|
|
61
|
+
ia as assignmentPadFillFallback,
|
|
62
|
+
oa as assignmentSpecialIconId,
|
|
63
|
+
ra as assignmentVisualPatch,
|
|
64
|
+
Ei as attachImportedRouteAnchors,
|
|
65
|
+
mi as autoConnectUnitAnchor,
|
|
66
|
+
na as bboxOf,
|
|
67
|
+
ta as bboxUnion,
|
|
68
|
+
la as boundsFromStackedLevels,
|
|
69
|
+
Ai as buildAutoSkeleton,
|
|
70
|
+
ca as buildGeometryFromPaths,
|
|
71
|
+
Sa as bulkAssignFormState,
|
|
72
|
+
ba as canonicalizeEntranceLabel,
|
|
73
|
+
pa as centroid,
|
|
74
|
+
da as clampEntranceSize,
|
|
75
|
+
Ea as clampRouteThickness,
|
|
76
|
+
ma as clampStoreRadius,
|
|
77
|
+
Aa as classifyId,
|
|
78
|
+
Ii as collapseDuplicateRouteGraph,
|
|
79
|
+
Ia as commitAssignNumberDraft,
|
|
80
|
+
ha as compareBuildingFloors,
|
|
81
|
+
Oa as compileDocument,
|
|
82
|
+
Ta as compileGraph,
|
|
83
|
+
_a as connectorIconLayout,
|
|
84
|
+
va as darkenShapeFill,
|
|
85
|
+
La as defaultLayerTypeForKind,
|
|
86
|
+
ga as defaultTargetTypeForKind,
|
|
87
|
+
ua as defaultViewerLevelId,
|
|
88
|
+
Ra as deviceFromHost,
|
|
89
|
+
ya as diffImport,
|
|
90
|
+
Pa as distance,
|
|
91
|
+
Na as emptyResponsiveOverrideInput,
|
|
92
|
+
Da as emptyShapeAssignment,
|
|
93
|
+
wa as expandBounds,
|
|
94
|
+
Ca as expandPlaceAnchorIds,
|
|
95
|
+
Fa as filletPolygon,
|
|
96
|
+
fa as findNearestAmenityPath,
|
|
97
|
+
Va as findPath,
|
|
98
|
+
Ba as findPublishedShape,
|
|
99
|
+
Ha as findResponsiveOverride,
|
|
100
|
+
Ma as findShortestPath,
|
|
101
|
+
xa as findShortestPlacePath,
|
|
102
|
+
Ka as findViewerKioskOrigin,
|
|
103
|
+
hi as findWeldCandidates,
|
|
104
|
+
Ga as flipY,
|
|
105
|
+
ka as floorSwitcherDisplayLevels,
|
|
106
|
+
Ua as floorSwitcherLevels,
|
|
107
|
+
Ya as formatRetailerPhone,
|
|
108
|
+
za as geometryBBox,
|
|
109
|
+
Wa as geometryCentroid,
|
|
110
|
+
Za as hasBuildingFloors,
|
|
111
|
+
qa as hasOutdoorLevel,
|
|
112
|
+
ja as holeRingForOuter,
|
|
113
|
+
Xa as holesOverlappingOuter,
|
|
114
|
+
Oi as importRoutePaths,
|
|
115
|
+
Qa as importSvg,
|
|
116
|
+
Ja as inlineSvgStyles,
|
|
117
|
+
$a as isActiveVoidShape,
|
|
118
|
+
ae as isAmenityLayerId,
|
|
119
|
+
ee as isAssignmentLayerType,
|
|
120
|
+
se as isDeviceType,
|
|
121
|
+
ie as isEmptyOverride,
|
|
122
|
+
oe as isEmptyVec3,
|
|
123
|
+
re as isEntranceIcon,
|
|
124
|
+
ne as isEntranceIconKey,
|
|
125
|
+
te as isGeometrySpaceStale,
|
|
126
|
+
le as isIdentityMatrix,
|
|
127
|
+
ce as isInteractiveGroupLabel,
|
|
128
|
+
Se as isLayerContainerLabel,
|
|
129
|
+
be as isMapViewerHost,
|
|
130
|
+
pe as isNonInteractiveGroupLabel,
|
|
131
|
+
de as isOutdoorLevel,
|
|
132
|
+
Ee as isRouteFolderLabel,
|
|
133
|
+
me as isRouteLineElement,
|
|
134
|
+
Ae as isRoutePathLabel,
|
|
135
|
+
Ie as isSlabShapeKind,
|
|
136
|
+
he as isStoreFolderLabel,
|
|
137
|
+
Oe as isTransparentColor,
|
|
138
|
+
Te as isTransparentPadKind,
|
|
139
|
+
_e as isVerticalRouteConnectorKind,
|
|
140
|
+
ve as isViewerKioskOriginShape,
|
|
141
|
+
Le as isVoidKind,
|
|
142
|
+
ge as kioskAssignedName,
|
|
143
|
+
ue as labelAlignX,
|
|
144
|
+
Re as labelSvgTextAnchor,
|
|
145
|
+
ye as levelHasVoids,
|
|
146
|
+
Pe as mapSurface,
|
|
147
|
+
Ne as matchingShapeAnchorIds,
|
|
148
|
+
De as mergeEntranceAwareLabel,
|
|
149
|
+
we as mergePresentationStyle,
|
|
150
|
+
Ce as mergeResponsiveOverrides,
|
|
151
|
+
Fe as mergeTheme,
|
|
152
|
+
fe as multiplyMatrix,
|
|
153
|
+
Ve as nearestPointOnPolyline,
|
|
154
|
+
Be as nextLowerBuildingFloor,
|
|
155
|
+
Ti as nextZoomFromWheel,
|
|
156
|
+
He as normalizeGeometrySpace,
|
|
157
|
+
Me as normalizeLabelAlign,
|
|
158
|
+
xe as normalizeLayerLabel,
|
|
159
|
+
Ke as normalizeLayerName,
|
|
160
|
+
Ge as normalizePublishedDocument,
|
|
161
|
+
ke as normalizeRetailerCatalogItem,
|
|
162
|
+
_i as outdoorDecorationFromSvg,
|
|
163
|
+
Ue as outdoorSvgPaintOrder,
|
|
164
|
+
Ye as outdoorSvgSuppressIds,
|
|
165
|
+
ze as overrideToCameraPose,
|
|
166
|
+
We as parseHexRgb,
|
|
167
|
+
Ze as parseKioskIdInput,
|
|
168
|
+
qe as parseShapeAssignment,
|
|
169
|
+
je as parseSvgString,
|
|
170
|
+
Xe as parseTransform,
|
|
171
|
+
Qe as parseViewBox,
|
|
172
|
+
Je as pathToPolygons,
|
|
173
|
+
$e as pointInPolygon,
|
|
174
|
+
as as pointInPolygons,
|
|
175
|
+
es as polygonBBox,
|
|
176
|
+
ss as polygonSignedArea,
|
|
177
|
+
is as polygonsOverlap,
|
|
178
|
+
os as poseToResponsiveFields,
|
|
179
|
+
rs as projectOntoSegment,
|
|
180
|
+
ns as publishedShapeLabel,
|
|
181
|
+
ts as readPresentationStyle,
|
|
182
|
+
ls as resolveFetchUrl,
|
|
183
|
+
cs as resolveLayerStyle,
|
|
184
|
+
Ss as resolveStaticLayerKey,
|
|
185
|
+
bs as resolvedAssignmentBgColor,
|
|
186
|
+
ps as resolvedAssignmentIconColor,
|
|
187
|
+
ds as resolvedAssignmentTextColor,
|
|
188
|
+
Es as resolvedShapeFill,
|
|
189
|
+
ms as resolvedViewerShapeFill,
|
|
190
|
+
As as responsiveSlotKey,
|
|
191
|
+
Is as responsiveViewKey,
|
|
192
|
+
hs as retailerOptionLabel,
|
|
193
|
+
Os as revealedBuildingFloors,
|
|
194
|
+
Ts as reversedRing,
|
|
195
|
+
_s as rgbToHex,
|
|
196
|
+
vi as routeAnchorKindForShape,
|
|
197
|
+
vs as sceneBoundsFromBBox,
|
|
198
|
+
Ls as shapeAnchorIds,
|
|
199
|
+
gs as shouldProxyMediaUrl,
|
|
200
|
+
us as shouldShowFloorSwitcher,
|
|
201
|
+
Rs as siblingShapeAnchorIds,
|
|
202
|
+
ys as snapAngle,
|
|
203
|
+
Ps as sortByOutdoorSvgPaintOrder,
|
|
204
|
+
Ns as staffPadPlaceholderFill,
|
|
205
|
+
Ds as staticIconThemeDefaults,
|
|
206
|
+
ws as staticLayerHouseColor,
|
|
207
|
+
Cs as staticLayerThemeDefaults,
|
|
208
|
+
Fs as svgIdsOwnedByShapes,
|
|
209
|
+
fs as tokenizePathData,
|
|
210
|
+
Vs as transformPathD,
|
|
211
|
+
Bs as unionViewBox,
|
|
212
|
+
Hs as uniqueAnchorIds,
|
|
213
|
+
Ms as uniqueClosedRing,
|
|
214
|
+
Li as unitAnchorFromShape,
|
|
215
|
+
xs as upsertResponsiveOverride,
|
|
216
|
+
Ks as viewBoxToBounds,
|
|
217
|
+
Gs as viewerAllowsWheelZoom,
|
|
218
|
+
ks as viewerCanShowScene,
|
|
219
|
+
Us as viewerChrome,
|
|
220
|
+
Ys as viewerHidesUnassignedServiceShapes,
|
|
221
|
+
zs as viewerHoverRequiresAssignment,
|
|
222
|
+
Ws as viewerHoverTooltipLabel,
|
|
223
|
+
Zs as viewerLevelIdAfterShapeSelect,
|
|
224
|
+
qs as viewerLevelStack,
|
|
225
|
+
js as viewerRequiresBuildingFloors,
|
|
226
|
+
Xs as viewerResetPatch,
|
|
227
|
+
Qs as viewerServiceShapeVisible,
|
|
228
|
+
Js as viewerShapeBaseOpacity,
|
|
229
|
+
$s as viewerShapeHoverableOnHost,
|
|
230
|
+
ai as viewerShapeVisibleOnHost,
|
|
231
|
+
ei as viewerShowsHoverTooltip,
|
|
232
|
+
si as viewerShowsStaffPadFill,
|
|
233
|
+
ii as voidPolygonsOnLevel,
|
|
234
|
+
oi as websiteClickOpensModal,
|
|
235
|
+
ri as websiteDestination,
|
|
236
|
+
ni as websiteDirectionsUnavailable,
|
|
237
|
+
ti as websiteFromRetailerOptions,
|
|
238
|
+
li as websiteInfoModalDirections,
|
|
239
|
+
ci as websiteMapItAnchors,
|
|
240
|
+
Si as websiteRetailersOnMap,
|
|
241
|
+
gi as weldAnchors,
|
|
242
|
+
ui as wheelDollyScale
|
|
195
243
|
};
|
|
196
244
|
//# sourceMappingURL=index.js.map
|
|
@@ -29,6 +29,11 @@ export declare const STATIC_LAYER_THEME_KEYS: {
|
|
|
29
29
|
};
|
|
30
30
|
export type StaticLayerThemeKey = (typeof STATIC_LAYER_THEME_KEYS)[keyof typeof STATIC_LAYER_THEME_KEYS];
|
|
31
31
|
export type StaticLayerTheme = Partial<Record<StaticLayerThemeKey, string>>;
|
|
32
|
+
/**
|
|
33
|
+
* Painter's order for paths that are not a reserved house layer.
|
|
34
|
+
* Higher values paint later (on top) in the live outdoor SVG.
|
|
35
|
+
*/
|
|
36
|
+
export declare const OUTDOOR_SVG_DEFAULT_PAINT_ORDER = 2;
|
|
32
37
|
/**
|
|
33
38
|
* Prefix → house style. Matching is normalized so `parking-lane`,
|
|
34
39
|
* `parking_lane`, and `parking-lanes` all resolve to the same entry.
|
|
@@ -38,6 +43,23 @@ export declare const STATIC_LAYER_STYLES: Record<StaticLayerKey, StaticLayerStyl
|
|
|
38
43
|
export declare function staticLayerHouseColor(key: StaticLayerKey): string;
|
|
39
44
|
/** Theme defaults that match the code house colors. */
|
|
40
45
|
export declare function staticLayerThemeDefaults(): Record<StaticLayerThemeKey, string>;
|
|
46
|
+
/**
|
|
47
|
+
* House fills for amenity / kiosk / connection assignment icons.
|
|
48
|
+
* Amenity and kiosk match the v1 SVG catalog `#444444`. Connection matches
|
|
49
|
+
* the linked escalator / elevator blue. Per-item Icon Color overrides these.
|
|
50
|
+
*/
|
|
51
|
+
export declare const STATIC_ICON_COLORS: {
|
|
52
|
+
readonly amenity: "#444444";
|
|
53
|
+
readonly kiosk: "#444444";
|
|
54
|
+
readonly connector: "#0763b1";
|
|
55
|
+
};
|
|
56
|
+
export declare const ICON_THEME_KEYS: {
|
|
57
|
+
readonly amenity: "AMENITY_ICON_COLOR";
|
|
58
|
+
readonly kiosk: "KIOSK_ICON_COLOR";
|
|
59
|
+
readonly connector: "CONNECTOR_ICON_COLOR";
|
|
60
|
+
};
|
|
61
|
+
export type IconThemeKey = (typeof ICON_THEME_KEYS)[keyof typeof ICON_THEME_KEYS];
|
|
62
|
+
export declare function staticIconThemeDefaults(): Record<IconThemeKey, string>;
|
|
41
63
|
/** Collapse punctuation so `parking_lane_2` and `parking-lanes` compare as words. */
|
|
42
64
|
export declare function normalizeLayerName(label: string): string;
|
|
43
65
|
export declare function resolveStaticLayerKey(layerName: string | null | undefined): StaticLayerKey | null;
|
|
@@ -52,6 +74,15 @@ export declare function resolveStaticLayerKey(layerName: string | null | undefin
|
|
|
52
74
|
* word (`parking lane 2`), or is a simple plural (`parking lanes`).
|
|
53
75
|
*/
|
|
54
76
|
export declare function resolveLayerStyle(layerName: string | null | undefined, theme?: StaticLayerTheme | null): StaticLayerStyle | null;
|
|
77
|
+
/**
|
|
78
|
+
* Live outdoor SVG painter's order. Higher paints later (on top).
|
|
79
|
+
* Green areas always sit above parking lanes so landscaping stays visible
|
|
80
|
+
* even when Illustrator exported parking after grass, or when Three.js
|
|
81
|
+
* batches same-color parking meshes together.
|
|
82
|
+
*/
|
|
83
|
+
export declare function outdoorSvgPaintOrder(layerName: string | null | undefined): number;
|
|
84
|
+
/** Stable sort: lower paint order first, original index as tie-breaker. */
|
|
85
|
+
export declare function sortByOutdoorSvgPaintOrder<T>(items: readonly T[], getLayerName: (item: T) => string | null | undefined): T[];
|
|
55
86
|
/**
|
|
56
87
|
* sourceSvgId values the live outdoor SVG should skip because `cm_shapes`
|
|
57
88
|
* already owns them. Static house layers stay in the SVG so walking-path
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layerStyles.d.ts","sourceRoot":"","sources":["../../src/core/layerStyles.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AA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ACnC,MAAM,CAIR;AAED,2EAA2E;AAC3E,wBAAgB,0BAA0B,CAAC,CAAC,EAC1C,KAAK,EAAE,SAAS,CAAC,EAAE,EACnB,YAAY,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,GAAG,IAAI,GAAG,SAAS,GACnD,CAAC,EAAE,CAUL;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,QAAQ,CAAC;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAC,EACjD,OAAO,CAAC,EAAE;IAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAAE,GACvC,GAAG,CAAC,MAAM,CAAC,CAUb;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,KAAK,CAAC;IACZ,MAAM,EAAE,QAAQ,CAAC;QAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC,CAAC;CACnD,CAAC,GACD,GAAG,CAAC,MAAM,CAAC,CAKb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outdoorDecoration.d.ts","sourceRoot":"","sources":["../../src/core/outdoorDecoration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"outdoorDecoration.d.ts","sourceRoot":"","sources":["../../src/core/outdoorDecoration.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,gBAAgB,EACtB,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,EACjC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,GAC9B,qBAAqB,EAAE,CA6BzB"}
|
|
@@ -12,6 +12,20 @@ export type PublicServiceShape = {
|
|
|
12
12
|
* escalator polygons. PORTAL assign still shows them so staff can link them.
|
|
13
13
|
*/
|
|
14
14
|
export declare function viewerHidesUnassignedServiceShapes(host: MapViewerHost): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* PORTAL assign paints a house fill on transparent amenity / kiosk /
|
|
17
|
+
* connector pads so staff can still see and click them. Website / kiosk
|
|
18
|
+
* keep those pads invisible.
|
|
19
|
+
*/
|
|
20
|
+
export declare function viewerShowsStaffPadFill(host: MapViewerHost): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Public website / kiosk: vacant polygons stay visible but must not hover
|
|
23
|
+
* like a link — a click does nothing. PORTAL assign still hovers every
|
|
24
|
+
* selectable kind so staff can link them.
|
|
25
|
+
*/
|
|
26
|
+
export declare function viewerHoverRequiresAssignment(host: MapViewerHost): boolean;
|
|
27
|
+
/** False for an unassigned polygon on website / kiosk. Assign map: always true. */
|
|
28
|
+
export declare function viewerShapeHoverableOnHost(shape: Pick<PublicServiceShape, 'assignment'>, host: MapViewerHost): boolean;
|
|
15
29
|
/** False for an unassigned amenity, kiosk, elevator, or escalator. */
|
|
16
30
|
export declare function viewerServiceShapeVisible(shape: PublicServiceShape, assignedConnectorIds: ReadonlySet<number>): boolean;
|
|
17
31
|
export declare function viewerShapeVisibleOnHost(shape: PublicServiceShape, host: MapViewerHost, assignedConnectorIds: ReadonlySet<number>): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicShapes.d.ts","sourceRoot":"","sources":["../../src/core/publicShapes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAA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AgB,6BAA6B,CAAC,IAAI,EAAE,aAAa,GAAG,OAAO,CAE1E;AAED,mFAAmF;AACnF,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,IAAI,CAAC,kBAAkB,EAAE,YAAY,CAAC,EAC7C,IAAI,EAAE,aAAa,GAClB,OAAO,CAGT;AAcD,sEAAsE;AACtE,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,kBAAkB,EACzB,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,GACxC,OAAO,CAQT;AAED,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,kBAAkB,EACzB,IAAI,EAAE,aAAa,EACnB,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,GACxC,OAAO,CAGT"}
|
|
@@ -15,6 +15,12 @@ export interface ResponsiveCameraPose {
|
|
|
15
15
|
export declare function isDeviceType(value: unknown): value is DeviceType;
|
|
16
16
|
export declare function deviceFromHost(host: MapViewerHost, viewportWidth: number): DeviceType;
|
|
17
17
|
export declare function responsiveSlotKey(levelId: number | null, device: DeviceType): string;
|
|
18
|
+
/**
|
|
19
|
+
* Camera restoration also depends on whether the shared viewer is being used
|
|
20
|
+
* for normal interaction or staff responsiveness capture. The persisted slot
|
|
21
|
+
* remains floor + device, but changing surfaces must reapply that slot.
|
|
22
|
+
*/
|
|
23
|
+
export declare function responsiveViewKey(levelId: number | null, device: DeviceType, captureCamera: boolean): string;
|
|
18
24
|
export declare function isEmptyVec3(value: Vec3 | null | undefined): boolean;
|
|
19
25
|
export declare function isEmptyOverride(override: Pick<CmResponsiveOverride, 'camera' | 'controls'> | null | undefined): boolean;
|
|
20
26
|
export declare function findResponsiveOverride(overrides: CmResponsiveOverride[] | null | undefined, levelId: number | null, device: DeviceType): CmResponsiveOverride | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../src/core/responsive.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,aA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AAI,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,GACD,oBAAoB,EAAE,CAYxB"}
|
|
@@ -45,7 +45,7 @@ export declare function unitAnchorFromShape(shapeId: number, levelId: number, po
|
|
|
45
45
|
*/
|
|
46
46
|
export declare function buildAutoSkeleton(walkablePolygons: Vec2[][], voidPolygons: Vec2[][], cellSize?: number): SkeletonSuggestion;
|
|
47
47
|
/**
|
|
48
|
-
* Convert
|
|
48
|
+
* Convert ROUTES-group SVG line endpoints into welded anchors + edges.
|
|
49
49
|
* This is the key converter step that repairs coincident-but-disconnected joins.
|
|
50
50
|
*
|
|
51
51
|
* Anchors land in raw SVG user space (Y down), the same space as shape
|
|
@@ -64,10 +64,11 @@ export interface AttachableImportShape {
|
|
|
64
64
|
geometry: Pick<ShapeGeometry, 'polygons'>;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
67
|
+
* Check every imported route vertex. If it falls inside (or on) a store /
|
|
68
|
+
* amenity / kiosk / connector, it becomes that shape's orange destination.
|
|
69
|
+
* A shape may own any number of those points so pathfinding can leave from
|
|
70
|
+
* the nearest door. Corridor through-points keep `walk` edges; leaf stubs
|
|
71
|
+
* become `unit_link`.
|
|
71
72
|
*/
|
|
72
73
|
export declare function attachImportedRouteAnchors(anchors: CmAnchor[], edges: CmRouteEdge[], shapes: AttachableImportShape[], insideTolerance?: number): number;
|
|
73
74
|
//# sourceMappingURL=graph-tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph-tools.d.ts","sourceRoot":"","sources":["../../../src/core/routing/graph-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,aAAa,EACb,SAAS,EACT,kBAAkB,EAClB,IAAI,EACJ,UAAU,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