@vgroup/dialbox 0.6.2 → 0.6.4
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.
|
@@ -3314,6 +3314,10 @@ class DialboxComponent {
|
|
|
3314
3314
|
yield this.getRemoveParticipants('all', this.incomingCallsList[0].conferenceId);
|
|
3315
3315
|
window.location.reload();
|
|
3316
3316
|
}
|
|
3317
|
+
else {
|
|
3318
|
+
event.preventDefault();
|
|
3319
|
+
event.returnValue = false;
|
|
3320
|
+
}
|
|
3317
3321
|
}), 0);
|
|
3318
3322
|
}
|
|
3319
3323
|
}
|
|
@@ -4305,12 +4309,14 @@ class DialboxComponent {
|
|
|
4305
4309
|
yield this.askForMicrophonePermission();
|
|
4306
4310
|
return false;
|
|
4307
4311
|
}
|
|
4312
|
+
this.isLoadershow = true;
|
|
4308
4313
|
if (!this.selectedCallerId) {
|
|
4309
4314
|
this.shakeDedicatedBtn = true;
|
|
4310
4315
|
this.showDialAlert('Select a C2C number to call');
|
|
4311
4316
|
setTimeout(() => {
|
|
4312
4317
|
this.shakeDedicatedBtn = false;
|
|
4313
4318
|
}, 3000);
|
|
4319
|
+
this.isLoadershow = false;
|
|
4314
4320
|
return false;
|
|
4315
4321
|
}
|
|
4316
4322
|
// Clear displayNum if value is bound from previous call
|
|
@@ -4325,8 +4331,6 @@ class DialboxComponent {
|
|
|
4325
4331
|
this.callData = Object.assign(Object.assign({}, this.callData), { phone: this.sanitizedNum, isIncomingCall: false, dial: true, from: this.isSmartDialCall ? this.callData.from : this.selectedCallerId.number, timestamp: new Date().toISOString() });
|
|
4326
4332
|
console.log('dd10');
|
|
4327
4333
|
this.isCallInProgress = true;
|
|
4328
|
-
this.isLoadershow = true;
|
|
4329
|
-
this.cdk.detectChanges();
|
|
4330
4334
|
this.callInitiated.emit(Object.assign({}, this.callData));
|
|
4331
4335
|
return true;
|
|
4332
4336
|
}
|