@wistia/wistia-player 0.0.21 → 0.0.22
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type DurationData = {
|
|
2
|
+
hours: number;
|
|
3
|
+
minutes: number;
|
|
4
|
+
seconds: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const secondsConverter: (total: number, format: string) => DurationData;
|
|
7
|
+
export declare const flexibleDuration: (total: number) => string;
|
|
8
|
+
export declare const formattedDurationToSeconds: (dur: string) => number | string;
|
|
9
|
+
export declare const accessibilityDuration: (duration: number) => string;
|
|
10
|
+
export declare const humanReadableDuration: (duration: number) => string;
|
|
11
|
+
export declare const getSecondsRemaining: (start: Date, end: Date) => number;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=duration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"duration.d.ts","sourceRoot":"","sources":["../../../../../src/utilities/duration.ts"],"names":[],"mappings":"AAGA,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAcF,eAAO,MAAM,gBAAgB,UAAW,MAAM,UAAU,MAAM,KAAG,YAqChE,CAAC;AAIF,eAAO,MAAM,gBAAgB,UAAW,MAAM,KAAG,MAOhD,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAAS,MAAM,KAAG,MAAM,GAAG,MAsBjE,CAAC;AAEF,eAAO,MAAM,qBAAqB,aAAc,MAAM,KAAG,MAYxD,CAAC;AAEF,eAAO,MAAM,qBAAqB,aAAc,MAAM,KAAG,MASxD,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAAW,IAAI,OAAO,IAAI,KAAG,MAG5D,CAAC"}
|