voiptime-components 1.21.13 → 1.21.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
@@ -142,6 +142,31 @@ declare const __VLS_component_18: DefineComponent<VBreadcrumbItemProps, {}, {},
142
142
  itemRef: HTMLLIElement;
143
143
  }, HTMLLIElement>;
144
144
 
145
+ declare const __VLS_component_19: DefineComponent<VAudioProps, {
146
+ play: () => Promise<void> | undefined;
147
+ pause: () => void | undefined;
148
+ getCurrentTime: () => number;
149
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
150
+ ended: () => any;
151
+ error: () => any;
152
+ pause: () => any;
153
+ play: () => any;
154
+ timeUpdate: (currentTime: number) => any;
155
+ }, string, PublicProps, Readonly<VAudioProps> & Readonly<{
156
+ onEnded?: (() => any) | undefined;
157
+ onError?: (() => any) | undefined;
158
+ onPause?: (() => any) | undefined;
159
+ onPlay?: (() => any) | undefined;
160
+ onTimeUpdate?: ((currentTime: number) => any) | undefined;
161
+ }>, {
162
+ disabled: boolean;
163
+ recordUrl: string | null;
164
+ userA: string | null;
165
+ userB: string | null;
166
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
167
+ timelineContainer: HTMLDivElement;
168
+ }, HTMLDivElement>;
169
+
145
170
  declare const __VLS_component_2: DefineComponent<VModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
146
171
  close: () => any;
147
172
  "update:modelValue": (value: boolean) => any;
@@ -612,6 +637,19 @@ declare function __VLS_template_18(): {
612
637
  rootEl: HTMLLIElement;
613
638
  };
614
639
 
640
+ declare function __VLS_template_19(): {
641
+ attrs: Partial<{}>;
642
+ slots: {
643
+ empty?(_: {}): any;
644
+ 'icon-pause'?(_: {}): any;
645
+ 'icon-play'?(_: {}): any;
646
+ };
647
+ refs: {
648
+ timelineContainer: HTMLDivElement;
649
+ };
650
+ rootEl: HTMLDivElement;
651
+ };
652
+
615
653
  declare function __VLS_template_2(): {
616
654
  attrs: Partial<{}>;
617
655
  slots: {
@@ -816,6 +854,8 @@ declare type __VLS_TemplateResult_17 = ReturnType<typeof __VLS_template_17>;
816
854
 
817
855
  declare type __VLS_TemplateResult_18 = ReturnType<typeof __VLS_template_18>;
818
856
 
857
+ declare type __VLS_TemplateResult_19 = ReturnType<typeof __VLS_template_19>;
858
+
819
859
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
820
860
 
821
861
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -892,6 +932,12 @@ declare type __VLS_WithTemplateSlots_18<T, S> = T & {
892
932
  };
893
933
  };
894
934
 
935
+ declare type __VLS_WithTemplateSlots_19<T, S> = T & {
936
+ new (): {
937
+ $slots: S;
938
+ };
939
+ };
940
+
895
941
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
896
942
  new (): {
897
943
  $slots: S;
@@ -1637,6 +1683,23 @@ export declare type ValidatorFn = (value: any, vm?: any, sibling?: any) => Valid
1637
1683
 
1638
1684
  export declare type ValidatorResult = boolean | string | Promise<boolean | string>;
1639
1685
 
1686
+ export declare const VAudio: __VLS_WithTemplateSlots_19<typeof __VLS_component_19, __VLS_TemplateResult_19["slots"]>;
1687
+
1688
+ export declare type VAudioEmits = {
1689
+ timeUpdate: [currentTime: number];
1690
+ play: [];
1691
+ pause: [];
1692
+ ended: [];
1693
+ error: [];
1694
+ };
1695
+
1696
+ export declare interface VAudioProps {
1697
+ recordUrl?: string | null;
1698
+ userA?: string | null;
1699
+ userB?: string | null;
1700
+ disabled?: boolean;
1701
+ }
1702
+
1640
1703
  export declare interface VAuthentificationData {
1641
1704
  username: string;
1642
1705
  password: string;