strategy-panel 1.0.8 → 1.0.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.
|
@@ -110,6 +110,8 @@ export var getFormatComponent = function getFormatComponent(data, viewMode) {
|
|
|
110
110
|
className: "no-margin-bottom"
|
|
111
111
|
}, /*#__PURE__*/React.createElement(Select, {
|
|
112
112
|
mode: mode,
|
|
113
|
+
optionFilterProp: "label",
|
|
114
|
+
showSearch: true,
|
|
113
115
|
maxTagCount: "responsive",
|
|
114
116
|
disabled: viewMode === 'view' ? true : disabled
|
|
115
117
|
}, selectData === null || selectData === void 0 ? void 0 : selectData.map(function (item) {
|
|
@@ -112,6 +112,8 @@ var getFormatComponent = exports.getFormatComponent = function getFormatComponen
|
|
|
112
112
|
className: "no-margin-bottom"
|
|
113
113
|
}, /*#__PURE__*/_react.default.createElement(_antd.Select, {
|
|
114
114
|
mode: mode,
|
|
115
|
+
optionFilterProp: "label",
|
|
116
|
+
showSearch: true,
|
|
115
117
|
maxTagCount: "responsive",
|
|
116
118
|
disabled: viewMode === 'view' ? true : disabled
|
|
117
119
|
}, selectData === null || selectData === void 0 ? void 0 : selectData.map(function (item) {
|
package/package.json
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "strategy-panel",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"start": "dumi dev",
|
|
6
|
-
"docs:build": "dumi build",
|
|
7
|
-
"docs:deploy": "gh-pages -d docs-dist",
|
|
8
|
-
"dev": "father dev",
|
|
9
|
-
"build": "father build",
|
|
10
|
-
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
11
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
12
|
-
"test": "umi-test",
|
|
13
|
-
"test:coverage": "umi-test --coverage",
|
|
14
|
-
"prepublishOnly": "npm run build"
|
|
15
|
-
},
|
|
16
|
-
"module": "es/index.js",
|
|
17
|
-
"typings": "es/index.d.ts",
|
|
18
|
-
"lint-staged": {
|
|
19
|
-
"*.{js,jsx,json}": [
|
|
20
|
-
"prettier --write"
|
|
21
|
-
],
|
|
22
|
-
"*.ts?(x)": [
|
|
23
|
-
"prettier --parser=typescript --write"
|
|
24
|
-
]
|
|
25
|
-
},
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"@ant-design/icons": "4.8.1",
|
|
28
|
-
"@antv/x6": "1.34.6",
|
|
29
|
-
"@antv/x6-react-components": "1.1.20",
|
|
30
|
-
"@antv/x6-react-shape": "1.6.5",
|
|
31
|
-
"@types/lodash-es": "4.17.6",
|
|
32
|
-
"@types/marked": "3.0.3",
|
|
33
|
-
"@types/node": "17.0.45",
|
|
34
|
-
"antd": "4.24.15",
|
|
35
|
-
"classnames": "2.3.1",
|
|
36
|
-
"dompurify": "2.4.1",
|
|
37
|
-
"immer": "9.0.16",
|
|
38
|
-
"marked": "3.0.8",
|
|
39
|
-
"moment": "2.29.4",
|
|
40
|
-
"react": "16.14.0",
|
|
41
|
-
"react-dnd": "11.1.3",
|
|
42
|
-
"react-dnd-html5-backend": "11.1.3",
|
|
43
|
-
"react-dom": "16.14.0",
|
|
44
|
-
"react-svg": "14.1.9"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@testing-library/jest-dom": "5.16.5",
|
|
48
|
-
"@testing-library/react": "12.1.5",
|
|
49
|
-
"@types/jest": "^27.0.3",
|
|
50
|
-
"@umijs/fabric": "^2.8.1",
|
|
51
|
-
"@umijs/test": "^3.0.5",
|
|
52
|
-
"@umijs/yorkie": "2.0.5",
|
|
53
|
-
"babel-plugin-import": "1.13.5",
|
|
54
|
-
"babel-plugin-module-resolver": "4.1.0",
|
|
55
|
-
"babel-plugin-react-css-modules": "5.2.6",
|
|
56
|
-
"babel-plugin-transform-remove-console": "6.9.4",
|
|
57
|
-
"dumi": "1.1.54",
|
|
58
|
-
"eslint": "7.32.0",
|
|
59
|
-
"eslint-plugin-react": "7.31.10",
|
|
60
|
-
"father": "4.1.0",
|
|
61
|
-
"gh-pages": "3.2.3",
|
|
62
|
-
"lint-staged": "10.5.4",
|
|
63
|
-
"prettier": "2.7.1",
|
|
64
|
-
"umi-lint": "2.0.2",
|
|
65
|
-
"yorkie": "2.0.0"
|
|
66
|
-
},
|
|
67
|
-
"license": "MIT"
|
|
68
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "strategy-panel",
|
|
3
|
+
"version": "1.0.9",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"start": "dumi dev",
|
|
6
|
+
"docs:build": "dumi build",
|
|
7
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
|
8
|
+
"dev": "father dev",
|
|
9
|
+
"build": "father build",
|
|
10
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
11
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
12
|
+
"test": "umi-test",
|
|
13
|
+
"test:coverage": "umi-test --coverage",
|
|
14
|
+
"prepublishOnly": "npm run build"
|
|
15
|
+
},
|
|
16
|
+
"module": "es/index.js",
|
|
17
|
+
"typings": "es/index.d.ts",
|
|
18
|
+
"lint-staged": {
|
|
19
|
+
"*.{js,jsx,json}": [
|
|
20
|
+
"prettier --write"
|
|
21
|
+
],
|
|
22
|
+
"*.ts?(x)": [
|
|
23
|
+
"prettier --parser=typescript --write"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@ant-design/icons": "4.8.1",
|
|
28
|
+
"@antv/x6": "1.34.6",
|
|
29
|
+
"@antv/x6-react-components": "1.1.20",
|
|
30
|
+
"@antv/x6-react-shape": "1.6.5",
|
|
31
|
+
"@types/lodash-es": "4.17.6",
|
|
32
|
+
"@types/marked": "3.0.3",
|
|
33
|
+
"@types/node": "17.0.45",
|
|
34
|
+
"antd": "4.24.15",
|
|
35
|
+
"classnames": "2.3.1",
|
|
36
|
+
"dompurify": "2.4.1",
|
|
37
|
+
"immer": "9.0.16",
|
|
38
|
+
"marked": "3.0.8",
|
|
39
|
+
"moment": "2.29.4",
|
|
40
|
+
"react": "16.14.0",
|
|
41
|
+
"react-dnd": "11.1.3",
|
|
42
|
+
"react-dnd-html5-backend": "11.1.3",
|
|
43
|
+
"react-dom": "16.14.0",
|
|
44
|
+
"react-svg": "14.1.9"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@testing-library/jest-dom": "5.16.5",
|
|
48
|
+
"@testing-library/react": "12.1.5",
|
|
49
|
+
"@types/jest": "^27.0.3",
|
|
50
|
+
"@umijs/fabric": "^2.8.1",
|
|
51
|
+
"@umijs/test": "^3.0.5",
|
|
52
|
+
"@umijs/yorkie": "2.0.5",
|
|
53
|
+
"babel-plugin-import": "1.13.5",
|
|
54
|
+
"babel-plugin-module-resolver": "4.1.0",
|
|
55
|
+
"babel-plugin-react-css-modules": "5.2.6",
|
|
56
|
+
"babel-plugin-transform-remove-console": "6.9.4",
|
|
57
|
+
"dumi": "1.1.54",
|
|
58
|
+
"eslint": "7.32.0",
|
|
59
|
+
"eslint-plugin-react": "7.31.10",
|
|
60
|
+
"father": "4.1.0",
|
|
61
|
+
"gh-pages": "3.2.3",
|
|
62
|
+
"lint-staged": "10.5.4",
|
|
63
|
+
"prettier": "2.7.1",
|
|
64
|
+
"umi-lint": "2.0.2",
|
|
65
|
+
"yorkie": "2.0.0"
|
|
66
|
+
},
|
|
67
|
+
"license": "MIT"
|
|
68
|
+
}
|