@firestitch/list 12.1.1 → 12.1.2
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 +16 -2
- package/bundles/firestitch-list.umd.js.map +1 -1
- package/esm2015/app/classes/sorting-controller.js +3 -3
- package/esm2015/app/models/column-attributes.js +16 -1
- package/fesm2015/firestitch-list.js +17 -2
- package/fesm2015/firestitch-list.js.map +1 -1
- package/package.json +1 -1
|
@@ -2986,6 +2986,21 @@
|
|
|
2986
2986
|
_this.direction = attrs[key];
|
|
2987
2987
|
}
|
|
2988
2988
|
break;
|
|
2989
|
+
case 'sortable':
|
|
2990
|
+
{
|
|
2991
|
+
_this.sortable = attrs[key];
|
|
2992
|
+
}
|
|
2993
|
+
break;
|
|
2994
|
+
case 'show':
|
|
2995
|
+
{
|
|
2996
|
+
_this.visible = attrs[key];
|
|
2997
|
+
}
|
|
2998
|
+
break;
|
|
2999
|
+
case 'visible':
|
|
3000
|
+
{
|
|
3001
|
+
_this.visible = attrs[key];
|
|
3002
|
+
}
|
|
3003
|
+
break;
|
|
2989
3004
|
}
|
|
2990
3005
|
});
|
|
2991
3006
|
};
|
|
@@ -3146,8 +3161,7 @@
|
|
|
3146
3161
|
this.sortDirection(exports.SortingDirection.asc);
|
|
3147
3162
|
};
|
|
3148
3163
|
SortingController.prototype.getColumn = function (name) {
|
|
3149
|
-
return this.sortingColumns.find(function (col) { return col.name === name && col.sortable; })
|
|
3150
|
-
this.fakeSortingColumns.find(function (col) { return col.name === name && col.sortable; });
|
|
3164
|
+
return __spreadArray(__spreadArray([], __read(this.sortingColumns)), __read(this.fakeSortingColumns)).find(function (col) { return col.name === name && col.sortable; });
|
|
3151
3165
|
};
|
|
3152
3166
|
/**
|
|
3153
3167
|
* Destroy
|