@linzjs/step-ag-grid 28.3.0 → 28.4.0

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.
@@ -3235,11 +3235,8 @@ const Grid = ({ 'data-testid': dataTestId, defaultPostSort = true, rowSelection
3235
3235
  event.api.forEachNode(() => rowCount++);
3236
3236
  return (jsxRuntime.jsx(GridNoRowsOverlay, { loading: !rowData || params.loading === true, rowCount: rowCount, headerRowHeight: headerRowCount * rowHeight, filteredRowCount: event.api.getDisplayedRowCount(), noRowsOverlayText: params.noRowsOverlayText, noRowsMatchingOverlayText: params.noRowsMatchingOverlayText }));
3237
3237
  }, quickFilterParser: (filterStr) => {
3238
- filterStr = filterStr.trim();
3239
- const quoted = filterStr.startsWith('"');
3240
- filterStr = filterStr.replace(/^"/, '').replace(/"$/, '');
3241
- // If the user encloses the search term in quotes, treat it as an exact match otherwise split by space
3242
- return quoted ? [filterStr] : filterStr.split(' ');
3238
+ // filter is exact matches exactly groups separated by commas
3239
+ return filterStr.split(',').map((str) => str.trim());
3243
3240
  }, onModelUpdated: onModelUpdated, onGridReady: onGridReady, onSortChanged: ensureSelectedRowIsVisible, postSortRows: params.onRowDragEnd || !defaultPostSort ? undefined : postSortRows, onSelectionChanged: synchroniseExternalStateToGridSelection, onColumnMoved: params.onColumnMoved, alwaysShowVerticalScroll: params.alwaysShowVerticalScroll, isExternalFilterPresent: isExternalFilterPresent, doesExternalFilterPass: doesExternalFilterPass, maintainColumnOrder: true, preventDefaultOnContextMenu: true, onCellContextMenu: gridContextMenu.cellContextMenu, rowDragText: params.rowDragText, onRowDragCancel: clearHighlightRowClasses, onRowDragMove: onRowDragMove, onRowDragEnd: onRowDragEnd, suppressCellFocus: params.suppressCellFocus, pinnedTopRowData: params.pinnedTopRowData, pinnedBottomRowData: params.pinnedBottomRowData, selectionColumnDef: {
3244
3241
  suppressNavigable: params.hideSelectColumn,
3245
3242
  rowDrag: !!params.onRowDragEnd,