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