@evergis/react 2.0.50 → 2.0.53

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.
@@ -45,7 +45,7 @@ var PointEditor = require('@evergis/sgis/es/controls/PointEditor');
45
45
  var utils = require('@evergis/sgis/es/utils/utils');
46
46
  var styled = require('styled-components');
47
47
  var styled__default = _interopDefault(styled);
48
- var icons = require('@evergis/icons');
48
+ var ui = require('@evergis/ui');
49
49
  var punycode = _interopDefault(require('punycode'));
50
50
  var TileLayer$1 = require('@evergis/sgis/es/layers/TileLayer');
51
51
  var PolylineControl = require('@evergis/sgis/es/controls/PolylineControl');
@@ -632,21 +632,6 @@ let ClassificationCondition = /*#__PURE__*/function () {
632
632
  }
633
633
 
634
634
  _createClass(ClassificationCondition, [{
635
- key: "isUnique",
636
- value: function isUnique() {
637
- return this.leftExpression.operation === condition.TokenType.ArEq;
638
- }
639
- }, {
640
- key: "isRange",
641
- value: function isRange() {
642
- return [condition.TokenType.ArGr, condition.TokenType.ArGre, condition.TokenType.ArLs, condition.TokenType.ArLse].includes(this.leftExpression.operation);
643
- }
644
- }, {
645
- key: "toString",
646
- value: function toString() {
647
- return this.condition;
648
- }
649
- }, {
650
635
  key: "attributeName",
651
636
  get: function get() {
652
637
  return this.leftExpression.attribute;
@@ -702,6 +687,21 @@ let ClassificationCondition = /*#__PURE__*/function () {
702
687
  /* Range */
703
688
  ;
704
689
  }
690
+ }, {
691
+ key: "isUnique",
692
+ value: function isUnique() {
693
+ return this.leftExpression.operation === condition.TokenType.ArEq;
694
+ }
695
+ }, {
696
+ key: "isRange",
697
+ value: function isRange() {
698
+ return [condition.TokenType.ArGr, condition.TokenType.ArGre, condition.TokenType.ArLs, condition.TokenType.ArLse].includes(this.leftExpression.operation);
699
+ }
700
+ }, {
701
+ key: "toString",
702
+ value: function toString() {
703
+ return this.condition;
704
+ }
705
705
  }, {
706
706
  key: "leftExpression",
707
707
  get: function get() {
@@ -894,6 +894,11 @@ let ClassificationManager = /*#__PURE__*/function () {
894
894
  }
895
895
 
896
896
  _createClass(ClassificationManager, [{
897
+ key: "values",
898
+ get: function get() {
899
+ return this.classifications;
900
+ }
901
+ }, {
897
902
  key: "find",
898
903
  value: function find(predicate) {
899
904
  for (const classification of this.classifications) {
@@ -935,11 +940,6 @@ let ClassificationManager = /*#__PURE__*/function () {
935
940
  this.classifications.push(...getClassifications(this.style.symbol));
936
941
  }
937
942
  }
938
- }, {
939
- key: "values",
940
- get: function get() {
941
- return this.classifications;
942
- }
943
943
  }]);
944
944
 
945
945
  return ClassificationManager;
@@ -1064,6 +1064,7 @@ const mergeAttributes = (attributes1, attributes2) => {
1064
1064
  }) || {}));
1065
1065
  };
1066
1066
 
1067
+ const _excluded = ["ignoreLabel", "label", "symbol", "raster", "children"];
1067
1068
  const createCompositeSymbol = childSymbols => ({
1068
1069
  type: 'compositeSymbol',
1069
1070
  childSymbols
@@ -1101,7 +1102,7 @@ const packStyle = style => {
1101
1102
  raster,
1102
1103
  children
1103
1104
  } = style,
1104
- styleDc = _objectWithoutPropertiesLoose(style, ["ignoreLabel", "label", "symbol", "raster", "children"]);
1105
+ styleDc = _objectWithoutPropertiesLoose(style, _excluded);
1105
1106
 
1106
1107
  const childSymbols = [!ignoreLabel && label, raster].filter(Boolean);
1107
1108
  return _extends({}, styleDc, {
@@ -1533,6 +1534,11 @@ let ArrowLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1533
1534
  }
1534
1535
 
1535
1536
  _createClass(ArrowLineMiterRender, [{
1537
+ key: "usageSize",
1538
+ get: function get() {
1539
+ return this.miterSize + this.strokeWidth;
1540
+ }
1541
+ }, {
1536
1542
  key: "createRings",
1537
1543
  value: function createRings(_ref, xMultiplier) {
1538
1544
  let [x, y] = _ref;
@@ -1552,11 +1558,6 @@ let ArrowLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1552
1558
  strokeWidth: this.strokeWidth
1553
1559
  });
1554
1560
  }
1555
- }, {
1556
- key: "usageSize",
1557
- get: function get() {
1558
- return this.miterSize + this.strokeWidth;
1559
- }
1560
1561
  }]);
1561
1562
 
1562
1563
  return ArrowLineMiterRender;
@@ -1574,6 +1575,11 @@ let CircleLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1574
1575
  }
1575
1576
 
1576
1577
  _createClass(CircleLineMiterRender, [{
1578
+ key: "usageSize",
1579
+ get: function get() {
1580
+ return this.miterSize + this.strokeWidth * 3;
1581
+ }
1582
+ }, {
1577
1583
  key: "createRings",
1578
1584
  value: function createRings(_ref, xMultiplier) {
1579
1585
  let [x, y] = _ref;
@@ -1590,11 +1596,6 @@ let CircleLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1590
1596
  enclosed: true
1591
1597
  });
1592
1598
  }
1593
- }, {
1594
- key: "usageSize",
1595
- get: function get() {
1596
- return this.miterSize + this.strokeWidth * 3;
1597
- }
1598
1599
  }]);
1599
1600
 
1600
1601
  return CircleLineMiterRender;
@@ -1612,6 +1613,11 @@ let SquareLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1612
1613
  }
1613
1614
 
1614
1615
  _createClass(SquareLineMiterRender, [{
1616
+ key: "usageSize",
1617
+ get: function get() {
1618
+ return this.miterSize + this.strokeWidth;
1619
+ }
1620
+ }, {
1615
1621
  key: "createRings",
1616
1622
  value: function createRings(_ref, xMultiplier) {
1617
1623
  let [x, y] = _ref;
@@ -1631,11 +1637,6 @@ let SquareLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1631
1637
  strokeWidth: this.strokeWidth
1632
1638
  });
1633
1639
  }
1634
- }, {
1635
- key: "usageSize",
1636
- get: function get() {
1637
- return this.miterSize + this.strokeWidth;
1638
- }
1639
1640
  }]);
1640
1641
 
1641
1642
  return SquareLineMiterRender;
@@ -2323,7 +2324,7 @@ let SVGPoly = /*#__PURE__*/function (_Symbol) {
2323
2324
  }
2324
2325
 
