@evergis/react 2.0.48 → 2.0.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.esm.js CHANGED
@@ -624,21 +624,6 @@ let ClassificationCondition = /*#__PURE__*/function () {
624
624
  }
625
625
 
626
626
  _createClass(ClassificationCondition, [{
627
- key: "isUnique",
628
- value: function isUnique() {
629
- return this.leftExpression.operation === TokenType.ArEq;
630
- }
631
- }, {
632
- key: "isRange",
633
- value: function isRange() {
634
- return [TokenType.ArGr, TokenType.ArGre, TokenType.ArLs, TokenType.ArLse].includes(this.leftExpression.operation);
635
- }
636
- }, {
637
- key: "toString",
638
- value: function toString() {
639
- return this.condition;
640
- }
641
- }, {
642
627
  key: "attributeName",
643
628
  get: function get() {
644
629
  return this.leftExpression.attribute;
@@ -694,6 +679,21 @@ let ClassificationCondition = /*#__PURE__*/function () {
694
679
  /* Range */
695
680
  ;
696
681
  }
682
+ }, {
683
+ key: "isUnique",
684
+ value: function isUnique() {
685
+ return this.leftExpression.operation === TokenType.ArEq;
686
+ }
687
+ }, {
688
+ key: "isRange",
689
+ value: function isRange() {
690
+ return [TokenType.ArGr, TokenType.ArGre, TokenType.ArLs, TokenType.ArLse].includes(this.leftExpression.operation);
691
+ }
692
+ }, {
693
+ key: "toString",
694
+ value: function toString() {
695
+ return this.condition;
696
+ }
697
697
  }, {
698
698
  key: "leftExpression",
699
699
  get: function get() {
@@ -888,6 +888,11 @@ let ClassificationManager = /*#__PURE__*/function () {
888
888
  }
889
889
 
890
890
  _createClass(ClassificationManager, [{
891
+ key: "values",
892
+ get: function get() {
893
+ return this.classifications;
894
+ }
895
+ }, {
891
896
  key: "find",
892
897
  value: function find(predicate) {
893
898
  for (const classification of this.classifications) {
@@ -929,11 +934,6 @@ let ClassificationManager = /*#__PURE__*/function () {
929
934
  this.classifications.push(...getClassifications(this.style.symbol));
930
935
  }
931
936
  }
932
- }, {
933
- key: "values",
934
- get: function get() {
935
- return this.classifications;
936
- }
937
937
  }]);
938
938
 
939
939
  return ClassificationManager;
@@ -1062,6 +1062,7 @@ const mergeAttributes = (attributes1, attributes2) => {
1062
1062
  }) || {}));
1063
1063
  };
1064
1064
 
1065
+ const _excluded = ["ignoreLabel", "label", "symbol", "raster", "children"];
1065
1066
  const createCompositeSymbol = childSymbols => ({
1066
1067
  type: 'compositeSymbol',
1067
1068
  childSymbols
@@ -1099,7 +1100,7 @@ const packStyle = style => {
1099
1100
  raster,
1100
1101
  children
1101
1102
  } = style,
1102
- styleDc = _objectWithoutPropertiesLoose(style, ["ignoreLabel", "label", "symbol", "raster", "children"]);
1103
+ styleDc = _objectWithoutPropertiesLoose(style, _excluded);
1103
1104
 
1104
1105
  const childSymbols = [!ignoreLabel && label, raster].filter(Boolean);
1105
1106
  return _extends({}, styleDc, {
@@ -1531,6 +1532,11 @@ let ArrowLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1531
1532
  }
1532
1533
 
1533
1534
  _createClass(ArrowLineMiterRender, [{
1535
+ key: "usageSize",
1536
+ get: function get() {
1537
+ return this.miterSize + this.strokeWidth;
1538
+ }
1539
+ }, {
1534
1540
  key: "createRings",
1535
1541
  value: function createRings(_ref, xMultiplier) {
1536
1542
  let [x, y] = _ref;
@@ -1550,11 +1556,6 @@ let ArrowLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1550
1556
  strokeWidth: this.strokeWidth
1551
1557
  });
1552
1558
  }
1553
- }, {
1554
- key: "usageSize",
1555
- get: function get() {
1556
- return this.miterSize + this.strokeWidth;
1557
- }
1558
1559
  }]);
1559
1560
 
1560
1561
  return ArrowLineMiterRender;
@@ -1572,6 +1573,11 @@ let CircleLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1572
1573
  }
1573
1574
 
1574
1575
  _createClass(CircleLineMiterRender, [{
1576
+ key: "usageSize",
1577
+ get: function get() {
1578
+ return this.miterSize + this.strokeWidth * 3;
1579
+ }
1580
+ }, {
1575
1581
  key: "createRings",
1576
1582
  value: function createRings(_ref, xMultiplier) {
1577
1583
  let [x, y] = _ref;
@@ -1588,11 +1594,6 @@ let CircleLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1588
1594
  enclosed: true
1589
1595
  });
1590
1596
  }
1591
- }, {
1592
- key: "usageSize",
1593
- get: function get() {
1594
- return this.miterSize + this.strokeWidth * 3;
1595
- }
1596
1597
  }]);
1597
1598
 
1598
1599
  return CircleLineMiterRender;
@@ -1610,6 +1611,11 @@ let SquareLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1610
1611
  }
1611
1612
 
