@sd-angular/core 1.2.7 → 1.2.10

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 (40) hide show
  1. package/bundles/sd-angular-core-grid-material.umd.js +9 -6
  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-input-currency.umd.js +5 -6
  6. package/bundles/sd-angular-core-input-currency.umd.js.map +1 -1
  7. package/bundles/sd-angular-core-input-currency.umd.min.js +2 -2
  8. package/bundles/sd-angular-core-input-currency.umd.min.js.map +1 -1
  9. package/bundles/sd-angular-core-input-number.umd.js +5 -5
  10. package/bundles/sd-angular-core-input-number.umd.js.map +1 -1
  11. package/bundles/sd-angular-core-input-number.umd.min.js +2 -2
  12. package/bundles/sd-angular-core-input-number.umd.min.js.map +1 -1
  13. package/bundles/sd-angular-core-input.umd.js +5 -6
  14. package/bundles/sd-angular-core-input.umd.js.map +1 -1
  15. package/bundles/sd-angular-core-input.umd.min.js +2 -2
  16. package/bundles/sd-angular-core-input.umd.min.js.map +1 -1
  17. package/bundles/sd-angular-core-select.umd.js +1 -5
  18. package/bundles/sd-angular-core-select.umd.js.map +1 -1
  19. package/bundles/sd-angular-core-select.umd.min.js +1 -1
  20. package/bundles/sd-angular-core-select.umd.min.js.map +1 -1
  21. package/esm2015/grid-material/src/lib/components/desktop-cell-editor/desktop-cell-editor.component.js +10 -7
  22. package/esm2015/grid-material/src/lib/models/grid-column.model.js +1 -1
  23. package/esm2015/input/src/lib/input.component.js +2 -3
  24. package/esm2015/input-currency/src/lib/input-currency.component.js +2 -3
  25. package/esm2015/input-number/src/lib/input-number.component.js +2 -3
  26. package/esm2015/select/src/lib/select.component.js +1 -4
  27. package/fesm2015/sd-angular-core-grid-material.js +9 -6
  28. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  29. package/fesm2015/sd-angular-core-input-currency.js +1 -2
  30. package/fesm2015/sd-angular-core-input-currency.js.map +1 -1
  31. package/fesm2015/sd-angular-core-input-number.js +1 -2
  32. package/fesm2015/sd-angular-core-input-number.js.map +1 -1
  33. package/fesm2015/sd-angular-core-input.js +1 -2
  34. package/fesm2015/sd-angular-core-input.js.map +1 -1
  35. package/fesm2015/sd-angular-core-select.js +0 -3
  36. package/fesm2015/sd-angular-core-select.js.map +1 -1
  37. package/grid-material/src/lib/models/grid-column.model.d.ts +3 -3
  38. package/package.json +1 -1
  39. package/sd-angular-core-1.2.10.tgz +0 -0
  40. package/sd-angular-core-1.2.7.tgz +0 -0
@@ -4062,24 +4062,27 @@
4062
4062
  if (_this.column.type === 'children' || _this.column.type === 'children-col') {
4063
4063
  return;
4064
4064
  }
4065
- var editor = (_a = _this.column) === null || _a === void 0 ? void 0 : _a.editor;
4066
- (_b = editor === null || editor === void 0 ? void 0 : editor.add) === null || _b === void 0 ? void 0 : _b.apply(undefined);
4065
+ if (_this.column.type === 'values') {
4066
+ (_b = (_a = _this.column.editor) === null || _a === void 0 ? void 0 : _a.add) === null || _b === void 0 ? void 0 : _b.call(_a, _this.item);
4067
+ }
4067
4068
  };
4068
4069
  this.editorOnEdit = function (option) {
4069
4070
  var _a, _b;
4070
4071
  if (_this.column.type === 'children' || _this.column.type === 'children-col') {
4071
4072
  return;
4072
4073
  }
4073
- var editor = (_a = _this.column) === null || _a === void 0 ? void 0 : _a.editor;
4074
- (_b = editor === null || editor === void 0 ? void 0 : editor.edit) === null || _b === void 0 ? void 0 : _b.apply(undefined, [option, _this.item]);
4074
+ if (_this.column.type === 'values') {
4075
+ (_b = (_a = _this.column.editor) === null || _a === void 0 ? void 0 : _a.edit) === null || _b === void 0 ? void 0 : _b.call(_a, option, _this.item);
4076
+ }
4075
4077
  };
4076
4078
  this.editorOnDelete = function (option) {
4077
4079
  var _a, _b;
4078
4080
  if (_this.column.type === 'children' || _this.column.type === 'children-col') {
4079
4081
  return;
4080
4082
  }
4081
- var editor = (_a = _this.column) === null || _a === void 0 ? void 0 : _a.editor;
4082
- (_b = editor === null || editor === void 0 ? void 0 : editor.delete) === null || _b === void 0 ? void 0 : _b.apply(undefined, [option, _this.item]);
4083
+ if (_this.column.type === 'values') {
4084
+ (_b = (_a = _this.column.editor) === null || _a === void 0 ? void 0 : _a.delete) === null || _b === void 0 ? void 0 : _b.call(_a, option, _this.item);
4085
+ }
4083
4086
  };
4084
4087
  }
4085
4088
  return SdDesktopCellEditor;