@firestitch/list 12.18.0 → 12.18.1
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/firestitch-list.umd.js +4 -3
- package/bundles/firestitch-list.umd.js.map +1 -1
- package/esm2015/app/components/body/row/row.component.js +3 -3
- package/esm2015/app/directives/draggable-list/draggable-list.directive.js +3 -2
- package/fesm2015/firestitch-list.js +4 -3
- package/fesm2015/firestitch-list.js.map +1 -1
- package/package.json +1 -1
|
@@ -5333,7 +5333,8 @@
|
|
|
5333
5333
|
// Can not drag before first group and after last group
|
|
5334
5334
|
var swapWithBoundaryGroupElement = (elemIndex === 0 || elemIndex === this._rows.length - 1)
|
|
5335
5335
|
&& targetRow.isGroup
|
|
5336
|
-
|
|
5336
|
+
// TODO fix isChild & all
|
|
5337
|
+
&& this.draggableItem.isChild;
|
|
5337
5338
|
if (!swapWithBoundaryGroupElement) {
|
|
5338
5339
|
if (elemIndex !== null) {
|
|
5339
5340
|
if (targetRow.readyToSwap) {
|
|
@@ -5828,7 +5829,7 @@
|
|
|
5828
5829
|
if ((_a = this.row) === null || _a === void 0 ? void 0 : _a.isGroup) {
|
|
5829
5830
|
cls += ' fs-list-row-group';
|
|
5830
5831
|
}
|
|
5831
|
-
else if ((_b = this.row) === null || _b === void 0 ? void 0 : _b.
|
|
5832
|
+
else if ((_b = this.row) === null || _b === void 0 ? void 0 : _b.isChild) { // TODO fix isChild & all
|
|
5832
5833
|
cls += ' fs-list-row-group-child';
|
|
5833
5834
|
}
|
|
5834
5835
|
else if ((_c = this.row) === null || _c === void 0 ? void 0 : _c.isGroupFooter) {
|
|
@@ -5845,7 +5846,7 @@
|
|
|
5845
5846
|
if (this.row.isGroup) {
|
|
5846
5847
|
options.groupIndex = this.row.index;
|
|
5847
5848
|
}
|
|
5848
|
-
else if (this.row.
|
|
5849
|
+
else if (this.row.isChild || this.row.isGroupFooter) { // TODO fix isChild & all
|
|
5849
5850
|
options.groupIndex = this.row.parent.index;
|
|
5850
5851
|
}
|
|
5851
5852
|
var resultClass = this.rowClass(this.row.data, options);
|