@expofp/floorplan 3.0.0-alpha.14 → 3.0.0-alpha.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/browser/{Debug-Pul6-ZdY.js → Debug-DazuGIJc.js} +19 -10
  2. package/dist/browser/Demo-CXdISYQf.js +47 -0
  3. package/dist/browser/{Free-Dm2FRajw.js → Free-CVgHQ8yt.js} +29 -20
  4. package/dist/browser/Gallery-BMcvPLO_.js +288 -0
  5. package/dist/browser/GpsLoader-BiwFO3QG.js +140 -0
  6. package/dist/browser/{KioskStore-Bvvm0aNQ.js → KioskStore-NqUeUutQ.js} +58 -49
  7. package/dist/browser/Mapbox-PHCrBnx5.js +118 -0
  8. package/dist/browser/{SetKioskMode-BecTBVRp.js → SetKioskMode-DMQej1ec.js} +86 -77
  9. package/dist/browser/{ShowKiosk-C-6DHz7T.js → ShowKiosk-BWlBMcI7.js} +28 -19
  10. package/dist/browser/{ThreeComponent-Brnrh22I.js → ThreeComponent-Dmt2HPyX.js} +181 -172
  11. package/dist/browser/ViewerMenuPanel-CuqRZ7m1.js +77 -0
  12. package/dist/browser/boolean-editor-zsvPcNpX.js +157 -0
  13. package/dist/browser/bundle.json +32 -29
  14. package/dist/browser/{client-D3Op9Jdd.js → client-B2kCMH8A.js} +590 -581
  15. package/dist/browser/{data-0pZ-ZMEi.js → data-BtD6blv7.js} +276 -267
  16. package/dist/browser/{debug-overlay-6c_tWF4O.js → debug-overlay-CF0imHRX.js} +98 -89
  17. package/dist/browser/debug-ui-Zt7T7T-N.js +67 -0
  18. package/dist/browser/{favicon-DalyEhbd.js → favicon-Dj8hNa7i.js} +11 -2
  19. package/dist/browser/fetch-retry.umd-B-swKpFA.js +123 -0
  20. package/dist/browser/{flex-OW_m-DBA.js → flex-COa6XN1F.js} +80 -71
  21. package/dist/browser/{floorplan.ready-D-VQ-QvS.js → floorplan.ready-CNnM_Yyc.js} +12217 -14231
  22. package/dist/browser/fonts/efp-symbols.woff +0 -0
  23. package/dist/browser/index-B1P-x0sk.js +92 -0
  24. package/dist/browser/index-BEcZnTgd.js +54 -0
  25. package/dist/browser/{index-BUq8_R36.js → index-BeS6l0j-.js} +50 -41
  26. package/dist/browser/index-C04zJbbt.js +12475 -0
  27. package/dist/browser/index-CgWDjED_.js +57 -0
  28. package/dist/browser/{index-BuJlIIdP.js → index-CqICVJZO.js} +96 -87
  29. package/dist/browser/{index-AJbTBu7z.js → index-atMSRNM1.js} +258 -249
  30. package/dist/browser/index.js +11 -2
  31. package/dist/browser/jsx-runtime-DAY7g56y.js +40 -0
  32. package/dist/browser/locales/ar.json +3 -1
  33. package/dist/browser/locales/de.json +3 -1
  34. package/dist/browser/locales/es.json +3 -1
  35. package/dist/browser/locales/fr.json +3 -1
  36. package/dist/browser/locales/he.json +3 -1
  37. package/dist/browser/locales/it.json +3 -1
  38. package/dist/browser/locales/kk.json +3 -1
  39. package/dist/browser/locales/ko.json +3 -1
  40. package/dist/browser/locales/mn.json +3 -1
  41. package/dist/browser/locales/nl.json +3 -1
  42. package/dist/browser/locales/pl.json +3 -1
  43. package/dist/browser/locales/pt.json +3 -1
  44. package/dist/browser/locales/ru.json +3 -1
  45. package/dist/browser/locales/sv.json +3 -1
  46. package/dist/browser/locales/th.json +3 -1
  47. package/dist/browser/locales/tr.json +3 -1
  48. package/dist/browser/locales/uk.json +3 -1
  49. package/dist/browser/locales/vi.json +3 -1
  50. package/dist/browser/locales/zh.json +3 -1
  51. package/dist/browser/{main-CD9JioNt.js → main-DZpmA53N.js} +24 -15
  52. package/dist/browser/{particles.min-BZTb0pvb.js → particles.min-DXab_WLN.js} +43 -34
  53. package/dist/esm/components/Alert.d.ts +2 -0
  54. package/dist/esm/components/Alert.js +1 -1
  55. package/dist/esm/components/Badge.d.ts +3 -2
  56. package/dist/esm/components/Badge.js +1 -1
  57. package/dist/esm/components/CookieConsent.js +1 -1
  58. package/dist/esm/components/Kiosk/SetKiosk/storage.d.ts +1 -1
  59. package/dist/esm/components/Kiosk/SetKiosk/storage.js +1 -1
  60. package/dist/esm/components/Kiosk/ShowKiosk.js +1 -1
  61. package/dist/esm/components/Menu.js +1 -1
  62. package/dist/esm/components/Overlay.d.ts +2 -0
  63. package/dist/esm/components/Overlay.js +1 -1
  64. package/dist/esm/components/OverlayContainer.js +1 -1
  65. package/dist/esm/components/RoutePlanner/RoutePlanner.js +1 -1
  66. package/dist/esm/components/RoutePlanner/RoutePlannerHeader.js +1 -1
  67. package/dist/esm/components/RoutePlanner/RoutePlannerStopItem.js +1 -1
  68. package/dist/esm/components/Schedule.js +1 -1
  69. package/dist/esm/components/SearchBox.js +1 -1
  70. package/dist/esm/components/ViewerMenuPanel.d.ts +5 -0
  71. package/dist/esm/components/ViewerMenuPanel.js +1 -0
  72. package/dist/esm/constants.d.ts +2 -0
  73. package/dist/esm/constants.js +1 -1
  74. package/dist/esm/floorplan.loader.d.ts +2 -0
  75. package/dist/esm/floorplan.loader.js +1 -1
  76. package/dist/esm/floorplan.ready.js +1 -1
  77. package/dist/esm/services/routing.js +1 -1
  78. package/dist/esm/store/LayerStore.d.ts +1 -0
  79. package/dist/esm/store/LayerStore.js +1 -1
  80. package/dist/esm/store/RoutePlannerStore.d.ts +16 -0
  81. package/dist/esm/store/RoutePlannerStore.js +1 -1
  82. package/dist/esm/store/UIState.d.ts +1 -0
  83. package/dist/esm/store/UIState.js +1 -1
  84. package/dist/esm/store/init/init-layers.js +1 -1
  85. package/dist/esm/tools/telemetry.d.ts +35 -0
  86. package/dist/esm/tools/telemetry.js +1 -0
  87. package/dist/esm/tools/track-event.d.ts +3 -1
  88. package/dist/esm/tools/track-event.js +1 -1
  89. package/dist/esm/utils/i18n.d.ts +2 -2
  90. package/dist/esm/utils/i18n.js +1 -1
  91. package/package.json +4 -3
  92. package/dist/browser/Demo-DN_Ej-P_.js +0 -38
  93. package/dist/browser/Gallery-TLr-wfCG.js +0 -279
  94. package/dist/browser/GpsLoader-CeS0cp98.js +0 -131
  95. package/dist/browser/Mapbox-DizBJSb0.js +0 -109
  96. package/dist/browser/boolean-editor-Duwgypgb.js +0 -148
  97. package/dist/browser/debug-ui-TGRI1j4k.js +0 -58
  98. package/dist/browser/fetch-retry.umd-BZ52tMyv.js +0 -114
  99. package/dist/browser/index-B2YV6GNs.js +0 -48
  100. package/dist/browser/index-D0SjrKD-.js +0 -45
  101. package/dist/browser/index-Vc2rrV4B.js +0 -83
  102. package/dist/browser/index-Zz9lJz5_.js +0 -10224
  103. package/dist/browser/jsx-runtime-jIxVPx5o.js +0 -31
