@vgroup/dialbox 0.6.27 → 0.6.28
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/esm2020/lib/components/call-progress/call-progress.component.mjs +4 -1
- package/esm2020/lib/dialbox.component.mjs +4 -4
- package/fesm2015/vgroup-dialbox.mjs +14 -11
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +6 -3
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2757,6 +2757,9 @@ class CallProgressComponent {
|
|
|
2757
2757
|
// this.isCallInProgress = true;
|
|
2758
2758
|
console.log('call startted', callData);
|
|
2759
2759
|
this.callContact(number, true);
|
|
2760
|
+
if (false) {
|
|
2761
|
+
this.startCall({});
|
|
2762
|
+
}
|
|
2760
2763
|
// this.callInitiated.emit({ ...this.callData });
|
|
2761
2764
|
return true;
|
|
2762
2765
|
}
|
|
@@ -3891,8 +3894,8 @@ class DialboxComponent {
|
|
|
3891
3894
|
this.registerDragElement();
|
|
3892
3895
|
}
|
|
3893
3896
|
ngOnChanges(changes) {
|
|
3894
|
-
if (changes['incomingCallnotification']?.currentValue && this.incomingCallnotification && this.incomingCallnotification
|
|
3895
|
-
if (this.incomingCallnotification
|
|
3897
|
+
if (changes['incomingCallnotification']?.currentValue && this.incomingCallnotification && this.incomingCallnotification?.data?.content != "Voicemail") {
|
|
3898
|
+
if (this.incomingCallnotification?.data?.content == "IncomingCall" && this.incomingCallnotification?.data?.status != "rejected" && this.incomingCallnotification?.data?.data?.status != "accepted") {
|
|
3896
3899
|
this.isIncomingCallnotification = true;
|
|
3897
3900
|
let callerInfo;
|
|
3898
3901
|
let numberList = this.callerIdList.map((res) => res.number);
|
|
@@ -3908,7 +3911,7 @@ class DialboxComponent {
|
|
|
3908
3911
|
}
|
|
3909
3912
|
}
|
|
3910
3913
|
}
|
|
3911
|
-
else if (this.incomingCallnotification
|
|
3914
|
+
else if (this.incomingCallnotification?.data?.content == "Missed Call" || this.incomingCallnotification?.data?.data?.status == "rejected" || this.incomingCallnotification?.data?.data?.status == "accepted") {
|
|
3912
3915
|
let index = this.notificationCallList.findIndex((call) => call.participantId === this.incomingCallnotification?.data?.data?.recordId || call.participantId === this.incomingCallnotification?.data?.data?.recordId || call.participantId === this.incomingCallnotification?.data?.data?.participantId);
|
|
3913
3916
|
if (index > -1) {
|
|
3914
3917
|
this.notificationCallList.splice(index, 1);
|