@evercam/ui 1.0.0-preview-missing-types-3126c36fd → 1.0.0-preview-missing-types-cf2d2fa52
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/README.md +2 -0
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/utils.d.ts +1 -5
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/utils.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import Vue from "vue";
|
|
2
1
|
import { Schedule, ScheduleType } from './types';
|
|
3
2
|
export declare function isFullScreen(): boolean;
|
|
4
3
|
export declare function makeFullScreen(element: HTMLElement): Promise<unknown>;
|
|
5
4
|
export declare function generateUuid(): string;
|
|
6
5
|
export declare function exitFullScreen(): Promise<void | null>;
|
|
7
|
-
|
|
8
|
-
type DebouncedCallback<TThis, TArgs extends ReadonlyArray<DebounceArg>> = (this: TThis, ...args: TArgs) => void;
|
|
9
|
-
export declare function debounce<TThis = Vue, TArgs extends ReadonlyArray<DebounceArg> = ReadonlyArray<DebounceArg>, TResult = void>(func: (this: TThis, ...args: TArgs) => TResult, wait?: number): DebouncedCallback<TThis, TArgs>;
|
|
6
|
+
export declare function debounce<T extends (this: any, ...args: any[]) => any>(callback: T, wait?: number, immediate?: boolean): (this: ThisParameterType<T>, ...args: Parameters<T>) => void;
|
|
10
7
|
export declare function getRandomChars(length?: number): string;
|
|
11
8
|
export declare function getImageData(image: HTMLImageElement, x?: number, y?: number, width?: number, height?: number): string;
|
|
12
9
|
export declare function isValidDate(dateString?: string): boolean;
|
|
@@ -23,4 +20,3 @@ export declare const hoursMinutesStrToMinutes: (time: string) => number;
|
|
|
23
20
|
export declare const minutesToHoursMinutesStr: (number: number) => string;
|
|
24
21
|
export declare function toNumericSchedule(schedule: Schedule): Record<string, [number, number]>;
|
|
25
22
|
export declare function subtractOneHourFromEndIntervals(schedule: Record<string, string[]>): Record<string, string[]>;
|
|
26
|
-
export {};
|
package/dist/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@evercam/ui",
|
|
5
|
-
"version": "1.0.0-preview-missing-types-
|
|
5
|
+
"version": "1.0.0-preview-missing-types-cf2d2fa52",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|