Binary file
@@ -0,0 +1,92 @@
1
+ import { r as b, o as L } from "./index-C04zJbbt.js";
2
+ import { j as _ } from "./jsx-runtime-DAY7g56y.js";
3
+ (function() {
4
+ try {
5
+ var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
6
+ e.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
7
+ var t = new e.Error().stack;
8
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4d7f466b-bb9f-4cb6-a96a-4ff77a154a2f", e._sentryDebugIdIdentifier = "sentry-dbid-4d7f466b-bb9f-4cb6-a96a-4ff77a154a2f");
9
+ } catch {
10
+ }
11
+ })();
12
+ let E = !1;
13
+ function I() {
14
+ E || (E = !0, !(typeof window > "u" && typeof document > "u") && import("./index-CgWDjED_.js").then((e) => e.i).then(({
15
+ renderDebugUi: e
16
+ }) => {
17
+ e();
18
+ }).catch(() => {
19
+ }));
20
+ }
21
+ const x = [], w = [], d = "efp-local-storage";
22
+ function h(e, t, r, v) {
23
+ const n = `efp-debug-setting-"${e}"`, s = () => D(localStorage.getItem(n), t), u = (o) => {
24
+ localStorage.setItem(n, JSON.stringify(o)), m(n);
25
+ }, c = () => {
26
+ localStorage.removeItem(n), m(n);
27
+ };
28
+ w.push(c);
29
+ function l() {
30
+ const [o, a] = b.useState(s());
31
+ return b.useEffect(() => {
32
+ const p = () => a(s()), y = (i) => {
33
+ i.key === n && p();
34
+ }, S = (i) => {
35
+ const {
36
+ detail: f
37
+ } = i;
38
+ (f == null ? void 0 : f.key) === n && p();
39
+ };
40
+ return window.addEventListener("storage", y), window.addEventListener(d, S), () => {
41
+ window.removeEventListener("storage", y), window.removeEventListener(d, S);
42
+ };
43
+ }, []), [o, u];
44
+ }
45
+ const g = () => {
46
+ const [o, a] = l();
47
+ return /* @__PURE__ */ _.jsx(r, { label: e, value: o, context: v, onChange: a });
48
+ };
49
+ return g.displayName = `DebugSetting(${e})`, x.push(g), {
50
+ get: s,
51
+ set: u,
52
+ reset: c,
53
+ useState: l
54
+ };
55
+ }
56
+ function D(e, t) {
57
+ if (e === null) return t;
58
+ try {
59
+ return JSON.parse(e);
60
+ } catch {
61
+ return t;
62
+ }
63
+ }
64
+ function m(e) {
65
+ window.dispatchEvent(new CustomEvent(d, {
66
+ detail: {
67
+ key: e
68
+ }
69
+ }));
70
+ }
71
+ function O(e) {
72
+ const t = L.lazy(() => import("./boolean-editor-zsvPcNpX.js").then((r) => ({
73
+ default: r.BooleanEditor
74
+ })));
75
+ return h(e, !1, t);
76
+ }
77
+ function T() {
78
+ w.forEach((e) => e());
79
+ }
80
+ const z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
81
+ __proto__: null,
82
+ initDebug: I,
83
+ registerBooleanSetting: O,
84
+ registerSetting: h,
85
+ resetAllSettings: T
86
+ }, Symbol.toStringTag, { value: "Module" }));
87
+ export {
88
+ T as a,
89
+ x as e,
90
+ z as i,
91
+ O as r
92
+ };
@@ -0,0 +1,54 @@
1
+ import { k as u } from "./index-C04zJbbt.js";
2
+ import { r as p } from "./index-BeS6l0j-.js";
3
+ (function() {
4
+ try {
5
+ var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
6
+ t.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
7
+ var o = new t.Error().stack;
8
+ o && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[o] = "02019e7a-1308-46a8-99c5-9eee4874e538", t._sentryDebugIdIdentifier = "sentry-dbid-02019e7a-1308-46a8-99c5-9eee4874e538");
9
+ } catch {
10
+ }
11
+ })();
12
+ var a = { exports: {} };
13
+ var f;
14
+ function l() {
15
+ return f || (f = 1, (function(t) {
16
+ (function() {
17
+ var o = {}.hasOwnProperty;
18
+ function n() {
19
+ for (var e = "", r = 0; r < arguments.length; r++) {
20
+ var s = arguments[r];
21
+ s && (e = i(e, c(s)));
22
+ }
23
+ return e;
24
+ }
25
+ function c(e) {
26
+ if (typeof e == "string" || typeof e == "number")
27
+ return e;
28
+ if (typeof e != "object")
29
+ return "";
30
+ if (Array.isArray(e))
31
+ return n.apply(null, e);
32
+ if (e.toString !== Object.prototype.toString && !e.toString.toString().includes("[native code]"))
33
+ return e.toString();
34
+ var r = "";
35
+ for (var s in e)
36
+ o.call(e, s) && e[s] && (r = i(r, s));
37
+ return r;
38
+ }
39
+ function i(e, r) {
40
+ return r ? e ? e + " " + r : e + r : e;
41
+ }
42
+ t.exports ? (n.default = n, t.exports = n) : window.classNames = n;
43
+ })();
44
+ })(a)), a.exports;
45
+ }
46
+ var d = l();
47
+ const v = /* @__PURE__ */ u(d);
48
+ var y = p();
49
+ const x = /* @__PURE__ */ u(y);
50
+ export {
51
+ x as R,
52
+ y as r,
53
+ v as y
54
+ };
@@ -1,11 +1,20 @@
1
- import { ai as O } from "./index-Zz9lJz5_.js";
1
+ import { aw as O } from "./index-C04zJbbt.js";
2
+ (function() {
3
+ try {
4
+ var a = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
5
+ a.SENTRY_RELEASE = { id: "3.0.0-alpha.16" };
6
+ var c = new a.Error().stack;
7
+ c && (a._sentryDebugIds = a._sentryDebugIds || {}, a._sentryDebugIds[c] = "2b914381-16a2-4187-a35a-f7b42068604c", a._sentryDebugIdIdentifier = "sentry-dbid-2b914381-16a2-4187-a35a-f7b42068604c");
8
+ } catch {
9
+ }
10
+ })();
2
11
  var y = { exports: {} }, n = {};
