voiptime-components 1.22.13 → 1.22.14
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/components/audio/VAudio.d.ts +7 -2
- package/dist/components/audio/VAudio.d.ts.map +1 -1
- package/dist/components/audio/types.d.ts +2 -0
- package/dist/components/audio/types.d.ts.map +1 -1
- package/dist/index.cjs.js +6 -6
- package/dist/index.es.js +2285 -2263
- package/dist/index.umd.js +6 -6
- package/package.json +1 -1
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { VAudioProps, VAudioType } from './types';
|
|
1
|
+
import { VAudioProps, VAudioType, VAudioPlayPosition } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
declare var __VLS_1: {}, __VLS_6: {}, __VLS_11: {};
|
|
3
|
+
declare var __VLS_1: {}, __VLS_6: {}, __VLS_11: {}, __VLS_19: {}, __VLS_24: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
empty?: (props: typeof __VLS_1) => any;
|
|
6
6
|
} & {
|
|
7
7
|
'icon-pause'?: (props: typeof __VLS_6) => any;
|
|
8
8
|
} & {
|
|
9
9
|
'icon-play'?: (props: typeof __VLS_11) => any;
|
|
10
|
+
} & {
|
|
11
|
+
'icon-pause'?: (props: typeof __VLS_19) => any;
|
|
12
|
+
} & {
|
|
13
|
+
'icon-play'?: (props: typeof __VLS_24) => any;
|
|
10
14
|
};
|
|
11
15
|
declare const __VLS_component: DefineComponent<VAudioProps, {
|
|
12
16
|
play: () => Promise<void> | undefined;
|
|
@@ -31,6 +35,7 @@ declare const __VLS_component: DefineComponent<VAudioProps, {
|
|
|
31
35
|
recordUrl: string | null;
|
|
32
36
|
userA: string | null;
|
|
33
37
|
userB: string | null;
|
|
38
|
+
playPosition: VAudioPlayPosition;
|
|
34
39
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
35
40
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
36
41
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VAudio.vue.d.ts","sourceRoot":"","sources":["../../../src/components/audio/VAudio.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"VAudio.vue.d.ts","sourceRoot":"","sources":["../../../src/components/audio/VAudio.vue"],"names":[],"mappings":";AA+dE,OAAO,KAAK,EAA8B,WAAW,EAAsB,MAAM,SAAS,CAAC;AAsnB7F,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC1G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAClD;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAsCpD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;6EASnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -8,6 +8,7 @@ export interface VAudioProps {
|
|
|
8
8
|
type?: VAudioType;
|
|
9
9
|
download?: boolean;
|
|
10
10
|
height?: string;
|
|
11
|
+
playPosition?: VAudioPlayPosition;
|
|
11
12
|
}
|
|
12
13
|
export type PlaybackSpeed = 0.5 | 1 | 1.5 | 2;
|
|
13
14
|
export type VAudioEmits = {
|
|
@@ -17,6 +18,7 @@ export type VAudioEmits = {
|
|
|
17
18
|
ended: [];
|
|
18
19
|
error: [];
|
|
19
20
|
};
|
|
21
|
+
export type VAudioPlayPosition = 'left' | 'right';
|
|
20
22
|
export interface WaveSurferInstance extends WaveSurfer {
|
|
21
23
|
decodedData: AudioBuffer | null;
|
|
22
24
|
getMediaElement(): HTMLMediaElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/audio/types.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,eAAe,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAC;AAEtD,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/audio/types.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,eAAe,CAAC;AAEvC,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAC;AAEtD,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,C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