@sd-angular/core 0.0.1026 → 0.0.1027
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 +11 -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/esm2015/grid-material/src/lib/grid-material.component.js +12 -4
- package/esm2015/grid-material/src/lib/models/grid-editor.model.js +1 -1
- package/fesm2015/sd-angular-core-grid-material.js +11 -3
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/grid-material/src/lib/models/grid-editor.model.d.ts +1 -0
- package/package.json +1 -1
- package/{sd-angular-core-0.0.1026.tgz → sd-angular-core-0.0.1027.tgz} +0 -0
|
@@ -2437,10 +2437,18 @@
|
|
|
2437
2437
|
}
|
|
2438
2438
|
// Đưa item lên dòng đầu tiên nếu type khác popup
|
|
2439
2439
|
if (editor.type !== 'popup') {
|
|
2440
|
-
if (
|
|
2441
|
-
|
|
2440
|
+
if (editor.addToLast) {
|
|
2441
|
+
if (type === 'local') {
|
|
2442
|
+
_this.localItems = __spread(_this.localItems, [item]);
|
|
2443
|
+
}
|
|
2444
|
+
_this.items = __spread(_this.items, [item]);
|
|
2445
|
+
}
|
|
2446
|
+
else {
|
|
2447
|
+
if (type === 'local') {
|
|
2448
|
+
_this.localItems = __spread([item], _this.localItems);
|
|
2449
|
+
}
|
|
2450
|
+
_this.items = __spread([item], _this.items);
|
|
2442
2451
|
}
|
|
2443
|
-
_this.items = __spread([item], _this.items);
|
|
2444
2452
|
}
|
|
2445
2453
|
item.editorStatus = 'create';
|
|
2446
2454
|
item.editorHandlerRow = {
|