@evergis/react 2.0.194 → 2.0.195
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/ClusterSymbolPreview.d.ts +1 -0
- package/dist/components/Legend/components/LegendSymbolRenderer.d.ts +1 -0
- package/dist/components/Legend/components/index.d.ts +3 -1
- package/dist/components/Legend/hooks/useSvgSymbol.d.ts +4 -3
- package/dist/components/Legend/types.d.ts +1 -0
- package/dist/react.cjs.development.js +236 -202
- 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 +235 -203
- package/dist/react.esm.js.map +1 -1
- package/dist/utils/svg.d.ts +7 -1
- package/package.json +2 -2
package/dist/react.esm.js
CHANGED
|
@@ -3234,9 +3234,16 @@ const createSvgGradient = (svg, values) => svg.gradient('linear', add => {
|
|
|
3234
3234
|
});
|
|
3235
3235
|
}).from(0, 0).to(1, 1); // eslint-disable-next-line max-lines-per-function
|
|
3236
3236
|
|
|
3237
|
-
const manipulateSvgSymbol =
|
|
3237
|
+
const manipulateSvgSymbol = _ref2 => {
|
|
3238
3238
|
var _$exec2;
|
|
3239
3239
|
|
|
3240
|
+
let {
|
|
3241
|
+
SVGContainer,
|
|
3242
|
+
symbol,
|
|
3243
|
+
svg,
|
|
3244
|
+
bg,
|
|
3245
|
+
isClassifiedValue
|
|
3246
|
+
} = _ref2;
|
|
3240
3247
|
if (!symbol) return SVGContainer;
|
|
3241
3248
|
const symbolData = getParameterValue(svg || symbol.data);
|
|
3242
3249
|
if (!symbolData) return SVGContainer;
|
|
@@ -3283,18 +3290,24 @@ const manipulateSvgSymbol = (SVGContainer, symbol, svg, bg) => {
|
|
|
3283
3290
|
SVGContainer.svg(currentBg === SvgSymbolBg.Circle ? "<circle\n id=\"symbol-bg\"\n cx=\"" + DEFAULT_SYMBOL_WITH_BG_SIZE / 2 + "\"\n cy=\"" + DEFAULT_SYMBOL_WITH_BG_SIZE / 2 + "\"\n r=\"" + DEFAULT_SYMBOL_WITH_BG_SIZE / 2 + "\"\n fill=\"" + (fillColor || DEFAULT_SYMBOL_FILL_COLOR) + "\"\n stroke=\"" + (strokeColor || DEFAULT_SYMBOL_STROKE_COLOR) + "\"\n stroke-width=\"" + strokeWidth + "\"\n />" : "<rect\n id=\"symbol-bg\"\n width=\"" + DEFAULT_SYMBOL_WITH_BG_SIZE + "\"\n height=\"" + DEFAULT_SYMBOL_WITH_BG_SIZE + "\"\n rx=\"4\"\n fill=\"" + (fillColor || DEFAULT_SYMBOL_FILL_COLOR) + "\"\n stroke=\"" + (strokeColor || DEFAULT_SYMBOL_STROKE_COLOR) + "\"\n stroke-width=\"" + strokeWidth + "\"\n />");
|
|
3284
3291
|
SVGContainer.svg(innerSvg);
|
|
3285
3292
|
SVGContainer.find('#symbol-bg:not(:first-child)').each(item => item.remove());
|
|
3286
|
-
SVGContainer.find(':not(#symbol-bg)').each(item => item.center(DEFAULT_SYMBOL_WITH_BG_SIZE / 2, DEFAULT_SYMBOL_WITH_BG_SIZE / 2).fill('white'));
|
|
3293
|
+
SVGContainer.find(':not(#symbol-bg)').each(item => item.center(DEFAULT_SYMBOL_WITH_BG_SIZE / 2, DEFAULT_SYMBOL_WITH_BG_SIZE / 2).fill('white'));
|
|
3294
|
+
const symbolBg = SVGContainer.find('#symbol-bg')[0];
|
|
3295
|
+
|
|
3296
|
+
if (isClassifiedValue) {
|
|
3297
|
+
symbolBg == null ? void 0 : symbolBg.stroke({
|
|
3298
|
+
opacity: 0.28
|
|
3299
|
+
});
|
|
3300
|
+
} // eslint-disable-next-line max-depth
|
|
3301
|
+
|
|
3287
3302
|
|
|
3288
3303
|
if (isParameterByAttribute(background == null ? void 0 : background.fillColor)) {
|
|
3289
|
-
var _background$fillColor
|
|
3304
|
+
var _background$fillColor;
|
|
3290
3305
|
|
|
3291
3306
|
const gradient = createSvgGradient(SVGContainer, background == null ? void 0 : (_background$fillColor = background.fillColor) == null ? void 0 : _background$fillColor.values);
|
|
3292
|
-
|
|
3307
|
+
symbolBg == null ? void 0 : symbolBg.fill(gradient);
|
|
3293
3308
|
|
|
3294
3309
|
if (isParameterByAttribute(background == null ? void 0 : background.strokeColor)) {
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
(_SVGContainer$find$2 = SVGContainer.find('#symbol-bg')[0]) == null ? void 0 : _SVGContainer$find$2.stroke({
|
|
3310
|
+
symbolBg == null ? void 0 : symbolBg.stroke({
|
|
3298
3311
|
color: gradient,
|
|
3299
3312
|
opacity: 0.28
|
|
3300
3313
|
});
|
|
@@ -6005,89 +6018,7 @@ const MapLegendValuesOther = /*#__PURE__*/styled(MapLegendOther)(_templateObject
|
|
|
6005
6018
|
const MapLegendExpandButton = /*#__PURE__*/styled.div(_templateObject36 || (_templateObject36 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: pointer;\n margin-top: 0.1rem;\n font-size: 0.625rem;\n color: #1fb3aa;\n"])));
|
|
6006
6019
|
const ClusterLegendContainer = /*#__PURE__*/styled.div(_templateObject37 || (_templateObject37 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: -0.9rem;\n transform: scale(0.5);\n"])));
|
|
6007
6020
|
|
|
6008
|
-
const
|
|
6009
|
-
if (title.includes(" - ")) {
|
|
6010
|
-
const result = title == null ? void 0 : title.split(" - ");
|
|
6011
|
-
return minOrMax === "min" ? result == null ? void 0 : result[0] : result == null ? void 0 : result[1];
|
|
6012
|
-
}
|
|
6013
|
-
|
|
6014
|
-
if (title.includes(",")) {
|
|
6015
|
-
const result = title == null ? void 0 : title.split(",");
|
|
6016
|
-
return result.join(", ");
|
|
6017
|
-
}
|
|
6018
|
-
|
|
6019
|
-
return title.split(" ").find(isNumeric) || title || "";
|
|
6020
|
-
};
|
|
6021
|
-
|
|
6022
|
-
const MinimizedLegend = _ref => {
|
|
6023
|
-
var _currentValues$, _currentValues, _currentValues$2, _currentValues2;
|
|
6024
|
-
|
|
6025
|
-
let {
|
|
6026
|
-
innerRef,
|
|
6027
|
-
isShown,
|
|
6028
|
-
values,
|
|
6029
|
-
title,
|
|
6030
|
-
parameter,
|
|
6031
|
-
hiddenLegends
|
|
6032
|
-
} = _ref;
|
|
6033
|
-
const currentValues = [...values];
|
|
6034
|
-
const other = currentValues.pop();
|
|
6035
|
-
const isSize = isParameterType("size", parameter);
|
|
6036
|
-
const isStrokeWidth = isParameterType(["strokeWidth", "stroke.width"], parameter);
|
|
6037
|
-
const titleMax = getValueFromLegendTitle((_currentValues$ = currentValues[0]) == null ? void 0 : _currentValues$.title, "max");
|
|
6038
|
-
const titleMin = getValueFromLegendTitle((_currentValues = currentValues[currentValues.length - 1]) == null ? void 0 : _currentValues.title, "min");
|
|
6039
|
-
const checkIsHidden = useCallback(hiddenCondition => hiddenCondition ? hiddenLegends == null ? void 0 : hiddenLegends.some(condition => hiddenCondition.includes(condition)) : false, [hiddenLegends]);
|
|
6040
|
-
return React.createElement(MinimizedLegendContainer, {
|
|
6041
|
-
ref: innerRef,
|
|
6042
|
-
isShown: isShown
|
|
6043
|
-
}, !!title && React.createElement(MapLegendValueDescr, null, title), isSize ? React.createElement(React.Fragment, null, React.createElement(SizeMinimizedLegend, null, React.createElement(SizeMinimizedLegendSymbol, null, React.createElement(MapLegendItems, {
|
|
6044
|
-
parameter: parameter,
|
|
6045
|
-
isSize: true
|
|
6046
|
-
}, currentValues.map((value, index) => React.createElement(MapLegendItem, {
|
|
6047
|
-
key: "" + value.title + index,
|
|
6048
|
-
title: value.title,
|
|
6049
|
-
value: value.parameterValue,
|
|
6050
|
-
parameter: parameter,
|
|
6051
|
-
isHidden: checkIsHidden(value.hiddenCondition)
|
|
6052
|
-
})))), 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, {
|
|
6053
|
-
parameter: parameter,
|
|
6054
|
-
isSize: true
|
|
6055
|
-
}, React.createElement(MapLegendOther, {
|
|
6056
|
-
title: "\u0414\u0440\u0443\u0433\u043E\u0435",
|
|
6057
|
-
value: other == null ? void 0 : other.parameterValue,
|
|
6058
|
-
parameter: parameter,
|
|
6059
|
-
isHidden: checkIsHidden(other == null ? void 0 : other.hiddenCondition)
|
|
6060
|
-
}))), React.createElement(SizeMinimizedLegendLabel, null, React.createElement(SizeMinimizedLegendUp, null, "\u0414\u0440\u0443\u0433\u043E\u0435")))) : isStrokeWidth ? React.createElement(MapLegendItems, {
|
|
6061
|
-
parameter: parameter,
|
|
6062
|
-
isStrokeWidth: true
|
|
6063
|
-
}, currentValues.map((value, index) => React.createElement(MapLegendItem, {
|
|
6064
|
-
key: "" + value.title + index,
|
|
6065
|
-
title: value.title,
|
|
6066
|
-
value: value.parameterValue,
|
|
6067
|
-
parameter: parameter,
|
|
6068
|
-
isHidden: checkIsHidden(value.hiddenCondition)
|
|
6069
|
-
}, (!index || index === currentValues.length - 1) && value.title)), React.createElement(MapLegendOther, {
|
|
6070
|
-
title: "\u0414\u0440\u0443\u0433\u043E\u0435",
|
|
6071
|
-
value: other == null ? void 0 : other.parameterValue,
|
|
6072
|
-
parameter: parameter,
|
|
6073
|
-
isHidden: checkIsHidden(other == null ? void 0 : other.hiddenCondition)
|
|
6074
|
-
}, "\u0414\u0440\u0443\u0433\u043E\u0435")) : React.createElement(MapLegendItems, {
|
|
6075
|
-
parameter: parameter
|
|
6076
|
-
}, React.createElement(MapLegendItemsContainer, null, currentValues.map((value, index) => React.createElement(MapLegendItem, {
|
|
6077
|
-
key: "" + value.title + index,
|
|
6078
|
-
title: value.title,
|
|
6079
|
-
value: value.parameterValue,
|
|
6080
|
-
parameter: parameter,
|
|
6081
|
-
isHidden: checkIsHidden(value.hiddenCondition)
|
|
6082
|
-
}))), React.createElement(MapLegendOther, {
|
|
6083
|
-
title: "\u0414\u0440\u0443\u0433\u043E\u0435",
|
|
6084
|
-
value: other == null ? void 0 : other.parameterValue,
|
|
6085
|
-
parameter: parameter,
|
|
6086
|
-
isHidden: checkIsHidden(other == null ? void 0 : other.hiddenCondition)
|
|
6087
|
-
})), 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, "-")));
|
|
6088
|
-
};
|
|
6089
|
-
|
|
6090
|
-
const useSvgSymbol = (symbol, skipOffset) => {
|
|
6021
|
+
const useSvgSymbol = (symbol, skipOffset, isClassifiedValue) => {
|
|
6091
6022
|
const SVGWrapperRefElement = useRef(null);
|
|
6092
6023
|
const SVGContainer = useMemo(() => SVG(), []);
|
|
6093
6024
|
const initSvg = useCallback(() => {
|
|
@@ -6098,9 +6029,16 @@ const useSvgSymbol = (symbol, skipOffset) => {
|
|
|
6098
6029
|
let {
|
|
6099
6030
|
svg,
|
|
6100
6031
|
bg,
|
|
6101
|
-
newSymbol
|
|
6032
|
+
newSymbol,
|
|
6033
|
+
isClassifiedValue
|
|
6102
6034
|
} = _ref;
|
|
6103
|
-
manipulateSvgSymbol(
|
|
6035
|
+
manipulateSvgSymbol({
|
|
6036
|
+
SVGContainer,
|
|
6037
|
+
symbol: newSymbol || symbol,
|
|
6038
|
+
svg,
|
|
6039
|
+
bg,
|
|
6040
|
+
isClassifiedValue
|
|
6041
|
+
});
|
|
6104
6042
|
}, [SVGContainer, symbol]);
|
|
6105
6043
|
const getUpdatedSvgSymbol = useCallback((field, value) => {
|
|
6106
6044
|
var _newSymbol$background;
|
|
@@ -6139,7 +6077,8 @@ const useSvgSymbol = (symbol, skipOffset) => {
|
|
|
6139
6077
|
manipulateSvg({
|
|
6140
6078
|
svg: getParameterValue(data),
|
|
6141
6079
|
newSymbol,
|
|
6142
|
-
bg: (_newSymbol$background = newSymbol.background) == null ? void 0 : _newSymbol$background.type
|
|
6080
|
+
bg: (_newSymbol$background = newSymbol.background) == null ? void 0 : _newSymbol$background.type,
|
|
6081
|
+
isClassifiedValue
|
|
6143
6082
|
});
|
|
6144
6083
|
return _extends({}, newSymbol, {
|
|
6145
6084
|
data: SVGContainer.svg()
|
|
@@ -6193,9 +6132,10 @@ const SvgSymbol = /*#__PURE__*/memo(_ref7 => {
|
|
|
6193
6132
|
bg,
|
|
6194
6133
|
symbol,
|
|
6195
6134
|
title,
|
|
6196
|
-
skipOffset,
|
|
6197
6135
|
text,
|
|
6198
6136
|
fontSettings,
|
|
6137
|
+
skipOffset,
|
|
6138
|
+
isClassifiedValue,
|
|
6199
6139
|
onClick
|
|
6200
6140
|
} = _ref7;
|
|
6201
6141
|
const {
|
|
@@ -6203,7 +6143,7 @@ const SvgSymbol = /*#__PURE__*/memo(_ref7 => {
|
|
|
6203
6143
|
initSvg,
|
|
6204
6144
|
getSvgData,
|
|
6205
6145
|
manipulateSvg
|
|
6206
|
-
} = useSvgSymbol(symbol, skipOffset);
|
|
6146
|
+
} = useSvgSymbol(symbol, skipOffset, isClassifiedValue);
|
|
6207
6147
|
const onSelectSymbol = useCallback(() => {
|
|
6208
6148
|
onClick == null ? void 0 : onClick(getSvgData(), _extends({}, symbol, bg ? {
|
|
6209
6149
|
background: _extends({}, symbol.background, {
|
|
@@ -6223,9 +6163,10 @@ const SvgSymbol = /*#__PURE__*/memo(_ref7 => {
|
|
|
6223
6163
|
manipulateSvg({
|
|
6224
6164
|
svg,
|
|
6225
6165
|
bg,
|
|
6226
|
-
newSymbol: symbol
|
|
6166
|
+
newSymbol: symbol,
|
|
6167
|
+
isClassifiedValue
|
|
6227
6168
|
});
|
|
6228
|
-
}, [svg, symbol, bg, manipulateSvg]);
|
|
6169
|
+
}, [svg, symbol, bg, manipulateSvg, isClassifiedValue]);
|
|
6229
6170
|
return text ? React.createElement(SvgSymbolContainer, null, renderSymbol, React.createElement(SvgSymbolLabel, {
|
|
6230
6171
|
fontSettings: fontSettings
|
|
6231
6172
|
}, text), !!(fontSettings != null && fontSettings.haloColor) && !!(fontSettings != null && fontSettings.haloWidth) && React.createElement(SvgSymbolLabel, {
|
|
@@ -6236,41 +6177,19 @@ const SvgSymbol = /*#__PURE__*/memo(_ref7 => {
|
|
|
6236
6177
|
}, text)) : renderSymbol;
|
|
6237
6178
|
});
|
|
6238
6179
|
|
|
6239
|
-
const SymbolByType = _ref => {
|
|
6240
|
-
let {
|
|
6241
|
-
type,
|
|
6242
|
-
symbol,
|
|
6243
|
-
size,
|
|
6244
|
-
svg,
|
|
6245
|
-
skipOffset
|
|
6246
|
-
} = _ref;
|
|
6247
|
-
const defaultSymbol = useMemo(() => React.createElement(Symbol, {
|
|
6248
|
-
symbol: symbol,
|
|
6249
|
-
size: size
|
|
6250
|
-
}), [symbol, size]);
|
|
6251
|
-
|
|
6252
|
-
switch (type) {
|
|
6253
|
-
case "svgPointSymbol":
|
|
6254
|
-
return svg ? React.createElement(SvgSymbol, {
|
|
6255
|
-
svg: svg,
|
|
6256
|
-
size: size,
|
|
6257
|
-
skipOffset: skipOffset,
|
|
6258
|
-
symbol: serializeSvgPointSymbol(symbol)
|
|
6259
|
-
}) : defaultSymbol;
|
|
6260
|
-
|
|
6261
|
-
default:
|
|
6262
|
-
return defaultSymbol;
|
|
6263
|
-
}
|
|
6264
|
-
};
|
|
6265
|
-
|
|
6266
6180
|
const ClusterSymbolPreview = _ref => {
|
|
6267
|
-
var _symbol$labelSymbol;
|
|
6181
|
+
var _symbol$fillColor$val, _symbol$labelSymbol;
|
|
6268
6182
|
|
|
6269
6183
|
let {
|
|
6270
6184
|
symbol,
|
|
6185
|
+
index,
|
|
6271
6186
|
size = 56,
|
|
6272
6187
|
fontSize = '1.25rem'
|
|
6273
6188
|
} = _ref;
|
|
6189
|
+
const isClassified = isParameterByAttribute(symbol.fillColor);
|
|
6190
|
+
const isClassifiedValue = isClassified && index !== undefined;
|
|
6191
|
+
const fillColor = isClassifiedValue ? ((_symbol$fillColor$val = symbol.fillColor.values[index]) == null ? void 0 : _symbol$fillColor$val.value) || symbol.fillColor.defaultValue : symbol.fillColor;
|
|
6192
|
+
const strokeColor = isClassified ? fillColor : symbol.strokeColor;
|
|
6274
6193
|
const svgSymbol = {
|
|
6275
6194
|
type: 'svgPointSymbol',
|
|
6276
6195
|
size,
|
|
@@ -6278,8 +6197,8 @@ const ClusterSymbolPreview = _ref => {
|
|
|
6278
6197
|
angle: 0,
|
|
6279
6198
|
background: {
|
|
6280
6199
|
id: 'symbol-bg',
|
|
6281
|
-
fillColor
|
|
6282
|
-
strokeColor
|
|
6200
|
+
fillColor,
|
|
6201
|
+
strokeColor,
|
|
6283
6202
|
strokeWidth: 6,
|
|
6284
6203
|
type: 'circle'
|
|
6285
6204
|
}
|
|
@@ -6287,6 +6206,7 @@ const ClusterSymbolPreview = _ref => {
|
|
|
6287
6206
|
return React.createElement(SvgSymbol, {
|
|
6288
6207
|
svg: DEFAULT_CLUSTER_SVG,
|
|
6289
6208
|
symbol: svgSymbol,
|
|
6209
|
+
isClassifiedValue: isClassifiedValue,
|
|
6290
6210
|
text: '99',
|
|
6291
6211
|
fontSettings: _extends({}, symbol.labelSymbol, {
|
|
6292
6212
|
fontSize: fontSize || ((_symbol$labelSymbol = symbol.labelSymbol) == null ? void 0 : _symbol$labelSymbol.fontSize)
|
|
@@ -6294,14 +6214,43 @@ const ClusterSymbolPreview = _ref => {
|
|
|
6294
6214
|
});
|
|
6295
6215
|
};
|
|
6296
6216
|
|
|
6217
|
+
const SymbolByType = _ref => {
|
|
6218
|
+
let {
|
|
6219
|
+
type,
|
|
6220
|
+
symbol,
|
|
6221
|
+
size,
|
|
6222
|
+
svg,
|
|
6223
|
+
skipOffset
|
|
6224
|
+
} = _ref;
|
|
6225
|
+
const defaultSymbol = useMemo(() => React.createElement(Symbol, {
|
|
6226
|
+
symbol: symbol,
|
|
6227
|
+
size: size
|
|
6228
|
+
}), [symbol, size]);
|
|
6229
|
+
|
|
6230
|
+
switch (type) {
|
|
6231
|
+
case "svgPointSymbol":
|
|
6232
|
+
return svg ? React.createElement(SvgSymbol, {
|
|
6233
|
+
svg: svg,
|
|
6234
|
+
size: size,
|
|
6235
|
+
skipOffset: skipOffset,
|
|
6236
|
+
symbol: serializeSvgPointSymbol(symbol)
|
|
6237
|
+
}) : defaultSymbol;
|
|
6238
|
+
|
|
6239
|
+
default:
|
|
6240
|
+
return defaultSymbol;
|
|
6241
|
+
}
|
|
6242
|
+
};
|
|
6243
|
+
|
|
6297
6244
|
const LegendSymbolRenderer = /*#__PURE__*/memo(_ref => {
|
|
6298
6245
|
let {
|
|
6299
|
-
symbol
|
|
6246
|
+
symbol,
|
|
6247
|
+
index
|
|
6300
6248
|
} = _ref;
|
|
6301
6249
|
|
|
6302
6250
|
if (isClusterSymbol(symbol)) {
|
|
6303
6251
|
return React.createElement(ClusterLegendContainer, null, React.createElement(ClusterSymbolPreview, {
|
|
6304
|
-
symbol: symbol
|
|
6252
|
+
symbol: symbol,
|
|
6253
|
+
index: index
|
|
6305
6254
|
}));
|
|
6306
6255
|
}
|
|
6307
6256
|
|
|
@@ -6314,6 +6263,31 @@ const LegendSymbolRenderer = /*#__PURE__*/memo(_ref => {
|
|
|
6314
6263
|
});
|
|
6315
6264
|
});
|
|
6316
6265
|
|
|
6266
|
+
const getConditionAttribute = (attributes, condition) => {
|
|
6267
|
+
if (!condition) return null;
|
|
6268
|
+
const attributeName = getAttributeNameFromCondition(condition);
|
|
6269
|
+
let attribute = attributes.find(_ref => {
|
|
6270
|
+
let {
|
|
6271
|
+
name
|
|
6272
|
+
} = _ref;
|
|
6273
|
+
return name === attributeName;
|
|
6274
|
+
});
|
|
6275
|
+
|
|
6276
|
+
if (!attribute) {
|
|
6277
|
+
if (attributeName === 'count') {
|
|
6278
|
+
attribute = {
|
|
6279
|
+
name: 'count',
|
|
6280
|
+
alias: 'Количество',
|
|
6281
|
+
type: AttributeType.Int32
|
|
6282
|
+
};
|
|
6283
|
+
} else {
|
|
6284
|
+
return null;
|
|
6285
|
+
}
|
|
6286
|
+
}
|
|
6287
|
+
|
|
6288
|
+
return attribute;
|
|
6289
|
+
};
|
|
6290
|
+
|
|
6317
6291
|
const isHiddenLegend = (hiddenCondition, hiddenLegends) => !!(hiddenLegends != null && hiddenLegends.includes(hiddenCondition));
|
|
6318
6292
|
|
|
6319
6293
|
const renderColumn = (column, index) => {
|
|
@@ -6354,6 +6328,134 @@ const getLegendText = _ref => {
|
|
|
6354
6328
|
return React.createElement(React.Fragment, null, columns.map(renderColumn));
|
|
6355
6329
|
};
|
|
6356
6330
|
|
|
6331
|
+
const LegendChildren = _ref => {
|
|
6332
|
+
var _layerInfo$style, _layerInfo$style$chil;
|
|
6333
|
+
|
|
6334
|
+
let {
|
|
6335
|
+
layerInfo,
|
|
6336
|
+
hiddenLegends,
|
|
6337
|
+
toggleHiddenLegend,
|
|
6338
|
+
formatValue
|
|
6339
|
+
} = _ref;
|
|
6340
|
+
if (!((_layerInfo$style = layerInfo.style) != null && (_layerInfo$style$chil = _layerInfo$style.children) != null && _layerInfo$style$chil.length)) return null;
|
|
6341
|
+
const attributes = getLayerAttributes(layerInfo.layerDefinition);
|
|
6342
|
+
return React.createElement(MapLegendContainer, null, layerInfo.style.children.map((paramValue, index) => {
|
|
6343
|
+
var _getConditionAttribut;
|
|
6344
|
+
|
|
6345
|
+
const attribute = getConditionAttribute(attributes, paramValue.condition);
|
|
6346
|
+
if (!attribute) return null;
|
|
6347
|
+
const hiddenCondition = createHiddenCondition(attribute.name, attribute.type, getClassificationValue(paramValue.symbol, paramValue.title, new ClassificationCondition(paramValue.condition)));
|
|
6348
|
+
const legendText = getLegendText({
|
|
6349
|
+
title: isRangeCondition(paramValue.condition) ? createValueTitleFromCondition(paramValue, attribute, formatValue, index) : getTitleFromCondition({
|
|
6350
|
+
condition: paramValue.condition,
|
|
6351
|
+
attribute,
|
|
6352
|
+
formatValue
|
|
6353
|
+
}),
|
|
6354
|
+
index,
|
|
6355
|
+
isDate: ((_getConditionAttribut = getConditionAttribute(attributes, paramValue.condition)) == null ? void 0 : _getConditionAttribut.type) === 'DateTime'
|
|
6356
|
+
});
|
|
6357
|
+
return React.createElement(ClassifiedItem, {
|
|
6358
|
+
key: index,
|
|
6359
|
+
isHidden: isHiddenLegend(hiddenCondition, hiddenLegends == null ? void 0 : hiddenLegends[layerInfo.name]),
|
|
6360
|
+
onClick: () => toggleHiddenLegend == null ? void 0 : toggleHiddenLegend(layerInfo.name, hiddenCondition)
|
|
6361
|
+
}, React.createElement(SymbolContainer, null, React.createElement(LegendSymbolRenderer, {
|
|
6362
|
+
symbol: paramValue.symbol
|
|
6363
|
+
})), legendText);
|
|
6364
|
+
}));
|
|
6365
|
+
};
|
|
6366
|
+
|
|
6367
|
+
const LegendParameterDescription = _ref => {
|
|
6368
|
+
let {
|
|
6369
|
+
parameter
|
|
6370
|
+
} = _ref;
|
|
6371
|
+
const isSize = isParameterType("size", parameter);
|
|
6372
|
+
const isStrokeWidth = isParameterType(["strokeWidth", "stroke.width"], parameter);
|
|
6373
|
+
const isStrokeColor = isParameterType(["strokeColor", "stroke.color"], parameter);
|
|
6374
|
+
return React.createElement(MapLegendDescriptionContainer, null, isStrokeWidth || isStrokeColor ? isStrokeWidth ? "Толщина обводки" : "Цвет обводки" : isSize ? "Размер знака" : "Цвет символа");
|
|
6375
|
+
};
|
|
6376
|
+
|
|
6377
|
+
const getValueFromLegendTitle = (title, minOrMax) => {
|
|
6378
|
+
if (title.includes(" - ")) {
|
|
6379
|
+
const result = title == null ? void 0 : title.split(" - ");
|
|
6380
|
+
return minOrMax === "min" ? result == null ? void 0 : result[0] : result == null ? void 0 : result[1];
|
|
6381
|
+
}
|
|
6382
|
+
|
|
6383
|
+
if (title.includes(",")) {
|
|
6384
|
+
const result = title == null ? void 0 : title.split(",");
|
|
6385
|
+
return result.join(", ");
|
|
6386
|
+
}
|
|
6387
|
+
|
|
6388
|
+
return title.split(" ").find(isNumeric) || title || "";
|
|
6389
|
+
};
|
|
6390
|
+
|
|
6391
|
+
const MinimizedLegend = _ref => {
|
|
6392
|
+
var _currentValues$, _currentValues, _currentValues$2, _currentValues2;
|
|
6393
|
+
|
|
6394
|
+
let {
|
|
6395
|
+
innerRef,
|
|
6396
|
+
isShown,
|
|
6397
|
+
values,
|
|
6398
|
+
title,
|
|
6399
|
+
parameter,
|
|
6400
|
+
hiddenLegends
|
|
6401
|
+
} = _ref;
|
|
6402
|
+
const currentValues = [...values];
|
|
6403
|
+
const other = currentValues.pop();
|
|
6404
|
+
const isSize = isParameterType("size", parameter);
|
|
6405
|
+
const isStrokeWidth = isParameterType(["strokeWidth", "stroke.width"], parameter);
|
|
6406
|
+
const titleMax = getValueFromLegendTitle((_currentValues$ = currentValues[0]) == null ? void 0 : _currentValues$.title, "max");
|
|
6407
|
+
const titleMin = getValueFromLegendTitle((_currentValues = currentValues[currentValues.length - 1]) == null ? void 0 : _currentValues.title, "min");
|
|
6408
|
+
const checkIsHidden = useCallback(hiddenCondition => hiddenCondition ? hiddenLegends == null ? void 0 : hiddenLegends.some(condition => hiddenCondition.includes(condition)) : false, [hiddenLegends]);
|
|
6409
|
+
return React.createElement(MinimizedLegendContainer, {
|
|
6410
|
+
ref: innerRef,
|
|
6411
|
+
isShown: isShown
|
|
6412
|
+
}, !!title && React.createElement(MapLegendValueDescr, null, title), isSize ? React.createElement(React.Fragment, null, React.createElement(SizeMinimizedLegend, null, React.createElement(SizeMinimizedLegendSymbol, null, React.createElement(MapLegendItems, {
|
|
6413
|
+
parameter: parameter,
|
|
6414
|
+
isSize: true
|
|
6415
|
+
}, currentValues.map((value, index) => React.createElement(MapLegendItem, {
|
|
6416
|
+
key: "" + value.title + index,
|
|
6417
|
+
title: value.title,
|
|
6418
|
+
value: value.parameterValue,
|
|
6419
|
+
parameter: parameter,
|
|
6420
|
+
isHidden: checkIsHidden(value.hiddenCondition)
|
|
6421
|
+
})))), 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, {
|
|
6422
|
+
parameter: parameter,
|
|
6423
|
+
isSize: true
|
|
6424
|
+
}, React.createElement(MapLegendOther, {
|
|
6425
|
+
title: "\u0414\u0440\u0443\u0433\u043E\u0435",
|
|
6426
|
+
value: other == null ? void 0 : other.parameterValue,
|
|
6427
|
+
parameter: parameter,
|
|
6428
|
+
isHidden: checkIsHidden(other == null ? void 0 : other.hiddenCondition)
|
|
6429
|
+
}))), React.createElement(SizeMinimizedLegendLabel, null, React.createElement(SizeMinimizedLegendUp, null, "\u0414\u0440\u0443\u0433\u043E\u0435")))) : isStrokeWidth ? React.createElement(MapLegendItems, {
|
|
6430
|
+
parameter: parameter,
|
|
6431
|
+
isStrokeWidth: true
|
|
6432
|
+
}, currentValues.map((value, index) => React.createElement(MapLegendItem, {
|
|
6433
|
+
key: "" + value.title + index,
|
|
6434
|
+
title: value.title,
|
|
6435
|
+
value: value.parameterValue,
|
|
6436
|
+
parameter: parameter,
|
|
6437
|
+
isHidden: checkIsHidden(value.hiddenCondition)
|
|
6438
|
+
}, (!index || index === currentValues.length - 1) && value.title)), React.createElement(MapLegendOther, {
|
|
6439
|
+
title: "\u0414\u0440\u0443\u0433\u043E\u0435",
|
|
6440
|
+
value: other == null ? void 0 : other.parameterValue,
|
|
6441
|
+
parameter: parameter,
|
|
6442
|
+
isHidden: checkIsHidden(other == null ? void 0 : other.hiddenCondition)
|
|
6443
|
+
}, "\u0414\u0440\u0443\u0433\u043E\u0435")) : React.createElement(MapLegendItems, {
|
|
6444
|
+
parameter: parameter
|
|
6445
|
+
}, React.createElement(MapLegendItemsContainer, null, currentValues.map((value, index) => React.createElement(MapLegendItem, {
|
|
6446
|
+
key: "" + value.title + index,
|
|
6447
|
+
title: value.title,
|
|
6448
|
+
value: value.parameterValue,
|
|
6449
|
+
parameter: parameter,
|
|
6450
|
+
isHidden: checkIsHidden(value.hiddenCondition)
|
|
6451
|
+
}))), React.createElement(MapLegendOther, {
|
|
6452
|
+
title: "\u0414\u0440\u0443\u0433\u043E\u0435",
|
|
6453
|
+
value: other == null ? void 0 : other.parameterValue,
|
|
6454
|
+
parameter: parameter,
|
|
6455
|
+
isHidden: checkIsHidden(other == null ? void 0 : other.hiddenCondition)
|
|
6456
|
+
})), 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, "-")));
|
|
6457
|
+
};
|
|
6458
|
+
|
|
6357
6459
|
const MaximizedLegend = _ref => {
|
|
6358
6460
|
let {
|
|
6359
6461
|
innerRef,
|
|
@@ -6399,29 +6501,20 @@ const MaximizedLegend = _ref => {
|
|
|
6399
6501
|
value: (parameterValue == null ? void 0 : (_parameterValue$value = parameterValue.values[(parameterValue == null ? void 0 : parameterValue.values.length) - index - 1]) == null ? void 0 : _parameterValue$value.value) || (parameterValue == null ? void 0 : parameterValue.defaultValue),
|
|
6400
6502
|
parameter: parameter
|
|
6401
6503
|
})) : React.createElement(SymbolContainer, null, React.createElement(LegendSymbolRenderer, {
|
|
6402
|
-
|
|
6504
|
+
index: index,
|
|
6505
|
+
symbol: isClusterFillColor$1 ? sectionSymbol : getExtractedSymbol(symbol, true)
|
|
6403
6506
|
})), getLegendText({
|
|
6404
6507
|
title,
|
|
6405
6508
|
index,
|
|
6406
6509
|
isDate
|
|
6407
6510
|
}));
|
|
6408
|
-
}, [parameter, sectionIndex, hiddenLegends, isSize, isStrokeWidth, isStrokeColor, parameterValue, isDate, toggleHiddenLegend, layerName]);
|
|
6511
|
+
}, [parameter, sectionIndex, hiddenLegends, isSize, isStrokeWidth, isStrokeColor, parameterValue, sectionSymbol, isDate, toggleHiddenLegend, layerName]);
|
|
6409
6512
|
return React.createElement(MaximizedLegendContainer, {
|
|
6410
6513
|
ref: innerRef,
|
|
6411
6514
|
isShown: isShown
|
|
6412
6515
|
}, values.map(renderLegend));
|
|
6413
6516
|
};
|
|
6414
6517
|
|
|
6415
|
-
const LegendParameterDescription = _ref => {
|
|
6416
|
-
let {
|
|
6417
|
-
parameter
|
|
6418
|
-
} = _ref;
|
|
6419
|
-
const isSize = isParameterType("size", parameter);
|
|
6420
|
-
const isStrokeWidth = isParameterType(["strokeWidth", "stroke.width"], parameter);
|
|
6421
|
-
const isStrokeColor = isParameterType(["strokeColor", "stroke.color"], parameter);
|
|
6422
|
-
return React.createElement(MapLegendDescriptionContainer, null, isStrokeWidth || isStrokeColor ? isStrokeWidth ? "Толщина обводки" : "Цвет обводки" : isSize ? "Размер знака" : "Цвет символа");
|
|
6423
|
-
};
|
|
6424
|
-
|
|
6425
6518
|
const LegendSection = _ref => {
|
|
6426
6519
|
let {
|
|
6427
6520
|
layerName,
|
|
@@ -6467,67 +6560,6 @@ const LegendSection = _ref => {
|
|
|
6467
6560
|
}, isExpanded ? 'Свернуть' : 'Развернуть'));
|
|
6468
6561
|
};
|
|
6469
6562
|
|
|
6470
|
-
const getConditionAttribute = (attributes, condition) => {
|
|
6471
|
-
if (!condition) return null;
|
|
6472
|
-
const attributeName = getAttributeNameFromCondition(condition);
|
|
6473
|
-
let attribute = attributes.find(_ref => {
|
|
6474
|
-
let {
|
|
6475
|
-
name
|
|
6476
|
-
} = _ref;
|
|
6477
|
-
return name === attributeName;
|
|
6478
|
-
});
|
|
6479
|
-
|
|
6480
|
-
if (!attribute) {
|
|
6481
|
-
if (attributeName === 'count') {
|
|
6482
|
-
attribute = {
|
|
6483
|
-
name: 'count',
|
|
6484
|
-
alias: 'Количество',
|
|
6485
|
-
type: AttributeType.Int32
|
|
6486
|
-
};
|
|
6487
|
-
} else {
|
|
6488
|
-
return null;
|
|
6489
|
-
}
|
|
6490
|
-
}
|
|
6491
|
-
|
|
6492
|
-
return attribute;
|
|
6493
|
-
};
|
|
6494
|
-
|
|
6495
|
-
const LegendChildren = _ref => {
|
|
6496
|
-
var _layerInfo$style, _layerInfo$style$chil;
|
|
6497
|
-
|
|
6498
|
-
let {
|
|
6499
|
-
layerInfo,
|
|
6500
|
-
hiddenLegends,
|
|
6501
|
-
toggleHiddenLegend,
|
|
6502
|
-
formatValue
|
|
6503
|
-
} = _ref;
|
|
6504
|
-
if (!((_layerInfo$style = layerInfo.style) != null && (_layerInfo$style$chil = _layerInfo$style.children) != null && _layerInfo$style$chil.length)) return null;
|
|
6505
|
-
const attributes = getLayerAttributes(layerInfo.layerDefinition);
|
|
6506
|
-
return React.createElement(MapLegendContainer, null, layerInfo.style.children.map((paramValue, index) => {
|
|
6507
|
-
var _getConditionAttribut;
|
|
6508
|
-
|
|
6509
|
-
const attribute = getConditionAttribute(attributes, paramValue.condition);
|
|
6510
|
-
if (!attribute) return null;
|
|
6511
|
-
const hiddenCondition = createHiddenCondition(attribute.name, attribute.type, getClassificationValue(paramValue.symbol, paramValue.title, new ClassificationCondition(paramValue.condition)));
|
|
6512
|
-
const legendText = getLegendText({
|
|
6513
|
-
title: isRangeCondition(paramValue.condition) ? createValueTitleFromCondition(paramValue, attribute, formatValue, index) : getTitleFromCondition({
|
|
6514
|
-
condition: paramValue.condition,
|
|
6515
|
-
attribute,
|
|
6516
|
-
formatValue
|
|
6517
|
-
}),
|
|
6518
|
-
index,
|
|
6519
|
-
isDate: ((_getConditionAttribut = getConditionAttribute(attributes, paramValue.condition)) == null ? void 0 : _getConditionAttribut.type) === 'DateTime'
|
|
6520
|
-
});
|
|
6521
|
-
return React.createElement(ClassifiedItem, {
|
|
6522
|
-
key: index,
|
|
6523
|
-
isHidden: isHiddenLegend(hiddenCondition, hiddenLegends == null ? void 0 : hiddenLegends[layerInfo.name]),
|
|
6524
|
-
onClick: () => toggleHiddenLegend == null ? void 0 : toggleHiddenLegend(layerInfo.name, hiddenCondition)
|
|
6525
|
-
}, React.createElement(SymbolContainer, null, React.createElement(LegendSymbolRenderer, {
|
|
6526
|
-
symbol: paramValue.symbol
|
|
6527
|
-
})), legendText);
|
|
6528
|
-
}));
|
|
6529
|
-
};
|
|
6530
|
-
|
|
6531
6563
|
const _excluded$3 = ["layerInfo", "formatValue", "hiddenLegends", "toggleHiddenLegend"];
|
|
6532
6564
|
const Legend = /*#__PURE__*/memo(_ref => {
|
|
6533
6565
|
var _layerInfo$style, _layerInfo$style$chil;
|
|
@@ -6974,5 +7006,5 @@ const DraggableMarker = _ref => {
|
|
|
6974
7006
|
return React.createElement(Fragment, null);
|
|
6975
7007
|
};
|
|
6976
7008
|
|
|
6977
|
-
export { ArrowLineMiterRender, BASE_OPERATORS, BETWEEN_OPERATORS, BaseMeasureToolCreator, BaseMeasureToolEditor, CONTAINS_OPERATORS, CRS_MAP, CardAttributes, CardHeader, CircleLineMiterRender, ClassificationCondition, ClassificationManager, ClassifiedItem, ClusterLayer, ClusterLegendContainer, ClusterSymbol, 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, 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 };
|
|
7009
|
+
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, 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 };
|
|
6978
7010
|
//# sourceMappingURL=react.esm.js.map
|