@mappedin/viewer 0.22.1-dafd7b8.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.23.0](https://github.com/MappedIn/viewer/compare/viewer-v0.22.0...viewer-v0.23.0) (2024-07-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **SRV-1261:** upgrade to geojson v6 release of mappedin-js ([#220](https://github.com/MappedIn/viewer/issues/220)) ([686e895](https://github.com/MappedIn/viewer/commit/686e895f7ba3881be7827ed4d2793c8cad0eaebf))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **SRV-1310:** bump SDK to fix lighting issue ([#239](https://github.com/MappedIn/viewer/issues/239)) ([295ca80](https://github.com/MappedIn/viewer/commit/295ca8084ce8b3b816514cd426f6acdc514d960d))
|
|
14
|
+
* **SRV-1310:** empty rooms should not be clickable and doors should not have a fallback name ([#235](https://github.com/MappedIn/viewer/issues/235)) ([75eacd3](https://github.com/MappedIn/viewer/commit/75eacd3150c9c4a24d024871363ea984c5af47cd))
|
|
15
|
+
* **SRV-1317:** add analytics event if viewer fails to load ([#236](https://github.com/MappedIn/viewer/issues/236)) ([bce5790](https://github.com/MappedIn/viewer/commit/bce579025a7565014447bd30e1f1b5a4409689b8))
|
|
16
|
+
* **SRV-1319:** make accessibility a router param ([#238](https://github.com/MappedIn/viewer/issues/238)) ([b07d720](https://github.com/MappedIn/viewer/commit/b07d720a1388dbef0a3514adb625f29af8c574c0))
|
|
17
|
+
* **SRV-1320:** allow selecting metadata in location card ([#241](https://github.com/MappedIn/viewer/issues/241)) ([1653112](https://github.com/MappedIn/viewer/commit/1653112575128796411e56b6e793ec5f41808b2c))
|
|
18
|
+
* **SRV-1320:** enable text selection in safari ([#244](https://github.com/MappedIn/viewer/issues/244)) ([89dfb43](https://github.com/MappedIn/viewer/commit/89dfb4384061c5572f29b907db4cf8ec2f9ad776))
|
|
19
|
+
|
|
3
20
|
## [0.22.0](https://github.com/MappedIn/viewer/compare/viewer-v0.21.8...viewer-v0.22.0) (2024-06-25)
|
|
4
21
|
|
|
5
22
|
|
package/dist/index.js
CHANGED
|
@@ -66657,7 +66657,7 @@ const NHe = [
|
|
|
66657
66657
|
"ventilation/exhaust_fan_pressurized.svg": new URL(oGe, import.meta.url),
|
|
66658
66658
|
"ventilation/explosion_relief_wall.svg": new URL(sGe, import.meta.url)
|
|
66659
66659
|
};
|
|
66660
|
-
var uGe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.
|
|
66660
|
+
var uGe = { BASE_URL: "/map", MODE: "production", DEV: !1, PROD: !0, SSR: !1, APP_VERSION: "0.23.0", OUTDOOR_MAPS_KEY: "f8fd42d9e1c2751f", POSTHOG_KEY: "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", POSTHOG_HOST: "https://ph-api.mappedin.com", IMAGE_PROXY_HOST: "https://image-proxy.mappedin.com" };
|
|
66661
66661
|
const cGe = async (r, e, t) => {
|
|
66662
66662
|
const i = `${e ?? uGe.FETCH_MVF_AZURE_FUNCTION_HOST}?venue=${r}&version=2.0.0`, { url: n } = await fetch(i).then((c) => c.json()), a = await fetch(n).then((c) => c.arrayBuffer()), o = new Uint8Array(a), s = await J$(o), l = K$(s);
|
|
66663
66663
|
return typeof (t == null ? void 0 : t.onMVFParsed) == "function" && t.onMVFParsed(l), g8e(l);
|
|
@@ -69856,7 +69856,8 @@ const yfe = 50, MP = 12, LP = 5, EP = 0.9, Pqe = "#722ED1", Iqe = "#D46B08", vfe
|
|
|
69856
69856
|
}, []);
|
|
69857
69857
|
}, Sfe = Zh`
|
|
69858
69858
|
white-space: nowrap;
|
|
69859
|
-
user-select: none;
|
|
69859
|
+
user-select: ${(r) => r.allowSelect ? "text" : "none"};
|
|
69860
|
+
-webkit-user-select: ${(r) => r.allowSelect ? "text" : "none"};
|
|
69860
69861
|
font-family: ${(r) => r.theme.font};
|
|
69861
69862
|
color: ${(r) => r.theme.colors.text.primary};
|
|
69862
69863
|
font-size: ${(r) => r.theme.fontSize.normal}px;
|
|
@@ -70758,7 +70759,7 @@ const rXe = (r, e) => (kd != null || (H5 == null && globalThis.OffscreenCanvas !
|
|
|
70758
70759
|
const i = {
|
|
70759
70760
|
fit: "fit",
|
|
70760
70761
|
...t
|
|
70761
|
-
}, n = "https://image-proxy
|
|
70762
|
+
}, n = "https://image-proxy.mappedin.com", a = nXe[e], o = encodeURIComponent(r);
|
|
70762
70763
|
return `${n}/resize:${i.fit}:${a}:${a}:0/plain/${o}`.replaceAll(/\/+/g, "/").replace("/", "//");
|
|
70763
70764
|
}, aXe = 1;
|
|
70764
70765
|
class oXe {
|
|
@@ -84788,7 +84789,7 @@ const a7e = Bt.div`
|
|
|
84788
84789
|
},
|
|
84789
84790
|
children: [
|
|
84790
84791
|
/* @__PURE__ */ W.jsx(Mn, { icon: "link-16x16", width: 16, height: 16, color: i.colors.accent.primary }),
|
|
84791
|
-
/* @__PURE__ */ W.jsx(ci, { wrap: !0, style: { color: i.colors.accent.primary }, children: e })
|
|
84792
|
+
/* @__PURE__ */ W.jsx(ci, { allowSelect: !0, wrap: !0, style: { color: i.colors.accent.primary }, children: e })
|
|
84792
84793
|
]
|
|
84793
84794
|
}
|
|
84794
84795
|
);
|
|
@@ -84850,6 +84851,7 @@ const a7e = Bt.div`
|
|
|
84850
84851
|
/* @__PURE__ */ W.jsx(
|
|
84851
84852
|
Brt,
|
|
84852
84853
|
{
|
|
84854
|
+
allowSelect: !0,
|
|
84853
84855
|
style: {
|
|
84854
84856
|
fontSize: i.fontSize.xlarge,
|
|
84855
84857
|
color: i.colors.text.primary,
|
|
@@ -84870,6 +84872,7 @@ const a7e = Bt.div`
|
|
|
84870
84872
|
ci,
|
|
84871
84873
|
{
|
|
84872
84874
|
wrap: !0,
|
|
84875
|
+
allowSelect: !0,
|
|
84873
84876
|
style: {
|
|
84874
84877
|
color: i.colors.text.primary
|
|
84875
84878
|
},
|
|
@@ -85035,6 +85038,7 @@ const a7e = Bt.div`
|
|
|
85035
85038
|
) : /* @__PURE__ */ W.jsx(
|
|
85036
85039
|
Grt,
|
|
85037
85040
|
{
|
|
85041
|
+
allowSelect: !0,
|
|
85038
85042
|
style: {
|
|
85039
85043
|
backgroundColor: `${c.colors.background.inverted}${T6(0.25)}`,
|
|
85040
85044
|
color: c.colors.text.inverted
|
|
@@ -86037,7 +86041,7 @@ const x7e = dw((r) => {
|
|
|
86037
86041
|
/* @__PURE__ */ W.jsx(Cq, { children: /* @__PURE__ */ W.jsx(SF, { ...e }) })
|
|
86038
86042
|
), t;
|
|
86039
86043
|
}, C7e = (r = {}) => {
|
|
86040
|
-
const e = "
|
|
86044
|
+
const e = "phc_sRrjUwz9zicl4GeXtSnwcuKMr50SB76ma6NVi6zlPou", t = "https://ph-api.mappedin.com";
|
|
86041
86045
|
cSe(r.captureEnabled ?? !0);
|
|
86042
86046
|
const i = ff();
|
|
86043
86047
|
if (!i.__loaded && e != null && t != null) {
|
|
@@ -86056,7 +86060,7 @@ const x7e = dw((r) => {
|
|
|
86056
86060
|
}
|
|
86057
86061
|
}, w7e = () => {
|
|
86058
86062
|
const r = document.createElement("meta");
|
|
86059
|
-
r.name = "app-version", r.content = "0.
|
|
86063
|
+
r.name = "app-version", r.content = "0.23.0", document.head.appendChild(r);
|
|
86060
86064
|
let e = document.querySelector("meta[name=viewport]");
|
|
86061
86065
|
e == null && (e = document.createElement("meta"), e.name = "viewport", document.head.appendChild(e)), e.content = "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no";
|
|
86062
86066
|
}, b7e = (r) => {
|
|
@@ -5,6 +5,7 @@ type TFontProps = {
|
|
|
5
5
|
strokeWidth?: number;
|
|
6
6
|
strokeColor?: string;
|
|
7
7
|
wrap?: boolean;
|
|
8
|
+
allowSelect?: boolean;
|
|
8
9
|
};
|
|
9
10
|
export declare const fontStyle: import("styled-components").RuleSet<TFontProps>;
|
|
10
11
|
export declare const textwrapStyle: import("styled-components").RuleSet<object>;
|