@vgroup/dialbox 0.5.19 → 0.5.20
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.
|
@@ -3969,14 +3969,15 @@ class DialboxComponent {
|
|
|
3969
3969
|
}
|
|
3970
3970
|
}
|
|
3971
3971
|
incomingCallNotification(callerInfo) {
|
|
3972
|
-
var _a, _b, _c, _d, _e, _f;
|
|
3972
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
3973
3973
|
let incomingCall = {
|
|
3974
3974
|
conferenceId: 'no',
|
|
3975
3975
|
isActive: true,
|
|
3976
3976
|
isIncomingCall: true,
|
|
3977
3977
|
participantId: (_a = this.incomingCallnotification.data.data) === null || _a === void 0 ? void 0 : _a.participantId,
|
|
3978
3978
|
participants: [
|
|
3979
|
-
{ direction: "incoming-call", img: 'assets/images/user.jpg', isIncomingCall: true, isHold: false, isConference: false, isAcceptCall: false, dial: true, phone: (_b = this.incomingCallnotification.data.data) === null || _b === void 0 ? void 0 : _b.fromNumber,
|
|
3979
|
+
{ direction: "incoming-call", img: 'assets/images/user.jpg', isIncomingCall: true, isHold: false, isConference: false, isAcceptCall: false, dial: true, phone: (_b = this.incomingCallnotification.data.data) === null || _b === void 0 ? void 0 : _b.fromNumber,
|
|
3980
|
+
from: (_c = this.incomingCallnotification.data.data) === null || _c === void 0 ? void 0 : _c.fromNumber, fromName: (_d = this.incomingCallnotification.data.data) === null || _d === void 0 ? void 0 : _d.fromName, participantId: (_e = this.incomingCallnotification.data.data) === null || _e === void 0 ? void 0 : _e.participantId, name: (_f = this.incomingCallnotification.data.data) === null || _f === void 0 ? void 0 : _f.fromName, time: '', id: (_g = this.incomingCallnotification.data.data) === null || _g === void 0 ? void 0 : _g.participantId }
|
|
3980
3981
|
],
|
|
3981
3982
|
};
|
|
3982
3983
|
if (callerInfo) {
|
|
@@ -3995,7 +3996,7 @@ class DialboxComponent {
|
|
|
3995
3996
|
}
|
|
3996
3997
|
this.incomingCallsList.push(incomingCall);
|
|
3997
3998
|
this.notificationCallList.push(incomingCall);
|
|
3998
|
-
if ((
|
|
3999
|
+
if ((_h = this.incomingCallnotification.data.data) === null || _h === void 0 ? void 0 : _h.participantId) {
|
|
3999
4000
|
this.isCallInProgress = true;
|
|
4000
4001
|
this.isDialpadHidden = false;
|
|
4001
4002
|
}
|