nxd-plugin 1.2.1 → 1.2.3

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 (26) hide show
  1. package/dist/chunks/{component-HighWayEarlyWarningRed-CWoyTkXq.mjs → component-HighWayEarlyWarningRed-y3S7s_i8.mjs} +9 -30
  2. package/dist/chunks/component-HighWayFreeze-C6Uy8M-5.mjs +4683 -0
  3. package/dist/chunks/{component-HighwayLiveAlarm-HFw2weyT.mjs → component-HighwayLiveAlarm-r5a9cFtU.mjs} +10939 -15470
  4. package/dist/chunks/component-HighwayLiveAlarmNew-C5Xxs3tk.mjs +32795 -0
  5. package/dist/chunks/{component-HighwayStations-qZJR8_Oq.mjs → component-HighwayStations-B6ZKiKT3.mjs} +21 -20
  6. package/dist/chunks/{component-HighwayWeatherForecast-DFuLAow_.mjs → component-HighwayWeatherForecast-b3jFSmt2.mjs} +4 -3
  7. package/dist/chunks/{component-ServiceMaterialsBtn-DY7vnsHN.mjs → component-ServiceMaterialsBtn-FCFnBAfM.mjs} +339 -338
  8. package/dist/chunks/component-YCHome-DXj1KN3G.mjs +2295 -0
  9. package/dist/chunks/{component-YCLogin-XOcbfbD9.mjs → component-YCLogin-4NFYZI0q.mjs} +8 -8
  10. package/dist/chunks/component-YCLoginNew-CfJBjOYb.mjs +137 -0
  11. package/dist/components/HighWayEarlyWarningRed/default.json.d.ts +9 -30
  12. package/dist/components/HighwayLiveAlarmNew/default.json.d.ts +31945 -0
  13. package/dist/nxd-plugin.mjs +13 -10
  14. package/dist/src/components/HighWayFreeze/HighWayFreeze.vue.d.ts +6 -0
  15. package/dist/src/components/HighwayLiveAlarmNew/HighwayLiveAlarmNew.vue.d.ts +98 -0
  16. package/dist/src/components/YCLoginNew/YCLoginNew.vue.d.ts +4 -0
  17. package/dist/src/index.d.ts +4 -1
  18. package/dist/styles/component-HighWayEarlyWarningRed.css +1 -1
  19. package/dist/styles/component-HighWayFreeze.css +1 -0
  20. package/dist/styles/component-HighwayLiveAlarm.css +1 -1
  21. package/dist/styles/component-HighwayLiveAlarmNew.css +1 -0
  22. package/dist/styles/component-YCLogin.css +1 -1
  23. package/dist/styles/component-YCLoginNew.css +1 -0
  24. package/package.json +1 -1
  25. package/readme.md +27 -3
  26. package/dist/chunks/component-YCHome-ADka3_Ox.mjs +0 -2294
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nxd-plugin",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "main": "dist/nxd-plugin.mjs",
5
5
  "module": "dist/nxd-plugin.mjs",
6
6
  "types": "dist/src/index.d.ts",
package/readme.md CHANGED
@@ -1,3 +1,5 @@
1
+ [toc]
2
+
1
3
  # 固定参数
2
4
 
3
5
  | 参数 | 类型 | 说明 |
@@ -11,13 +13,27 @@
11
13
  | dataInterfaceIsFormData | boolean | 数据接口参数是否为formData |
12
14
  | dataInterfaceParams | object | 数据接口参数 |
13
15
 
16
+
17
+
14
18
  # 统一事件
15
19
 
16
20
  ```js
17
- emit('close','组件名(组件最外层的class名)') // 关闭组件
18
- emit('openPagePop', { title:'', url:'' }) // 页面iframe弹窗
21
+ emit('close','组件名(组件最外层的class名,一般与组件名报纸一致)') // 关闭组件
22
+ emit('openPagePop', { title:string, url:string }) // 页面iframe弹窗
23
+ emit('toPage', string) // 跳转页面 router.push
24
+ emit('changeTopBarTitle', string) // 改变顶部菜单栏标题
25
+
26
+ // 地图相关 start
27
+ emit('addMarker', { mapMarker:object, removeMarker:string }) // 添加marker
28
+ emit('removeMarker', string) // 移除marker
29
+ emit('addLayers', { layers:object, isRemove:boolean }) // 添加图层
30
+ emit('removeLayers', array) // 移除图层
31
+ emit('changeMapView', object) // 改变视野
32
+ // 地图相关 end
19
33
  ```
20
34
 
35
+
36
+
21
37
  # 组件列表
22
38
 
23
39
  ## 高速公路实况报警
@@ -29,4 +45,12 @@ HighwayLiveAlarm
29
45
  ```
30
46
 
31
47
  组件截图
32
- addLayers
48
+
49
+ <img src="src/assets/img/readme/沿线高速公路实况报警.png" alt="沿线高速公路实况报警" width="300px" style="display:block; margin-left:0; margin-right:auto;" />
50
+
51
+ 对外事件
52
+
53
+ - close
54
+ - addMarker
55
+ - addLayers
56
+ - removeLayers