3
12
  var o;
4
13
  function S() {
5
14
  if (o) return n;
6
15
  o = 1;
7
- var u = O();
8
- function g(r) {
16
+ var a = O();
17
+ function c(r) {
9
18
  var e = "https://react.dev/errors/" + r;
10
19
  if (1 < arguments.length) {
11
20
  e += "?args[]=" + encodeURIComponent(arguments[1]);
@@ -14,37 +23,37 @@ function S() {
14
23
  }
15
24
  return "Minified React error #" + r + "; visit " + e + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
16
25
  }
17
- function a() {
26
+ function f() {
18
27
  }
19
28
  var i = {
20
29
  d: {
21
- f: a,
30
+ f,
22
31
  r: function() {
23
- throw Error(g(522));
32
+ throw Error(c(522));
24
33
  },
25
- D: a,
26
- C: a,
27
- L: a,
28
- m: a,
29
- X: a,
30
- S: a,
31
- M: a
34
+ D: f,
35
+ C: f,
36
+ L: f,
37
+ m: f,
38
+ X: f,
39
+ S: f,
40
+ M: f
32
41
  },
33
42
  p: 0,
34
43
  findDOMNode: null
35
- }, m = /* @__PURE__ */ Symbol.for("react.portal");
36
- function v(r, e, t) {
37
- var c = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
44
+ }, v = /* @__PURE__ */ Symbol.for("react.portal");
45
+ function m(r, e, t) {
46
+ var u = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
38
47
  return {
39
- $$typeof: m,
40
- key: c == null ? null : "" + c,
48
+ $$typeof: v,
49
+ key: u == null ? null : "" + u,
41
50
  children: r,
42
51
  containerInfo: e,
43
52
  implementation: t
44
53
  };
45
54
  }
46
- var f = u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
47
- function d(r, e) {
55
+ var d = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
56
+ function g(r, e) {
48
57
  if (r === "font") return "";
49
58
  if (typeof e == "string")
50
59
  return e === "use-credentials" ? e : "";
@@ -52,14 +61,14 @@ function S() {
52
61
  return n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, n.createPortal = function(r, e) {
53
62
  var t = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
54
63
  if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
55
- throw Error(g(299));
56
- return v(r, e, null, t);
64
+ throw Error(c(299));
65
+ return m(r, e, null, t);
57
66
  }, n.flushSync = function(r) {
58
- var e = f.T, t = i.p;
67
+ var e = d.T, t = i.p;
59
68
  try {
60
- if (f.T = null, i.p = 2, r) return r();
69
+ if (d.T = null, i.p = 2, r) return r();
61
70
  } finally {
62
- f.T = e, i.p = t, i.d.f();
71
+ d.T = e, i.p = t, i.d.f();
63
72
  }
64
73
  }, n.preconnect = function(r, e) {
65
74
  typeof r == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, i.d.C(r, e));
@@ -67,17 +76,17 @@ function S() {
67
76
  typeof r == "string" && i.d.D(r);
68
77
  }, n.preinit = function(r, e) {
69
78
  if (typeof r == "string" && e && typeof e.as == "string") {
70
- var t = e.as, c = d(t, e.crossOrigin), s = typeof e.integrity == "string" ? e.integrity : void 0, l = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
79
+ var t = e.as, u = g(t, e.crossOrigin), s = typeof e.integrity == "string" ? e.integrity : void 0, l = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
71
80
  t === "style" ? i.d.S(
72
81
  r,
73
82
  typeof e.precedence == "string" ? e.precedence : void 0,
74
83
  {
75
- crossOrigin: c,
84
+ crossOrigin: u,
76
85
  integrity: s,
77
86
  fetchPriority: l
78
87
  }
79
88
  ) : t === "script" && i.d.X(r, {
80
- crossOrigin: c,
89
+ crossOrigin: u,
81
90
  integrity: s,
82
91
  fetchPriority: l,
83
92
  nonce: typeof e.nonce == "string" ? e.nonce : void 0
@@ -87,7 +96,7 @@ function S() {
87
96
  if (typeof r == "string")
88
97
  if (typeof e == "object" && e !== null) {
89
98
  if (e.as == null || e.as === "script") {
90
- var t = d(
99
+ var t = g(
91
100
  e.as,
92
101
  e.crossOrigin
93
102
  );
@@ -100,9 +109,9 @@ function S() {
100
109
  } else e == null && i.d.M(r);
101
110
  }, n.preload = function(r, e) {
102
111
  if (typeof r == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
103
- var t = e.as, c = d(t, e.crossOrigin);
112
+ var t = e.as, u = g(t, e.crossOrigin);
104
113
  i.d.L(r, t, {
105
- crossOrigin: c,
114
+ crossOrigin: u,
106
115
  integrity: typeof e.integrity == "string" ? e.integrity : void 0,
107
116
  nonce: typeof e.nonce == "string" ? e.nonce : void 0,
108
117
  type: typeof e.type == "string" ? e.type : void 0,
@@ -116,7 +125,7 @@ function S() {
116
125
  }, n.preloadModule = function(r, e) {
117
126
  if (typeof r == "string")
118
127
  if (e) {
119
- var t = d(e.as, e.crossOrigin);
128
+ var t = g(e.as, e.crossOrigin);
120
129
  i.d.m(r, {
121
130
  as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
122
131
  crossOrigin: t,
@@ -128,25 +137,25 @@ function S() {
128
137
  }, n.unstable_batchedUpdates = function(r, e) {
129
138
  return r(e);
130
139
  }, n.useFormState = function(r, e, t) {
131
- return f.H.useFormState(r, e, t);
140
+ return d.H.useFormState(r, e, t);
132
141
  }, n.useFormStatus = function() {
133
- return f.H.useHostTransitionStatus();
142
+ return d.H.useHostTransitionStatus();
134
143
  }, n.version = "19.2.4", n;
135
144
  }
136
145
  var _;
137
- function T() {
146
+ function R() {
138
147
  if (_) return y.exports;
139
148
  _ = 1;
140
- function u() {
149
+ function a() {
141
150
  if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
142
151
  try {
143
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u);
144
- } catch (g) {
145
- console.error(g);
152
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a);
153
+ } catch (c) {
154
+ console.error(c);
146
155
  }
147
156
  }
148
- return u(), y.exports = S(), y.exports;
157
+ return a(), y.exports = S(), y.exports;
149
158
  }
150
159
  export {
151
- T as r
160
+ R as r
152
161
  };