wargerm 0.3.21 → 0.4.2
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/Table/index.d.ts +1 -17
- package/dist/components/WForm/index.d.ts +1 -0
- package/dist/index.css +1500 -867
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.css +1500 -867
- package/dist/index.esm.js +7 -4
- package/dist/index.js +7 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -8346,7 +8346,8 @@ function Table(_ref) {
|
|
8346
8346
|
span: 6
|
8347
8347
|
}, search), {}, {
|
8348
8348
|
optionRender: function optionRender(searchConfig, formProps, dom) {
|
8349
|
-
return
|
8349
|
+
// return [...dom.reverse()];
|
8350
|
+
return _toConsumableArray((search === null || search === void 0 ? void 0 : search.optionDomReverse) ? dom.reverse() : dom);
|
8350
8351
|
}
|
8351
8352
|
}),
|
8352
8353
|
onSubmit: onFormSubmit,
|
@@ -10161,7 +10162,7 @@ var ModalForm = function ModalForm(props, ref) {
|
|
10161
10162
|
|
10162
10163
|
var ModalForm$1 = /*#__PURE__*/React.forwardRef(ModalForm);
|
10163
10164
|
|
10164
|
-
var _excluded$h = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "renderTableBar", "className", "style", "onFormChange", "modalConfig", "optionColumnConfig", "pagination"];
|
10165
|
+
var _excluded$h = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "renderTableBar", "className", "style", "onFormChange", "modalConfig", "optionColumnConfig", "pagination", "noBordered"];
|
10165
10166
|
|
10166
10167
|
var TabelCard = function TabelCard(props, ref) {
|
10167
10168
|
var columns = props.columns,
|
@@ -10177,6 +10178,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
10177
10178
|
modalConfig = props.modalConfig,
|
10178
10179
|
optionColumnConfig = props.optionColumnConfig,
|
10179
10180
|
pagination = props.pagination,
|
10181
|
+
noBordered = props.noBordered,
|
10180
10182
|
extraProps = _objectWithoutProperties(props, _excluded$h);
|
10181
10183
|
|
10182
10184
|
var actionRef = useRef();
|
@@ -10591,7 +10593,8 @@ var TabelCard = function TabelCard(props, ref) {
|
|
10591
10593
|
span: 6
|
10592
10594
|
}, search), {}, {
|
10593
10595
|
optionRender: function optionRender(searchConfig, formProps, dom) {
|
10594
|
-
return [
|
10596
|
+
// return [...dom.reverse(), tableBarDom];
|
10597
|
+
return [].concat(_toConsumableArray((search === null || search === void 0 ? void 0 : search.optionDomReverse) ? dom.reverse() : dom), [tableBarDom]);
|
10595
10598
|
}
|
10596
10599
|
}),
|
10597
10600
|
onSubmit: onSubmit,
|
@@ -10600,7 +10603,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
10600
10603
|
}), /*#__PURE__*/React.createElement(ProTable, _objectSpread2(_objectSpread2({
|
10601
10604
|
actionRef: actionRef,
|
10602
10605
|
rowKey: "id",
|
10603
|
-
bordered:
|
10606
|
+
bordered: !noBordered,
|
10604
10607
|
options: false,
|
10605
10608
|
toolBarRender: false
|
10606
10609
|
}, _request ? {
|
package/dist/index.js
CHANGED
@@ -8380,7 +8380,8 @@ function Table(_ref) {
|
|
8380
8380
|
span: 6
|
8381
8381
|
}, search), {}, {
|
8382
8382
|
optionRender: function optionRender(searchConfig, formProps, dom) {
|
8383
|
-
return
|
8383
|
+
// return [...dom.reverse()];
|
8384
|
+
return _toConsumableArray((search === null || search === void 0 ? void 0 : search.optionDomReverse) ? dom.reverse() : dom);
|
8384
8385
|
}
|
8385
8386
|
}),
|
8386
8387
|
onSubmit: onFormSubmit,
|
@@ -10195,7 +10196,7 @@ var ModalForm = function ModalForm(props, ref) {
|
|
10195
10196
|
|
10196
10197
|
var ModalForm$1 = /*#__PURE__*/React__default['default'].forwardRef(ModalForm);
|
10197
10198
|
|
10198
|
-
var _excluded$h = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "renderTableBar", "className", "style", "onFormChange", "modalConfig", "optionColumnConfig", "pagination"];
|
10199
|
+
var _excluded$h = ["columns", "extraColumns", "request", "modalFormSearch", "search", "tableAction", "renderTableBar", "className", "style", "onFormChange", "modalConfig", "optionColumnConfig", "pagination", "noBordered"];
|
10199
10200
|
|
10200
10201
|
var TabelCard = function TabelCard(props, ref) {
|
10201
10202
|
var columns = props.columns,
|
@@ -10211,6 +10212,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
10211
10212
|
modalConfig = props.modalConfig,
|
10212
10213
|
optionColumnConfig = props.optionColumnConfig,
|
10213
10214
|
pagination = props.pagination,
|
10215
|
+
noBordered = props.noBordered,
|
10214
10216
|
extraProps = _objectWithoutProperties(props, _excluded$h);
|
10215
10217
|
|
10216
10218
|
var actionRef = React.useRef();
|
@@ -10625,7 +10627,8 @@ var TabelCard = function TabelCard(props, ref) {
|
|
10625
10627
|
span: 6
|
10626
10628
|
}, search), {}, {
|
10627
10629
|
optionRender: function optionRender(searchConfig, formProps, dom) {
|
10628
|
-
return [
|
10630
|
+
// return [...dom.reverse(), tableBarDom];
|
10631
|
+
return [].concat(_toConsumableArray((search === null || search === void 0 ? void 0 : search.optionDomReverse) ? dom.reverse() : dom), [tableBarDom]);
|
10629
10632
|
}
|
10630
10633
|
}),
|
10631
10634
|
onSubmit: onSubmit,
|
@@ -10634,7 +10637,7 @@ var TabelCard = function TabelCard(props, ref) {
|
|
10634
10637
|
}), /*#__PURE__*/React__default['default'].createElement(ProTable__default['default'], _objectSpread2(_objectSpread2({
|
10635
10638
|
actionRef: actionRef,
|
10636
10639
|
rowKey: "id",
|
10637
|
-
bordered:
|
10640
|
+
bordered: !noBordered,
|
10638
10641
|
options: false,
|
10639
10642
|
toolBarRender: false
|
10640
10643
|
}, _request ? {
|