@sd-angular/core 0.0.1030 → 0.0.1031

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.
@@ -2,7 +2,7 @@ import { SdGridMaterialOption } from '../../models/grid-option.model';
2
2
  export declare class SdDesktopEditorValidation {
3
3
  sdId: string;
4
4
  item: any;
5
- idx: number;
5
+ items: any[];
6
6
  gridOption: SdGridMaterialOption;
7
7
  constructor();
8
8
  }
@@ -87,10 +87,10 @@ export declare class SdGridMaterial<T = any> implements OnInit, AfterViewInit, O
87
87
  filterDef: any;
88
88
  }) => void;
89
89
  onCreate: () => void;
90
- onUpdate: (item: SdItem, idx: number) => void;
91
- onSave: (item: SdGridMaterialItem<T>, idx: number) => Promise<void>;
92
- onCancel: (item: SdGridMaterialItem<T>, idx: number) => void;
93
- onRemove: (item: SdGridMaterialItem<T>, idx: number) => void;
90
+ onUpdate: (item: SdItem) => void;
91
+ onSave: (item: SdGridMaterialItem<T>) => Promise<void>;
92
+ onCancel: (item: SdGridMaterialItem<T>) => void;
93
+ onRemove: (item: SdGridMaterialItem<T>) => void;
94
94
  add: (idx: number, item: T) => void;
95
95
  update: (idx: number, item: T) => void;
96
96
  remove: (idx: number) => void;
@@ -3,5 +3,5 @@ import { SdGridMaterialOption } from '../models/grid-option.model';
3
3
  import { SdItem } from '../models/grid.model';
4
4
  export declare class SdEditorValidatePipe implements PipeTransform {
5
5
  #private;
6
- transform(sdId: string, item: SdItem, idx: number, gridOption: SdGridMaterialOption): Promise<string>;
6
+ transform(sdId: string, item: SdItem, items: SdItem[], gridOption: SdGridMaterialOption): Promise<string>;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-angular/core",
3
- "version": "0.0.1030",
3
+ "version": "0.0.1031",
4
4
  "homepage": "https://www.facebook.com/DarkP3ter",
5
5
  "author": {
6
6
  "name": "darkpeter",
index 45977d9..feca6a7 100644
Binary file