ods-component-lib 1.18.182 → 1.18.184

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.js CHANGED
@@ -1651,7 +1651,7 @@ var OdsFilter = function OdsFilter(props) {
1651
1651
  var _useState = React.useState(true),
1652
1652
  showFilter = _useState[0],
1653
1653
  setShowFilter = _useState[1];
1654
- var _useState2 = React.useState(false),
1654
+ var _useState2 = React.useState(true),
1655
1655
  showAdvanceFilter = _useState2[0],
1656
1656
  setshowAdvanceFilter = _useState2[1];
1657
1657
  var hasAdvancedFilters = props.advancedFilterRow !== undefined;
@@ -33019,7 +33019,7 @@ var ExportDataGridToExcel = function ExportDataGridToExcel(_ref) {
33019
33019
 
33020
33020
  var useToken$2 = antd.theme.useToken;
33021
33021
  var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
33022
- var _props$columnResizing, _props$selectOptions, _props$selectOptions$, _props$selectOptions2, _props$selectOptions$2, _props$selectOptions3;
33022
+ var _props$columnResizing, _props$selection, _props$selectOptions, _props$selectOptions$, _props$selectOptions2, _props$selectOptions$2, _props$selectOptions3;
33023
33023
  var keyExpr = props.keyExpr,
33024
33024
  hasFastUpdate = props.hasFastUpdate,
33025
33025
  fastUpdateButtonText = props.fastUpdateButtonText,
@@ -33690,6 +33690,10 @@ var OdsBasicDataGrid = function OdsBasicDataGrid(props) {
33690
33690
  },
33691
33691
  noDataText: props.noDataText,
33692
33692
  className: gridStyle.grid,
33693
+ selection: (_props$selection = props.selection) != null ? _props$selection : {
33694
+ mode: "multiple",
33695
+ selectAllMode: "page"
33696
+ },
33693
33697
  onEditorPreparing: onEditorPreparing,
33694
33698
  onExporting: function onExporting(e) {
33695
33699
  var _props$exportProps$ac, _props$exportProps$pa;