@vtx/modals2 6.0.0-beta.1 → 6.0.0-beta.11

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 (152) hide show
  1. package/lib/_components/index.js +1 -0
  2. package/lib/_components/vm-appraisal-info/api.js +55 -0
  3. package/lib/_components/vm-appraisal-info/imgs/count.png +0 -0
  4. package/lib/_components/vm-appraisal-info/imgs/count_light.png +0 -0
  5. package/lib/_components/vm-appraisal-info/imgs/subtract.png +0 -0
  6. package/lib/_components/vm-appraisal-info/imgs/subtract_light.png +0 -0
  7. package/lib/_components/vm-appraisal-info/index.js +230 -0
  8. package/lib/_components/vm-appraisal-info/index.less +7 -0
  9. package/lib/_components/vm-bar-charts/index.js +1 -1
  10. package/lib/_components/vm-calendar/index.js +3 -4
  11. package/lib/_components/vm-card-statistics/index.less +27 -27
  12. package/lib/_components/vm-factor/index.js +2 -1
  13. package/lib/_components/vm-factor-list/index.less +11 -11
  14. package/lib/_components/vm-filter/index.js +8 -8
  15. package/lib/_components/vm-filter/style/index.less +7 -11
  16. package/lib/_components/vm-info-collection/index.js +3 -2
  17. package/lib/_components/vm-line-charts/index.js +4 -1
  18. package/lib/_components/vm-progress/index.js +2 -1
  19. package/lib/_components/vm-repair-maintain/index.js +34 -2
  20. package/lib/_components/vm-table/index.js +3 -3
  21. package/lib/_components/vm-tag/index.js +2 -1
  22. package/lib/_components/vm-title/index.js +2 -1
  23. package/lib/_components/vm-video/HistoryGrid.js +53 -3
  24. package/lib/_components/vm-video/RealtimeGrid.js +24 -3
  25. package/lib/_components/vm-video/index.js +99 -37
  26. package/lib/_components/vm-video/index.less +6 -2
  27. package/lib/_components/vm-wrapper/index.js +1 -1
  28. package/lib/_components/vm-wrapper/style/index.less +4 -2
  29. package/lib/_hooks/useGetChannels.js +20 -6
  30. package/lib/_service/index.js +7 -33
  31. package/lib/_util/http.js +32 -5
  32. package/lib/_util/index.js +6 -5
  33. package/lib/locales/en.json +140 -1
  34. package/lib/locales/zh-CN.json +142 -3
  35. package/lib/vtx-base-modal/Tabs/index.js +2 -1
  36. package/lib/vtx-base-modal/index.js +2 -1
  37. package/lib/vtx-car-modal/api.js +415 -25
  38. package/lib/vtx-car-modal/components/Info/index.js +1 -1
  39. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  40. package/lib/vtx-car-modal/content/Common/EleUse/index.js +218 -0
  41. package/lib/vtx-car-modal/content/Common/EleUse/index.less +19 -0
  42. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  43. package/lib/vtx-car-modal/content/Common/OilUse/index.js +230 -0
  44. package/lib/vtx-car-modal/content/Common/OilUse/index.less +19 -0
  45. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +376 -0
  46. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -0
  47. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  48. package/lib/vtx-car-modal/content/Common/WaterUse/index.js +201 -0
  49. package/lib/vtx-car-modal/content/Common/WaterUse/index.less +19 -0
  50. package/lib/vtx-car-modal/content/Common/index.js +9 -1
  51. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +2 -1
  52. package/lib/vtx-car-modal/imgs/czb_bg.png +0 -0
  53. package/lib/vtx-car-modal/imgs/czb_bg_dark.png +0 -0
  54. package/lib/vtx-car-modal/imgs/factor/bglyh.png +0 -0
  55. package/lib/vtx-car-modal/imgs/factor/bglyh_dark.png +0 -0
  56. package/lib/vtx-car-modal/imgs/factor/cdcs.png +0 -0
  57. package/lib/vtx-car-modal/imgs/factor/cdcs_dark.png +0 -0
  58. package/lib/vtx-car-modal/imgs/factor/cdje.png +0 -0
  59. package/lib/vtx-car-modal/imgs/factor/cdje_dark.png +0 -0
  60. package/lib/vtx-car-modal/imgs/factor/cdpc.png +0 -0
  61. package/lib/vtx-car-modal/imgs/factor/cdpc_dark.png +0 -0
  62. package/lib/vtx-car-modal/imgs/factor/dccdje.png +0 -0
  63. package/lib/vtx-car-modal/imgs/factor/dccdje_dark.png +0 -0
  64. package/lib/vtx-car-modal/imgs/factor/jscs.png +0 -0
  65. package/lib/vtx-car-modal/imgs/factor/jscs_dark.png +0 -0
  66. package/lib/vtx-car-modal/imgs/factor/jsje.png +0 -0
  67. package/lib/vtx-car-modal/imgs/factor/jsje_dark.png +0 -0
  68. package/lib/vtx-car-modal/imgs/factor/jsl.png +0 -0
  69. package/lib/vtx-car-modal/imgs/factor/jsl_dark.png +0 -0
  70. package/lib/vtx-car-modal/imgs/factor/jspc.png +0 -0
  71. package/lib/vtx-car-modal/imgs/factor/jspc_dark.png +0 -0
  72. package/lib/vtx-car-modal/imgs/factor/jycs.png +0 -0
  73. package/lib/vtx-car-modal/imgs/factor/jycs_dark.png +0 -0
  74. package/lib/vtx-car-modal/imgs/factor/jyje.png +0 -0
  75. package/lib/vtx-car-modal/imgs/factor/jyje_dark.png +0 -0
  76. package/lib/vtx-car-modal/imgs/factor/jyl.png +0 -0
  77. package/lib/vtx-car-modal/imgs/factor/jyl_dark.png +0 -0
  78. package/lib/vtx-car-modal/imgs/factor/ljwbcs.png +0 -0
  79. package/lib/vtx-car-modal/imgs/factor/ljwbcs_dark.png +0 -0
  80. package/lib/vtx-car-modal/imgs/factor/njzfy.png +0 -0
  81. package/lib/vtx-car-modal/imgs/factor/njzfy_dark.png +0 -0
  82. package/lib/vtx-car-modal/imgs/factor/qzxze.png +0 -0
  83. package/lib/vtx-car-modal/imgs/factor/qzxze_dark.png +0 -0
  84. package/lib/vtx-car-modal/imgs/factor/sgcs.png +0 -0
  85. package/lib/vtx-car-modal/imgs/factor/sgcs_dark.png +0 -0
  86. package/lib/vtx-car-modal/imgs/factor/sgfy.png +0 -0
  87. package/lib/vtx-car-modal/imgs/factor/sgfy_dark.png +0 -0
  88. package/lib/vtx-car-modal/imgs/factor/syxze.png +0 -0
  89. package/lib/vtx-car-modal/imgs/factor/syxze_dark.png +0 -0
  90. package/lib/vtx-car-modal/imgs/factor/wbzfy.png +0 -0
  91. package/lib/vtx-car-modal/imgs/factor/wbzfy_dark.png +0 -0
  92. package/lib/vtx-car-modal/imgs/factor/wzcs.png +0 -0
  93. package/lib/vtx-car-modal/imgs/factor/wzcs_dark.png +0 -0
  94. package/lib/vtx-car-modal/imgs/factor/wzkf.png +0 -0
  95. package/lib/vtx-car-modal/imgs/factor/wzkf_dark.png +0 -0
  96. package/lib/vtx-car-modal/imgs/factor/wzkfee.png +0 -0
  97. package/lib/vtx-car-modal/imgs/factor/wzkfee_dark.png +0 -0
  98. package/lib/vtx-car-modal/imgs/factor/xslc.png +0 -0
  99. package/lib/vtx-car-modal/imgs/factor/xslc_dark.png +0 -0
  100. package/lib/vtx-car-modal/imgs/factor/ydcb.png +0 -0
  101. package/lib/vtx-car-modal/imgs/factor/ydcb_dark.png +0 -0
  102. package/lib/vtx-car-modal/imgs/factor/yhcb.png +0 -0
  103. package/lib/vtx-car-modal/imgs/factor/yhcb_dark.png +0 -0
  104. package/lib/vtx-car-modal/imgs/factor/yscb.png +0 -0
  105. package/lib/vtx-car-modal/imgs/factor/yscb_dark.png +0 -0
  106. package/lib/vtx-car-modal/imgs/zjl.png +0 -0
  107. package/lib/vtx-car-modal/imgs/zjl_dark.png +0 -0
  108. package/lib/vtx-car-modal/index.js +31 -9
  109. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +3 -3
  110. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  111. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +2 -5
  112. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +7 -1
  113. package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +8 -4
  114. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +2 -2
  115. package/lib/vtx-cp-modal/index.js +12 -12
  116. package/lib/vtx-default-modal/index.js +7 -6
  117. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  118. package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +2 -2
  119. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +2 -2
  120. package/lib/vtx-df-modal/components/WorkCondition/Table.js +2 -2
  121. package/lib/vtx-df-modal/index.js +7 -15
  122. package/lib/vtx-kh-modal/components/Record/index.js +1 -205
  123. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  124. package/lib/vtx-restaurant-modal/components/Calendar/index.js +3 -3
  125. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +50 -33
  126. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +3 -3
  127. package/lib/vtx-road-modal/components/BaseInfo/Work.js +9 -1
  128. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +8 -1
  129. package/lib/vtx-road-modal/components/LaneCalendar/index.js +3 -0
  130. package/lib/vtx-road-modal/index.js +6 -3
  131. package/lib/vtx-road-modal/utils/url.js +12 -0
  132. package/lib/vtx-shxq-modal/api.js +2 -2
  133. package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +2 -2
  134. package/lib/vtx-shxq-modal/index.js +21 -4
  135. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +4 -1
  136. package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +2 -2
  137. package/lib/vtx-wr-modal/index.js +28 -7
  138. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +4 -1
  139. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +5 -4
  140. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +10 -5
  141. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +7 -6
  142. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +10 -5
  143. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +10 -5
  144. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +6 -5
  145. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +10 -5
  146. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +10 -5
  147. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +7 -6
  148. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +12 -7
  149. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +6 -5
  150. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +10 -5
  151. package/lib/vtx-zzz-modal/index.js +30 -24
  152. package/package.json +92 -92
