@vgroup/dialbox 0.4.78 → 0.4.90
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/dialbox.component.mjs +9 -4
- package/esm2020/lib/environments/environments.mjs +9 -9
- package/fesm2015/vgroup-dialbox.mjs +16 -11
- package/fesm2015/vgroup-dialbox.mjs.map +1 -1
- package/fesm2020/vgroup-dialbox.mjs +16 -11
- package/fesm2020/vgroup-dialbox.mjs.map +1 -1
- package/lib/environments/environments.d.ts +1 -1
- package/package.json +1 -1
|
@@ -63,23 +63,23 @@ const keypad = [
|
|
|
63
63
|
];
|
|
64
64
|
|
|
65
65
|
const environment = {
|
|
66
|
-
abb: "
|
|
66
|
+
abb: "t",
|
|
67
67
|
production: false,
|
|
68
68
|
secureCookies: true,
|
|
69
|
-
feUrl: 'https://
|
|
69
|
+
feUrl: 'https://test.vgroupinc.com:91/',
|
|
70
70
|
apiUrl: 'https://apis.vgroupinc.com/test_softphone',
|
|
71
|
-
captchaKey: "6LfpOmEaAAAAAGsI6JXlMzOl3b7rW4YmYXFDjldD",
|
|
72
71
|
websocketUrl: 'wss://apis.vgroupinc.com/test_softphone/',
|
|
73
|
-
|
|
72
|
+
captchaKey: "6LfpOmEaAAAAAGsI6JXlMzOl3b7rW4YmYXFDjldD",
|
|
73
|
+
stripePublishableKey: "pk_test_51NbMVaA3guus6fhlTuCV5ycFTIJmwgN38dDUf9pNPfM319x5CkLbV6EbTQaZiNOrRsfR16RWLE8hQmR0eZFTBqTy00Wlsug4qS",
|
|
74
74
|
sessionTimeout: 15,
|
|
75
75
|
deviceType: "web",
|
|
76
76
|
appVersion: "2.3",
|
|
77
77
|
channelId: '61481b12e138eb7dc3007579',
|
|
78
78
|
c2c_support_point_id: '60424735f74ac306c1bfa900',
|
|
79
|
-
c2c_support_channel_id: '
|
|
80
|
-
c2c_point_url: 'https://
|
|
81
|
-
c2c_call_label_id: '
|
|
82
|
-
c2c_email_label_id: '
|
|
79
|
+
c2c_support_channel_id: '677f6726be93ab507fbbfdf0',
|
|
80
|
+
c2c_point_url: 'https://app.contexttocall.com/assets/cdn/c2c.js',
|
|
81
|
+
c2c_call_label_id: '6NU5fKE2mGTyXDC3yhmK',
|
|
82
|
+
c2c_email_label_id: 'YPMamj8RvsGORVvqXWyc',
|
|
83
83
|
radarAPIKey: 'prj_live_sk_569b6f639edde6120a26f703511c61aaecd3f7ef',
|
|
84
84
|
firebase: {
|
|
85
85
|
apiKey: "AIzaSyCA8LSPrqlDq_thk26LhBQexAQeY6pkU5Y",
|
|
@@ -3740,6 +3740,7 @@ class DialboxComponent {
|
|
|
3740
3740
|
let contact = this.contactInfo;
|
|
3741
3741
|
if (contact.number) {
|
|
3742
3742
|
this.isSmartDialCall = false;
|
|
3743
|
+
this.dialedNumber = contact.number;
|
|
3743
3744
|
if (contact.isDialFromHistory) {
|
|
3744
3745
|
//handle dialing from history page
|
|
3745
3746
|
if (contact.callerId == 'smartDialing') {
|
|
@@ -3889,10 +3890,14 @@ class DialboxComponent {
|
|
|
3889
3890
|
// emit current number whenever input changes
|
|
3890
3891
|
this.numberDialed.emit(this.dialedNumber);
|
|
3891
3892
|
if (inputVal.length > 2) {
|
|
3892
|
-
this.filteredContactList =
|
|
3893
|
+
this.filteredContactList = [];
|
|
3894
|
+
this.contactList.forEach(contact => {
|
|
3893
3895
|
const fullName = `${contact.firstName} ${contact.middleName} ${contact.lastName}`.toLowerCase();
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
+
if (fullName.includes(this.sanitizedNum.toLowerCase()) || contact.numbersList.some((num) => num.number.includes(this.sanitizedNum))) {
|
|
3897
|
+
this.filteredContactList.push(contact);
|
|
3898
|
+
}
|
|
3899
|
+
});
|
|
3900
|
+
this.filteredContactList = this.filteredContactList.slice(0, 2);
|
|
3896
3901
|
}
|
|
3897
3902
|
else {
|
|
3898
3903
|
this.filteredContactList = [];
|