@evergis/react 2.0.155 → 2.0.157
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/MapLegend/index.d.ts +2 -1
- package/dist/components/MapLegend/styled.d.ts +4 -0
- package/dist/react.cjs.development.js +92 -83
- 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 +90 -84
- package/dist/react.esm.js.map +1 -1
- package/package.json +5 -5
package/dist/react.esm.js
CHANGED
|
@@ -4883,7 +4883,7 @@ const Legend = _ref => {
|
|
|
4883
4883
|
} = legend || {};
|
|
4884
4884
|
|
|
4885
4885
|
if (!legend && !renderCustomLegend) {
|
|
4886
|
-
return
|
|
4886
|
+
return null;
|
|
4887
4887
|
}
|
|
4888
4888
|
|
|
4889
4889
|
return React.createElement(LegendProvider, {
|
|
@@ -5025,7 +5025,7 @@ const Fullscreen = () => {
|
|
|
5025
5025
|
}));
|
|
5026
5026
|
};
|
|
5027
5027
|
|
|
5028
|
-
var _templateObject$6, _templateObject2$6, _templateObject3$4, _templateObject4$4, _templateObject5$4, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22;
|
|
5028
|
+
var _templateObject$6, _templateObject2$6, _templateObject3$4, _templateObject4$4, _templateObject5$4, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25;
|
|
5029
5029
|
const MapLegendControl = /*#__PURE__*/styled(MapControl)(_templateObject$6 || (_templateObject$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: default;\n"])));
|
|
5030
5030
|
const MapLegendContainer = /*#__PURE__*/styled.div(_templateObject2$6 || (_templateObject2$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 12.5rem;\n padding-bottom: 1rem;\n box-sizing: border-box;\n\n canvas {\n height: 1.625rem;\n width: 1.625rem;\n }\n"])));
|
|
5031
5031
|
const MapLegendHeader = /*#__PURE__*/styled(LegendSectionHeader)(_templateObject3$4 || (_templateObject3$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n max-width: 15rem;\n margin-bottom: 0.25rem;\n font-weight: 500;\n"])));
|
|
@@ -5038,7 +5038,7 @@ const SizeLegendItemMixin = function SizeLegendItemMixin(value) {
|
|
|
5038
5038
|
value = 0;
|
|
5039
5039
|
}
|
|
5040
5040
|
|
|
5041
|
-
return css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 50%;\n flex: none;\n height: inherit;\n width: inherit;\n margin: 0
|
|
5041
|
+
return css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 50%;\n flex: none;\n height: inherit;\n width: inherit;\n margin: 0 auto;\n background: none;\n border: none;\n\n :after {\n content: \"\";\n display: flex;\n border: 1px rgba(48, 69, 79, 0.28) solid;\n border-radius: 50%;\n margin: 0 0 0 -", "px;\n width: ", "px;\n height: ", "px;\n }\n"])), value / 2, value, value);
|
|
5042
5042
|
};
|
|
5043
5043
|
|
|
5044
5044
|
const StrokeWidthLegendItemMixin = function StrokeWidthLegendItemMixin(value) {
|
|
@@ -5046,10 +5046,11 @@ const StrokeWidthLegendItemMixin = function StrokeWidthLegendItemMixin(value) {
|
|
|
5046
5046
|
value = 0;
|
|
5047
5047
|
}
|
|
5048
5048
|
|
|
5049
|
-
return css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n background: none;\n border: none;\n display: flex;\n align-items: center;\n flex: none;\n min-height: 1rem;\n height: auto;\n width: calc(100% - 2rem);\n margin: 0 0 0.25rem 0;\n padding-left: 2rem;\n font-size: 0.75rem;\n \n :after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 0;\n width: 1.5rem;\n height: ", "px;\n margin-top: -", ";\n background: rgb(224, 224, 224);\n }\n"])), value, Math.round(value / 2));
|
|
5049
|
+
return css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n background: none;\n border: none;\n display: flex;\n align-items: center;\n flex: none;\n min-height: 1rem;\n height: auto;\n width: calc(100% - 2rem);\n margin: 0 0 0.25rem 0;\n padding-left: 2rem;\n font-size: 0.75rem;\n \n :after {\n content: \"\";\n position: absolute;\n top: 50%;\n left: 0;\n width: 1.5rem;\n height: ", "px;\n margin-top: -", "px;\n background: rgb(224, 224, 224);\n }\n"])), value, Math.round(value / 2));
|
|
5050
5050
|
};
|
|
5051
5051
|
|
|
5052
|
-
const
|
|
5052
|
+
const StrokeColorLegendItemMixin = /*#__PURE__*/css(_templateObject9$1 || (_templateObject9$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-right: 0.5rem;\n width: 1.5rem;\n"])));
|
|
5053
|
+
const MapLegendItem = /*#__PURE__*/styled.div(_templateObject10$1 || (_templateObject10$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 1;\n height: ", "rem;\n background: ", ";\n border: 1px rgba(48, 69, 79, 0.1) solid;\n margin-right: -1px;\n\n ", "\n\n ", "\n"])), _ref => {
|
|
5053
5054
|
let {
|
|
5054
5055
|
parameter
|
|
5055
5056
|
} = _ref;
|
|
@@ -5072,29 +5073,90 @@ const MapLegendItem = /*#__PURE__*/styled.div(_templateObject9$1 || (_templateOb
|
|
|
5072
5073
|
} = _ref4;
|
|
5073
5074
|
return isParameterType(["strokeWidth", "stroke.width"], parameter) && StrokeWidthLegendItemMixin(value);
|
|
5074
5075
|
});
|
|
5075
|
-
const MapLegendOther = /*#__PURE__*/styled(MapLegendItem)(
|
|
5076
|
-
const SizeLegendItemsMixin = /*#__PURE__*/css(
|
|
5077
|
-
const StrokeWidthLegendItemsMixin = /*#__PURE__*/css(
|
|
5078
|
-
const SizeMinimizedLegend = /*#__PURE__*/styled.div(
|
|
5079
|
-
const SizeMinimizedLegendSymbol = /*#__PURE__*/styled.div(
|
|
5080
|
-
const SizeMinimizedLegendLabel = /*#__PURE__*/styled.div(
|
|
5081
|
-
const SizeMinimizedLegendDown = /*#__PURE__*/styled.div(
|
|
5082
|
-
const SizeMinimizedLegendUp = /*#__PURE__*/styled.div(
|
|
5083
|
-
const
|
|
5076
|
+
const MapLegendOther = /*#__PURE__*/styled(MapLegendItem)(_templateObject11$1 || (_templateObject11$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: none;\n position: relative;\n width: 1rem;\n margin-left: 0.25rem;\n border-radius: 0.125rem;\n"])));
|
|
5077
|
+
const SizeLegendItemsMixin = /*#__PURE__*/css(_templateObject12$1 || (_templateObject12$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n width: 2rem;\n height: 2rem;\n margin: 0 auto;\n\n ", " {\n width: auto;\n margin-left: 0;\n }\n"])), MapLegendOther);
|
|
5078
|
+
const StrokeWidthLegendItemsMixin = /*#__PURE__*/css(_templateObject13$1 || (_templateObject13$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n flex-direction: column;\n width: auto;\n\n ", " {\n width: calc(100% - 2rem);\n margin-left: 0;\n }\n"])), MapLegendOther);
|
|
5079
|
+
const SizeMinimizedLegend = /*#__PURE__*/styled.div(_templateObject14$1 || (_templateObject14$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n margin-top: 0.5rem;\n"])));
|
|
5080
|
+
const SizeMinimizedLegendSymbol = /*#__PURE__*/styled.div(_templateObject15$1 || (_templateObject15$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 4rem;\n margin-right: 0.75rem;\n"])));
|
|
5081
|
+
const SizeMinimizedLegendLabel = /*#__PURE__*/styled.div(_templateObject16$1 || (_templateObject16$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: 0.75rem;\n"])));
|
|
5082
|
+
const SizeMinimizedLegendDown = /*#__PURE__*/styled.div(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: white;\n opacity: 0.28;\n"])));
|
|
5083
|
+
const SizeMinimizedLegendUp = /*#__PURE__*/styled.div(_templateObject18 || (_templateObject18 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: white;\n opacity: 0.65;\n"])));
|
|
5084
|
+
const SingleSizeLegendItemsMixin = /*#__PURE__*/css(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 4rem;\n margin-right: 0.75rem;\n\n ", ":after {\n margin: 0 auto;\n }\n"])), MapLegendItem);
|
|
5085
|
+
const SingleLegendItemsMixin = /*#__PURE__*/css(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n justify-content: center;\n width: 2rem;\n margin: 0;\n ", "\n \n ", " {\n position: relative;\n top: 0;\n left: 0;\n display: flex;\n align-content: center;\n justify-content: center;\n margin: 0;\n height: auto;\n width: auto;\n\n ", "\n }\n"])), _ref5 => {
|
|
5084
5086
|
let {
|
|
5085
5087
|
isSize
|
|
5086
5088
|
} = _ref5;
|
|
5089
|
+
return isSize && SingleSizeLegendItemsMixin;
|
|
5090
|
+
}, MapLegendItem, _ref6 => {
|
|
5091
|
+
let {
|
|
5092
|
+
parameter
|
|
5093
|
+
} = _ref6;
|
|
5094
|
+
return isParameterType(["strokeColor", "stroke.color"], parameter) && StrokeColorLegendItemMixin;
|
|
5095
|
+
});
|
|
5096
|
+
const MapLegendItems = /*#__PURE__*/styled.div(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0.125rem;\n\n ", ";\n ", ";\n ", ";\n"])), _ref7 => {
|
|
5097
|
+
let {
|
|
5098
|
+
isSize
|
|
5099
|
+
} = _ref7;
|
|
5087
5100
|
return isSize && SizeLegendItemsMixin;
|
|
5088
|
-
},
|
|
5101
|
+
}, _ref8 => {
|
|
5089
5102
|
let {
|
|
5090
5103
|
isStrokeWidth
|
|
5091
|
-
} =
|
|
5104
|
+
} = _ref8;
|
|
5092
5105
|
return isStrokeWidth && StrokeWidthLegendItemsMixin;
|
|
5106
|
+
}, _ref9 => {
|
|
5107
|
+
let {
|
|
5108
|
+
isSingle
|
|
5109
|
+
} = _ref9;
|
|
5110
|
+
return isSingle && SingleLegendItemsMixin;
|
|
5093
5111
|
});
|
|
5094
|
-
const MapLegendValues = /*#__PURE__*/styled.div(
|
|
5095
|
-
const MapLegendValuesRange = /*#__PURE__*/styled.div(
|
|
5096
|
-
const MapLegendValuesOther = /*#__PURE__*/styled(MapLegendOther)(
|
|
5097
|
-
const MapLegendExpandButton = /*#__PURE__*/styled.div(
|
|
5112
|
+
const MapLegendValues = /*#__PURE__*/styled.div(_templateObject22 || (_templateObject22 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n font-size: 0.75rem;\n color: rgba(48, 69, 79, 0.65);\n"])));
|
|
5113
|
+
const MapLegendValuesRange = /*#__PURE__*/styled.div(_templateObject23 || (_templateObject23 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n width: 100%;\n"])));
|
|
5114
|
+
const MapLegendValuesOther = /*#__PURE__*/styled(MapLegendOther)(_templateObject24 || (_templateObject24 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border: 0;\n text-align: center;\n overflow: visible;\n"])));
|
|
5115
|
+
const MapLegendExpandButton = /*#__PURE__*/styled.div(_templateObject25 || (_templateObject25 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: pointer;\n margin: 0.1rem 0 0.5rem;\n font-size: 0.625rem;\n color: #1FB3AA;\n"])));
|
|
5116
|
+
|
|
5117
|
+
const MapLegend = _ref => {
|
|
5118
|
+
let {
|
|
5119
|
+
layer,
|
|
5120
|
+
config,
|
|
5121
|
+
className,
|
|
5122
|
+
hideTitle
|
|
5123
|
+
} = _ref;
|
|
5124
|
+
const legend = useMapLegend(layer, config);
|
|
5125
|
+
|
|
5126
|
+
if (!legend) {
|
|
5127
|
+
return null;
|
|
5128
|
+
}
|
|
5129
|
+
|
|
5130
|
+
const {
|
|
5131
|
+
symbol,
|
|
5132
|
+
items
|
|
5133
|
+
} = legend;
|
|
5134
|
+
return React.createElement(LegendProvider, {
|
|
5135
|
+
symbol: symbol
|
|
5136
|
+
}, React.createElement(MapLegendControl, {
|
|
5137
|
+
className: className
|
|
5138
|
+
}, !hideTitle && React.createElement(MapLegendHeader, null, layer == null ? void 0 : layer.alias), !!items.length && React.createElement(MapLegendContainer, null, React.createElement(Legend, {
|
|
5139
|
+
layer: layer,
|
|
5140
|
+
config: config
|
|
5141
|
+
}))));
|
|
5142
|
+
};
|
|
5143
|
+
|
|
5144
|
+
const MAX_SIZE$2 = 100;
|
|
5145
|
+
const MapLegendSymbol = _ref => {
|
|
5146
|
+
let {
|
|
5147
|
+
value,
|
|
5148
|
+
parameter
|
|
5149
|
+
} = _ref;
|
|
5150
|
+
return React.createElement(LegendSymbol, {
|
|
5151
|
+
key: value.title,
|
|
5152
|
+
parameter: parameter,
|
|
5153
|
+
parameterValue: value.parameterValue
|
|
5154
|
+
}, symbol => React.createElement(Symbol, {
|
|
5155
|
+
render: getMapLegendSymbolRenders,
|
|
5156
|
+
symbol: symbol,
|
|
5157
|
+
size: MAX_SIZE$2
|
|
5158
|
+
}));
|
|
5159
|
+
};
|
|
5098
5160
|
|
|
5099
5161
|
const MapLegendDescription = _ref => {
|
|
5100
5162
|
let {
|
|
@@ -5131,9 +5193,8 @@ const MinimizedLegend = _ref => {
|
|
|
5131
5193
|
const isStrokeWidth = isParameterType(["strokeWidth", "stroke.width"], parameter);
|
|
5132
5194
|
const titleMax = getValueFromLegendTitle((_currentValues$ = currentValues[0]) == null ? void 0 : _currentValues$.title, "max");
|
|
5133
5195
|
const titleMin = getValueFromLegendTitle((_currentValues = currentValues[currentValues.length - 1]) == null ? void 0 : _currentValues.title, "min");
|
|
5134
|
-
return React.createElement(MinimizedLegendContainer, null, !!title && React.createElement(MapLegendValueDescr, null, title), React.createElement(
|
|
5135
|
-
parameter: parameter
|
|
5136
|
-
}), isSize ? React.createElement(React.Fragment, null, React.createElement(SizeMinimizedLegend, null, React.createElement(SizeMinimizedLegendSymbol, null, React.createElement(MapLegendItems, {
|
|
5196
|
+
return React.createElement(MinimizedLegendContainer, null, !!title && React.createElement(MapLegendValueDescr, null, title), isSize ? React.createElement(React.Fragment, null, React.createElement(SizeMinimizedLegend, null, React.createElement(SizeMinimizedLegendSymbol, null, React.createElement(MapLegendItems, {
|
|
5197
|
+
parameter: parameter,
|
|
5137
5198
|
isSize: true
|
|
5138
5199
|
}, currentValues.map((value, index) => React.createElement(MapLegendItem, {
|
|
5139
5200
|
key: "" + value.title + index,
|
|
@@ -5141,12 +5202,14 @@ const MinimizedLegend = _ref => {
|
|
|
5141
5202
|
value: value.parameterValue,
|
|
5142
5203
|
parameter: parameter
|
|
5143
5204
|
})))), React.createElement(SizeMinimizedLegendLabel, null, React.createElement(SizeMinimizedLegendDown, null, (_currentValues$2 = currentValues[0]) == null ? void 0 : _currentValues$2.title), React.createElement(SizeMinimizedLegendUp, null, (_currentValues2 = currentValues[currentValues.length - 1]) == null ? void 0 : _currentValues2.title))), React.createElement(SizeMinimizedLegend, null, React.createElement(SizeMinimizedLegendSymbol, null, React.createElement(MapLegendItems, {
|
|
5205
|
+
parameter: parameter,
|
|
5144
5206
|
isSize: true
|
|
5145
5207
|
}, React.createElement(MapLegendOther, {
|
|
5146
5208
|
title: "\u0414\u0440\u0443\u0433\u043E\u0435",
|
|
5147
5209
|
value: other == null ? void 0 : other.parameterValue,
|
|
5148
5210
|
parameter: parameter
|
|
5149
5211
|
}))), React.createElement(SizeMinimizedLegendLabel, null, React.createElement(SizeMinimizedLegendUp, null, "\u0414\u0440\u0443\u0433\u043E\u0435")))) : isStrokeWidth ? React.createElement(MapLegendItems, {
|
|
5212
|
+
parameter: parameter,
|
|
5150
5213
|
isStrokeWidth: true
|
|
5151
5214
|
}, currentValues.map((value, index) => React.createElement(MapLegendItem, {
|
|
5152
5215
|
key: "" + value.title + index,
|
|
@@ -5157,7 +5220,9 @@ const MinimizedLegend = _ref => {
|
|
|
5157
5220
|
title: "\u0414\u0440\u0443\u0433\u043E\u0435",
|
|
5158
5221
|
value: other == null ? void 0 : other.parameterValue,
|
|
5159
5222
|
parameter: parameter
|
|
5160
|
-
}, "\u0414\u0440\u0443\u0433\u043E\u0435")) : React.createElement(MapLegendItems,
|
|
5223
|
+
}, "\u0414\u0440\u0443\u0433\u043E\u0435")) : React.createElement(MapLegendItems, {
|
|
5224
|
+
parameter: parameter
|
|
5225
|
+
}, currentValues.map((value, index) => React.createElement(MapLegendItem, {
|
|
5161
5226
|
key: "" + value.title + index,
|
|
5162
5227
|
title: value.title,
|
|
5163
5228
|
value: value.parameterValue,
|
|
@@ -5169,65 +5234,6 @@ const MinimizedLegend = _ref => {
|
|
|
5169
5234
|
})), typeof (other == null ? void 0 : other.parameterValue) === "string" && (titleMax || titleMin) && React.createElement(MapLegendValues, null, React.createElement(MapLegendValuesRange, null, React.createElement("div", null, titleMax), React.createElement("div", null, titleMin)), React.createElement(MapLegendValuesOther, null, "-")));
|
|
5170
5235
|
};
|
|
5171
5236
|
|
|
5172
|
-
const MapLegend = _ref => {
|
|
5173
|
-
let {
|
|
5174
|
-
layer,
|
|
5175
|
-
config,
|
|
5176
|
-
className,
|
|
5177
|
-
hideTitle
|
|
5178
|
-
} = _ref;
|
|
5179
|
-
const legend = useMapLegend(layer, config);
|
|
5180
|
-
const [isExpanded, toggleExpanded] = useToggle();
|
|
5181
|
-
|
|
5182
|
-
if (!legend) {
|
|
5183
|
-
return null;
|
|
5184
|
-
}
|
|
5185
|
-
|
|
5186
|
-
const {
|
|
5187
|
-
symbol,
|
|
5188
|
-
items
|
|
5189
|
-
} = legend;
|
|
5190
|
-
return React.createElement(LegendProvider, {
|
|
5191
|
-
symbol: symbol
|
|
5192
|
-
}, React.createElement(MapLegendControl, {
|
|
5193
|
-
className: className
|
|
5194
|
-
}, !hideTitle && React.createElement(MapLegendHeader, null, layer == null ? void 0 : layer.alias), !!items.length && React.createElement(MapLegendContainer, null, isExpanded ? React.createElement(Legend, {
|
|
5195
|
-
layer: layer,
|
|
5196
|
-
config: config
|
|
5197
|
-
}) : React.createElement(React.Fragment, null, items.map(item => {
|
|
5198
|
-
var _symbol$fill;
|
|
5199
|
-
|
|
5200
|
-
return React.createElement(Fragment, {
|
|
5201
|
-
key: [layer == null ? void 0 : layer.name, item.title, item.parameter].join("-")
|
|
5202
|
-
}, React.createElement(MinimizedLegend, {
|
|
5203
|
-
values: item.values,
|
|
5204
|
-
defaultValue: (_symbol$fill = symbol.fill) == null ? void 0 : _symbol$fill.color,
|
|
5205
|
-
title: item.title !== (layer == null ? void 0 : layer.alias) ? item.title : "",
|
|
5206
|
-
parameter: item.parameter
|
|
5207
|
-
}));
|
|
5208
|
-
})), React.createElement(MapLegendExpandButton, {
|
|
5209
|
-
onClick: toggleExpanded,
|
|
5210
|
-
"data-html2canvas-ignore": true
|
|
5211
|
-
}, isExpanded ? "Свернуть" : "Развернуть"))));
|
|
5212
|
-
};
|
|
5213
|
-
|
|
5214
|
-
const MAX_SIZE$2 = 100;
|
|
5215
|
-
const MapLegendSymbol = _ref => {
|
|
5216
|
-
let {
|
|
5217
|
-
value,
|
|
5218
|
-
parameter
|
|
5219
|
-
} = _ref;
|
|
5220
|
-
return React.createElement(LegendSymbol, {
|
|
5221
|
-
key: value.title,
|
|
5222
|
-
parameter: parameter,
|
|
5223
|
-
parameterValue: value.parameterValue
|
|
5224
|
-
}, symbol => React.createElement(Symbol, {
|
|
5225
|
-
render: getMapLegendSymbolRenders,
|
|
5226
|
-
symbol: symbol,
|
|
5227
|
-
size: MAX_SIZE$2
|
|
5228
|
-
}));
|
|
5229
|
-
};
|
|
5230
|
-
|
|
5231
5237
|
let MeasureTool = /*#__PURE__*/function (_React$Component) {
|
|
5232
5238
|
_inherits(MeasureTool, _React$Component);
|
|
5233
5239
|
|
|
@@ -5594,5 +5600,5 @@ const DraggableMarker = _ref => {
|
|
|
5594
5600
|
return React.createElement(Fragment, null);
|
|
5595
5601
|
};
|
|
5596
5602
|
|
|
5597
|
-
export { ArrowLineMiterRender, BaseMeasureToolCreator, BaseMeasureToolEditor, CRS_MAP, CardAttributes, CardHeader, CircleLineMiterRender, ClassificationCondition, ClassificationManager, ClusterLayer, ClusterSymbol, CompoundIcon, DEFAULT_CRS, DEFAULT_SRID, DEFAULT_SYMBOL_SIZE, DraggableMarker, EvergisCard, EvergisCardAttribute, AttributeContainer as EvergisCardAttributeContainer, AttributeTitle as EvergisCardAttributeTitle, AttributeValueContainer as EvergisCardAttributeValueContainer, CardControls as EvergisCardCardControls, CardTitle as EvergisCardCardTitle, EvergisCardContainer, CurrentFeatureIndex as EvergisCardCurrentFeatureIndex, FeatureName as EvergisCardFeatureName, LayerName as EvergisCardLayerName, CardPagination as EvergisCardPagination, PaginationDescription as EvergisCardPaginationDescription, SimpleAttribute as EvergisCardSimpleValue, StickyHeader as EvergisCardStickyHeader, ValueLink as EvergisCardValueLink, EvergisDynamicLayer, EvergisFeature, EvergisLayer, EvergisProvider, EvergisSelect, EvergisSelectLayer, EvergisSelectProvider, EvergisStyle, EvergisTileLayer, FeatureLayer, Fullscreen, LabelSymbol, Legend, LegendContainer, LegendProvider, LegendSection, LegendSectionContainer, LegendSymbol, LegendValue, LegendValueContainer, LineMiterKind, LineMiterRender, Map, MapControl, MapControls, MapLegend, MapLegendContainer, MapLegendDescription, MapLegendDescriptionContainer, MapLegendExpandButton, MapLegendHeader, MapLegendItem, MapLegendSymbol, MapLegendValueDescr, MapLegendValues, MapProvider, Measure, MeasureTool, Measurer, NO_CONTENT_VALUE, Noop, PREVIEW_LIMITS, SGisBrushFill, SGisImageFill, SGisPolygonSymbol, SGisPolylineSymbol, SOLID_INTERVALS, SVGPoly, ScaleRuler, ScaleRulerBlock, ScaleRulerContainer, Search, SelectedPointSymbol, SelectedPolySymbol, ShadowedPointSymbol, ShadowedPolySymbol, SizeMinimizedLegendDown, SizeMinimizedLegendUp, SquareLineMiterRender, SrId, StyleSymbol, Symbol, TextContainer, TileLayer, Tooltip, TooltipComponent, TooltipProvider, Zoom, ZoomLevel, adjustSymbol, applyParameterValue, clamp, copyRings, createCompositeSymbol, createLabelSymbol, createStyleLegend, createValueTitle, defaultOffset, defineStrokeStylePreset, deserializeSymbol, evaluateFeature, extractStyle, extractSymbol, findChildFeatureStyle, findChildFeatureSymbol, formatArea, formatAttributeValue, formatLength, formatPolygonMeasure, getAttributeNameFromClassified, getAttributeNameFromCondition, getChildSymbols, getCrs, getDashStylePreset, getFeatureSymbol, getLegendSymbolRenders, getLineDash, getMapLegendSymbolRenders, getMapState, getParameterValue, getScale, getSymbolRenders, isArrowLineMiter, isCalculatedParameter, isCircleLineMiter, isCompositeSymbol, isDashedBrush, isFilledLineMitter, isHatchBrush, isImageSymbol, isLabelSymbol, isMaskedImageSymbol, isMiterExist, isNumeric, isParameterByAttribute, isParameterType, isParameterValueSimple, isParameterValueSymbol, isPatternBrush, isPointLabelSymbol, isPointSymbol, isPolygonHasHatchBrush, isPolygonHasPatternBrush, isPolygonLabelSymbol, isPolygonSymbol, isPolylineLabelSymbol, isPolylineLikePolygon, isPolylineSymbol, isPolylineSymbols, isRangeClass, isRasterSymbol, isSGisClusterSymbol, isSGisH3Symbol, isSGisImageSymbol, isSGisPointSymbol, isSGisPolygonSymbol, isSGisPolylineSymbol, isScalablePolylineSymbol, isSimpleOffset, isSimplePolylineSymbol, isSimpleSymbol, isSizableSymbol, isSolidBrush, isSquareLineMiter, isSquareSymbol, isStaticImageSymbol, isStringParameterValue, isStrokeStyledSymbol, isStyle, isSymbolWithOffset, isTwoDimensionalSymbol, isUniqueClass, isValidParameter, measureAreaSymbol, measureLengthSymbol, measurePolygonSnapSymbol, metersToPixels, numberWithSpaces, packStyle, polygonCircleFromPoint, printRangeClass, renderSymbolToCanvas, selectedPoint, selectedPolygon, selectedPolyline, setDefaultParameterValue, setParameterValue, shouldUpdateMapState, solidStrokeStylePreset, strokeStylePresets, symbolParameterWalker, symbolTypeGuard, toIntervals, toLineDash, unClassify, updateMapResolution, useCanvas, useClusterLayer, useCrs, useDebouncedCallback, useDraggableMarker, useEventPoint, useEvergisContext, useEvergisDynamicLayer, useEvergisSelect, useEvergisSelectContext, useEvergisTileLayer, useFeatureLayer, useLayerLegend, useLayerOrder, useLayerVisibility, useLegend, useLegendContext, useLegendValueSymbol, useMapBboxChange, useMapContext, useMapLegend, useMapLevel, useMapPick, useMapResize, useMapState, useMapView, useMapViewActions, useMapWrapper, useMaxMinScale, useMetersToPixels, useMetersToPixelsCb, useMount, useProperty, useScale, useSymbol, useToggle, useTooltip, useTooltipContext, useUpdate, useUpdateMapView };
|
|
5603
|
+
export { ArrowLineMiterRender, BaseMeasureToolCreator, BaseMeasureToolEditor, CRS_MAP, CardAttributes, CardHeader, CircleLineMiterRender, ClassificationCondition, ClassificationManager, ClusterLayer, ClusterSymbol, CompoundIcon, DEFAULT_CRS, DEFAULT_SRID, DEFAULT_SYMBOL_SIZE, DraggableMarker, EvergisCard, EvergisCardAttribute, AttributeContainer as EvergisCardAttributeContainer, AttributeTitle as EvergisCardAttributeTitle, AttributeValueContainer as EvergisCardAttributeValueContainer, CardControls as EvergisCardCardControls, CardTitle as EvergisCardCardTitle, EvergisCardContainer, CurrentFeatureIndex as EvergisCardCurrentFeatureIndex, FeatureName as EvergisCardFeatureName, LayerName as EvergisCardLayerName, CardPagination as EvergisCardPagination, PaginationDescription as EvergisCardPaginationDescription, SimpleAttribute as EvergisCardSimpleValue, StickyHeader as EvergisCardStickyHeader, ValueLink as EvergisCardValueLink, EvergisDynamicLayer, EvergisFeature, EvergisLayer, EvergisProvider, EvergisSelect, EvergisSelectLayer, EvergisSelectProvider, EvergisStyle, EvergisTileLayer, FeatureLayer, Fullscreen, LabelSymbol, Legend, LegendContainer, LegendProvider, LegendSection, LegendSectionContainer, LegendSymbol, LegendValue, LegendValueContainer, LineMiterKind, LineMiterRender, Map, MapControl, MapControls, MapLegend, MapLegendContainer, MapLegendDescription, MapLegendDescriptionContainer, MapLegendExpandButton, MapLegendHeader, MapLegendItem, MapLegendItems, MapLegendOther, MapLegendSymbol, MapLegendValueDescr, MapLegendValues, MapProvider, Measure, MeasureTool, Measurer, MinimizedLegend, NO_CONTENT_VALUE, Noop, PREVIEW_LIMITS, SGisBrushFill, SGisImageFill, SGisPolygonSymbol, SGisPolylineSymbol, SOLID_INTERVALS, SVGPoly, ScaleRuler, ScaleRulerBlock, ScaleRulerContainer, Search, SelectedPointSymbol, SelectedPolySymbol, ShadowedPointSymbol, ShadowedPolySymbol, SizeMinimizedLegendDown, SizeMinimizedLegendUp, SquareLineMiterRender, SrId, StyleSymbol, Symbol, TextContainer, TileLayer, Tooltip, TooltipComponent, TooltipProvider, Zoom, ZoomLevel, adjustSymbol, applyParameterValue, clamp, copyRings, createCompositeSymbol, createLabelSymbol, createStyleLegend, createValueTitle, defaultOffset, defineStrokeStylePreset, deserializeSymbol, evaluateFeature, extractStyle, extractSymbol, findChildFeatureStyle, findChildFeatureSymbol, formatArea, formatAttributeValue, formatLength, formatPolygonMeasure, getAttributeNameFromClassified, getAttributeNameFromCondition, getChildSymbols, getCrs, getDashStylePreset, getFeatureSymbol, getLegendSymbolRenders, getLineDash, getMapLegendSymbolRenders, getMapState, getParameterValue, getScale, getSymbolRenders, isArrowLineMiter, isCalculatedParameter, isCircleLineMiter, isCompositeSymbol, isDashedBrush, isFilledLineMitter, isHatchBrush, isImageSymbol, isLabelSymbol, isMaskedImageSymbol, isMiterExist, isNumeric, isParameterByAttribute, isParameterType, isParameterValueSimple, isParameterValueSymbol, isPatternBrush, isPointLabelSymbol, isPointSymbol, isPolygonHasHatchBrush, isPolygonHasPatternBrush, isPolygonLabelSymbol, isPolygonSymbol, isPolylineLabelSymbol, isPolylineLikePolygon, isPolylineSymbol, isPolylineSymbols, isRangeClass, isRasterSymbol, isSGisClusterSymbol, isSGisH3Symbol, isSGisImageSymbol, isSGisPointSymbol, isSGisPolygonSymbol, isSGisPolylineSymbol, isScalablePolylineSymbol, isSimpleOffset, isSimplePolylineSymbol, isSimpleSymbol, isSizableSymbol, isSolidBrush, isSquareLineMiter, isSquareSymbol, isStaticImageSymbol, isStringParameterValue, isStrokeStyledSymbol, isStyle, isSymbolWithOffset, isTwoDimensionalSymbol, isUniqueClass, isValidParameter, measureAreaSymbol, measureLengthSymbol, measurePolygonSnapSymbol, metersToPixels, numberWithSpaces, packStyle, polygonCircleFromPoint, printRangeClass, renderSymbolToCanvas, selectedPoint, selectedPolygon, selectedPolyline, setDefaultParameterValue, setParameterValue, shouldUpdateMapState, solidStrokeStylePreset, strokeStylePresets, symbolParameterWalker, symbolTypeGuard, toIntervals, toLineDash, unClassify, updateMapResolution, useCanvas, useClusterLayer, useCrs, useDebouncedCallback, useDraggableMarker, useEventPoint, useEvergisContext, useEvergisDynamicLayer, useEvergisSelect, useEvergisSelectContext, useEvergisTileLayer, useFeatureLayer, useLayerLegend, useLayerOrder, useLayerVisibility, useLegend, useLegendContext, useLegendValueSymbol, useMapBboxChange, useMapContext, useMapLegend, useMapLevel, useMapPick, useMapResize, useMapState, useMapView, useMapViewActions, useMapWrapper, useMaxMinScale, useMetersToPixels, useMetersToPixelsCb, useMount, useProperty, useScale, useSymbol, useToggle, useTooltip, useTooltipContext, useUpdate, useUpdateMapView };
|
|
5598
5604
|
//# sourceMappingURL=react.esm.js.map
|