@evergis/react 2.0.143 → 2.0.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/EvergisCard/index.d.ts +1 -1
- package/dist/components/EvergisCard/styled.d.ts +0 -11
- package/dist/components/Symbol/styled.d.ts +3 -0
- package/dist/contexts/LegendContext.d.ts +1 -1
- package/dist/core/feature/getFeatureSymbol.d.ts +1 -1
- package/dist/core/style/EvergisStyle.d.ts +1 -1
- package/dist/core/style/types/symbol.d.ts +3 -3
- package/dist/hooks/useLegend/useLegendValueSymbol.d.ts +1 -1
- package/dist/hooks/useLegend/useMapLegend.d.ts +1 -1
- package/dist/react.cjs.development.js +61 -35
- 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 +61 -33
- package/dist/react.esm.js.map +1 -1
- package/dist/symbols/guards.d.ts +2 -0
- package/dist/symbols/types.d.ts +2 -1
- package/package.json +3 -3
package/dist/react.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Api, AttributeType, unique, GeometryType, EvergisDynamicLayer as Evergi
|
|
|
5
5
|
import { Map as Map$1, BboxChangeEvent, BboxChangeEndEvent } from '@evergis/sgis/es/Map';
|
|
6
6
|
import { DomPainter, MapResize } from '@evergis/sgis/es/painters/DomPainter/DomPainter';
|
|
7
7
|
import { FeatureLayer as FeatureLayer$1 } from '@evergis/sgis/es/layers/FeatureLayer';
|
|
8
|
-
import { Icon, IconButton, EverCloudStatisticsIcon, EverCloudZoomtoIcon, EverCloudCloseIcon, EverCloudSearchIcon } from '@evergis/icons';
|
|
8
|
+
import { Icon, IconButton, EverCloudStatisticsIcon, EverCloudZoomtoIcon, EverCloudCloseIcon, EverCloudPlayPrevIcon, EverCloudPlayNextIcon, EverCloudSearchIcon } from '@evergis/icons';
|
|
9
9
|
import { ConditionInterpreter, TokenType, ConditionEvaluator } from '@evergis/condition';
|
|
10
10
|
import { MultiPoint } from '@evergis/sgis/es/features/MultiPoint';
|
|
11
11
|
import { Polyline } from '@evergis/sgis/es/features/Polyline';
|
|
@@ -2780,6 +2780,9 @@ function isSGisPolylineSymbol(symbol) {
|
|
|
2780
2780
|
function isSGisH3Symbol(symbol) {
|
|
2781
2781
|
return symbol instanceof H3Symbol;
|
|
2782
2782
|
}
|
|
2783
|
+
function isSGisClusterSymbol(symbol) {
|
|
2784
|
+
return !!symbol.singleObjectSymbol;
|
|
2785
|
+
}
|
|
2783
2786
|
|
|
2784
2787
|
/**
|
|
2785
2788
|
* Моки фич для отображения превью символа
|
|
@@ -2899,6 +2902,9 @@ function deserializeSymbol(symbol) {
|
|
|
2899
2902
|
case 'polylineSymbol':
|
|
2900
2903
|
return deserializePolylineSymbol(symbol);
|
|
2901
2904
|
|
|
2905
|
+
case "clusterSymbol":
|
|
2906
|
+
return deserializeSymbol(symbol.singleObjectSymbol);
|
|
2907
|
+
|
|
2902
2908
|
default:
|
|
2903
2909
|
return null;
|
|
2904
2910
|
}
|
|
@@ -4404,7 +4410,7 @@ const Symbol = _ref => {
|
|
|
4404
4410
|
});
|
|
4405
4411
|
};
|
|
4406
4412
|
|
|
4407
|
-
var _templateObject;
|
|
4413
|
+
var _templateObject, _templateObject2;
|
|
4408
4414
|
const CompoundIcon = /*#__PURE__*/styled.div(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background: ", ";\n height: 32px;\n width: 32px;\n"])), _ref => {
|
|
4409
4415
|
let {
|
|
4410
4416
|
geometryType,
|
|
@@ -4412,6 +4418,17 @@ const CompoundIcon = /*#__PURE__*/styled.div(_templateObject || (_templateObject
|
|
|
4412
4418
|
} = _ref;
|
|
4413
4419
|
return "url(" + icons[geometryType] + ") center center / " + (geometryType === GeometryType.Polyline ? '2rem 1.3rem' : 'auto 1rem') + " no-repeat";
|
|
4414
4420
|
});
|
|
4421
|
+
const ClusterSymbol = /*#__PURE__*/styled.div(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n width: 32px;\n height: 32px;\n\n :before {\n content: \"\";\n position: absolute;\n top: 0;\n left: 0;\n width: inherit;\n height: inherit;\n background-color: ", ";\n border-radius: 50%;\n opacity: 0.28;\n }\n \n :after {\n content: \"99\";\n position: absolute;\n top: 4px;\n left: 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 24px;\n height: 24px;\n background-color: ", ";\n border-radius: 50%;\n color: white;\n font-size: 0.75rem;\n line-height: 1;\n }\n"])), _ref2 => {
|
|
4422
|
+
let {
|
|
4423
|
+
color
|
|
4424
|
+
} = _ref2;
|
|
4425
|
+
return color;
|
|
4426
|
+
}, _ref3 => {
|
|
4427
|
+
let {
|
|
4428
|
+
color
|
|
4429
|
+
} = _ref3;
|
|
4430
|
+
return color;
|
|
4431
|
+
});
|
|
4415
4432
|
|
|
4416
4433
|
const MAX_SIZE = 32;
|
|
4417
4434
|
const StyleSymbol = _ref => {
|
|
@@ -4420,6 +4437,11 @@ const StyleSymbol = _ref => {
|
|
|
4420
4437
|
size = MAX_SIZE,
|
|
4421
4438
|
children
|
|
4422
4439
|
} = _ref;
|
|
4440
|
+
|
|
4441
|
+
if (children) {
|
|
4442
|
+
return React.createElement(React.Fragment, null, children);
|
|
4443
|
+
}
|
|
4444
|
+
|
|
4423
4445
|
let sGisSymbol = null;
|
|
4424
4446
|
|
|
4425
4447
|
try {
|
|
@@ -4427,19 +4449,32 @@ const StyleSymbol = _ref => {
|
|
|
4427
4449
|
} catch (e) {// TODO generate Error symbol
|
|
4428
4450
|
}
|
|
4429
4451
|
|
|
4430
|
-
|
|
4452
|
+
if (!sGisSymbol) {
|
|
4453
|
+
return null;
|
|
4454
|
+
}
|
|
4455
|
+
|
|
4456
|
+
if (isSGisClusterSymbol(symbol)) {
|
|
4457
|
+
var _sGisSymbol$backgroun, _sGisSymbol$figure;
|
|
4458
|
+
|
|
4459
|
+
const color = getParameterValue((_sGisSymbol$backgroun = sGisSymbol.background) == null ? void 0 : _sGisSymbol$backgroun.fillColor) || getParameterValue((_sGisSymbol$figure = sGisSymbol.figure) == null ? void 0 : _sGisSymbol$figure.fillColor) || "rgb(0, 170, 255)";
|
|
4460
|
+
return React.createElement(ClusterSymbol, {
|
|
4461
|
+
color: color
|
|
4462
|
+
});
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4465
|
+
return React.createElement(Symbol, {
|
|
4431
4466
|
symbol: adjustSymbol(sGisSymbol, {
|
|
4432
4467
|
size: size - 1
|
|
4433
4468
|
}),
|
|
4434
4469
|
size: size
|
|
4435
|
-
})
|
|
4470
|
+
});
|
|
4436
4471
|
};
|
|
4437
4472
|
|
|
4438
|
-
var _templateObject$1, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16
|
|
4473
|
+
var _templateObject$1, _templateObject2$1, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16;
|
|
4439
4474
|
const EvergisCardContainer = /*#__PURE__*/styled.div(_templateObject$1 || (_templateObject$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 2.25rem;\n right: 0.5rem;\n width: 22.5rem;\n margin-bottom: 1rem;\n max-height: 90%;\n min-height: 1rem;\n background: #fff;\n border-radius: 4px;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n overflow: initial;\n box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.15);\n\n ", " {\n color: rgba(0, 0, 0, 0.65);\n cursor: pointer;\n user-select: none;\n\n &:hover {\n color: #1fb3aa;\n }\n }\n"])), Icon);
|
|
4440
|
-
const StickyHeader = /*#__PURE__*/styled.div(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"])));
|
|
4475
|
+
const StickyHeader = /*#__PURE__*/styled.div(_templateObject2$1 || (_templateObject2$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n position: sticky;\n top: 0;\n flex-direction: column;\n background: #fff;\n"])));
|
|
4441
4476
|
const CardHeader = /*#__PURE__*/styled.div(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n padding: 1.5rem 1.5rem 1rem;\n align-items: center;\n"])));
|
|
4442
|
-
const CardTitle = /*#__PURE__*/styled.div(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0 0.5rem;\n
|
|
4477
|
+
const CardTitle = /*#__PURE__*/styled.div(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin: 0 0.5rem;\n flex-grow: 1;\n"])));
|
|
4443
4478
|
const CardControls = /*#__PURE__*/styled.div(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n\n ", " {\n margin: 0 0.5rem;\n }\n"])), Icon);
|
|
4444
4479
|
const FeatureName = /*#__PURE__*/styled.div(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
|
|
4445
4480
|
const LayerName = /*#__PURE__*/styled.div(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n font-size: 0.75rem;\n"])));
|
|
@@ -4452,11 +4487,6 @@ const AttributeTitle = /*#__PURE__*/styled.div(_templateObject13 || (_templateOb
|
|
|
4452
4487
|
const AttributeValueContainer = /*#__PURE__*/styled.div(_templateObject14 || (_templateObject14 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex-wrap: wrap;\n display: flex;\n"])));
|
|
4453
4488
|
const SimpleAttribute = /*#__PURE__*/styled.div(_templateObject15 || (_templateObject15 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
4454
4489
|
const ValueLink = /*#__PURE__*/styled.a(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0 0.25rem;\n color: #1fb3aa;\n text-decoration: none;\n"])));
|
|
4455
|
-
const featureCardIconMixin = /*#__PURE__*/css(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: #30454f;\n"])));
|
|
4456
|
-
const ZoomIcon = /*#__PURE__*/styled(Icon)(_templateObject19 || (_templateObject19 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4457
|
-
const CloseIcon = /*#__PURE__*/styled(Icon)(_templateObject20 || (_templateObject20 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4458
|
-
const PrevIcon = /*#__PURE__*/styled(Icon)(_templateObject21 || (_templateObject21 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4459
|
-
const NextIcon = /*#__PURE__*/styled(Icon)(_templateObject22 || (_templateObject22 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), featureCardIconMixin);
|
|
4460
4490
|
|
|
4461
4491
|
const MailValue = _ref => {
|
|
4462
4492
|
let {
|
|
@@ -4586,15 +4616,13 @@ const StyledCard = _ref => {
|
|
|
4586
4616
|
onClick: zoom
|
|
4587
4617
|
}, React.createElement(EverCloudZoomtoIcon, null)), React.createElement(IconButton, {
|
|
4588
4618
|
onClick: reset
|
|
4589
|
-
}, React.createElement(EverCloudCloseIcon, null)))), features.length > 1 ? React.createElement(CardPagination, null, React.createElement(
|
|
4590
|
-
kind: "prev",
|
|
4619
|
+
}, React.createElement(EverCloudCloseIcon, null)))), features.length > 1 ? React.createElement(CardPagination, null, React.createElement(IconButton, {
|
|
4591
4620
|
onClick: prev
|
|
4592
|
-
}), React.createElement(PaginationDescription, null, React.createElement(CurrentFeatureIndex, {
|
|
4621
|
+
}, React.createElement(EverCloudPlayPrevIcon, null)), React.createElement(PaginationDescription, null, React.createElement(CurrentFeatureIndex, {
|
|
4593
4622
|
onClick: zoom
|
|
4594
|
-
}, current + 1), "\u043E\u0431\u044A\u0435\u043A\u0442 \u0438\u0437 ", features.length), React.createElement(
|
|
4595
|
-
kind: "next",
|
|
4623
|
+
}, current + 1), "\u043E\u0431\u044A\u0435\u043A\u0442 \u0438\u0437 ", features.length), React.createElement(IconButton, {
|
|
4596
4624
|
onClick: next
|
|
4597
|
-
})) : null, headerExtra), React.createElement(CardAttributes, null, feature.attributes && (typeof onAttributes === 'function' ? onAttributes(feature.attributes) : feature.attributes).map(attribute => {
|
|
4625
|
+
}, React.createElement(EverCloudPlayNextIcon, null))) : null, headerExtra), React.createElement(CardAttributes, null, feature.attributes && (typeof onAttributes === 'function' ? onAttributes(feature.attributes) : feature.attributes).map(attribute => {
|
|
4598
4626
|
return attribute.render || React.createElement(EvergisCardAttribute, {
|
|
4599
4627
|
key: attribute.name,
|
|
4600
4628
|
attribute: attribute
|
|
@@ -4728,9 +4756,9 @@ const EvergisSelect = _ref => {
|
|
|
4728
4756
|
}));
|
|
4729
4757
|
};
|
|
4730
4758
|
|
|
4731
|
-
var _templateObject$2, _templateObject2$
|
|
4759
|
+
var _templateObject$2, _templateObject2$2, _templateObject3$1, _templateObject4$1, _templateObject5$1;
|
|
4732
4760
|
const LegendContainer = /*#__PURE__*/styled.div(_templateObject$2 || (_templateObject$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: white;\n"])));
|
|
4733
|
-
const LegendSectionContainer = /*#__PURE__*/styled.div(_templateObject2$
|
|
4761
|
+
const LegendSectionContainer = /*#__PURE__*/styled.div(_templateObject2$2 || (_templateObject2$2 = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
4734
4762
|
const LegendSymbolTitle = /*#__PURE__*/styled.p(_templateObject3$1 || (_templateObject3$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n"])));
|
|
4735
4763
|
const LegendValueContainer = /*#__PURE__*/styled.div(_templateObject4$1 || (_templateObject4$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 0.75rem;\n\n ", " {\n padding-left: 0.5rem;\n }\n"])), LegendSymbolTitle);
|
|
4736
4764
|
const LegendSectionHeader = /*#__PURE__*/styled.div(_templateObject5$1 || (_templateObject5$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1rem;\n"])));
|
|
@@ -4745,9 +4773,9 @@ const LegendSection = _ref => {
|
|
|
4745
4773
|
return React.createElement(LegendSectionContainer, null, !hideTitle && React.createElement(LegendSectionHeader, null, renderLegendTitle ? renderLegendTitle(item) : item.title), item.values.map(children));
|
|
4746
4774
|
};
|
|
4747
4775
|
|
|
4748
|
-
var _templateObject$3, _templateObject2$
|
|
4776
|
+
var _templateObject$3, _templateObject2$3;
|
|
4749
4777
|
const InputContainer = /*#__PURE__*/styled.div(_templateObject$3 || (_templateObject$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n border-radius: 0.125rem;\n box-sizing: border-box;\n border: 0.0625rem solid rgba(48, 69, 79, 0.12);\n margin-bottom: 0.5rem;\n \n i {\n color: rgba(48, 69, 79, 0.54);\n padding: 0.25rem;\n\n &:hover {\n cursor: pointer;\n color: rgba(48, 69, 79, 0.87);\n }\n }\n"])));
|
|
4750
|
-
const InputField = /*#__PURE__*/styled.input(_templateObject2$
|
|
4778
|
+
const InputField = /*#__PURE__*/styled.input(_templateObject2$3 || (_templateObject2$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 100%;\n border: none;\n outline: none;\n font-size: 1rem;\n line-height: 1.1875rem;\n padding: 0 0.5rem;\n background-color: transparent;\n color: rgba(48, 69, 79, 0.87);\n"])));
|
|
4751
4779
|
|
|
4752
4780
|
const SearchInput = _ref => {
|
|
4753
4781
|
let {
|
|
@@ -4903,11 +4931,11 @@ const Map = _ref => {
|
|
|
4903
4931
|
}, children);
|
|
4904
4932
|
};
|
|
4905
4933
|
|
|
4906
|
-
var _templateObject$4, _templateObject2$
|
|
4934
|
+
var _templateObject$4, _templateObject2$4, _templateObject3$2, _templateObject4$2, _templateObject5$2;
|
|
4907
4935
|
|
|
4908
4936
|
const topLeft = distance => css(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n top: ", ";\n left: ", ";\n"])), distance, distance);
|
|
4909
4937
|
|
|
4910
|
-
const topRight = distance => css(_templateObject2$
|
|
4938
|
+
const topRight = distance => css(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n top: ", ";\n right: ", ";\n"])), distance, distance);
|
|
4911
4939
|
|
|
4912
4940
|
const bottomLeft = distance => css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n bottom: ", ";\n left: ", ";\n"])), distance, distance);
|
|
4913
4941
|
|
|
@@ -4925,9 +4953,9 @@ const placementMixin = function placementMixin(placement, distance) {
|
|
|
4925
4953
|
return css(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n ", "\n ", "\n"])), placement === 'top-left' && topLeft(distance), placement === 'top-right' && topRight(distance), placement === 'bottom-left' && bottomLeft(distance), placement === 'bottom-right' && bottomRight(distance));
|
|
4926
4954
|
};
|
|
4927
4955
|
|
|
4928
|
-
var _templateObject$5, _templateObject2$
|
|
4956
|
+
var _templateObject$5, _templateObject2$5, _templateObject3$3, _templateObject4$3, _templateObject5$3, _templateObject6$1, _templateObject7$1, _templateObject8$1;
|
|
4929
4957
|
const mapControlBtnMixin = /*#__PURE__*/css(_templateObject$5 || (_templateObject$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 2rem;\n height: 2rem;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n color: #fff;\n"])));
|
|
4930
|
-
const ZoomInBtn = /*#__PURE__*/styled(Icon)(_templateObject2$
|
|
4958
|
+
const ZoomInBtn = /*#__PURE__*/styled(Icon)(_templateObject2$5 || (_templateObject2$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin); // ZoomInBtn.defaultProps = { kind: "plus" };
|
|
4931
4959
|
|
|
4932
4960
|
const ZoomOutBtn = /*#__PURE__*/styled(Icon)(_templateObject3$3 || (_templateObject3$3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n"])), mapControlBtnMixin); // ZoomOutBtn.defaultProps = { kind: "minus" };
|
|
4933
4961
|
|
|
@@ -4984,9 +5012,9 @@ const Fullscreen = () => {
|
|
|
4984
5012
|
}));
|
|
4985
5013
|
};
|
|
4986
5014
|
|
|
4987
|
-
var _templateObject$6, _templateObject2$
|
|
5015
|
+
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;
|
|
4988
5016
|
const MapLegendControl = /*#__PURE__*/styled(MapControl)(_templateObject$6 || (_templateObject$6 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n cursor: default;\n"])));
|
|
4989
|
-
const MapLegendContainer = /*#__PURE__*/styled.div(_templateObject2$
|
|
5017
|
+
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 box-sizing: border-box;\n\n canvas {\n height: 1.625rem;\n width: 1.625rem;\n }\n"])));
|
|
4990
5018
|
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"])));
|
|
4991
5019
|
const MapLegendValueDescr = /*#__PURE__*/styled.div(_templateObject4$4 || (_templateObject4$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-bottom: 0.25rem;\n font-size: 0.75rem;\n font-weight: 600;\n line-height: 1rem;\n"])));
|
|
4992
5020
|
const MapLegendItem = /*#__PURE__*/styled.div(_templateObject5$4 || (_templateObject5$4 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n flex: 1;\n height: 1rem;\n background: ", ";\n border: 1px rgba(48, 69, 79, 0.1) solid;\n margin-right: -1px;\n \n ", "\n"])), _ref => {
|
|
@@ -5319,9 +5347,9 @@ const Measurer = _ref => {
|
|
|
5319
5347
|
}, props)) : null;
|
|
5320
5348
|
};
|
|
5321
5349
|
|
|
5322
|
-
var _templateObject$7, _templateObject2$
|
|
5350
|
+
var _templateObject$7, _templateObject2$7, _templateObject3$5;
|
|
5323
5351
|
const ScaleRulerContainer = /*#__PURE__*/styled.div(_templateObject$7 || (_templateObject$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: 2rem;\n cursor: default;\n display: flex;\n align-items: flex-end;\n padding: 0 0.5rem 0.5rem;\n box-sizing: border-box;\n"])));
|
|
5324
|
-
const ScaleRulerBlock = /*#__PURE__*/styled.div(_templateObject2$
|
|
5352
|
+
const ScaleRulerBlock = /*#__PURE__*/styled.div(_templateObject2$7 || (_templateObject2$7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: flex-end;\n justify-content: center;\n width: ", ";\n height: 0.25rem;\n border: 0.0625rem solid white;\n border-top: 0;\n"])), _ref => {
|
|
5325
5353
|
let {
|
|
5326
5354
|
width
|
|
5327
5355
|
} = _ref;
|
|
@@ -5380,11 +5408,11 @@ const ZoomLevel = () => {
|
|
|
5380
5408
|
}, level || 0);
|
|
5381
5409
|
};
|
|
5382
5410
|
|
|
5383
|
-
var _templateObject$8, _templateObject2$
|
|
5411
|
+
var _templateObject$8, _templateObject2$8, _templateObject3$6, _templateObject4$5, _templateObject5$5, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$2, _templateObject10$2, _templateObject11$2;
|
|
5384
5412
|
|
|
5385
5413
|
const cornerBottom = cornerSize => css(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n &:before {\n left: 50%;\n transform: translate(-50%, 100%);\n bottom: 0;\n border-left: ", " solid transparent;\n border-right: ", " solid transparent;\n border-top: ", " solid rgba(28, 33, 48, 0.8);\n }\n"])), cornerSize, cornerSize, cornerSize);
|
|
5386
5414
|
|
|
5387
|
-
const cornerLeft = cornerSize => css(_templateObject2$
|
|
5415
|
+
const cornerLeft = cornerSize => css(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(-100%, -50%);\n left: 0;\n top: 50%;\n border-top: ", " solid transparent;\n border-right: ", " solid rgba(28, 33, 48, 0.8);\n border-bottom: ", " solid transparent;\n }\n"])), cornerSize, cornerSize, cornerSize);
|
|
5388
5416
|
|
|
5389
5417
|
const cornerRight = cornerSize => css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n &:before {\n transform: translate(100%, -50%);\n right: 0;\n top: 50%;\n border-top: ", " solid transparent;\n border-left: ", " solid rgba(28, 33, 48, 0.8);\n border-bottom: ", " solid transparent;\n }\n"])), cornerSize, cornerSize, cornerSize);
|
|
5390
5418
|
|
|
@@ -5481,5 +5509,5 @@ const DraggableMarker = _ref => {
|
|
|
5481
5509
|
return React.createElement(Fragment, null);
|
|
5482
5510
|
};
|
|
5483
5511
|
|
|
5484
|
-
export { ArrowLineMiterRender, BaseMeasureToolCreator, BaseMeasureToolEditor, CRS_MAP, CardAttributes, CardHeader, CircleLineMiterRender, ClassificationCondition, ClassificationManager, ClusterLayer, 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,
|
|
5512
|
+
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, MapLegendHeader, MapLegendSymbol, 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, 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, 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 };
|
|
5485
5513
|
//# sourceMappingURL=react.esm.js.map
|