@sd-angular/core 0.0.971 → 0.0.972

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.
@@ -1,10 +1,10 @@
1
1
  import { SdGridMaterialAction } from './grid-action.model';
2
- import { SdGridMaterialItem } from './grid.model';
3
2
  export interface SdGridMaterialSelection<T = any> {
4
3
  visible?: boolean;
5
4
  single?: boolean;
6
- onSelect?: (rowData?: (T & SdGridMaterialItem), selectedItems?: (T & SdGridMaterialItem)[]) => void;
7
- onSelectAll?: (selectedItems: (T & SdGridMaterialItem)[]) => void;
5
+ onSelect?: (rowData?: T, selectedItems?: T[]) => void;
6
+ onSelectAll?: (selectedItems: T[]) => void;
7
+ disabled?: (rowData?: T, selectedItems?: T[]) => boolean;
8
8
  actions?: SdGridMaterialAction<T>[];
9
9
  message?: string;
10
10
  }
@@ -1,6 +1,6 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import { SdGridMaterialSelection } from '../models/grid-selection.model';
3
3
  import { SdItem } from '../models/grid.model';
4
- export declare class SdSelectionDisableSelectAllPipe implements PipeTransform {
4
+ export declare class SdSelectionVisibleSelectAllPipe implements PipeTransform {
5
5
  transform: (items: SdItem[], selection: SdGridMaterialSelection) => Promise<boolean>;
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-angular/core",
3
- "version": "0.0.971",
3
+ "version": "0.0.972",
4
4
  "homepage": "https://www.facebook.com/DarkP3ter",
5
5
  "author": {
6
6
  "name": "darkpeter",
index c0a2b4e..49968e1 100644
Binary file