2325
2326
  const polygon = feature.projectTo(bbox.crs);
2326
- const radiusOffset = ((_this$pathStyles = this.pathStyles) == null ? void 0 : _this$pathStyles.radius) ? ((_this$pathStyles2 = this.pathStyles) == null ? void 0 : _this$pathStyles2.radius) + (((_this$pathStyles3 = this.pathStyles) == null ? void 0 : _this$pathStyles3.strokeWidth) ? ((_this$pathStyles4 = this.pathStyles) == null ? void 0 : _this$pathStyles4.strokeWidth) / 2 : 0) : 0;
2327
+ const radiusOffset = (_this$pathStyles = this.pathStyles) != null && _this$pathStyles.radius ? ((_this$pathStyles2 = this.pathStyles) == null ? void 0 : _this$pathStyles2.radius) + ((_this$pathStyles3 = this.pathStyles) != null && _this$pathStyles3.strokeWidth ? ((_this$pathStyles4 = this.pathStyles) == null ? void 0 : _this$pathStyles4.strokeWidth) / 2 : 0) : 0;
2327
2328
  const dx = Math.round((polygon.bbox.xMin - bbox.xMin) / resolution) - radiusOffset;
2328
2329
  const dy = Math.round((bbox.yMax - polygon.bbox.yMax) / resolution) - radiusOffset;
2329
2330
  this.container.style.left = dx.toString() + "px";
@@ -3934,16 +3935,8 @@ const Symbol = (_ref) => {
3934
3935
  });
3935
3936
  };
3936
3937
 
3937
- function _templateObject() {
3938
- const data = _taggedTemplateLiteralLoose(["\n background: ", ";\n height: 32px;\n width: 32px;\n"]);
3939
-
3940
- _templateObject = function _templateObject() {
3941
- return data;
3942
- };
3943
-
3944
- return data;
3945
- }
3946
- const CompoundIcon = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject(), (_ref) => {
3938
+ var _templateObject;
3939
+ const CompoundIcon = /*#__PURE__*/styled__default.div(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background: ", ";\n height: 32px;\n width: 32px;\n"])), (_ref) => {
3947
3940
  let {
3948
3941
  geometryType,
3949
3942
  icons
@@ -3973,236 +3966,44 @@ const StyleSymbol = (_ref) => {
3973
3966
  }) : null));
3974
3967
  };
3975
3968
 