@@ -3,14 +3,15 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
3
3
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
4
  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); }
5
5
  import { useMemo } from 'react';
6
+ import Appraisal from "../_components/vm-appraisal-info";
6
7
  import VmRepairMaintain from "../_components/vm-repair-maintain";
7
8
  import useGetChannels from "../_hooks/useGetChannels";
8
9
  import { BaseInfo as DefaultBaseInfo } from "../vtx-default-modal/components";
9
- import { BaseInfo, Calendar, Metering, WorkCondition } from "../vtx-df-modal/components";
10
+ import { BaseInfo, BaseInfoZdReborn, Calendar, CalendarZdReborn, Metering, MeteringZdReborn, WorkCondition } from "../vtx-df-modal/components";
10
11
  import { translateLocaleText } from "./../hooks/useTranslation.js";
11
12
  // import Appraisal from '../vm-appraisal-info';
12
13
  import VmCustom from "../_components/vm-custom";
13
- import VmVideo from "../_components/vm-video";
14
+ import VmVideo, { insertVideoTab } from "../_components/vm-video";
14
15
  import useGetConfig from "../_hooks/useGetConfig";
15
16
  import { CommonService } from "../_service";
16
17
  import VtxBaseModal from "../vtx-base-modal";
@@ -24,7 +25,7 @@ var TABS_VIDEO = 'video';
24
25
  var TABS_APPRAISAL = 'appraisal';
