@signalplus/params-about 0.1.29 → 0.1.32
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/es/index.js +3 -3
- package/package.json +5 -2
package/lib/es/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Bundle of @signalplus/params-about
|
|
3
|
-
* Generated: 2022-04-
|
|
4
|
-
* Version: 0.1.
|
|
3
|
+
* Generated: 2022-04-13
|
|
4
|
+
* Version: 0.1.32
|
|
5
5
|
* License: MIT
|
|
6
6
|
* Author: 2631541504@qq.com
|
|
7
7
|
*/
|
|
@@ -2120,7 +2120,7 @@ _defineProperty(ParamGroupEditorModal, "el", new ReactGlobalComp('param-group-ed
|
|
|
2120
2120
|
|
|
2121
2121
|
function genOptions(props) {
|
|
2122
2122
|
var _props$maxLevel = props.maxLevel,
|
|
2123
|
-
maxLevel = _props$maxLevel === void 0 ?
|
|
2123
|
+
maxLevel = _props$maxLevel === void 0 ? 4 : _props$maxLevel;
|
|
2124
2124
|
|
|
2125
2125
|
var filter = function filter(it, level) {
|
|
2126
2126
|
return it.valueType === ParamType.ParamGroup && level < maxLevel;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signalplus/params-about",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.32",
|
|
4
4
|
"description": "A description for the module",
|
|
5
5
|
"main": "./lib/umd/index.js",
|
|
6
6
|
"module": "./lib/es/index.js",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"build:css": "cross-env NODE_ENV=production node-sass ./src/css/index.scss ./lib/css/index.css --output-style compressed && ncp ./src/css ./lib/css",
|
|
11
11
|
"build:js": "cross-env NODE_ENV=production rollup -c",
|
|
12
12
|
"build:dts": "cross-env NODE_ENV=production BUILD_ENV=dts rollup -c",
|
|
13
|
-
"dev": "
|
|
13
|
+
"dev": "rm -rf ./lib && cross-env BUILD_ENV=watch node watch.js",
|
|
14
14
|
"build": "rimraf ./lib && npm run build:css && npm run build:js && npm run build:dts",
|
|
15
15
|
"build:test": "rimraf ./test-lib && cross-env NODE_ENV=test rollup -c rollup.config.test.js --sourcemap",
|
|
16
16
|
"test": "npm run build:test && cross-env NODE_ENV=test istanbul cover node_modules/mocha/bin/_mocha -- ./test",
|
|
@@ -87,5 +87,8 @@
|
|
|
87
87
|
"dayjs": "^1.11.0",
|
|
88
88
|
"lodash-es": "^4.17.21",
|
|
89
89
|
"react-global-comp": "^2.0.1"
|
|
90
|
+
},
|
|
91
|
+
"dependencies": {
|
|
92
|
+
"rimraf": "^3.0.2"
|
|
90
93
|
}
|
|
91
94
|
}
|