@sd-angular/core 0.0.977 → 0.0.981

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.
Files changed (30) hide show
  1. package/bundles/sd-angular-core-grid-material.umd.js +21 -3
  2. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  3. package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
  4. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  5. package/bundles/sd-angular-core-select-editor.umd.js.map +1 -1
  6. package/bundles/sd-angular-core-select-editor.umd.min.js.map +1 -1
  7. package/bundles/sd-angular-core-select.umd.js +64 -8
  8. package/bundles/sd-angular-core-select.umd.js.map +1 -1
  9. package/bundles/sd-angular-core-select.umd.min.js +2 -2
  10. package/bundles/sd-angular-core-select.umd.min.js.map +1 -1
  11. package/esm2015/grid-material/sd-angular-core-grid-material.js +3 -2
  12. package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +2 -2
  13. package/esm2015/grid-material/src/lib/grid-material.module.js +3 -1
  14. package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +2 -2
  15. package/esm2015/grid-material/src/lib/pipes/sd-id.pipe.js +16 -0
  16. package/esm2015/select/src/lib/select.component.js +49 -19
  17. package/esm2015/select-editor/src/lib/select-editor.component.js +1 -1
  18. package/fesm2015/sd-angular-core-grid-material.js +17 -3
  19. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  20. package/fesm2015/sd-angular-core-select-editor.js.map +1 -1
  21. package/fesm2015/sd-angular-core-select.js +48 -19
  22. package/fesm2015/sd-angular-core-select.js.map +1 -1
  23. package/grid-material/sd-angular-core-grid-material.d.ts +2 -1
  24. package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
  25. package/grid-material/src/lib/pipes/editor-handler-column.pipe.d.ts +1 -2
  26. package/grid-material/src/lib/pipes/sd-id.pipe.d.ts +5 -0
  27. package/package.json +1 -1
  28. package/{sd-angular-core-0.0.977.tgz → sd-angular-core-0.0.981.tgz} +0 -0
  29. package/select/sd-angular-core-select.metadata.json +1 -1
  30. package/select/src/lib/select.component.d.ts +2 -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:gridOption\">\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-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>",
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 (value, item, column, gridOption) {
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 = SdStyleRowCss;
4281
+ exports.ɵbp = SdIdPipe;
4282
+ exports.ɵbq = SdStyleRowCss;
4265
4283
  exports.ɵc = SdPopupFilter;
4266
4284
  exports.ɵd = SdGridFilterService;
4267
4285
  exports.ɵe = SdPopupExport;