@sd-angular/core 0.0.936 → 0.0.940

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.
Files changed (20) hide show
  1. package/bundles/sd-angular-core-grid-material.umd.js +15 -6
  2. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  3. package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
  4. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  5. package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +3 -2
  6. package/esm2015/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.js +2 -1
  7. package/esm2015/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +2 -1
  8. package/esm2015/grid-material/src/lib/grid-material.component.js +7 -2
  9. package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
  10. package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +3 -1
  11. package/fesm2015/sd-angular-core-grid-material.js +19 -10
  12. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  13. package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
  14. package/grid-material/src/lib/components/desktop-cell/desktop-cell.component.d.ts +1 -0
  15. package/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.d.ts +1 -0
  16. package/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.d.ts +1 -0
  17. package/grid-material/src/lib/grid-material.component.d.ts +3 -1
  18. package/grid-material/src/lib/models/grid.model.d.ts +1 -0
  19. package/package.json +1 -1
  20. package/{sd-angular-core-0.0.936.tgz → sd-angular-core-0.0.940.tgz} +0 -0
@@ -2,6 +2,7 @@ import { SdMaterialCellDefDirective } from '../../directives/sd-material-cell-de
2
2
  import { SdGridMaterialColumn } from '../../models/grid-column.model';
3
3
  import { SdGridMaterialOption } from '../../models/grid-option.model';
4
4
  export declare class SdDesktopCell {
5
+ sdId: string;
5
6
  value: any;
6
7
  key: string;
7
8
  column: SdGridMaterialColumn;
@@ -1,5 +1,6 @@
1
1
  import { SdGridMaterialColumn } from '../../models/grid-column.model';
2
2
  export declare class SdDesktopCellEditor {
3
+ sdId: string;
3
4
  column: SdGridMaterialColumn;
4
5
  item: any;
5
6
  constructor();
@@ -1,5 +1,6 @@
1
1
  import { SdGridMaterialColumn } from '../../models/grid-column.model';
2
2
  export declare class SdDesktopCellView {
3
+ sdId: string;
3
4
  key: string;
4
5
  column: SdGridMaterialColumn;
5
6
  item: any;
@@ -37,7 +37,7 @@ export declare class SdGridMaterial<T = any> implements OnInit, AfterViewInit, O
37
37
  set option(option: SdGridMaterialOption);
38
38
  gridOption: SdGridMaterialOption;
39
39
  localItems: any[];
40
- items: SdItem[];
40
+ items: SdGridMaterialItem[];
41
41
  selectedItems: T[];
42
42
  total: number;
43
43
  isLoading: boolean;
@@ -94,4 +94,6 @@ export declare class SdGridMaterial<T = any> implements OnInit, AfterViewInit, O
94
94
  editorErrorMessage: string;
95
95
  })[];
96
96
  get gridItems(): T[];
97
+ reloadItem: (item: SdGridMaterialItem) => void;
98
+ detectChanges: () => void;
97
99
  }
@@ -6,6 +6,7 @@ export interface EditorHandler {
6
6
  };
7
7
  }
8
8
  export interface SdItem {
9
+ sdId?: string;
9
10
  originItem?: any;
10
11
  isSelected?: boolean;
11
12
  isExpanded?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-angular/core",
3
- "version": "0.0.936",
3
+ "version": "0.0.940",
4
4
  "homepage": "https://www.facebook.com/DarkP3ter",
5
5
  "author": {
6
6
  "name": "darkpeter",
index 4a7b64f..3cb7150 100644
Binary file