@sd-angular/core 1.1.27 → 1.1.30

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 (53) hide show
  1. package/assets/scss/core/text.scss +4 -0
  2. package/assets/scss/core/toastr.scss +1 -1
  3. package/bundles/sd-angular-core-comment.umd.js +1 -1
  4. package/bundles/sd-angular-core-comment.umd.js.map +1 -1
  5. package/bundles/sd-angular-core-comment.umd.min.js +1 -1
  6. package/bundles/sd-angular-core-comment.umd.min.js.map +1 -1
  7. package/bundles/sd-angular-core-editor.umd.js +6 -2
  8. package/bundles/sd-angular-core-editor.umd.js.map +1 -1
  9. package/bundles/sd-angular-core-editor.umd.min.js +1 -1
  10. package/bundles/sd-angular-core-editor.umd.min.js.map +1 -1
  11. package/bundles/sd-angular-core-grid-material.umd.js +8 -27
  12. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  13. package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
  14. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  15. package/bundles/sd-angular-core-json-editor.umd.js +10 -2
  16. package/bundles/sd-angular-core-json-editor.umd.js.map +1 -1
  17. package/bundles/sd-angular-core-json-editor.umd.min.js +1 -1
  18. package/bundles/sd-angular-core-json-editor.umd.min.js.map +1 -1
  19. package/bundles/sd-angular-core-popover.umd.js +6 -4
  20. package/bundles/sd-angular-core-popover.umd.js.map +1 -1
  21. package/bundles/sd-angular-core-popover.umd.min.js +1 -1
  22. package/bundles/sd-angular-core-popover.umd.min.js.map +1 -1
  23. package/comment/sd-angular-core-comment.metadata.json +1 -1
  24. package/comment/src/lib/comment.model.d.ts +5 -0
  25. package/editor/sd-angular-core-editor.metadata.json +1 -1
  26. package/editor/src/lib/editor.component.d.ts +5 -0
  27. package/esm2015/comment/src/lib/comment.component.js +2 -2
  28. package/esm2015/comment/src/lib/comment.model.js +1 -1
  29. package/esm2015/editor/src/lib/editor.component.js +7 -3
  30. package/esm2015/grid-material/sd-angular-core-grid-material.js +4 -5
  31. package/esm2015/grid-material/src/lib/components/desktop-cell/desktop-cell.component.js +2 -2
  32. package/esm2015/grid-material/src/lib/grid-material.module.js +1 -4
  33. package/esm2015/grid-material/src/lib/pipes/editor-handler-column.pipe.js +3 -2
  34. package/esm2015/grid-material/src/lib/pipes/editor-handler-row.pipe.js +3 -2
  35. package/esm2015/json-editor/src/lib/json-editor.component.js +11 -3
  36. package/esm2015/popover/src/lib/popover/popover.component.js +7 -5
  37. package/fesm2015/sd-angular-core-comment.js +1 -1
  38. package/fesm2015/sd-angular-core-comment.js.map +1 -1
  39. package/fesm2015/sd-angular-core-editor.js +6 -2
  40. package/fesm2015/sd-angular-core-editor.js.map +1 -1
  41. package/fesm2015/sd-angular-core-grid-material.js +6 -21
  42. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  43. package/fesm2015/sd-angular-core-json-editor.js +10 -2
  44. package/fesm2015/sd-angular-core-json-editor.js.map +1 -1
  45. package/fesm2015/sd-angular-core-popover.js +6 -4
  46. package/fesm2015/sd-angular-core-popover.js.map +1 -1
  47. package/grid-material/sd-angular-core-grid-material.d.ts +3 -4
  48. package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
  49. package/package.json +1 -1
  50. package/popover/sd-angular-core-popover.metadata.json +1 -1
  51. package/{sd-angular-core-1.1.27.tgz → sd-angular-core-1.1.30.tgz} +0 -0
  52. package/esm2015/grid-material/src/lib/pipes/sd-id.pipe.js +0 -18
  53. package/grid-material/src/lib/pipes/sd-id.pipe.d.ts +0 -6
@@ -3937,7 +3937,7 @@
3937
3937
  SdDesktopCell.decorators = [
3938
3938
  { type: core.Component, args: [{
3939
3939
  selector: 'sd-desktop-cell',
3940
- 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 *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-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\" [gridOption]=\"gridOption\" [item]=\"item\">\r\n </sd-desktop-cell-view>\r\n </ng-template>\r\n</ng-container>",
3940
+ 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\" [gridOption]=\"gridOption\" [item]=\"item\">\r\n </sd-desktop-cell-view>\r\n </ng-template>\r\n</ng-container>",
3941
3941
  changeDetection: core.ChangeDetectionStrategy.OnPush
3942
3942
  },] }
3943
3943
  ];
@@ -4011,7 +4011,8 @@
4011
4011
  }
4012
4012
  item.editorHandlerRow = Object.assign(Object.assign({}, item.editorHandlerRow), { visible: false, editable: !status, removable: false, savable: false, cancelable: false });
4013
4013
  }