1612
1613
  _createClass(SquareLineMiterRender, [{
1614
+ key: "usageSize",
1615
+ get: function get() {
1616
+ return this.miterSize + this.strokeWidth;
1617
+ }
1618
+ }, {
1613
1619
  key: "createRings",
1614
1620
  value: function createRings(_ref, xMultiplier) {
1615
1621
  let [x, y] = _ref;
@@ -1629,11 +1635,6 @@ let SquareLineMiterRender = /*#__PURE__*/function (_LineMiterRender) {
1629
1635
  strokeWidth: this.strokeWidth
1630
1636
  });
1631
1637
  }
1632
- }, {
1633
- key: "usageSize",
1634
- get: function get() {
1635
- return this.miterSize + this.strokeWidth;
1636
- }
1637
1638
  }]);
1638
1639
 
1639
1640
  return SquareLineMiterRender;
@@ -2321,7 +2322,7 @@ let SVGPoly = /*#__PURE__*/function (_Symbol) {
2321
2322
  }
2322
2323
 
2323
2324
  const polygon = feature.projectTo(bbox.crs);
2324
- 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;
2325
+ 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;
2325
2326
  const dx = Math.round((polygon.bbox.xMin - bbox.xMin) / resolution) - radiusOffset;
2326
2327
  const dy = Math.round((bbox.yMax - polygon.bbox.yMax) / resolution) - radiusOffset;
2327
2328
  this.container.style.left = dx.toString() + "px";
@@ -3169,13 +3170,26 @@ function useLayerVisibility(layer, isDisplayed) {
3169
3170
  });
3170
3171
  }
3171
3172
 
3173
+ function useLayerOpacity(layer, opacity) {
3174
+ if (opacity === void 0) {
3175
+ opacity = 1;
3176
+ }
3177
+
3178
+ useUpdate({
3179
+ shouldUpdate: () => layer.opacity !== opacity,
3180
+ onUpdate: () => layer.opacity = opacity,
3181
+ deps: [opacity, layer]
3182
+ });
3183
+ }
3184
+
3172
3185
  function useEvergisDynamicLayer(_ref) {
3173
3186
  let {
3174
3187
  name,
3175
3188
  zIndex,
3176
3189
  style,
3177
3190
  condition,
3178
- isDisplayed
3191
+ isDisplayed,
3192
+ opacity
3179
3193
  } = _ref;
3180
3194
  const api = useEvergisContext();
3181
3195
  const {
@@ -3197,6 +3211,7 @@ function useEvergisDynamicLayer(_ref) {
3197
3211
  }, [name, style, condition]);
3198
3212
  useLayerOrder(layer, zIndex);
3199
3213
  useLayerVisibility(layer, isDisplayed);
3214
+ useLayerOpacity(layer, opacity);
3200
3215
  return layer;
3201
3216
  }
3202
3217
 
@@ -3918,16 +3933,8 @@ const Symbol = (_ref) => {
3918
3933
  });
3919
3934
  };
3920
3935
 
3921
- function _templateObject() {
3922
- const data = _taggedTemplateLiteralLoose(["\n background: ", ";\n height: 32px;\n width: 32px;\n"]);
3923
-
3924
- _templateObject = function _templateObject() {
3925
- return data;
3926
- };
3927
-
3928
- return data;
3929
- }
3930
- const CompoundIcon = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject(), (_ref) => {
3936
+ var _templateObject;
3937
+ const CompoundIcon = /*#__PURE__*/styled.div(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background: ", ";\n height: 32px;\n width: 32px;\n"])), (_ref) => {
3931
3938
  let {
3932
3939
  geometryType,
3933
3940
  icons
@@ -3957,236 +3964,28 @@ const StyleSymbol = (_ref) => {
3957
3964
  }) : null));
3958
3965
  };
3959
3966
 
