@zgfe/modules-dm 1.0.57-zhongyuan.53 → 1.0.57-zhongyuan.54
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.
|
@@ -304,9 +304,10 @@ var AddFormulate = function AddFormulate(_ref) {
|
|
|
304
304
|
})) {
|
|
305
305
|
return true;
|
|
306
306
|
}
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
// 值类型也限制了
|
|
308
|
+
// if (isAllTypeIncluded(type, dataSource)) {
|
|
309
|
+
// return true;
|
|
310
|
+
// }
|
|
310
311
|
return false;
|
|
311
312
|
};
|
|
312
313
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -76,9 +76,9 @@ var AddRule = function AddRule(_ref) {
|
|
|
76
76
|
disabled: true
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
|
-
if (allDataSource === null || allDataSource === void 0 ? void 0 : allDataSource.find(function (k) {
|
|
79
|
+
if ((allDataSource === null || allDataSource === void 0 ? void 0 : allDataSource.find(function (k) {
|
|
80
80
|
return k.currentType == o.value;
|
|
81
|
-
})) {
|
|
81
|
+
})) && o.value != 1) {
|
|
82
82
|
return _objectSpread(_objectSpread({}, o), {}, {
|
|
83
83
|
disabled: true
|
|
84
84
|
});
|
package/package.json
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.57-zhongyuan.
|
|
4
|
-
"license": "ISC",
|
|
5
|
-
"module": "es/index.js",
|
|
6
|
-
"typings": "es/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"es"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "father-build",
|
|
12
|
-
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
13
|
-
"docs:build": "dumi build",
|
|
14
|
-
"docs:deploy": "gh-pages -d docs-dist",
|
|
15
|
-
"prepublishOnly": "npm run build",
|
|
16
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
17
|
-
"pub": "lerna publish",
|
|
18
|
-
"start": "dumi dev",
|
|
19
|
-
"test": "umi-test",
|
|
20
|
-
"test:coverage": "umi-test --coverage"
|
|
21
|
-
},
|
|
22
|
-
"lint-staged": {
|
|
23
|
-
"*.{js,jsx,less,md,json}": [
|
|
24
|
-
"prettier --write"
|
|
25
|
-
],
|
|
26
|
-
"*.ts?(x)": [
|
|
27
|
-
"prettier --parser=typescript --write"
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@types/lodash-es": "^4.17.12",
|
|
32
|
-
"@visactor/react-vtable": "^1.12.0",
|
|
33
|
-
"@visactor/vtable": "^1.12.0",
|
|
34
|
-
"array-move": "^4.0.0",
|
|
35
|
-
"echarts": "^5.6.0",
|
|
36
|
-
"echarts-for-react": "^3.0.2",
|
|
37
|
-
"lodash-es": "^4.17.21",
|
|
38
|
-
"moment": "^2.30.1",
|
|
39
|
-
"react": "^16.12.0 || ^17.0.0",
|
|
40
|
-
"react-sortable-hoc": "^2.0.0"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
|
-
"@testing-library/jest-dom": "^5.15.1",
|
|
44
|
-
"@testing-library/react": "^12.1.2",
|
|
45
|
-
"@types/jest": "^27.0.3",
|
|
46
|
-
"@types/lodash": "^4.14.182",
|
|
47
|
-
"@umijs/fabric": "^2.8.1",
|
|
48
|
-
"@umijs/test": "^3.0.5",
|
|
49
|
-
"@zgfe/business-lib": "1.2.70-hxd.1",
|
|
50
|
-
"antd": "4.24.10",
|
|
51
|
-
"dumi": "^1.1.0",
|
|
52
|
-
"father-build": "^1.17.2",
|
|
53
|
-
"gh-pages": "^3.0.0",
|
|
54
|
-
"lerna": "^4.0.0",
|
|
55
|
-
"lint-staged": "^10.0.7",
|
|
56
|
-
"prettier": "^2.2.1",
|
|
57
|
-
"umi-request": "^1.4.0",
|
|
58
|
-
"yorkie": "^2.0.0"
|
|
59
|
-
},
|
|
60
|
-
"gitHead": "
|
|
61
|
-
"gitHooks": {
|
|
62
|
-
"pre-commit": "lint-staged"
|
|
63
|
-
}
|
|
64
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@zgfe/modules-dm",
|
|
3
|
+
"version": "1.0.57-zhongyuan.54",
|
|
4
|
+
"license": "ISC",
|
|
5
|
+
"module": "es/index.js",
|
|
6
|
+
"typings": "es/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"es"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "father-build",
|
|
12
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
13
|
+
"docs:build": "dumi build",
|
|
14
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
|
15
|
+
"prepublishOnly": "npm run build",
|
|
16
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
17
|
+
"pub": "lerna publish",
|
|
18
|
+
"start": "dumi dev",
|
|
19
|
+
"test": "umi-test",
|
|
20
|
+
"test:coverage": "umi-test --coverage"
|
|
21
|
+
},
|
|
22
|
+
"lint-staged": {
|
|
23
|
+
"*.{js,jsx,less,md,json}": [
|
|
24
|
+
"prettier --write"
|
|
25
|
+
],
|
|
26
|
+
"*.ts?(x)": [
|
|
27
|
+
"prettier --parser=typescript --write"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@types/lodash-es": "^4.17.12",
|
|
32
|
+
"@visactor/react-vtable": "^1.12.0",
|
|
33
|
+
"@visactor/vtable": "^1.12.0",
|
|
34
|
+
"array-move": "^4.0.0",
|
|
35
|
+
"echarts": "^5.6.0",
|
|
36
|
+
"echarts-for-react": "^3.0.2",
|
|
37
|
+
"lodash-es": "^4.17.21",
|
|
38
|
+
"moment": "^2.30.1",
|
|
39
|
+
"react": "^16.12.0 || ^17.0.0",
|
|
40
|
+
"react-sortable-hoc": "^2.0.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@testing-library/jest-dom": "^5.15.1",
|
|
44
|
+
"@testing-library/react": "^12.1.2",
|
|
45
|
+
"@types/jest": "^27.0.3",
|
|
46
|
+
"@types/lodash": "^4.14.182",
|
|
47
|
+
"@umijs/fabric": "^2.8.1",
|
|
48
|
+
"@umijs/test": "^3.0.5",
|
|
49
|
+
"@zgfe/business-lib": "1.2.70-hxd.1",
|
|
50
|
+
"antd": "4.24.10",
|
|
51
|
+
"dumi": "^1.1.0",
|
|
52
|
+
"father-build": "^1.17.2",
|
|
53
|
+
"gh-pages": "^3.0.0",
|
|
54
|
+
"lerna": "^4.0.0",
|
|
55
|
+
"lint-staged": "^10.0.7",
|
|
56
|
+
"prettier": "^2.2.1",
|
|
57
|
+
"umi-request": "^1.4.0",
|
|
58
|
+
"yorkie": "^2.0.0"
|
|
59
|
+
},
|
|
60
|
+
"gitHead": "9ead8ae23d0760c49387a7f3074d22ca05cfa51b",
|
|
61
|
+
"gitHooks": {
|
|
62
|
+
"pre-commit": "lint-staged"
|
|
63
|
+
}
|
|
64
|
+
}
|