4014
- var sdId = item.sdId, editorHandlerColumn = item.editorHandlerColumn, remain = __rest(item, ["sdId", "editorHandlerColumn"]);
4014
+ // const { sdId, editorHandlerColumn, ...remain } = item;
4015
+ var sdId = item.sdId, editorHandlerColumn = item.editorHandlerColumn, expandDetail = item.expandDetail, isExpanded = item.isExpanded, isExpanding = item.isExpanding, isSelected = item.isSelected, sdGroup = item.sdGroup, selectable = item.selectable, actions = item.actions, editorHandlerRow = item.editorHandlerRow, groupedActions = item.groupedActions, originItem = item.originItem, editorErrorMessage = item.editorErrorMessage, remain = __rest(item, ["sdId", "editorHandlerColumn", "expandDetail", "isExpanded", "isExpanding", "isSelected", "sdGroup", "selectable", "actions", "editorHandlerRow", "groupedActions", "originItem", "editorErrorMessage"]);
4015
4016
  item.sdId = hash__default['default'](remain);
4016
4017
  return item.editorHandlerRow;
4017
4018
  };
@@ -4061,7 +4062,8 @@
4061
4062
  }
4062
4063
  finally { if (e_1) throw e_1.error; }
4063
4064
  }
4064
- var sdId = item.sdId, editorHandlerColumn = item.editorHandlerColumn, remain = __rest(item, ["sdId", "editorHandlerColumn"]);
4065
+ // const { sdId, editorHandlerColumn, ...remain } = item;
4066
+ var sdId = item.sdId, editorHandlerColumn = item.editorHandlerColumn, expandDetail = item.expandDetail, isExpanded = item.isExpanded, isExpanding = item.isExpanding, isSelected = item.isSelected, sdGroup = item.sdGroup, selectable = item.selectable, actions = item.actions, editorHandlerRow = item.editorHandlerRow, groupedActions = item.groupedActions, originItem = item.originItem, editorErrorMessage = item.editorErrorMessage, remain = __rest(item, ["sdId", "editorHandlerColumn", "expandDetail", "isExpanded", "isExpanding", "isSelected", "sdGroup", "selectable", "actions", "editorHandlerRow", "groupedActions", "originItem", "editorErrorMessage"]);
4065
4067
  item.sdId = hash__default['default'](remain);
4066
4068
  return true;
4067
4069
  };
@@ -4308,24 +4310,6 @@
4308
4310
  },] }
4309
4311
  ];
4310
4312
 
4311
- var SdIdPipe = /** @class */ (function () {
4312
- function SdIdPipe() {
4313
- }
4314
- SdIdPipe.prototype.transform = function (value, item, column) {
4315
- var sdId = item.sdId, editorHandlerColumn = item.editorHandlerColumn, remain = __rest(item, ["sdId", "editorHandlerColumn"]);
4316
- item.editorHandlerColumn = item.editorHandlerColumn || {};
4317
- item.sdId = hash__default['default'](remain);
4318
- item.editorHandlerColumn[column.field] = Object.assign({}, item.editorHandlerColumn[column.field]);
4319
- return item.sdId;
4320
- };
4321
- return SdIdPipe;
4322
- }());
4323
- SdIdPipe.decorators = [
4324
- { type: core.Pipe, args: [{
4325
- name: 'sdId'
4326
- },] }
4327
- ];
4328
-
4329
4313
  var SdGridQuickAction = /** @class */ (function () {
4330
4314
  function SdGridQuickAction() {
4331
4315
  var _this = this;
@@ -4720,7 +4704,6 @@
4720
4704
  SdEditorHandlerRowPipe,
4721
4705
  SdEditorHandlerColumnPipe,
4722
4706
  SdEditorValidatePipe,
4723
- SdIdPipe,
4724
4707
  SdStyleRowCss,
4725
4708
  SdCellViewPipe,
4726
4709
  SdGroupPipe
@@ -4736,7 +4719,6 @@
4736
4719
  providers: [
4737
4720
  common.DatePipe,
4738
4721
  common.DecimalPipe,
4739
- SdIdPipe,
4740
4722
  table$1.CdkColumnDef,
4741
4723
  SdGridFilterService,
4742
4724
  SdGridConfigurationService,
@@ -4776,10 +4758,9 @@
4776
4758
  exports.ɵbl = SdEditorHandlerRowPipe;
4777
4759
  exports.ɵbm = SdEditorHandlerColumnPipe;
4778
4760
  exports.ɵbn = SdEditorValidatePipe;
4779
- exports.ɵbo = SdIdPipe;
4780
- exports.ɵbp = SdStyleRowCss;
4781
- exports.ɵbq = SdCellViewPipe;
4782
- exports.ɵbr = SdGroupPipe;
4761
+ exports.ɵbo = SdStyleRowCss;
4762
+ exports.ɵbp = SdCellViewPipe;
4763
+ exports.ɵbq = SdGroupPipe;
4783
4764
  exports.ɵc = SdPopupFilter;
4784
4765
  exports.ɵd = SdGridFilterService;
4785
4766
  exports.ɵe = SdPopupExport;