wargerm 0.6.9 → 0.6.10
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/index.esm.js +6 -2
- package/dist/index.js +6 -2
- package/package.json +92 -92
package/dist/index.esm.js
CHANGED
@@ -1533,7 +1533,11 @@ var WSelect = function WSelect(props) {
|
|
1533
1533
|
return /*#__PURE__*/React.createElement(_Select, _objectSpread2({
|
1534
1534
|
showSearch: true,
|
1535
1535
|
filterOption: function filterOption(input, option) {
|
1536
|
-
|
1536
|
+
var _ref3;
|
1537
|
+
|
1538
|
+
var children = option.children,
|
1539
|
+
label = option.label;
|
1540
|
+
return ((_ref3 = children || label) === null || _ref3 === void 0 ? void 0 : _ref3.toLowerCase().indexOf(input === null || input === void 0 ? void 0 : input.toLowerCase())) >= 0;
|
1537
1541
|
}
|
1538
1542
|
}, extraProps), request ? childrenNode : valueEnum ? valueEnumList : children);
|
1539
1543
|
};
|
@@ -6635,7 +6639,7 @@ function Xgplay(_ref, fRef) {
|
|
6635
6639
|
setRef(null);
|
6636
6640
|
playerRef.current = null;
|
6637
6641
|
};
|
6638
|
-
}, []);
|
6642
|
+
}, [type]);
|
6639
6643
|
useImperativeHandle(fRef, function () {
|
6640
6644
|
return {
|
6641
6645
|
player: playerRef.current
|
package/dist/index.js
CHANGED
@@ -1598,7 +1598,11 @@ var WSelect = function WSelect(props) {
|
|
1598
1598
|
return /*#__PURE__*/React__default['default'].createElement(_Select__default['default'], _objectSpread2({
|
1599
1599
|
showSearch: true,
|
1600
1600
|
filterOption: function filterOption(input, option) {
|
1601
|
-
|
1601
|
+
var _ref3;
|
1602
|
+
|
1603
|
+
var children = option.children,
|
1604
|
+
label = option.label;
|
1605
|
+
return ((_ref3 = children || label) === null || _ref3 === void 0 ? void 0 : _ref3.toLowerCase().indexOf(input === null || input === void 0 ? void 0 : input.toLowerCase())) >= 0;
|
1602
1606
|
}
|
1603
1607
|
}, extraProps), request ? childrenNode : valueEnum ? valueEnumList : children);
|
1604
1608
|
};
|
@@ -6700,7 +6704,7 @@ function Xgplay(_ref, fRef) {
|
|
6700
6704
|
setRef(null);
|
6701
6705
|
playerRef.current = null;
|
6702
6706
|
};
|
6703
|
-
}, []);
|
6707
|
+
}, [type]);
|
6704
6708
|
React.useImperativeHandle(fRef, function () {
|
6705
6709
|
return {
|
6706
6710
|
player: playerRef.current
|
package/package.json
CHANGED
@@ -1,92 +1,92 @@
|
|
1
|
-
{
|
2
|
-
"private": false,
|
3
|
-
"name": "wargerm",
|
4
|
-
"version": "0.6.
|
5
|
-
"scripts": {
|
6
|
-
"dev": "dumi dev",
|
7
|
-
"docs:build": "dumi build",
|
8
|
-
"docs:deploy": "gh-pages -d docs-dist",
|
9
|
-
"build": "father-build",
|
10
|
-
"deploy": "npm run docs:build && npm run docs:deploy",
|
11
|
-
"release": "npm run build && npm publish",
|
12
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
13
|
-
"test": "umi-test",
|
14
|
-
"test:coverage": "umi-test --coverage"
|
15
|
-
},
|
16
|
-
"main": "dist/index.js",
|
17
|
-
"module": "dist/index.esm.js",
|
18
|
-
"unpkg": "dist/index.umd.min.js",
|
19
|
-
"typings": "dist/index.d.ts",
|
20
|
-
"author": "jinly2",
|
21
|
-
"license": "MIT",
|
22
|
-
"keywords": [
|
23
|
-
"React",
|
24
|
-
"Component"
|
25
|
-
],
|
26
|
-
"gitHooks": {
|
27
|
-
"pre-commit": "lint-staged"
|
28
|
-
},
|
29
|
-
"repository": {
|
30
|
-
"type": "git",
|
31
|
-
"url": "http://code.eblssmart.com/platform/web/wargerm-components.git",
|
32
|
-
"branch": "main"
|
33
|
-
},
|
34
|
-
"files": [
|
35
|
-
"dist",
|
36
|
-
"es",
|
37
|
-
"lib",
|
38
|
-
"index.css"
|
39
|
-
],
|
40
|
-
"lint-staged": {
|
41
|
-
"*.{js,jsx,less,md,json}": [
|
42
|
-
"prettier --write"
|
43
|
-
],
|
44
|
-
"*.ts?(x)": [
|
45
|
-
"prettier --parser=typescript --write"
|
46
|
-
]
|
47
|
-
},
|
48
|
-
"dependencies": {
|
49
|
-
"@ant-design/pro-table": "^2.79.0",
|
50
|
-
"animate.css": "^4.1.1",
|
51
|
-
"echarts": "^5.2.2",
|
52
|
-
"echarts-for-react": "^3.0.2",
|
53
|
-
"lodash-es": "^4.17.21",
|
54
|
-
"moment": "^2.29.4",
|
55
|
-
"react-countup": "^6.0.0",
|
56
|
-
"react-dom": "^17.0.2",
|
57
|
-
"react-file-viewer": "^1.2.1",
|
58
|
-
"swiper": "^6.7.0",
|
59
|
-
"use-sync-external-store": "^1.2.0",
|
60
|
-
"xgplayer": "^2.31.6",
|
61
|
-
"xgplayer-flv": "^2.5.1",
|
62
|
-
"xgplayer-flv.js": "^2.3.0",
|
63
|
-
"xgplayer-hls": "^2.5.2",
|
64
|
-
"xgplayer-hls.js": "^2.6.1"
|
65
|
-
},
|
66
|
-
"peerDependencies": {
|
67
|
-
"@ant-design/icons": ">=4.2.0",
|
68
|
-
"antd": ">=4.7.0",
|
69
|
-
"classnames": ">=2.2.0",
|
70
|
-
"echarts": "^5.2.2",
|
71
|
-
"echarts-for-react": "^3.0.2",
|
72
|
-
"lodash-es": ">=4.17.21",
|
73
|
-
"react": ">=17.0.0"
|
74
|
-
},
|
75
|
-
"devDependencies": {
|
76
|
-
"@ant-design/icons": "^4.6.4",
|
77
|
-
"@types/lodash-es": "^4.17.6",
|
78
|
-
"@types/react-dom": "^17.0.11",
|
79
|
-
"@types/use-sync-external-store": "^0.0.3",
|
80
|
-
"@umijs/test": "^3.0.5",
|
81
|
-
"antd": "^4.16.13",
|
82
|
-
"babel-plugin-import": "^1.13.3",
|
83
|
-
"classnames": "^2.3.1",
|
84
|
-
"dumi": "^1.1.31",
|
85
|
-
"father-build": "^1.19.1",
|
86
|
-
"gh-pages": "^3.0.0",
|
87
|
-
"lint-staged": "^10.0.7",
|
88
|
-
"prettier": "^1.19.1",
|
89
|
-
"react": "^16.12.0",
|
90
|
-
"yorkie": "^2.0.0"
|
91
|
-
}
|
92
|
-
}
|
1
|
+
{
|
2
|
+
"private": false,
|
3
|
+
"name": "wargerm",
|
4
|
+
"version": "0.6.10",
|
5
|
+
"scripts": {
|
6
|
+
"dev": "dumi dev",
|
7
|
+
"docs:build": "dumi build",
|
8
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
9
|
+
"build": "father-build",
|
10
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
11
|
+
"release": "npm run build && npm publish",
|
12
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
13
|
+
"test": "umi-test",
|
14
|
+
"test:coverage": "umi-test --coverage"
|
15
|
+
},
|
16
|
+
"main": "dist/index.js",
|
17
|
+
"module": "dist/index.esm.js",
|
18
|
+
"unpkg": "dist/index.umd.min.js",
|
19
|
+
"typings": "dist/index.d.ts",
|
20
|
+
"author": "jinly2",
|
21
|
+
"license": "MIT",
|
22
|
+
"keywords": [
|
23
|
+
"React",
|
24
|
+
"Component"
|
25
|
+
],
|
26
|
+
"gitHooks": {
|
27
|
+
"pre-commit": "lint-staged"
|
28
|
+
},
|
29
|
+
"repository": {
|
30
|
+
"type": "git",
|
31
|
+
"url": "http://code.eblssmart.com/platform/web/wargerm-components.git",
|
32
|
+
"branch": "main"
|
33
|
+
},
|
34
|
+
"files": [
|
35
|
+
"dist",
|
36
|
+
"es",
|
37
|
+
"lib",
|
38
|
+
"index.css"
|
39
|
+
],
|
40
|
+
"lint-staged": {
|
41
|
+
"*.{js,jsx,less,md,json}": [
|
42
|
+
"prettier --write"
|
43
|
+
],
|
44
|
+
"*.ts?(x)": [
|
45
|
+
"prettier --parser=typescript --write"
|
46
|
+
]
|
47
|
+
},
|
48
|
+
"dependencies": {
|
49
|
+
"@ant-design/pro-table": "^2.79.0",
|
50
|
+
"animate.css": "^4.1.1",
|
51
|
+
"echarts": "^5.2.2",
|
52
|
+
"echarts-for-react": "^3.0.2",
|
53
|
+
"lodash-es": "^4.17.21",
|
54
|
+
"moment": "^2.29.4",
|
55
|
+
"react-countup": "^6.0.0",
|
56
|
+
"react-dom": "^17.0.2",
|
57
|
+
"react-file-viewer": "^1.2.1",
|
58
|
+
"swiper": "^6.7.0",
|
59
|
+
"use-sync-external-store": "^1.2.0",
|
60
|
+
"xgplayer": "^2.31.6",
|
61
|
+
"xgplayer-flv": "^2.5.1",
|
62
|
+
"xgplayer-flv.js": "^2.3.0",
|
63
|
+
"xgplayer-hls": "^2.5.2",
|
64
|
+
"xgplayer-hls.js": "^2.6.1"
|
65
|
+
},
|
66
|
+
"peerDependencies": {
|
67
|
+
"@ant-design/icons": ">=4.2.0",
|
68
|
+
"antd": ">=4.7.0",
|
69
|
+
"classnames": ">=2.2.0",
|
70
|
+
"echarts": "^5.2.2",
|
71
|
+
"echarts-for-react": "^3.0.2",
|
72
|
+
"lodash-es": ">=4.17.21",
|
73
|
+
"react": ">=17.0.0"
|
74
|
+
},
|
75
|
+
"devDependencies": {
|
76
|
+
"@ant-design/icons": "^4.6.4",
|
77
|
+
"@types/lodash-es": "^4.17.6",
|
78
|
+
"@types/react-dom": "^17.0.11",
|
79
|
+
"@types/use-sync-external-store": "^0.0.3",
|
80
|
+
"@umijs/test": "^3.0.5",
|
81
|
+
"antd": "^4.16.13",
|
82
|
+
"babel-plugin-import": "^1.13.3",
|
83
|
+
"classnames": "^2.3.1",
|
84
|
+
"dumi": "^1.1.31",
|
85
|
+
"father-build": "^1.19.1",
|
86
|
+
"gh-pages": "^3.0.0",
|
87
|
+
"lint-staged": "^10.0.7",
|
88
|
+
"prettier": "^1.19.1",
|
89
|
+
"react": "^16.12.0",
|
90
|
+
"yorkie": "^2.0.0"
|
91
|
+
}
|
92
|
+
}
|