3976
- function _templateObject21() {
3977
- const data = _taggedTemplateLiteralLoose([""]);
3978
-
3979
- _templateObject21 = function _templateObject21() {
3980
- return data;
3981
- };
3982
-
3983
- return data;
3984
- }
3985
-
3986
- function _templateObject20() {
3987
- const data = _taggedTemplateLiteralLoose([""]);
3988
-
3989
- _templateObject20 = function _templateObject20() {
3990
- return data;
3991
- };
3992
-
3993
- return data;
3994
- }
3995
-
3996
- function _templateObject19() {
3997
- const data = _taggedTemplateLiteralLoose([""]);
3998
-
3999
- _templateObject19 = function _templateObject19() {
4000
- return data;
4001
- };
4002
-
4003
- return data;
4004
- }
4005
-
4006
- function _templateObject18() {
4007
- const data = _taggedTemplateLiteralLoose([""]);
4008
-
4009
- _templateObject18 = function _templateObject18() {
4010
- return data;
4011
- };
4012
-
4013
- return data;
4014
- }
4015
-
4016
- function _templateObject17() {
4017
- const data = _taggedTemplateLiteralLoose([""]);
4018
-
4019
- _templateObject17 = function _templateObject17() {
4020
- return data;
4021
- };
4022
-
4023
- return data;
4024
- }
4025
-
4026
- function _templateObject16() {
4027
- const data = _taggedTemplateLiteralLoose(["\n padding: 0 0.25rem;\n color: #1fb3aa;\n text-decoration: none;\n"]);
4028
-
4029
- _templateObject16 = function _templateObject16() {
4030
- return data;
4031
- };
4032
-
4033
- return data;
4034
- }
4035
-
4036
- function _templateObject15() {
4037
- const data = _taggedTemplateLiteralLoose([""]);
4038
-
4039
- _templateObject15 = function _templateObject15() {
4040
- return data;
4041
- };
4042
-
4043
- return data;
4044
- }
4045
-
4046
- function _templateObject14() {
4047
- const data = _taggedTemplateLiteralLoose(["\n flex-wrap: wrap;\n display: flex;\n"]);
4048
-
4049
- _templateObject14 = function _templateObject14() {
4050
- return data;
4051
- };
4052
-
4053
- return data;
4054
- }
4055
-
4056
- function _templateObject13() {
4057
- const data = _taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n margin: 0.25rem 0;\n"]);
4058
-
4059
- _templateObject13 = function _templateObject13() {
4060
- return data;
4061
- };
4062
-
4063
- return data;
4064
- }
4065
-
4066
- function _templateObject12() {
4067
- const data = _taggedTemplateLiteralLoose(["\n padding-bottom: 0.5rem;\n"]);
4068
-
4069
- _templateObject12 = function _templateObject12() {
4070
- return data;
4071
- };
4072
-
4073
- return data;
4074
- }
4075
-
4076
- function _templateObject11() {
4077
- const data = _taggedTemplateLiteralLoose(["\n padding: 1rem 1.5rem;\n overflow-y: scroll;\n"]);
4078
-
4079
- _templateObject11 = function _templateObject11() {
4080
- return data;
4081
- };
4082
-
4083
- return data;
4084
- }
4085
-
4086
- function _templateObject10() {
4087
- const data = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n padding: 0 0.25rem;\n color: #1fb3aa;\n"]);
4088
-
4089
- _templateObject10 = function _templateObject10() {
4090
- return data;
4091
- };
4092
-
4093
- return data;
4094
- }
4095
-
4096
- function _templateObject9() {
4097
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n"]);
4098
-
4099
- _templateObject9 = function _templateObject9() {
4100
- return data;
4101
- };
4102
-
4103
- return data;
4104
- }
4105
-
4106
- function _templateObject8() {
4107
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n height: 2.5rem;\n padding: 0 1.5rem;\n align-items: center;\n font-size: 0.75rem;\n justify-content: space-between;\n background: linear-gradient(\n 0deg,\n rgba(161, 186, 208, 0.12),\n rgba(161, 186, 208, 0.12)\n );\n"]);
4108
-
4109
- _templateObject8 = function _templateObject8() {
4110
- return data;
4111
- };
4112
-
4113
- return data;
4114
- }
4115
-
4116
- function _templateObject7() {
4117
- const data = _taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n"]);
4118
-
4119
- _templateObject7 = function _templateObject7() {
4120
- return data;
4121
- };
4122
-
4123
- return data;
4124
- }
4125
-
4126
- function _templateObject6() {
4127
- const data = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]);
4128
-
4129
- _templateObject6 = function _templateObject6() {
4130
- return data;
4131
- };
4132
-
4133
- return data;
4134
- }
4135
-
4136
- function _templateObject5() {
4137
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n\n ", " {\n margin: 0 0.5rem;\n }\n"]);
4138
-
4139
- _templateObject5 = function _templateObject5() {
4140
- return data;
4141
- };
4142
-
4143
- return data;
4144
- }
4145
-
4146
- function _templateObject4() {
4147
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0 0.5rem;\n width: 13.5rem;\n flex-grow: 1;\n"]);
4148
-
4149
- _templateObject4 = function _templateObject4() {
4150
- return data;
4151
- };
4152
-
4153
- return data;
4154
- }
4155
-
4156
- function _templateObject3() {
4157
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n padding: 1.5rem 1.5rem 1rem;\n align-items: center;\n"]);
4158
-
4159
- _templateObject3 = function _templateObject3() {
4160
- return data;
4161
- };
4162
-
4163
- return data;
4164
- }
4165
-
4166
- function _templateObject2() {
4167
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"]);
4168
-
4169
- _templateObject2 = function _templateObject2() {
4170
- return data;
4171
- };
4172
-
4173
- return data;
4174
- }
4175
-
4176
- function _templateObject$1() {
4177
- const data = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 2.25rem;\n right: 0.5rem;\n width: 22.5rem;\n margin-bottom: 1rem;\n max-height: 90%;\n min-height: 1rem;\n background: #fff;\n border-radius: 4px;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n overflow: initial;\n box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);\n\n ", " {\n color: rgba(0, 0, 0, 0.65);\n cursor: pointer;\n user-select: none;\n\n &:hover {\n color: #1fb3aa;\n }\n }\n"]);
4178
-
4179
- _templateObject$1 = function _templateObject() {
4180
- return data;
4181
- };
4182
-
4183
- return data;
4184
- }
4185
- const EvergisCardContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject$1(), icons.Icon);
4186
- const StickyHeader = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject2());
4187
- const CardHeader = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject3());
4188
- const CardTitle = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject4());
4189
- const CardControls = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject5(), icons.Icon);
4190
- const FeatureName = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject6());
4191
- const LayerName = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject7());
4192
- const CardPagination = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject8());
4193
- const PaginationDescription = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject9());
4194
- const CurrentFeatureIndex = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject10());
4195
- const CardAttributes = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject11());
4196
- const AttributeContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject12());
4197
- const AttributeTitle = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject13());
4198
- const AttributeValueContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject14());
4199
- const SimpleAttribute = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject15());
4200
- const ValueLink = /*#__PURE__*/styled__default.a( /*#__PURE__*/_templateObject16());
4201
- const StatIcon = /*#__PURE__*/styled__default(icons.EverCloudStatisticsIcon)( /*#__PURE__*/_templateObject17());
4202
- const ZoomIcon = /*#__PURE__*/styled__default(icons.EverCloudZoomtoIcon)( /*#__PURE__*/_templateObject18());
4203
- const CloseIcon = /*#__PURE__*/styled__default(icons.EverCloudCloseIcon)( /*#__PURE__*/_templateObject19());
4204
- const PrevIcon = /*#__PURE__*/styled__default(icons.EverCloudPlayPrevIcon)( /*#__PURE__*/_templateObject20());
4205
- const NextIcon = /*#__PURE__*/styled__default(icons.EverCloudPlayNextIcon)( /*#__PURE__*/_templateObject21());
3969
+ var _templateObject$1, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22;
3970
+ const EvergisCardContainer = /*#__PURE__*/styled__default.div(_templateObject$1 || (_templateObject$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 2.25rem;\n right: 0.5rem;\n width: 22.5rem;\n margin-bottom: 1rem;\n max-height: 90%;\n min-height: 1rem;\n background: #fff;\n border-radius: 4px;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n overflow: initial;\n box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);\n\n ", " {\n color: rgba(0, 0, 0, 0.65);\n cursor: pointer;\n user-select: none;\n\n &:hover {\n color: #1fb3aa;\n }\n }\n"])), ui.Icon);
3971
+ const StickyHeader = /*#__PURE__*/styled__default.div(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"])));
3972
+ const CardHeader = /*#__PURE__*/styled__default.div(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n padding: 1.5rem 1.5rem 1rem;\n align-items: center;\n"])));
3973
+ const CardTitle = /*#__PURE__*/styled__default.div(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0 0.5rem;\n width: 13.5rem;\n flex-grow: 1;\n"])));
3974
+ const CardControls = /*#__PURE__*/styled__default.div(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n\n ", " {\n margin: 0 0.5rem;\n }\n"])), ui.Icon);
3975
+ const FeatureName = /*#__PURE__*/styled__default.div(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
3976
+ const LayerName = /*#__PURE__*/styled__default.div(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n"])));
3977
+ const CardPagination = /*#__PURE__*/styled__default.div(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n height: 2.5rem;\n padding: 0 1.5rem;\n align-items: center;\n font-size: 0.75rem;\n justify-content: space-between;\n background: linear-gradient(\n 0deg,\n rgba(161, 186, 208, 0.12),\n rgba(161, 186, 208, 0.12)\n );\n"])));
3978
+ const PaginationDescription = /*#__PURE__*/styled__default.div(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n"])));
3979
+ const CurrentFeatureIndex = /*#__PURE__*/styled__default.div(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: pointer;\n padding: 0 0.25rem;\n color: #1fb3aa;\n"])));
3980
+ const CardAttributes = /*#__PURE__*/styled__default.div(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 1rem 1.5rem;\n overflow-y: scroll;\n"])));
3981
+ const AttributeContainer = /*#__PURE__*/styled__default.div(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 0.5rem;\n"])));
3982
+ const AttributeTitle = /*#__PURE__*/styled__default.div(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n margin: 0.25rem 0;\n"])));
3983
+ const AttributeValueContainer = /*#__PURE__*/styled__default.div(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex-wrap: wrap;\n display: flex;\n"])));
3984
+ const SimpleAttribute = /*#__PURE__*/styled__default.div(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
3985
+ const ValueLink = /*#__PURE__*/styled__default.a(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0 0.25rem;\n color: #1fb3aa;\n text-decoration: none;\n"])));
3986
+ const featureCardIconMixin = /*#__PURE__*/styled.css(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n"])));
3987
+ const StatIcon = /*#__PURE__*/styled__default(ui.Icon)(_templateObject18 || (_templateObject18 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
3988
+ StatIcon.defaultProps = {
3989
+ kind: "statistics"
3990
+ };
3991
+ const ZoomIcon = /*#__PURE__*/styled__default(ui.Icon)(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
3992
+ ZoomIcon.defaultProps = {
3993
+ kind: "plus"
3994
+ };
3995
+ const CloseIcon = /*#__PURE__*/styled__default(ui.Icon)(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
3996
+ CloseIcon.defaultProps = {
3997
+ kind: "close"
3998
+ };
3999
+ const PrevIcon = /*#__PURE__*/styled__default(ui.Icon)(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
4000
+ PrevIcon.defaultProps = {
4001
+ kind: "prev"
4002
+ };
4003
+ const NextIcon = /*#__PURE__*/styled__default(ui.Icon)(_templateObject22 || (_templateObject22 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
4004
+ NextIcon.defaultProps = {
4005
+ kind: "next"
4006
+ };
4206
4007
 
4207
4008
  const MailValue = (_ref) => {
4208
4009
  let {
@@ -4346,13 +4147,14 @@ const StyledCard = (_ref) => {
4346
4147
  })));
4347
4148
  };
4348
4149
 
4150
+ const _excluded$1 = ["renderCard", "className", "children"];
4349
4151
  const EvergisCard = (_ref) => {
4350
4152
  let {
4351
4153
  renderCard,
4352
4154
  className,
4353
4155
  children
4354
4156
  } = _ref,
4355
- props = _objectWithoutPropertiesLoose(_ref, ["renderCard", "className", "children"]);
4157
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
4356
4158
 
4357
4159
  const {
4358
4160
  features = []
@@ -4416,13 +4218,14 @@ const EvergisTileLayer = props => {
4416
4218
  return null;
4417
4219
  };
4418
4220
 
4221
+ const _excluded$2 = ["maskUrl", "zIndex", "isDisplayed"];
4419
4222
  function useTileLayer(_ref) {
4420
4223
  let {
4421
4224
  maskUrl,
4422
4225
  zIndex,
4423
4226
  isDisplayed
4424
4227
  } = _ref,
4425
- tileLayerParams = _objectWithoutPropertiesLoose(_ref, ["maskUrl", "zIndex", "isDisplayed"]);
4228
+ tileLayerParams = _objectWithoutPropertiesLoose(_ref, _excluded$2);
4426
4229
 
4427
4230
  const {
4428
4231
  map
@@ -4470,60 +4273,12 @@ const EvergisSelect = (_ref) => {
4470
4273
  }));
4471
4274
  };
4472
4275
 
4473
- function _templateObject5$1() {
4474
- const data = _taggedTemplateLiteralLoose(["\n margin-top: 0.5rem;\n font-size: 0.75rem;\n"]);
4475
-
4476
- _templateObject5$1 = function _templateObject5() {
4477
- return data;
4478
- };
4479
-
4480
- return data;
4481
- }
4482
-
4483
- function _templateObject4$1() {
4484
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 0.625rem;\n padding: 0.125rem 0;\n\n ", " {\n padding-left: 0.5rem;\n }\n"]);
4485
-
4486
- _templateObject4$1 = function _templateObject4() {
4487
- return data;
4488
- };
4489
-
4490
- return data;
4491
- }
4492
-
4493
- function _templateObject3$1() {
4494
- const data = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n"]);
4495
-
4496
- _templateObject3$1 = function _templateObject3() {
4497
- return data;
4498
- };
4499
-
4500
- return data;
4501
- }
4502
-
4503
- function _templateObject2$1() {
4504
- const data = _taggedTemplateLiteralLoose([""]);
4505
-
4506
- _templateObject2$1 = function _templateObject2() {
4507
- return data;
4508
- };
4509
-
4510
- return data;
4511
- }
4512
-
4513
- function _templateObject$2() {
4514
- const data = _taggedTemplateLiteralLoose(["\n background-color: #fff;\n\n canvas {\n border-radius: 0.125rem;\n }\n"]);
4515
-
4516
- _templateObject$2 = function _templateObject() {
4517
- return data;
4518
- };
4519
-
4520
- return data;
4521
- }
4522
- const LegendContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject$2());
4523
- const LegendSectionContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject2$1());
4524
- const LegendSymbolTitle = /*#__PURE__*/styled__default.p( /*#__PURE__*/_templateObject3$1());
4525
- const LegendValueContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject4$1(), LegendSymbolTitle);
4526
- const LegendSectionHeader = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject5$1());
4276
+ var _templateObject$2, _templateObject2$1, _templateObject3$1, _templateObject4$1, _templateObject5$1;
4277
+ const LegendContainer = /*#__PURE__*/styled__default.div(_templateObject$2 || (_templateObject$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: #fff;\n\n canvas {\n border-radius: 0.125rem;\n }\n"])));
4278
+ const LegendSectionContainer = /*#__PURE__*/styled__default.div(_templateObject2$1 || (_templateObject2$1 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
4279
+ const LegendSymbolTitle = /*#__PURE__*/styled__default.p(_templateObject3$1 || (_templateObject3$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n"])));
4280
+ const LegendValueContainer = /*#__PURE__*/styled__default.div(_templateObject4$1 || (_templateObject4$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 0.625rem;\n padding: 0.125rem 0;\n\n ", " {\n padding-left: 0.5rem;\n }\n"])), LegendSymbolTitle);
4281
+ const LegendSectionHeader = /*#__PURE__*/styled__default.div(_templateObject5$1 || (_templateObject5$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 0.5rem;\n font-size: 0.75rem;\n"])));
4527
4282
 
4528
4283
  const LegendSection = (_ref) => {
4529
4284
  let {
@@ -4534,38 +4289,13 @@ const LegendSection = (_ref) => {
4534
4289
  return React__default.createElement(LegendSectionContainer, null, React__default.createElement(LegendSectionHeader, null, renderLegendTitle ? renderLegendTitle(item) : item.title), item.values.map(children));
4535
4290
  };
4536
4291
 
4537
- function _templateObject3$2() {
4538
- const data = _taggedTemplateLiteralLoose(["\n color: rgba(48, 69, 79, 0.54);\n padding: 0.25rem;\n\n &:hover {\n cursor: pointer;\n color: rgba(48, 69, 79, 0.87);\n }\n"]);
4539
-
4540
- _templateObject3$2 = function _templateObject3() {
4541
- return data;
4542
- };
4543
-
4544
- return data;
4545
- }
4546
-
4547
- function _templateObject2$2() {
4548
- const data = _taggedTemplateLiteralLoose(["\n width: 100%;\n border: none;\n outline: none;\n font-size: 1rem;\n line-height: 1.1875rem;\n padding: 0 0.5rem;\n background-color: transparent;\n color: rgba(48, 69, 79, 0.87);\n"]);
4549
-
4550
- _templateObject2$2 = function _templateObject2() {
4551
- return data;
4552
- };
4553
-
4554
- return data;
4555
- }
4556
-
4557
- function _templateObject$3() {
4558
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border-radius: 0.125rem;\n box-sizing: border-box;\n border: 0.0625rem solid rgba(48, 69, 79, 0.12);\n margin-bottom: 0.5rem;\n"]);
4559
-
4560
- _templateObject$3 = function _templateObject() {
4561
- return data;
4562
- };
4563
-
4564
- return data;
4565
- }
4566
- const InputContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject$3());
4567
- const InputField = /*#__PURE__*/styled__default.input( /*#__PURE__*/_templateObject2$2());
4568
- const SearchPrefix = /*#__PURE__*/styled__default(icons.EverCloudSearchIcon)( /*#__PURE__*/_templateObject3$2());
4292
+ var _templateObject$3, _templateObject2$2, _templateObject3$2;
4293
+ const InputContainer = /*#__PURE__*/styled__default.div(_templateObject$3 || (_templateObject$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border-radius: 0.125rem;\n box-sizing: border-box;\n border: 0.0625rem solid rgba(48, 69, 79, 0.12);\n margin-bottom: 0.5rem;\n"])));
4294
+ const InputField = /*#__PURE__*/styled__default.input(_templateObject2$2 || (_templateObject2$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n border: none;\n outline: none;\n font-size: 1rem;\n line-height: 1.1875rem;\n padding: 0 0.5rem;\n background-color: transparent;\n color: rgba(48, 69, 79, 0.87);\n"])));
4295
+ const SearchPrefix = /*#__PURE__*/styled__default(ui.Icon)(_templateObject3$2 || (_templateObject3$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: rgba(48, 69, 79, 0.54);\n padding: 0.25rem;\n\n &:hover {\n cursor: pointer;\n color: rgba(48, 69, 79, 0.87);\n }\n"])));
4296
+ SearchPrefix.defaultProps = {
4297
+ kind: "search"
4298
+ };
4569
4299
 
4570
4300
  const SearchInput = (_ref) => {
4571
4301
  let {
@@ -4720,63 +4450,15 @@ const Map = (_ref) => {
4720
4450
  }, children);
4721
4451
  };
4722
4452
 
4723
- function _templateObject5$2() {
4724
- const data = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"]);
4725
-
4726
- _templateObject5$2 = function _templateObject5() {
4727
- return data;
4728
- };
4729
-
4730
- return data;
4731
- }
4732
-
4733
- function _templateObject4$2() {
4734
- const data = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n right: ", ";\n"]);
4735
-
4736
- _templateObject4$2 = function _templateObject4() {
4737
- return data;
4738
- };
4739
-
4740
- return data;
4741
- }
4742
-
4743
- function _templateObject3$3() {
4744
- const data = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n"]);
4745
-
4746
- _templateObject3$3 = function _templateObject3() {
4747
- return data;
4748
- };
4749
-
4750
- return data;
4751
- }
4752
-
4753
- function _templateObject2$3() {
4754
- const data = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n"]);
4755
-
4756
- _templateObject2$3 = function _templateObject2() {
4757
- return data;
4758
- };
4759
-
4760
- return data;
4761
- }
4762
-
4763
- function _templateObject$4() {
4764
- const data = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n"]);
4765
-
4766
- _templateObject$4 = function _templateObject() {
4767
- return data;
4768
- };
4769
-
4770
- return data;
4771
- }
4453
+ var _templateObject$4, _templateObject2$3, _templateObject3$3, _templateObject4$2, _templateObject5$2;
4772
4454
 
4773
- const topLeft = distance => styled.css(_templateObject$4(), distance, distance);
4455
+ const topLeft = distance => styled.css(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n"])), distance, distance);
4774
4456
 
4775
- const topRight = distance => styled.css(_templateObject2$3(), distance, distance);
4457
+ const topRight = distance => styled.css(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n"])), distance, distance);
4776
4458
 
4777
- const bottomLeft = distance => styled.css(_templateObject3$3(), distance, distance);
4459
+ const bottomLeft = distance => styled.css(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n"])), distance, distance);
4778
4460
 
4779
- const bottomRight = distance => styled.css(_templateObject4$2(), distance, distance);
4461
+ const bottomRight = distance => styled.css(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n right: ", ";\n"])), distance, distance);
4780
4462
 
4781
4463
  const placementMixin = function placementMixin(placement, distance) {
4782
4464
  if (placement === void 0) {
@@ -4787,97 +4469,34 @@ const placementMixin = function placementMixin(placement, distance) {
4787
4469
  distance = '1rem';
4788
4470
  }
4789
4471
 
4790
- return styled.css(_templateObject5$2(), placement === 'top-left' && topLeft(distance), placement === 'top-right' && topRight(distance), placement === 'bottom-left' && bottomLeft(distance), placement === 'bottom-right' && bottomRight(distance));
4472
+ return styled.css(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"])), placement === 'top-left' && topLeft(distance), placement === 'top-right' && topRight(distance), placement === 'bottom-left' && bottomLeft(distance), placement === 'bottom-right' && bottomRight(distance));
4791
4473
  };
4792
4474
 
4793
- function _templateObject8$1() {
4794
- const data = _taggedTemplateLiteralLoose(["\n position: absolute;\n display: flex;\n flex-direction: ", ";\n\n ", "\n\n ", " {\n margin-bottom: ", ";\n margin-right: ", ";\n flex-direction: ", ";\n }\n"]);
4795
-
4796
- _templateObject8$1 = function _templateObject8() {
4797
- return data;
4798
- };
4799
-
4800
- return data;
4801
- }
4802
-
4803
- function _templateObject7$1() {
4804
- const data = _taggedTemplateLiteralLoose(["\n border-radius: 0.15rem;\n background: rgba(28, 33, 48, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n color: #fff;\n font-size: 1.5rem;\n cursor: pointer;\n height: auto;\n width: auto;\n padding: 0.25rem;\n"]);
4805
-
4806
- _templateObject7$1 = function _templateObject7() {
4807
- return data;
4808
- };
4809
-
4810
- return data;
4811
- }
4812
-
4813
- function _templateObject6$1() {
4814
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4815
-
4816
- _templateObject6$1 = function _templateObject6() {
4817
- return data;
4818
- };
4819
-
4820
- return data;
4821
- }
4822
-
4823
- function _templateObject5$3() {
4824
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4825
-
4826
- _templateObject5$3 = function _templateObject5() {
4827
- return data;
4828
- };
4829
-
4830
- return data;
4831
- }
4832
-
4833
- function _templateObject4$3() {
4834
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4835
-
4836
- _templateObject4$3 = function _templateObject4() {
4837
- return data;
4838
- };
4839
-
4840
- return data;
4841
- }
4842
-
4843
- function _templateObject3$4() {
4844
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4845
-
4846
- _templateObject3$4 = function _templateObject3() {
4847
- return data;
4848
- };
4849
-
4850
- return data;
4851
- }
4852
-
4853
- function _templateObject2$4() {
4854
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4855
-
4856
- _templateObject2$4 = function _templateObject2() {
4857
- return data;
4858
- };
4859
-
4860
- return data;
4861
- }
4862
-
4863
- function _templateObject$5() {
4864
- const data = _taggedTemplateLiteralLoose(["\n width: 2rem;\n height: 2rem;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"]);
4865
-
4866
- _templateObject$5 = function _templateObject() {
4867
- return data;
4868
- };
4869
-
4870
- return data;
4871
- }
4872
- const mapControlBtnMixin = /*#__PURE__*/styled.css( /*#__PURE__*/_templateObject$5());
4873
- const ZoomInBtn = /*#__PURE__*/styled__default(icons.EverCloudPlusIcon)( /*#__PURE__*/_templateObject2$4(), mapControlBtnMixin);
4874
- const ZoomOutBtn = /*#__PURE__*/styled__default(icons.EverCloudMinusIcon)( /*#__PURE__*/_templateObject3$4(), mapControlBtnMixin);
4875
- const SearchBtn = /*#__PURE__*/styled__default(icons.EverCloudSearchIcon)( /*#__PURE__*/_templateObject4$3(), mapControlBtnMixin); // TODO not exists in fonts
4876
-
4877
- const FullscreenBtn = /*#__PURE__*/styled__default(icons.EverCloudMaximizeIcon)( /*#__PURE__*/_templateObject5$3(), mapControlBtnMixin);
4878
- const MeasureBtn = /*#__PURE__*/styled__default(icons.EverCloudMeasureLenghtIcon)( /*#__PURE__*/_templateObject6$1(), mapControlBtnMixin);
4879
- const MapControl = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject7$1());
4880
- const MapControls = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject8$1(), (_ref) => {
4475
+ var _templateObject$5, _templateObject2$4, _templateObject3$4, _templateObject4$3, _templateObject5$3, _templateObject6$1, _templateObject7$1, _templateObject8$1;
4476
+ const mapControlBtnMixin = /*#__PURE__*/styled.css(_templateObject$5 || (_templateObject$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 2rem;\n height: 2rem;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n color: #fff;\n"])));
4477
+ const ZoomInBtn = /*#__PURE__*/styled__default(ui.Icon)(_templateObject2$4 || (_templateObject2$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
4478
+ ZoomInBtn.defaultProps = {
4479
+ kind: "plus"
4480
+ };
4481
+ const ZoomOutBtn = /*#__PURE__*/styled__default(ui.Icon)(_templateObject3$4 || (_templateObject3$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
4482
+ ZoomOutBtn.defaultProps = {
4483
+ kind: "minus"
4484
+ };
4485
+ const SearchBtn = /*#__PURE__*/styled__default(ui.Icon)(_templateObject4$3 || (_templateObject4$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
4486
+ SearchBtn.defaultProps = {
4487
+ kind: "search"
4488
+ }; // TODO not exists in fonts
4489
+
4490
+ const FullscreenBtn = /*#__PURE__*/styled__default(ui.Icon)(_templateObject5$3 || (_templateObject5$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
4491
+ FullscreenBtn.defaultProps = {
4492
+ kind: "maximize"
4493
+ };
4494
+ const MeasureBtn = /*#__PURE__*/styled__default(ui.Icon)(_templateObject6$1 || (_templateObject6$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
4495
+ MeasureBtn.defaultProps = {
4496
+ kind: "measure_length"
4497
+ };
4498
+ const MapControl = /*#__PURE__*/styled__default.div(_templateObject7$1 || (_templateObject7$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border-radius: 0.15rem;\n background: rgba(28, 33, 48, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n color: #fff;\n font-size: 1.5rem;\n cursor: pointer;\n height: auto;\n width: auto;\n padding: 0.25rem;\n"])));
4499
+ const MapControls = /*#__PURE__*/styled__default.div(_templateObject8$1 || (_templateObject8$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n display: flex;\n flex-direction: ", ";\n\n ", "\n\n ", " {\n margin-bottom: ", ";\n margin-right: ", ";\n flex-direction: ", ";\n }\n"])), (_ref) => {
4881
4500
  let {
4882
4501
  vertical
4883
4502
  } = _ref;
@@ -4922,60 +4541,12 @@ const Fullscreen = () => {
4922
4541
  }));
4923
4542
  };
4924
4543
 
4925
- function _templateObject5$4() {
4926
- const data = _taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n font-size: 0.625rem;\n opacity: 0.65;\n"]);
4927
-
4928
- _templateObject5$4 = function _templateObject5() {
4929
- return data;
4930
- };
4931
-
4932
- return data;
4933
- }
4934
-
4935
- function _templateObject4$4() {
4936
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"]);
4937
-
4938
- _templateObject4$4 = function _templateObject4() {
4939
- return data;
4940
- };
4941
-
4942
- return data;
4943
- }
4944
-
4945
- function _templateObject3$5() {
4946
- const data = _taggedTemplateLiteralLoose(["\n margin: 0;\n"]);
4947
-
4948
- _templateObject3$5 = function _templateObject3() {
4949
- return data;
4950
- };
4951
-
4952
- return data;
4953
- }
4954
-
4955
- function _templateObject2$5() {
4956
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 16.5rem;\n height: 3.875rem;\n align-items: center;\n padding: 0.5rem;\n box-sizing: border-box;\n\n canvas {\n height: 1rem;\n width: 0.835rem;\n }\n"]);
4957
-
4958
- _templateObject2$5 = function _templateObject2() {
4959
- return data;
4960
- };
4961
-
4962
- return data;
4963
- }
4964
-
4965
- function _templateObject$6() {
4966
- const data = _taggedTemplateLiteralLoose(["\n cursor: default;\n"]);
4967
-
4968
- _templateObject$6 = function _templateObject() {
4969
- return data;
4970
- };
4971
-
4972
- return data;
4973
- }
4974
- const MapLegendControl = /*#__PURE__*/styled__default(MapControl)( /*#__PURE__*/_templateObject$6());
4975
- const MapLegendContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject2$5());
4976
- const MapLegendHeader = /*#__PURE__*/styled__default(LegendSectionHeader)( /*#__PURE__*/_templateObject3$5());
4977
- const MapLegendSection = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject4$4());
4978
- const MapLegendValueDescr = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject5$4());
4544
+ var _templateObject$6, _templateObject2$5, _templateObject3$5, _templateObject4$4, _templateObject5$4;
4545
+ const MapLegendControl = /*#__PURE__*/styled__default(MapControl)(_templateObject$6 || (_templateObject$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: default;\n"])));
4546
+ const MapLegendContainer = /*#__PURE__*/styled__default.div(_templateObject2$5 || (_templateObject2$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 16.5rem;\n height: 3.875rem;\n align-items: center;\n padding: 0.5rem;\n box-sizing: border-box;\n\n canvas {\n height: 1rem;\n width: 0.835rem;\n }\n"])));
4547
+ const MapLegendHeader = /*#__PURE__*/styled__default(LegendSectionHeader)(_templateObject3$5 || (_templateObject3$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0;\n"])));
4548
+ const MapLegendSection = /*#__PURE__*/styled__default.div(_templateObject4$4 || (_templateObject4$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
4549
+ const MapLegendValueDescr = /*#__PURE__*/styled__default.div(_templateObject5$4 || (_templateObject5$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n font-size: 0.625rem;\n opacity: 0.65;\n"])));
4979
4550
 
4980
4551
  const MAX_SIZE$2 = 100;
4981
4552
  const MapLegendSymbol = (_ref) => {
@@ -5535,11 +5106,12 @@ let MeasureTool = /*#__PURE__*/function (_React$Component) {
5535
5106
  return MeasureTool;
5536
5107
  }(React__default.Component);
5537
5108
 
5109
+ const _excluded$3 = ["isActive"];
5538
5110
  const Measurer = (_ref) => {
5539
5111
  let {
5540
5112
  isActive
5541
5113
  } = _ref,
5542
- props = _objectWithoutPropertiesLoose(_ref, ["isActive"]);
5114
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
5543
5115
 
5544
5116
  const {
5545
5117
  map,
@@ -5551,43 +5123,15 @@ const Measurer = (_ref) => {
5551
5123
  }, props)) : null;
5552
5124
  };
5553
5125
 
5554
- function _templateObject3$6() {
5555
- const data = _taggedTemplateLiteralLoose(["\n height: 2rem;\n display: flex;\n justify-content: center;\n align-items: ", ";\n width: ", ";\n color: #fff;\n font-size: 1rem;\n cursor: default;\n padding: 0 0.5rem;\n"]);
5556
-
5557
- _templateObject3$6 = function _templateObject3() {
5558
- return data;
5559
- };
5560
-
5561
- return data;
5562
- }
5563
-
5564
- function _templateObject2$6() {
5565
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n justify-content: center;\n width: ", ";\n height: 0.25rem;\n border: 0.0625rem solid white;\n border-top: 0;\n"]);
5566
-
5567
- _templateObject2$6 = function _templateObject2() {
5568
- return data;
5569
- };
5570
-
5571
- return data;
5572
- }
5573
-
5574
- function _templateObject$7() {
5575
- const data = _taggedTemplateLiteralLoose(["\n height: 2rem;\n cursor: default;\n display: flex;\n align-items: flex-end;\n padding: 0 0.5rem 0.5rem;\n box-sizing: border-box;\n"]);
5576
-
5577
- _templateObject$7 = function _templateObject() {
5578
- return data;
5579
- };
5580
-
5581
- return data;
5582
- }
5583
- const ScaleRulerContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject$7());
5584
- const ScaleRulerBlock = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject2$6(), (_ref) => {
5126
+ var _templateObject$7, _templateObject2$6, _templateObject3$6;
5127
+ const ScaleRulerContainer = /*#__PURE__*/styled__default.div(_templateObject$7 || (_templateObject$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: 2rem;\n cursor: default;\n display: flex;\n align-items: flex-end;\n padding: 0 0.5rem 0.5rem;\n box-sizing: border-box;\n"])));
5128
+ const ScaleRulerBlock = /*#__PURE__*/styled__default.div(_templateObject2$6 || (_templateObject2$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n justify-content: center;\n width: ", ";\n height: 0.25rem;\n border: 0.0625rem solid white;\n border-top: 0;\n"])), (_ref) => {
5585
5129
  let {
5586
5130
  width
5587
5131
  } = _ref;
5588
5132
  return width + "px";
5589
5133
  });
5590
- const TextContainer = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject3$6(), (_ref2) => {
5134
+ const TextContainer = /*#__PURE__*/styled__default.div(_templateObject3$6 || (_templateObject3$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: 2rem;\n display: flex;\n justify-content: center;\n align-items: ", ";\n width: ", ";\n color: #fff;\n font-size: 1rem;\n cursor: default;\n padding: 0 0.5rem;\n"])), (_ref2) => {
5591
5135
  let {
5592
5136
  alignEnd
5593
5137
  } = _ref2;
@@ -5640,141 +5184,33 @@ const ZoomLevel = () => {
5640
5184
  }, level || 0);
5641
5185
  };
5642
5186
 
5643
- function _templateObject11$1() {
5644
- const data = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 999;\n display: flex;\n font-size: 0.625rem;\n color: #fff;\n background-color: rgba(28, 33, 48, 0.8);\n padding: 0.4em 0.6em;\n border-radius: 2px;\n user-select: none;\n box-sizing: border-box;\n white-space: pre;\n ", "\n ", "\n"]);
5645
-
5646
- _templateObject11$1 = function _templateObject11() {
5647
- return data;
5648
- };
5187
+ var _templateObject$8, _templateObject2$7, _templateObject3$7, _templateObject4$5, _templateObject5$5, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject10$1, _templateObject11$1;
5649
5188
 
5650
- return data;
5651
- }
5189
+ const cornerBottom = cornerSize => styled.css(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n &:before {\n left: 50%;\n transform: translate(-50%, 100%);\n bottom: 0;\n border-left: ", " solid transparent;\n border-right: ", " solid transparent;\n border-top: ", " solid rgba(28, 33, 48, 0.8);\n }\n"])), cornerSize, cornerSize, cornerSize);
5652
5190
 
5653
- function _templateObject10$1() {
5654
- const data = _taggedTemplateLiteralLoose(["\n &:before {\n content: '';\n width: 0;\n height: 0;\n position: absolute;\n }\n"]);
5191
+ const cornerLeft = cornerSize => styled.css(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(-100%, -50%);\n left: 0;\n top: 50%;\n border-top: ", " solid transparent;\n border-right: ", " solid rgba(28, 33, 48, 0.8);\n border-bottom: ", " solid transparent;\n }\n"])), cornerSize, cornerSize, cornerSize);
5655
5192
 
5656
- _templateObject10$1 = function _templateObject10() {
5657
- return data;
5658
- };
5193
+ const cornerRight = cornerSize => styled.css(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(100%, -50%);\n right: 0;\n top: 50%;\n border-top: ", " solid transparent;\n border-left: ", " solid rgba(28, 33, 48, 0.8);\n border-bottom: ", " solid transparent;\n }\n"])), cornerSize, cornerSize, cornerSize);
5659
5194
 
5660
- return data;
5661
- }
5195
+ const cornerTop = cornerSize => styled.css(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(-50%, -100%);\n left: 50%;\n top: 0;\n border-left: ", " solid transparent;\n border-right: ", " solid transparent;\n border-bottom: ", " solid rgba(28, 33, 48, 0.8);\n }\n"])), cornerSize, cornerSize, cornerSize);
5662
5196
 
5663
- function _templateObject9$1() {
5664
- const data = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"]);
5197
+ const top = (distance, cornerSize) => styled.css(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n bottom: ", ";\n ", "\n"])), distance, cornerSize && cornerBottom(cornerSize));
5665
5198
 
5666
- _templateObject9$1 = function _templateObject9() {
5667
- return data;
5668
- };
5199
+ const right = (distance, cornerSize) => styled.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n left: ", ";\n ", "\n"])), distance, cornerSize && cornerLeft(cornerSize));
5669
5200
 
5670
- return data;
5671
- }
5201
+ const left = (distance, cornerSize) => styled.css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n right: ", ";\n ", "\n"])), distance, cornerSize && cornerRight(cornerSize));
5672
5202
 
5673
- function _templateObject8$2() {
5674
- const data = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n top: ", ";\n ", "\n"]);
5675
-
5676
- _templateObject8$2 = function _templateObject8() {
5677
- return data;
5678
- };
5679
-
5680
- return data;
5681
- }
5682
-
5683
- function _templateObject7$2() {
5684
- const data = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n right: ", ";\n ", "\n"]);
5685
-
5686
- _templateObject7$2 = function _templateObject7() {
5687
- return data;
5688
- };
5689
-
5690
- return data;
5691
- }
5692
-
5693
- function _templateObject6$2() {
5694
- const data = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n left: ", ";\n ", "\n"]);
5695
-
5696
- _templateObject6$2 = function _templateObject6() {
5697
- return data;
5698
- };
5699
-
5700
- return data;
5701
- }
5702
-
5703
- function _templateObject5$5() {
5704
- const data = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n bottom: ", ";\n ", "\n"]);
5705
-
5706
- _templateObject5$5 = function _templateObject5() {
5707
- return data;
5708
- };
5709
-
5710
- return data;
5711
- }
5712
-
5713
- function _templateObject4$5() {
5714
- const data = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(-50%, -100%);\n left: 50%;\n top: 0;\n border-left: ", " solid transparent;\n border-right: ", " solid transparent;\n border-bottom: ", " solid rgba(28, 33, 48, 0.8);\n }\n"]);
5715
-
5716
- _templateObject4$5 = function _templateObject4() {
5717
- return data;
5718
- };
5719
-
5720
- return data;
5721
- }
5722
-
5723
- function _templateObject3$7() {
5724
- const data = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(100%, -50%);\n right: 0;\n top: 50%;\n border-top: ", " solid transparent;\n border-left: ", " solid rgba(28, 33, 48, 0.8);\n border-bottom: ", " solid transparent;\n }\n"]);
5725
-
5726
- _templateObject3$7 = function _templateObject3() {
5727
- return data;
5728
- };
5729
-
5730
- return data;
5731
- }
5732
-
5733
- function _templateObject2$7() {
5734
- const data = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(-100%, -50%);\n left: 0;\n top: 50%;\n border-top: ", " solid transparent;\n border-right: ", " solid rgba(28, 33, 48, 0.8);\n border-bottom: ", " solid transparent;\n }\n"]);
5735
-
5736
- _templateObject2$7 = function _templateObject2() {
5737
- return data;
5738
- };
5739
-
5740
- return data;
5741
- }
5742
-
5743
- function _templateObject$8() {
5744
- const data = _taggedTemplateLiteralLoose(["\n &:before {\n left: 50%;\n transform: translate(-50%, 100%);\n bottom: 0;\n border-left: ", " solid transparent;\n border-right: ", " solid transparent;\n border-top: ", " solid rgba(28, 33, 48, 0.8);\n }\n"]);
5745
-
5746
- _templateObject$8 = function _templateObject() {
5747
- return data;
5748
- };
5749
-
5750
- return data;
5751
- }
5752
-
5753
- const cornerBottom = cornerSize => styled.css(_templateObject$8(), cornerSize, cornerSize, cornerSize);
5754
-
5755
- const cornerLeft = cornerSize => styled.css(_templateObject2$7(), cornerSize, cornerSize, cornerSize);
5756
-
5757
- const cornerRight = cornerSize => styled.css(_templateObject3$7(), cornerSize, cornerSize, cornerSize);
5758
-
5759
- const cornerTop = cornerSize => styled.css(_templateObject4$5(), cornerSize, cornerSize, cornerSize);
5760
-
5761
- const top = (distance, cornerSize) => styled.css(_templateObject5$5(), distance, cornerSize && cornerBottom(cornerSize));
5762
-
5763
- const right = (distance, cornerSize) => styled.css(_templateObject6$2(), distance, cornerSize && cornerLeft(cornerSize));
5764
-
5765
- const left = (distance, cornerSize) => styled.css(_templateObject7$2(), distance, cornerSize && cornerRight(cornerSize));
5766
-
5767
- const bottom = (distance, cornerSize) => styled.css(_templateObject8$2(), distance, cornerSize && cornerTop(cornerSize));
5203
+ const bottom = (distance, cornerSize) => styled.css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n top: ", ";\n ", "\n"])), distance, cornerSize && cornerTop(cornerSize));
5768
5204
 
5769
5205
  const placementMixin$1 = function placementMixin(placement, distance, cornerSize) {
5770
5206
  if (placement === void 0) {
5771
5207
  placement = 'top';
5772
5208
  }
5773
5209
 
5774
- return styled.css(_templateObject9$1(), placement === 'top' && top(distance, cornerSize), placement === 'right' && right(distance, cornerSize), placement === 'left' && left(distance, cornerSize), placement === 'bottom' && bottom(distance, cornerSize));
5210
+ return styled.css(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"])), placement === 'top' && top(distance, cornerSize), placement === 'right' && right(distance, cornerSize), placement === 'left' && left(distance, cornerSize), placement === 'bottom' && bottom(distance, cornerSize));
5775
5211
  };
5776
- const corner = /*#__PURE__*/styled.css( /*#__PURE__*/_templateObject10$1());
5777
- const TooltipComponent = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templateObject11$1(), (_ref) => {
5212
+ const corner = /*#__PURE__*/styled.css(_templateObject10$1 || (_templateObject10$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n &:before {\n content: '';\n width: 0;\n height: 0;\n position: absolute;\n }\n"])));
5213
+ const TooltipComponent = /*#__PURE__*/styled__default.div(_templateObject11$1 || (_templateObject11$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 999;\n display: flex;\n font-size: 0.625rem;\n color: #fff;\n background-color: rgba(28, 33, 48, 0.8);\n padding: 0.4em 0.6em;\n border-radius: 2px;\n user-select: none;\n box-sizing: border-box;\n white-space: pre;\n ", "\n ", "\n"])), (_ref) => {
5778
5214
  let {
5779
5215
  placement,
5780
5216
  distance = '0.5rem',
@@ -5789,6 +5225,8 @@ const TooltipComponent = /*#__PURE__*/styled__default.div( /*#__PURE__*/_templat
5789
5225
  return withArrow && corner;
5790
5226
  });
5791
5227
 
5228
+ const _excluded$4 = ["features", "map", "center", "component", "zIndex", "children", "content", "onEachFeature", "clickMode"];
5229
+
5792
5230
  const {
5793
5231
  Provider,
5794
5232
  Consumer
@@ -5806,7 +5244,7 @@ const Tooltip = (_ref) => {
5806
5244
  onEachFeature,
5807
5245
  clickMode
5808
5246
  } = _ref,
5809
- props = _objectWithoutPropertiesLoose(_ref, ["features", "map", "center", "component", "zIndex", "children", "content", "onEachFeature", "clickMode"]);
5247
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
5810
5248
 
5811
5249
  const onTooltip = useTooltip(zIndex);
5812
5250
  React.useEffect(() => {