@vtx/cs-map-layer 1.0.2 → 1.0.4

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.
Files changed (35) hide show
  1. package/{dist → lib}/_util/interface.d.ts +13 -1
  2. package/{dist → lib}/_util/interface.js +3 -0
  3. package/{dist → lib}/_util/layerConfig.js +13 -1
  4. package/lib/index.d.ts +9 -0
  5. package/lib/index.js +9 -0
  6. package/package.json +4 -4
  7. package/dist/index.d.ts +0 -9
  8. package/dist/index.js +0 -9
  9. /package/{dist → lib}/_components/Template/CloseBtn.d.ts +0 -0
  10. /package/{dist → lib}/_components/Template/CloseBtn.js +0 -0
  11. /package/{dist → lib}/_components/Template/DeviceTemplate.d.ts +0 -0
  12. /package/{dist → lib}/_components/Template/DeviceTemplate.js +0 -0
  13. /package/{dist → lib}/_components/Template/FacilityTemplate.d.ts +0 -0
  14. /package/{dist → lib}/_components/Template/FacilityTemplate.js +0 -0
  15. /package/{dist → lib}/_components/Template/index.less +0 -0
  16. /package/{dist → lib}/_util/http.d.ts +0 -0
  17. /package/{dist → lib}/_util/http.js +0 -0
  18. /package/{dist → lib}/_util/layerConfig.d.ts +0 -0
  19. /package/{dist → lib}/_util/transform.d.ts +0 -0
  20. /package/{dist → lib}/_util/transform.js +0 -0
  21. /package/{dist/DeviceLayer → lib/device-layer}/index.d.ts +0 -0
  22. /package/{dist/DeviceLayer → lib/device-layer}/index.js +0 -0
  23. /package/{dist/DivisionLayer → lib/division-layer}/index.d.ts +0 -0
  24. /package/{dist/DivisionLayer → lib/division-layer}/index.js +0 -0
  25. /package/{dist/FacilityLayer → lib/facility-layer}/index.d.ts +0 -0
  26. /package/{dist/FacilityLayer → lib/facility-layer}/index.js +0 -0
  27. /package/{dist/RawWaterLineLayer → lib/raw-water-line-layer}/index.d.ts +0 -0
  28. /package/{dist/RawWaterLineLayer → lib/raw-water-line-layer}/index.js +0 -0
  29. /package/{dist/RawWaterPointLayer → lib/raw-water-point-layer}/index.d.ts +0 -0
  30. /package/{dist/RawWaterPointLayer → lib/raw-water-point-layer}/index.js +0 -0
  31. /package/{dist → lib}/typings.d.ts +0 -0
  32. /package/{dist/WaterSupplyLineLayer → lib/water-supply-line-layer}/index.d.ts +0 -0
  33. /package/{dist/WaterSupplyLineLayer → lib/water-supply-line-layer}/index.js +0 -0
  34. /package/{dist/WaterSupplyPointLayer → lib/water-supply-point-layer}/index.d.ts +0 -0
  35. /package/{dist/WaterSupplyPointLayer → lib/water-supply-point-layer}/index.js +0 -0
@@ -30,7 +30,19 @@ export declare enum FACILITY_CODE {
30
30
  /**
31
31
  *原水管线
32
32
  */
33
- RAW_WATER_LINE = "RAW_WATER_LINE"
33
+ RAW_WATER_LINE = "RAW_WATER_LINE",
34
+ /**
35
+ * 水源地
36
+ */
37
+ WATER_RESOURCE = "WATER_RESOURCE",
38
+ /**
39
+ * 二供泵站
40
+ */
41
+ PUMP = "PUMP",
42
+ /**
43
+ * 河道泵站
44
+ */
45
+ RIVER_PUMP_STATION = "RIVER_PUMP_STATION"
34
46
  }
