@sd-angular/core 0.0.978 → 0.0.982
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 +21 -3
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.js +80 -32
- package/bundles/sd-angular-core-select.umd.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.min.js +1 -1
- package/bundles/sd-angular-core-select.umd.min.js.map +1 -1
- package/esm2015/grid-material/sd-angular-core-grid-material.js +3 -2
- 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 +3 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +2 -2
- package/esm2015/grid-material/src/lib/pipes/sd-id.pipe.js +16 -0
- package/esm2015/select/src/lib/select.component.js +47 -25
- package/fesm2015/sd-angular-core-grid-material.js +17 -3
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-select.js +46 -25
- package/fesm2015/sd-angular-core-select.js.map +1 -1
- package/grid-material/sd-angular-core-grid-material.d.ts +2 -1
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/grid-material/src/lib/pipes/editor-handler-column.pipe.d.ts +1 -2
- package/grid-material/src/lib/pipes/sd-id.pipe.d.ts +5 -0
- package/package.json +1 -1
- package/{sd-angular-core-0.0.978.tgz → sd-angular-core-0.0.982.tgz} +0 -0
- package/select/sd-angular-core-select.metadata.json +1 -1
- package/select/src/lib/select.component.d.ts +1 -1
|
@@ -3779,7 +3779,7 @@
|
|
|
3779
3779
|
SdDesktopCell.decorators = [
|
|
3780
3780
|
{ type: core.Component, args: [{
|
|
3781
3781
|
selector: 'sd-desktop-cell',
|
|
3782
|
-
template: "<ng-container *ngIf=\"column && item\">\r\n <ng-container *ngIf=\"item.editorHandlerRow?.visible;else useView\">\r\n <ng-container *sdLet=\"item[column.field] | sdEditorHandlerColumn:item:column
|
|
3782
|
+
template: "<ng-container *ngIf=\"column && item\">\r\n <ng-container *ngIf=\"item.editorHandlerRow?.visible;else useView\">\r\n <ng-container *sdLet=\"item[column.field] | sdId:item\">\r\n <ng-container *sdLet=\"item.sdId | sdEditorHandlerColumn:item:column\">\r\n <ng-container *ngIf=\"item.editorHandlerColumn[column.field]?.visible;else useView\">\r\n <ng-container *ngIf=\"cellDef[column.field]\">\r\n <ng-container *ngTemplateOutlet=\"\r\n cellDef[column.field].templateRef;\r\n context: { item: item, column: column, idx: idx, isEdited: true }\r\n \">\r\n </ng-container>\r\n </ng-container>\r\n <sd-desktop-cell-editor *ngIf=\"!cellDef[column.field]\" [sdId]=\"item.sdId\" [column]=\"column\" [item]=\"item\">\r\n </sd-desktop-cell-editor>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n </ng-container>\r\n <ng-template #useView>\r\n <ng-container *ngIf=\"cellDef[column.field]\">\r\n <ng-container *ngTemplateOutlet=\"\r\n cellDef[column.field].templateRef;\r\n context: { item: item, column: column, idx: idx }\r\n \">\r\n </ng-container>\r\n </ng-container>\r\n <sd-desktop-cell-view *ngIf=\"!cellDef[column.field]\" [sdId]=\"item.sdId\" [key]=\"key\" [column]=\"column\" [item]=\"item\">\r\n </sd-desktop-cell-view>\r\n </ng-template>\r\n</ng-container>",
|
|
3783
3783
|
changeDetection: core.ChangeDetectionStrategy.OnPush
|
|
3784
3784
|
},] }
|
|
3785
3785
|
];
|
|
@@ -3883,7 +3883,7 @@
|
|
|
3883
3883
|
return true;
|
|
3884
3884
|
});
|
|
3885
3885
|
}
|
|
3886
|
-
SdEditorHandlerColumnPipe.prototype.transform = function (
|
|
3886
|
+
SdEditorHandlerColumnPipe.prototype.transform = function (id, item, column) {
|
|
3887
3887
|
if (column.type === 'children' || column.type === 'children-col') {
|
|
3888
3888
|
return;
|
|
3889
3889
|
}
|
|
@@ -4104,6 +4104,22 @@
|
|
|
4104
4104
|
},] }
|
|
4105
4105
|
];
|
|
4106
4106
|
|
|
4107
|
+
var SdIdPipe = /** @class */ (function () {
|
|
4108
|
+
function SdIdPipe() {
|
|
4109
|
+
}
|
|
4110
|
+
SdIdPipe.prototype.transform = function (value, item) {
|
|
4111
|
+
var sdId = item.sdId, remain = __rest(item, ["sdId"]);
|
|
4112
|
+
item.sdId = hash__namespace(remain);
|
|
4113
|
+
return item.sdId;
|
|
4114
|
+
};
|
|
4115
|
+
return SdIdPipe;
|
|
4116
|
+
}());
|
|
4117
|
+
SdIdPipe.decorators = [
|
|
4118
|
+
{ type: core.Pipe, args: [{
|
|
4119
|
+
name: 'sdId'
|
|
4120
|
+
},] }
|
|
4121
|
+
];
|
|
4122
|
+
|
|
4107
4123
|
var MatPaginatorIntlCro = /** @class */ (function (_super) {
|
|
4108
4124
|
__extends(MatPaginatorIntlCro, _super);
|
|
4109
4125
|
function MatPaginatorIntlCro() {
|
|
@@ -4204,6 +4220,7 @@
|
|
|
4204
4220
|
SdEditorHandlerRowPipe,
|
|
4205
4221
|
SdEditorHandlerColumnPipe,
|
|
4206
4222
|
SdEditorValidatePipe,
|
|
4223
|
+
SdIdPipe,
|
|
4207
4224
|
SdStyleRowCss
|
|
4208
4225
|
],
|
|
4209
4226
|
exports: [
|
|
@@ -4261,7 +4278,8 @@
|
|
|
4261
4278
|
exports.ɵbm = SdEditorHandlerRowPipe;
|
|
4262
4279
|
exports.ɵbn = SdEditorHandlerColumnPipe;
|
|
4263
4280
|
exports.ɵbo = SdEditorValidatePipe;
|
|
4264
|
-
exports.ɵbp =
|
|
4281
|
+
exports.ɵbp = SdIdPipe;
|
|
4282
|
+
exports.ɵbq = SdStyleRowCss;
|
|
4265
4283
|
exports.ɵc = SdPopupFilter;
|
|
4266
4284
|
exports.ɵd = SdGridFilterService;
|
|
4267
4285
|
exports.ɵe = SdPopupExport;
|