nxd-plugin 1.1.7 → 1.1.9
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/chunks/component-HighWayEarlyWarningRed-BxDmSWic.mjs +37054 -0
- package/dist/chunks/component-HighwayLiveAlarm-DQJF03St.mjs +76774 -0
- package/dist/chunks/component-HighwayStations-CE0cXytl.mjs +37206 -0
- package/dist/chunks/component-HighwayWeatherForecast-DQFiYeAM.mjs +32227 -0
- package/dist/chunks/component-ServiceMaterialsBtn-F6QpPgWS.mjs +1524 -0
- package/dist/chunks/component-YCHome-oGXXKCot.mjs +2294 -0
- package/dist/chunks/component-YCLogin-D4siirnM.mjs +137 -0
- package/dist/chunks/rolldown-runtime-Dd0fQ6-X.mjs +23 -0
- package/dist/nxd-plugin.mjs +7 -7
- package/dist/styles/component-HighwayStations.css +1 -1
- package/dist/styles/component-YCHome.css +1 -1
- package/dist/styles/component-YCLogin.css +1 -1
- package/package.json +3 -4
- package/readme.md +4 -5
- package/dist/chunks/component-HighWayEarlyWarningRed.js +0 -10
- package/dist/chunks/component-HighwayLiveAlarm.js +0 -54
- package/dist/chunks/component-HighwayStations.js +0 -20
- package/dist/chunks/component-HighwayWeatherForecast.js +0 -1
- package/dist/chunks/component-ServiceMaterialsBtn.js +0 -1
- package/dist/chunks/component-YCHome.js +0 -12
- package/dist/chunks/component-YCLogin.js +0 -1
- package/dist/chunks/rolldown-runtime.js +0 -1
- package/dist/nxd-plugin.cjs +0 -1
package/package.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nxd-plugin",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"main": "dist/nxd-plugin.
|
|
3
|
+
"version": "1.1.9",
|
|
4
|
+
"main": "dist/nxd-plugin.mjs",
|
|
5
5
|
"module": "dist/nxd-plugin.mjs",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
7
7
|
"style": "dist/styles/index.css",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/src/index.d.ts",
|
|
11
|
-
"import": "./dist/nxd-plugin.mjs"
|
|
12
|
-
"require": "./dist/nxd-plugin.cjs"
|
|
11
|
+
"import": "./dist/nxd-plugin.mjs"
|
|
13
12
|
},
|
|
14
13
|
"./style": "./dist/styles/index.css",
|
|
15
14
|
"./styles/*": "./dist/styles/*",
|
package/readme.md
CHANGED
|
@@ -3,20 +3,19 @@
|
|
|
3
3
|
| 参数 | 类型 | 说明 |
|
|
4
4
|
| :----------------------- | :------ | :--------------------- |
|
|
5
5
|
| tokenInterface | string | token接口地址(不传则不调用token) |
|
|
6
|
-
| tokenInterfaceParams
|
|
6
|
+
| tokenInterfaceParams | object | token接口参数 |
|
|
7
7
|
| tokenInterfaceType | string | token接口请求方式 |
|
|
8
8
|
| tokenInterfaceIsFormData | boolean | token接口参数是否为formData |
|
|
9
9
|
| dataInterface | string | 数据接口地址 |
|
|
10
10
|
| dataInterfaceType | string | 数据接口请求方式 |
|
|
11
11
|
| dataInterfaceIsFormData | boolean | 数据接口参数是否为formData |
|
|
12
|
-
| dataInterfaceParams
|
|
12
|
+
| dataInterfaceParams | object | 数据接口参数 |
|
|
13
13
|
|
|
14
14
|
# 统一事件
|
|
15
15
|
|
|
16
|
-
- 关闭组件
|
|
17
|
-
|
|
18
16
|
```js
|
|
19
|
-
emit('close','组件名(组件最外层的class名)')
|
|
17
|
+
emit('close','组件名(组件最外层的class名)') // 关闭组件
|
|
18
|
+
emit('openPagePop', { title:'', url:'' }) // 页面iframe弹窗
|
|
20
19
|
```
|
|
21
20
|
|
|
22
21
|
# 组件列表
|