wargerm 0.7.40 → 0.7.42
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.
@@ -44,6 +44,7 @@ export declare type Isearch = {
|
|
44
44
|
submitText?: string;
|
45
45
|
hideSubmit?: boolean;
|
46
46
|
searchButtonConfig?: Record<string, any>;
|
47
|
+
searchFormItemProps?: Record<string, any>;
|
47
48
|
tableBarDom?: ReactNode[];
|
48
49
|
transform?: (value: any) => any;
|
49
50
|
optionDomReverse?: boolean;
|
package/dist/index.esm.js
CHANGED
@@ -4255,7 +4255,7 @@ var WForm = function WForm(props, ref) {
|
|
4255
4255
|
form: form
|
4256
4256
|
}, extraProps), /*#__PURE__*/React.createElement(Row, null, filterForm, filterExtraColumnsForm, search && search.hideSubmit ? null : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Col, _objectSpread2({
|
4257
4257
|
className: "pl20"
|
4258
|
-
}, search ? search === null || search === void 0 ? void 0 : search.searchButtonConfig : {}), /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement("div", {
|
4258
|
+
}, search ? search === null || search === void 0 ? void 0 : search.searchButtonConfig : {}), /*#__PURE__*/React.createElement(Form.Item, _objectSpread2({}, search ? search === null || search === void 0 ? void 0 : search.searchFormItemProps : {}), /*#__PURE__*/React.createElement("div", {
|
4259
4259
|
style: {
|
4260
4260
|
display: 'flex'
|
4261
4261
|
}
|
@@ -4303,7 +4303,7 @@ var WForm = function WForm(props, ref) {
|
|
4303
4303
|
children = _ref.children;
|
4304
4304
|
return /*#__PURE__*/React.createElement(Col, _objectSpread2({
|
4305
4305
|
className: "pr20"
|
4306
|
-
}, config || {}), /*#__PURE__*/React.createElement(Form.Item, null, children));
|
4306
|
+
}, config || {}), /*#__PURE__*/React.createElement(Form.Item, _objectSpread2({}, (search === null || search === void 0 ? void 0 : search.searchFormItemProps) || {}), children));
|
4307
4307
|
})))));
|
4308
4308
|
};
|
4309
4309
|
|
@@ -4762,9 +4762,7 @@ function Table(_ref) {
|
|
4762
4762
|
}
|
4763
4763
|
}, _callee);
|
4764
4764
|
}))();
|
4765
|
-
}, [JSON.stringify(params), JSON.stringify(pageParams), JSON.stringify(pagination), JSON.stringify(tableList)
|
4766
|
-
// JSON.stringify(columns),
|
4767
|
-
]);
|
4765
|
+
}, [JSON.stringify(params), JSON.stringify(pageParams), JSON.stringify(pagination), JSON.stringify(tableList), formSearch, JSON.stringify(columns)]);
|
4768
4766
|
|
4769
4767
|
var onFormSubmit = function onFormSubmit(values) {
|
4770
4768
|
onSubmit && onSubmit(values);
|
@@ -12277,9 +12275,7 @@ function NtTable(_ref, ref) {
|
|
12277
12275
|
}
|
12278
12276
|
}, _callee);
|
12279
12277
|
}))();
|
12280
|
-
}, [JSON.stringify(params), JSON.stringify(pageParams), JSON.stringify(pagination), JSON.stringify(tableList)
|
12281
|
-
// JSON.stringify(columns),
|
12282
|
-
]);
|
12278
|
+
}, [JSON.stringify(params), JSON.stringify(pageParams), JSON.stringify(pagination), JSON.stringify(tableList), formSearch, JSON.stringify(columns)]);
|
12283
12279
|
|
12284
12280
|
var onFormSubmit = function onFormSubmit(values) {
|
12285
12281
|
var requestParams = {};
|
package/dist/index.js
CHANGED
@@ -4299,7 +4299,7 @@ var WForm = function WForm(props, ref) {
|
|
4299
4299
|
form: form
|
4300
4300
|
}, extraProps), /*#__PURE__*/React__default['default'].createElement(antd.Row, null, filterForm, filterExtraColumnsForm, search && search.hideSubmit ? null : /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.Col, _objectSpread2({
|
4301
4301
|
className: "pl20"
|
4302
|
-
}, search ? search === null || search === void 0 ? void 0 : search.searchButtonConfig : {}), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, null, /*#__PURE__*/React__default['default'].createElement("div", {
|
4302
|
+
}, search ? search === null || search === void 0 ? void 0 : search.searchButtonConfig : {}), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, _objectSpread2({}, search ? search === null || search === void 0 ? void 0 : search.searchFormItemProps : {}), /*#__PURE__*/React__default['default'].createElement("div", {
|
4303
4303
|
style: {
|
4304
4304
|
display: 'flex'
|
4305
4305
|
}
|
@@ -4347,7 +4347,7 @@ var WForm = function WForm(props, ref) {
|
|
4347
4347
|
children = _ref.children;
|
4348
4348
|
return /*#__PURE__*/React__default['default'].createElement(antd.Col, _objectSpread2({
|
4349
4349
|
className: "pr20"
|
4350
|
-
}, config || {}), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, null, children));
|
4350
|
+
}, config || {}), /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, _objectSpread2({}, (search === null || search === void 0 ? void 0 : search.searchFormItemProps) || {}), children));
|
4351
4351
|
})))));
|
4352
4352
|
};
|
4353
4353
|
|
@@ -4806,9 +4806,7 @@ function Table(_ref) {
|
|
4806
4806
|
}
|
4807
4807
|
}, _callee);
|
4808
4808
|
}))();
|
4809
|
-
}, [JSON.stringify(params), JSON.stringify(pageParams), JSON.stringify(pagination), JSON.stringify(tableList)
|
4810
|
-
// JSON.stringify(columns),
|
4811
|
-
]);
|
4809
|
+
}, [JSON.stringify(params), JSON.stringify(pageParams), JSON.stringify(pagination), JSON.stringify(tableList), formSearch, JSON.stringify(columns)]);
|
4812
4810
|
|
4813
4811
|
var onFormSubmit = function onFormSubmit(values) {
|
4814
4812
|
onSubmit && onSubmit(values);
|
@@ -12321,9 +12319,7 @@ function NtTable(_ref, ref) {
|
|
12321
12319
|
}
|
12322
12320
|
}, _callee);
|
12323
12321
|
}))();
|
12324
|
-
}, [JSON.stringify(params), JSON.stringify(pageParams), JSON.stringify(pagination), JSON.stringify(tableList)
|
12325
|
-
// JSON.stringify(columns),
|
12326
|
-
]);
|
12322
|
+
}, [JSON.stringify(params), JSON.stringify(pageParams), JSON.stringify(pagination), JSON.stringify(tableList), formSearch, JSON.stringify(columns)]);
|
12327
12323
|
|
12328
12324
|
var onFormSubmit = function onFormSubmit(values) {
|
12329
12325
|
var requestParams = {};
|