@sd-angular/core 0.0.939 → 0.0.943
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 +102 -53
- 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 +30 -28
- package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +4 -4
- package/esm2015/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.js +2 -1
- package/esm2015/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.js +2 -1
- package/esm2015/grid-material/src/lib/components/desktop-editor-validation/desktop-editor-validation.component.js +19 -0
- package/esm2015/grid-material/src/lib/components/grid-filter/grid-filter.component.js +1 -1
- package/esm2015/grid-material/src/lib/grid-material.component.js +6 -2
- package/esm2015/grid-material/src/lib/grid-material.module.js +9 -3
- package/esm2015/grid-material/src/lib/models/grid-option.model.js +1 -1
- package/esm2015/grid-material/src/lib/models/grid-style.model.js +2 -0
- package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +3 -1
- package/esm2015/grid-material/src/lib/pipes/editor-validate.pipe.js +7 -10
- package/esm2015/grid-material/src/lib/pipes/style-row-css.pipe.js +13 -0
- package/esm2015/grid-material/src/lib/services/grid-configuration.service.js +6 -1
- package/fesm2015/sd-angular-core-grid-material.js +68 -25
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/grid-material/sd-angular-core-grid-material.d.ts +29 -27
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/grid-material/src/lib/components/desktop-cell/desktop-cell.component.d.ts +1 -0
- package/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.d.ts +1 -0
- package/grid-material/src/lib/components/desktop-cell-view/desktop-cell-view.component.d.ts +1 -0
- package/grid-material/src/lib/components/desktop-editor-validation/desktop-editor-validation.component.d.ts +7 -0
- package/grid-material/src/lib/grid-material.component.d.ts +1 -0
- package/grid-material/src/lib/models/grid-option.model.d.ts +2 -3
- package/grid-material/src/lib/models/grid-style.model.d.ts +6 -0
- package/grid-material/src/lib/models/grid.model.d.ts +1 -0
- package/grid-material/src/lib/pipes/editor-validate.pipe.d.ts +1 -2
- package/grid-material/src/lib/pipes/style-row-css.pipe.d.ts +7 -0
- package/package.json +1 -1
- package/{sd-angular-core-0.0.939.tgz → sd-angular-core-0.0.943.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;
|
|
@@ -8,6 +8,7 @@ import { SdGridMaterialSubInformation } from './grid-sub-information.model';
|
|
|
8
8
|
import { SdGridMaterialSelection } from './grid-selection.model';
|
|
9
9
|
import { Observable } from 'rxjs';
|
|
10
10
|
import { SdEditor } from './grid-editor.model';
|
|
11
|
+
import { SdGridMaterialStyle } from './grid-style.model';
|
|
11
12
|
export declare type SdGridMaterialOption<T = any> = SdGridMaterialLocalOption<T> | SdGridMaterialServerOption<T>;
|
|
12
13
|
interface SdGridMaterialBaseOption<T = any> {
|
|
13
14
|
shadow?: boolean;
|
|
@@ -31,9 +32,7 @@ interface SdGridMaterialBaseOption<T = any> {
|
|
|
31
32
|
commands?: SdGridMaterialCommand<T>[];
|
|
32
33
|
columns: SdGridMaterialColumn<T>[];
|
|
33
34
|
subInformation?: SdGridMaterialSubInformation<T>;
|
|
34
|
-
style?:
|
|
35
|
-
grid?: 'style1' | 'style2';
|
|
36
|
-
};
|
|
35
|
+
style?: SdGridMaterialStyle<T>;
|
|
37
36
|
}
|
|
38
37
|
interface SdGridMaterialLocalOption<T = any> extends SdGridMaterialBaseOption<T> {
|
|
39
38
|
type: 'local';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { SdGridMaterialColumn } from '../models/grid-column.model';
|
|
3
2
|
import { SdGridMaterialOption } from '../models/grid-option.model';
|
|
4
3
|
import { SdItem } from '../models/grid.model';
|
|
5
4
|
export declare class SdEditorValidatePipe implements PipeTransform {
|
|
6
5
|
private previous;
|
|
7
6
|
private delay;
|
|
8
|
-
transform(
|
|
7
|
+
transform(sdId: string, item: SdItem, gridOption: SdGridMaterialOption): Promise<string>;
|
|
9
8
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { SdGridMaterialOption } from '../models/grid-option.model';
|
|
3
|
+
export declare class SdStyleRowCss implements PipeTransform {
|
|
4
|
+
transform(item: any, gridOption: SdGridMaterialOption): {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
package/package.json
CHANGED
|
index a0fd354..945b509 100644
|
|
|
Binary file
|