@sd-angular/core 0.0.1033 → 0.0.1034
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/bundles/sd-angular-core-grid-material.umd.js +9 -2
- 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/esm2015/grid-material/src/lib/grid-material.component.js +10 -3
- package/fesm2015/sd-angular-core-grid-material.js +9 -2
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-0.0.1033.tgz → sd-angular-core-0.0.1034.tgz} +0 -0
|
@@ -2571,7 +2571,13 @@
|
|
|
2571
2571
|
}
|
|
2572
2572
|
};
|
|
2573
2573
|
this.add = function (idx, item) {
|
|
2574
|
-
|
|
2574
|
+
if (_this.items.length > idx) {
|
|
2575
|
+
_this.items.splice(idx, 0, item);
|
|
2576
|
+
_this.items = __spread(_this.items);
|
|
2577
|
+
}
|
|
2578
|
+
else {
|
|
2579
|
+
_this.items = __spread(_this.items, [item]);
|
|
2580
|
+
}
|
|
2575
2581
|
};
|
|
2576
2582
|
this.update = function (idx, item) {
|
|
2577
2583
|
if (_this.items[idx]) {
|
|
@@ -2581,7 +2587,8 @@
|
|
|
2581
2587
|
};
|
|
2582
2588
|
this.remove = function (idx) {
|
|
2583
2589
|
if (_this.items[idx]) {
|
|
2584
|
-
_this.items
|
|
2590
|
+
_this.items.splice(idx, 1);
|
|
2591
|
+
_this.items = __spread(_this.items);
|
|
2585
2592
|
}
|
|
2586
2593
|
};
|
|
2587
2594
|
this.detectChanges = function () { return _this.ref.detectChanges(); };
|