@94ai/nf-microphone 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 CHANGED
@@ -481,7 +481,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
481
481
  accessMode: "mobile" | "pc";
482
482
  open: string;
483
483
  sgOpen: string;
484
- }, true, import("vue-demi").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{
484
+ }, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{
485
485
  mode: {
486
486
  type: import("vue-demi").PropType<"qiankun" | "wujie">;
487
487
  default: string;
@@ -936,7 +936,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
936
936
  constMap: {
937
937
  type: import("vue-demi").PropType<Record<string, any>>;
938
938
  };
939
- }>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue-demi").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
939
+ }>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
940
940
  mode: {
941
941
  type: import("vue-demi").PropType<"qiankun" | "wujie">;
942
942
  default: string;
@@ -1168,7 +1168,7 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
1168
1168
  hangup: () => void;
1169
1169
  sendDtmf: () => void;
1170
1170
  changeServerToRegister: () => void;
1171
- }, {}, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, {
1171
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
1172
1172
  "softphone-connect": (event: any) => void;
1173
1173
  "softphone-seats-status-change": (event: any) => void;
1174
1174
  "softphone-accept": (event: any) => void;
@@ -15415,7 +15415,7 @@ __sfc_main.props = {
15415
15415
  key: "env",
15416
15416
  required: false,
15417
15417
  type: null,
15418
- default: "test"
15418
+ default: "prod"
15419
15419
  },
15420
15420
  agentId: {
15421
15421
  key: "agentId",
@@ -16371,7 +16371,7 @@ class SoftphoneManager {
16371
16371
  base: "/"
16372
16372
  }
16373
16373
  },
16374
- env: "test",
16374
+ env: "prod",
16375
16375
  el: void 0,
16376
16376
  agentId: void 0,
16377
16377
  agentTag: void 0,
@@ -15413,7 +15413,7 @@ __sfc_main.props = {
15413
15413
  key: "env",
15414
15414
  required: false,
15415
15415
  type: null,
15416
- default: "test"
15416
+ default: "prod"
15417
15417
  },
15418
15418
  agentId: {
15419
15419
  key: "agentId",
@@ -16369,7 +16369,7 @@ class SoftphoneManager {
16369
16369
  base: "/"
16370
16370
  }
16371
16371
  },
16372
- env: "test",
16372
+ env: "prod",
16373
16373
  el: void 0,
16374
16374
  agentId: void 0,
16375
16375
  agentTag: void 0,
@@ -120,7 +120,7 @@ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__
120
120
  hangup: () => void;
121
121
  sendDtmf: () => void;
122
122
  changeServerToRegister: () => void;
123
- }, {}, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, {
123
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
124
124
  "softphone-connect": (event: any) => void;
125
125
  "softphone-seats-status-change": (event: any) => void;
126
126
  "softphone-accept": (event: any) => void;
@@ -269,8 +269,8 @@ declare const _default: import("vue-demi").DefineComponent<__VLS_WithDefaults<__
269
269
  sgOpen: string;
270
270
  }>;
271
271
  export default _default;
272
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
273
- type __VLS_TypePropsToRuntimeProps<T> = {
272
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
273
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
274
274
  [K in keyof T]-?: {} extends Pick<T, K> ? {
275
275
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
276
276
  } : {
@@ -278,11 +278,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
278
278
  required: true;
279
279
  };
280
280
  };
281
- type __VLS_WithDefaults<P, D> = {
281
+ declare type __VLS_WithDefaults<P, D> = {
282
282
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
283
283
  default: D[K];
284
284
  }> : P[K];
285
285
  };
286
- type __VLS_Prettify<T> = {
286
+ declare type __VLS_Prettify<T> = {
287
287
  [K in keyof T]: T[K];
288
288
  } & {};
package/lib/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export type Env = 'test' | 'dev' | 'sg' | 'gray' | 'prod';
2
- export type Option = {
1
+ export declare type Env = 'test' | 'dev' | 'sg' | 'gray' | 'prod';
2
+ export declare type Option = {
3
3
  mode?: 'qiankun' | 'wujie';
4
4
  envMap?: Partial<Record<Env, Record<string, any>>>;
5
5
  env?: Env;
@@ -62,7 +62,7 @@ export class SoftphoneManager {
62
62
  base: '/'
63
63
  },
64
64
  },
65
- env: 'test',
65
+ env: 'prod',
66
66
  el: undefined,
67
67
 
68
68
  agentId: undefined,
@@ -170,7 +170,7 @@ const props = withDefaults(defineProps<{
170
170
  base: '/'
171
171
  },
172
172
  }),
173
- env: 'test',
173
+ env: 'prod',
174
174
  extStatus: '1',
175
175
 
176
176
  origin: 'ai-softphone',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@94ai/nf-microphone",
3
- "version": "3.3.69",
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.69",
17
+ "@94ai/nf-theme-chalk": "^3.3.70",
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": "e681a4e9428cd1c1d6ce91e4cf863c4cea49c7d2"
36
+ "gitHead": "1bf946dcf2e1977ee3779c3d1c7d204e161e3b71"
37
37
  }