@sd-angular/core 1.0.19 → 1.0.22

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 (36) hide show
  1. package/assets/scss/core/toastr.scss +39 -0
  2. package/bundles/sd-angular-core-common.umd.js +11 -0
  3. package/bundles/sd-angular-core-common.umd.js.map +1 -1
  4. package/bundles/sd-angular-core-common.umd.min.js +1 -1
  5. package/bundles/sd-angular-core-common.umd.min.js.map +1 -1
  6. package/bundles/sd-angular-core-grid-material.umd.js +8 -3
  7. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  8. package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
  9. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  10. package/bundles/sd-angular-core-notify.umd.js +392 -16
  11. package/bundles/sd-angular-core-notify.umd.js.map +1 -1
  12. package/bundles/sd-angular-core-notify.umd.min.js +15 -1
  13. package/bundles/sd-angular-core-notify.umd.min.js.map +1 -1
  14. package/bundles/sd-angular-core-select.umd.js +1 -0
  15. package/bundles/sd-angular-core-select.umd.js.map +1 -1
  16. package/bundles/sd-angular-core-select.umd.min.js +1 -1
  17. package/bundles/sd-angular-core-select.umd.min.js.map +1 -1
  18. package/common/src/lib/typings/string.extension.d.ts +1 -0
  19. package/esm2015/common/src/lib/typings/string.extension.js +8 -1
  20. package/esm2015/grid-material/src/lib/grid-material.component.js +9 -4
  21. package/esm2015/grid-material/src/lib/models/grid-editor.model.js +1 -1
  22. package/esm2015/notify/src/lib/notify.service.js +79 -13
  23. package/esm2015/select/src/lib/select.component.js +2 -1
  24. package/fesm2015/sd-angular-core-common.js +7 -0
  25. package/fesm2015/sd-angular-core-common.js.map +1 -1
  26. package/fesm2015/sd-angular-core-grid-material.js +8 -3
  27. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  28. package/fesm2015/sd-angular-core-notify.js +78 -12
  29. package/fesm2015/sd-angular-core-notify.js.map +1 -1
  30. package/fesm2015/sd-angular-core-select.js +1 -0
  31. package/fesm2015/sd-angular-core-select.js.map +1 -1
  32. package/grid-material/src/lib/models/grid-editor.model.d.ts +1 -0
  33. package/notify/sd-angular-core-notify.metadata.json +1 -1
  34. package/notify/src/lib/notify.service.d.ts +4 -2
  35. package/package.json +1 -1
  36. package/{sd-angular-core-1.0.19.tgz → sd-angular-core-1.0.22.tgz} +0 -0
@@ -1862,16 +1862,21 @@ class SdGridMaterial {
1862
1862
  this.ref.detectChanges();
1863
1863
  };
1864
1864
  this.onRemove = (item) => {
1865
+ var _a, _b;
1865
1866
  const { editor } = this.gridOption;
1866
1867
  if (editor.type === 'inline') {
1867
1868
  if (this.gridOption.type === 'local') {
1868
1869
  const idx2 = this.localItems.indexOf(item);
1869
1870
  this.localItems.splice(idx2, 1);
1870
1871
  this.localItems = [...this.localItems];
1872
+ (_a = editor === null || editor === void 0 ? void 0 : editor.onRemove) === null || _a === void 0 ? void 0 : _a.call(editor, item, this.localItems);
1873
+ }
1874
+ else {
1875
+ const idx1 = this.items.indexOf(item);
1876
+ this.items.splice(idx1, 1);
1877
+ this.items = [...this.items];
1878
+ (_b = editor === null || editor === void 0 ? void 0 : editor.onRemove) === null || _b === void 0 ? void 0 : _b.call(editor, item, this.items);
1871
1879
  }
1872
- const idx1 = this.items.indexOf(item);
1873
- this.items.splice(idx1, 1);
1874
- this.items = [...this.items];
1875
1880
  this.ref.detectChanges();
1876
1881
  return;
1877
1882
  }