wargerm 0.2.26 → 0.2.27
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/components/WForm/index.d.ts +1 -0
- package/dist/index.esm.js +6 -7
- package/dist/index.js +6 -7
- package/package.json +79 -79
package/dist/index.esm.js
CHANGED
@@ -8795,7 +8795,8 @@ var WForm = function WForm(props, ref) {
|
|
8795
8795
|
});
|
8796
8796
|
return /*#__PURE__*/React.createElement(_Form, _objectSpread2({
|
8797
8797
|
style: {
|
8798
|
-
marginBottom: '20px'
|
8798
|
+
marginBottom: '20px',
|
8799
|
+
width: '100%'
|
8799
8800
|
},
|
8800
8801
|
onFinish: handleSearch,
|
8801
8802
|
onValuesChange: function onValuesChange(changedValues, allValues) {
|
@@ -8803,9 +8804,7 @@ var WForm = function WForm(props, ref) {
|
|
8803
8804
|
setchangedValues(changedValues);
|
8804
8805
|
},
|
8805
8806
|
form: form
|
8806
|
-
}, extraProps), /*#__PURE__*/React.createElement(_Row, null, filterForm
|
8807
|
-
justify: "end"
|
8808
|
-
}, /*#__PURE__*/React.createElement(_Col, {
|
8807
|
+
}, extraProps), /*#__PURE__*/React.createElement(_Row, null, filterForm, filterExtraColumnsForm, search && search.hideSubmit ? null : /*#__PURE__*/React.createElement(_Col, {
|
8809
8808
|
style: {
|
8810
8809
|
paddingLeft: '12px',
|
8811
8810
|
paddingRight: '12px'
|
@@ -8821,14 +8820,14 @@ var WForm = function WForm(props, ref) {
|
|
8821
8820
|
},
|
8822
8821
|
htmlType: "submit",
|
8823
8822
|
icon: /*#__PURE__*/React.createElement(SearchOutlined, null)
|
8824
|
-
}, search && search.searchText ? search.searchText : '提交')
|
8823
|
+
}, search && search.searchText ? search.searchText : '提交')].concat(_toConsumableArray(search.hideResetBtn ? [] : [/*#__PURE__*/React.createElement(WButton, {
|
8825
8824
|
type: "primary",
|
8826
8825
|
style: {
|
8827
8826
|
marginRight: '20px'
|
8828
8827
|
},
|
8829
8828
|
onClick: handleRest,
|
8830
8829
|
icon: /*#__PURE__*/React.createElement(ReloadOutlined, null)
|
8831
|
-
}, search && search.resetText ? search.resetText : '重置')]), !search ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(WButton, {
|
8830
|
+
}, search && search.resetText ? search.resetText : '重置')]))), !search ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(WButton, {
|
8832
8831
|
type: "primary",
|
8833
8832
|
style: {
|
8834
8833
|
marginRight: '20px'
|
@@ -8849,7 +8848,7 @@ var WForm = function WForm(props, ref) {
|
|
8849
8848
|
},
|
8850
8849
|
htmlType: "submit",
|
8851
8850
|
icon: /*#__PURE__*/React.createElement(SearchOutlined, null)
|
8852
|
-
}, "\u63D0\u4EA4"), /*#__PURE__*/React.createElement(WButton, {
|
8851
|
+
}, "\u63D0\u4EA4"), search.hideResetBtn ? null : /*#__PURE__*/React.createElement(WButton, {
|
8853
8852
|
type: "primary",
|
8854
8853
|
style: {
|
8855
8854
|
marginRight: '20px'
|
package/dist/index.js
CHANGED
@@ -8829,7 +8829,8 @@ var WForm = function WForm(props, ref) {
|
|
8829
8829
|
});
|
8830
8830
|
return /*#__PURE__*/React__default['default'].createElement(_Form__default['default'], _objectSpread2({
|
8831
8831
|
style: {
|
8832
|
-
marginBottom: '20px'
|
8832
|
+
marginBottom: '20px',
|
8833
|
+
width: '100%'
|
8833
8834
|
},
|
8834
8835
|
onFinish: handleSearch,
|
8835
8836
|
onValuesChange: function onValuesChange(changedValues, allValues) {
|
@@ -8837,9 +8838,7 @@ var WForm = function WForm(props, ref) {
|
|
8837
8838
|
setchangedValues(changedValues);
|
8838
8839
|
},
|
8839
8840
|
form: form
|
8840
|
-
}, extraProps), /*#__PURE__*/React__default['default'].createElement(_Row__default['default'], null, filterForm
|
8841
|
-
justify: "end"
|
8842
|
-
}, /*#__PURE__*/React__default['default'].createElement(_Col__default['default'], {
|
8841
|
+
}, extraProps), /*#__PURE__*/React__default['default'].createElement(_Row__default['default'], null, filterForm, filterExtraColumnsForm, search && search.hideSubmit ? null : /*#__PURE__*/React__default['default'].createElement(_Col__default['default'], {
|
8843
8842
|
style: {
|
8844
8843
|
paddingLeft: '12px',
|
8845
8844
|
paddingRight: '12px'
|
@@ -8855,14 +8854,14 @@ var WForm = function WForm(props, ref) {
|
|
8855
8854
|
},
|
8856
8855
|
htmlType: "submit",
|
8857
8856
|
icon: /*#__PURE__*/React__default['default'].createElement(icons.SearchOutlined, null)
|
8858
|
-
}, search && search.searchText ? search.searchText : '提交')
|
8857
|
+
}, search && search.searchText ? search.searchText : '提交')].concat(_toConsumableArray(search.hideResetBtn ? [] : [/*#__PURE__*/React__default['default'].createElement(WButton, {
|
8859
8858
|
type: "primary",
|
8860
8859
|
style: {
|
8861
8860
|
marginRight: '20px'
|
8862
8861
|
},
|
8863
8862
|
onClick: handleRest,
|
8864
8863
|
icon: /*#__PURE__*/React__default['default'].createElement(icons.ReloadOutlined, null)
|
8865
|
-
}, search && search.resetText ? search.resetText : '重置')]), !search ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(WButton, {
|
8864
|
+
}, search && search.resetText ? search.resetText : '重置')]))), !search ? /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(WButton, {
|
8866
8865
|
type: "primary",
|
8867
8866
|
style: {
|
8868
8867
|
marginRight: '20px'
|
@@ -8883,7 +8882,7 @@ var WForm = function WForm(props, ref) {
|
|
8883
8882
|
},
|
8884
8883
|
htmlType: "submit",
|
8885
8884
|
icon: /*#__PURE__*/React__default['default'].createElement(icons.SearchOutlined, null)
|
8886
|
-
}, "\u63D0\u4EA4"), /*#__PURE__*/React__default['default'].createElement(WButton, {
|
8885
|
+
}, "\u63D0\u4EA4"), search.hideResetBtn ? null : /*#__PURE__*/React__default['default'].createElement(WButton, {
|
8887
8886
|
type: "primary",
|
8888
8887
|
style: {
|
8889
8888
|
marginRight: '20px'
|
package/package.json
CHANGED
@@ -1,79 +1,79 @@
|
|
1
|
-
{
|
2
|
-
"private": false,
|
3
|
-
"name": "wargerm",
|
4
|
-
"version": "0.2.
|
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-form": "^1.49.3",
|
50
|
-
"@ant-design/pro-table": "^2.58.1",
|
51
|
-
"animate.css": "^4.1.1",
|
52
|
-
"react-countup": "^6.0.0",
|
53
|
-
"react-dom": "^17.0.2",
|
54
|
-
"swiper": "^6.7.0"
|
55
|
-
},
|
56
|
-
"peerDependencies": {
|
57
|
-
"@ant-design/icons": ">=4.2.0",
|
58
|
-
"antd": ">=4.7.0",
|
59
|
-
"classnames": ">=2.2.0",
|
60
|
-
"lodash": ">=4.0.0",
|
61
|
-
"react": ">=17.0.0"
|
62
|
-
},
|
63
|
-
"devDependencies": {
|
64
|
-
"@ant-design/icons": "^4.6.4",
|
65
|
-
"@types/lodash": "^4.14.173",
|
66
|
-
"@types/react-dom": "^17.0.11",
|
67
|
-
"@umijs/test": "^3.0.5",
|
68
|
-
"antd": "^4.16.13",
|
69
|
-
"babel-plugin-import": "^1.13.3",
|
70
|
-
"classnames": "^2.3.1",
|
71
|
-
"dumi": "^1.1.31",
|
72
|
-
"father-build": "^1.19.1",
|
73
|
-
"gh-pages": "^3.0.0",
|
74
|
-
"lint-staged": "^10.0.7",
|
75
|
-
"prettier": "^1.19.1",
|
76
|
-
"react": "^16.12.0",
|
77
|
-
"yorkie": "^2.0.0"
|
78
|
-
}
|
79
|
-
}
|
1
|
+
{
|
2
|
+
"private": false,
|
3
|
+
"name": "wargerm",
|
4
|
+
"version": "0.2.27",
|
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-form": "^1.49.3",
|
50
|
+
"@ant-design/pro-table": "^2.58.1",
|
51
|
+
"animate.css": "^4.1.1",
|
52
|
+
"react-countup": "^6.0.0",
|
53
|
+
"react-dom": "^17.0.2",
|
54
|
+
"swiper": "^6.7.0"
|
55
|
+
},
|
56
|
+
"peerDependencies": {
|
57
|
+
"@ant-design/icons": ">=4.2.0",
|
58
|
+
"antd": ">=4.7.0",
|
59
|
+
"classnames": ">=2.2.0",
|
60
|
+
"lodash": ">=4.0.0",
|
61
|
+
"react": ">=17.0.0"
|
62
|
+
},
|
63
|
+
"devDependencies": {
|
64
|
+
"@ant-design/icons": "^4.6.4",
|
65
|
+
"@types/lodash": "^4.14.173",
|
66
|
+
"@types/react-dom": "^17.0.11",
|
67
|
+
"@umijs/test": "^3.0.5",
|
68
|
+
"antd": "^4.16.13",
|
69
|
+
"babel-plugin-import": "^1.13.3",
|
70
|
+
"classnames": "^2.3.1",
|
71
|
+
"dumi": "^1.1.31",
|
72
|
+
"father-build": "^1.19.1",
|
73
|
+
"gh-pages": "^3.0.0",
|
74
|
+
"lint-staged": "^10.0.7",
|
75
|
+
"prettier": "^1.19.1",
|
76
|
+
"react": "^16.12.0",
|
77
|
+
"yorkie": "^2.0.0"
|
78
|
+
}
|
79
|
+
}
|