@evergis/react 2.0.202 → 2.0.203
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/Legend/components/LegendParameterDescription.d.ts +1 -0
- package/dist/components/Legend/styled.d.ts +1 -0
- package/dist/components/Legend/types.d.ts +1 -0
- package/dist/core/style/types/symbol.d.ts +4 -1
- package/dist/react.cjs.development.js +156 -82
- 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 -83
- package/dist/react.esm.js.map +1 -1
- package/dist/utils/legend.d.ts +8 -4
- package/package.json +2 -2
package/dist/react.esm.js
CHANGED
|
@@ -668,6 +668,7 @@ const isPointSymbol = /*#__PURE__*/symbolTypeGuard('circlePointSymbol');
|
|
|
668
668
|
const isSquareSymbol = /*#__PURE__*/symbolTypeGuard('squarePointSymbol');
|
|
669
669
|
const isMaskedImageSymbol = /*#__PURE__*/symbolTypeGuard('maskedImagePointSymbol');
|
|
670
670
|
const isStaticImageSymbol = /*#__PURE__*/symbolTypeGuard('imagePointSymbol');
|
|
671
|
+
const isCombinedPolylineSymbol = /*#__PURE__*/symbolTypeGuard("combinedPolylineSymbol");
|
|
671
672
|
const isPolygonSymbol = /*#__PURE__*/symbolTypeGuard('polygonSymbol');
|
|
672
673
|
const isPolylineSymbol = /*#__PURE__*/symbolTypeGuard('polylineSymbol');
|
|
673
674
|
const isSimplePolylineSymbol = /*#__PURE__*/symbolTypeGuard('simplePolylineSymbol');
|
|
@@ -2948,8 +2949,18 @@ const getMaximizedLegendValues = (attribute, param, params, classified, symbol,
|
|
|
2948
2949
|
|
|
2949
2950
|
return [...items, other];
|
|
2950
2951
|
};
|
|
2952
|
+
const classifyParamsReduce = (symbol, classifyParams, index) => {
|
|
2953
|
+
return classifyParams == null ? void 0 : classifyParams.reduce((result, classified) => {
|
|
2954
|
+
const param = get(symbol, classified);
|
|
2955
|
+
return (param == null ? void 0 : param.type) === 'byAttribute' ? _extends({}, result, {
|
|
2956
|
+
[classified]: _extends({
|
|
2957
|
+
index
|
|
2958
|
+
}, param)
|
|
2959
|
+
}) : result;
|
|
2960
|
+
}, {});
|
|
2961
|
+
};
|
|
2951
2962
|
const getClassified = layerInfo => {
|
|
2952
|
-
var _layerInfo$style2, _layerInfo$style2$chi;
|
|
2963
|
+
var _layerInfo$style2, _layerInfo$style2$chi, _layerInfo$style4, _layerInfo$style5;
|
|
2953
2964
|
|
|
2954
2965
|
if ((_layerInfo$style2 = layerInfo.style) != null && (_layerInfo$style2$chi = _layerInfo$style2.children) != null && _layerInfo$style2$chi.length) {
|
|
2955
2966
|
var _layerInfo$style3;
|
|
@@ -2965,14 +2976,17 @@ const getClassified = layerInfo => {
|
|
|
2965
2976
|
}
|
|
2966
2977
|
|
|
2967
2978
|
const classifyParams = SYMBOL_CLASSIFICATION[layerInfo.geometryType];
|
|
2968
|
-
return classifyParams == null ? void 0 : classifyParams.reduce((result, classified) => {
|
|
2969
|
-
var _layerInfo$style4;
|
|
2970
2979
|
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2980
|
+
if ((_layerInfo$style4 = layerInfo.style) != null && _layerInfo$style4.symbol && isCombinedPolylineSymbol(layerInfo.style.symbol)) {
|
|
2981
|
+
var _layerInfo$style$symb;
|
|
2982
|
+
|
|
2983
|
+
if (!((_layerInfo$style$symb = layerInfo.style.symbol.values) != null && _layerInfo$style$symb.length)) return undefined;
|
|
2984
|
+
return layerInfo.style.symbol.values.reduce((result, polyline, index) => {
|
|
2985
|
+
return _extends({}, result, classifyParamsReduce(polyline, classifyParams, index));
|
|
2986
|
+
}, {});
|
|
2987
|
+
}
|
|
2988
|
+
|
|
2989
|
+
return classifyParamsReduce((_layerInfo$style5 = layerInfo.style) == null ? void 0 : _layerInfo$style5.symbol, classifyParams);
|
|
2976
2990
|
};
|
|
2977
2991
|
const getSymbolStrokeWidth = symbol => {
|
|
2978
2992
|
var _symbol$background;
|
|
@@ -5870,7 +5884,7 @@ const Fullscreen = () => {
|
|
|
5870
5884
|
}));
|
|
5871
5885
|
};
|
|
5872
5886
|
|
|
5873
|
-
var _templateObject$4, _templateObject2$4, _templateObject3$3, _templateObject4$3, _templateObject5$3, _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, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38;
|
|
5887
|
+
var _templateObject$4, _templateObject2$4, _templateObject3$3, _templateObject4$3, _templateObject5$3, _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, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39;
|
|
5874
5888
|
const MapLegendDescription = /*#__PURE__*/styled.div(_templateObject$4 || (_templateObject$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: 0.75rem;\n"])));
|
|
5875
5889
|
const ItemText = /*#__PURE__*/styled.div(_templateObject2$4 || (_templateObject2$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n max-width: calc(100% - 2rem);\n font: ", ";\n"])), _ref => {
|
|
5876
5890
|
let {
|
|
@@ -5921,53 +5935,75 @@ const MapLegendControl = /*#__PURE__*/styled(MapControl)(_templateObject8$2 || (
|
|
|
5921
5935
|
const MapLegendContainer = /*#__PURE__*/styled.div(_templateObject9$1 || (_templateObject9$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n padding-bottom: 1rem;\n box-sizing: border-box;\n\n canvas {\n height: 1.625rem;\n width: 1.625rem;\n }\n"])));
|
|
5922
5936
|
const MapLegendHeader = /*#__PURE__*/styled.div(_templateObject10$1 || (_templateObject10$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n max-width: 15rem;\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: bold;\n"])));
|
|
5923
5937
|
const MapLegendDescriptionContainer = /*#__PURE__*/styled.div(_templateObject11$1 || (_templateObject11$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 0.5rem;\n font-weight: 400;\n font-size: 0.625rem;\n color: rgba(48, 69, 79, 0.65);\n"])));
|
|
5924
|
-
const
|
|
5938
|
+
const MapLegendBadge = /*#__PURE__*/styled.span(_templateObject12$1 || (_templateObject12$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n min-width: 0.5rem;\n height: 0.75rem;\n display: inline-block;\n margin-left: 0.25rem;\n padding: 0.125rem 0.25rem;\n border-radius: ", ";\n background-color: ", ";\n color: ", ";\n text-align: center;\n"])), _ref8 => {
|
|
5925
5939
|
let {
|
|
5926
|
-
|
|
5940
|
+
theme: {
|
|
5941
|
+
borderRadius
|
|
5942
|
+
}
|
|
5927
5943
|
} = _ref8;
|
|
5928
|
-
return
|
|
5944
|
+
return borderRadius.xSmall;
|
|
5929
5945
|
}, _ref9 => {
|
|
5930
5946
|
let {
|
|
5931
|
-
|
|
5947
|
+
theme: {
|
|
5948
|
+
palette
|
|
5949
|
+
}
|
|
5932
5950
|
} = _ref9;
|
|
5933
|
-
return
|
|
5951
|
+
return palette.element;
|
|
5934
5952
|
}, _ref10 => {
|
|
5935
5953
|
let {
|
|
5936
|
-
|
|
5954
|
+
theme: {
|
|
5955
|
+
palette
|
|
5956
|
+
}
|
|
5937
5957
|
} = _ref10;
|
|
5958
|
+
return palette.textPrimary;
|
|
5959
|
+
});
|
|
5960
|
+
const MaximizedLegendContainer = /*#__PURE__*/styled.div(_templateObject13$1 || (_templateObject13$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: ", ";\n top: 0;\n opacity: ", ";\n visibility: ", ";\n overflow: hidden;\n transition: opacity 0.5s, visibility 0.5s;\n"])), _ref11 => {
|
|
5961
|
+
let {
|
|
5962
|
+
isShown
|
|
5963
|
+
} = _ref11;
|
|
5964
|
+
return isShown ? 'relative' : 'absolute';
|
|
5965
|
+
}, _ref12 => {
|
|
5966
|
+
let {
|
|
5967
|
+
isShown
|
|
5968
|
+
} = _ref12;
|
|
5969
|
+
return isShown ? 1 : 0;
|
|
5970
|
+
}, _ref13 => {
|
|
5971
|
+
let {
|
|
5972
|
+
isShown
|
|
5973
|
+
} = _ref13;
|
|
5938
5974
|
return isShown ? 'visible' : 'hidden';
|
|
5939
5975
|
});
|
|
5940
|
-
const MinimizedLegendContainer = /*#__PURE__*/styled(MaximizedLegendContainer)(
|
|
5941
|
-
const LegendHeaderButton = /*#__PURE__*/styled.span(
|
|
5942
|
-
const MapLegendSectionContainer = /*#__PURE__*/styled.div(
|
|
5976
|
+
const MinimizedLegendContainer = /*#__PURE__*/styled(MaximizedLegendContainer)(_templateObject14$1 || (_templateObject14$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: calc(100% - 1.5rem);\n padding-right: 1.5rem;\n"])));
|
|
5977
|
+
const LegendHeaderButton = /*#__PURE__*/styled.span(_templateObject15$1 || (_templateObject15$1 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
5978
|
+
const MapLegendSectionContainer = /*#__PURE__*/styled.div(_templateObject16$1 || (_templateObject16$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n\n :not(:last-child) {\n margin-bottom: 1rem;\n }\n\n ", " {\n padding-left: 0.75rem;\n visibility: hidden;\n\n :first-child {\n padding-left: 1rem;\n }\n\n :last-child {\n margin-left: 0.75rem;\n border-left: 1px ", " solid;\n }\n }\n \n :hover {\n ", " {\n visibility: visible;\n }\n }\n"])), LegendHeaderButton, _ref14 => {
|
|
5943
5979
|
let {
|
|
5944
5980
|
theme: {
|
|
5945
5981
|
palette
|
|
5946
5982
|
}
|
|
5947
|
-
} =
|
|
5983
|
+
} = _ref14;
|
|
5948
5984
|
return palette.elementDeep;
|
|
5949
5985
|
}, LegendHeaderButton);
|
|
5950
|
-
const MapLegendSectionItems = /*#__PURE__*/styled.div(
|
|
5986
|
+
const MapLegendSectionItems = /*#__PURE__*/styled.div(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: ", "px;\n overflow: ", ";\n transition: height 0.5s;\n"])), _ref15 => {
|
|
5951
5987
|
let {
|
|
5952
5988
|
minHeight,
|
|
5953
5989
|
maxHeight,
|
|
5954
5990
|
isExpanded
|
|
5955
|
-
} =
|
|
5991
|
+
} = _ref15;
|
|
5956
5992
|
return isExpanded ? (maxHeight || 0) + 4 : minHeight;
|
|
5957
|
-
},
|
|
5993
|
+
}, _ref16 => {
|
|
5958
5994
|
let {
|
|
5959
5995
|
isExpanded
|
|
5960
|
-
} =
|
|
5996
|
+
} = _ref16;
|
|
5961
5997
|
return isExpanded ? 'none' : 'hidden';
|
|
5962
5998
|
});
|
|
5963
|
-
const MapLegendValueDescr = /*#__PURE__*/styled.div(
|
|
5999
|
+
const MapLegendValueDescr = /*#__PURE__*/styled.div(_templateObject18 || (_templateObject18 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n min-height: 1rem;\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1rem;\n"])));
|
|
5964
6000
|
|
|
5965
6001
|
const SizeLegendItemMixin = function SizeLegendItemMixin(value) {
|
|
5966
6002
|
if (value === void 0) {
|
|
5967
6003
|
value = 0;
|
|
5968
6004
|
}
|
|
5969
6005
|
|
|
5970
|
-
return css(
|
|
6006
|
+
return css(_templateObject19 || (_templateObject19 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 0;\n left: 50%;\n display: flex;\n align-items: flex-end;\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);
|
|
5971
6007
|
};
|
|
5972
6008
|
|
|
5973
6009
|
const StrokeWidthLegendItemMixin = function StrokeWidthLegendItemMixin(value) {
|
|
@@ -5975,80 +6011,80 @@ const StrokeWidthLegendItemMixin = function StrokeWidthLegendItemMixin(value) {
|
|
|
5975
6011
|
value = 0;
|
|
5976
6012
|
}
|
|
5977
6013
|
|
|
5978
|
-
return css(
|
|
6014
|
+
return css(_templateObject20 || (_templateObject20 = _taggedTemplateLiteralLoose(["\n position: relative;\n background: none;\n border: none;\n display: flex;\n align-items: center;\n flex: none;\n width: calc(100% - 2rem);\n height: ", "px;\n margin: 0 0 0.25rem 0;\n padding-left: 2rem;\n font-size: 0.75rem;\n\n :first-child,\n :last-child {\n height: auto;\n }\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, value, Math.round(value / 2));
|
|
5979
6015
|
};
|
|
5980
6016
|
|
|
5981
|
-
const StrokeColorLegendItemMixin = /*#__PURE__*/css(
|
|
5982
|
-
const MapLegendItem = /*#__PURE__*/styled.div(
|
|
6017
|
+
const StrokeColorLegendItemMixin = /*#__PURE__*/css(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-right: 0.5rem;\n width: 1.5rem;\n"])));
|
|
6018
|
+
const MapLegendItem = /*#__PURE__*/styled.div(_templateObject22 || (_templateObject22 = /*#__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 color: rgba(48, 69, 79, 0.65);\n opacity: ", ";\n\n ", "\n\n ", "\n"])), _ref17 => {
|
|
5983
6019
|
let {
|
|
5984
6020
|
parameter
|
|
5985
|
-
} =
|
|
6021
|
+
} = _ref17;
|
|
5986
6022
|
return isParameterType(['strokeColor', 'stroke.color'], parameter) ? 0.25 : 1;
|
|
5987
|
-
},
|
|
6023
|
+
}, _ref18 => {
|
|
5988
6024
|
let {
|
|
5989
6025
|
value
|
|
5990
|
-
} =
|
|
6026
|
+
} = _ref18;
|
|
5991
6027
|
return typeof value === 'number' ? 'none' : value;
|
|
5992
|
-
},
|
|
6028
|
+
}, _ref19 => {
|
|
5993
6029
|
let {
|
|
5994
6030
|
isHidden
|
|
5995
|
-
} =
|
|
6031
|
+
} = _ref19;
|
|
5996
6032
|
return isHidden ? 0.28 : 1;
|
|
5997
|
-
},
|
|
6033
|
+
}, _ref20 => {
|
|
5998
6034
|
let {
|
|
5999
6035
|
value,
|
|
6000
6036
|
parameter
|
|
6001
|
-
} =
|
|
6037
|
+
} = _ref20;
|
|
6002
6038
|
return isParameterType('size', parameter) && SizeLegendItemMixin(value);
|
|
6003
|
-
},
|
|
6039
|
+
}, _ref21 => {
|
|
6004
6040
|
let {
|
|
6005
6041
|
value,
|
|
6006
6042
|
parameter
|
|
6007
|
-
} =
|
|
6043
|
+
} = _ref21;
|
|
6008
6044
|
return isParameterType(['strokeWidth', 'stroke.width'], parameter) && StrokeWidthLegendItemMixin(value);
|
|
6009
6045
|
});
|
|
6010
|
-
const MapLegendOther = /*#__PURE__*/styled(MapLegendItem)(
|
|
6011
|
-
const SizeLegendItemsMixin = /*#__PURE__*/css(
|
|
6012
|
-
const StrokeWidthLegendItemsMixin = /*#__PURE__*/css(
|
|
6013
|
-
const SizeMinimizedLegend = /*#__PURE__*/styled.div(
|
|
6014
|
-
const SizeMinimizedLegendSymbol = /*#__PURE__*/styled.div(
|
|
6015
|
-
const SizeMinimizedLegendLabel = /*#__PURE__*/styled.div(
|
|
6016
|
-
const SizeMinimizedLegendDown = /*#__PURE__*/styled.div(
|
|
6017
|
-
const SizeMinimizedLegendUp = /*#__PURE__*/styled(SizeMinimizedLegendDown)(
|
|
6018
|
-
const SingleSizeLegendItemsMixin = /*#__PURE__*/css(
|
|
6019
|
-
const SingleLegendItemsMixin = /*#__PURE__*/css(
|
|
6046
|
+
const MapLegendOther = /*#__PURE__*/styled(MapLegendItem)(_templateObject23 || (_templateObject23 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n flex: none;\n position: relative;\n width: 1rem;\n margin-left: 0.25rem;\n border-radius: 0.125rem;\n"])));
|
|
6047
|
+
const SizeLegendItemsMixin = /*#__PURE__*/css(_templateObject24 || (_templateObject24 = /*#__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);
|
|
6048
|
+
const StrokeWidthLegendItemsMixin = /*#__PURE__*/css(_templateObject25 || (_templateObject25 = /*#__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);
|
|
6049
|
+
const SizeMinimizedLegend = /*#__PURE__*/styled.div(_templateObject26 || (_templateObject26 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n margin: 0.5rem 0 0.25rem;\n"])));
|
|
6050
|
+
const SizeMinimizedLegendSymbol = /*#__PURE__*/styled.div(_templateObject27 || (_templateObject27 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 4rem;\n margin-right: 0.75rem;\n"])));
|
|
6051
|
+
const SizeMinimizedLegendLabel = /*#__PURE__*/styled.div(_templateObject28 || (_templateObject28 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n max-width: 9.75rem;\n font-size: 0.75rem;\n"])));
|
|
6052
|
+
const SizeMinimizedLegendDown = /*#__PURE__*/styled.div(_templateObject29 || (_templateObject29 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: rgba(48, 69, 79, 0.65);\n"])));
|
|
6053
|
+
const SizeMinimizedLegendUp = /*#__PURE__*/styled(SizeMinimizedLegendDown)(_templateObject30 || (_templateObject30 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
6054
|
+
const SingleSizeLegendItemsMixin = /*#__PURE__*/css(_templateObject31 || (_templateObject31 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 4rem;\n margin-right: 0.75rem;\n\n ", ":after {\n margin: 0 auto;\n }\n"])), MapLegendItem);
|
|
6055
|
+
const SingleLegendItemsMixin = /*#__PURE__*/css(_templateObject32 || (_templateObject32 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n justify-content: center;\n width: 2rem;\n height: auto;\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"])), _ref22 => {
|
|
6020
6056
|
let {
|
|
6021
6057
|
isSize
|
|
6022
|
-
} =
|
|
6058
|
+
} = _ref22;
|
|
6023
6059
|
return isSize && SingleSizeLegendItemsMixin;
|
|
6024
|
-
}, MapLegendItem,
|
|
6060
|
+
}, MapLegendItem, _ref23 => {
|
|
6025
6061
|
let {
|
|
6026
6062
|
parameter
|
|
6027
|
-
} =
|
|
6063
|
+
} = _ref23;
|
|
6028
6064
|
return isParameterType(['strokeColor', 'stroke.color'], parameter) && StrokeColorLegendItemMixin;
|
|
6029
6065
|
});
|
|
6030
|
-
const MapLegendItems = /*#__PURE__*/styled.div(
|
|
6066
|
+
const MapLegendItems = /*#__PURE__*/styled.div(_templateObject33 || (_templateObject33 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: 0.125rem;\n\n ", ";\n ", ";\n ", ";\n"])), _ref24 => {
|
|
6031
6067
|
let {
|
|
6032
6068
|
isSize
|
|
6033
|
-
} =
|
|
6069
|
+
} = _ref24;
|
|
6034
6070
|
return isSize && SizeLegendItemsMixin;
|
|
6035
|
-
},
|
|
6071
|
+
}, _ref25 => {
|
|
6036
6072
|
let {
|
|
6037
6073
|
isStrokeWidth
|
|
6038
|
-
} =
|
|
6074
|
+
} = _ref25;
|
|
6039
6075
|
return isStrokeWidth && StrokeWidthLegendItemsMixin;
|
|
6040
|
-
},
|
|
6076
|
+
}, _ref26 => {
|
|
6041
6077
|
let {
|
|
6042
6078
|
isSingle
|
|
6043
|
-
} =
|
|
6079
|
+
} = _ref26;
|
|
6044
6080
|
return isSingle && SingleLegendItemsMixin;
|
|
6045
6081
|
});
|
|
6046
|
-
const MapLegendItemsContainer = /*#__PURE__*/styled.div(
|
|
6047
|
-
const MapLegendValues = /*#__PURE__*/styled.div(
|
|
6048
|
-
const MapLegendValuesRange = /*#__PURE__*/styled.div(
|
|
6049
|
-
const MapLegendValuesOther = /*#__PURE__*/styled(MapLegendOther)(
|
|
6050
|
-
const MapLegendExpandButton = /*#__PURE__*/styled.div(
|
|
6051
|
-
const ClusterLegendContainer = /*#__PURE__*/styled.div(
|
|
6082
|
+
const MapLegendItemsContainer = /*#__PURE__*/styled.div(_templateObject34 || (_templateObject34 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n\n ", " {\n :first-child {\n border-top-left-radius: 0.125rem;\n border-bottom-left-radius: 0.125rem;\n }\n\n :last-child {\n border-top-right-radius: 0.125rem;\n border-bottom-right-radius: 0.125rem;\n }\n }\n"])), MapLegendItem);
|
|
6083
|
+
const MapLegendValues = /*#__PURE__*/styled.div(_templateObject35 || (_templateObject35 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n margin-top: 0.5rem;\n font-size: 0.75rem;\n color: rgba(48, 69, 79, 0.65);\n"])));
|
|
6084
|
+
const MapLegendValuesRange = /*#__PURE__*/styled.div(_templateObject36 || (_templateObject36 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n width: calc(100% - 1.25rem);\n\n div {\n flex: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n\n :first-child {\n margin-right: 0.5rem;\n }\n\n :last-child {\n margin-left: 0.5rem;\n text-align: right;\n }\n }\n"])));
|
|
6085
|
+
const MapLegendValuesOther = /*#__PURE__*/styled(MapLegendOther)(_templateObject37 || (_templateObject37 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n justify-content: center;\n border: 0;\n overflow: visible;\n"])));
|
|
6086
|
+
const MapLegendExpandButton = /*#__PURE__*/styled.div(_templateObject38 || (_templateObject38 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: pointer;\n margin-top: 0.1rem;\n font-size: 0.625rem;\n color: #1fb3aa;\n"])));
|
|
6087
|
+
const ClusterLegendContainer = /*#__PURE__*/styled.div(_templateObject39 || (_templateObject39 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: -0.9rem;\n transform: scale(0.5);\n"])));
|
|
6052
6088
|
|
|
6053
6089
|
const useSvgSymbol = (symbol, skipOffset, isClassified) => {
|
|
6054
6090
|
const SVGWrapperRefElement = useRef(null);
|
|
@@ -6417,12 +6453,13 @@ const LegendChildren = _ref => {
|
|
|
6417
6453
|
|
|
6418
6454
|
const LegendParameterDescription = _ref => {
|
|
6419
6455
|
let {
|
|
6420
|
-
parameter
|
|
6456
|
+
parameter,
|
|
6457
|
+
index
|
|
6421
6458
|
} = _ref;
|
|
6422
6459
|
const isSize = isParameterType("size", parameter);
|
|
6423
6460
|
const isStrokeWidth = isParameterType(["strokeWidth", "stroke.width"], parameter);
|
|
6424
6461
|
const isStrokeColor = isParameterType(["strokeColor", "stroke.color"], parameter);
|
|
6425
|
-
return React.createElement(MapLegendDescriptionContainer, null, isStrokeWidth || isStrokeColor ? isStrokeWidth ? "Толщина обводки" : "Цвет обводки" : isSize ? "Размер знака" : "Цвет символа");
|
|
6462
|
+
return React.createElement(MapLegendDescriptionContainer, null, isStrokeWidth || isStrokeColor ? isStrokeWidth ? "Толщина обводки" : "Цвет обводки" : isSize ? "Размер знака" : "Цвет символа", !!index && React.createElement(MapLegendBadge, null, index));
|
|
6426
6463
|
};
|
|
6427
6464
|
|
|
6428
6465
|
const getValueFromLegendTitle = (title, minOrMax) => {
|
|
@@ -6535,6 +6572,7 @@ const MaximizedLegend = _ref => {
|
|
|
6535
6572
|
} = _ref2;
|
|
6536
6573
|
if (!symbol) return null;
|
|
6537
6574
|
const isClusterFillColor$1 = isClusterFillColor(symbol, parameter);
|
|
6575
|
+
const value = getParameterValue(parameterValue == null ? void 0 : (_parameterValue$value = parameterValue.values[index]) == null ? void 0 : _parameterValue$value.value) || (parameterValue == null ? void 0 : parameterValue.defaultValue);
|
|
6538
6576
|
return React.createElement(ClassifiedItem, {
|
|
6539
6577
|
key: sectionIndex + title + index,
|
|
6540
6578
|
isHidden: isHiddenLegend(hiddenCondition, hiddenLegends),
|
|
@@ -6549,7 +6587,7 @@ const MaximizedLegend = _ref => {
|
|
|
6549
6587
|
}, React.createElement(MapLegendItem, {
|
|
6550
6588
|
key: "" + title + index,
|
|
6551
6589
|
title: title,
|
|
6552
|
-
value:
|
|
6590
|
+
value: value,
|
|
6553
6591
|
parameter: parameter
|
|
6554
6592
|
})) : React.createElement(SymbolContainer, null, React.createElement(LegendSymbolRenderer, {
|
|
6555
6593
|
index: index,
|
|
@@ -6581,12 +6619,14 @@ const LegendSection = _ref => {
|
|
|
6581
6619
|
goToClassification,
|
|
6582
6620
|
attribute,
|
|
6583
6621
|
formatValue,
|
|
6584
|
-
index
|
|
6622
|
+
index,
|
|
6623
|
+
count
|
|
6585
6624
|
} = _ref;
|
|
6586
6625
|
const [isExpanded, toggleExpanded] = useToggle();
|
|
6587
6626
|
const [maxRef, maxNode] = useNode();
|
|
6588
6627
|
const [minRef, minNode] = useNode();
|
|
6589
6628
|
if (!layerName || !attribute) return null;
|
|
6629
|
+
const currentSymbol = isCombinedPolylineSymbol(symbol) ? symbol.values[index] : symbol;
|
|
6590
6630
|
return React.createElement(MapLegendSectionContainer, {
|
|
6591
6631
|
hasHiddenLegends: !!(hiddenLegends != null && (_hiddenLegends$layerN = hiddenLegends[layerName]) != null && _hiddenLegends$layerN.length)
|
|
6592
6632
|
}, React.createElement(MapLegendHeader, null, attribute.alias || attribute.name, React.createElement(LegendHeaderButtons, {
|
|
@@ -6595,7 +6635,8 @@ const LegendSection = _ref => {
|
|
|
6595
6635
|
clearHiddenLegends: clearHiddenLegends,
|
|
6596
6636
|
goToClassification: goToClassification
|
|
6597
6637
|
})), React.createElement(LegendParameterDescription, {
|
|
6598
|
-
parameter: parameter
|
|
6638
|
+
parameter: parameter,
|
|
6639
|
+
index: count && index !== undefined ? count - index : 0
|
|
6599
6640
|
}), React.createElement(MapLegendSectionItems, {
|
|
6600
6641
|
minHeight: minNode == null ? void 0 : minNode.offsetHeight,
|
|
6601
6642
|
maxHeight: maxNode == null ? void 0 : maxNode.offsetHeight,
|
|
@@ -6604,13 +6645,13 @@ const LegendSection = _ref => {
|
|
|
6604
6645
|
innerRef: maxRef,
|
|
6605
6646
|
isShown: isExpanded,
|
|
6606
6647
|
layerName: layerName,
|
|
6607
|
-
symbol:
|
|
6648
|
+
symbol: currentSymbol,
|
|
6608
6649
|
hiddenLegends: hiddenLegends == null ? void 0 : hiddenLegends[layerName],
|
|
6609
6650
|
toggleHiddenLegend: toggleHiddenLegend,
|
|
6610
6651
|
parameter: parameter,
|
|
6611
6652
|
attributeType: attribute.type,
|
|
6612
6653
|
index: index,
|
|
6613
|
-
values: getMaximizedLegendValues(attribute, parameter, parameters, classified,
|
|
6654
|
+
values: getMaximizedLegendValues(attribute, parameter, parameters, classified, currentSymbol, formatValue, index, 'Другое')
|
|
6614
6655
|
}), React.createElement(MinimizedLegend, {
|
|
6615
6656
|
innerRef: minRef,
|
|
6616
6657
|
isShown: !isExpanded,
|
|
@@ -6648,28 +6689,58 @@ const Legend = /*#__PURE__*/memo(_ref => {
|
|
|
6648
6689
|
}
|
|
6649
6690
|
|
|
6650
6691
|
const attributes = getLayerAttributes(layerInfo.layerDefinition);
|
|
6651
|
-
const
|
|
6652
|
-
|
|
6653
|
-
const parameters = Object.keys(classified);
|
|
6654
|
-
return React.createElement(MapLegendContainer, null, Object.keys(classified).map((param, index) => {
|
|
6655
|
-
var _layerInfo$style2, _classified$param, _classified$param$val;
|
|
6692
|
+
const renderItems = useMemo(() => {
|
|
6693
|
+
var _layerInfo$style2, _layerInfo$style3;
|
|
6656
6694
|
|
|
6657
|
-
|
|
6658
|
-
|
|
6695
|
+
const parameters = SYMBOL_CLASSIFICATION[layerInfo.geometryType];
|
|
6696
|
+
const props = {
|
|
6659
6697
|
layerName: layerInfo.name,
|
|
6660
6698
|
symbol: (_layerInfo$style2 = layerInfo.style) == null ? void 0 : _layerInfo$style2.symbol,
|
|
6661
|
-
attribute: getConditionAttribute(attributes, (_classified$param = classified[param]) == null ? void 0 : (_classified$param$val = _classified$param.values[0]) == null ? void 0 : _classified$param$val.condition),
|
|
6662
|
-
classified: classified[param],
|
|
6663
|
-
parameter: param,
|
|
6664
6699
|
parameters: parameters,
|
|
6665
|
-
index: index,
|
|
6666
6700
|
formatValue: formatValue,
|
|
6667
6701
|
hiddenLegends: hiddenLegends,
|
|
6668
6702
|
toggleHiddenLegend: toggleHiddenLegend,
|
|
6669
6703
|
clearHiddenLegends: clearHiddenLegends,
|
|
6670
6704
|
goToClassification: goToClassification
|
|
6671
|
-
}
|
|
6672
|
-
|
|
6705
|
+
};
|
|
6706
|
+
|
|
6707
|
+
if ((_layerInfo$style3 = layerInfo.style) != null && _layerInfo$style3.symbol && isCombinedPolylineSymbol(layerInfo.style.symbol)) {
|
|
6708
|
+
var _layerInfo$style4, _layerInfo$style4$sym, _layerInfo$style4$sym2;
|
|
6709
|
+
|
|
6710
|
+
const values = (_layerInfo$style4 = layerInfo.style) == null ? void 0 : (_layerInfo$style4$sym = _layerInfo$style4.symbol) == null ? void 0 : (_layerInfo$style4$sym2 = _layerInfo$style4$sym.values) == null ? void 0 : _layerInfo$style4$sym2.reduce((result, symbol, index) => {
|
|
6711
|
+
return [classifyParamsReduce(symbol, parameters, index), ...result];
|
|
6712
|
+
}, []);
|
|
6713
|
+
return React.createElement(React.Fragment, null, values == null ? void 0 : values.map((value, index) => Object.keys(value).map((param, keyIndex) => {
|
|
6714
|
+
var _item$values$;
|
|
6715
|
+
|
|
6716
|
+
const item = value[param];
|
|
6717
|
+
return React.createElement(LegendSection, Object.assign({
|
|
6718
|
+
key: [keyIndex, index].join("-"),
|
|
6719
|
+
index: item == null ? void 0 : item.index,
|
|
6720
|
+
count: values == null ? void 0 : values.length,
|
|
6721
|
+
attribute: getConditionAttribute(attributes, item == null ? void 0 : (_item$values$ = item.values[0]) == null ? void 0 : _item$values$.condition),
|
|
6722
|
+
parameter: param,
|
|
6723
|
+
classified: item
|
|
6724
|
+
}, props, rest));
|
|
6725
|
+
})));
|
|
6726
|
+
}
|
|
6727
|
+
|
|
6728
|
+
const classified = getClassified(layerInfo);
|
|
6729
|
+
if (!classified) return null;
|
|
6730
|
+
return React.createElement(React.Fragment, null, Object.keys(classified).map((param, keyIndex) => {
|
|
6731
|
+
var _item$values$2;
|
|
6732
|
+
|
|
6733
|
+
const item = classified[param];
|
|
6734
|
+
return React.createElement(LegendSection, Object.assign({
|
|
6735
|
+
key: [keyIndex, item.index].join("-"),
|
|
6736
|
+
index: item.index,
|
|
6737
|
+
attribute: getConditionAttribute(attributes, item == null ? void 0 : (_item$values$2 = item.values[0]) == null ? void 0 : _item$values$2.condition),
|
|
6738
|
+
parameter: param,
|
|
6739
|
+
classified: item
|
|
6740
|
+
}, props, rest));
|
|
6741
|
+
}));
|
|
6742
|
+
}, [layerInfo, formatValue, hiddenLegends, toggleHiddenLegend, clearHiddenLegends, goToClassification]);
|
|
6743
|
+
return React.createElement(MapLegendContainer, null, renderItems);
|
|
6673
6744
|
});
|
|
6674
6745
|
|
|
6675
6746
|
const Map = _ref => {
|
|
@@ -7074,5 +7145,5 @@ const DraggableMarker = _ref => {
|
|
|
7074
7145
|
return React.createElement(Fragment, null);
|
|
7075
7146
|
};
|
|
7076
7147
|
|
|
7077
|
-
export { ArrowLineMiterRender, BASE_OPERATORS, BETWEEN_OPERATORS, BaseMeasureToolCreator, BaseMeasureToolEditor, CONTAINS_OPERATORS, CRS_MAP, CardAttributes, CardHeader, CircleLineMiterRender, ClassificationCondition, ClassificationManager, ClassifiedItem, ClusterLayer, ClusterLegendContainer, ClusterSymbol, ClusterSymbolPreview, ComparisonOperator, CompoundIcon, DEFAULT_CLUSTER_SVG, DEFAULT_CRS, DEFAULT_ID_ATTRIBUTE_NAME, DEFAULT_LEGEND_SIZES, DEFAULT_LEGEND_STYLES, DEFAULT_LEGEND_SYMBOL_SIZE, DEFAULT_PARAMETER_INFO, DEFAULT_SRID, DEFAULT_SYMBOL_FILL_COLOR, DEFAULT_SYMBOL_OFFSET, DEFAULT_SYMBOL_SIZE, DEFAULT_SYMBOL_STROKE_COLOR, DEFAULT_SYMBOL_WITH_BG_SIZE, DateFormat, DraggableMarker, ENDS_WITH_OPERATORS, EXTRA_BORDER_SIZE, 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, FILLED_OPERATORS, FeatureLayer, FilterConditionOperation, Fullscreen, GEOMETRY_ATTRIBUTE, ItemSeparator, ItemText, LabelSymbol, Legend, LegendChildren, LegendHeaderButton, LegendParameterDescription, LegendProvider, LegendSection, LegendSymbolRenderer, LineMiterRender, Map, MapControl, MapControls, MapLegendContainer, MapLegendControl, MapLegendDescription, MapLegendDescriptionContainer, MapLegendExpandButton, MapLegendHeader, MapLegendItem, MapLegendItems, MapLegendItemsContainer, MapLegendOther, MapLegendSectionContainer, MapLegendSectionItems, MapLegendValueDescr, MapLegendValues, MapLegendValuesOther, MapLegendValuesRange, MapProvider, MaximizedLegend, MaximizedLegendContainer, Measure, MeasureTool, Measurer, MinimizedLegend, MinimizedLegendContainer, NO_CONTENT_VALUE, Noop, OPERATOR_CONDITION_REMAP, PARAMETER_INFOS, PREVIEW_LIMITS, RANGE_OPERATORS, SGisBrushFill, SGisImageFill, SGisPolygonSymbol, SGisPolylineSymbol, SOLID_INTERVALS, STARTS_WITH_OPERATORS, SVGPoly, SYMBOL_CLASSIFICATION, SYMBOL_LIMITS, SYMBOL_SIZE_PARAMETERS, ScaleRuler, ScaleRulerBlock, ScaleRulerContainer, Search, SelectedPointSymbol, SelectedPolySymbol, ShadowedPointSymbol, ShadowedPolySymbol, SizeMinimizedLegend, SizeMinimizedLegendDown, SizeMinimizedLegendLabel, SizeMinimizedLegendSymbol, SizeMinimizedLegendUp, SquareLineMiterRender, SrId, StyleSymbol, SvgSymbol, SvgSymbolBg, Symbol, SymbolButton, SymbolByType, SymbolContainer, TextContainer, TileLayer, Tooltip, TooltipComponent, TooltipProvider, Zoom, ZoomLevel, adjustSymbol, applyParameterValue, checkLayerHasLegend, clamp, convertSvgToBase64, copyRings, createCompositeSymbol, createHiddenCondition, createLabelSymbol, createLegendSymbol, createOtherHiddenCondition, createSvgGradient, createValueTitle, createValueTitleFromCondition, dateComparisonOperators, defaultOffset, defineStrokeStylePreset, deserializeSymbol, evaluateFeature, extractStyle, extractSymbol, findChildFeatureStyle, findChildFeatureSymbol, formatArea, formatAttributeValue, formatDate, formatLength, formatPolygonMeasure, formatRangeClassValue, formatUniqueClassValue, getAttributeFromCondition, getAttributeNameFromClassified, getAttributeNameFromCondition, getAttributeType, getAttributesConfiguration, getChildSymbols, getClassificationValue, getClassified, getCrs, getDashStylePreset, getDate, getDimensions, getExprFromCondition, getExtractedSymbol, getFeatureSymbol, getHexColor, getLayerDefinition, getLegendSymbolRenders, getLegendSymbolSize, getLineDash, getMapLegendSymbolRenders, getMapState, getMaximizedLegendValues, getMinimizedLegendValues, getOffsetParameterValue, getParameterFromSymbol, getParameterValue, getRangeValues$1 as getRangeValues, getScale, getServiceConfiguration, getSignFromConditionPart, getSymbolParameterInfo, getSymbolRenders, getSymbolStrokeWidth, getTitleFromCondition, getValueFromConditionPart, isArrowLineMiter, isCalculatedParameter, isCircleLineMiter, isClusterFillColor, isClusterSymbol, isCompositeSymbol, isDashedBrush, isFilledLineMitter, isH3GridSymbol, isHatchBrush, isImageSymbol, isLabelSymbol, isLayerService, isMaskedImageSymbol, isMiterExist, isNumeric, isObject, isParameterByAttribute, isParameterType, isParameterValueSimple, isParameterValueSymbol, isPatternBrush, isPointLabelSymbol, isPointSymbol, isPolygonHasHatchBrush, isPolygonHasPatternBrush, isPolygonLabelSymbol, isPolygonSymbol, isPolylineLabelSymbol, isPolylineLikePolygon, isPolylineSymbol, isPolylineSymbols, isRangeClass, isRangeCondition, isRasterSymbol, isRequisiteNumbers, isSGisClusterSymbol, isSGisCombinedPolylineSymbol, isSGisH3Symbol, isSGisImageSymbol, isSGisPointSymbol, isSGisPolygonSymbol, isSGisPolylineSymbol, isScalablePolylineSymbol, isSimpleOffset, isSimplePolylineSymbol, isSimpleSymbol, isSizableSymbol, isSizeClassification, isSolidBrush, isSquareLineMiter, isSquareSymbol, isStaticImageSymbol, isStringAsInn, isStringAsKpp, isStringAsMail, isStringAsOgrn, isStringAsPhone, isStringAsUrl, isStringContainsDate, isStringParameterValue, isStrokeStyledSymbol, isStyle, isSvgPointSymbol, isSymbolWithOffset, isTwoDimensionalSymbol, isUniqueClass, isValidParameter, isValidUrl, mailHref, manipulateSvgSymbol, matchPhone, measureAreaSymbol, measureLengthSymbol, measurePolygonSnapSymbol, metersToPixels, numberComparisonOperators, numberWithSpaces, packStyle, phoneHref, polygonCircleFromPoint, printRangeClass, renderSymbolToCanvas, selectedPoint, selectedPolygon, selectedPolyline, serializeSvgPointSymbol, setDefaultParameterValue, setParameterValue, shouldUpdateMapState, solidStrokeStylePreset, strokeStylePresets, symbolParameterWalker, symbolTypeGuard, textComparisonOperators, toIntervals, toLineDash, unClassify, updateMapResolution, updateSymbolParameter, urlHref, useCanvas, useClusterLayer, useCrs, useDebouncedCallback, useDraggableMarker, useEventPoint, useEvergisContext, useEvergisDynamicLayer, useEvergisSelect, useEvergisSelectContext, useEvergisTileLayer, useFeatureLayer, useLayerOrder, useLayerVisibility, useLegendContext, useMapBboxChange, useMapContext, useMapLevel, useMapPick, useMapResize, useMapState, useMapView, useMapViewActions, useMapWrapper, useMaxMinScale, useMetersToPixels, useMetersToPixelsCb, useMount, useNode, useProperty, useScale, useSvgSymbol, useSymbol, useToggle, useTooltip, useTooltipContext, useUpdate, useUpdateMapView };
|
|
7148
|
+
export { ArrowLineMiterRender, BASE_OPERATORS, BETWEEN_OPERATORS, BaseMeasureToolCreator, BaseMeasureToolEditor, CONTAINS_OPERATORS, CRS_MAP, CardAttributes, CardHeader, CircleLineMiterRender, ClassificationCondition, ClassificationManager, ClassifiedItem, ClusterLayer, ClusterLegendContainer, ClusterSymbol, ClusterSymbolPreview, ComparisonOperator, CompoundIcon, DEFAULT_CLUSTER_SVG, DEFAULT_CRS, DEFAULT_ID_ATTRIBUTE_NAME, DEFAULT_LEGEND_SIZES, DEFAULT_LEGEND_STYLES, DEFAULT_LEGEND_SYMBOL_SIZE, DEFAULT_PARAMETER_INFO, DEFAULT_SRID, DEFAULT_SYMBOL_FILL_COLOR, DEFAULT_SYMBOL_OFFSET, DEFAULT_SYMBOL_SIZE, DEFAULT_SYMBOL_STROKE_COLOR, DEFAULT_SYMBOL_WITH_BG_SIZE, DateFormat, DraggableMarker, ENDS_WITH_OPERATORS, EXTRA_BORDER_SIZE, 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, FILLED_OPERATORS, FeatureLayer, FilterConditionOperation, Fullscreen, GEOMETRY_ATTRIBUTE, ItemSeparator, ItemText, LabelSymbol, Legend, LegendChildren, LegendHeaderButton, LegendParameterDescription, LegendProvider, LegendSection, LegendSymbolRenderer, LineMiterRender, Map, MapControl, MapControls, MapLegendBadge, MapLegendContainer, MapLegendControl, MapLegendDescription, MapLegendDescriptionContainer, MapLegendExpandButton, MapLegendHeader, MapLegendItem, MapLegendItems, MapLegendItemsContainer, MapLegendOther, MapLegendSectionContainer, MapLegendSectionItems, MapLegendValueDescr, MapLegendValues, MapLegendValuesOther, MapLegendValuesRange, MapProvider, MaximizedLegend, MaximizedLegendContainer, Measure, MeasureTool, Measurer, MinimizedLegend, MinimizedLegendContainer, NO_CONTENT_VALUE, Noop, OPERATOR_CONDITION_REMAP, PARAMETER_INFOS, PREVIEW_LIMITS, RANGE_OPERATORS, SGisBrushFill, SGisImageFill, SGisPolygonSymbol, SGisPolylineSymbol, SOLID_INTERVALS, STARTS_WITH_OPERATORS, SVGPoly, SYMBOL_CLASSIFICATION, SYMBOL_LIMITS, SYMBOL_SIZE_PARAMETERS, ScaleRuler, ScaleRulerBlock, ScaleRulerContainer, Search, SelectedPointSymbol, SelectedPolySymbol, ShadowedPointSymbol, ShadowedPolySymbol, SizeMinimizedLegend, SizeMinimizedLegendDown, SizeMinimizedLegendLabel, SizeMinimizedLegendSymbol, SizeMinimizedLegendUp, SquareLineMiterRender, SrId, StyleSymbol, SvgSymbol, SvgSymbolBg, Symbol, SymbolButton, SymbolByType, SymbolContainer, TextContainer, TileLayer, Tooltip, TooltipComponent, TooltipProvider, Zoom, ZoomLevel, adjustSymbol, applyParameterValue, checkLayerHasLegend, clamp, classifyParamsReduce, convertSvgToBase64, copyRings, createCompositeSymbol, createHiddenCondition, createLabelSymbol, createLegendSymbol, createOtherHiddenCondition, createSvgGradient, createValueTitle, createValueTitleFromCondition, dateComparisonOperators, defaultOffset, defineStrokeStylePreset, deserializeSymbol, evaluateFeature, extractStyle, extractSymbol, findChildFeatureStyle, findChildFeatureSymbol, formatArea, formatAttributeValue, formatDate, formatLength, formatPolygonMeasure, formatRangeClassValue, formatUniqueClassValue, getAttributeFromCondition, getAttributeNameFromClassified, getAttributeNameFromCondition, getAttributeType, getAttributesConfiguration, getChildSymbols, getClassificationValue, getClassified, getCrs, getDashStylePreset, getDate, getDimensions, getExprFromCondition, getExtractedSymbol, getFeatureSymbol, getHexColor, getLayerDefinition, getLegendSymbolRenders, getLegendSymbolSize, getLineDash, getMapLegendSymbolRenders, getMapState, getMaximizedLegendValues, getMinimizedLegendValues, getOffsetParameterValue, getParameterFromSymbol, getParameterValue, getRangeValues$1 as getRangeValues, getScale, getServiceConfiguration, getSignFromConditionPart, getSymbolParameterInfo, getSymbolRenders, getSymbolStrokeWidth, getTitleFromCondition, getValueFromConditionPart, isArrowLineMiter, isCalculatedParameter, isCircleLineMiter, isClusterFillColor, isClusterSymbol, isCombinedPolylineSymbol, isCompositeSymbol, isDashedBrush, isFilledLineMitter, isH3GridSymbol, isHatchBrush, isImageSymbol, isLabelSymbol, isLayerService, isMaskedImageSymbol, isMiterExist, isNumeric, isObject, isParameterByAttribute, isParameterType, isParameterValueSimple, isParameterValueSymbol, isPatternBrush, isPointLabelSymbol, isPointSymbol, isPolygonHasHatchBrush, isPolygonHasPatternBrush, isPolygonLabelSymbol, isPolygonSymbol, isPolylineLabelSymbol, isPolylineLikePolygon, isPolylineSymbol, isPolylineSymbols, isRangeClass, isRangeCondition, isRasterSymbol, isRequisiteNumbers, isSGisClusterSymbol, isSGisCombinedPolylineSymbol, isSGisH3Symbol, isSGisImageSymbol, isSGisPointSymbol, isSGisPolygonSymbol, isSGisPolylineSymbol, isScalablePolylineSymbol, isSimpleOffset, isSimplePolylineSymbol, isSimpleSymbol, isSizableSymbol, isSizeClassification, isSolidBrush, isSquareLineMiter, isSquareSymbol, isStaticImageSymbol, isStringAsInn, isStringAsKpp, isStringAsMail, isStringAsOgrn, isStringAsPhone, isStringAsUrl, isStringContainsDate, isStringParameterValue, isStrokeStyledSymbol, isStyle, isSvgPointSymbol, isSymbolWithOffset, isTwoDimensionalSymbol, isUniqueClass, isValidParameter, isValidUrl, mailHref, manipulateSvgSymbol, matchPhone, measureAreaSymbol, measureLengthSymbol, measurePolygonSnapSymbol, metersToPixels, numberComparisonOperators, numberWithSpaces, packStyle, phoneHref, polygonCircleFromPoint, printRangeClass, renderSymbolToCanvas, selectedPoint, selectedPolygon, selectedPolyline, serializeSvgPointSymbol, setDefaultParameterValue, setParameterValue, shouldUpdateMapState, solidStrokeStylePreset, strokeStylePresets, symbolParameterWalker, symbolTypeGuard, textComparisonOperators, toIntervals, toLineDash, unClassify, updateMapResolution, updateSymbolParameter, urlHref, useCanvas, useClusterLayer, useCrs, useDebouncedCallback, useDraggableMarker, useEventPoint, useEvergisContext, useEvergisDynamicLayer, useEvergisSelect, useEvergisSelectContext, useEvergisTileLayer, useFeatureLayer, useLayerOrder, useLayerVisibility, useLegendContext, useMapBboxChange, useMapContext, useMapLevel, useMapPick, useMapResize, useMapState, useMapView, useMapViewActions, useMapWrapper, useMaxMinScale, useMetersToPixels, useMetersToPixelsCb, useMount, useNode, useProperty, useScale, useSvgSymbol, useSymbol, useToggle, useTooltip, useTooltipContext, useUpdate, useUpdateMapView };
|
|
7078
7149
|
//# sourceMappingURL=react.esm.js.map
|