@pdfme/common 1.0.0-beta.2 → 1.0.0-beta.6
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/{@pdfme/common.js → index.js} +2 -2
- package/dist/{@pdfme/common.js.LICENSE.txt → index.js.LICENSE.txt} +1 -1
- package/dist/index.js.map +1 -0
- package/dist/types/index.d.ts +4 -2
- package/dist/types/type.d.ts +9 -9
- package/package.json +7 -4
- package/src/index.ts +20 -20
- package/src/type.ts +7 -6
- package/tsconfig.json +1 -0
- package/webpack.config.js +1 -2
- package/dist/@pdfme/common.js.map +0 -1
- package/dist/types/barcode.d.ts +0 -2
- package/dist/types/utils.d.ts +0 -12
package/dist/types/barcode.d.ts
DELETED
package/dist/types/utils.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
export declare const uuid: () => string;
|
2
|
-
export declare const set: <T extends object>(obj: T, path: string | string[], value: any) => void;
|
3
|
-
export declare const debounce: <T extends Function>(cb: T, wait?: number) => T;
|
4
|
-
export declare const cloneDeep: <T>(value: T) => T;
|
5
|
-
export declare const uniq: <T>(array: T[]) => T[];
|
6
|
-
export declare const round: (number: number, precision: number) => number;
|
7
|
-
export declare const b64toUint8Array: (base64: string) => Uint8Array;
|
8
|
-
export declare const b64toBlob: (base64: string) => Blob;
|
9
|
-
export declare const arrayMove: <T>(array: T[], from: number, to: number) => T[];
|
10
|
-
export declare const flatten: <T>(arr: T[][]) => T[];
|
11
|
-
export declare const pt2mm: (pt: number) => number;
|
12
|
-
export declare const mm2pt: (mm: number) => number;
|