@wizishop/angular-components 0.0.76 → 0.0.79
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/wizishop-angular-components.umd.js +4 -3
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/selects/select/select.component.js +2 -1
- package/esm2015/lib/components/tree/tree.dto.js +1 -1
- package/esm2015/lib/pipes/tree/format-object-to-recursif-tree.pipe.js +2 -2
- package/esm2015/lib/pipes/tree/format-object-to-simple-tree.pipe.js +3 -3
- package/fesm2015/wizishop-angular-components.js +4 -3
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/tree/tree.dto.d.ts +2 -2
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.79.tgz +0 -0
- package/wizishop-angular-components-0.0.76.tgz +0 -0
|
@@ -2918,6 +2918,7 @@
|
|
|
2918
2918
|
this.onTouch = function () { };
|
|
2919
2919
|
}
|
|
2920
2920
|
SelectComponent.prototype.ngOnInit = function () {
|
|
2921
|
+
this.indexItemSelected = this.items.findIndex(function (item) { return item.selected; });
|
|
2921
2922
|
};
|
|
2922
2923
|
SelectComponent.prototype.onClose = function () {
|
|
2923
2924
|
this.openCategories = false;
|
|
@@ -3797,7 +3798,7 @@
|
|
|
3797
3798
|
object.hasTreeChildren = true;
|
|
3798
3799
|
if (!object.hasOwnProperty(childrenProperty)) {
|
|
3799
3800
|
// No more chrildren
|
|
3800
|
-
object.
|
|
3801
|
+
object.hasTreeChildren = false;
|
|
3801
3802
|
continue;
|
|
3802
3803
|
}
|
|
3803
3804
|
if (!Array.isArray(object[childrenProperty])) {
|
|
@@ -3849,10 +3850,10 @@
|
|
|
3849
3850
|
object.treeLabel = object[property];
|
|
3850
3851
|
continue;
|
|
3851
3852
|
}
|
|
3852
|
-
object.
|
|
3853
|
+
object.hasTreeChildren = true;
|
|
3853
3854
|
if (!this.childrenProperties.includes(property)) {
|
|
3854
3855
|
// No more chrildren
|
|
3855
|
-
object.
|
|
3856
|
+
object.hasTreeChildren = false;
|
|
3856
3857
|
continue;
|
|
3857
3858
|
}
|
|
3858
3859
|
if (!Array.isArray(object[property])) {
|