35
47
  export declare enum DEVICE_CODE {
36
48
  /**
@@ -11,6 +11,9 @@ export var FACILITY_CODE = /*#__PURE__*/function (FACILITY_CODE) {
11
11
  FACILITY_CODE["GS_PUMP_STATION"] = "GS_PUMP_STATION";
12
12
  FACILITY_CODE["RAW_WATER_POINT"] = "RAW_WATER_POINT";
13
13
  FACILITY_CODE["RAW_WATER_LINE"] = "RAW_WATER_LINE";
14
+ FACILITY_CODE["WATER_RESOURCE"] = "WATER_RESOURCE";
15
+ FACILITY_CODE["PUMP"] = "PUMP";
16
+ FACILITY_CODE["RIVER_PUMP_STATION"] = "RIVER_PUMP_STATION";
14
17
  return FACILITY_CODE;
15
18
  }({});
16
19
  export var DEVICE_CODE = /*#__PURE__*/function (DEVICE_CODE) {
@@ -5,7 +5,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
5
5
  import { MapIcon } from '@vtx/map-icon';
6
6
  import { FACILITY_CODE } from "./interface";
7
7
  var StatusEnum = MapIcon.iconEnum.StatusEnum;
8
- var facilityCodeMap = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, FACILITY_CODE.DEFAULT, {}), FACILITY_CODE.WATER_SUPPLY_LINE, {
8
+ var facilityCodeMap = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, FACILITY_CODE.DEFAULT, {}), FACILITY_CODE.WATER_SUPPLY_LINE, {
9
9
  icon: '',
10
10
  name: '供水管线',
11
11
  labelField: 'code'
@@ -29,6 +29,18 @@ var facilityCodeMap = _defineProperty(_defineProperty(_defineProperty(_definePro
29
29
  icon: '',
30
30
  name: '原水管线',
31
31
  labelField: 'code'
32
+ }), "WATER_RESOURCE", {
33
+ icon: 'YLD',
34
+ name: '水源地',
35
+ labelField: 'facilityName'
36
+ }), "PUMP", {
37
+ icon: 'GD_EGBZ',
38
+ name: '二供泵站',
39
+ labelField: 'facilityName'
40
+ }), "RIVER_PUMP_STATION", {
41
+ icon: 'HDBZ',
42
+ name: '河道泵站',
43
+ labelField: 'facilityName'
32
44
  });
33
45
  var deviceCodeMap = {
34
46
  DEFAULT: {},
package/lib/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ import { DEVICE_CODE, FACILITY_CODE, POINT_CHARACTERISTICS } from './_util/interface';
2
+ export { default as DeviceLayer } from './device-layer';
3
+ export { default as FacilityLayer } from './facility-layer';
4
+ export { default as DivisionLayer } from './division-layer';
5
+ export { default as RawWaterPointLayer } from './raw-water-point-layer';
6
+ export { default as RawWaterLineLayer } from './raw-water-line-layer';
7
+ export { default as WaterSupplyLineLayer } from './water-supply-line-layer';
8
+ export { default as WaterSupplyPointLayer } from './water-supply-point-layer';
9
+ export { DEVICE_CODE, FACILITY_CODE, POINT_CHARACTERISTICS };
package/lib/index.js ADDED
@@ -0,0 +1,9 @@
1
+ import { DEVICE_CODE, FACILITY_CODE, POINT_CHARACTERISTICS } from "./_util/interface";
2
+ export { default as DeviceLayer } from "./device-layer";
3
+ export { default as FacilityLayer } from "./facility-layer";
4
+ export { default as DivisionLayer } from "./division-layer";
5
+ export { default as RawWaterPointLayer } from "./raw-water-point-layer";
6
+ export { default as RawWaterLineLayer } from "./raw-water-line-layer";
7
+ export { default as WaterSupplyLineLayer } from "./water-supply-line-layer";
8
+ export { default as WaterSupplyPointLayer } from "./water-supply-point-layer";
9
+ export { DEVICE_CODE, FACILITY_CODE, POINT_CHARACTERISTICS };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@vtx/cs-map-layer",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "React components for Vortex",
5
5
  "license": "MIT",
6
- "module": "dist/index.js",
7
- "types": "dist/index.d.ts",
6
+ "module": "lib/index.js",
7
+ "types": "lib/index.d.ts",
8
8
  "files": [
9
- "dist"
9
+ "lib"
10
10
  ],
11
11
  "scripts": {
12
12
  "build": "father build",
package/dist/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import { DEVICE_CODE, FACILITY_CODE, POINT_CHARACTERISTICS } from './_util/interface';
2
- export { default as DeviceLayer } from './DeviceLayer';
3
- export { default as FacilityLayer } from './FacilityLayer';
4
- export { default as DivisionLayer } from './DivisionLayer';
5
- export { default as RawWaterPointLayer } from './RawWaterPointLayer';
6
- export { default as RawWaterLineLayer } from './RawWaterLineLayer';
7
- export { default as WaterSupplyLineLayer } from './WaterSupplyLineLayer';
8
- export { default as WaterSupplyPointLayer } from './WaterSupplyPointLayer';
9
- export { DEVICE_CODE, FACILITY_CODE, POINT_CHARACTERISTICS };
package/dist/index.js DELETED
@@ -1,9 +0,0 @@
1
- import { DEVICE_CODE, FACILITY_CODE, POINT_CHARACTERISTICS } from "./_util/interface";
2
- export { default as DeviceLayer } from "./DeviceLayer";
3
- export { default as FacilityLayer } from "./FacilityLayer";
4
- export { default as DivisionLayer } from "./DivisionLayer";
5
- export { default as RawWaterPointLayer } from "./RawWaterPointLayer";
6
- export { default as RawWaterLineLayer } from "./RawWaterLineLayer";
7
- export { default as WaterSupplyLineLayer } from "./WaterSupplyLineLayer";
8
- export { default as WaterSupplyPointLayer } from "./WaterSupplyPointLayer";
9
- export { DEVICE_CODE, FACILITY_CODE, POINT_CHARACTERISTICS };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes