@vtx/cs-map-layer 1.0.12 → 1.0.15
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/lib/ConfluenceLineLayer/index.js +12 -1
- package/lib/ConfluenceManholeLayer/index.js +12 -1
- package/lib/ConfluencePointLayer/index.js +12 -1
- package/lib/DeviceLayer/index.d.ts +3 -0
- package/lib/DeviceLayer/index.js +129 -24
- package/lib/FacilityLayer/index.d.ts +4 -0
- package/lib/FacilityLayer/index.js +18 -2
- package/lib/Layer/layerConfig.d.ts +9 -2
- package/lib/Layer/layerConfig.js +10 -7
- package/lib/RainLineLayer/index.js +12 -1
- package/lib/RainManholeLayer/index.js +12 -1
- package/lib/RainPointLayer/index.js +12 -1
- package/lib/RawWaterLineLayer/index.js +12 -1
- package/lib/RawWaterPointLayer/index.js +12 -1
- package/lib/SewageLineLayer/index.js +12 -1
- package/lib/SewageManholeLayer/index.js +12 -1
- package/lib/SewagePointLayer/index.js +12 -1
- package/lib/WaterDrainLineLayer/index.js +12 -1
- package/lib/WaterDrainManholeLayer/index.js +12 -1
- package/lib/WaterDrainPointLayer/index.js +12 -1
- package/lib/WaterSupplyLineLayer/index.js +17 -2
- package/lib/WaterSupplyPointLayer/index.d.ts +1 -0
- package/lib/WaterSupplyPointLayer/index.js +20 -5
- package/lib/_components/Template/CloseBtn.js +0 -1
- package/lib/_components/Template/CloseBtnV2.d.ts +8 -0
- package/lib/_components/Template/CloseBtnV2.js +21 -0
- package/lib/_components/Template/DeviceCustomContent.d.ts +21 -0
- package/lib/_components/Template/DeviceCustomContent.js +76 -0
- package/lib/_components/Template/DeviceTemplate.d.ts +1 -0
- package/lib/_components/Template/DeviceTemplate.js +15 -2
- package/lib/_components/Template/DeviceTemplateV2.d.ts +7 -0
- package/lib/_components/Template/DeviceTemplateV2.js +146 -0
- package/lib/_components/Template/FacilityCustomContent.d.ts +20 -0
- package/lib/_components/Template/FacilityCustomContent.js +142 -0
- package/lib/_components/Template/FacilityTemplate.d.ts +5 -0
- package/lib/_components/Template/FacilityTemplate.js +15 -8
- package/lib/_components/Template/FacilityTemplateV2.d.ts +12 -0
- package/lib/_components/Template/FacilityTemplateV2.js +104 -0
- package/lib/_components/Template/index.less +10 -6
- package/lib/_components/Template/indexV2.less +574 -0
- package/lib/_util/http.d.ts +1 -1
- package/lib/_util/interface.d.ts +12 -0
- package/lib/_util/interface.js +3 -2
- package/lib/_util/layerConfig.d.ts +14 -1
- package/lib/_util/layerConfig.js +498 -1
- package/lib/assets/address-dark.png +0 -0
- package/lib/assets/address.png +0 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +3 -1
- package/lib/typings.d.ts +4 -3
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["params", "showModal"];
|
|
2
|
+
var _excluded = ["params", "showModal", "popup"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -11,11 +11,16 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
11
11
|
import { ImageLayer } from '@vtx/cs-map';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import FacilityTemplate from "../_components/Template/FacilityTemplate";
|
|
14
|
+
import FacilityTemplateV2 from "../_components/Template/FacilityTemplateV2";
|
|
14
15
|
import { getTenantId } from "../_util/util";
|
|
15
16
|
var SewageLineLayer = function SewageLineLayer(props) {
|
|
16
17
|
var _props$params = props.params,
|
|
17
18
|
params = _props$params === void 0 ? {} : _props$params,
|
|
18
19
|
showModal = props.showModal,
|
|
20
|
+
_props$popup = props.popup,
|
|
21
|
+
popup = _props$popup === void 0 ? {
|
|
22
|
+
version: '1'
|
|
23
|
+
} : _props$popup,
|
|
19
24
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
20
25
|
var tenantId = getTenantId();
|
|
21
26
|
return /*#__PURE__*/React.createElement(ImageLayer, _extends({
|
|
@@ -30,6 +35,12 @@ var SewageLineLayer = function SewageLineLayer(props) {
|
|
|
30
35
|
zIndex: 20,
|
|
31
36
|
id: 'RainLineLayer',
|
|
32
37
|
template: function template(feature) {
|
|
38
|
+
if (popup.version == '2') {
|
|
39
|
+
return /*#__PURE__*/React.createElement(FacilityTemplateV2, {
|
|
40
|
+
feature: feature,
|
|
41
|
+
showModal: showModal
|
|
42
|
+
});
|
|
43
|
+
}
|
|
33
44
|
return /*#__PURE__*/React.createElement(FacilityTemplate, {
|
|
34
45
|
feature: feature,
|
|
35
46
|
showModal: showModal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["params", "showModal"];
|
|
2
|
+
var _excluded = ["params", "showModal", "popup"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -11,11 +11,16 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
11
11
|
import { ImageLayer } from '@vtx/cs-map';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import FacilityTemplate from "../_components/Template/FacilityTemplate";
|
|
14
|
+
import FacilityTemplateV2 from "../_components/Template/FacilityTemplateV2";
|
|
14
15
|
import { getTenantId } from "../_util/util";
|
|
15
16
|
var SewageManholeLayer = function SewageManholeLayer(props) {
|
|
16
17
|
var _props$params = props.params,
|
|
17
18
|
params = _props$params === void 0 ? {} : _props$params,
|
|
18
19
|
showModal = props.showModal,
|
|
20
|
+
_props$popup = props.popup,
|
|
21
|
+
popup = _props$popup === void 0 ? {
|
|
22
|
+
version: '1'
|
|
23
|
+
} : _props$popup,
|
|
19
24
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
20
25
|
var tenantId = getTenantId();
|
|
21
26
|
return /*#__PURE__*/React.createElement(ImageLayer, _extends({
|
|
@@ -30,6 +35,12 @@ var SewageManholeLayer = function SewageManholeLayer(props) {
|
|
|
30
35
|
zIndex: 30,
|
|
31
36
|
id: 'SewageManholeLayer',
|
|
32
37
|
template: function template(feature) {
|
|
38
|
+
if (popup.version == '2') {
|
|
39
|
+
return /*#__PURE__*/React.createElement(FacilityTemplateV2, {
|
|
40
|
+
feature: feature,
|
|
41
|
+
showModal: showModal
|
|
42
|
+
});
|
|
43
|
+
}
|
|
33
44
|
return /*#__PURE__*/React.createElement(FacilityTemplate, {
|
|
34
45
|
feature: feature,
|
|
35
46
|
showModal: showModal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["params", "showModal"];
|
|
2
|
+
var _excluded = ["params", "showModal", "popup"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -11,11 +11,16 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
11
11
|
import { ImageLayer } from '@vtx/cs-map';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import FacilityTemplate from "../_components/Template/FacilityTemplate";
|
|
14
|
+
import FacilityTemplateV2 from "../_components/Template/FacilityTemplateV2";
|
|
14
15
|
import { getTenantId } from "../_util/util";
|
|
15
16
|
var SewagePointLayer = function SewagePointLayer(props) {
|
|
16
17
|
var _props$params = props.params,
|
|
17
18
|
params = _props$params === void 0 ? {} : _props$params,
|
|
18
19
|
showModal = props.showModal,
|
|
20
|
+
_props$popup = props.popup,
|
|
21
|
+
popup = _props$popup === void 0 ? {
|
|
22
|
+
version: '1'
|
|
23
|
+
} : _props$popup,
|
|
19
24
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
20
25
|
var tenantId = getTenantId();
|
|
21
26
|
return /*#__PURE__*/React.createElement(ImageLayer, _extends({
|
|
@@ -30,6 +35,12 @@ var SewagePointLayer = function SewagePointLayer(props) {
|
|
|
30
35
|
zIndex: 40,
|
|
31
36
|
id: 'SewagePointLayer',
|
|
32
37
|
template: function template(feature) {
|
|
38
|
+
if (popup.version == '2') {
|
|
39
|
+
return /*#__PURE__*/React.createElement(FacilityTemplateV2, {
|
|
40
|
+
feature: feature,
|
|
41
|
+
showModal: showModal
|
|
42
|
+
});
|
|
43
|
+
}
|
|
33
44
|
return /*#__PURE__*/React.createElement(FacilityTemplate, {
|
|
34
45
|
feature: feature,
|
|
35
46
|
showModal: showModal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["params", "showModal"];
|
|
2
|
+
var _excluded = ["params", "showModal", "popup"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -11,11 +11,16 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
11
11
|
import { ImageLayer } from '@vtx/cs-map';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import FacilityTemplate from "../_components/Template/FacilityTemplate";
|
|
14
|
+
import FacilityTemplateV2 from "../_components/Template/FacilityTemplateV2";
|
|
14
15
|
import { getTenantId } from "../_util/util";
|
|
15
16
|
var WaterDrainLineLayer = function WaterDrainLineLayer(props) {
|
|
16
17
|
var _props$params = props.params,
|
|
17
18
|
params = _props$params === void 0 ? {} : _props$params,
|
|
18
19
|
showModal = props.showModal,
|
|
20
|
+
_props$popup = props.popup,
|
|
21
|
+
popup = _props$popup === void 0 ? {
|
|
22
|
+
version: '1'
|
|
23
|
+
} : _props$popup,
|
|
19
24
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
20
25
|
var tenantId = getTenantId();
|
|
21
26
|
return /*#__PURE__*/React.createElement(ImageLayer, _extends({
|
|
@@ -29,6 +34,12 @@ var WaterDrainLineLayer = function WaterDrainLineLayer(props) {
|
|
|
29
34
|
zIndex: 20,
|
|
30
35
|
id: 'WaterDrainLineLayer',
|
|
31
36
|
template: function template(feature) {
|
|
37
|
+
if (popup.version == '2') {
|
|
38
|
+
return /*#__PURE__*/React.createElement(FacilityTemplateV2, {
|
|
39
|
+
feature: feature,
|
|
40
|
+
showModal: showModal
|
|
41
|
+
});
|
|
42
|
+
}
|
|
32
43
|
return /*#__PURE__*/React.createElement(FacilityTemplate, {
|
|
33
44
|
feature: feature,
|
|
34
45
|
showModal: showModal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["params", "showModal"];
|
|
2
|
+
var _excluded = ["params", "showModal", "popup"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -11,11 +11,16 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
11
11
|
import { ImageLayer } from '@vtx/cs-map';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import FacilityTemplate from "../_components/Template/FacilityTemplate";
|
|
14
|
+
import FacilityTemplateV2 from "../_components/Template/FacilityTemplateV2";
|
|
14
15
|
import { getTenantId } from "../_util/util";
|
|
15
16
|
var WaterDrainManholeLayer = function WaterDrainManholeLayer(props) {
|
|
16
17
|
var _props$params = props.params,
|
|
17
18
|
params = _props$params === void 0 ? {} : _props$params,
|
|
18
19
|
showModal = props.showModal,
|
|
20
|
+
_props$popup = props.popup,
|
|
21
|
+
popup = _props$popup === void 0 ? {
|
|
22
|
+
version: '1'
|
|
23
|
+
} : _props$popup,
|
|
19
24
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
20
25
|
var tenantId = getTenantId();
|
|
21
26
|
return /*#__PURE__*/React.createElement(ImageLayer, _extends({
|
|
@@ -29,6 +34,12 @@ var WaterDrainManholeLayer = function WaterDrainManholeLayer(props) {
|
|
|
29
34
|
zIndex: 30,
|
|
30
35
|
id: 'WaterDrainLineLayer',
|
|
31
36
|
template: function template(feature) {
|
|
37
|
+
if (popup.version == '2') {
|
|
38
|
+
return /*#__PURE__*/React.createElement(FacilityTemplateV2, {
|
|
39
|
+
feature: feature,
|
|
40
|
+
showModal: showModal
|
|
41
|
+
});
|
|
42
|
+
}
|
|
32
43
|
return /*#__PURE__*/React.createElement(FacilityTemplate, {
|
|
33
44
|
feature: feature,
|
|
34
45
|
showModal: showModal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["params", "showModal"];
|
|
2
|
+
var _excluded = ["params", "showModal", "popup"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -11,11 +11,16 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
11
11
|
import { ImageLayer } from '@vtx/cs-map';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import FacilityTemplate from "../_components/Template/FacilityTemplate";
|
|
14
|
+
import FacilityTemplateV2 from "../_components/Template/FacilityTemplateV2";
|
|
14
15
|
import { getTenantId } from "../_util/util";
|
|
15
16
|
var WaterDrainPointLayer = function WaterDrainPointLayer(props) {
|
|
16
17
|
var _props$params = props.params,
|
|
17
18
|
params = _props$params === void 0 ? {} : _props$params,
|
|
18
19
|
showModal = props.showModal,
|
|
20
|
+
_props$popup = props.popup,
|
|
21
|
+
popup = _props$popup === void 0 ? {
|
|
22
|
+
version: '1'
|
|
23
|
+
} : _props$popup,
|
|
19
24
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
20
25
|
var tenantId = getTenantId();
|
|
21
26
|
return /*#__PURE__*/React.createElement(ImageLayer, _extends({
|
|
@@ -29,6 +34,12 @@ var WaterDrainPointLayer = function WaterDrainPointLayer(props) {
|
|
|
29
34
|
zIndex: 40,
|
|
30
35
|
id: 'WaterDrainPointLayer',
|
|
31
36
|
template: function template(feature) {
|
|
37
|
+
if (popup.version == '2') {
|
|
38
|
+
return /*#__PURE__*/React.createElement(FacilityTemplateV2, {
|
|
39
|
+
feature: feature,
|
|
40
|
+
showModal: showModal
|
|
41
|
+
});
|
|
42
|
+
}
|
|
32
43
|
return /*#__PURE__*/React.createElement(FacilityTemplate, {
|
|
33
44
|
feature: feature,
|
|
34
45
|
showModal: showModal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["params", "showModal"];
|
|
2
|
+
var _excluded = ["params", "showModal", "customKeys", "popup"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -11,12 +11,19 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
|
|
|
11
11
|
import { ImageLayer } from '@vtx/cs-map';
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import FacilityTemplate from "../_components/Template/FacilityTemplate";
|
|
14
|
+
import FacilityTemplateV2 from "../_components/Template/FacilityTemplateV2";
|
|
14
15
|
import { FACILITY_CODE } from "../_util/interface";
|
|
15
16
|
import { facilityCodeMap } from "../_util/layerConfig";
|
|
16
17
|
var WaterSupplyLineLayer = function WaterSupplyLineLayer(props) {
|
|
17
18
|
var _props$params = props.params,
|
|
18
19
|
params = _props$params === void 0 ? {} : _props$params,
|
|
19
20
|
showModal = props.showModal,
|
|
21
|
+
_props$customKeys = props.customKeys,
|
|
22
|
+
customKeys = _props$customKeys === void 0 ? [] : _props$customKeys,
|
|
23
|
+
_props$popup = props.popup,
|
|
24
|
+
popup = _props$popup === void 0 ? {
|
|
25
|
+
version: '1'
|
|
26
|
+
} : _props$popup,
|
|
20
27
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
21
28
|
var code = FACILITY_CODE.WATER_SUPPLY_LINE;
|
|
22
29
|
var _facilityCodeMap$code = facilityCodeMap[code],
|
|
@@ -33,9 +40,17 @@ var WaterSupplyLineLayer = function WaterSupplyLineLayer(props) {
|
|
|
33
40
|
legend: "GD_GD",
|
|
34
41
|
id: code,
|
|
35
42
|
template: function template(feature) {
|
|
43
|
+
if (popup.version == '2') {
|
|
44
|
+
return /*#__PURE__*/React.createElement(FacilityTemplateV2, {
|
|
45
|
+
feature: feature,
|
|
46
|
+
showModal: showModal,
|
|
47
|
+
customKeys: customKeys
|
|
48
|
+
});
|
|
49
|
+
}
|
|
36
50
|
return /*#__PURE__*/React.createElement(FacilityTemplate, {
|
|
37
51
|
feature: feature,
|
|
38
|
-
showModal: showModal
|
|
52
|
+
showModal: showModal,
|
|
53
|
+
customKeys: customKeys
|
|
39
54
|
});
|
|
40
55
|
},
|
|
41
56
|
group: [{
|
|
@@ -2,6 +2,7 @@ import { type FC } from 'react';
|
|
|
2
2
|
import { CommonPropsI, POINT_CHARACTERISTICS } from '../_util/interface';
|
|
3
3
|
interface PropsI {
|
|
4
4
|
groupKey?: POINT_CHARACTERISTICS[] | false;
|
|
5
|
+
customKeys?: any;
|
|
5
6
|
}
|
|
6
7
|
declare const WaterSupplyPointLayer: FC<CommonPropsI & PropsI>;
|
|
7
8
|
export default WaterSupplyPointLayer;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
var _excluded = ["params", "showModal", "groupKey"];
|
|
2
|
+
var _excluded = ["params", "showModal", "groupKey", "customKeys", "popup"];
|
|
3
3
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -8,20 +8,27 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
8
8
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
9
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
10
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
|
-
/**
|
|
12
|
-
*供水管点
|
|
11
|
+
/**
|
|
12
|
+
*供水管点
|
|
13
13
|
*/
|
|
14
14
|
import { ImageLayer } from '@vtx/cs-map';
|
|
15
|
+
import { isArray, isEmpty } from 'lodash';
|
|
15
16
|
import React from 'react';
|
|
16
17
|
import FacilityTemplate from "../_components/Template/FacilityTemplate";
|
|
18
|
+
import FacilityTemplateV2 from "../_components/Template/FacilityTemplateV2";
|
|
17
19
|
import { FACILITY_CODE, POINT_CHARACTERISTICS, POINT_CHARACTERISTICS_STR } from "../_util/interface";
|
|
18
20
|
import { facilityCodeMap } from "../_util/layerConfig";
|
|
19
|
-
import { isArray, isEmpty } from 'lodash';
|
|
20
21
|
var WaterSupplyPointLayer = function WaterSupplyPointLayer(props) {
|
|
21
22
|
var _props$params = props.params,
|
|
22
23
|
params = _props$params === void 0 ? {} : _props$params,
|
|
23
24
|
showModal = props.showModal,
|
|
24
25
|
groupKey = props.groupKey,
|
|
26
|
+
_props$customKeys = props.customKeys,
|
|
27
|
+
customKeys = _props$customKeys === void 0 ? [] : _props$customKeys,
|
|
28
|
+
_props$popup = props.popup,
|
|
29
|
+
popup = _props$popup === void 0 ? {
|
|
30
|
+
version: '1'
|
|
31
|
+
} : _props$popup,
|
|
25
32
|
otherProps = _objectWithoutProperties(props, _excluded);
|
|
26
33
|
var code = FACILITY_CODE.WATER_SUPPLY_POINT;
|
|
27
34
|
var _facilityCodeMap$code = facilityCodeMap[code],
|
|
@@ -53,9 +60,17 @@ var WaterSupplyPointLayer = function WaterSupplyPointLayer(props) {
|
|
|
53
60
|
legend: "GD_POINT",
|
|
54
61
|
id: code,
|
|
55
62
|
template: function template(feature) {
|
|
63
|
+
if (popup.version == '2') {
|
|
64
|
+
return /*#__PURE__*/React.createElement(FacilityTemplateV2, {
|
|
65
|
+
feature: feature,
|
|
66
|
+
showModal: showModal,
|
|
67
|
+
customKeys: customKeys
|
|
68
|
+
});
|
|
69
|
+
}
|
|
56
70
|
return /*#__PURE__*/React.createElement(FacilityTemplate, {
|
|
57
71
|
feature: feature,
|
|
58
|
-
showModal: showModal
|
|
72
|
+
showModal: showModal,
|
|
73
|
+
customKeys: customKeys
|
|
59
74
|
});
|
|
60
75
|
},
|
|
61
76
|
group: group
|
|
@@ -7,7 +7,6 @@ var CloseBtn = function CloseBtn(props) {
|
|
|
7
7
|
type = props.type;
|
|
8
8
|
var _useProps = useProps(),
|
|
9
9
|
showModal = _useProps.showModal;
|
|
10
|
-
console.log(showModal);
|
|
11
10
|
return /*#__PURE__*/React.createElement(ExclamationCircleOutlined, {
|
|
12
11
|
onClick: function onClick() {
|
|
13
12
|
if (props.showModal) {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ExclamationCircleOutlined } from "@ant-design/icons";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { useProps } from '@vtx/cs-map';
|
|
4
|
+
var CloseBtn = function CloseBtn(props) {
|
|
5
|
+
var feature = props.feature,
|
|
6
|
+
type = props.type,
|
|
7
|
+
facilityDetail = props.facilityDetail;
|
|
8
|
+
var _useProps = useProps(),
|
|
9
|
+
showModal = _useProps.showModal;
|
|
10
|
+
return /*#__PURE__*/React.createElement(ExclamationCircleOutlined, {
|
|
11
|
+
onClick: function onClick() {
|
|
12
|
+
if (props.showModal) {
|
|
13
|
+
props.showModal(feature, type, facilityDetail);
|
|
14
|
+
} else if (showModal) {
|
|
15
|
+
showModal(feature, type, facilityDetail);
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
className: "close-btn"
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
export default CloseBtn;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare function CustomContent(props: any): React.JSX.Element;
|
|
4
|
+
declare namespace CustomContent {
|
|
5
|
+
var propTypes: {
|
|
6
|
+
dark: PropTypes.Requireable<boolean>;
|
|
7
|
+
type: PropTypes.Requireable<string>;
|
|
8
|
+
code: PropTypes.Requireable<string>;
|
|
9
|
+
params: PropTypes.Requireable<object>;
|
|
10
|
+
styleOption: PropTypes.Requireable<object>;
|
|
11
|
+
showModal: PropTypes.Requireable<(...args: any[]) => any>;
|
|
12
|
+
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
+
deviceDetail: PropTypes.Requireable<object>;
|
|
14
|
+
deviceData: PropTypes.Requireable<object>;
|
|
15
|
+
valueField: PropTypes.Requireable<string>;
|
|
16
|
+
customButton: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.ReactElementLike | null | undefined>>;
|
|
17
|
+
popup: PropTypes.Requireable<object>;
|
|
18
|
+
detail: PropTypes.Requireable<object>;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export default CustomContent;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { getVtxToken } from '@vtx/utils';
|
|
2
|
+
import classnames from 'classnames';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
var _ref = getVtxToken() || {},
|
|
6
|
+
token = _ref.token,
|
|
7
|
+
tenantId = _ref.tenantId,
|
|
8
|
+
userId = _ref.userId;
|
|
9
|
+
function CustomContent(props) {
|
|
10
|
+
var _onClick = props.onClick,
|
|
11
|
+
deviceDetail = props.deviceDetail,
|
|
12
|
+
deviceData = props.deviceData,
|
|
13
|
+
dark = props.dark;
|
|
14
|
+
// console.log(showModal, valueField, customButton, popup, otherProps, 'CustomContent');
|
|
15
|
+
var handleClassName = function handleClassName(str) {
|
|
16
|
+
var commonClassnames = "device-layer-custom-content".concat(dark ? '-dark' : '');
|
|
17
|
+
return str ? "".concat(commonClassnames, "-").concat(str) : commonClassnames;
|
|
18
|
+
};
|
|
19
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
20
|
+
className: classnames(handleClassName()),
|
|
21
|
+
onClick: function onClick() {
|
|
22
|
+
_onClick && _onClick();
|
|
23
|
+
}
|
|
24
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
25
|
+
className: classnames(handleClassName('title'))
|
|
26
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
className: classnames(handleClassName('title-left')),
|
|
28
|
+
title: (deviceDetail === null || deviceDetail === void 0 ? void 0 : deviceDetail.name) || ''
|
|
29
|
+
}, (deviceDetail === null || deviceDetail === void 0 ? void 0 : deviceDetail.name) || ''), /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
className: classnames(handleClassName('title-right'))
|
|
31
|
+
}, (deviceDetail === null || deviceDetail === void 0 ? void 0 : deviceDetail.deviceTypeName) || '-')), /*#__PURE__*/React.createElement("div", {
|
|
32
|
+
className: classnames(handleClassName('contentBox'))
|
|
33
|
+
}, (deviceDetail === null || deviceDetail === void 0 ? void 0 : deviceDetail.installAddress) && /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
className: classnames(handleClassName('keyParam'))
|
|
35
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
36
|
+
className: classnames(handleClassName('keyParam-deviceDetail'))
|
|
37
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
38
|
+
src: require("../../assets/address".concat(dark ? '-dark' : '', ".png"))
|
|
39
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
40
|
+
className: classnames(handleClassName('keyParam-deviceDetail-address')),
|
|
41
|
+
title: (deviceDetail === null || deviceDetail === void 0 ? void 0 : deviceDetail.installAddress) || ''
|
|
42
|
+
}, (deviceDetail === null || deviceDetail === void 0 ? void 0 : deviceDetail.installAddress) || '')), /*#__PURE__*/React.createElement("div", {
|
|
43
|
+
className: classnames(handleClassName('keyParam-line'))
|
|
44
|
+
})), deviceData !== null && deviceData !== void 0 && deviceData.length ? /*#__PURE__*/React.createElement("div", {
|
|
45
|
+
className: classnames(handleClassName('keyIndicators'))
|
|
46
|
+
}, deviceData === null || deviceData === void 0 ? void 0 : deviceData.map(function (v) {
|
|
47
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
48
|
+
key: v === null || v === void 0 ? void 0 : v.name,
|
|
49
|
+
className: classnames(handleClassName('keyIndicators-item'))
|
|
50
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
51
|
+
className: classnames(handleClassName('keyIndicators-item-left'))
|
|
52
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
53
|
+
className: classnames(handleClassName('keyIndicators-item-round'))
|
|
54
|
+
}), /*#__PURE__*/React.createElement("span", null, v.name || ''), /*#__PURE__*/React.createElement("span", null, v.unit ? "\uFF08".concat(v.unit, "\uFF09") : '', ":"), /*#__PURE__*/React.createElement("span", {
|
|
55
|
+
className: classnames(handleClassName('keyIndicators-item-left-value'))
|
|
56
|
+
}, v.value || v.value == 0 ? v.value : '')), /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
className: classnames(handleClassName('keyIndicators-item-updateTime'))
|
|
58
|
+
}, v.updateTime));
|
|
59
|
+
})) : null));
|
|
60
|
+
}
|
|
61
|
+
CustomContent.propTypes = {
|
|
62
|
+
dark: PropTypes.bool,
|
|
63
|
+
type: PropTypes.string,
|
|
64
|
+
code: PropTypes.string,
|
|
65
|
+
params: PropTypes.object,
|
|
66
|
+
styleOption: PropTypes.object,
|
|
67
|
+
showModal: PropTypes.func,
|
|
68
|
+
onClick: PropTypes.func,
|
|
69
|
+
deviceDetail: PropTypes.object,
|
|
70
|
+
deviceData: PropTypes.object,
|
|
71
|
+
valueField: PropTypes.string,
|
|
72
|
+
customButton: PropTypes.oneOfType([PropTypes.func, PropTypes.element]),
|
|
73
|
+
popup: PropTypes.object,
|
|
74
|
+
detail: PropTypes.object
|
|
75
|
+
};
|
|
76
|
+
export default CustomContent;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
2
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
4
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
1
5
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
6
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
7
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -8,6 +12,7 @@ import { Col, Empty, Row, Spin } from 'antd';
|
|
|
8
12
|
import React, { useEffect, useState } from 'react';
|
|
9
13
|
import http from "../../_util/http";
|
|
10
14
|
import CloseBtn from "./CloseBtn";
|
|
15
|
+
import "./index.less";
|
|
11
16
|
var DeviceTemplate = function DeviceTemplate(props) {
|
|
12
17
|
var feature = props.feature,
|
|
13
18
|
showModal = props.showModal;
|
|
@@ -28,6 +33,7 @@ var DeviceTemplate = function DeviceTemplate(props) {
|
|
|
28
33
|
deviceId: id
|
|
29
34
|
}
|
|
30
35
|
}).then(function (res) {
|
|
36
|
+
var _res$data;
|
|
31
37
|
setLoading(false);
|
|
32
38
|
var data = [];
|
|
33
39
|
if (String(res === null || res === void 0 ? void 0 : res.result) === '0') {
|
|
@@ -43,7 +49,12 @@ var DeviceTemplate = function DeviceTemplate(props) {
|
|
|
43
49
|
// if (data?.length > 4) {
|
|
44
50
|
// data = data.slice(0, 4);
|
|
45
51
|
// }
|
|
46
|
-
|
|
52
|
+
// 固定加入
|
|
53
|
+
setDeviceData([].concat(_toConsumableArray(data), [{
|
|
54
|
+
label: '数据采集时间',
|
|
55
|
+
key: 'monitorTime',
|
|
56
|
+
value: (_res$data = res.data) === null || _res$data === void 0 || (_res$data = _res$data[0]) === null || _res$data === void 0 ? void 0 : _res$data.monitorTime
|
|
57
|
+
}]));
|
|
47
58
|
});
|
|
48
59
|
};
|
|
49
60
|
useEffect(function () {
|
|
@@ -51,7 +62,9 @@ var DeviceTemplate = function DeviceTemplate(props) {
|
|
|
51
62
|
getDeviceData(id);
|
|
52
63
|
}
|
|
53
64
|
}, [id]);
|
|
54
|
-
return /*#__PURE__*/React.createElement(
|
|
65
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
66
|
+
className: "cesium-popup-v1"
|
|
67
|
+
}, /*#__PURE__*/React.createElement(Spin, {
|
|
55
68
|
spinning: loading,
|
|
56
69
|
size: "small"
|
|
57
70
|
}, /*#__PURE__*/React.createElement(Row, null, deviceData === null || deviceData === void 0 ? void 0 : deviceData.map(function (item, index) {
|