@94ai/nf-microphone 8.3.17 → 8.3.19

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/lib/index.d.ts CHANGED
@@ -478,6 +478,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
478
478
  "softphone-call-refresh": (event: any) => void;
479
479
  "softphone-session-state-change": (event: any) => void;
480
480
  "softphone-incoming": (event: any) => void;
481
+ "softphone-auto-ignore-callback": (event: any) => void;
481
482
  "softphone-connect-registered": (event: any) => void;
482
483
  "softphone-sign-overdued": (event: any) => void;
483
484
  "update:sign": (event: any) => void;
@@ -1241,6 +1242,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1241
1242
  "softphone-call-refresh": (event: any) => void;
1242
1243
  "softphone-session-state-change": (event: any) => void;
1243
1244
  "softphone-incoming": (event: any) => void;
1245
+ "softphone-auto-ignore-callback": (event: any) => void;
1244
1246
  "softphone-connect-registered": (event: any) => void;
1245
1247
  "softphone-sign-overdued": (event: any) => void;
1246
1248
  "update:sign": (event: any) => void;
@@ -16144,6 +16144,9 @@ __sfc_main.setup = (__props, __ctx) => {
16144
16144
  "softphone-send-dtmf": (data) => {
16145
16145
  emit("softphone-send-dtmf", data);
16146
16146
  },
16147
+ "softphone-auto-ignore-callback": (data) => {
16148
+ emit("softphone-auto-ignore-callback", data);
16149
+ },
16147
16150
  "softphone-sign-overdued": (data) => {
16148
16151
  const done = (data2) => {
16149
16152
  const {
@@ -16454,6 +16457,9 @@ class SoftphoneManager {
16454
16457
  softphoneConnectRegisteredCallBack: () => {
16455
16458
  console.log("softphone-connect-registered");
16456
16459
  },
16460
+ softphoneAutoIgnoreCallback: (data) => {
16461
+ console.log("softphone-auto-ignore-callback");
16462
+ },
16457
16463
  softphoneSignOverduedCallBack: (done) => {
16458
16464
  done({
16459
16465
  timestamp: void 0,
@@ -16991,6 +16997,10 @@ class SoftphoneManager {
16991
16997
  var _a;
16992
16998
  (_a = props.softphoneSessionStateChangeCallBack) == null ? void 0 : _a.call(props, data);
16993
16999
  },
17000
+ "softphone-auto-ignore-callback": (data) => {
17001
+ var _a;
17002
+ (_a = props.softphoneAutoIgnoreCallback) == null ? void 0 : _a.call(props, data);
17003
+ },
16994
17004
  "softphone-call-refresh": (data) => {
16995
17005
  var _a;
16996
17006
  (_a = props.softphoneCallRefreshCallBack) == null ? void 0 : _a.call(props, data);
@@ -16142,6 +16142,9 @@ __sfc_main.setup = (__props, __ctx) => {
16142
16142
  "softphone-send-dtmf": (data) => {
16143
16143
  emit("softphone-send-dtmf", data);
16144
16144
  },
16145
+ "softphone-auto-ignore-callback": (data) => {
16146
+ emit("softphone-auto-ignore-callback", data);
16147
+ },
16145
16148
  "softphone-sign-overdued": (data) => {
16146
16149
  const done = (data2) => {
16147
16150
  const {
@@ -16452,6 +16455,9 @@ class SoftphoneManager {
16452
16455
  softphoneConnectRegisteredCallBack: () => {
16453
16456
  console.log("softphone-connect-registered");
16454
16457
  },
16458
+ softphoneAutoIgnoreCallback: (data) => {
16459
+ console.log("softphone-auto-ignore-callback");
16460
+ },
16455
16461
  softphoneSignOverduedCallBack: (done) => {
16456
16462
  done({
16457
16463
  timestamp: void 0,
@@ -16989,6 +16995,10 @@ class SoftphoneManager {
16989
16995
  var _a;
16990
16996
  (_a = props.softphoneSessionStateChangeCallBack) == null ? void 0 : _a.call(props, data);
16991
16997
  },
16998
+ "softphone-auto-ignore-callback": (data) => {
16999
+ var _a;
17000
+ (_a = props.softphoneAutoIgnoreCallback) == null ? void 0 : _a.call(props, data);
17001
+ },
16992
17002
  "softphone-call-refresh": (data) => {
16993
17003
  var _a;
16994
17004
  (_a = props.softphoneCallRefreshCallBack) == null ? void 0 : _a.call(props, data);
@@ -137,6 +137,7 @@ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__
137
137
  "softphone-call-refresh": (event: any) => void;
138
138
  "softphone-session-state-change": (event: any) => void;
139
139
  "softphone-incoming": (event: any) => void;
140
+ "softphone-auto-ignore-callback": (event: any) => void;
140
141
  "softphone-connect-registered": (event: any) => void;
141
142
  "softphone-sign-overdued": (event: any) => void;
142
143
  "update:sign": (event: any) => void;
package/lib/types.d.ts CHANGED
@@ -76,4 +76,5 @@ export declare type Option = {
76
76
  softphoneSendDtmfCallBack: Function;
77
77
  softphoneConnectRegisteredCallBack: Function;
78
78
  softphoneSignOverduedCallBack: Function;
79
+ softphoneAutoIgnoreCallback: Function;
79
80
  };
@@ -84,6 +84,7 @@ export class SoftphoneManager {
84
84
  softphoneIncomingCallBack: () => {console.log('softphone-incoming')},
85
85
  softphoneSendDtmfCallBack: () => {console.log('softphone-send-dtmf')},
86
86
  softphoneConnectRegisteredCallBack: () => {console.log('softphone-connect-registered')},
87
+ softphoneAutoIgnoreCallback: (data) => {console.log('softphone-auto-ignore-callback'), data},
87
88
  softphoneSignOverduedCallBack: (done) => {
88
89
  done({
89
90
  timestamp: undefined,
@@ -685,6 +686,9 @@ export class SoftphoneManager {
685
686
  'softphone-session-state-change': (data) => {
686
687
  props.softphoneSessionStateChangeCallBack?.(data)
687
688
  },
689
+ 'softphone-auto-ignore-callback': (data) => {
690
+ props.softphoneAutoIgnoreCallback?.(data)
691
+ },
688
692
  'softphone-call-refresh': (data) => {
689
693
  props.softphoneCallRefreshCallBack?.(data)
690
694
  },
@@ -201,6 +201,7 @@ const emit = defineEmits<{
201
201
  (e: 'softphone-call-refresh', event: any): void
202
202
  (e: 'softphone-session-state-change', event: any): void
203
203
  (e: 'softphone-incoming', event: any): void
204
+ (e: 'softphone-auto-ignore-callback', event: any): void
204
205
  (e: 'softphone-connect-registered', event: any): void
205
206
  (e: 'softphone-sign-overdued', event: any): void
206
207
  (e: 'update:sign', event: any): void
@@ -691,6 +692,9 @@ class SoftphoneNotity {
691
692
  'softphone-send-dtmf': (data) => {
692
693
  emit('softphone-send-dtmf', data)
693
694
  },
695
+ 'softphone-auto-ignore-callback': (data) => {
696
+ emit('softphone-auto-ignore-callback', data)
697
+ },
694
698
  'softphone-sign-overdued': (data) => {
695
699
  const done = (data) => {
696
700
  const {
package/package/types.ts CHANGED
@@ -114,4 +114,5 @@ export type Option = {
114
114
  softphoneSendDtmfCallBack: Function
115
115
  softphoneConnectRegisteredCallBack: Function
116
116
  softphoneSignOverduedCallBack: Function
117
+ softphoneAutoIgnoreCallback: Function
117
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-microphone",
3
- "version": "8.3.17",
3
+ "version": "8.3.19",
4
4
  "description": "> TODO: description",
5
5
  "keywords": [],
6
6
  "author": "zoujiahe <zoujiahe@94ai.com>",
@@ -14,7 +14,7 @@
14
14
  "url": "http://94ai.gitlab.com/ui/common-ui.git"
15
15
  },
16
16
  "dependencies": {
17
- "@94ai/nf-theme-chalk": "^8.3.17",
17
+ "@94ai/nf-theme-chalk": "^8.3.19",
18
18
  "crypto-js": "^4.2.0",
19
19
  "qiankun": "^2.10.16",
20
20
  "vue-demi": "^0.14.5",
@@ -33,5 +33,5 @@
33
33
  "types": "lib/index.d.ts",
34
34
  "main": "lib/nf-microphone.cjs.js",
35
35
  "module": "lib/nf-microphone.esm-bundler.js",
36
- "gitHead": "73c9cbd0da85443cbd495c812a282676a1fa08cb"
36
+ "gitHead": "ec206eadc7ca1a279e552ac22b51c29a5e71b326"
37
37
  }