@sd-angular/core 0.0.985 → 0.0.989
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 +7 -7
- 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-select.umd.js +49 -128
- package/bundles/sd-angular-core-select.umd.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.min.js +2 -2
- package/bundles/sd-angular-core-select.umd.min.js.map +1 -1
- package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +2 -2
- package/esm2015/grid-material/src/lib/models/grid.model.js +1 -1
- package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +2 -3
- package/esm2015/grid-material/src/lib/pipes/sd-id.pipe.js +5 -4
- package/esm2015/grid-material/src/lib/pipes/selection-visible-select-all.pipe.js +2 -2
- package/esm2015/select/src/lib/select.component.js +50 -129
- package/fesm2015/sd-angular-core-grid-material.js +7 -7
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-select.js +49 -128
- package/fesm2015/sd-angular-core-select.js.map +1 -1
- package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
- package/grid-material/src/lib/models/grid.model.d.ts +1 -0
- package/grid-material/src/lib/pipes/editor-handler-column.pipe.d.ts +1 -1
- package/grid-material/src/lib/pipes/sd-id.pipe.d.ts +2 -1
- package/package.json +1 -1
- package/{sd-angular-core-0.0.985.tgz → sd-angular-core-0.0.989.tgz} +0 -0
- package/select/sd-angular-core-select.metadata.json +1 -1
|
@@ -3585,7 +3585,7 @@
|
|
|
3585
3585
|
return [2 /*return*/, true];
|
|
3586
3586
|
}
|
|
3587
3587
|
if (!items.length) {
|
|
3588
|
-
return [2 /*return*/,
|
|
3588
|
+
return [2 /*return*/, false];
|
|
3589
3589
|
}
|
|
3590
3590
|
return [4 /*yield*/, new Promise(function (resolve) { return setTimeout(resolve, 500); })];
|
|
3591
3591
|
case 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] | sdId:item\">\r\n <ng-container
|
|
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:column\">\r\n <ng-container\r\n *sdLet=\"item.sdId !== item.editorHandlerColumn[column.field].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,11 +3883,10 @@
|
|
|
3883
3883
|
return true;
|
|
3884
3884
|
});
|
|
3885
3885
|
}
|
|
3886
|
-
SdEditorHandlerColumnPipe.prototype.transform = function (
|
|
3886
|
+
SdEditorHandlerColumnPipe.prototype.transform = function (value, item, column) {
|
|
3887
3887
|
if (column.type === 'children' || column.type === 'children-col') {
|
|
3888
3888
|
return;
|
|
3889
3889
|
}
|
|
3890
|
-
item.editorHandlerColumn = item.editorHandlerColumn || {};
|
|
3891
3890
|
item.editorHandlerColumn[column.field] = Object.assign(Object.assign({}, item.editorHandlerColumn[column.field]), { visible: __classPrivateFieldGet(this, _visible).call(this, column, item) });
|
|
3892
3891
|
var sdId = item.sdId, remain = __rest(item, ["sdId"]);
|
|
3893
3892
|
item.sdId = hash__namespace(remain);
|
|
@@ -4107,9 +4106,10 @@
|
|
|
4107
4106
|
var SdIdPipe = /** @class */ (function () {
|
|
4108
4107
|
function SdIdPipe() {
|
|
4109
4108
|
}
|
|
4110
|
-
SdIdPipe.prototype.transform = function (value, item) {
|
|
4111
|
-
var sdId = item.sdId, remain = __rest(item, ["sdId"]);
|
|
4112
|
-
item.sdId =
|
|
4109
|
+
SdIdPipe.prototype.transform = function (value, item, column) {
|
|
4110
|
+
var sdId = item.sdId, editorHandlerColumn = item.editorHandlerColumn, remain = __rest(item, ["sdId", "editorHandlerColumn"]);
|
|
4111
|
+
item.sdId = hash__default['default'](remain);
|
|
4112
|
+
item.editorHandlerColumn[column.field] = Object.assign(Object.assign({}, item.editorHandlerColumn[column.field]), { sdId: item.sdId });
|
|
4113
4113
|
return item.sdId;
|
|
4114
4114
|
};
|
|
4115
4115
|
return SdIdPipe;
|