@sd-angular/core 0.0.925 → 0.0.929
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 +55 -64
- 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/components/desktop-cell/desktop-cell.component.js +2 -2
- package/esm2015/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.js +2 -2
- package/esm2015/grid-material/src/lib/grid-material.component.js +27 -26
- package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +8 -15
- 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 +49 -58
- 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 +3 -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.925.tgz → sd-angular-core-0.0.929.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,13 @@ export interface SdItem {
|
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
export interface EditorHandlerRow {
|
|
23
|
-
visible: boolean;
|
|
24
23
|
status?: 'create' | 'update';
|
|
24
|
+
visible?: boolean;
|
|
25
25
|
editable?: boolean;
|
|
26
26
|
removable?: boolean;
|
|
27
|
+
savable?: boolean;
|
|
28
|
+
cancelable?: boolean;
|
|
27
29
|
errorMessage?: string;
|
|
28
|
-
isInline?: boolean;
|
|
29
30
|
temporary?: any;
|
|
30
31
|
saving?: boolean;
|
|
31
32
|
}
|
|
@@ -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 e7ca35b..de5326b 100644
|
|
|
Binary file
|