@pdfme/ui 6.1.0 → 6.1.1-dev.4
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/class.d.ts +8 -0
- package/dist/helper.d.ts +13 -0
- package/dist/index.js +420 -71
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/class.d.ts
CHANGED
|
@@ -41,6 +41,10 @@ export declare abstract class BaseUIClass {
|
|
|
41
41
|
start: number;
|
|
42
42
|
end?: number | undefined;
|
|
43
43
|
} | undefined;
|
|
44
|
+
__itemRange?: {
|
|
45
|
+
start: number;
|
|
46
|
+
end?: number | undefined;
|
|
47
|
+
} | undefined;
|
|
44
48
|
__isSplit?: boolean | undefined;
|
|
45
49
|
}[][];
|
|
46
50
|
basePdf: string | ArrayBuffer | Uint8Array<ArrayBuffer> | {
|
|
@@ -66,6 +70,10 @@ export declare abstract class BaseUIClass {
|
|
|
66
70
|
start: number;
|
|
67
71
|
end?: number | undefined;
|
|
68
72
|
} | undefined;
|
|
73
|
+
__itemRange?: {
|
|
74
|
+
start: number;
|
|
75
|
+
end?: number | undefined;
|
|
76
|
+
} | undefined;
|
|
69
77
|
__isSplit?: boolean | undefined;
|
|
70
78
|
}[] | undefined;
|
|
71
79
|
};
|
package/dist/helper.d.ts
CHANGED
|
@@ -35,6 +35,10 @@ export declare const template2SchemasList: (_template: Template) => Promise<{
|
|
|
35
35
|
start: number;
|
|
36
36
|
end?: number | undefined;
|
|
37
37
|
} | undefined;
|
|
38
|
+
__itemRange?: {
|
|
39
|
+
start: number;
|
|
40
|
+
end?: number | undefined;
|
|
41
|
+
} | undefined;
|
|
38
42
|
__isSplit?: boolean | undefined;
|
|
39
43
|
}[][]>;
|
|
40
44
|
export declare const schemasList2template: (schemasList: SchemaForUI[][], basePdf: BasePdf) => Template;
|
|
@@ -69,5 +73,14 @@ export declare const changeSchemas: (args: {
|
|
|
69
73
|
};
|
|
70
74
|
commitSchemas: (newSchemas: SchemaForUI[]) => void;
|
|
71
75
|
}) => void;
|
|
76
|
+
export declare const getDynamicHeightReflowChanges: (args: {
|
|
77
|
+
schemas: SchemaForUI[];
|
|
78
|
+
schema: SchemaForUI;
|
|
79
|
+
height: unknown;
|
|
80
|
+
}) => {
|
|
81
|
+
key: string;
|
|
82
|
+
value: unknown;
|
|
83
|
+
schemaId: string;
|
|
84
|
+
}[];
|
|
72
85
|
export declare const useMaxZoom: () => number;
|
|
73
86
|
export declare const setFontNameRecursively: (obj: Record<string, unknown>, fontName: string, seen?: WeakSet<WeakKey>) => void;
|