@sd-angular/core 0.0.927 → 0.0.928
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/bundles/sd-angular-core-grid-material.umd.js +46 -52
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/esm2015/grid-material/src/lib/grid-material.component.js +26 -29
- package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-row.pipe.js +14 -16
- package/esm2015/grid-material/src/lib/pipes/editor-validate.pipe.js +2 -3
- package/fesm2015/sd-angular-core-grid-material.js +39 -45
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/grid-material/src/lib/grid-material.component.d.ts +1 -1
- package/grid-material/src/lib/models/grid.model.d.ts +2 -2
- package/grid-material/src/lib/pipes/editor-handler-row.pipe.d.ts +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-0.0.927.tgz → sd-angular-core-0.0.928.tgz} +0 -0
|
@@ -86,7 +86,7 @@ export declare class SdGridMaterial<T = any> implements OnInit, AfterViewInit, O
|
|
|
86
86
|
filterDef: any;
|
|
87
87
|
}) => void;
|
|
88
88
|
onCreate: () => void;
|
|
89
|
-
onUpdate: (item: SdItem
|
|
89
|
+
onUpdate: (item: SdItem) => void;
|
|
90
90
|
onSave: (item: SdItem) => Promise<void>;
|
|
91
91
|
onCancel: (item: SdItem) => void;
|
|
92
92
|
}
|
|
@@ -20,12 +20,12 @@ export interface SdItem {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
export interface EditorHandlerRow {
|
|
23
|
-
visible: boolean;
|
|
24
23
|
status?: 'create' | 'update';
|
|
25
24
|
editable?: boolean;
|
|
26
25
|
removable?: boolean;
|
|
26
|
+
savable?: boolean;
|
|
27
|
+
cancelable?: boolean;
|
|
27
28
|
errorMessage?: string;
|
|
28
|
-
isInline?: boolean;
|
|
29
29
|
temporary?: any;
|
|
30
30
|
saving?: boolean;
|
|
31
31
|
}
|
|
@@ -2,5 +2,5 @@ import { PipeTransform } from '@angular/core';
|
|
|
2
2
|
import { SdGridMaterialOption } from '../models/grid-option.model';
|
|
3
3
|
import { EditorHandlerRow, SdItem } from '../models/grid.model';
|
|
4
4
|
export declare class SdEditorHandlerRowPipe implements PipeTransform {
|
|
5
|
-
transform(item: SdItem, gridOption: SdGridMaterialOption): EditorHandlerRow;
|
|
5
|
+
transform(status: 'create' | 'update', item: SdItem, gridOption: SdGridMaterialOption): EditorHandlerRow;
|
|
6
6
|
}
|
package/package.json
CHANGED
|
index 680b3ac..87aa51d 100644
|
|
|
Binary file
|