@evergis/react 2.0.50 → 2.0.51
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,
|
|
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 = (
|
|
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";
|
|
@@ -3932,16 +3933,8 @@ const Symbol = (_ref) => {
|
|
|
3932
3933
|
});
|
|
3933
3934
|
};
|
|
3934
3935
|
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
_templateObject = function _templateObject() {
|
|
3939
|
-
return data;
|
|
3940
|
-
};
|
|
3941
|
-
|
|
3942
|
-
return data;
|
|
3943
|
-
}
|
|
3944
|
-
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) => {
|
|
3945
3938
|
let {
|
|
3946
3939
|
geometryType,
|
|
3947
3940
|
icons
|
|
@@ -3971,236 +3964,28 @@ const StyleSymbol = (_ref) => {
|
|
|
3971
3964
|
}) : null));
|
|
3972
3965
|
};
|
|
3973
3966
|
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
};
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
_templateObject19 = function _templateObject19() {
|
|
3998
|
-
return data;
|
|
3999
|
-
};
|
|
4000
|
-
|
|
4001
|
-
return data;
|
|
4002
|
-
}
|
|
4003
|
-
|
|
4004
|
-
function _templateObject18() {
|
|
4005
|
-
const data = _taggedTemplateLiteralLoose([""]);
|
|
4006
|
-
|
|
4007
|
-
_templateObject18 = function _templateObject18() {
|
|
4008
|
-
return data;
|
|
4009
|
-
};
|
|
4010
|
-
|
|
4011
|
-
return data;
|
|
4012
|
-
}
|
|
4013
|
-
|
|
4014
|
-
function _templateObject17() {
|
|
4015
|
-
const data = _taggedTemplateLiteralLoose([""]);
|
|
4016
|
-
|
|
4017
|
-
_templateObject17 = function _templateObject17() {
|
|
4018
|
-
return data;
|
|
4019
|
-
};
|
|
4020
|
-
|
|
4021
|
-
return data;
|
|
4022
|
-
}
|
|
4023
|
-
|
|
4024
|
-
function _templateObject16() {
|
|
4025
|
-
const data = _taggedTemplateLiteralLoose(["\n padding: 0 0.25rem;\n color: #1fb3aa;\n text-decoration: none;\n"]);
|
|
4026
|
-
|
|
4027
|
-
_templateObject16 = function _templateObject16() {
|
|
4028
|
-
return data;
|
|
4029
|
-
};
|
|
4030
|
-
|
|
4031
|
-
return data;
|
|
4032
|
-
}
|
|
4033
|
-
|
|
4034
|
-
function _templateObject15() {
|
|
4035
|
-
const data = _taggedTemplateLiteralLoose([""]);
|
|
4036
|
-
|
|
4037
|
-
_templateObject15 = function _templateObject15() {
|
|
4038
|
-
return data;
|
|
4039
|
-
};
|
|
4040
|
-
|
|
4041
|
-
return data;
|
|
4042
|
-
}
|
|
4043
|
-
|
|
4044
|
-
function _templateObject14() {
|
|
4045
|
-
const data = _taggedTemplateLiteralLoose(["\n flex-wrap: wrap;\n display: flex;\n"]);
|
|
4046
|
-
|
|
4047
|
-
_templateObject14 = function _templateObject14() {
|
|
4048
|
-
return data;
|
|
4049
|
-
};
|
|
4050
|
-
|
|
4051
|
-
return data;
|
|
4052
|
-
}
|
|
4053
|
-
|
|
4054
|
-
function _templateObject13() {
|
|
4055
|
-
const data = _taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n margin: 0.25rem 0;\n"]);
|
|
4056
|
-
|
|
4057
|
-
_templateObject13 = function _templateObject13() {
|
|
4058
|
-
return data;
|
|
4059
|
-
};
|
|
4060
|
-
|
|
4061
|
-
return data;
|
|
4062
|
-
}
|
|
4063
|
-
|
|
4064
|
-
function _templateObject12() {
|
|
4065
|
-
const data = _taggedTemplateLiteralLoose(["\n padding-bottom: 0.5rem;\n"]);
|
|
4066
|
-
|
|
4067
|
-
_templateObject12 = function _templateObject12() {
|
|
4068
|
-
return data;
|
|
4069
|
-
};
|
|
4070
|
-
|
|
4071
|
-
return data;
|
|
4072
|
-
}
|
|
4073
|
-
|
|
4074
|
-
function _templateObject11() {
|
|
4075
|
-
const data = _taggedTemplateLiteralLoose(["\n padding: 1rem 1.5rem;\n overflow-y: scroll;\n"]);
|
|
4076
|
-
|
|
4077
|
-
_templateObject11 = function _templateObject11() {
|
|
4078
|
-
return data;
|
|
4079
|
-
};
|
|
4080
|
-
|
|
4081
|
-
return data;
|
|
4082
|
-
}
|
|
4083
|
-
|
|
4084
|
-
function _templateObject10() {
|
|
4085
|
-
const data = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n padding: 0 0.25rem;\n color: #1fb3aa;\n"]);
|
|
4086
|
-
|
|
4087
|
-
_templateObject10 = function _templateObject10() {
|
|
4088
|
-
return data;
|
|
4089
|
-
};
|
|
4090
|
-
|
|
4091
|
-
return data;
|
|
4092
|
-
}
|
|
4093
|
-
|
|
4094
|
-
function _templateObject9() {
|
|
4095
|
-
const data = _taggedTemplateLiteralLoose(["\n display: flex;\n"]);
|
|
4096
|
-
|
|
4097
|
-
_templateObject9 = function _templateObject9() {
|
|
4098
|
-
return data;
|
|
4099
|
-
};
|
|
4100
|
-
|
|
4101
|
-
return data;
|
|
4102
|
-
}
|
|
4103
|
-
|
|
4104
|
-
function _templateObject8() {
|
|
4105
|
-
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"]);
|
|
4106
|
-
|
|
4107
|
-
_templateObject8 = function _templateObject8() {
|
|
4108
|
-
return data;
|
|
4109
|
-
};
|
|
4110
|
-
|
|
4111
|
-
return data;
|
|
4112
|
-
}
|
|
4113
|
-
|
|
4114
|
-
function _templateObject7() {
|
|
4115
|
-
const data = _taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n"]);
|
|
4116
|
-
|
|
4117
|
-
_templateObject7 = function _templateObject7() {
|
|
4118
|
-
return data;
|
|
4119
|
-
};
|
|
4120
|
-
|
|
4121
|
-
return data;
|
|
4122
|
-
}
|
|
4123
|
-
|
|
4124
|
-
function _templateObject6() {
|
|
4125
|
-
const data = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"]);
|
|
4126
|
-
|
|
4127
|
-
_templateObject6 = function _templateObject6() {
|
|
4128
|
-
return data;
|
|
4129
|
-
};
|
|
4130
|
-
|
|
4131
|
-
return data;
|
|
4132
|
-
}
|
|
4133
|
-
|
|
4134
|
-
function _templateObject5() {
|
|
4135
|
-
const data = _taggedTemplateLiteralLoose(["\n display: flex;\n\n ", " {\n margin: 0 0.5rem;\n }\n"]);
|
|
4136
|
-
|
|
4137
|
-
_templateObject5 = function _templateObject5() {
|
|
4138
|
-
return data;
|
|
4139
|
-
};
|
|
4140
|
-
|
|
4141
|
-
return data;
|
|
4142
|
-
}
|
|
4143
|
-
|
|
4144
|
-
function _templateObject4() {
|
|
4145
|
-
const data = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0 0.5rem;\n width: 13.5rem;\n flex-grow: 1;\n"]);
|
|
4146
|
-
|
|
4147
|
-
_templateObject4 = function _templateObject4() {
|
|
4148
|
-
return data;
|
|
4149
|
-
};
|
|
4150
|
-
|
|
4151
|
-
return data;
|
|
4152
|
-
}
|
|
4153
|
-
|
|
4154
|
-
function _templateObject3() {
|
|
4155
|
-
const data = _taggedTemplateLiteralLoose(["\n display: flex;\n padding: 1.5rem 1.5rem 1rem;\n align-items: center;\n"]);
|
|
4156
|
-
|
|
4157
|
-
_templateObject3 = function _templateObject3() {
|
|
4158
|
-
return data;
|
|
4159
|
-
};
|
|
4160
|
-
|
|
4161
|
-
return data;
|
|
4162
|
-
}
|
|
4163
|
-
|
|
4164
|
-
function _templateObject2() {
|
|
4165
|
-
const data = _taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"]);
|
|
4166
|
-
|
|
4167
|
-
_templateObject2 = function _templateObject2() {
|
|
4168
|
-
return data;
|
|
4169
|
-
};
|
|
4170
|
-
|
|
4171
|
-
return data;
|
|
4172
|
-
}
|
|
4173
|
-
|
|
4174
|
-
function _templateObject$1() {
|
|
4175
|
-
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"]);
|
|
4176
|
-
|
|
4177
|
-
_templateObject$1 = function _templateObject() {
|
|
4178
|
-
return data;
|
|
4179
|
-
};
|
|
4180
|
-
|
|
4181
|
-
return data;
|
|
4182
|
-
}
|
|
4183
|
-
const EvergisCardContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject$1(), Icon);
|
|
4184
|
-
const StickyHeader = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject2());
|
|
4185
|
-
const CardHeader = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject3());
|
|
4186
|
-
const CardTitle = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject4());
|
|
4187
|
-
const CardControls = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject5(), Icon);
|
|
4188
|
-
const FeatureName = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject6());
|
|
4189
|
-
const LayerName = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject7());
|
|
4190
|
-
const CardPagination = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject8());
|
|
4191
|
-
const PaginationDescription = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject9());
|
|
4192
|
-
const CurrentFeatureIndex = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject10());
|
|
4193
|
-
const CardAttributes = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject11());
|
|
4194
|
-
const AttributeContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject12());
|
|
4195
|
-
const AttributeTitle = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject13());
|
|
4196
|
-
const AttributeValueContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject14());
|
|
4197
|
-
const SimpleAttribute = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject15());
|
|
4198
|
-
const ValueLink = /*#__PURE__*/styled.a( /*#__PURE__*/_templateObject16());
|
|
4199
|
-
const StatIcon = /*#__PURE__*/styled(EverCloudStatisticsIcon)( /*#__PURE__*/_templateObject17());
|
|
4200
|
-
const ZoomIcon = /*#__PURE__*/styled(EverCloudZoomtoIcon)( /*#__PURE__*/_templateObject18());
|
|
4201
|
-
const CloseIcon = /*#__PURE__*/styled(EverCloudCloseIcon)( /*#__PURE__*/_templateObject19());
|
|
4202
|
-
const PrevIcon = /*#__PURE__*/styled(EverCloudPlayPrevIcon)( /*#__PURE__*/_templateObject20());
|
|
4203
|
-
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([""])));
|
|
4204
3989
|
|
|
4205
3990
|
const MailValue = (_ref) => {
|
|
4206
3991
|
let {
|
|
@@ -4344,13 +4129,14 @@ const StyledCard = (_ref) => {
|
|
|
4344
4129
|
})));
|
|
4345
4130
|
};
|
|
4346
4131
|
|
|
4132
|
+
const _excluded$1 = ["renderCard", "className", "children"];
|
|
4347
4133
|
const EvergisCard = (_ref) => {
|
|
4348
4134
|
let {
|
|
4349
4135
|
renderCard,
|
|
4350
4136
|
className,
|
|
4351
4137
|
children
|
|
4352
4138
|
} = _ref,
|
|
4353
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
4139
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
4354
4140
|
|
|
4355
4141
|
const {
|
|
4356
4142
|
features = []
|
|
@@ -4414,13 +4200,14 @@ const EvergisTileLayer = props => {
|
|
|
4414
4200
|
return null;
|
|
4415
4201
|
};
|
|
4416
4202
|
|
|
4203
|
+
const _excluded$2 = ["maskUrl", "zIndex", "isDisplayed"];
|
|
4417
4204
|
function useTileLayer(_ref) {
|
|
4418
4205
|
let {
|
|
4419
4206
|
maskUrl,
|
|
4420
4207
|
zIndex,
|
|
4421
4208
|
isDisplayed
|
|
4422
4209
|
} = _ref,
|
|
4423
|
-
tileLayerParams = _objectWithoutPropertiesLoose(_ref,
|
|
4210
|
+
tileLayerParams = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
4424
4211
|
|
|
4425
4212
|
const {
|
|
4426
4213
|
map
|
|
@@ -4468,60 +4255,12 @@ const EvergisSelect = (_ref) => {
|
|
|
4468
4255
|
}));
|
|
4469
4256
|
};
|
|
4470
4257
|
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
return data;
|
|
4479
|
-
}
|
|
4480
|
-
|
|
4481
|
-
function _templateObject4$1() {
|
|
4482
|
-
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"]);
|
|
4483
|
-
|
|
4484
|
-
_templateObject4$1 = function _templateObject4() {
|
|
4485
|
-
return data;
|
|
4486
|
-
};
|
|
4487
|
-
|
|
4488
|
-
return data;
|
|
4489
|
-
}
|
|
4490
|
-
|
|
4491
|
-
function _templateObject3$1() {
|
|
4492
|
-
const data = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0;\n"]);
|
|
4493
|
-
|
|
4494
|
-
_templateObject3$1 = function _templateObject3() {
|
|
4495
|
-
return data;
|
|
4496
|
-
};
|
|
4497
|
-
|
|
4498
|
-
return data;
|
|
4499
|
-
}
|
|
4500
|
-
|
|
4501
|
-
function _templateObject2$1() {
|
|
4502
|
-
const data = _taggedTemplateLiteralLoose([""]);
|
|
4503
|
-
|
|
4504
|
-
_templateObject2$1 = function _templateObject2() {
|
|
4505
|
-
return data;
|
|
4506
|
-
};
|
|
4507
|
-
|
|
4508
|
-
return data;
|
|
4509
|
-
}
|
|
4510
|
-
|
|
4511
|
-
function _templateObject$2() {
|
|
4512
|
-
const data = _taggedTemplateLiteralLoose(["\n background-color: #fff;\n\n canvas {\n border-radius: 0.125rem;\n }\n"]);
|
|
4513
|
-
|
|
4514
|
-
_templateObject$2 = function _templateObject() {
|
|
4515
|
-
return data;
|
|
4516
|
-
};
|
|
4517
|
-
|
|
4518
|
-
return data;
|
|
4519
|
-
}
|
|
4520
|
-
const LegendContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject$2());
|
|
4521
|
-
const LegendSectionContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject2$1());
|
|
4522
|
-
const LegendSymbolTitle = /*#__PURE__*/styled.p( /*#__PURE__*/_templateObject3$1());
|
|
4523
|
-
const LegendValueContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject4$1(), LegendSymbolTitle);
|
|
4524
|
-
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"])));
|
|
4525
4264
|
|
|
4526
4265
|
const LegendSection = (_ref) => {
|
|
4527
4266
|
let {
|
|
@@ -4532,38 +4271,10 @@ const LegendSection = (_ref) => {
|
|
|
4532
4271
|
return React.createElement(LegendSectionContainer, null, React.createElement(LegendSectionHeader, null, renderLegendTitle ? renderLegendTitle(item) : item.title), item.values.map(children));
|
|
4533
4272
|
};
|
|
4534
4273
|
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
return data;
|
|
4540
|
-
};
|
|
4541
|
-
|
|
4542
|
-
return data;
|
|
4543
|
-
}
|
|
4544
|
-
|
|
4545
|
-
function _templateObject2$2() {
|
|
4546
|
-
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"]);
|
|
4547
|
-
|
|
4548
|
-
_templateObject2$2 = function _templateObject2() {
|
|
4549
|
-
return data;
|
|
4550
|
-
};
|
|
4551
|
-
|
|
4552
|
-
return data;
|
|
4553
|
-
}
|
|
4554
|
-
|
|
4555
|
-
function _templateObject$3() {
|
|
4556
|
-
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"]);
|
|
4557
|
-
|
|
4558
|
-
_templateObject$3 = function _templateObject() {
|
|
4559
|
-
return data;
|
|
4560
|
-
};
|
|
4561
|
-
|
|
4562
|
-
return data;
|
|
4563
|
-
}
|
|
4564
|
-
const InputContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject$3());
|
|
4565
|
-
const InputField = /*#__PURE__*/styled.input( /*#__PURE__*/_templateObject2$2());
|
|
4566
|
-
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"])));
|
|
4567
4278
|
|
|
4568
4279
|
const SearchInput = (_ref) => {
|
|
4569
4280
|
let {
|
|
@@ -4718,63 +4429,15 @@ const Map = (_ref) => {
|
|
|
4718
4429
|
}, children);
|
|
4719
4430
|
};
|
|
4720
4431
|
|
|
4721
|
-
|
|
4722
|
-
const data = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"]);
|
|
4432
|
+
var _templateObject$4, _templateObject2$3, _templateObject3$3, _templateObject4$2, _templateObject5$2;
|
|
4723
4433
|
|
|
4724
|
-
|
|
4725
|
-
return data;
|
|
4726
|
-
};
|
|
4727
|
-
|
|
4728
|
-
return data;
|
|
4729
|
-
}
|
|
4434
|
+
const topLeft = distance => css(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n"])), distance, distance);
|
|
4730
4435
|
|
|
4731
|
-
|
|
4732
|
-
const data = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n right: ", ";\n"]);
|
|
4436
|
+
const topRight = distance => css(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n"])), distance, distance);
|
|
4733
4437
|
|
|
4734
|
-
|
|
4735
|
-
return data;
|
|
4736
|
-
};
|
|
4737
|
-
|
|
4738
|
-
return data;
|
|
4739
|
-
}
|
|
4438
|
+
const bottomLeft = distance => css(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n"])), distance, distance);
|
|
4740
4439
|
|
|
4741
|
-
|
|
4742
|
-
const data = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n"]);
|
|
4743
|
-
|
|
4744
|
-
_templateObject3$3 = function _templateObject3() {
|
|
4745
|
-
return data;
|
|
4746
|
-
};
|
|
4747
|
-
|
|
4748
|
-
return data;
|
|
4749
|
-
}
|
|
4750
|
-
|
|
4751
|
-
function _templateObject2$3() {
|
|
4752
|
-
const data = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n"]);
|
|
4753
|
-
|
|
4754
|
-
_templateObject2$3 = function _templateObject2() {
|
|
4755
|
-
return data;
|
|
4756
|
-
};
|
|
4757
|
-
|
|
4758
|
-
return data;
|
|
4759
|
-
}
|
|
4760
|
-
|
|
4761
|
-
function _templateObject$4() {
|
|
4762
|
-
const data = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n"]);
|
|
4763
|
-
|
|
4764
|
-
_templateObject$4 = function _templateObject() {
|
|
4765
|
-
return data;
|
|
4766
|
-
};
|
|
4767
|
-
|
|
4768
|
-
return data;
|
|
4769
|
-
}
|
|
4770
|
-
|
|
4771
|
-
const topLeft = distance => css(_templateObject$4(), distance, distance);
|
|
4772
|
-
|
|
4773
|
-
const topRight = distance => css(_templateObject2$3(), distance, distance);
|
|
4774
|
-
|
|
4775
|
-
const bottomLeft = distance => css(_templateObject3$3(), distance, distance);
|
|
4776
|
-
|
|
4777
|
-
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);
|
|
4778
4441
|
|
|
4779
4442
|
const placementMixin = function placementMixin(placement, distance) {
|
|
4780
4443
|
if (placement === void 0) {
|
|
@@ -4785,97 +4448,19 @@ const placementMixin = function placementMixin(placement, distance) {
|
|
|
4785
4448
|
distance = '1rem';
|
|
4786
4449
|
}
|
|
4787
4450
|
|
|
4788
|
-
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));
|
|
4789
4452
|
};
|
|
4790
4453
|
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
};
|
|
4797
|
-
|
|
4798
|
-
return data;
|
|
4799
|
-
}
|
|
4800
|
-
|
|
4801
|
-
function _templateObject7$1() {
|
|
4802
|
-
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"]);
|
|
4803
|
-
|
|
4804
|
-
_templateObject7$1 = function _templateObject7() {
|
|
4805
|
-
return data;
|
|
4806
|
-
};
|
|
4807
|
-
|
|
4808
|
-
return data;
|
|
4809
|
-
}
|
|
4810
|
-
|
|
4811
|
-
function _templateObject6$1() {
|
|
4812
|
-
const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
|
|
4813
|
-
|
|
4814
|
-
_templateObject6$1 = function _templateObject6() {
|
|
4815
|
-
return data;
|
|
4816
|
-
};
|
|
4817
|
-
|
|
4818
|
-
return data;
|
|
4819
|
-
}
|
|
4820
|
-
|
|
4821
|
-
function _templateObject5$3() {
|
|
4822
|
-
const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
|
|
4823
|
-
|
|
4824
|
-
_templateObject5$3 = function _templateObject5() {
|
|
4825
|
-
return data;
|
|
4826
|
-
};
|
|
4827
|
-
|
|
4828
|
-
return data;
|
|
4829
|
-
}
|
|
4830
|
-
|
|
4831
|
-
function _templateObject4$3() {
|
|
4832
|
-
const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
|
|
4833
|
-
|
|
4834
|
-
_templateObject4$3 = function _templateObject4() {
|
|
4835
|
-
return data;
|
|
4836
|
-
};
|
|
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
|
|
4837
4459
|
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
|
|
4843
|
-
|
|
4844
|
-
_templateObject3$4 = function _templateObject3() {
|
|
4845
|
-
return data;
|
|
4846
|
-
};
|
|
4847
|
-
|
|
4848
|
-
return data;
|
|
4849
|
-
}
|
|
4850
|
-
|
|
4851
|
-
function _templateObject2$4() {
|
|
4852
|
-
const data = _taggedTemplateLiteralLoose(["\n ", "\n"]);
|
|
4853
|
-
|
|
4854
|
-
_templateObject2$4 = function _templateObject2() {
|
|
4855
|
-
return data;
|
|
4856
|
-
};
|
|
4857
|
-
|
|
4858
|
-
return data;
|
|
4859
|
-
}
|
|
4860
|
-
|
|
4861
|
-
function _templateObject$5() {
|
|
4862
|
-
const data = _taggedTemplateLiteralLoose(["\n width: 2rem;\n height: 2rem;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n"]);
|
|
4863
|
-
|
|
4864
|
-
_templateObject$5 = function _templateObject() {
|
|
4865
|
-
return data;
|
|
4866
|
-
};
|
|
4867
|
-
|
|
4868
|
-
return data;
|
|
4869
|
-
}
|
|
4870
|
-
const mapControlBtnMixin = /*#__PURE__*/css( /*#__PURE__*/_templateObject$5());
|
|
4871
|
-
const ZoomInBtn = /*#__PURE__*/styled(EverCloudPlusIcon)( /*#__PURE__*/_templateObject2$4(), mapControlBtnMixin);
|
|
4872
|
-
const ZoomOutBtn = /*#__PURE__*/styled(EverCloudMinusIcon)( /*#__PURE__*/_templateObject3$4(), mapControlBtnMixin);
|
|
4873
|
-
const SearchBtn = /*#__PURE__*/styled(EverCloudSearchIcon)( /*#__PURE__*/_templateObject4$3(), mapControlBtnMixin); // TODO not exists in fonts
|
|
4874
|
-
|
|
4875
|
-
const FullscreenBtn = /*#__PURE__*/styled(EverCloudMaximizeIcon)( /*#__PURE__*/_templateObject5$3(), mapControlBtnMixin);
|
|
4876
|
-
const MeasureBtn = /*#__PURE__*/styled(EverCloudMeasureLenghtIcon)( /*#__PURE__*/_templateObject6$1(), mapControlBtnMixin);
|
|
4877
|
-
const MapControl = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject7$1());
|
|
4878
|
-
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) => {
|
|
4879
4464
|
let {
|
|
4880
4465
|
vertical
|
|
4881
4466
|
} = _ref;
|
|
@@ -4920,60 +4505,12 @@ const Fullscreen = () => {
|
|
|
4920
4505
|
}));
|
|
4921
4506
|
};
|
|
4922
4507
|
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
return data;
|
|
4931
|
-
}
|
|
4932
|
-
|
|
4933
|
-
function _templateObject4$4() {
|
|
4934
|
-
const data = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"]);
|
|
4935
|
-
|
|
4936
|
-
_templateObject4$4 = function _templateObject4() {
|
|
4937
|
-
return data;
|
|
4938
|
-
};
|
|
4939
|
-
|
|
4940
|
-
return data;
|
|
4941
|
-
}
|
|
4942
|
-
|
|
4943
|
-
function _templateObject3$5() {
|
|
4944
|
-
const data = _taggedTemplateLiteralLoose(["\n margin: 0;\n"]);
|
|
4945
|
-
|
|
4946
|
-
_templateObject3$5 = function _templateObject3() {
|
|
4947
|
-
return data;
|
|
4948
|
-
};
|
|
4949
|
-
|
|
4950
|
-
return data;
|
|
4951
|
-
}
|
|
4952
|
-
|
|
4953
|
-
function _templateObject2$5() {
|
|
4954
|
-
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"]);
|
|
4955
|
-
|
|
4956
|
-
_templateObject2$5 = function _templateObject2() {
|
|
4957
|
-
return data;
|
|
4958
|
-
};
|
|
4959
|
-
|
|
4960
|
-
return data;
|
|
4961
|
-
}
|
|
4962
|
-
|
|
4963
|
-
function _templateObject$6() {
|
|
4964
|
-
const data = _taggedTemplateLiteralLoose(["\n cursor: default;\n"]);
|
|
4965
|
-
|
|
4966
|
-
_templateObject$6 = function _templateObject() {
|
|
4967
|
-
return data;
|
|
4968
|
-
};
|
|
4969
|
-
|
|
4970
|
-
return data;
|
|
4971
|
-
}
|
|
4972
|
-
const MapLegendControl = /*#__PURE__*/styled(MapControl)( /*#__PURE__*/_templateObject$6());
|
|
4973
|
-
const MapLegendContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject2$5());
|
|
4974
|
-
const MapLegendHeader = /*#__PURE__*/styled(LegendSectionHeader)( /*#__PURE__*/_templateObject3$5());
|
|
4975
|
-
const MapLegendSection = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject4$4());
|
|
4976
|
-
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"])));
|
|
4977
4514
|
|
|
4978
4515
|
const MAX_SIZE$2 = 100;
|
|
4979
4516
|
const MapLegendSymbol = (_ref) => {
|
|
@@ -5533,11 +5070,12 @@ let MeasureTool = /*#__PURE__*/function (_React$Component) {
|
|
|
5533
5070
|
return MeasureTool;
|
|
5534
5071
|
}(React.Component);
|
|
5535
5072
|
|
|
5073
|
+
const _excluded$3 = ["isActive"];
|
|
5536
5074
|
const Measurer = (_ref) => {
|
|
5537
5075
|
let {
|
|
5538
5076
|
isActive
|
|
5539
5077
|
} = _ref,
|
|
5540
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
5078
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
5541
5079
|
|
|
5542
5080
|
const {
|
|
5543
5081
|
map,
|
|
@@ -5549,43 +5087,15 @@ const Measurer = (_ref) => {
|
|
|
5549
5087
|
}, props)) : null;
|
|
5550
5088
|
};
|
|
5551
5089
|
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
_templateObject3$6 = function _templateObject3() {
|
|
5556
|
-
return data;
|
|
5557
|
-
};
|
|
5558
|
-
|
|
5559
|
-
return data;
|
|
5560
|
-
}
|
|
5561
|
-
|
|
5562
|
-
function _templateObject2$6() {
|
|
5563
|
-
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"]);
|
|
5564
|
-
|
|
5565
|
-
_templateObject2$6 = function _templateObject2() {
|
|
5566
|
-
return data;
|
|
5567
|
-
};
|
|
5568
|
-
|
|
5569
|
-
return data;
|
|
5570
|
-
}
|
|
5571
|
-
|
|
5572
|
-
function _templateObject$7() {
|
|
5573
|
-
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"]);
|
|
5574
|
-
|
|
5575
|
-
_templateObject$7 = function _templateObject() {
|
|
5576
|
-
return data;
|
|
5577
|
-
};
|
|
5578
|
-
|
|
5579
|
-
return data;
|
|
5580
|
-
}
|
|
5581
|
-
const ScaleRulerContainer = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject$7());
|
|
5582
|
-
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) => {
|
|
5583
5093
|
let {
|
|
5584
5094
|
width
|
|
5585
5095
|
} = _ref;
|
|
5586
5096
|
return width + "px";
|
|
5587
5097
|
});
|
|
5588
|
-
const TextContainer = /*#__PURE__*/styled.div( /*#__PURE__*/
|
|
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) => {
|
|
5589
5099
|
let {
|
|
5590
5100
|
alignEnd
|
|
5591
5101
|
} = _ref2;
|
|
@@ -5638,141 +5148,33 @@ const ZoomLevel = () => {
|
|
|
5638
5148
|
}, level || 0);
|
|
5639
5149
|
};
|
|
5640
5150
|
|
|
5641
|
-
|
|
5642
|
-
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"]);
|
|
5643
|
-
|
|
5644
|
-
_templateObject11$1 = function _templateObject11() {
|
|
5645
|
-
return data;
|
|
5646
|
-
};
|
|
5647
|
-
|
|
5648
|
-
return data;
|
|
5649
|
-
}
|
|
5650
|
-
|
|
5651
|
-
function _templateObject10$1() {
|
|
5652
|
-
const data = _taggedTemplateLiteralLoose(["\n &:before {\n content: '';\n width: 0;\n height: 0;\n position: absolute;\n }\n"]);
|
|
5653
|
-
|
|
5654
|
-
_templateObject10$1 = function _templateObject10() {
|
|
5655
|
-
return data;
|
|
5656
|
-
};
|
|
5657
|
-
|
|
5658
|
-
return data;
|
|
5659
|
-
}
|
|
5660
|
-
|
|
5661
|
-
function _templateObject9$1() {
|
|
5662
|
-
const data = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"]);
|
|
5663
|
-
|
|
5664
|
-
_templateObject9$1 = function _templateObject9() {
|
|
5665
|
-
return data;
|
|
5666
|
-
};
|
|
5667
|
-
|
|
5668
|
-
return data;
|
|
5669
|
-
}
|
|
5670
|
-
|
|
5671
|
-
function _templateObject8$2() {
|
|
5672
|
-
const data = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n top: ", ";\n ", "\n"]);
|
|
5673
|
-
|
|
5674
|
-
_templateObject8$2 = function _templateObject8() {
|
|
5675
|
-
return data;
|
|
5676
|
-
};
|
|
5677
|
-
|
|
5678
|
-
return data;
|
|
5679
|
-
}
|
|
5680
|
-
|
|
5681
|
-
function _templateObject7$2() {
|
|
5682
|
-
const data = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n right: ", ";\n ", "\n"]);
|
|
5683
|
-
|
|
5684
|
-
_templateObject7$2 = function _templateObject7() {
|
|
5685
|
-
return data;
|
|
5686
|
-
};
|
|
5687
|
-
|
|
5688
|
-
return data;
|
|
5689
|
-
}
|
|
5690
|
-
|
|
5691
|
-
function _templateObject6$2() {
|
|
5692
|
-
const data = _taggedTemplateLiteralLoose(["\n transform: translate(0, -50%);\n top: -50%;\n left: ", ";\n ", "\n"]);
|
|
5693
|
-
|
|
5694
|
-
_templateObject6$2 = function _templateObject6() {
|
|
5695
|
-
return data;
|
|
5696
|
-
};
|
|
5697
|
-
|
|
5698
|
-
return data;
|
|
5699
|
-
}
|
|
5700
|
-
|
|
5701
|
-
function _templateObject5$5() {
|
|
5702
|
-
const data = _taggedTemplateLiteralLoose(["\n transform: translate(-50%, 0);\n left: -50%;\n bottom: ", ";\n ", "\n"]);
|
|
5703
|
-
|
|
5704
|
-
_templateObject5$5 = function _templateObject5() {
|
|
5705
|
-
return data;
|
|
5706
|
-
};
|
|
5707
|
-
|
|
5708
|
-
return data;
|
|
5709
|
-
}
|
|
5710
|
-
|
|
5711
|
-
function _templateObject4$5() {
|
|
5712
|
-
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"]);
|
|
5713
|
-
|
|
5714
|
-
_templateObject4$5 = function _templateObject4() {
|
|
5715
|
-
return data;
|
|
5716
|
-
};
|
|
5717
|
-
|
|
5718
|
-
return data;
|
|
5719
|
-
}
|
|
5151
|
+
var _templateObject$8, _templateObject2$7, _templateObject3$7, _templateObject4$5, _templateObject5$5, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject10$1, _templateObject11$1;
|
|
5720
5152
|
|
|
5721
|
-
|
|
5722
|
-
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"]);
|
|
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);
|
|
5723
5154
|
|
|
5724
|
-
|
|
5725
|
-
return data;
|
|
5726
|
-
};
|
|
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);
|
|
5727
5156
|
|
|
5728
|
-
|
|
5729
|
-
}
|
|
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);
|
|
5730
5158
|
|
|
5731
|
-
|
|
5732
|
-
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"]);
|
|
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);
|
|
5733
5160
|
|
|
5734
|
-
|
|
5735
|
-
return data;
|
|
5736
|
-
};
|
|
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));
|
|
5737
5162
|
|
|
5738
|
-
|
|
5739
|
-
}
|
|
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));
|
|
5740
5164
|
|
|
5741
|
-
|
|
5742
|
-
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"]);
|
|
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));
|
|
5743
5166
|
|
|
5744
|
-
|
|
5745
|
-
return data;
|
|
5746
|
-
};
|
|
5747
|
-
|
|
5748
|
-
return data;
|
|
5749
|
-
}
|
|
5750
|
-
|
|
5751
|
-
const cornerBottom = cornerSize => css(_templateObject$8(), cornerSize, cornerSize, cornerSize);
|
|
5752
|
-
|
|
5753
|
-
const cornerLeft = cornerSize => css(_templateObject2$7(), cornerSize, cornerSize, cornerSize);
|
|
5754
|
-
|
|
5755
|
-
const cornerRight = cornerSize => css(_templateObject3$7(), cornerSize, cornerSize, cornerSize);
|
|
5756
|
-
|
|
5757
|
-
const cornerTop = cornerSize => css(_templateObject4$5(), cornerSize, cornerSize, cornerSize);
|
|
5758
|
-
|
|
5759
|
-
const top = (distance, cornerSize) => css(_templateObject5$5(), distance, cornerSize && cornerBottom(cornerSize));
|
|
5760
|
-
|
|
5761
|
-
const right = (distance, cornerSize) => css(_templateObject6$2(), distance, cornerSize && cornerLeft(cornerSize));
|
|
5762
|
-
|
|
5763
|
-
const left = (distance, cornerSize) => css(_templateObject7$2(), distance, cornerSize && cornerRight(cornerSize));
|
|
5764
|
-
|
|
5765
|
-
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));
|
|
5766
5168
|
|
|
5767
5169
|
const placementMixin$1 = function placementMixin(placement, distance, cornerSize) {
|
|
5768
5170
|
if (placement === void 0) {
|
|
5769
5171
|
placement = 'top';
|
|
5770
5172
|
}
|
|
5771
5173
|
|
|
5772
|
-
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));
|
|
5773
5175
|
};
|
|
5774
|
-
const corner = /*#__PURE__*/css( /*#__PURE__*/
|
|
5775
|
-
const TooltipComponent = /*#__PURE__*/styled.div( /*#__PURE__*/
|
|
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) => {
|
|
5776
5178
|
let {
|
|
5777
5179
|
placement,
|
|
5778
5180
|
distance = '0.5rem',
|
|
@@ -5787,6 +5189,8 @@ const TooltipComponent = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject11
|
|
|
5787
5189
|
return withArrow && corner;
|
|
5788
5190
|
});
|
|
5789
5191
|
|
|
5192
|
+
const _excluded$4 = ["features", "map", "center", "component", "zIndex", "children", "content", "onEachFeature", "clickMode"];
|
|
5193
|
+
|
|
5790
5194
|
const {
|
|
5791
5195
|
Provider,
|
|
5792
5196
|
Consumer
|
|
@@ -5804,7 +5208,7 @@ const Tooltip = (_ref) => {
|
|
|
5804
5208
|
onEachFeature,
|
|
5805
5209
|
clickMode
|
|
5806
5210
|
} = _ref,
|
|
5807
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
5211
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
5808
5212
|
|
|
5809
5213
|
const onTooltip = useTooltip(zIndex);
|
|
5810
5214
|
useEffect(() => {
|