@opengeoweb/theme 14.2.1 → 14.3.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/index.esm.js +234 -113
- package/package.json +2 -3
- package/src/index.d.ts +1 -1
- package/src/lib/components/Icons/Icons.d.ts +10 -3
- package/src/lib/types.d.ts +4 -1
- package/src/lib/utils/themes/BackdropDecoration.d.ts +0 -3
- package/src/lib/utils/themes/index.d.ts +2 -2
- package/index.esm.css +0 -45
- /package/src/lib/utils/themes/{xmas2024/xmas2024Theme.d.ts → xmas/xmasTheme.d.ts} +0 -0
package/index.esm.js
CHANGED
|
@@ -3,8 +3,6 @@ import { SvgIcon, createTheme as createTheme$1, ThemeProvider as ThemeProvider$1
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import 'i18next';
|
|
5
5
|
import 'react-i18next';
|
|
6
|
-
import styled from '@emotion/styled';
|
|
7
|
-
import { range } from 'lodash';
|
|
8
6
|
|
|
9
7
|
var en = {
|
|
10
8
|
theme: "Theme"
|
|
@@ -674,29 +672,6 @@ var Resize = function Resize(_ref2) {
|
|
|
674
672
|
})
|
|
675
673
|
}));
|
|
676
674
|
};
|
|
677
|
-
var PresetWorkspace = function PresetWorkspace(props) {
|
|
678
|
-
return jsx(SvgIcon, Object.assign({
|
|
679
|
-
viewBox: "0 0 24 24"
|
|
680
|
-
}, props, {
|
|
681
|
-
children: jsx("path", {
|
|
682
|
-
d: "M10 10h12v12H10V10zm4.32 6.25h-2.318V20h2.318v-3.75zm5.682 0h-4.29V20h4.29v-3.75zM18 6l-.001 3h-2L16 8H8v8h1v2H6V6h12zm2 6h-7.998v2.75H20V12zM14 2l-.001 3h-2L12 4H4v8h1v2H2V2h12z"
|
|
683
|
-
})
|
|
684
|
-
}));
|
|
685
|
-
};
|
|
686
|
-
var Preset = function Preset(props) {
|
|
687
|
-
return jsx(SvgIcon, Object.assign({}, props, {
|
|
688
|
-
children: jsx("path", {
|
|
689
|
-
d: "M10 10h12v12H10V10zm10 2h-8v8h8v-8zm-2-6-.001 3h-2L16 8H8v8h1v2H6V6h12zm-4-4-.001 3h-2L12 4H4v8h1v2H2V2h12z"
|
|
690
|
-
})
|
|
691
|
-
}));
|
|
692
|
-
};
|
|
693
|
-
var PresetTiles = function PresetTiles(props) {
|
|
694
|
-
return jsx(SvgIcon, Object.assign({}, props, {
|
|
695
|
-
children: jsx("path", {
|
|
696
|
-
d: "M22,2 L22,22 L2,22 L2,2 L22,2 Z M7.5,13.24 L4.5,13.24 L4.5,19.48 L7.5,19.48 L7.5,13.24 Z M15.5,13.24 L12.5,13.24 L12.5,19.48 L15.5,19.48 L15.5,13.24 Z M11.5,13.24 L8.5,13.24 L8.5,19.48 L11.5,19.48 L11.5,13.24 Z M19.5,13.24 L16.5,13.24 L16.5,19.48 L19.5,19.48 L19.5,13.24 Z M7.5,6 L4.5,6 L4.5,12.24 L7.5,12.24 L7.5,6 Z M15.5,6 L12.5,6 L12.5,12.24 L15.5,12.24 L15.5,6 Z M11.5,6 L8.5,6 L8.5,12.24 L11.5,12.24 L11.5,6 Z M19.5,6 L16.5,6 L16.5,12.24 L19.5,12.24 L19.5,6 Z"
|
|
697
|
-
})
|
|
698
|
-
}));
|
|
699
|
-
};
|
|
700
675
|
var List = function List(props) {
|
|
701
676
|
return jsx(SvgIcon, Object.assign({}, props, {
|
|
702
677
|
children: jsx("path", {
|
|
@@ -1711,42 +1686,110 @@ var ColumnCollapsed = function ColumnCollapsed(props) {
|
|
|
1711
1686
|
}));
|
|
1712
1687
|
};
|
|
1713
1688
|
var SharedPresetsOtherUsers = function SharedPresetsOtherUsers(props) {
|
|
1714
|
-
return
|
|
1715
|
-
|
|
1689
|
+
return jsxs(SvgIcon, Object.assign({
|
|
1690
|
+
viewBox: "0 0 28 20"
|
|
1691
|
+
}, props, {
|
|
1692
|
+
children: [jsx("rect", {
|
|
1693
|
+
fill: "currentColor",
|
|
1694
|
+
fillOpacity: "0.2",
|
|
1695
|
+
height: "19",
|
|
1696
|
+
rx: "9.5",
|
|
1697
|
+
width: "27",
|
|
1698
|
+
x: "0.5",
|
|
1699
|
+
y: "0.5"
|
|
1700
|
+
}), jsx("rect", {
|
|
1716
1701
|
fill: "none",
|
|
1717
|
-
height: "
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1702
|
+
height: "19",
|
|
1703
|
+
rx: "9.5",
|
|
1704
|
+
stroke: "currentColor",
|
|
1705
|
+
strokeWidth: "1",
|
|
1706
|
+
width: "27",
|
|
1707
|
+
x: "0.5",
|
|
1708
|
+
y: "0.5"
|
|
1709
|
+
}), jsxs("g", {
|
|
1710
|
+
clipPath: "url(#clip0_255_11839)",
|
|
1711
|
+
children: [jsx("mask", {
|
|
1712
|
+
fill: "white",
|
|
1713
|
+
id: "path-2-inside-1_255_11839",
|
|
1714
|
+
children: jsx("path", {
|
|
1715
|
+
clipRule: "evenodd",
|
|
1716
|
+
d: "M10.0983 9.72789C11.6582 9.7257 12.9185 8.44449 12.9185 6.86504C12.9185 5.28704 11.6582 4 10.0983 4C8.5414 4.00146 7.2832 5.28704 7.2832 6.86504C7.2832 8.44449 8.5414 9.7257 10.0983 9.72789Z",
|
|
1717
|
+
fillRule: "evenodd"
|
|
1718
|
+
})
|
|
1719
|
+
}), jsx("path", {
|
|
1720
|
+
d: "M10.0983 4V2.75L10.0972 2.75L10.0983 4ZM10.0983 9.72789L10.1001 10.9779C12.3661 10.9747 14.1685 9.11756 14.1685 6.86504H12.9185H11.6685C11.6685 7.77143 10.9502 8.47669 10.0966 8.47789L10.0983 9.72789ZM12.9185 6.86504H14.1685C14.1685 4.61727 12.3689 2.75 10.0983 2.75V4V5.25C10.9474 5.25 11.6685 5.95682 11.6685 6.86504H12.9185ZM10.0983 4L10.0972 2.75C7.82938 2.75212 6.0332 4.61828 6.0332 6.86504H7.2832H8.5332C8.5332 5.95581 9.25341 5.25079 10.0995 5.25L10.0983 4ZM7.2832 6.86504H6.0332C6.0332 9.11547 7.83143 10.9747 10.0966 10.9779L10.0983 9.72789L10.1001 8.47789C9.25137 8.4767 8.5332 7.77351 8.5332 6.86504H7.2832Z",
|
|
1721
|
+
fill: "currentColor",
|
|
1722
|
+
mask: "url(#path-2-inside-1_255_11839)"
|
|
1723
|
+
}), jsx("path", {
|
|
1724
|
+
d: "M9.72461 10.75H8.64044C6.96798 10.75 5.59961 12.1137 5.59961 13.7803V16H12.3496",
|
|
1725
|
+
fill: "none",
|
|
1726
|
+
stroke: "currentColor",
|
|
1727
|
+
strokeLinecap: "round",
|
|
1728
|
+
strokeWidth: "1.25"
|
|
1729
|
+
}), jsx("path", {
|
|
1730
|
+
clipRule: "evenodd",
|
|
1731
|
+
d: "M18.9809 11.0822C18.7477 10.8393 18.37 10.8393 18.1367 11.0822C17.9035 11.3251 17.9035 11.7197 18.1367 11.9626L19.2153 13.1274H13.8467C13.5175 13.1274 13.25 13.406 13.25 13.7496C13.25 14.094 13.5175 14.3726 13.8467 14.3726H19.2153L18.1367 15.537C17.9035 15.7804 17.9035 16.1744 18.1367 16.4178C18.2531 16.5388 18.406 16.6 18.5588 16.6C18.7117 16.6 18.8641 16.5388 18.9809 16.4178L21.5 13.7496L18.9809 11.0822Z",
|
|
1732
|
+
fill: "currentColor",
|
|
1733
|
+
fillRule: "evenodd"
|
|
1734
1734
|
}), jsx("path", {
|
|
1735
1735
|
clipRule: "evenodd",
|
|
1736
|
-
d: "
|
|
1737
|
-
fill: "
|
|
1736
|
+
d: "M15.7691 11.0178C16.0023 11.2607 16.38 11.2607 16.6133 11.0178C16.8465 10.7748 16.8465 10.3803 16.6133 10.1374L15.5347 8.97256L20.9033 8.97256C21.2325 8.97256 21.5 8.69394 21.5 8.35041C21.5 8.00597 21.2325 7.72735 20.9033 7.72735L15.5347 7.72735L16.6133 6.56297C16.8465 6.31958 16.8465 5.92553 16.6133 5.68214C16.4969 5.56114 16.344 5.49995 16.1912 5.49995C16.0383 5.49995 15.8859 5.56114 15.7691 5.68214L13.25 8.35041L15.7691 11.0178Z",
|
|
1737
|
+
fill: "currentColor",
|
|
1738
1738
|
fillRule: "evenodd"
|
|
1739
1739
|
})]
|
|
1740
|
-
})
|
|
1740
|
+
}), jsx("defs", {
|
|
1741
|
+
children: jsx("clipPath", {
|
|
1742
|
+
id: "clip0_255_11839",
|
|
1743
|
+
children: jsx("rect", {
|
|
1744
|
+
fill: "white",
|
|
1745
|
+
height: "18",
|
|
1746
|
+
width: "18",
|
|
1747
|
+
x: "5",
|
|
1748
|
+
y: "1"
|
|
1749
|
+
})
|
|
1750
|
+
})
|
|
1751
|
+
})]
|
|
1741
1752
|
}));
|
|
1742
1753
|
};
|
|
1743
1754
|
var SharedPresetsMyUser = function SharedPresetsMyUser(props) {
|
|
1744
|
-
return
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1755
|
+
return jsxs(SvgIcon, Object.assign({
|
|
1756
|
+
viewBox: "0 0 28 20"
|
|
1757
|
+
}, props, {
|
|
1758
|
+
children: [jsx("rect", {
|
|
1759
|
+
fill: "currentColor",
|
|
1760
|
+
fillOpacity: "0.2" // tweak to match design
|
|
1761
|
+
,
|
|
1762
|
+
height: "19",
|
|
1763
|
+
rx: "9.5",
|
|
1764
|
+
width: "27",
|
|
1765
|
+
x: ".5",
|
|
1766
|
+
y: ".5"
|
|
1767
|
+
}), jsx("rect", {
|
|
1768
|
+
fill: "none",
|
|
1769
|
+
height: "19",
|
|
1770
|
+
rx: "9.5",
|
|
1771
|
+
stroke: "currentColor",
|
|
1772
|
+
strokeWidth: "1",
|
|
1773
|
+
width: "27",
|
|
1774
|
+
x: ".5",
|
|
1775
|
+
y: ".5"
|
|
1776
|
+
}), jsx("path", {
|
|
1777
|
+
d: "M10.997 9.728c1.56-.002 2.82-1.284 2.82-2.863 0-1.578-1.26-2.865-2.82-2.865-1.557.001-2.815 1.287-2.815 2.865 0 1.58 1.258 2.86 2.815 2.863Z",
|
|
1778
|
+
fill: "none",
|
|
1779
|
+
stroke: "currentColor",
|
|
1780
|
+
strokeWidth: "1.25"
|
|
1781
|
+
}), jsx("path", {
|
|
1782
|
+
d: "M10.625 10.75H9.541A3.045 3.045 0 0 0 6.5 13.78V16h6.75",
|
|
1783
|
+
fill: "none",
|
|
1784
|
+
stroke: "currentColor",
|
|
1785
|
+
strokeLinecap: "round",
|
|
1786
|
+
strokeWidth: "1.25"
|
|
1787
|
+
}), jsx("path", {
|
|
1788
|
+
clipRule: "evenodd",
|
|
1789
|
+
d: "M18.08 9.132a.58.58 0 0 0-.843 0 .641.641 0 0 0 0 .88l1.978 2.065h-5.368a.61.61 0 0 0-.597.623.61.61 0 0 0 .597.623h5.368l-1.978 2.064a.642.642 0 0 0 0 .88c.116.122.269.183.422.183a.585.585 0 0 0 .422-.182l3.419-3.569-3.42-3.567Z",
|
|
1790
|
+
fill: "currentColor",
|
|
1748
1791
|
fillRule: "evenodd"
|
|
1749
|
-
})
|
|
1792
|
+
})]
|
|
1750
1793
|
}));
|
|
1751
1794
|
};
|
|
1752
1795
|
var Sources = function Sources(props) {
|
|
@@ -1790,6 +1833,83 @@ var SevereMountainWaves = function SevereMountainWaves(props) {
|
|
|
1790
1833
|
})
|
|
1791
1834
|
}));
|
|
1792
1835
|
};
|
|
1836
|
+
var WorkspacePresetsSystemIcon = function WorkspacePresetsSystemIcon(props) {
|
|
1837
|
+
return jsx(SvgIcon, Object.assign({
|
|
1838
|
+
viewBox: "0 0 28 24"
|
|
1839
|
+
}, props, {
|
|
1840
|
+
children: jsx("path", {
|
|
1841
|
+
d: "M8.960 2.059 C 7.881 2.168,6.611 2.538,5.602 3.037 C 2.624 4.510,0.642 7.222,0.109 10.551 C 0.002 11.218,0.002 12.768,0.109 13.435 C 0.503 15.900,1.716 18.079,3.547 19.611 C 5.114 20.923,7.019 21.727,9.047 21.931 C 9.699 21.997,18.301 21.997,18.953 21.931 C 21.657 21.659,24.139 20.313,25.815 18.210 C 27.358 16.274,28.153 13.718,27.963 11.304 C 27.792 9.133,27.007 7.198,25.631 5.553 C 23.987 3.589,21.561 2.318,18.953 2.055 C 18.368 1.996,9.549 2.000,8.960 2.059 M19.413 3.096 C 20.507 3.297,21.321 3.572,22.202 4.038 C 26.502 6.311,28.223 11.580,26.090 15.937 C 25.241 17.672,23.908 19.047,22.202 19.949 C 21.311 20.420,20.488 20.696,19.388 20.893 C 18.961 20.970,18.521 20.977,14.000 20.977 C 8.604 20.977,8.848 20.988,7.683 20.692 C 5.621 20.170,3.678 18.765,2.460 16.917 C 0.972 14.657,0.594 11.760,1.450 9.170 C 2.410 6.265,4.860 3.984,7.785 3.271 C 8.255 3.156,8.528 3.110,9.310 3.016 C 9.387 3.006,11.592 3.002,14.210 3.006 C 18.517 3.014,19.012 3.022,19.413 3.096 M13.355 5.976 C 11.150 6.183,9.180 7.502,8.236 9.403 C 7.959 9.961,7.839 10.301,7.712 10.889 C 7.599 11.415,7.599 12.571,7.712 13.097 C 7.975 14.316,8.498 15.273,9.377 16.147 C 10.626 17.388,12.194 18.026,14.000 18.026 C 15.373 18.026,16.603 17.656,17.727 16.906 C 18.255 16.553,19.044 15.766,19.381 15.255 C 20.726 13.217,20.726 10.770,19.381 8.732 C 19.044 8.221,18.255 7.434,17.727 7.081 C 16.455 6.232,14.878 5.833,13.355 5.976 M14.406 7.030 C 14.700 7.134,15.079 7.570,15.326 8.089 C 15.538 8.531,15.751 9.152,15.802 9.475 L 15.832 9.660 14.000 9.660 L 12.168 9.660 12.198 9.475 C 12.302 8.820,12.757 7.795,13.118 7.400 C 13.544 6.934,13.872 6.840,14.406 7.030 M11.761 7.712 C 11.554 8.158,11.341 8.782,11.221 9.298 L 11.136 9.660 10.183 9.660 C 9.101 9.660,9.165 9.696,9.462 9.248 C 9.706 8.879,10.215 8.354,10.635 8.037 C 10.953 7.798,11.791 7.327,11.898 7.327 C 11.922 7.327,11.860 7.500,11.761 7.712 M16.647 7.585 C 17.373 7.966,18.132 8.634,18.538 9.248 C 18.835 9.696,18.899 9.660,17.817 9.660 L 16.864 9.660 16.779 9.298 C 16.661 8.791,16.448 8.169,16.237 7.711 C 16.026 7.254,16.021 7.255,16.647 7.585 M10.943 11.993 L 10.943 13.347 9.863 13.347 L 8.783 13.347 8.732 13.125 C 8.642 12.733,8.587 12.304,8.587 11.993 C 8.587 11.682,8.642 11.254,8.732 10.862 L 8.783 10.640 9.863 10.640 L 10.943 10.640 10.943 11.993 M16.038 10.815 C 16.084 11.045,16.085 12.947,16.038 13.172 L 16.002 13.347 14.000 13.347 L 11.998 13.347 11.962 13.172 C 11.942 13.075,11.926 12.545,11.926 11.993 C 11.926 11.442,11.942 10.911,11.962 10.815 L 11.998 10.640 14.000 10.640 L 16.002 10.640 16.038 10.815 M19.268 10.849 C 19.297 10.963,19.345 11.268,19.376 11.525 C 19.432 12.008,19.389 12.658,19.268 13.138 L 19.216 13.347 18.136 13.347 L 17.057 13.347 17.057 11.993 L 17.057 10.640 18.136 10.640 L 19.216 10.640 19.268 10.849 M11.221 14.688 C 11.339 15.195,11.552 15.818,11.763 16.275 C 11.974 16.733,11.979 16.731,11.353 16.402 C 10.627 16.021,9.868 15.352,9.462 14.739 C 9.165 14.290,9.101 14.327,10.183 14.327 L 11.136 14.327 11.221 14.688 M15.802 14.512 C 15.751 14.835,15.538 15.455,15.326 15.898 C 14.747 17.112,13.868 17.395,13.136 16.605 C 12.760 16.198,12.305 15.185,12.198 14.512 L 12.168 14.327 14.000 14.327 L 15.832 14.327 15.802 14.512 M18.742 14.400 C 18.606 14.753,17.915 15.535,17.388 15.931 C 17.066 16.173,16.369 16.573,16.160 16.635 C 16.063 16.663,16.067 16.643,16.237 16.275 C 16.448 15.818,16.661 15.195,16.779 14.688 L 16.864 14.327 17.817 14.327 C 18.666 14.327,18.767 14.335,18.742 14.400 "
|
|
1842
|
+
})
|
|
1843
|
+
}));
|
|
1844
|
+
};
|
|
1845
|
+
var WorkspacePresetsMyIcon = function WorkspacePresetsMyIcon(props) {
|
|
1846
|
+
return jsx(SvgIcon, Object.assign({
|
|
1847
|
+
viewBox: "0 0 28 20"
|
|
1848
|
+
}, props, {
|
|
1849
|
+
children: jsx("path", {
|
|
1850
|
+
d: "M9.497 0.030 C 7.000 0.166,4.697 1.191,2.944 2.944 C 1.409 4.479,0.429 6.442,0.116 8.610 C 0.007 9.362,0.007 10.658,0.116 11.410 C 0.754 15.827,4.196 19.278,8.587 19.902 C 9.314 20.005,18.686 20.005,19.413 19.902 C 23.803 19.278,27.246 15.826,27.884 11.410 C 27.993 10.658,27.993 9.362,27.884 8.610 C 27.298 4.554,24.312 1.251,20.370 0.300 C 19.249 0.030,19.311 0.033,14.350 0.023 C 11.835 0.018,9.651 0.021,9.497 0.030 M19.530 1.109 C 22.875 1.752,25.525 4.044,26.555 7.187 C 27.171 9.068,27.169 10.982,26.547 12.850 C 25.420 16.237,22.426 18.629,18.860 18.991 C 18.207 19.057,9.793 19.057,9.140 18.991 C 4.837 18.554,1.466 15.183,1.029 10.880 C 0.967 10.268,0.967 9.752,1.029 9.140 C 1.463 4.864,4.810 1.494,9.082 1.030 C 9.284 1.008,11.603 0.995,14.233 1.000 C 18.886 1.010,19.031 1.013,19.530 1.109 M13.300 3.433 C 12.229 3.663,11.289 4.581,10.986 5.694 C 10.855 6.175,10.875 7.012,11.029 7.490 C 11.360 8.513,12.205 9.329,13.207 9.591 C 13.611 9.697,14.389 9.697,14.793 9.591 C 15.795 9.329,16.640 8.514,16.971 7.490 C 17.072 7.175,17.092 7.029,17.093 6.557 C 17.094 6.167,17.070 5.904,17.013 5.693 C 16.789 4.856,16.149 4.063,15.399 3.694 C 14.750 3.373,14.006 3.281,13.300 3.433 M14.470 4.648 C 14.848 4.761,15.024 4.864,15.302 5.138 C 15.878 5.705,16.046 6.616,15.710 7.349 C 15.546 7.706,15.166 8.091,14.802 8.271 C 14.511 8.414,14.461 8.423,14.000 8.423 C 13.539 8.423,13.489 8.414,13.198 8.271 C 12.834 8.091,12.454 7.706,12.290 7.349 C 11.957 6.622,12.122 5.709,12.689 5.142 C 13.185 4.646,13.845 4.463,14.470 4.648 M11.422 10.360 C 10.232 10.568,9.118 11.486,8.649 12.647 C 8.430 13.190,8.400 13.506,8.400 15.287 L 8.400 16.940 14.000 16.940 L 19.600 16.940 19.600 15.287 C 19.600 13.506,19.570 13.190,19.351 12.647 C 18.936 11.620,18.061 10.815,16.963 10.448 C 16.639 10.340,16.620 10.339,14.140 10.331 C 12.767 10.326,11.544 10.339,11.422 10.360 M16.469 11.599 C 16.901 11.700,17.293 11.927,17.640 12.273 C 18.265 12.898,18.394 13.331,18.376 14.735 L 18.363 15.703 14.000 15.703 L 9.637 15.703 9.624 14.735 C 9.614 13.992,9.628 13.694,9.683 13.456 C 9.885 12.587,10.652 11.808,11.510 11.601 C 11.924 11.500,16.045 11.499,16.469 11.599 "
|
|
1851
|
+
})
|
|
1852
|
+
}));
|
|
1853
|
+
};
|
|
1854
|
+
var DrawToolPolygon = function DrawToolPolygon(props) {
|
|
1855
|
+
return jsx(SvgIcon, Object.assign({}, props, {
|
|
1856
|
+
children: jsx("path", {
|
|
1857
|
+
d: "M14,2 L14,6.722 L17.464,11 L22,11 L22,17 L16,17 L16,15.819 L8,19.215 L8,22 L2,22 L2,16 L5.392,16 L9.295,8 L8,8 L8,2 L14,2 Z M13.104,8 L10.964,8 L7.061,16 L8,16 L8,17.585 L16,14.189 L16,11.576 L13.104,8 Z"
|
|
1858
|
+
})
|
|
1859
|
+
}));
|
|
1860
|
+
};
|
|
1861
|
+
var DrawToolSquare = function DrawToolSquare(props) {
|
|
1862
|
+
return jsx(SvgIcon, Object.assign({}, props, {
|
|
1863
|
+
children: jsx("path", {
|
|
1864
|
+
d: "M21,3 L21,17 L23,17 L23,23 L17,23 L17,20.999 L3,21 L3,3 L21,3 Z M19,5 L5,5 L5,19 L17,18.999 L17,17 L18.999,17 L19,5 Z"
|
|
1865
|
+
})
|
|
1866
|
+
}));
|
|
1867
|
+
};
|
|
1868
|
+
var DrawToolRectangle = function DrawToolRectangle(props) {
|
|
1869
|
+
return jsx(SvgIcon, Object.assign({}, props, {
|
|
1870
|
+
children: jsx("path", {
|
|
1871
|
+
d: "M20,3 L20,17 L22,17 L22,23 L16,23 L16,20.999 L10,21 L10,3 L20,3 Z M18,5 L12,5 L12,19 L16,18.999 L16,17 L17.999,17 L18,5 Z"
|
|
1872
|
+
})
|
|
1873
|
+
}));
|
|
1874
|
+
};
|
|
1875
|
+
var DrawToolFreehand = function DrawToolFreehand(props) {
|
|
1876
|
+
return jsx(SvgIcon, Object.assign({}, props, {
|
|
1877
|
+
children: jsx("path", {
|
|
1878
|
+
d: "M7,2.70393372 C12,1.07515108 14.0142059,1.11724854 15.0060372,2.00859479 C16.8456719,3.74404909 14.1475922,6.31344631 11.4986877,9.32475281 C11.0918338,9.76226069 10.6734737,10.220967 10.2607091,10.6859223 L9.90868003,11.0856373 C7.92613443,13.3554091 6.19087054,15.6718435 6.66254822,16.3219208 C8.58115563,17.0825867 13.5281135,9.60468138 16.5035553,10.0151367 C18.410163,10.357751 18.8264043,12.5929907 17.8618835,14.390771 C17.3103651,15.6887479 15.1598354,18.1037454 14.8359363,19.1810369 C15.4566779,19.3109542 16.1777527,19.3544749 16.9991607,19.3115992 L17,17 L23,17 L23,23 L17,23 L17.0005899,21.2969745 C15.5798515,21.3552003 14.3928415,21.2131485 13.4395599,20.8708191 C12.0707831,19.5163403 13.112864,17.9025552 14.1494197,16.4064353 C14.2338415,16.2845845 14.3197301,16.1626582 14.4062335,16.0409317 L14.6667364,15.6766271 C15.7093097,14.2240102 16.717732,12.8398307 16.2197665,12 C15.3534805,12.1240243 13.3665692,14.0456986 11.1089351,16.0783386 C8.85130102,18.1109787 6.7765592,19.1255095 5.2696755,17.7575114 C3.27758657,15.8205099 5.96876028,12.5438861 8.85058757,9.2849582 L9.20411176,8.88608655 C9.32206712,8.75322034 9.44003461,8.62047591 9.55770874,8.48794556 C11.7036827,6.1872905 13.2414398,4.33685303 13.5877228,3.46759033 C13.0730438,3.28355408 11.4025879,3.30383719 7,4.82196045 L7,7.5 L1,7.5 L1,1.5 L7,1.5 Z"
|
|
1879
|
+
})
|
|
1880
|
+
}));
|
|
1881
|
+
};
|
|
1882
|
+
var DrawToolCircle = function DrawToolCircle(props) {
|
|
1883
|
+
return jsx(SvgIcon, Object.assign({}, props, {
|
|
1884
|
+
children: jsx("path", {
|
|
1885
|
+
d: "M12,2 C17.5228475,2 22,6.4771525 22,12 C22,13.4223692 21.7030383,14.7753793 21.1677323,16.0004128 L22,16 L22,22 L16,22 L16.0004128,21.1677323 C14.7753793,21.7030383 13.4223692,22 12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 Z M12,4 C7.581722,4 4,7.581722 4,12 C4,16.418278 7.581722,20 12,20 C13.4576273,20 14.8242042,19.6101668 16.0011597,18.9290715 L16,16 L18.9290715,16.0011597 C19.6101668,14.8242042 20,13.4576273 20,12 C20,7.581722 16.418278,4 12,4 Z"
|
|
1886
|
+
})
|
|
1887
|
+
}));
|
|
1888
|
+
};
|
|
1889
|
+
var DrawToolPoint = function DrawToolPoint(props) {
|
|
1890
|
+
return jsx(SvgIcon, Object.assign({}, props, {
|
|
1891
|
+
children: jsx("circle", {
|
|
1892
|
+
cx: "12",
|
|
1893
|
+
cy: "12",
|
|
1894
|
+
id: "Point",
|
|
1895
|
+
r: "9"
|
|
1896
|
+
})
|
|
1897
|
+
}));
|
|
1898
|
+
};
|
|
1899
|
+
var DrawToolOval = function DrawToolOval(props) {
|
|
1900
|
+
return jsx(SvgIcon, Object.assign({}, props, {
|
|
1901
|
+
children: jsx("path", {
|
|
1902
|
+
d: "M15,2 C18.3137085,2 21,6.4771525 21,12 C21,13.8216443 20.7077502,15.5295242 20.1971315,17.0005052 L22,17 L22,23 L16,23 L16.0008069,21.8615102 C15.6753441,21.9525904 15.340994,22 15,22 C11.6862915,22 9,17.5228475 9,12 C9,6.4771525 11.6862915,2 15,2 Z M15,4 C12.790861,4 11,7.581722 11,12 C11,16.418278 12.790861,20 15,20 C15.3454621,20 15.6806954,19.9124116 16.0004512,19.7477327 L16,17 L18.1222821,17.0010063 C18.67148,15.6312537 19,13.8923568 19,12 C19,7.581722 17.209139,4 15,4 Z"
|
|
1903
|
+
})
|
|
1904
|
+
}));
|
|
1905
|
+
};
|
|
1906
|
+
var DrawToolLineString = function DrawToolLineString(props) {
|
|
1907
|
+
return jsx(SvgIcon, Object.assign({}, props, {
|
|
1908
|
+
children: jsx("path", {
|
|
1909
|
+
d: "M14,1 L14.00086,3.64203491 L17.00086,4.31003491 L17,3 L23,3 L23,9 L17,9 L17.00086,6.35703491 L14.00086,5.69103491 L14,7 L13.46186,6.99903491 L15.73386,11.9990349 L19,12 L19,18 L13,18 L13.00086,14.6180349 L7.00086,11.6190349 L7,12 L5.56086,11.9990349 L6.47086,16.9990349 L9,17 L9,23 L3,23 L3,17 L4.44186,16.9990349 L3.53286,11.9990349 L1,12 L1,6 L7,6 L7.00086,9.38303491 L13.00086,12.3810349 L13,12 L13.54086,11.9990349 L11.26486,6.99903491 L8,7 L8,1 L14,1 Z"
|
|
1910
|
+
})
|
|
1911
|
+
}));
|
|
1912
|
+
};
|
|
1793
1913
|
|
|
1794
1914
|
/* *
|
|
1795
1915
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1854,6 +1974,14 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
1854
1974
|
DrawFIRLand: DrawFIRLand,
|
|
1855
1975
|
DrawPolygon: DrawPolygon,
|
|
1856
1976
|
DrawRegion: DrawRegion,
|
|
1977
|
+
DrawToolCircle: DrawToolCircle,
|
|
1978
|
+
DrawToolFreehand: DrawToolFreehand,
|
|
1979
|
+
DrawToolLineString: DrawToolLineString,
|
|
1980
|
+
DrawToolOval: DrawToolOval,
|
|
1981
|
+
DrawToolPoint: DrawToolPoint,
|
|
1982
|
+
DrawToolPolygon: DrawToolPolygon,
|
|
1983
|
+
DrawToolRectangle: DrawToolRectangle,
|
|
1984
|
+
DrawToolSquare: DrawToolSquare,
|
|
1857
1985
|
Edit: Edit,
|
|
1858
1986
|
Equalizer: Equalizer,
|
|
1859
1987
|
Exclamation: Exclamation,
|
|
@@ -1904,9 +2032,6 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
1904
2032
|
Picture: Picture,
|
|
1905
2033
|
Play: Play,
|
|
1906
2034
|
Polygons: Polygons,
|
|
1907
|
-
Preset: Preset,
|
|
1908
|
-
PresetTiles: PresetTiles,
|
|
1909
|
-
PresetWorkspace: PresetWorkspace,
|
|
1910
2035
|
RadioactiveMaterials: RadioactiveMaterials,
|
|
1911
2036
|
Rain: Rain,
|
|
1912
2037
|
Remove: Remove,
|
|
@@ -1943,6 +2068,8 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
1943
2068
|
VulcanicEruption: VulcanicEruption,
|
|
1944
2069
|
WebAssetOff: WebAssetOff,
|
|
1945
2070
|
Wind: Wind,
|
|
2071
|
+
WorkspacePresetsMyIcon: WorkspacePresetsMyIcon,
|
|
2072
|
+
WorkspacePresetsSystemIcon: WorkspacePresetsSystemIcon,
|
|
1946
2073
|
WorldMapProjection: WorldMapProjection
|
|
1947
2074
|
});
|
|
1948
2075
|
|
|
@@ -1967,7 +2094,7 @@ var ThemeTypes;
|
|
|
1967
2094
|
(function (ThemeTypes) {
|
|
1968
2095
|
ThemeTypes["DARK_THEME"] = "darkTheme";
|
|
1969
2096
|
ThemeTypes["LIGHT_THEME"] = "lightTheme";
|
|
1970
|
-
ThemeTypes["
|
|
2097
|
+
ThemeTypes["XMAS_THEME"] = "xmasTheme";
|
|
1971
2098
|
ThemeTypes["EUMETNET_THEME"] = "eumetnetTheme";
|
|
1972
2099
|
ThemeTypes["DEMO_THEME"] = "demoTheme";
|
|
1973
2100
|
})(ThemeTypes || (ThemeTypes = {}));
|
|
@@ -2461,7 +2588,10 @@ var colors$4 = {
|
|
|
2461
2588
|
textLinkActive: '#186DFF',
|
|
2462
2589
|
buttonIconTertiaryFlat: '#575F7A',
|
|
2463
2590
|
inactiveText: '#626262',
|
|
2464
|
-
iconWarning: '#ffa800'
|
|
2591
|
+
iconWarning: '#ffa800',
|
|
2592
|
+
systemScopeIcon: '#0050D9',
|
|
2593
|
+
userScopeIcon: '#22780F',
|
|
2594
|
+
sharedByOthersIcon: '#535B78'
|
|
2465
2595
|
},
|
|
2466
2596
|
textInputField: {
|
|
2467
2597
|
"default": {
|
|
@@ -3851,7 +3981,10 @@ var colors$3 = {
|
|
|
3851
3981
|
textLinkActive: '#488BFD',
|
|
3852
3982
|
buttonIconTertiaryFlat: '#C5C5C5',
|
|
3853
3983
|
inactiveText: '#b4b4b4',
|
|
3854
|
-
iconWarning: '#ffa800'
|
|
3984
|
+
iconWarning: '#ffa800',
|
|
3985
|
+
systemScopeIcon: '#4C8DFF',
|
|
3986
|
+
userScopeIcon: '#5CC45A',
|
|
3987
|
+
sharedByOthersIcon: '#A2AECF'
|
|
3855
3988
|
},
|
|
3856
3989
|
textInputField: {
|
|
3857
3990
|
"default": {
|
|
@@ -4571,7 +4704,10 @@ var colors$2 = {
|
|
|
4571
4704
|
textLinkActive: '#186DFF',
|
|
4572
4705
|
buttonIconTertiaryFlat: '#575F7A',
|
|
4573
4706
|
inactiveText: '#626262',
|
|
4574
|
-
iconWarning: '#ffa800'
|
|
4707
|
+
iconWarning: '#ffa800',
|
|
4708
|
+
systemScopeIcon: '#0050D9',
|
|
4709
|
+
userScopeIcon: '#22780F',
|
|
4710
|
+
sharedByOthersIcon: '#535B78'
|
|
4575
4711
|
},
|
|
4576
4712
|
textInputField: {
|
|
4577
4713
|
"default": {
|
|
@@ -5292,7 +5428,10 @@ var colors$1 = {
|
|
|
5292
5428
|
textLinkActive: '#004F59',
|
|
5293
5429
|
buttonIconTertiaryFlat: '#575F7A',
|
|
5294
5430
|
inactiveText: '#626262',
|
|
5295
|
-
iconWarning: '#ffa800'
|
|
5431
|
+
iconWarning: '#ffa800',
|
|
5432
|
+
systemScopeIcon: '#0050D9',
|
|
5433
|
+
userScopeIcon: '#22780F',
|
|
5434
|
+
sharedByOthersIcon: '#535B78'
|
|
5296
5435
|
},
|
|
5297
5436
|
textInputField: {
|
|
5298
5437
|
"default": {
|
|
@@ -6011,7 +6150,10 @@ var colors = Object.assign({}, colors$4, {
|
|
|
6011
6150
|
textLinkActive: '#05662a',
|
|
6012
6151
|
buttonIconTertiaryFlat: '#C5C5C5',
|
|
6013
6152
|
inactiveText: '#b4b4b4',
|
|
6014
|
-
iconWarning: '#ffa800'
|
|
6153
|
+
iconWarning: '#ffa800',
|
|
6154
|
+
systemScopeIcon: '#4C8DFF',
|
|
6155
|
+
userScopeIcon: '#5CC45A',
|
|
6156
|
+
sharedByOthersIcon: '#A2AECF'
|
|
6015
6157
|
},
|
|
6016
6158
|
textInputField: {
|
|
6017
6159
|
"default": {
|
|
@@ -6275,7 +6417,7 @@ var colors = Object.assign({}, colors$4, {
|
|
|
6275
6417
|
}
|
|
6276
6418
|
},
|
|
6277
6419
|
logo: {
|
|
6278
|
-
image: 'assets/themes/
|
|
6420
|
+
image: 'assets/themes/xmas/app_icon.png'
|
|
6279
6421
|
},
|
|
6280
6422
|
tooltips: {
|
|
6281
6423
|
tooltipContainer: {
|
|
@@ -6368,7 +6510,7 @@ var colors = Object.assign({}, colors$4, {
|
|
|
6368
6510
|
top: '-70px',
|
|
6369
6511
|
width: '100%',
|
|
6370
6512
|
height: '100%',
|
|
6371
|
-
backgroundImage: 'url("assets/themes/
|
|
6513
|
+
backgroundImage: 'url("assets/themes/xmas/xmasRibbon.png")',
|
|
6372
6514
|
backgroundRepeat: 'repeat-x',
|
|
6373
6515
|
backgroundSize: '460px',
|
|
6374
6516
|
pointerEvents: 'none',
|
|
@@ -6382,10 +6524,10 @@ var colors = Object.assign({}, colors$4, {
|
|
|
6382
6524
|
backgroundColor: '#FFFFFF'
|
|
6383
6525
|
},
|
|
6384
6526
|
festoonBackdrop: {
|
|
6385
|
-
backgroundImage: 'linear-gradient(to bottom, rgba(20, 20, 20, 0.85), rgba(255, 150, 20, 0.2)), url("assets/themes/
|
|
6527
|
+
backgroundImage: 'linear-gradient(to bottom, rgba(20, 20, 20, 0.85), rgba(255, 150, 20, 0.2)), url("assets/themes/xmas/santa100th.png")',
|
|
6386
6528
|
backgroundSize: '100%',
|
|
6387
6529
|
backgroundColor: 'rgba(0, 35, 65, 0.95)',
|
|
6388
|
-
backgroundRepeat: '
|
|
6530
|
+
backgroundRepeat: 'repeat'
|
|
6389
6531
|
}
|
|
6390
6532
|
});
|
|
6391
6533
|
// https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e694124ecf3886de76d4
|
|
@@ -6425,8 +6567,8 @@ var getThemeByName = function getThemeByName(themeName) {
|
|
|
6425
6567
|
return namedDarkTheme;
|
|
6426
6568
|
case ThemeTypes.LIGHT_THEME:
|
|
6427
6569
|
return namedLightTheme;
|
|
6428
|
-
case ThemeTypes.
|
|
6429
|
-
return
|
|
6570
|
+
case ThemeTypes.XMAS_THEME:
|
|
6571
|
+
return namedXmasTheme;
|
|
6430
6572
|
case ThemeTypes.DEMO_THEME:
|
|
6431
6573
|
return namedDemoTheme;
|
|
6432
6574
|
case ThemeTypes.EUMETNET_THEME:
|
|
@@ -6445,7 +6587,7 @@ var darkTheme = createTheme({
|
|
|
6445
6587
|
geowebColors: colors$3,
|
|
6446
6588
|
elevations: elevations$3
|
|
6447
6589
|
});
|
|
6448
|
-
var
|
|
6590
|
+
var xmasTheme = createTheme({
|
|
6449
6591
|
paletteType: 'dark',
|
|
6450
6592
|
geowebColors: colors,
|
|
6451
6593
|
elevations: elevations
|
|
@@ -6468,9 +6610,9 @@ var namedDarkTheme = {
|
|
|
6468
6610
|
name: ThemeTypes.DARK_THEME,
|
|
6469
6611
|
theme: darkTheme
|
|
6470
6612
|
};
|
|
6471
|
-
var
|
|
6472
|
-
name: ThemeTypes.
|
|
6473
|
-
theme:
|
|
6613
|
+
var namedXmasTheme = {
|
|
6614
|
+
name: ThemeTypes.XMAS_THEME,
|
|
6615
|
+
theme: xmasTheme
|
|
6474
6616
|
};
|
|
6475
6617
|
var namedDemoTheme = {
|
|
6476
6618
|
name: ThemeTypes.DEMO_THEME,
|
|
@@ -7096,25 +7238,23 @@ var EChartsLightTheme = {
|
|
|
7096
7238
|
* */
|
|
7097
7239
|
var THEME_NAMESPACE = 'theme';
|
|
7098
7240
|
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7102
|
-
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
});
|
|
7117
|
-
};
|
|
7241
|
+
/* *
|
|
7242
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7243
|
+
* you may not use this file except in compliance with the License.
|
|
7244
|
+
* You may obtain a copy of the License at
|
|
7245
|
+
*
|
|
7246
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
7247
|
+
*
|
|
7248
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
7249
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
7250
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
7251
|
+
* See the License for the specific language governing permissions and
|
|
7252
|
+
* limitations under the License.
|
|
7253
|
+
*
|
|
7254
|
+
* Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
7255
|
+
* Copyright 2024 - Finnish Meteorological Institute (FMI)
|
|
7256
|
+
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
7257
|
+
* */
|
|
7118
7258
|
// Overlay style
|
|
7119
7259
|
var useOverlayStyle = function useOverlayStyle() {
|
|
7120
7260
|
var _React$useState = React.useState({}),
|
|
@@ -7124,7 +7264,7 @@ var useOverlayStyle = function useOverlayStyle() {
|
|
|
7124
7264
|
var _useThemeContext = useThemeContext(),
|
|
7125
7265
|
namedTheme = _useThemeContext.namedTheme;
|
|
7126
7266
|
React.useEffect(function () {
|
|
7127
|
-
var isXmasStyle = !!theme.palette.geowebColors.festoonOverlay && (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.
|
|
7267
|
+
var isXmasStyle = !!theme.palette.geowebColors.festoonOverlay && (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.XMAS_THEME;
|
|
7128
7268
|
setOverlayStyle(isXmasStyle ? theme.palette.geowebColors.festoonOverlay : {});
|
|
7129
7269
|
}, [theme, namedTheme]);
|
|
7130
7270
|
return overlayStyle;
|
|
@@ -7143,7 +7283,7 @@ var useContainerStyle = function useContainerStyle() {
|
|
|
7143
7283
|
var _useThemeContext2 = useThemeContext(),
|
|
7144
7284
|
namedTheme = _useThemeContext2.namedTheme;
|
|
7145
7285
|
React.useEffect(function () {
|
|
7146
|
-
var isXmasStyle = !!theme.palette.geowebColors.festoonContainer && (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.
|
|
7286
|
+
var isXmasStyle = !!theme.palette.geowebColors.festoonContainer && (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.XMAS_THEME;
|
|
7147
7287
|
setContainerStyle(isXmasStyle ? theme.palette.geowebColors.festoonContainer : {});
|
|
7148
7288
|
}, [theme, namedTheme]);
|
|
7149
7289
|
return containerStyle;
|
|
@@ -7162,7 +7302,7 @@ var useBackdropStyle = function useBackdropStyle() {
|
|
|
7162
7302
|
var _useThemeContext3 = useThemeContext(),
|
|
7163
7303
|
namedTheme = _useThemeContext3.namedTheme;
|
|
7164
7304
|
React.useEffect(function () {
|
|
7165
|
-
var isXmasThemeStyle =
|
|
7305
|
+
var isXmasThemeStyle = (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.XMAS_THEME && !!theme.palette.geowebColors.festoonBackdrop;
|
|
7166
7306
|
setBackdropStyle(isXmasThemeStyle ? theme.palette.geowebColors.festoonBackdrop : {});
|
|
7167
7307
|
}, [theme, namedTheme]);
|
|
7168
7308
|
return backdropStyle;
|
|
@@ -7172,24 +7312,5 @@ var BackdropStyle = function BackdropStyle() {
|
|
|
7172
7312
|
var style = useBackdropStyle();
|
|
7173
7313
|
return style === {} ? defaultStyle : style;
|
|
7174
7314
|
};
|
|
7175
|
-
// Backdrop element
|
|
7176
|
-
var useBackdropElement = function useBackdropElement() {
|
|
7177
|
-
var _React$useState4 = React.useState(null),
|
|
7178
|
-
backdropElement = _React$useState4[0],
|
|
7179
|
-
setBackdropElement = _React$useState4[1];
|
|
7180
|
-
var theme = useTheme();
|
|
7181
|
-
var _useThemeContext4 = useThemeContext(),
|
|
7182
|
-
namedTheme = _useThemeContext4.namedTheme;
|
|
7183
|
-
React.useEffect(function () {
|
|
7184
|
-
var isXmasThemeElem = !!theme.palette.geowebColors.festoonBackdrop && (namedTheme == null ? void 0 : namedTheme.name) === ThemeTypes.XMAS2024_THEME;
|
|
7185
|
-
setBackdropElement(isXmasThemeElem ? getSnowflakes() : null);
|
|
7186
|
-
}, [theme, namedTheme]);
|
|
7187
|
-
return backdropElement;
|
|
7188
|
-
};
|
|
7189
|
-
var BackdropElement = function BackdropElement() {
|
|
7190
|
-
var defaultElem = null;
|
|
7191
|
-
var elem = useBackdropElement();
|
|
7192
|
-
return elem != null ? elem : defaultElem;
|
|
7193
|
-
};
|
|
7194
7315
|
|
|
7195
|
-
export { Add, Admin, Animation, ArrowDown, ArrowDownCompact, ArrowDropDownDown, ArrowDropDownUp, ArrowLeft, ArrowRight, ArrowUp, ArrowUpCompact, AutoUpdateActive, AutoUpdateInActive,
|
|
7316
|
+
export { Add, Admin, Animation, ArrowDown, ArrowDownCompact, ArrowDropDownDown, ArrowDropDownUp, ArrowLeft, ArrowRight, ArrowUp, ArrowUpCompact, AutoUpdateActive, AutoUpdateInActive, BackdropStyle, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CloudIdle, CloudLoading, CoastalEvent, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, ColumnCollapse, ColumnCollapsed, ContainerStyle, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, DrawToolCircle, DrawToolFreehand, DrawToolLineString, DrawToolOval, DrawToolPoint, DrawToolPolygon, DrawToolRectangle, DrawToolSquare, EChartsDarkTheme, EChartsLightTheme, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Expire, Export, FastForward, Filter, FlagBritain, FlagFinland, FlagNetherlands, FlagNorway, Fog, FreezingPrecipitation, FunnelCloud, GeoWebLogo, HamburgerMenu, Haze, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, LayersAdd, Lightning, Link, LinkOff, List, ListItem, Location, LockLocked, LockUnlocked, MapAdd, Menu, MeteoGate, Minus, ModerateAircraftIcing, ModerateTurbulence, MyLocation, None, Notifications, Now, Options, OverlayStyle, Overlayers, Pause, Picture, Play, Polygons, RadioactiveMaterials, Rain, Remove, Resize, SandStorm, Search, SevereAircraftIcing, SevereMountainWaves, SevereTurbulence, SevereWaves, Share, SharedPresetsMyUser, SharedPresetsOtherUsers, SliderThumb, Snow, Sources, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, THEME_NAMESPACE, TemperatureHigh, TemperatureLow, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThumbsUp, Thunderstorm, TimeSeriesSelect, UnExpand, Update, Visibility, VisibilityOff, VulcanicEruption, WebAssetOff, Wind, WorkspacePresetsMyIcon, WorkspacePresetsSystemIcon, WorldMapProjection, arrowUpPath, breakpoints, colors$4 as colorsLight, createShadows, createTheme, darkTheme, demoTheme, dragHandlePath, elevations$4 as elevationsLight, eumetnetTheme, getThemeByName, lightTheme, locationPath, namedDarkTheme, namedDemoTheme, namedEumetnetTheme, namedLightTheme, namedXmasTheme, parseColors, themeTranslations, useThemeContext, xmasTheme };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opengeoweb/theme",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0",
|
|
4
4
|
"description": "GeoWeb Theme library for the opengeoweb project",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
"@mui/x-date-pickers": "^8.11.2",
|
|
13
13
|
"i18next": "^25.0.1",
|
|
14
14
|
"@mui/material": "^7.0.1",
|
|
15
|
-
"react-i18next": "^15.1.1"
|
|
16
|
-
"lodash": "^4.17.21"
|
|
15
|
+
"react-i18next": "^15.1.1"
|
|
17
16
|
},
|
|
18
17
|
"peerDependencies": {
|
|
19
18
|
"react": "18",
|
package/src/index.d.ts
CHANGED
|
@@ -11,4 +11,4 @@ export * from './lib/types';
|
|
|
11
11
|
export * from './lib/utils/EChartsThemes';
|
|
12
12
|
export { THEME_NAMESPACE } from './lib/utils/i18n';
|
|
13
13
|
export { themeTranslations };
|
|
14
|
-
export { OverlayStyle, ContainerStyle, BackdropStyle,
|
|
14
|
+
export { OverlayStyle, ContainerStyle, BackdropStyle, } from './lib/utils/themes/BackdropDecoration';
|
|
@@ -66,9 +66,6 @@ interface ResizeIconProps extends SvgIconProps {
|
|
|
66
66
|
isRightAligned?: boolean;
|
|
67
67
|
}
|
|
68
68
|
export declare const Resize: ({ isRightAligned, sx, ...props }: ResizeIconProps) => React.ReactElement;
|
|
69
|
-
export declare const PresetWorkspace: (props: SvgIconProps) => React.ReactElement;
|
|
70
|
-
export declare const Preset: (props: SvgIconProps) => React.ReactElement;
|
|
71
|
-
export declare const PresetTiles: (props: SvgIconProps) => React.ReactElement;
|
|
72
69
|
export declare const List: React.FC;
|
|
73
70
|
export declare const Home: React.FC;
|
|
74
71
|
export declare const Minus: React.FC;
|
|
@@ -139,4 +136,14 @@ export declare const Sources: (props: SvgIconProps) => React.ReactElement;
|
|
|
139
136
|
export declare const MeteoGate: (props: SvgIconProps) => React.ReactElement;
|
|
140
137
|
export declare const Overlayers: (props: SvgIconProps) => React.ReactElement;
|
|
141
138
|
export declare const SevereMountainWaves: (props: SvgIconProps) => React.ReactElement;
|
|
139
|
+
export declare const WorkspacePresetsSystemIcon: (props: SvgIconProps) => React.ReactElement;
|
|
140
|
+
export declare const WorkspacePresetsMyIcon: (props: SvgIconProps) => React.ReactElement;
|
|
141
|
+
export declare const DrawToolPolygon: (props: SvgIconProps) => React.ReactElement;
|
|
142
|
+
export declare const DrawToolSquare: (props: SvgIconProps) => React.ReactElement;
|
|
143
|
+
export declare const DrawToolRectangle: (props: SvgIconProps) => React.ReactElement;
|
|
144
|
+
export declare const DrawToolFreehand: (props: SvgIconProps) => React.ReactElement;
|
|
145
|
+
export declare const DrawToolCircle: (props: SvgIconProps) => React.ReactElement;
|
|
146
|
+
export declare const DrawToolPoint: (props: SvgIconProps) => React.ReactElement;
|
|
147
|
+
export declare const DrawToolOval: (props: SvgIconProps) => React.ReactElement;
|
|
148
|
+
export declare const DrawToolLineString: (props: SvgIconProps) => React.ReactElement;
|
|
142
149
|
export {};
|
package/src/lib/types.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface NamedTheme {
|
|
|
11
11
|
export declare enum ThemeTypes {
|
|
12
12
|
DARK_THEME = "darkTheme",
|
|
13
13
|
LIGHT_THEME = "lightTheme",
|
|
14
|
-
|
|
14
|
+
XMAS_THEME = "xmasTheme",
|
|
15
15
|
EUMETNET_THEME = "eumetnetTheme",
|
|
16
16
|
DEMO_THEME = "demoTheme"
|
|
17
17
|
}
|
|
@@ -64,6 +64,9 @@ export interface GeowebColorPalette {
|
|
|
64
64
|
textLinkActive: CSSProperties['color'];
|
|
65
65
|
buttonIconTertiaryFlat: CSSProperties['color'];
|
|
66
66
|
inactiveText: CSSProperties['color'];
|
|
67
|
+
systemScopeIcon: CSSProperties['color'];
|
|
68
|
+
userScopeIcon: CSSProperties['color'];
|
|
69
|
+
sharedByOthersIcon: CSSProperties['color'];
|
|
67
70
|
};
|
|
68
71
|
textInputField: {
|
|
69
72
|
default: CSSProperties;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './xmas2024/snowflake.css';
|
|
3
1
|
import type { CSSProperties } from '../../types';
|
|
4
2
|
export declare const OverlayStyle: () => CSSProperties | undefined;
|
|
5
3
|
export declare const ContainerStyle: () => CSSProperties | undefined;
|
|
6
4
|
export declare const BackdropStyle: () => CSSProperties | undefined;
|
|
7
|
-
export declare const BackdropElement: () => React.JSX.Element[] | null;
|
|
@@ -4,7 +4,7 @@ import { ThemeTypes } from '../../types';
|
|
|
4
4
|
export declare const getThemeByName: (themeName: ThemeTypes) => NamedTheme;
|
|
5
5
|
export declare const lightTheme: import("@mui/material").Theme;
|
|
6
6
|
export declare const darkTheme: import("@mui/material").Theme;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const xmasTheme: import("@mui/material").Theme;
|
|
8
8
|
export declare const demoTheme: import("@mui/material").Theme;
|
|
9
9
|
export declare const eumetnetTheme: import("@mui/material").Theme;
|
|
10
10
|
export declare const namedLightTheme: {
|
|
@@ -15,7 +15,7 @@ export declare const namedDarkTheme: {
|
|
|
15
15
|
name: ThemeTypes;
|
|
16
16
|
theme: import("@mui/material").Theme;
|
|
17
17
|
};
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const namedXmasTheme: {
|
|
19
19
|
name: ThemeTypes;
|
|
20
20
|
theme: import("@mui/material").Theme;
|
|
21
21
|
};
|
package/index.esm.css
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* *
|
|
2
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
* you may not use this file except in compliance with the License.
|
|
4
|
-
* You may obtain a copy of the License at
|
|
5
|
-
*
|
|
6
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
*
|
|
8
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
* See the License for the specific language governing permissions and
|
|
12
|
-
* limitations under the License.
|
|
13
|
-
*
|
|
14
|
-
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
15
|
-
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
16
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
17
|
-
* */
|
|
18
|
-
|
|
19
|
-
.snowflake {
|
|
20
|
-
color: rgb(207, 220, 249);
|
|
21
|
-
width: 10px;
|
|
22
|
-
height: 10px;
|
|
23
|
-
opacity: 50%;
|
|
24
|
-
position: fixed;
|
|
25
|
-
pointer-events: none;
|
|
26
|
-
z-index: 9001;
|
|
27
|
-
animation:
|
|
28
|
-
snow-fall var(--fall-duration) linear var(--fall-delay) infinite forwards,
|
|
29
|
-
snow-sway 5s ease-in-out var(--sway-delay) infinite alternate;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@keyframes snow-sway {
|
|
33
|
-
to {
|
|
34
|
-
transform: translateX(20px);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@keyframes snow-fall {
|
|
39
|
-
from {
|
|
40
|
-
top: -2vw;
|
|
41
|
-
}
|
|
42
|
-
to {
|
|
43
|
-
top: 100%;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
File without changes
|