@evergis/react 2.0.50 → 2.0.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/EvergisCard/styled.d.ts +6 -7
- package/dist/components/MapControls/styled.d.ts +5 -6
- package/dist/components/SearchInput/styled.d.ts +1 -2
- package/dist/react.cjs.development.js +154 -716
- package/dist/react.cjs.development.js.map +1 -1
- package/dist/react.cjs.production.min.js +1 -1
- package/dist/react.cjs.production.min.js.map +1 -1
- package/dist/react.esm.js +154 -716
- package/dist/react.esm.js.map +1 -1
- package/package.json +23 -20
package/dist/react.esm.js
CHANGED
|
@@ -37,7 +37,7 @@ import { GridClusterProvider } from '@evergis/sgis/es/layers/clusterProviders/Gr
|
|
|
37
37
|
import { PointEditor } from '@evergis/sgis/es/controls/PointEditor';
|
|
38
38
|
import { debounce } from '@evergis/sgis/es/utils/utils';
|
|
39
39
|
import styled, { css } from 'styled-components';
|
|
40
|
-
import { Icon
|
|
40
|
+
import { Icon } from '@evergis/ui';
|
|
41
41
|
import punycode from 'punycode';
|
|
42
42
|
import { TileLayer as TileLayer$1 } from '@evergis/sgis/es/layers/TileLayer';
|
|
43
43
|
import { PolylineControl } from '@evergis/sgis/es/controls/PolylineControl';
|
|
@@ -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,44 @@ 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
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
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, _templateObject22;
|
|
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 featureCardIconMixin = /*#__PURE__*/css(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n"])));
|
|
3985
|
+
const StatIcon = /*#__PURE__*/styled(Icon)(_templateObject18 || (_templateObject18 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
3986
|
+
StatIcon.defaultProps = {
|
|
3987
|
+
kind: "statistics"
|
|
3988
|
+
};
|
|
3989
|
+
const ZoomIcon = /*#__PURE__*/styled(Icon)(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
3990
|
+
ZoomIcon.defaultProps = {
|
|
3991
|
+
kind: "plus"
|
|
3992
|
+
};
|
|
3993
|
+
const CloseIcon = /*#__PURE__*/styled(Icon)(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
3994
|
+
CloseIcon.defaultProps = {
|
|
3995
|
+
kind: "close"
|
|
3996
|
+
};
|
|
3997
|
+
const PrevIcon = /*#__PURE__*/styled(Icon)(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
3998
|
+
PrevIcon.defaultProps = {
|
|
3999
|
+
kind: "prev"
|
|
4000
|
+
};
|
|
4001
|
+
const NextIcon = /*#__PURE__*/styled(Icon)(_templateObject22 || (_templateObject22 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4002
|
+
NextIcon.defaultProps = {
|
|
4003
|
+
kind: "next"
|
|
4004
|
+
};
|
|
4204
4005
|
|
|
4205
4006
|
const MailValue = (_ref) => {
|
|
4206
4007
|
let {
|
|
@@ -4344,13 +4145,14 @@ const StyledCard = (_ref) => {
|
|
|
4344
4145
|
})));
|
|
4345
4146
|
};
|
|
4346
4147
|
|
|
4148
|
+
const _excluded$1 = ["renderCard", "className", "children"];
|
|
4347
4149
|
const EvergisCard = (_ref) => {
|
|
4348
4150
|
let {
|
|
4349
4151
|
renderCard,
|
|
4350
4152
|
className,
|
|
4351
4153
|
children
|
|
4352
4154
|
} = _ref,
|
|
4353
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
4155
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$1);
|
|
4354
4156
|
|
|
4355
4157
|
const {
|
|
4356
4158
|
features = []
|
|
@@ -4414,13 +4216,14 @@ const EvergisTileLayer = props => {
|
|
|
4414
4216
|
return null;
|
|
4415
4217
|
};
|
|
4416
4218
|
|
|
4219
|
+
const _excluded$2 = ["maskUrl", "zIndex", "isDisplayed"];
|
|
4417
4220
|
function useTileLayer(_ref) {
|
|
4418
4221
|
let {
|
|
4419
4222
|
maskUrl,
|
|
4420
4223
|
zIndex,
|
|
4421
4224
|
isDisplayed
|
|
4422
4225
|
} = _ref,
|
|
4423
|
-
tileLayerParams = _objectWithoutPropertiesLoose(_ref,
|
|
4226
|
+
tileLayerParams = _objectWithoutPropertiesLoose(_ref, _excluded$2);
|
|
4424
4227
|
|
|
4425
4228
|
const {
|
|
4426
4229
|
map
|
|
@@ -4468,60 +4271,12 @@ const EvergisSelect = (_ref) => {
|
|
|
4468
4271
|
}));
|
|
4469
4272
|
};
|
|
4470
4273
|
|
|
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());
|
|
4274
|
+
var _templateObject$2, _templateObject2$1, _templateObject3$1, _templateObject4$1, _templateObject5$1;
|
|
4275
|
+
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"])));
|
|
4276
|
+
const LegendSectionContainer = /*#__PURE__*/styled.div(_templateObject2$1 || (_templateObject2$1 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
4277
|
+
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"])));
|
|
4278
|
+
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);
|
|
4279
|
+
const LegendSectionHeader = /*#__PURE__*/styled.div(_templateObject5$1 || (_templateObject5$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 0.5rem;\n font-size: 0.75rem;\n"])));
|
|
4525
4280
|
|
|
4526
4281
|
const LegendSection = (_ref) => {
|
|
4527
4282
|
let {
|
|
@@ -4532,38 +4287,13 @@ const LegendSection = (_ref) => {
|
|
|
4532
4287
|
return React.createElement(LegendSectionContainer, null, React.createElement(LegendSectionHeader, null, renderLegendTitle ? renderLegendTitle(item) : item.title), item.values.map(children));
|
|
4533
4288
|
};
|
|
4534
4289
|
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
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());
|
|
4290
|
+
var _templateObject$3, _templateObject2$2, _templateObject3$2;
|
|
4291
|
+
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"])));
|
|
4292
|
+
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"])));
|
|
4293
|
+
const SearchPrefix = /*#__PURE__*/styled(Icon)(_templateObject3$2 || (_templateObject3$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: rgba(48, 69, 79, 0.54);\n padding: 0.25rem;\n\n &:hover {\n cursor: pointer;\n color: rgba(48, 69, 79, 0.87);\n }\n"])));
|
|
4294
|
+
SearchPrefix.defaultProps = {
|
|
4295
|
+
kind: "search"
|
|
4296
|
+
};
|
|
4567
4297
|
|
|
4568
4298
|
const SearchInput = (_ref) => {
|
|
4569
4299
|
let {
|
|
@@ -4718,63 +4448,15 @@ const Map = (_ref) => {
|
|
|
4718
4448
|
}, children);
|
|
4719
4449
|
};
|
|
4720
4450
|
|
|
4721
|
-
|
|
4722
|
-
const data = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"]);
|
|
4723
|
-
|
|
4724
|
-
_templateObject5$2 = function _templateObject5() {
|
|
4725
|
-
return data;
|
|
4726
|
-
};
|
|
4727
|
-
|
|
4728
|
-
return data;
|
|
4729
|
-
}
|
|
4730
|
-
|
|
4731
|
-
function _templateObject4$2() {
|
|
4732
|
-
const data = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n right: ", ";\n"]);
|
|
4733
|
-
|
|
4734
|
-
_templateObject4$2 = function _templateObject4() {
|
|
4735
|
-
return data;
|
|
4736
|
-
};
|
|
4737
|
-
|
|
4738
|
-
return data;
|
|
4739
|
-
}
|
|
4740
|
-
|
|
4741
|
-
function _templateObject3$3() {
|
|
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
|
-
}
|
|
4451
|
+
var _templateObject$4, _templateObject2$3, _templateObject3$3, _templateObject4$2, _templateObject5$2;
|
|
4770
4452
|
|
|
4771
|
-
const topLeft = distance => css(_templateObject$4(), distance, distance);
|
|
4453
|
+
const topLeft = distance => css(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n"])), distance, distance);
|
|
4772
4454
|
|
|
4773
|
-
const topRight = distance => css(_templateObject2$3(), distance, distance);
|
|
4455
|
+
const topRight = distance => css(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n"])), distance, distance);
|
|
4774
4456
|
|
|
4775
|
-
const bottomLeft = distance => css(_templateObject3$3(), distance, distance);
|
|
4457
|
+
const bottomLeft = distance => css(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n"])), distance, distance);
|
|
4776
4458
|
|
|
4777
|
-
const bottomRight = distance => css(_templateObject4$2(), distance, distance);
|
|
4459
|
+
const bottomRight = distance => css(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n right: ", ";\n"])), distance, distance);
|
|
4778
4460
|
|
|
4779
4461
|
const placementMixin = function placementMixin(placement, distance) {
|
|
4780
4462
|
if (placement === void 0) {
|
|
@@ -4785,97 +4467,34 @@ const placementMixin = function placementMixin(placement, distance) {
|
|
|
4785
4467
|
distance = '1rem';
|
|
4786
4468
|
}
|
|
4787
4469
|
|
|
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));
|
|
4470
|
+
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
4471
|
};
|
|
4790
4472
|
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
}
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
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
|
-
};
|
|
4837
|
-
|
|
4838
|
-
return data;
|
|
4839
|
-
}
|
|
4840
|
-
|
|
4841
|
-
function _templateObject3$4() {
|
|
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) => {
|
|
4473
|
+
var _templateObject$5, _templateObject2$4, _templateObject3$4, _templateObject4$3, _templateObject5$3, _templateObject6$1, _templateObject7$1, _templateObject8$1;
|
|
4474
|
+
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 color: #fff;\n"])));
|
|
4475
|
+
const ZoomInBtn = /*#__PURE__*/styled(Icon)(_templateObject2$4 || (_templateObject2$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
|
|
4476
|
+
ZoomInBtn.defaultProps = {
|
|
4477
|
+
kind: "plus"
|
|
4478
|
+
};
|
|
4479
|
+
const ZoomOutBtn = /*#__PURE__*/styled(Icon)(_templateObject3$4 || (_templateObject3$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
|
|
4480
|
+
ZoomOutBtn.defaultProps = {
|
|
4481
|
+
kind: "minus"
|
|
4482
|
+
};
|
|
4483
|
+
const SearchBtn = /*#__PURE__*/styled(Icon)(_templateObject4$3 || (_templateObject4$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
|
|
4484
|
+
SearchBtn.defaultProps = {
|
|
4485
|
+
kind: "search"
|
|
4486
|
+
}; // TODO not exists in fonts
|
|
4487
|
+
|
|
4488
|
+
const FullscreenBtn = /*#__PURE__*/styled(Icon)(_templateObject5$3 || (_templateObject5$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
|
|
4489
|
+
FullscreenBtn.defaultProps = {
|
|
4490
|
+
kind: "maximize"
|
|
4491
|
+
};
|
|
4492
|
+
const MeasureBtn = /*#__PURE__*/styled(Icon)(_templateObject6$1 || (_templateObject6$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin);
|
|
4493
|
+
MeasureBtn.defaultProps = {
|
|
4494
|
+
kind: "measure_length"
|
|
4495
|
+
};
|
|
4496
|
+
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"])));
|
|
4497
|
+
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
4498
|
let {
|
|
4880
4499
|
vertical
|
|
4881
4500
|
} = _ref;
|
|
@@ -4920,60 +4539,12 @@ const Fullscreen = () => {
|
|
|
4920
4539
|
}));
|
|
4921
4540
|
};
|
|
4922
4541
|
|
|
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());
|
|
4542
|
+
var _templateObject$6, _templateObject2$5, _templateObject3$5, _templateObject4$4, _templateObject5$4;
|
|
4543
|
+
const MapLegendControl = /*#__PURE__*/styled(MapControl)(_templateObject$6 || (_templateObject$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: default;\n"])));
|
|
4544
|
+
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"])));
|
|
4545
|
+
const MapLegendHeader = /*#__PURE__*/styled(LegendSectionHeader)(_templateObject3$5 || (_templateObject3$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0;\n"])));
|
|
4546
|
+
const MapLegendSection = /*#__PURE__*/styled.div(_templateObject4$4 || (_templateObject4$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
|
|
4547
|
+
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
4548
|
|
|
4978
4549
|
const MAX_SIZE$2 = 100;
|
|
4979
4550
|
const MapLegendSymbol = (_ref) => {
|
|
@@ -5533,11 +5104,12 @@ let MeasureTool = /*#__PURE__*/function (_React$Component) {
|
|
|
5533
5104
|
return MeasureTool;
|
|
5534
5105
|
}(React.Component);
|
|
5535
5106
|
|
|
5107
|
+
const _excluded$3 = ["isActive"];
|
|
5536
5108
|
const Measurer = (_ref) => {
|
|
5537
5109
|
let {
|
|
5538
5110
|
isActive
|
|
5539
5111
|
} = _ref,
|
|
5540
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
5112
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$3);
|
|
5541
5113
|
|
|
5542
5114
|
const {
|
|
5543
5115
|
map,
|
|
@@ -5549,43 +5121,15 @@ const Measurer = (_ref) => {
|
|
|
5549
5121
|
}, props)) : null;
|
|
5550
5122
|
};
|
|
5551
5123
|
|
|
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) => {
|
|
5124
|
+
var _templateObject$7, _templateObject2$6, _templateObject3$6;
|
|
5125
|
+
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"])));
|
|
5126
|
+
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
5127
|
let {
|
|
5584
5128
|
width
|
|
5585
5129
|
} = _ref;
|
|
5586
5130
|
return width + "px";
|
|
5587
5131
|
});
|
|
5588
|
-
const TextContainer = /*#__PURE__*/styled.div( /*#__PURE__*/
|
|
5132
|
+
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
5133
|
let {
|
|
5590
5134
|
alignEnd
|
|
5591
5135
|
} = _ref2;
|
|
@@ -5638,141 +5182,33 @@ const ZoomLevel = () => {
|
|
|
5638
5182
|
}, level || 0);
|
|
5639
5183
|
};
|
|
5640
5184
|
|
|
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
|
-
};
|
|
5185
|
+
var _templateObject$8, _templateObject2$7, _templateObject3$7, _templateObject4$5, _templateObject5$5, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject10$1, _templateObject11$1;
|
|
5647
5186
|
|
|
5648
|
-
|
|
5649
|
-
}
|
|
5187
|
+
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);
|
|
5650
5188
|
|
|
5651
|
-
|
|
5652
|
-
const data = _taggedTemplateLiteralLoose(["\n &:before {\n content: '';\n width: 0;\n height: 0;\n position: absolute;\n }\n"]);
|
|
5189
|
+
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);
|
|
5653
5190
|
|
|
5654
|
-
|
|
5655
|
-
return data;
|
|
5656
|
-
};
|
|
5191
|
+
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);
|
|
5657
5192
|
|
|
5658
|
-
|
|
5659
|
-
}
|
|
5193
|
+
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);
|
|
5660
5194
|
|
|
5661
|
-
|
|
5662
|
-
const data = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"]);
|
|
5195
|
+
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));
|
|
5663
5196
|
|
|
5664
|
-
|
|
5665
|
-
return data;
|
|
5666
|
-
};
|
|
5197
|
+
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));
|
|
5667
5198
|
|
|
5668
|
-
|
|
5669
|
-
}
|
|
5199
|
+
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));
|
|
5670
5200
|
|
|
5671
|
-
|
|
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
|
-
}
|
|
5720
|
-
|
|
5721
|
-
function _templateObject3$7() {
|
|
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"]);
|
|
5723
|
-
|
|
5724
|
-
_templateObject3$7 = function _templateObject3() {
|
|
5725
|
-
return data;
|
|
5726
|
-
};
|
|
5727
|
-
|
|
5728
|
-
return data;
|
|
5729
|
-
}
|
|
5730
|
-
|
|
5731
|
-
function _templateObject2$7() {
|
|
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"]);
|
|
5733
|
-
|
|
5734
|
-
_templateObject2$7 = function _templateObject2() {
|
|
5735
|
-
return data;
|
|
5736
|
-
};
|
|
5737
|
-
|
|
5738
|
-
return data;
|
|
5739
|
-
}
|
|
5740
|
-
|
|
5741
|
-
function _templateObject$8() {
|
|
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"]);
|
|
5743
|
-
|
|
5744
|
-
_templateObject$8 = function _templateObject() {
|
|
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));
|
|
5201
|
+
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
5202
|
|
|
5767
5203
|
const placementMixin$1 = function placementMixin(placement, distance, cornerSize) {
|
|
5768
5204
|
if (placement === void 0) {
|
|
5769
5205
|
placement = 'top';
|
|
5770
5206
|
}
|
|
5771
5207
|
|
|
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));
|
|
5208
|
+
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
5209
|
};
|
|
5774
|
-
const corner = /*#__PURE__*/css( /*#__PURE__*/
|
|
5775
|
-
const TooltipComponent = /*#__PURE__*/styled.div( /*#__PURE__*/
|
|
5210
|
+
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"])));
|
|
5211
|
+
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
5212
|
let {
|
|
5777
5213
|
placement,
|
|
5778
5214
|
distance = '0.5rem',
|
|
@@ -5787,6 +5223,8 @@ const TooltipComponent = /*#__PURE__*/styled.div( /*#__PURE__*/_templateObject11
|
|
|
5787
5223
|
return withArrow && corner;
|
|
5788
5224
|
});
|
|
5789
5225
|
|
|
5226
|
+
const _excluded$4 = ["features", "map", "center", "component", "zIndex", "children", "content", "onEachFeature", "clickMode"];
|
|
5227
|
+
|
|
5790
5228
|
const {
|
|
5791
5229
|
Provider,
|
|
5792
5230
|
Consumer
|
|
@@ -5804,7 +5242,7 @@ const Tooltip = (_ref) => {
|
|
|
5804
5242
|
onEachFeature,
|
|
5805
5243
|
clickMode
|
|
5806
5244
|
} = _ref,
|
|
5807
|
-
props = _objectWithoutPropertiesLoose(_ref,
|
|
5245
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$4);
|
|
5808
5246
|
|
|
5809
5247
|
const onTooltip = useTooltip(zIndex);
|
|
5810
5248
|
useEffect(() => {
|