@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.
- package/assets/scss/core/toastr.scss +39 -0
- package/bundles/sd-angular-core-common.umd.js +11 -0
- package/bundles/sd-angular-core-common.umd.js.map +1 -1
- package/bundles/sd-angular-core-common.umd.min.js +1 -1
- package/bundles/sd-angular-core-common.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.js +8 -3
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-notify.umd.js +392 -16
- package/bundles/sd-angular-core-notify.umd.js.map +1 -1
- package/bundles/sd-angular-core-notify.umd.min.js +15 -1
- package/bundles/sd-angular-core-notify.umd.min.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.js +1 -0
- package/bundles/sd-angular-core-select.umd.js.map +1 -1
- package/bundles/sd-angular-core-select.umd.min.js +1 -1
- package/bundles/sd-angular-core-select.umd.min.js.map +1 -1
- package/common/src/lib/typings/string.extension.d.ts +1 -0
- package/esm2015/common/src/lib/typings/string.extension.js +8 -1
- package/esm2015/grid-material/src/lib/grid-material.component.js +9 -4
- package/esm2015/grid-material/src/lib/models/grid-editor.model.js +1 -1
- package/esm2015/notify/src/lib/notify.service.js +79 -13
- package/esm2015/select/src/lib/select.component.js +2 -1
- package/fesm2015/sd-angular-core-common.js +7 -0
- package/fesm2015/sd-angular-core-common.js.map +1 -1
- package/fesm2015/sd-angular-core-grid-material.js +8 -3
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/fesm2015/sd-angular-core-notify.js +78 -12
- package/fesm2015/sd-angular-core-notify.js.map +1 -1
- package/fesm2015/sd-angular-core-select.js +1 -0
- package/fesm2015/sd-angular-core-select.js.map +1 -1
- package/grid-material/src/lib/models/grid-editor.model.d.ts +1 -0
- package/notify/sd-angular-core-notify.metadata.json +1 -1
- package/notify/src/lib/notify.service.d.ts +4 -2
- package/package.json +1 -1
- 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
|
}
|