@94ai/nf-softphone 3.3.69 → 3.3.70
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 +3 -3
- package/lib/nf-softphone.cjs.js +2 -2
- package/lib/nf-softphone.esm-bundler.js +2 -2
- package/lib/nf-softphone.vue.d.ts +5 -5
- package/lib/softphone.d.ts +2 -2
- package/lib/type.d.ts +2 -2
- package/package/nf-softphone.vue +1 -1
- package/package/softphone.ts +1 -1
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -206,7 +206,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
206
206
|
logShow: "0" | "1";
|
|
207
207
|
timingShow: "0" | "1";
|
|
208
208
|
signShow: "0" | "1";
|
|
209
|
-
}, true, import("vue-
|
|
209
|
+
}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{
|
|
210
210
|
scrollingText: {
|
|
211
211
|
type: import("vue-demi").PropType<string>;
|
|
212
212
|
default: string;
|
|
@@ -392,7 +392,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
392
392
|
type: import("vue-demi").PropType<"0" | "1">;
|
|
393
393
|
default: string;
|
|
394
394
|
};
|
|
395
|
-
}>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue-
|
|
395
|
+
}>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
|
|
396
396
|
scrollingText: {
|
|
397
397
|
type: import("vue-demi").PropType<string>;
|
|
398
398
|
default: string;
|
|
@@ -491,7 +491,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
491
491
|
iframeContainer: import("vue-demi").Ref<any>;
|
|
492
492
|
container: import("vue-demi").Ref<any>;
|
|
493
493
|
containerScrolling: import("vue-demi").Ref<any>;
|
|
494
|
-
}, {}, {}, {}, import("vue-
|
|
494
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
495
495
|
"softphone-connect": (event: any) => void;
|
|
496
496
|
"softphone-seats-status-change": (event: any) => void;
|
|
497
497
|
"softphone-accept": (event: any) => void;
|
package/lib/nf-softphone.cjs.js
CHANGED
|
@@ -35,7 +35,7 @@ __sfc_main.props = {
|
|
|
35
35
|
key: "env",
|
|
36
36
|
required: false,
|
|
37
37
|
type: null,
|
|
38
|
-
default: "
|
|
38
|
+
default: "prod"
|
|
39
39
|
},
|
|
40
40
|
agentId: {
|
|
41
41
|
key: "agentId",
|
|
@@ -404,7 +404,7 @@ class SoftphoneManager {
|
|
|
404
404
|
gray: "http://softphone.gray.94ai.com",
|
|
405
405
|
prod: "https://seat.94ai.com"
|
|
406
406
|
},
|
|
407
|
-
env: "
|
|
407
|
+
env: "prod",
|
|
408
408
|
selector: void 0,
|
|
409
409
|
el: void 0,
|
|
410
410
|
agentId: void 0,
|
|
@@ -33,7 +33,7 @@ __sfc_main.props = {
|
|
|
33
33
|
key: "env",
|
|
34
34
|
required: false,
|
|
35
35
|
type: null,
|
|
36
|
-
default: "
|
|
36
|
+
default: "prod"
|
|
37
37
|
},
|
|
38
38
|
agentId: {
|
|
39
39
|
key: "agentId",
|
|
@@ -402,7 +402,7 @@ class SoftphoneManager {
|
|
|
402
402
|
gray: "http://softphone.gray.94ai.com",
|
|
403
403
|
prod: "https://seat.94ai.com"
|
|
404
404
|
},
|
|
405
|
-
env: "
|
|
405
|
+
env: "prod",
|
|
406
406
|
selector: void 0,
|
|
407
407
|
el: void 0,
|
|
408
408
|
agentId: void 0,
|
|
@@ -59,7 +59,7 @@ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__
|
|
|
59
59
|
iframeContainer: import("vue-demi").Ref<any>;
|
|
60
60
|
container: import("vue-demi").Ref<any>;
|
|
61
61
|
containerScrolling: import("vue-demi").Ref<any>;
|
|
62
|
-
}, {}, {}, {}, import("vue-
|
|
62
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
63
63
|
"softphone-connect": (event: any) => void;
|
|
64
64
|
"softphone-seats-status-change": (event: any) => void;
|
|
65
65
|
"softphone-accept": (event: any) => void;
|
|
@@ -141,8 +141,8 @@ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__
|
|
|
141
141
|
signShow: '0' | '1';
|
|
142
142
|
}>;
|
|
143
143
|
export default _default;
|
|
144
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
145
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
144
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
145
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
146
146
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
147
147
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
148
148
|
} : {
|
|
@@ -150,11 +150,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
150
150
|
required: true;
|
|
151
151
|
};
|
|
152
152
|
};
|
|
153
|
-
type __VLS_WithDefaults<P, D> = {
|
|
153
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
154
154
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
155
155
|
default: D[K];
|
|
156
156
|
}> : P[K];
|
|
157
157
|
};
|
|
158
|
-
type __VLS_Prettify<T> = {
|
|
158
|
+
declare type __VLS_Prettify<T> = {
|
|
159
159
|
[K in keyof T]: T[K];
|
|
160
160
|
} & {};
|
package/lib/softphone.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Option } from '
|
|
1
|
+
import { Option } from '../..nf-softphone/lib/type';
|
|
2
2
|
export declare class SoftphoneManager {
|
|
3
3
|
id: any;
|
|
4
4
|
timer: any;
|
|
@@ -34,7 +34,7 @@ export declare class SoftphoneManager {
|
|
|
34
34
|
}>;
|
|
35
35
|
handlerDomGenerater: () => Promise<void>;
|
|
36
36
|
initSoftphone: (option: any) => this;
|
|
37
|
-
postMessageCommunicate: (type: any, status?: boolean) => void;
|
|
37
|
+
postMessageCommunicate: (type: any, status?: boolean | undefined) => void;
|
|
38
38
|
connect: () => void;
|
|
39
39
|
disconnect: () => void;
|
|
40
40
|
seatsStatusChange: (status: boolean) => void;
|
package/lib/type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Option = {
|
|
1
|
+
export declare type Option = {
|
|
2
2
|
origin: string;
|
|
3
3
|
ancestorOrigin: string;
|
|
4
4
|
destinationOrigin: string;
|
|
@@ -33,4 +33,4 @@ export type Option = {
|
|
|
33
33
|
softphoneSendDtmfCallBack: Function;
|
|
34
34
|
softphoneConnectRegisteredCallBack: Function;
|
|
35
35
|
};
|
|
36
|
-
export type Env = 'test' | 'dev' | 'sg' | 'gray' | 'prod';
|
|
36
|
+
export declare type Env = 'test' | 'dev' | 'sg' | 'gray' | 'prod';
|
package/package/nf-softphone.vue
CHANGED
package/package/softphone.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-softphone",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.70",
|
|
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": "^3.3.
|
|
17
|
+
"@94ai/nf-theme-chalk": "^3.3.70",
|
|
18
18
|
"vue-demi": "^0.14.5"
|
|
19
19
|
},
|
|
20
20
|
"peerDependenciesMeta": {
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"types": "lib/index.d.ts",
|
|
31
31
|
"main": "lib/nf-softphone.cjs.js",
|
|
32
32
|
"module": "lib/nf-softphone.esm-bundler.js",
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "1bf946dcf2e1977ee3779c3d1c7d204e161e3b71"
|
|
34
34
|
}
|