@tmsoft/webphone 1.0.13 → 1.0.15

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 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;
@@ -170,7 +175,6 @@ required: false;
170
175
  mode: string;
171
176
  }, {}, {
172
177
  PrimeButton: DefineComponent_2<ButtonProps, ButtonSlots, (e: string, ...args: any[]) => void>;
173
- ArrowBackIcon: FunctionalComponent<SVGAttributes, {}, any, {}>;
174
178
  PrimeInputText: DefineComponent_2<InputTextProps, InputTextSlots, ((e: "update:modelValue", value: string | undefined) => void) & ((e: "value-change", value: string | undefined) => void)>;
175
179
  WebphoneSettings: DefineComponent<ExtractPropTypes< {
176
180
  callVolume: NumberConstructor;
@@ -223,7 +227,7 @@ deviceId: string;
223
227
  }>, {}, {}, {
224
228
  PrimeButton: DefineComponent_2<ButtonProps, ButtonSlots, (e: string, ...args: any[]) => void>;
225
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)>;
226
- 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>;
227
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)>;
228
232
  SettingsIcon: FunctionalComponent<SVGAttributes, {}, any, {}>;
229
233
  }, {}, string, ComponentProvideOptions, true, {}, any>;