25
26
  var TABS_RM = 'rm';
26
27
  var TABS_Calendar = 'calendar';
27
- var VtxDfModal = function VtxDfModal(props) {
28
+ var VtxZzzModal = function VtxZzzModal(props) {
28
29
  var id = props.id,
29
30
  title = props.title,
30
31
  subTitle = props.subTitle,
@@ -38,7 +39,9 @@ var VtxDfModal = function VtxDfModal(props) {
38
39
  customMapInfo = props.customMapInfo,
39
40
  tabChose = props.tabChose,
40
41
  _props$showCollect = props.showCollect,
41
- showCollect = _props$showCollect === void 0 ? true : _props$showCollect;
42
+ showCollect = _props$showCollect === void 0 ? true : _props$showCollect,
43
+ _props$zdReborn = props.zdReborn,
44
+ zdReborn = _props$zdReborn === void 0 ? false : _props$zdReborn;
42
45
  var _CommonService$useBas = CommonService.useBaseInfo(id, (customMapInfo === null || customMapInfo === void 0 ? void 0 : customMapInfo.coordinate) || 'wgs84'),
43
46
  info = _CommonService$useBas.info,
44
47
  photos = _CommonService$useBas.photos;
@@ -47,18 +50,20 @@ var VtxDfModal = function VtxDfModal(props) {
47
50
  title: translateLocaleText("t('vtxdefaultmodal.overviewInformation')")
48
51
  }, {
49
52
  key: TABS_METERING,
50
- title: '计量信息'
53
+ title: translateLocaleText("t('vtxdfmodal.meteringInformation')")
51
54
  }, {
52
55
  key: TABS_WC,
53
- title: '工况信息'
56
+ title: translateLocaleText("t('vtxdfmodal.workConditionInformation')")
54
57
  }];
55
58
  var _useGetConfig = useGetConfig(info === null || info === void 0 ? void 0 : info.typeCode, tabs),
56
59
  tabsData = _useGetConfig.tabsData;
57
- var _CommonService$useLmD = CommonService.useLmDetail(id),
58
- detail = _CommonService$useLmD.detail;
60
+ var _CommonService = CommonService[zdReborn ? 'useLmDetailZdReborn' : 'useLmDetail'](id),
61
+ detail = _CommonService.detail;
59
62
  var _BaseService$useRealt = BaseService.useRealtimeMonitor(info === null || info === void 0 ? void 0 : info.code),
60
63
  realtimeMonitor = _BaseService$useRealt.realtimeMonitor;
61
- var _useGetChannels = useGetChannels("".concat(info === null || info === void 0 ? void 0 : info.typeCode, "_").concat(info === null || info === void 0 ? void 0 : info.code), !!(info !== null && info !== void 0 && info.typeCode)),
64
+ var _useGetChannels = useGetChannels("".concat(info === null || info === void 0 ? void 0 : info.typeCode, "_").concat(info === null || info === void 0 ? void 0 : info.code), !!(info !== null && info !== void 0 && info.typeCode) && (tabsData === null || tabsData === void 0 ? void 0 : tabsData.findIndex(function (ele) {
65
+ return ele.key === 'video';
66
+ })) > -1),
62
67
  channels = _useGetChannels.channels;
63
68
  // realtimeRes为空则无工况,beenWeigh为false则无计量
64
69
  var tabsList = useMemo(function () {
@@ -68,36 +73,37 @@ var VtxDfModal = function VtxDfModal(props) {
68
73
  return ele.key !== 'metering';
69
74
  });
70
75
  }
71
- if (tabsList.findIndex(function (ele) {
72
- return ele.key === 'video';
73
- }) > -1) {
74
- if ((channels === null || channels === void 0 ? void 0 : channels.length) < 1) {
75
- tabsList = tabsList.filter(function (ele) {
76
- return ele.key !== 'video';
77
- });
78
- }
79
- }
80
- return tabsList;
76
+ return insertVideoTab(tabsList, channels);
81
77
  }, [JSON.stringify(tabsData), JSON.stringify(channels), JSON.stringify(detail)]);
