@expofp/floorplan 3.1.3 → 3.1.5
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/browser/{CookieConsent-CgshNiUW.js → CookieConsent-CGFAI892.js} +2301 -2295
- package/dist/browser/{Debug-CAQ2Y1Zh.js → Debug-BAAWHY1b.js} +9 -9
- package/dist/browser/{Demo-B1d7LKVa.js → Demo-Cm_by3lL.js} +13 -13
- package/dist/browser/{Free-CDTSlJEY.js → Free-CUPxUHvY.js} +13 -13
- package/dist/browser/{Gallery-DvPKgsZC.js → Gallery-DtNCOKUl.js} +18 -18
- package/dist/browser/{GpsLoader-0QPi71oF.js → GpsLoader-DKUaUUoH.js} +27 -27
- package/dist/browser/{KioskStore-IG8a9NKE.js → KioskStore-BAmI2FTC.js} +39 -39
- package/dist/browser/{Mapbox-BqYgZ149.js → Mapbox-DjOk35zh.js} +14 -14
- package/dist/browser/SetKioskMode-BMpt2zSm.js +54 -0
- package/dist/browser/ShowKiosk-liYrlKC7.js +26 -0
- package/dist/browser/{ThreeComponent-CUD9Ymxj.js → ThreeComponent-Bw9_agz4.js} +219 -219
- package/dist/browser/{TouchHand-CAu_2Z0K.js → TouchHand-CyxZwo32.js} +6 -6
- package/dist/browser/{ViewerMenuPanel-DduX02M1.js → ViewerMenuPanel-DMfQx5Ja.js} +22 -22
- package/dist/browser/{add-debug-secret-listener-Cvu8GQbJ.js → add-debug-secret-listener-mC8ioAqk.js} +1 -1
- package/dist/browser/{boolean-editor-DqNwtjhT.js → boolean-editor-CRYNpeqJ.js} +6 -6
- package/dist/browser/{bootIntercom-QkbBgNhv.js → bootIntercom-_3LLB12h.js} +1 -1
- package/dist/browser/bundle.json +44 -44
- package/dist/browser/{chunk-DQBx2y0u.js → chunk-CVMCP8yt.js} +1 -1
- package/dist/browser/{classnames-DDIn8LQy.js → classnames-BUX2Oklh.js} +2 -2
- package/dist/browser/{client-VF4zA-sh.js → client-xgqRsUiA.js} +4 -4
- package/dist/browser/{data-CFvjGzVc.js → data-CydRbpN8.js} +51 -51
- package/dist/browser/{debug-overlay-DDbMN2nu.js → debug-overlay-Bn2KbCKg.js} +10 -10
- package/dist/browser/{debug-ui-Cbdmlsqq.js → debug-ui-BFXB-AHK.js} +6 -6
- package/dist/browser/{dist-B0ttNa_v.js → dist-ClOaKySy.js} +5 -5
- package/dist/browser/{exports-BQ_HyGqM.js → exports-C46oFGwo.js} +1 -1
- package/dist/browser/{favicon-C65AD9b8.js → favicon-BVZCGJ03.js} +1 -1
- package/dist/browser/{fetch-retry.umd-COwLXJwf.js → fetch-retry.umd-GNk8060O.js} +2 -2
- package/dist/browser/{flex-vY_BeCRt.js → flex-Dxc6hY3Z.js} +6 -6
- package/dist/browser/{floorplan.loader-CvD9t0Bs.js → floorplan.loader-BC-tDHoL.js} +9 -9
- package/dist/browser/{floorplan.ready-CtadyRAs.js → floorplan.ready-CStDgQOC.js} +15 -15
- package/dist/browser/{fuse-DGPiyXlj.js → fuse-SiDaNxKZ.js} +2 -2
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-Cb7eGksV.js → is-debug-YMktIloe.js} +2 -2
- package/dist/browser/{jsx-runtime-BuRUOsV1.js → jsx-runtime-C5d_Cwou.js} +2 -2
- package/dist/browser/{lib-Cvfv2IMm.js → lib-zd-dWEXB.js} +4 -4
- package/dist/browser/locales/ar.json +55 -15
- package/dist/browser/locales/de.json +55 -15
- package/dist/browser/locales/es.json +55 -15
- package/dist/browser/locales/fr.json +55 -15
- package/dist/browser/locales/he.json +55 -15
- package/dist/browser/locales/it.json +55 -15
- package/dist/browser/locales/kk.json +55 -15
- package/dist/browser/locales/ko.json +55 -15
- package/dist/browser/locales/mn.json +55 -15
- package/dist/browser/locales/nl.json +55 -15
- package/dist/browser/locales/pl.json +55 -15
- package/dist/browser/locales/pt.json +55 -15
- package/dist/browser/locales/ru.json +59 -19
- package/dist/browser/locales/sv.json +55 -15
- package/dist/browser/locales/th.json +55 -15
- package/dist/browser/locales/tr.json +55 -15
- package/dist/browser/locales/uk.json +55 -15
- package/dist/browser/locales/vi.json +55 -15
- package/dist/browser/locales/zh.json +55 -15
- package/dist/browser/{main-DJGo4g--.js → main-iX2tegqy.js} +1 -1
- package/dist/browser/{mobx-CWmFk5Q_.js → mobx-BMMCrtUu.js} +4 -4
- package/dist/browser/{particles.min-BZysM5Tg.js → particles.min-DaqLS_tp.js} +2 -2
- package/dist/browser/{prop-types-DyiMgNwl.js → prop-types-BGx1FmF8.js} +2 -2
- package/dist/browser/{react-cBEAwEeA.js → react-VwIX1aro.js} +2 -2
- package/dist/browser/{react-dom-D_5039DL.js → react-dom-CMGEX3eG.js} +3 -3
- package/dist/browser/{reset-all-settings-VjH78fi3.js → reset-all-settings-CK1tFj38.js} +1 -1
- package/dist/browser/{settings-D595OjcR.js → settings-CRLQ_hS2.js} +6 -6
- package/dist/browser/{src-DWVoS2GS.js → src-B0HnxTLj.js} +4 -4
- package/dist/browser/{store-Bj7lyE8j.js → store-BKvT1wpF.js} +3801 -3337
- package/dist/browser/{ui-Di53DAaR.js → ui-DU6ggbCR.js} +6 -6
- package/dist/esm/components/Alert.js +1 -1
- package/dist/esm/components/Autocomplete.js +1 -1
- package/dist/esm/components/BaseFilterModal.js +1 -1
- package/dist/esm/components/EntityItem.js +1 -1
- package/dist/esm/components/EntityList.js +1 -1
- package/dist/esm/components/EventBadge.js +1 -1
- package/dist/esm/components/Exhibitor.js +1 -1
- package/dist/esm/components/HeatmapLegend.js +1 -1
- package/dist/esm/components/Kiosk/KioskStore.d.ts +3 -2
- package/dist/esm/components/Kiosk/KioskStore.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/FormInput/RangeInput.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskComponent.js +1 -1
- package/dist/esm/components/Kiosk/SetKiosk/SetKioskForm.js +1 -1
- package/dist/esm/components/Kiosk/SetKioskMode.js +1 -1
- package/dist/esm/components/LanguageRow.js +1 -1
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/LevelBadge.js +1 -1
- package/dist/esm/components/LevelSelector.js +1 -1
- package/dist/esm/components/LogoOverlay.js +1 -1
- package/dist/esm/components/Map/Map.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-wf.js +1 -1
- package/dist/esm/components/Map/traffic/useBuildRoute.js +4 -4
- package/dist/esm/components/Map/traffic/useManageTraffic.js +1 -1
- package/dist/esm/components/Map/visibleArea.d.ts +3 -3
- package/dist/esm/components/Map/visibleArea.js +1 -1
- package/dist/esm/components/Mapbox/utils/data.js +1 -1
- package/dist/esm/components/MarketMaterialList.js +1 -1
- package/dist/esm/components/Overlay.js +1 -1
- package/dist/esm/components/OverlayGrip.d.ts +0 -1
- package/dist/esm/components/OverlayGrip.js +1 -1
- package/dist/esm/components/Share.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutButton.js +1 -1
- package/dist/esm/components/Shortcuts/ShortcutsFiltersButton.js +1 -1
- package/dist/esm/components/ViewerMenuPanel.js +1 -1
- package/dist/esm/components/WayInformation.js +1 -1
- package/dist/esm/components/WayfindingFloorSelector.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/renderer/RendererService.js +1 -1
- package/dist/esm/renderer/engine-core/defs.d.ts +7 -1
- package/dist/esm/renderer/engine-core/defs.js +3 -3
- package/dist/esm/store/MapboxStore.js +1 -1
- package/dist/esm/store/RouteStore.js +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/init/init-ui.js +1 -1
- package/dist/esm/utils/gps.js +1 -1
- package/package.json +4 -4
- package/dist/browser/SetKioskMode-CuhPjOeV.js +0 -49
- package/dist/browser/ShowKiosk-Vv7rWwfr.js +0 -26
- /package/dist/esm/{components/Mapbox/utils → data}/fpGeo.d.ts +0 -0
- /package/dist/esm/{components/Mapbox/utils → data}/fpGeo.js +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.5" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ccd369f8-096f-4998-ace0-eb63bb05de11", e._sentryDebugIdIdentifier = "sentry-dbid-ccd369f8-096f-4998-ace0-eb63bb05de11");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { S as e, b as t, h as n, p as r,
|
|
10
|
-
import { D as
|
|
9
|
+
import { S as e, b as t, h as n, p as r, u as i, v as a } from "./is-debug-YMktIloe.js";
|
|
10
|
+
import { D as o, E as s, O as c, Ot as l, a as u, lt as d } from "./store-BKvT1wpF.js";
|
|
11
11
|
//#region src/components/Map/visibleArea.ts
|
|
12
|
-
function
|
|
13
|
-
let t = e.viewport.canvasToSvg({
|
|
12
|
+
function f(e) {
|
|
13
|
+
let t = l(e.viewport.canvasToSvg({
|
|
14
14
|
x: 0,
|
|
15
15
|
y: 0
|
|
16
|
-
}), n = e.viewport.canvasToSvg({
|
|
16
|
+
})), n = l(e.viewport.canvasToSvg({
|
|
17
17
|
x: e.canvas.clientWidth,
|
|
18
18
|
y: 0
|
|
19
|
-
}), r = e.viewport.canvasToSvg({
|
|
19
|
+
})), r = l(e.viewport.canvasToSvg({
|
|
20
20
|
x: 0,
|
|
21
21
|
y: e.canvas.clientHeight
|
|
22
|
-
}), i = e.viewport.canvasToSvg({
|
|
22
|
+
})), i = l(e.viewport.canvasToSvg({
|
|
23
23
|
x: e.canvas.clientWidth,
|
|
24
24
|
y: e.canvas.clientHeight
|
|
25
|
-
}), a = Math.min(t.x, n.x, r.x, i.x), o = Math.max(t.x, n.x, r.x, i.x), s = Math.min(t.y, n.y, r.y, i.y), c = Math.max(t.y, n.y, r.y, i.y);
|
|
25
|
+
})), a = Math.min(t.x, n.x, r.x, i.x), o = Math.max(t.x, n.x, r.x, i.x), s = Math.min(t.y, n.y, r.y, i.y), c = Math.max(t.y, n.y, r.y, i.y);
|
|
26
26
|
return {
|
|
27
27
|
x: a,
|
|
28
28
|
y: s,
|
|
@@ -38,14 +38,14 @@ function u(e) {
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
let n =
|
|
41
|
+
function p(e, t) {
|
|
42
|
+
let n = f(e);
|
|
43
43
|
return t.x >= n.left && t.x <= n.right && t.y >= n.bottom && t.y <= n.top;
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/components/Kiosk/KioskStore.ts
|
|
47
|
-
var
|
|
48
|
-
function
|
|
47
|
+
var m, h, g;
|
|
48
|
+
function _(e, t, n, r) {
|
|
49
49
|
n && Object.defineProperty(e, t, {
|
|
50
50
|
enumerable: n.enumerable,
|
|
51
51
|
configurable: n.configurable,
|
|
@@ -53,7 +53,7 @@ function h(e, t, n, r) {
|
|
|
53
53
|
value: n.initializer ? n.initializer.call(r) : void 0
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function v(e, t, n, r, i) {
|
|
57
57
|
var a = {};
|
|
58
58
|
return Object.keys(r).forEach(function(e) {
|
|
59
59
|
a[e] = r[e];
|
|
@@ -61,21 +61,21 @@ function g(e, t, n, r, i) {
|
|
|
61
61
|
return r(e, t, n) || n;
|
|
62
62
|
}, a), i && a.initializer !== void 0 && (a.value = a.initializer ? a.initializer.call(i) : void 0, a.initializer = void 0), a.initializer === void 0 ? (Object.defineProperty(e, t, a), null) : a;
|
|
63
63
|
}
|
|
64
|
-
var
|
|
64
|
+
var y = new (m = class {
|
|
65
65
|
constructor() {
|
|
66
|
-
|
|
66
|
+
_(this, "savedKiosk", h, this), _(this, "statusMessages", g, this), this.statusMessageTimer = 0, this.initialPtScale = void 0;
|
|
67
67
|
}
|
|
68
68
|
get kiosk() {
|
|
69
|
-
return
|
|
69
|
+
return u.uiState.kioskData;
|
|
70
70
|
}
|
|
71
71
|
setKiosk(e) {
|
|
72
|
-
|
|
72
|
+
u.uiState.setKioskData(e);
|
|
73
73
|
}
|
|
74
74
|
get renderer() {
|
|
75
|
-
return
|
|
75
|
+
return u.rendererService.renderer;
|
|
76
76
|
}
|
|
77
77
|
getCameraState() {
|
|
78
|
-
let e =
|
|
78
|
+
let e = u.rendererService.getCameraState();
|
|
79
79
|
return e ? {
|
|
80
80
|
mapInitialPtScale: this.initialPtScale,
|
|
81
81
|
mapPtScale: e.ptScale,
|
|
@@ -113,23 +113,23 @@ var _ = new (f = class {
|
|
|
113
113
|
roll: !0,
|
|
114
114
|
pitch: !0
|
|
115
115
|
}, !0), t(() => {
|
|
116
|
-
Number.isFinite(r) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(n) && this.renderer.controls.rollTo(n, !0), e &&
|
|
116
|
+
Number.isFinite(r) && Number.isFinite(i) && i > 0 && this.renderer.controls.zoomBy(r / i, !0), Number.isFinite(a) && Number.isFinite(o) && this.renderer.controls.panTo(a, o, !0), Number.isFinite(n) && this.renderer.controls.rollTo(n, !0), e && u.fp.activateFloor({ name: e });
|
|
117
117
|
});
|
|
118
118
|
}
|
|
119
119
|
restoreData() {
|
|
120
|
-
let e =
|
|
121
|
-
return e && (this.setKiosk(e), this.savedKiosk = e,
|
|
120
|
+
let e = s();
|
|
121
|
+
return e && (this.setKiosk(e), this.savedKiosk = e, u.uiState.kiosk = !0, this.resetCamera()), e;
|
|
122
122
|
}
|
|
123
123
|
handleSetupReady() {
|
|
124
|
-
this.restoreData(),
|
|
124
|
+
this.restoreData(), u.uiState.kiosk = !0, u.uiState.hideFreeOrDemo = !0, u.uiState.setForceDimm(!0), u.searchStore.setSearchText(""), u.searchStore.setFocused(!1);
|
|
125
125
|
}
|
|
126
126
|
handleClose() {
|
|
127
|
-
this.setKiosk(null),
|
|
127
|
+
this.setKiosk(null), u.uiState.setForceDimm(!1), u.uiState.enableSetKioskMode(!1), u.searchStore.closeSearch(), this.resetCamera();
|
|
128
128
|
}
|
|
129
129
|
handleDelete() {
|
|
130
|
-
|
|
130
|
+
o(), this.setKiosk(null), u.uiState.resetMapSettings(), u.uiState.resetUIScale(), this.resetCamera(), this.addStatusMessage({
|
|
131
131
|
variant: "success",
|
|
132
|
-
title: "Deleted"
|
|
132
|
+
title: i("Deleted")
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
handleSave() {
|
|
@@ -137,16 +137,16 @@ var _ = new (f = class {
|
|
|
137
137
|
...t,
|
|
138
138
|
...n
|
|
139
139
|
};
|
|
140
|
-
if (!
|
|
140
|
+
if (!p(this.renderer, r)) {
|
|
141
141
|
this.addStatusMessage({
|
|
142
142
|
variant: "error",
|
|
143
|
-
title: "Kiosk not visible"
|
|
143
|
+
title: i("Kiosk not visible")
|
|
144
144
|
});
|
|
145
145
|
return;
|
|
146
146
|
}
|
|
147
|
-
this.setKiosk(r),
|
|
147
|
+
this.setKiosk(r), c(r), u.uiState.setUIScale(r.uiScale, !0), this.addStatusMessage({
|
|
148
148
|
variant: "success",
|
|
149
|
-
title: "Saved"
|
|
149
|
+
title: i("Saved")
|
|
150
150
|
}), this.savedKiosk = r;
|
|
151
151
|
}
|
|
152
152
|
delayChange(e) {
|
|
@@ -160,7 +160,7 @@ var _ = new (f = class {
|
|
|
160
160
|
}), Number.isFinite(t.scale) && (this.setKiosk({
|
|
161
161
|
...n,
|
|
162
162
|
uiScale: t.scale
|
|
163
|
-
}), this.delayChange(() =>
|
|
163
|
+
}), this.delayChange(() => u.uiState.setUIScale(t.scale, !1))), Number.isFinite(t.percent) && this.setKiosk({
|
|
164
164
|
...n,
|
|
165
165
|
iconSizePercent: t.percent
|
|
166
166
|
}));
|
|
@@ -174,9 +174,9 @@ var _ = new (f = class {
|
|
|
174
174
|
mapInitialPtScale: t
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
|
-
handleClick(
|
|
177
|
+
handleClick(t) {
|
|
178
178
|
var n;
|
|
179
|
-
let r = e(this.kiosk), i =
|
|
179
|
+
let r = e(this.kiosk), i = u.fp.getFloors(), a = d() ? (n = i.find((e) => e.active)) == null ? void 0 : n.name : null, o = u.uiState.uiScale;
|
|
180
180
|
this.setKiosk({
|
|
181
181
|
...r,
|
|
182
182
|
x: t.x,
|
|
@@ -195,18 +195,18 @@ var _ = new (f = class {
|
|
|
195
195
|
...this.getCameraState()
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, v(m.prototype, "kiosk", [n], Object.getOwnPropertyDescriptor(m.prototype, "kiosk"), m.prototype), v(m.prototype, "setKiosk", [r], Object.getOwnPropertyDescriptor(m.prototype, "setKiosk"), m.prototype), v(m.prototype, "renderer", [n], Object.getOwnPropertyDescriptor(m.prototype, "renderer"), m.prototype), h = v(m.prototype, "savedKiosk", [a], {
|
|
199
199
|
configurable: !0,
|
|
200
200
|
enumerable: !0,
|
|
201
201
|
writable: !0,
|
|
202
202
|
initializer: null
|
|
203
|
-
}),
|
|
203
|
+
}), v(m.prototype, "hasUnsavedChanges", [n], Object.getOwnPropertyDescriptor(m.prototype, "hasUnsavedChanges"), m.prototype), g = v(m.prototype, "statusMessages", [a], {
|
|
204
204
|
configurable: !0,
|
|
205
205
|
enumerable: !0,
|
|
206
206
|
writable: !0,
|
|
207
207
|
initializer: function() {
|
|
208
208
|
return [];
|
|
209
209
|
}
|
|
210
|
-
}),
|
|
210
|
+
}), v(m.prototype, "addStatusMessage", [r], Object.getOwnPropertyDescriptor(m.prototype, "addStatusMessage"), m.prototype), v(m.prototype, "clearStatusMessages", [r], Object.getOwnPropertyDescriptor(m.prototype, "clearStatusMessages"), m.prototype), v(m.prototype, "startCleanupMessages", [r], Object.getOwnPropertyDescriptor(m.prototype, "startCleanupMessages"), m.prototype), v(m.prototype, "resetCamera", [r], Object.getOwnPropertyDescriptor(m.prototype, "resetCamera"), m.prototype), v(m.prototype, "restoreData", [r], Object.getOwnPropertyDescriptor(m.prototype, "restoreData"), m.prototype), v(m.prototype, "handleSetupReady", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleSetupReady"), m.prototype), v(m.prototype, "handleClose", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleClose"), m.prototype), v(m.prototype, "handleDelete", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleDelete"), m.prototype), v(m.prototype, "handleSave", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleSave"), m.prototype), v(m.prototype, "handleChange", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleChange"), m.prototype), v(m.prototype, "setInitialPtScale", [r], Object.getOwnPropertyDescriptor(m.prototype, "setInitialPtScale"), m.prototype), v(m.prototype, "handleClick", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleClick"), m.prototype), v(m.prototype, "handleNavigationChange", [r], Object.getOwnPropertyDescriptor(m.prototype, "handleNavigationChange"), m.prototype), m)();
|
|
211
211
|
//#endregion
|
|
212
|
-
export {
|
|
212
|
+
export { y as t };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.5" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0d8b796c-a748-449c-8ed2-96cc32de21e5", e._sentryDebugIdIdentifier = "sentry-dbid-0d8b796c-a748-449c-8ed2-96cc32de21e5");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./chunk-
|
|
10
|
-
import { t } from "./react-
|
|
11
|
-
import { t as n } from "./jsx-runtime-
|
|
12
|
-
import { t as r } from "./classnames-
|
|
13
|
-
import { Gn as i,
|
|
14
|
-
import { r as d } from "./mobx-
|
|
15
|
-
import { _ as f, a as p, c as m, d as h, f as g, h as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, u as T } from "./data-
|
|
9
|
+
import { r as e } from "./chunk-CVMCP8yt.js";
|
|
10
|
+
import { t } from "./react-VwIX1aro.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-C5d_Cwou.js";
|
|
12
|
+
import { t as r } from "./classnames-BUX2Oklh.js";
|
|
13
|
+
import { Gn as i, Jn as a, Qn as o, Zn as s, a as c, o as l, t as u } from "./store-BKvT1wpF.js";
|
|
14
|
+
import { r as d } from "./mobx-BMMCrtUu.js";
|
|
15
|
+
import { _ as f, a as p, c as m, d as h, f as g, h as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, u as T } from "./data-CydRbpN8.js";
|
|
16
16
|
//#region src/components/Mapbox/Mapbox.tsx
|
|
17
17
|
var E = /* @__PURE__ */ e(r(), 1), D = /* @__PURE__ */ e(f(), 1), O = /* @__PURE__ */ e(t(), 1), k = n();
|
|
18
18
|
function A() {
|
|
19
|
-
let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f =
|
|
19
|
+
let e = (0, O.useRef)(null), t = (0, O.useRef)(null), n = null, r = [], f = s(() => ({
|
|
20
20
|
get initselected() {
|
|
21
21
|
return ![...l.selectedBooths].filter((e) => e.rect);
|
|
22
22
|
},
|
|
@@ -43,7 +43,7 @@ function A() {
|
|
|
43
43
|
accessToken: x.token
|
|
44
44
|
}), T(t.current), t.current.on("load", async () => {
|
|
45
45
|
var e;
|
|
46
|
-
setTimeout(() => p(f.initselected ?
|
|
46
|
+
setTimeout(() => p(f.initselected ? a.fromMultiple([...l.selectedBooths].filter((e) => e.rect).map((e) => e.rect)) : i, 15, 4e3), 1500), t.current.setLight({
|
|
47
47
|
anchor: "viewport",
|
|
48
48
|
color: "white",
|
|
49
49
|
intensity: 0
|
|
@@ -99,15 +99,15 @@ function A() {
|
|
|
99
99
|
g(c.mapboxStore.showMapbox);
|
|
100
100
|
}), d(() => l.moveToBooths, () => {
|
|
101
101
|
if (!l.moveToBooths || !c.mapboxStore.showMapbox) return;
|
|
102
|
-
let e = l.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t =
|
|
102
|
+
let e = l.moveToBooths.filter((e) => e.rect).map((e) => e.rect), t = a.fromMultiple(e);
|
|
103
103
|
e.length && p(t), l.moveToBooths = null;
|
|
104
104
|
}), d(() => l.moveToRect, () => {
|
|
105
105
|
!l.moveToRect || !c.mapboxStore.showMapbox || (p(l.moveToRect, 15), l.moveToRect = null);
|
|
106
106
|
}), d(() => l.moveToLocation, () => {
|
|
107
107
|
!l.moveToLocation || !c.mapboxStore.showMapbox || v();
|
|
108
108
|
}), d(() => l.centerMap, () => {
|
|
109
|
-
!l.centerMap || !c.mapboxStore.showMapbox || (p(
|
|
110
|
-
}), d(() => c.routeStore.routeLines, () => b(c.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)),
|
|
109
|
+
!l.centerMap || !c.mapboxStore.showMapbox || (p(a.fromMultiple(u.booths.map((e) => e.rect)), 15), l.centerMap = !1);
|
|
110
|
+
}), d(() => c.routeStore.routeLines, () => b(c.routeStore)), d(() => f.actualCurrentPosition, () => h("cp", f.actualCurrentPosition)), o(() => /* @__PURE__ */ (0, k.jsx)("div", {
|
|
111
111
|
style: f.style,
|
|
112
112
|
className: (0, E.default)("map-container", { hidden: !c.mapboxStore.showMapbox }),
|
|
113
113
|
children: /* @__PURE__ */ (0, k.jsx)("div", {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
try {
|
|
3
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.5" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7c1fd42b-9427-4588-b75d-37df80154ac8", e._sentryDebugIdIdentifier = "sentry-dbid-7c1fd42b-9427-4588-b75d-37df80154ac8");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { r as e } from "./chunk-CVMCP8yt.js";
|
|
10
|
+
import { t } from "./react-VwIX1aro.js";
|
|
11
|
+
import { t as n } from "./jsx-runtime-C5d_Cwou.js";
|
|
12
|
+
import { Dt as r, Et as i, Xn as a, a as o, k as s } from "./store-BKvT1wpF.js";
|
|
13
|
+
import { n as c } from "./mobx-BMMCrtUu.js";
|
|
14
|
+
import { t as l } from "./KioskStore-BAmI2FTC.js";
|
|
15
|
+
//#region src/components/Kiosk/SetKioskMode.tsx
|
|
16
|
+
var u = /* @__PURE__ */ e(t(), 1), d = n(), f = a(() => {
|
|
17
|
+
var e, t, n;
|
|
18
|
+
c(() => l.handleSetupReady()), (0, u.useEffect)(() => {
|
|
19
|
+
let e = ({ ptScale: e, sceneId: t }) => {
|
|
20
|
+
i(t) && l.setInitialPtScale(e);
|
|
21
|
+
};
|
|
22
|
+
l.renderer.events.addEventListener("viewport:ptscale", e);
|
|
23
|
+
let t = ({ data: e }) => {
|
|
24
|
+
let { point: t } = r(e);
|
|
25
|
+
l.handleClick(t);
|
|
26
|
+
};
|
|
27
|
+
l.renderer.events.addEventListener("pointer:click", t);
|
|
28
|
+
let n = () => l.handleNavigationChange();
|
|
29
|
+
return l.renderer.events.addEventListener("navigation:change", n), () => {
|
|
30
|
+
l.renderer.events.removeEventListener("viewport:ptscale", e), l.renderer.events.removeEventListener("pointer:click", t), l.renderer.events.removeEventListener("navigation:change", n);
|
|
31
|
+
};
|
|
32
|
+
}, [l.renderer]);
|
|
33
|
+
let a = !!l.kiosk;
|
|
34
|
+
return /* @__PURE__ */ (0, d.jsx)(s, {
|
|
35
|
+
isSaveDisabled: a ? !l.hasUnsavedChanges : !0,
|
|
36
|
+
isDeleteDisabled: !a,
|
|
37
|
+
areControlsDisabled: !a,
|
|
38
|
+
confirmOnClose: a ? l.hasUnsavedChanges : !1,
|
|
39
|
+
angle: ((e = l.kiosk) == null ? void 0 : e.heading) || 0,
|
|
40
|
+
uiScale: ((t = l.kiosk) == null ? void 0 : t.uiScale) || o.uiState.uiScale,
|
|
41
|
+
minUiScale: o.uiState.minUIScale,
|
|
42
|
+
maxUiScale: o.uiState.maxUIScale,
|
|
43
|
+
uiScaleStep: .01,
|
|
44
|
+
iconSizePercent: ((n = l.kiosk) == null ? void 0 : n.iconSizePercent) || 100,
|
|
45
|
+
isInfoVisible: !a,
|
|
46
|
+
statusMessages: l.statusMessages,
|
|
47
|
+
onClose: () => l.handleClose(),
|
|
48
|
+
onDelete: () => l.handleDelete(),
|
|
49
|
+
onSave: () => l.handleSave(),
|
|
50
|
+
onChange: (e) => l.handleChange(e)
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
//#endregion
|
|
54
|
+
export { f as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
try {
|
|
3
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.5" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "6e94a4c9-6fe5-4567-85e8-96319af71fc2", e._sentryDebugIdIdentifier = "sentry-dbid-6e94a4c9-6fe5-4567-85e8-96319af71fc2");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import "./chunk-CVMCP8yt.js";
|
|
10
|
+
import "./is-debug-YMktIloe.js";
|
|
11
|
+
import { t as e } from "./react-VwIX1aro.js";
|
|
12
|
+
import { t } from "./jsx-runtime-C5d_Cwou.js";
|
|
13
|
+
import { T as n, Xn as r, a as i, w as a } from "./store-BKvT1wpF.js";
|
|
14
|
+
import { n as o } from "./mobx-BMMCrtUu.js";
|
|
15
|
+
import { t as s } from "./TouchHand-CyxZwo32.js";
|
|
16
|
+
import { t as c } from "./KioskStore-BAmI2FTC.js";
|
|
17
|
+
e();
|
|
18
|
+
var l = t(), u = r(() => (o(() => {
|
|
19
|
+
if (localStorage.getItem("kiosk") === "0") return;
|
|
20
|
+
let e = c.restoreData();
|
|
21
|
+
if (e) return a(e, !0), n(e), i.setResetCameraFn(() => c.resetCamera()), () => {
|
|
22
|
+
i.uiState.setKioskData(null), i.uiState.resetMapSettings(), c.resetCamera();
|
|
23
|
+
};
|
|
24
|
+
}), i.uiState.kiosk && i.uiState.inIdle ? /* @__PURE__ */ (0, l.jsx)(s, {}) : null));
|
|
25
|
+
//#endregion
|
|
26
|
+
export { u as default };
|