@tmsoft/webphone 1.0.14 → 1.0.16
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/dist/index.d.ts +6 -1
- package/dist/webphone.cjs.js +1341 -1271
- package/dist/webphone.es.js +10733 -10458
- package/dist/webphone.iife.js +1341 -1271
- package/dist/webphone.umd.js +1341 -1271
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { PublicProps } from 'vue';
|
|
|
16
16
|
import { Ref } from 'vue';
|
|
17
17
|
import { SelectChangeEvent } from 'primevue/select';
|
|
18
18
|
import { SelectFilterEvent } from 'primevue/select';
|
|
19
|
+
import { SelectMethods } from 'primevue/select';
|
|
19
20
|
import { SelectProps } from 'primevue/select';
|
|
20
21
|
import { SelectSlots } from 'primevue/select';
|
|
21
22
|
import { SliderProps } from 'primevue/slider';
|
|
@@ -74,6 +75,9 @@ isCall: ComputedRef<boolean>;
|
|
|
74
75
|
isVideo: ComputedRef<boolean>;
|
|
75
76
|
finalPhoneNumber: ComputedRef<string | undefined>;
|
|
76
77
|
showSettings: Ref<boolean, boolean>;
|
|
78
|
+
microphonePermission: Ref<"granted" | "denied" | "prompt", "granted" | "denied" | "prompt">;
|
|
79
|
+
isRequestingPermission: Ref<boolean, boolean>;
|
|
80
|
+
requestMicrophonePermission: () => Promise<boolean>;
|
|
77
81
|
playerRef: Ref<HTMLAudioElement | null, HTMLAudioElement | null>;
|
|
78
82
|
ringerRef: Ref<HTMLAudioElement | null, HTMLAudioElement | null>;
|
|
79
83
|
backRingerRef: Ref<HTMLAudioElement | null, HTMLAudioElement | null>;
|
|
@@ -136,6 +140,7 @@ statusMessage: ComputedRef<string>;
|
|
|
136
140
|
formattedCallDuration: ComputedRef<string>;
|
|
137
141
|
callDuration: Ref<number, number>;
|
|
138
142
|
isOutgoingCall: Ref<boolean, boolean>;
|
|
143
|
+
checkMicrophonePermission: () => Promise<"granted" | "denied" | "prompt">;
|
|
139
144
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
140
145
|
extension: {
|
|
141
146
|
type: StringConstructor;
|
|
@@ -222,7 +227,7 @@ deviceId: string;
|
|
|
222
227
|
}>, {}, {}, {
|
|
223
228
|
PrimeButton: DefineComponent_2<ButtonProps, ButtonSlots, (e: string, ...args: any[]) => void>;
|
|
224
229
|
PrimeDialog: DefineComponent_2<DialogProps, DialogSlots, ((e: "dragend", event: Event) => void) & ((e: "dragstart", event: Event) => void) & ((e: "update:visible", value: boolean) => void) & ((e: "hide") => void) & ((e: "after-hide") => void) & ((e: "show") => void) & ((e: "maximize", event: Event) => void) & ((e: "unmaximize", event: Event) => void)>;
|
|
225
|
-
PrimeSelect: DefineComponent_2<SelectProps, SelectSlots, ((e: "filter", event: SelectFilterEvent) => void) & ((e: "blur", event: Event) => void) & ((e: "change", event: SelectChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "hide") => void) & ((e: "show") => void) & ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void)>;
|
|
230
|
+
PrimeSelect: DefineComponent_2<SelectProps, SelectSlots, ((e: "filter", event: SelectFilterEvent) => void) & ((e: "blur", event: Event) => void) & ((e: "change", event: SelectChangeEvent) => void) & ((e: "focus", event: Event) => void) & ((e: "hide") => void) & ((e: "show") => void) & ((e: "update:modelValue", value: any) => void) & ((e: "value-change", value: any) => void) & ((e: "before-show") => void) & ((e: "before-hide") => void), SelectMethods>;
|
|
226
231
|
Slider: DefineComponent_2<SliderProps, SliderSlots, ((e: "change", value: number) => void) & ((e: "update:modelValue", value: number | number[]) => void) & ((e: "value-change", value: number | number[]) => void) & ((e: "slideend", event: SliderSlideEndEvent) => void)>;
|
|
227
232
|
SettingsIcon: FunctionalComponent<SVGAttributes, {}, any, {}>;
|
|
228
233
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|