@wizishop/angular-components 0.0.64 → 0.0.65
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 +9 -5
- 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/selected-list/selected-list.component.js +10 -6
- package/fesm2015/wizishop-angular-components.js +9 -5
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/selected-list/selected-list.component.d.ts +3 -1
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.65.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.64.tgz +0 -0
|
@@ -3686,7 +3686,9 @@
|
|
|
3686
3686
|
var SelectedListComponent = /** @class */ (function () {
|
|
3687
3687
|
function SelectedListComponent() {
|
|
3688
3688
|
this.enableSelectAll = true;
|
|
3689
|
-
this.
|
|
3689
|
+
this.selectedItemsIndex = new i0.EventEmitter();
|
|
3690
|
+
this.selectedItemsAll = new i0.EventEmitter();
|
|
3691
|
+
this.unSelectedItemsAll = new i0.EventEmitter();
|
|
3690
3692
|
this.selectedOptionIndex = [];
|
|
3691
3693
|
this.switchSelectAll = false;
|
|
3692
3694
|
}
|
|
@@ -3706,7 +3708,7 @@
|
|
|
3706
3708
|
_this.selectedOptionIndex.push(i);
|
|
3707
3709
|
});
|
|
3708
3710
|
this.switchSelectAll = true;
|
|
3709
|
-
this.
|
|
3711
|
+
this.selectedItemsAll.emit(this.selectedOptionIndex);
|
|
3710
3712
|
};
|
|
3711
3713
|
SelectedListComponent.prototype.checkSelectedItem = function () {
|
|
3712
3714
|
var _this = this;
|
|
@@ -3724,12 +3726,12 @@
|
|
|
3724
3726
|
_this.options[i].checked = false;
|
|
3725
3727
|
});
|
|
3726
3728
|
this.switchSelectAll = false;
|
|
3727
|
-
this.
|
|
3729
|
+
this.unSelectedItemsAll.emit(this.selectedOptionIndex);
|
|
3728
3730
|
};
|
|
3729
3731
|
SelectedListComponent.prototype.selectItem = function (i) {
|
|
3730
3732
|
this.options[i].checked = !this.options[i].checked;
|
|
3731
3733
|
this.checkSelectedItem();
|
|
3732
|
-
this.
|
|
3734
|
+
this.selectedItemsIndex.emit(i);
|
|
3733
3735
|
};
|
|
3734
3736
|
return SelectedListComponent;
|
|
3735
3737
|
}());
|
|
@@ -3745,7 +3747,9 @@
|
|
|
3745
3747
|
textSelectAll: [{ type: i0.Input }],
|
|
3746
3748
|
textUnSelectAll: [{ type: i0.Input }],
|
|
3747
3749
|
enableSelectAll: [{ type: i0.Input }],
|
|
3748
|
-
|
|
3750
|
+
selectedItemsIndex: [{ type: i0.Output }],
|
|
3751
|
+
selectedItemsAll: [{ type: i0.Output }],
|
|
3752
|
+
unSelectedItemsAll: [{ type: i0.Output }]
|
|
3749
3753
|
};
|
|
3750
3754
|
|
|
3751
3755
|
var components = [
|