82
- var contents = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, TABS_BASE, !(detail !== null && detail !== void 0 && detail.beenWeigh) && !(realtimeMonitor !== null && realtimeMonitor !== void 0 && realtimeMonitor.length) ? /*#__PURE__*/_jsx(DefaultBaseInfo, {
78
+ var ZLBase = zdReborn ? BaseInfoZdReborn : BaseInfo;
79
+ var contents = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, TABS_BASE, !(detail !== null && detail !== void 0 && detail.beenWeigh) && !(realtimeMonitor !== null && realtimeMonitor !== void 0 && realtimeMonitor.length) ? /*#__PURE__*/_jsx(DefaultBaseInfo, {
83
80
  id: id,
84
81
  info: info,
85
82
  photos: photos,
86
83
  mapCenter: mapCenter,
87
84
  customMapInfo: customMapInfo
88
- }) : /*#__PURE__*/_jsx(BaseInfo, {
85
+ }) : /*#__PURE__*/_jsx(ZLBase, {
89
86
  code: info === null || info === void 0 ? void 0 : info.code,
90
87
  hasLm: detail === null || detail === void 0 ? void 0 : detail.beenWeigh,
91
88
  realtimeMonitor: realtimeMonitor,
92
89
  info: info,
93
90
  photos: photos
94
- })), TABS_METERING, /*#__PURE__*/_jsx(Metering, {
91
+ })), TABS_METERING, zdReborn ? /*#__PURE__*/_jsx(MeteringZdReborn, {
92
+ id: id,
93
+ deviceId: detail === null || detail === void 0 ? void 0 : detail.deviceId
94
+ }) : /*#__PURE__*/_jsx(Metering, {
95
95
  id: id
96
96
  })), TABS_WC, /*#__PURE__*/_jsx(WorkCondition, {
97
97
  id: id,
98
98
  code: info === null || info === void 0 ? void 0 : info.code
99
- })), TABS_Calendar, /*#__PURE__*/_jsx(Calendar, {
99
+ })), TABS_Calendar, zdReborn ? /*#__PURE__*/_jsx(CalendarZdReborn, {
100
+ code: info === null || info === void 0 ? void 0 : info.code,
101
+ deviceId: detail === null || detail === void 0 ? void 0 : detail.deviceId,
102
+ handleAbility: detail === null || detail === void 0 ? void 0 : detail.handleAbility
103
+ }) : /*#__PURE__*/_jsx(Calendar, {
100
104
  code: info === null || info === void 0 ? void 0 : info.code
105
+ })), TABS_APPRAISAL, /*#__PURE__*/_jsx(Appraisal, {
106
+ id: id
101
107
  })), TABS_RM, /*#__PURE__*/_jsx(VmRepairMaintain, {
102
108
  id: id
103
109
  })), TABS_VIDEO, /*#__PURE__*/_jsx(VmVideo, {
@@ -133,4 +139,4 @@ var VtxDfModal = function VtxDfModal(props) {
133
139
  })
134
140
  });
