@telicent-oss/ds 0.18.0 → 0.18.2
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/ds.js +8 -9
- package/dist/ds.umd.cjs +8 -9
- package/package.json +1 -1
package/dist/ds.js
CHANGED
|
@@ -54999,7 +54999,7 @@ const AppBar2 = ({
|
|
|
54999
54999
|
left: 16,
|
|
55000
55000
|
transform: "translate(0, -50%)"
|
|
55001
55001
|
}, children: startChild }),
|
|
55002
|
-
/* @__PURE__ */ jsxs(Stack, { direction: "row", spacing:
|
|
55002
|
+
/* @__PURE__ */ jsxs(Stack, { direction: "row", spacing: 1, alignItems: "center", sx: {
|
|
55003
55003
|
position: "absolute",
|
|
55004
55004
|
top: "50%",
|
|
55005
55005
|
left: "50%",
|
|
@@ -55010,8 +55010,9 @@ const AppBar2 = ({
|
|
|
55010
55010
|
/* @__PURE__ */ jsx$1(TelicentBrand, {}),
|
|
55011
55011
|
/* @__PURE__ */ jsx$1(Typography, { variant: "h1", color: "primary", sx: {
|
|
55012
55012
|
fontFamily: "Figtree",
|
|
55013
|
-
fontSize: 40
|
|
55014
|
-
|
|
55013
|
+
fontSize: 40,
|
|
55014
|
+
fontWeight: 400
|
|
55015
|
+
}, children: appName == null ? void 0 : appName.toUpperCase() }),
|
|
55015
55016
|
version && /* @__PURE__ */ jsx$1(Box, { position: "absolute", bottom: 5, fontSize: 12, left: "calc(100% - 12px)", paddingInline: 0.5, sx: {
|
|
55016
55017
|
color: theme.palette.secondary.contrastText,
|
|
55017
55018
|
whiteSpace: "nowrap",
|
|
@@ -79548,12 +79549,10 @@ const FeatureMap = ({
|
|
|
79548
79549
|
}, []);
|
|
79549
79550
|
bounds = calculateBounds(selectedMarkers, selectedPolygons);
|
|
79550
79551
|
}
|
|
79551
|
-
map.
|
|
79552
|
-
|
|
79553
|
-
|
|
79554
|
-
|
|
79555
|
-
maxDuration: 1e3
|
|
79556
|
-
});
|
|
79552
|
+
map.fitBounds(bounds, {
|
|
79553
|
+
padding: 20,
|
|
79554
|
+
maxZoom: 8,
|
|
79555
|
+
duration: 500
|
|
79557
79556
|
});
|
|
79558
79557
|
}, [geoPolygons, markers, selected]);
|
|
79559
79558
|
return /* @__PURE__ */ jsx$1(UIThemeProvider, { dark: true, theme, children: /* @__PURE__ */ jsx$1(ErrorBoundary, { fallback: /* @__PURE__ */ jsx$1("p", { children: "Something went wrong: Failed to load map component" }), children: /* @__PURE__ */ jsx$1("div", { className: "contents", children: /* @__PURE__ */ jsxs(FlexGrid, { m: 0, direction: "column", style: W_H_100, children: [
|
package/dist/ds.umd.cjs
CHANGED
|
@@ -55017,7 +55017,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
55017
55017
|
left: 16,
|
|
55018
55018
|
transform: "translate(0, -50%)"
|
|
55019
55019
|
}, children: startChild }),
|
|
55020
|
-
/* @__PURE__ */ jsxs(Stack, { direction: "row", spacing:
|
|
55020
|
+
/* @__PURE__ */ jsxs(Stack, { direction: "row", spacing: 1, alignItems: "center", sx: {
|
|
55021
55021
|
position: "absolute",
|
|
55022
55022
|
top: "50%",
|
|
55023
55023
|
left: "50%",
|
|
@@ -55028,8 +55028,9 @@ Please use another name.` : formatMuiErrorMessage$1(18));
|
|
|
55028
55028
|
/* @__PURE__ */ jsx$1(TelicentBrand, {}),
|
|
55029
55029
|
/* @__PURE__ */ jsx$1(Typography, { variant: "h1", color: "primary", sx: {
|
|
55030
55030
|
fontFamily: "Figtree",
|
|
55031
|
-
fontSize: 40
|
|
55032
|
-
|
|
55031
|
+
fontSize: 40,
|
|
55032
|
+
fontWeight: 400
|
|
55033
|
+
}, children: appName == null ? void 0 : appName.toUpperCase() }),
|
|
55033
55034
|
version && /* @__PURE__ */ jsx$1(Box, { position: "absolute", bottom: 5, fontSize: 12, left: "calc(100% - 12px)", paddingInline: 0.5, sx: {
|
|
55034
55035
|
color: theme.palette.secondary.contrastText,
|
|
55035
55036
|
whiteSpace: "nowrap",
|
|
@@ -79566,12 +79567,10 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
79566
79567
|
}, []);
|
|
79567
79568
|
bounds = calculateBounds(selectedMarkers, selectedPolygons);
|
|
79568
79569
|
}
|
|
79569
|
-
map.
|
|
79570
|
-
|
|
79571
|
-
|
|
79572
|
-
|
|
79573
|
-
maxDuration: 1e3
|
|
79574
|
-
});
|
|
79570
|
+
map.fitBounds(bounds, {
|
|
79571
|
+
padding: 20,
|
|
79572
|
+
maxZoom: 8,
|
|
79573
|
+
duration: 500
|
|
79575
79574
|
});
|
|
79576
79575
|
}, [geoPolygons, markers, selected]);
|
|
79577
79576
|
return /* @__PURE__ */ jsx$1(UIThemeProvider, { dark: true, theme, children: /* @__PURE__ */ jsx$1(ErrorBoundary, { fallback: /* @__PURE__ */ jsx$1("p", { children: "Something went wrong: Failed to load map component" }), children: /* @__PURE__ */ jsx$1("div", { className: "contents", children: /* @__PURE__ */ jsxs(FlexGrid, { m: 0, direction: "column", style: W_H_100, children: [
|