3960
- function _templateObject21() {
3961
- const data = _taggedTemplateLiteralLoose([""]);
3962
-
3963
- _templateObject21 = function _templateObject21() {
3964
- return data;
3965
- };
3966
-
3967
- return data;
3968
- }
3969
-
3970
- function _templateObject20() {
3971
- const data = _taggedTemplateLiteralLoose([""]);
3972
-
3973
- _templateObject20 = function _templateObject20() {
3974
- return data;
3975
- };
3976
-
3977
- return data;
3978
- }
3979
-
3980
- function _templateObject19() {
3981
- const data = _taggedTemplateLiteralLoose([""]);
3982
-
3983
- _templateObject19 = function _templateObject19() {
3984
- return data;
3985
- };
3986
-
3987
- return data;
3988
- }
3989
-
3990
- function _templateObject18() {
3991
- const data = _taggedTemplateLiteralLoose([""]);
3992
-
3993
- _templateObject18 = function _templateObject18() {
3994
- return data;
3995
- };
3996
-
3997
- return data;
3998
- }
3999
-
4000
- function _templateObject17() {
4001
- const data = _taggedTemplateLiteralLoose([""]);
4002
-
4003
- _templateObject17 = function _templateObject17() {
4004
- return data;
4005
- };
4006
-
4007
- return data;
4008
- }
4009
-
4010
- function _templateObject16() {
4011
- const data = _taggedTemplateLiteralLoose(["\n padding: 0 0.25rem;\n color: #1fb3aa;\n text-decoration: none;\n"]);
4012
-
4013
- _templateObject16 = function _templateObject16() {
4014
- return data;
4015
- };
4016
-
4017
- return data;
4018
- }
4019
-
4020
- function _templateObject15() {
4021
- const data = _taggedTemplateLiteralLoose([""]);
4022
-
4023
- _templateObject15 = function _templateObject15() {
4024
- return data;
4025
- };
4026
-
4027
- return data;
4028
- }
4029
-
4030
- function _templateObject14() {
4031
- const data = _taggedTemplateLiteralLoose(["\n flex-wrap: wrap;\n display: flex;\n"]);
4032
-
4033
- _templateObject14 = function _templateObject14() {
4034
- return data;
4035
- };
4036
-
4037
- return data;
4038
- }
4039
-
4040
- function _templateObject13() {
4041
- const data = _taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n margin: 0.25rem 0;\n"]);
4042
-
4043
- _templateObject13 = function _templateObject13() {
4044
- return data;
4045
- };
4046
-
4047
- return data;
4048
- }
4049
-
4050
- function _templateObject12() {
4051
- const data = _taggedTemplateLiteralLoose(["\n padding-bottom: 0.5rem;\n"]);
4052
-
4053
- _templateObject12 = function _templateObject12() {
4054
- return data;
4055
- };
4056
-
4057
- return data;
4058
- }
4059
-
4060
- function _templateObject11() {
4061
- const data = _taggedTemplateLiteralLoose(["\n padding: 1rem 1.5rem;\n overflow-y: scroll;\n"]);
4062
-
4063
- _templateObject11 = function _templateObject11() {
4064
- return data;
4065
- };
4066
-
4067
- return data;
4068
- }
4069
-
4070
- function _templateObject10() {
4071
- const data = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n padding: 0 0.25rem;\n color: #1fb3aa;\n"]);
4072
-
4073
- _templateObject10 = function _templateObject10() {
4074
- return data;
4075
- };
4076
-
4077
- return data;
4078
- }
4079
-
4080
- function _templateObject9() {
4081
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n"]);
4082
-
4083
- _templateObject9 = function _templateObject9() {
4084
- return data;
4085
- };
4086
-
4087
- return data;
4088
- }
4089
-
4090
- function _templateObject8() {
4091
- 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"]);
4092
-
4093
- _templateObject8 = function _templateObject8() {
4094
- return data;
4095
- };
4096
-
4097
- return data;
4098
- }
4099
-
4100
- function _templateObject7() {
4101
- const data = _taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n"]);
4102
-
4103
- _templateObject7 = function _templateObject7() {
4104
- return data;
4105
- };
4106
-
4107
- return data;
4108
- }
4109
-
4110
- function _templateObject6() {
4111
- const data = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]);
4112
-
4113
- _templateObject6 = function _templateObject6() {
4114
- return data;
4115
- };
4116
-
4117
- return data;
4118
- }
4119
-
4120
- function _templateObject5() {
4121
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n\n ", " {\n margin: 0 0.5rem;\n }\n"]);
4122
-
4123
- _templateObject5 = function _templateObject5() {
4124
- return data;
4125
- };
4126
-
4127
- return data;
4128
- }
4129
-
4130
- function _templateObject4() {
4131
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0 0.5rem;\n width: 13.5rem;\n flex-grow: 1;\n"]);
4132
-
4133
- _templateObject4 = function _templateObject4() {
4134
- return data;
4135
- };
4136
-
4137
- return data;
4138
- }
4139
-
4140
- function _templateObject3() {
4141
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n padding: 1.5rem 1.5rem 1rem;\n align-items: center;\n"]);
4142
-
4143
- _templateObject3 = function _templateObject3() {
4144
- return data;
4145
- };
4146
-
4147
- return data;
4148
- }
4149
-
4150
- function _templateObject2() {
4151
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"]);
4152
-
4153
- _templateObject2 = function _templateObject2() {
4154
- return data;
4155
- };
4156
-
4157
- return data;
4158
- }
4159
-
4160
- function _templateObject$1() {
4161
- 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"]);
4162
-
4163
- _templateObject$1 = function _templateObject() {
4164
- return data;
4165
- };
4166
-
4167
- return data;
4168
- }
4169
- const EvergisCardContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject$1(), Icon);
4170
- const StickyHeader = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject2());
4171
- const CardHeader = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject3());
4172
- const CardTitle = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject4());
4173
- const CardControls = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject5(), Icon);
4174
- const FeatureName = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject6());
4175
- const LayerName = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject7());
4176
- const CardPagination = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject8());
4177
- const PaginationDescription = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject9());
4178
- const CurrentFeatureIndex = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject10());
4179
- const CardAttributes = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject11());
4180
- const AttributeContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject12());
4181
- const AttributeTitle = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject13());
4182
- const AttributeValueContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject14());
4183
- const SimpleAttribute = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject15());
4184
- const ValueLink = /*#__PURE__*/styled.a( /*#__PURE__*/_templateObject16());
4185
- const StatIcon = /*#__PURE__*/styled(EverCloudStatisticsIcon)( /*#__PURE__*/_templateObject17());
4186
- const ZoomIcon = /*#__PURE__*/styled(EverCloudZoomtoIcon)( /*#__PURE__*/_templateObject18());
4187
- const CloseIcon = /*#__PURE__*/styled(EverCloudCloseIcon)( /*#__PURE__*/_templateObject19());
4188
- const PrevIcon = /*#__PURE__*/styled(EverCloudPlayPrevIcon)( /*#__PURE__*/_templateObject20());
4189
- const NextIcon = /*#__PURE__*/styled(EverCloudPlayNextIcon)( /*#__PURE__*/_templateObject21());
3967
+ var _templateObject$1, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21;
3968
+ const EvergisCardContainer = /*#__PURE__*/styled.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"])), Icon);
3969
+ const StickyHeader = /*#__PURE__*/styled.div(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"])));
3970
+ const CardHeader = /*#__PURE__*/styled.div(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n padding: 1.5rem 1.5rem 1rem;\n align-items: center;\n"])));
3971
+ const CardTitle = /*#__PURE__*/styled.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"])));
3972
+ const CardControls = /*#__PURE__*/styled.div(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n\n ", " {\n margin: 0 0.5rem;\n }\n"])), Icon);
3973
+ const FeatureName = /*#__PURE__*/styled.div(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
3974
+ const LayerName = /*#__PURE__*/styled.div(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n"])));
3975
+ const CardPagination = /*#__PURE__*/styled.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"])));
3976
+ const PaginationDescription = /*#__PURE__*/styled.div(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n"])));
3977
+ const CurrentFeatureIndex = /*#__PURE__*/styled.div(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: pointer;\n padding: 0 0.25rem;\n color: #1fb3aa;\n"])));
3978
+ const CardAttributes = /*#__PURE__*/styled.div(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 1rem 1.5rem;\n overflow-y: scroll;\n"])));
3979
+ const AttributeContainer = /*#__PURE__*/styled.div(_templateObject12 || (_templateObject12 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding-bottom: 0.5rem;\n"])));
3980
+ const AttributeTitle = /*#__PURE__*/styled.div(_templateObject13 || (_templateObject13 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n margin: 0.25rem 0;\n"])));
3981
+ const AttributeValueContainer = /*#__PURE__*/styled.div(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex-wrap: wrap;\n display: flex;\n"])));
3982
+ const SimpleAttribute = /*#__PURE__*/styled.div(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
3983
+ const ValueLink = /*#__PURE__*/styled.a(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0 0.25rem;\n color: #1fb3aa;\n text-decoration: none;\n"])));
3984
+ const StatIcon = /*#__PURE__*/styled(EverCloudStatisticsIcon)(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
3985
+ const ZoomIcon = /*#__PURE__*/styled(EverCloudZoomtoIcon)(_templateObject18 || (_templateObject18 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
3986
+ const CloseIcon = /*#__PURE__*/styled(EverCloudCloseIcon)(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
3987
+ const PrevIcon = /*#__PURE__*/styled(EverCloudPlayPrevIcon)(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
3988
+ const NextIcon = /*#__PURE__*/styled(EverCloudPlayNextIcon)(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
4190
3989
 
4191
3990
  const MailValue = (_ref) => {
4192
3991
  let {
@@ -4330,13 +4129,14 @@ const StyledCard = (_ref) => {
4330
4129
  })));
4331
4130
  };
4332
4131
 
4132
+ const _excluded$1 = ["renderCard", "className", "children"];
4333
4133
  const EvergisCard = (_ref) => {
4334
4134
  let {
4335
4135
  renderCard,
4336
4136
  className,
4337
4137
  children
4338
4138
  } = _ref,
4339
- props = _objectWithoutPropertiesLoose(_ref, ["renderCard", "className", "children"]);
4139
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
4340
4140
 
4341
4141
  const {
4342
4142
  features = []
@@ -4400,13 +4200,14 @@ const EvergisTileLayer = props => {
4400
4200
  return null;
4401
4201
  };
4402
4202
 
4203
+ const _excluded$2 = ["maskUrl", "zIndex", "isDisplayed"];
4403
4204
  function useTileLayer(_ref) {
4404
4205
  let {
4405
4206
  maskUrl,
4406
4207
  zIndex,
4407
4208
  isDisplayed
4408
4209
  } = _ref,
4409
- tileLayerParams = _objectWithoutPropertiesLoose(_ref, ["maskUrl", "zIndex", "isDisplayed"]);
4210
+ tileLayerParams = _objectWithoutPropertiesLoose(_ref, _excluded$2);
4410
4211
 
4411
4212
  const {
4412
4213
  map
@@ -4454,60 +4255,12 @@ const EvergisSelect = (_ref) => {
4454
4255
  }));
4455
4256
  };
4456
4257
 
4457
- function _templateObject5$1() {
4458
- const data = _taggedTemplateLiteralLoose(["\n margin-top: 0.5rem;\n font-size: 0.75rem;\n"]);
4459
-
4460
- _templateObject5$1 = function _templateObject5() {
4461
- return data;
4462
- };
4463
-
4464
- return data;
4465
- }
4466
-
4467
- function _templateObject4$1() {
4468
- 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"]);
4469
-
4470
- _templateObject4$1 = function _templateObject4() {
4471
- return data;
4472
- };
4473
-
4474
- return data;
4475
- }
4476
-
4477
- function _templateObject3$1() {
4478
- const data = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n"]);
4479
-
4480
- _templateObject3$1 = function _templateObject3() {
4481
- return data;
4482
- };
4483
-
4484
- return data;
4485
- }
4486
-
4487
- function _templateObject2$1() {
4488
- const data = _taggedTemplateLiteralLoose([""]);
4489
-
4490
- _templateObject2$1 = function _templateObject2() {
4491
- return data;
4492
- };
4493
-
4494
- return data;
4495
- }
4496
-
4497
- function _templateObject$2() {
4498
- const data = _taggedTemplateLiteralLoose(["\n background-color: #fff;\n\n canvas {\n border-radius: 0.125rem;\n }\n"]);
4499
-
4500
- _templateObject$2 = function _templateObject() {
4501
- return data;
4502
- };
4503
-
4504
- return data;
4505
- }
4506
- const LegendContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject$2());
4507
- const LegendSectionContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject2$1());
4508
- const LegendSymbolTitle = /*#__PURE__*/styled.p( /*#__PURE__*/_templateObject3$1());
4509
- const LegendValueContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject4$1(), LegendSymbolTitle);
4510
- const LegendSectionHeader = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject5$1());
4258
+ var _templateObject$2, _templateObject2$1, _templateObject3$1, _templateObject4$1, _templateObject5$1;
4259
+ const LegendContainer = /*#__PURE__*/styled.div(_templateObject$2 || (_templateObject$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: #fff;\n\n canvas {\n border-radius: 0.125rem;\n }\n"])));
4260
+ const LegendSectionContainer = /*#__PURE__*/styled.div(_templateObject2$1 || (_templateObject2$1 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
4261
+ const LegendSymbolTitle = /*#__PURE__*/styled.p(_templateObject3$1 || (_templateObject3$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n"])));
4262
+ const LegendValueContainer = /*#__PURE__*/styled.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);
4263
+ const LegendSectionHeader = /*#__PURE__*/styled.div(_templateObject5$1 || (_templateObject5$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 0.5rem;\n font-size: 0.75rem;\n"])));
4511
4264
 
4512
4265
  const LegendSection = (_ref) => {
4513
4266
  let {
@@ -4518,38 +4271,10 @@ const LegendSection = (_ref) => {
4518
4271
  return React.createElement(LegendSectionContainer, null, React.createElement(LegendSectionHeader, null, renderLegendTitle ? renderLegendTitle(item) : item.title), item.values.map(children));
4519
4272
  };
4520
4273
 
4521
- function _templateObject3$2() {
4522
- 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"]);
4523
-
4524
- _templateObject3$2 = function _templateObject3() {
4525
- return data;
4526
- };
4527
-
4528
- return data;
4529
- }
4530
-
4531
- function _templateObject2$2() {
4532
- 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"]);
4533
-
4534
- _templateObject2$2 = function _templateObject2() {
4535
- return data;
4536
- };
4537
-
4538
- return data;
4539
- }
4540
-
4541
- function _templateObject$3() {
4542
- 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"]);
4543
-
4544
- _templateObject$3 = function _templateObject() {
4545
- return data;
4546
- };
4547
-
4548
- return data;
4549
- }
4550
- const InputContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject$3());
4551
- const InputField = /*#__PURE__*/styled.input( /*#__PURE__*/_templateObject2$2());
4552
- const SearchPrefix = /*#__PURE__*/styled(EverCloudSearchIcon)( /*#__PURE__*/_templateObject3$2());
4274
+ var _templateObject$3, _templateObject2$2, _templateObject3$2;
4275
+ const InputContainer = /*#__PURE__*/styled.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"])));
4276
+ const InputField = /*#__PURE__*/styled.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"])));
4277
+ const SearchPrefix = /*#__PURE__*/styled(EverCloudSearchIcon)(_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"])));
4553
4278
 
4554
4279
  const SearchInput = (_ref) => {
4555
4280
  let {
@@ -4704,63 +4429,15 @@ const Map = (_ref) => {
4704
4429
  }, children);
4705
4430
  };
4706
4431
 
4707
- function _templateObject5$2() {
4708
- const data = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"]);
4709
-
4710
- _templateObject5$2 = function _templateObject5() {
4711
- return data;
4712
- };
4713
-
4714
- return data;
4715
- }
4716
-
4717
- function _templateObject4$2() {
4718
- const data = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n right: ", ";\n"]);
4719
-
4720
- _templateObject4$2 = function _templateObject4() {
4721
- return data;
4722
- };
4723
-
4724
- return data;
4725
- }
4726
-
4727
- function _templateObject3$3() {
4728
- const data = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n"]);
4432
+ var _templateObject$4, _templateObject2$3, _templateObject3$3, _templateObject4$2, _templateObject5$2;
4729
4433
 
4730
- _templateObject3$3 = function _templateObject3() {
4731
- return data;
4732
- };
4434
+ const topLeft = distance => css(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n"])), distance, distance);
4733
4435
 
4734
- return data;
4735
- }
4436
+ const topRight = distance => css(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n"])), distance, distance);
4736
4437
 
4737
- function _templateObject2$3() {
4738
- const data = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n"]);
4438
+ const bottomLeft = distance => css(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n"])), distance, distance);
4739
4439
 
4740
- _templateObject2$3 = function _templateObject2() {
4741
- return data;
4742
- };
4743
-
4744
- return data;
4745
- }
4746
-
4747
- function _templateObject$4() {
4748
- const data = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n"]);
4749
-
4750
- _templateObject$4 = function _templateObject() {
4751
- return data;
4752
- };
4753
-
4754
- return data;
4755
- }
4756
-
4757
- const topLeft = distance => css(_templateObject$4(), distance, distance);
4758
-
4759
- const topRight = distance => css(_templateObject2$3(), distance, distance);
4760
-
4761
- const bottomLeft = distance => css(_templateObject3$3(), distance, distance);
4762
-
4763
- const bottomRight = distance => css(_templateObject4$2(), distance, distance);
4440
+ const bottomRight = distance => css(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n right: ", ";\n"])), distance, distance);
4764
4441
 
4765
4442
  const placementMixin = function placementMixin(placement, distance) {
4766
4443
  if (placement === void 0) {
@@ -4771,97 +4448,19 @@ const placementMixin = function placementMixin(placement, distance) {
4771
4448
  distance = '1rem';
4772
4449
  }
4773
4450
 
4774
- return css(_templateObject5$2(), placement === 'top-left' && topLeft(distance), placement === 'top-right' && topRight(distance), placement === 'bottom-left' && bottomLeft(distance), placement === 'bottom-right' && bottomRight(distance));
4451
+ return 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));
4775
4452
  };
4776
4453
 
4777
- function _templateObject8$1() {
4778
- 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"]);
4779
-
4780
- _templateObject8$1 = function _templateObject8() {
4781
- return data;
4782
- };
4783
-
4784
- return data;
4785
- }
4786
-
4787
- function _templateObject7$1() {
4788
- 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"]);
4789
-
4790
- _templateObject7$1 = function _templateObject7() {
4791
- return data;
4792
- };
4793
-
4794
- return data;
4795
- }
4796
-
4797
- function _templateObject6$1() {
4798
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4799
-
4800
- _templateObject6$1 = function _templateObject6() {
4801
- return data;
4802
- };
4803
-
4804
- return data;
4805
- }
4806
-
4807
- function _templateObject5$3() {
4808
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4809
-
4810
- _templateObject5$3 = function _templateObject5() {
4811
- return data;
4812
- };
4813
-
4814
- return data;
4815
- }
4816
-
4817
- function _templateObject4$3() {
4818
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4819
-
4820
- _templateObject4$3 = function _templateObject4() {
4821
- return data;
4822
- };
4823
-
4824
- return data;
4825
- }
4826
-
4827
- function _templateObject3$4() {
4828
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4829
-
4830
- _templateObject3$4 = function _templateObject3() {
4831
- return data;
4832
- };
4833
-
4834
- return data;
4835
- }
4836
-
4837
- function _templateObject2$4() {
4838
- const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
4839
-
4840
- _templateObject2$4 = function _templateObject2() {
4841
- return data;
4842
- };
4843
-
4844
- return data;
4845
- }
4846
-
4847
- function _templateObject$5() {
4848
- const data = _taggedTemplateLiteralLoose(["\n width: 2rem;\n height: 2rem;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"]);
4849
-
4850
- _templateObject$5 = function _templateObject() {
4851
- return data;
4852
- };
4454
+ var _templateObject$5, _templateObject2$4, _templateObject3$4, _templateObject4$3, _templateObject5$3, _templateObject6$1, _templateObject7$1, _templateObject8$1;
4455
+ const mapControlBtnMixin = /*#__PURE__*/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"])));
4456
+ const ZoomInBtn = /*#__PURE__*/styled(EverCloudPlusIcon)(_templateObject2$4 || (_templateObject2$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
4457
+ const ZoomOutBtn = /*#__PURE__*/styled(EverCloudMinusIcon)(_templateObject3$4 || (_templateObject3$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
4458
+ const SearchBtn = /*#__PURE__*/styled(EverCloudSearchIcon)(_templateObject4$3 || (_templateObject4$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin); // TODO not exists in fonts
4853
4459
 
4854
- return data;
4855
- }
4856
- const mapControlBtnMixin = /*#__PURE__*/css( /*#__PURE__*/_templateObject$5());
4857
- const ZoomInBtn = /*#__PURE__*/styled(EverCloudPlusIcon)( /*#__PURE__*/_templateObject2$4(), mapControlBtnMixin);
4858
- const ZoomOutBtn = /*#__PURE__*/styled(EverCloudMinusIcon)( /*#__PURE__*/_templateObject3$4(), mapControlBtnMixin);
4859
- const SearchBtn = /*#__PURE__*/styled(EverCloudSearchIcon)( /*#__PURE__*/_templateObject4$3(), mapControlBtnMixin); // TODO not exists in fonts
4860
-
4861
- const FullscreenBtn = /*#__PURE__*/styled(EverCloudMaximizeIcon)( /*#__PURE__*/_templateObject5$3(), mapControlBtnMixin);
4862
- const MeasureBtn = /*#__PURE__*/styled(EverCloudMeasureLenghtIcon)( /*#__PURE__*/_templateObject6$1(), mapControlBtnMixin);
4863
- const MapControl = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject7$1());
4864
- const MapControls = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject8$1(), (_ref) => {
4460
+ const FullscreenBtn = /*#__PURE__*/styled(EverCloudMaximizeIcon)(_templateObject5$3 || (_templateObject5$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
4461
+ const MeasureBtn = /*#__PURE__*/styled(EverCloudMeasureLenghtIcon)(_templateObject6$1 || (_templateObject6$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
4462
+ const MapControl = /*#__PURE__*/styled.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"])));
4463
+ const MapControls = /*#__PURE__*/styled.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) => {
4865
4464
  let {
4866
4465
  vertical
4867
4466
  } = _ref;
@@ -4906,60 +4505,12 @@ const Fullscreen = () => {
4906
4505
  }));
4907
4506
  };
4908
4507
 
4909
- function _templateObject5$4() {
4910
- const data = _taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n font-size: 0.625rem;\n opacity: 0.65;\n"]);
4911
-
4912
- _templateObject5$4 = function _templateObject5() {
4913
- return data;
4914
- };
4915
-
4916
- return data;
4917
- }
4918
-
4919
- function _templateObject4$4() {
4920
- const data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"]);
4921
-
4922
- _templateObject4$4 = function _templateObject4() {
4923
- return data;
4924
- };
4925
-
4926
- return data;
4927
- }
4928
-
4929
- function _templateObject3$5() {
4930
- const data = _taggedTemplateLiteralLoose(["\n margin: 0;\n"]);
4931
-
4932
- _templateObject3$5 = function _templateObject3() {
4933
- return data;
4934
- };
4935
-
4936
- return data;
4937
- }
4938
-
4939
- function _templateObject2$5() {
4940
- 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"]);
4941
-
4942
- _templateObject2$5 = function _templateObject2() {
4943
- return data;
4944
- };
4945
-
4946
- return data;
4947
- }
4948
-
4949
- function _templateObject$6() {
4950
- const data = _taggedTemplateLiteralLoose(["\n cursor: default;\n"]);
4951
-
4952
- _templateObject$6 = function _templateObject() {
4953
- return data;
4954
- };
4955
-
4956
- return data;
4957
- }
4958
- const MapLegendControl = /*#__PURE__*/styled(MapControl)( /*#__PURE__*/_templateObject$6());
4959
- const MapLegendContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject2$5());
4960
- const MapLegendHeader = /*#__PURE__*/styled(LegendSectionHeader)( /*#__PURE__*/_templateObject3$5());
4961
- const MapLegendSection = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject4$4());
4962
- const MapLegendValueDescr = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject5$4());
4508
+ var _templateObject$6, _templateObject2$5, _templateObject3$5, _templateObject4$4, _templateObject5$4;
4509
+ const MapLegendControl = /*#__PURE__*/styled(MapControl)(_templateObject$6 || (_templateObject$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: default;\n"])));
4510
+ const MapLegendContainer = /*#__PURE__*/styled.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"])));
4511
+ const MapLegendHeader = /*#__PURE__*/styled(LegendSectionHeader)(_templateObject3$5 || (_templateObject3$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0;\n"])));
4512
+ const MapLegendSection = /*#__PURE__*/styled.div(_templateObject4$4 || (_templateObject4$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
4513
+ const MapLegendValueDescr = /*#__PURE__*/styled.div(_templateObject5$4 || (_templateObject5$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0.5rem;\n font-size: 0.625rem;\n opacity: 0.65;\n"])));
4963
4514
 
4964
4515
  const MAX_SIZE$2 = 100;
4965
4516
  const MapLegendSymbol = (_ref) => {
@@ -5519,11 +5070,12 @@ let MeasureTool = /*#__PURE__*/function (_React$Component) {
5519
5070
  return MeasureTool;
5520
5071
  }(React.Component);
5521
5072
 
5073
+ const _excluded$3 = ["isActive"];
5522
5074
  const Measurer = (_ref) => {
5523
5075
  let {
5524
5076
  isActive
5525
5077
  } = _ref,
5526
- props = _objectWithoutPropertiesLoose(_ref, ["isActive"]);
5078
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
5527
5079
 
5528
5080
  const {
5529
5081
  map,
@@ -5535,43 +5087,15 @@ const Measurer = (_ref) => {
5535
5087
  }, props)) : null;
5536
5088
  };
5537
5089
 
5538
- function _templateObject3$6() {
5539
- 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"]);
5540
-
5541
- _templateObject3$6 = function _templateObject3() {
5542
- return data;
5543
- };
5544
-
5545
- return data;
5546
- }
5547
-
5548
- function _templateObject2$6() {
5549
- 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"]);
5550
-
5551
- _templateObject2$6 = function _templateObject2() {
5552
- return data;
5553
- };
5554
-
5555
- return data;
5556
- }
5557
-
5558
- function _templateObject$7() {
5559
- 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"]);
5560
-
5561
- _templateObject$7 = function _templateObject() {
5562
- return data;
5563
- };
5564
-
5565
- return data;
5566
- }
5567
- const ScaleRulerContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject$7());
5568
- const ScaleRulerBlock = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject2$6(), (_ref) => {
5090
+ var _templateObject$7, _templateObject2$6, _templateObject3$6;
5091
+ const ScaleRulerContainer = /*#__PURE__*/styled.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"])));
5092
+ const ScaleRulerBlock = /*#__PURE__*/styled.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) => {
5569
5093
  let {
5570
5094
  width
5571
5095
  } = _ref;
5572
5096
  return width + "px";
5573
5097
  });
5574
- const TextContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject3$6(), (_ref2) => {
5098
+ const TextContainer = /*#__PURE__*/styled.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) => {
5575
5099
  let {
5576
5100
  alignEnd
5577
5101
  } = _ref2;
@@ -5624,141 +5148,33 @@ const ZoomLevel = () => {
5624
5148
  }, level || 0);
5625
5149
  };
5626
5150
 
5627
- function _templateObject11$1() {
5628
- 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"]);
5629
-
5630
- _templateObject11$1 = function _templateObject11() {
5631
- return data;
5632
- };
5633
-
5634
- return data;
5635
- }
5636
-
5637
- function _templateObject10$1() {
5638
- const data = _taggedTemplateLiteralLoose(["\n &:before {\n content: '';\n width: 0;\n height: 0;\n position: absolute;\n }\n"]);
5639
-
5640
- _templateObject10$1 = function _templateObject10() {
5641
- return data;
5642
- };
5643
-
5644
- return data;
5645
- }
5646
-
5647
- function _templateObject9$1() {
5648
- const data = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"]);
5649
-
5650
- _templateObject9$1 = function _templateObject9() {
5651
- return data;
5652
- };
5653
-
5654
- return data;
5655
- }
5656
-
5657
- function _templateObject8$2() {
5658
- const data = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n top: ", ";\n ", "\n"]);
5659
-
5660
- _templateObject8$2 = function _templateObject8() {
5661
- return data;
5662
- };
5663
-
5664
- return data;
5665
- }
5666
-
5667
- function _templateObject7$2() {
5668
- const data = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n right: ", ";\n ", "\n"]);
5151
+ var _templateObject$8, _templateObject2$7, _templateObject3$7, _templateObject4$5, _templateObject5$5, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject10$1, _templateObject11$1;
5669
5152
 
5670
- _templateObject7$2 = function _templateObject7() {
5671
- return data;
5672
- };
5673
-
5674
- return data;
5675
- }
5676
-
5677
- function _templateObject6$2() {
5678
- const data = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n left: ", ";\n ", "\n"]);
5679
-
5680
- _templateObject6$2 = function _templateObject6() {
5681
- return data;
5682
- };
5153
+ const cornerBottom = cornerSize => 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);
5683
5154
 
5684
- return data;
5685
- }
5686
-
5687
- function _templateObject5$5() {
5688
- const data = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n bottom: ", ";\n ", "\n"]);
5155
+ const cornerLeft = cornerSize => 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);
5689
5156
 
5690
- _templateObject5$5 = function _templateObject5() {
5691
- return data;
5692
- };
5157
+ const cornerRight = cornerSize => 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);
5693
5158
 
5694
- return data;
5695
- }
5159
+ const cornerTop = cornerSize => 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);
5696
5160
 
5697
- function _templateObject4$5() {
5698
- 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"]);
5161
+ const top = (distance, cornerSize) => css(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n bottom: ", ";\n ", "\n"])), distance, cornerSize && cornerBottom(cornerSize));
5699
5162
 
5700
- _templateObject4$5 = function _templateObject4() {
5701
- return data;
5702
- };
5163
+ const right = (distance, cornerSize) => css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n left: ", ";\n ", "\n"])), distance, cornerSize && cornerLeft(cornerSize));
5703
5164
 
5704
- return data;
5705
- }
5165
+ const left = (distance, cornerSize) => css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n right: ", ";\n ", "\n"])), distance, cornerSize && cornerRight(cornerSize));
5706
5166
 
5707
- function _templateObject3$7() {
5708
- 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"]);
5709
-
5710
- _templateObject3$7 = function _templateObject3() {
5711
- return data;
5712
- };
5713
-
5714
- return data;
5715
- }
5716
-
5717
- function _templateObject2$7() {
5718
- 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"]);
5719
-
5720
- _templateObject2$7 = function _templateObject2() {
5721
- return data;
5722
- };
5723
-
5724
- return data;
5725
- }
5726
-
5727
- function _templateObject$8() {
5728
- 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"]);
5729
-
5730
- _templateObject$8 = function _templateObject() {
5731
- return data;
5732
- };
5733
-
5734
- return data;
5735
- }
5736
-
5737
- const cornerBottom = cornerSize => css(_templateObject$8(), cornerSize, cornerSize, cornerSize);
5738
-
5739
- const cornerLeft = cornerSize => css(_templateObject2$7(), cornerSize, cornerSize, cornerSize);
5740
-
5741
- const cornerRight = cornerSize => css(_templateObject3$7(), cornerSize, cornerSize, cornerSize);
5742
-
5743
- const cornerTop = cornerSize => css(_templateObject4$5(), cornerSize, cornerSize, cornerSize);
5744
-
5745
- const top = (distance, cornerSize) => css(_templateObject5$5(), distance, cornerSize && cornerBottom(cornerSize));
5746
-
5747
- const right = (distance, cornerSize) => css(_templateObject6$2(), distance, cornerSize && cornerLeft(cornerSize));
5748
-
5749
- const left = (distance, cornerSize) => css(_templateObject7$2(), distance, cornerSize && cornerRight(cornerSize));
5750
-
5751
- const bottom = (distance, cornerSize) => css(_templateObject8$2(), distance, cornerSize && cornerTop(cornerSize));
5167
+ const bottom = (distance, cornerSize) => css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n top: ", ";\n ", "\n"])), distance, cornerSize && cornerTop(cornerSize));
5752
5168
 
5753
5169
  const placementMixin$1 = function placementMixin(placement, distance, cornerSize) {
5754
5170
  if (placement === void 0) {
5755
5171
  placement = 'top';
5756
5172
  }
5757
5173
 
5758
- return css(_templateObject9$1(), placement === 'top' && top(distance, cornerSize), placement === 'right' && right(distance, cornerSize), placement === 'left' && left(distance, cornerSize), placement === 'bottom' && bottom(distance, cornerSize));
5174
+ return 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));
5759
5175
  };
5760
- const corner = /*#__PURE__*/css( /*#__PURE__*/_templateObject10$1());
5761
- const TooltipComponent = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject11$1(), (_ref) => {
5176
+ const corner = /*#__PURE__*/css(_templateObject10$1 || (_templateObject10$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n &:before {\n content: '';\n width: 0;\n height: 0;\n position: absolute;\n }\n"])));
5177
+ const TooltipComponent = /*#__PURE__*/styled.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) => {
5762
5178
  let {
5763
5179
  placement,
5764
5180
  distance = '0.5rem',
@@ -5773,6 +5189,8 @@ const TooltipComponent = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject11
5773
5189
  return withArrow && corner;
5774
5190
  });
5775
5191
 
5192
+ const _excluded$4 = ["features", "map", "center", "component", "zIndex", "children", "content", "onEachFeature", "clickMode"];
5193
+
5776
5194
  const {
5777
5195
  Provider,
5778
5196
  Consumer
@@ -5790,7 +5208,7 @@ const Tooltip = (_ref) => {
5790
5208
  onEachFeature,
5791
5209
  clickMode
5792
5210
  } = _ref,
5793
- props = _objectWithoutPropertiesLoose(_ref, ["features", "map", "center", "component", "zIndex", "children", "content", "onEachFeature", "clickMode"]);
5211
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
5794
5212
 
5795
5213
  const onTooltip = useTooltip(zIndex);
5796
5214
  useEffect(() => {