135
141
  };
136
- export default VtxDfModal;
142
+ export default VtxZzzModal;
package/package.json CHANGED
@@ -1,92 +1,92 @@
1
- {
2
- "name": "@vtx/modals2",
3
- "version": "6.0.0-beta.1",
4
- "description": "弹窗组件",
5
- "license": "MIT",
6
- "module": "lib/index.js",
7
- "types": "lib/index.d.ts",
8
- "files": [
9
- "lib"
10
- ],
11
- "scripts": {
12
- "build": "father build",
13
- "build:watch": "father dev",
14
- "dev": "dumi dev",
15
- "docs:build": "dumi build",
16
- "docs:preview": "dumi preview",
17
- "doctor": "father doctor",
18
- "lint": "npm run lint:es && npm run lint:css",
19
- "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
20
- "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
21
- "prepare": "husky install && dumi setup",
22
- "prepublishOnly": "npm run build",
23
- "start": "npm run dev"
24
- },
25
- "dependencies": {
26
- "@turf/turf": "^7.3.4",
27
- "ahooks": "^3.1.5",
28
- "axios": "^0.21.1",
29
- "base-64": "^1.0.0",
30
- "classnames": "^2.5.1",
31
- "dayjs": "^1.11.10",
32
- "echarts": "^5.3.2",
33
- "echarts-for-react": "3.0.2",
34
- "htmr": "^1.0.2",
35
- "lodash": "^4.17.21",
36
- "number-precision": "^1.6.0",
37
- "proj4": "^2.20.8",
38
- "qs": "^6.0.0",
39
- "react-tagcloud": "^2.3.3",
40
- "viewerjs": "^1.3.3"
41
- },
42
- "devDependencies": {
43
- "@ant-design/icons": "6.0.0",
44
- "@babel/preset-react": "^7.28.5",
45
- "@babel/runtime": "^7.6.3",
46
- "@commitlint/cli": "^17.1.2",
47
- "@commitlint/config-conventional": "^17.1.0",
48
- "@types/lodash": "^4.14.202",
49
- "@types/qs": "^6.9.11",
50
- "@types/react": "^18.0.0",
51
- "@types/react-dom": "^18.0.0",
52
- "@umijs/lint": "^4.0.0",
53
- "@vtx/components": "^4.0.0-beta.58",
54
- "@vtx/ol-map": "^2.0.0-beta.16",
55
- "@vtx/player": "latest",
56
- "@vtx/utils": "^1.0.20",
57
- "ol": "6.15.1",
58
- "antd": "6.0.0",
59
- "antd-dayjs-webpack-plugin": "^1.0.6",
60
- "babel-eslint": "^10.1.0",
61
- "babel-plugin-import": "^1.13.8",
62
- "dumi": "^2.2.13",
63
- "echarts-liquidfill": "^3.1.0",
64
- "eslint": "^8.23.0",
65
- "father": "^4.1.0",
66
- "husky": "^8.0.1",
67
- "lint-staged": "^13.0.3",
68
- "prettier": "^2.7.1",
69
- "prettier-plugin-organize-imports": "^3.0.0",
70
- "prettier-plugin-packagejson": "^2.2.18",
71
- "react": "18.0.0",
72
- "react-dom": "18.0.0",
73
- "stylelint": "^14.9.1",
74
- "@vtx/map-icon": "^2.0.62"
75
- },
76
- "peerDependencies": {
77
- "antd": ">=6",
78
- "@ant-design/icons": ">=6",
79
- "@vtx/components": ">=4.0.0-beta.0",
80
- "@vtx/map-icon": ">=2.0.0",
81
- "@vtx/ol-map": ">=2.0.0-beta.0",
82
- "@vtx/player": ">=1.0.0",
83
- "@vtx/utils": ">=1.0.20",
84
- "ol": ">=6.15.1",
85
- "react": ">=18",
86
- "react-dom": ">=18"
87
- },
88
- "publishConfig": {
89
- "access": "public"
90
- },
91
- "authors": []
92
- }
1
+ {
2
+ "name": "@vtx/modals2",
3
+ "version": "6.0.0-beta.11",
4
+ "description": "弹窗组件",
5
+ "license": "MIT",
6
+ "module": "lib/index.js",
7
+ "types": "lib/index.d.ts",
8
+ "files": [
9
+ "lib"
10
+ ],
11
+ "scripts": {
12
+ "build": "father build",
13
+ "build:watch": "father dev",
14
+ "dev": "dumi dev",
15
+ "docs:build": "dumi build",
16
+ "docs:preview": "dumi preview",
17
+ "doctor": "father doctor",
18
+ "lint": "npm run lint:es && npm run lint:css",
19
+ "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
20
+ "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
21
+ "prepare": "husky install && dumi setup",
22
+ "prepublishOnly": "npm run build",
23
+ "start": "npm run dev"
24
+ },
25
+ "dependencies": {
26
+ "@turf/turf": "^7.3.4",
27
+ "ahooks": "^3.1.5",
28
+ "axios": "^0.21.1",
29
+ "base-64": "^1.0.0",
30
+ "classnames": "^2.5.1",
31
+ "dayjs": "^1.11.10",
32
+ "echarts": "^5.3.2",
33
+ "echarts-for-react": "3.0.2",
34
+ "htmr": "^1.0.2",
35
+ "lodash": "^4.17.21",
36
+ "number-precision": "^1.6.0",
37
+ "proj4": "^2.20.8",
38
+ "qs": "^6.0.0",
39
+ "react-tagcloud": "^2.3.3",
40
+ "viewerjs": "^1.3.3"
41
+ },
42
+ "devDependencies": {
43
+ "@ant-design/icons": "6.0.0",
44
+ "@babel/preset-react": "^7.28.5",
45
+ "@babel/runtime": "^7.6.3",
46
+ "@commitlint/cli": "^17.1.2",
47
+ "@commitlint/config-conventional": "^17.1.0",
48
+ "@types/lodash": "^4.14.202",
49
+ "@types/qs": "^6.9.11",
50
+ "@types/react": "^18.0.0",
51
+ "@types/react-dom": "^18.0.0",
52
+ "@umijs/lint": "^4.0.0",
53
+ "@vtx/components": "^4.0.0-beta.58",
54
+ "@vtx/map-icon": "^2.0.62",
55
+ "@vtx/ol-map": "^2.0.0-beta.16",
56
+ "@vtx/player": "^1.12.7",
57
+ "@vtx/utils": "^1.0.20",
58
+ "antd": "6.0.0",
59
+ "antd-dayjs-webpack-plugin": "^1.0.6",
60
+ "babel-eslint": "^10.1.0",
61
+ "babel-plugin-import": "^1.13.8",
62
+ "dumi": "^2.2.13",
63
+ "echarts-liquidfill": "^3.1.0",
64
+ "eslint": "^8.23.0",
65
+ "father": "^4.1.0",
66
+ "husky": "^8.0.1",
67
+ "lint-staged": "^13.0.3",
68
+ "ol": "6.15.1",
69
+ "prettier": "^2.7.1",
70
+ "prettier-plugin-organize-imports": "^3.0.0",
71
+ "prettier-plugin-packagejson": "^2.2.18",
72
+ "react": "18.0.0",
73
+ "react-dom": "18.0.0",
74
+ "stylelint": "^14.9.1"
75
+ },
76
+ "peerDependencies": {
77
+ "@ant-design/icons": ">=6",
78
+ "@vtx/components": ">=4.0.0-beta.0",
79
+ "@vtx/map-icon": ">=2.0.0",
80
+ "@vtx/ol-map": ">=2.0.0-beta.0",
81
+ "@vtx/player": ">=1.0.0",
82
+ "@vtx/utils": ">=1.0.20",
83
+ "antd": ">=6",
84
+ "ol": ">=6.15.1",
85
+ "react": ">=18",
86
+ "react-dom": ">=18"
87
+ },
88
+ "publishConfig": {
89
+ "access": "public"
90
+ },
91
+ "authors": []
92
+ }