@sd-angular/core 1.1.28 → 1.1.31
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 +32 -29
- 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/bundles/sd-angular-core-json-editor.umd.js +10 -2
- package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
- package/bundles/sd-angular-core-json-editor.umd.min.js +1 -1
- package/bundles/sd-angular-core-json-editor.umd.min.js.map +1 -1
- package/esm2015/grid-material/sd-angular-core-grid-material.js +4 -5
- package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +2 -2
- package/esm2015/grid-material/src/lib/grid-material.module.js +1 -4
- package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +27 -4
- package/esm2015/grid-material/src/lib/pipes/editor-handler-row.pipe.js +3 -2
- package/esm2015/json-editor/src/lib/json-editor.component.js +11 -3
- package/fesm2015/sd-angular-core-grid-material.js +30 -23
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-json-editor.js +10 -2
- package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
- package/grid-material/sd-angular-core-grid-material.d.ts +3 -4
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-1.1.28.tgz → sd-angular-core-1.1.31.tgz} +0 -0
- package/esm2015/grid-material/src/lib/pipes/sd-id.pipe.js +0 -18
- package/grid-material/src/lib/pipes/sd-id.pipe.d.ts +0 -6
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { __rest } from "tslib";
|
|
2
|
-
import { Pipe } from '@angular/core';
|
|
3
|
-
import hash from 'object-hash';
|
|
4
|
-
export class SdIdPipe {
|
|
5
|
-
transform(value, item, column) {
|
|
6
|
-
const { sdId, editorHandlerColumn } = item, remain = __rest(item, ["sdId", "editorHandlerColumn"]);
|
|
7
|
-
item.editorHandlerColumn = item.editorHandlerColumn || {};
|
|
8
|
-
item.sdId = hash(remain);
|
|
9
|
-
item.editorHandlerColumn[column.field] = Object.assign({}, item.editorHandlerColumn[column.field]);
|
|
10
|
-
return item.sdId;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
SdIdPipe.decorators = [
|
|
14
|
-
{ type: Pipe, args: [{
|
|
15
|
-
name: 'sdId'
|
|
16
|
-
},] }
|
|
17
|
-
];
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2QtaWQucGlwZS5qcyIsInNvdXJjZVJvb3QiOiJDOi9Vc2Vycy9uZ2hpYXR0MTVfb25lbW91bnQvRG9jdW1lbnRzL2xpYi1jb3JlLXVpL3Byb2plY3RzL3NkLWNvcmUvZ3JpZC1tYXRlcmlhbC8iLCJzb3VyY2VzIjpbInNyYy9saWIvcGlwZXMvc2QtaWQucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7QUFDcEQsT0FBTyxJQUFJLE1BQU0sYUFBYSxDQUFDO0FBTS9CLE1BQU0sT0FBTyxRQUFRO0lBQ25CLFNBQVMsQ0FBQyxLQUFVLEVBQUUsSUFBWSxFQUFFLE1BQTRCO1FBQzlELE1BQU0sRUFBRSxJQUFJLEVBQUUsbUJBQW1CLEtBQWdCLElBQUksRUFBZixNQUFNLFVBQUssSUFBSSxFQUEvQywrQkFBd0MsQ0FBTyxDQUFDO1FBQ3RELElBQUksQ0FBQyxtQkFBbUIsR0FBRyxJQUFJLENBQUMsbUJBQW1CLElBQUksRUFBRSxDQUFDO1FBQzFELElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDLE1BQ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Vtbi5maWVsZF0gPSB7XHJcbiAgICAgIC4uLml0ZW0uZWRpdG9ySGFuZGxlckNvbHVtbltjb2x1bW4uZmllbGRdXHJcbiAgICB9O1xyXG4gICAgcmV0dXJuIGl0ZW0uc2RJZDtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { SdGridMaterialColumn } from '../models/grid-column.model';
|
|
3
|
-
import { SdItem } from '../models/grid.model';
|
|
4
|
-
export declare class SdIdPipe implements PipeTransform {
|
|
5
|
-
transform(value: any, item: SdItem, column: SdGridMaterialColumn): string;
|
|
6
|
-
}
|