@sd-angular/core 1.0.51 → 1.0.52
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 +101 -6
- 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/sd-angular-core-grid-material.js +2 -1
- package/esm2015/grid-material/src/lib/grid-material.component.js +2 -2
- package/esm2015/grid-material/src/lib/grid-material.module.js +4 -2
- package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid.model.js +7 -1
- package/esm2015/grid-material/src/lib/pipes/sd-group.pipe.js +46 -0
- package/esm2015/grid-material/src/lib/services/grid-configuration.service.js +10 -5
- package/fesm2015/sd-angular-core-grid-material.js +57 -7
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/grid-material/sd-angular-core-grid-material.d.ts +1 -0
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/grid-material/src/lib/models/grid-column.model.d.ts +1 -1
- package/grid-material/src/lib/models/grid.model.d.ts +4 -19
- package/grid-material/src/lib/pipes/sd-group.pipe.d.ts +6 -0
- package/package.json +1 -1
- package/{sd-angular-core-1.0.51.tgz → sd-angular-core-1.0.52.tgz} +0 -0
|
@@ -23,6 +23,10 @@ export interface SdItem {
|
|
|
23
23
|
errorMessage?: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
+
group?: {
|
|
27
|
+
htmlTemplate: string;
|
|
28
|
+
items: any[];
|
|
29
|
+
};
|
|
26
30
|
}
|
|
27
31
|
export interface EditorHandlerRow {
|
|
28
32
|
status?: 'create' | 'update';
|
|
@@ -36,22 +40,3 @@ export interface EditorHandlerRow {
|
|
|
36
40
|
saving?: boolean;
|
|
37
41
|
}
|
|
38
42
|
export declare type SdGridMaterialItem<T = any> = T & SdItem;
|
|
39
|
-
export interface GridItem {
|
|
40
|
-
blinker?: any;
|
|
41
|
-
originItem?: any;
|
|
42
|
-
temporary?: any;
|
|
43
|
-
isChecked?: boolean;
|
|
44
|
-
editingStatus?: 'create' | 'update';
|
|
45
|
-
editorHandler?: EditorHandler & {
|
|
46
|
-
disabled?: boolean;
|
|
47
|
-
errorMessage?: string;
|
|
48
|
-
saving?: boolean;
|
|
49
|
-
};
|
|
50
|
-
subInformation?: {
|
|
51
|
-
isOpened?: boolean;
|
|
52
|
-
isLoaded?: boolean;
|
|
53
|
-
isLoading?: boolean;
|
|
54
|
-
subItems?: any[];
|
|
55
|
-
};
|
|
56
|
-
[key: string]: any;
|
|
57
|
-
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { SdGridMaterialOption } from '../models/grid-option.model';
|
|
3
|
+
import { SdGridMaterialItem } from '../models/grid.model';
|
|
4
|
+
export declare class SdGroupPipe implements PipeTransform {
|
|
5
|
+
transform(items: any[], gridOption: SdGridMaterialOption): SdGridMaterialItem[];
|
|
6
|
+
}
|
package/package.json
CHANGED
|
index b3034a0..84d0d63 100644
|
|
|
Binary file
|