@sd-angular/core 1.0.49 → 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 +104 -9
- 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 +3 -3
- 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-group.model.js +2 -0
- package/esm2015/grid-material/src/lib/models/grid-option.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid.model.js +7 -1
- package/esm2015/grid-material/src/lib/pipes/cell-view.pipe.js +3 -3
- 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 +60 -10
- 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-group.model.d.ts +4 -0
- package/grid-material/src/lib/models/grid-option.model.d.ts +2 -0
- 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.49.tgz → sd-angular-core-1.0.52.tgz} +0 -0
|
@@ -9,6 +9,7 @@ import { SdGridMaterialSelection } from './grid-selection.model';
|
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
10
|
import { SdEditor } from './grid-editor.model';
|
|
11
11
|
import { SdGridMaterialStyle } from './grid-style.model';
|
|
12
|
+
import { SdGridMaterialGroup } from './grid-group.model';
|
|
12
13
|
export declare type SdGridMaterialOption<T = any> = SdGridMaterialLocalOption<T> | SdGridMaterialServerOption<T>;
|
|
13
14
|
interface SdGridMaterialBaseOption<T = any> {
|
|
14
15
|
shadow?: boolean;
|
|
@@ -32,6 +33,7 @@ interface SdGridMaterialBaseOption<T = any> {
|
|
|
32
33
|
commands?: SdGridMaterialCommand<T>[];
|
|
33
34
|
columns: SdGridMaterialColumn<T>[];
|
|
34
35
|
subInformation?: SdGridMaterialSubInformation<T>;
|
|
36
|
+
group?: SdGridMaterialGroup<T>;
|
|
35
37
|
style?: SdGridMaterialStyle<T>;
|
|
36
38
|
displayOnEmpty?: boolean | ((rowData: T, column?: SdGridMaterialColumn<T>) => string);
|
|
37
39
|
}
|
|
@@ -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 8b92e92..84d0d63 100644
|
|
|
Binary file
|