@lpdfio/lpdf 0.23.0 → 0.24.0
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/attrs.d.ts +67 -0
- package/dist/wasm/lpdf_bg.wasm +0 -0
- package/package.json +1 -1
package/dist/attrs.d.ts
CHANGED
|
@@ -21,6 +21,15 @@ export interface StackAttr {
|
|
|
21
21
|
background?: string;
|
|
22
22
|
border?: string;
|
|
23
23
|
radius?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Where the box falls in the page flow. no: never split the box, and move it whole to the next
|
|
26
|
+
* page when it does not fit. break-before: start it on a new page. break-after: start the next
|
|
27
|
+
* sibling on a new page. keep-next: keep it on one page with the sibling that follows, moving
|
|
28
|
+
* both to the next page if that sibling would not fit. break-before, break-after and keep-next
|
|
29
|
+
* take effect on the children of layout; on a box inside another box they are not applied. no
|
|
30
|
+
* applies at any depth.
|
|
31
|
+
*/
|
|
32
|
+
paginate?: string;
|
|
24
33
|
debug?: string;
|
|
25
34
|
align?: string;
|
|
26
35
|
justify?: string;
|
|
@@ -49,6 +58,15 @@ export interface FlankAttr {
|
|
|
49
58
|
background?: string;
|
|
50
59
|
border?: string;
|
|
51
60
|
radius?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Where the box falls in the page flow. no: never split the box, and move it whole to the next
|
|
63
|
+
* page when it does not fit. break-before: start it on a new page. break-after: start the next
|
|
64
|
+
* sibling on a new page. keep-next: keep it on one page with the sibling that follows, moving
|
|
65
|
+
* both to the next page if that sibling would not fit. break-before, break-after and keep-next
|
|
66
|
+
* take effect on the children of layout; on a box inside another box they are not applied. no
|
|
67
|
+
* applies at any depth.
|
|
68
|
+
*/
|
|
69
|
+
paginate?: string;
|
|
52
70
|
debug?: string;
|
|
53
71
|
align?: string;
|
|
54
72
|
/**
|
|
@@ -82,6 +100,15 @@ export interface SplitAttr {
|
|
|
82
100
|
background?: string;
|
|
83
101
|
border?: string;
|
|
84
102
|
radius?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Where the box falls in the page flow. no: never split the box, and move it whole to the next
|
|
105
|
+
* page when it does not fit. break-before: start it on a new page. break-after: start the next
|
|
106
|
+
* sibling on a new page. keep-next: keep it on one page with the sibling that follows, moving
|
|
107
|
+
* both to the next page if that sibling would not fit. break-before, break-after and keep-next
|
|
108
|
+
* take effect on the children of layout; on a box inside another box they are not applied. no
|
|
109
|
+
* applies at any depth.
|
|
110
|
+
*/
|
|
111
|
+
paginate?: string;
|
|
85
112
|
debug?: string;
|
|
86
113
|
align?: string;
|
|
87
114
|
/**
|
|
@@ -114,6 +141,15 @@ export interface ClusterAttr {
|
|
|
114
141
|
background?: string;
|
|
115
142
|
border?: string;
|
|
116
143
|
radius?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Where the box falls in the page flow. no: never split the box, and move it whole to the next
|
|
146
|
+
* page when it does not fit. break-before: start it on a new page. break-after: start the next
|
|
147
|
+
* sibling on a new page. keep-next: keep it on one page with the sibling that follows, moving
|
|
148
|
+
* both to the next page if that sibling would not fit. break-before, break-after and keep-next
|
|
149
|
+
* take effect on the children of layout; on a box inside another box they are not applied. no
|
|
150
|
+
* applies at any depth.
|
|
151
|
+
*/
|
|
152
|
+
paginate?: string;
|
|
117
153
|
debug?: string;
|
|
118
154
|
align?: string;
|
|
119
155
|
justify?: string;
|
|
@@ -142,6 +178,15 @@ export interface GridAttr {
|
|
|
142
178
|
background?: string;
|
|
143
179
|
border?: string;
|
|
144
180
|
radius?: string;
|
|
181
|
+
/**
|
|
182
|
+
* Where the box falls in the page flow. no: never split the box, and move it whole to the next
|
|
183
|
+
* page when it does not fit. break-before: start it on a new page. break-after: start the next
|
|
184
|
+
* sibling on a new page. keep-next: keep it on one page with the sibling that follows, moving
|
|
185
|
+
* both to the next page if that sibling would not fit. break-before, break-after and keep-next
|
|
186
|
+
* take effect on the children of layout; on a box inside another box they are not applied. no
|
|
187
|
+
* applies at any depth.
|
|
188
|
+
*/
|
|
189
|
+
paginate?: string;
|
|
145
190
|
debug?: string;
|
|
146
191
|
width?: string;
|
|
147
192
|
colWidth?: string;
|
|
@@ -169,6 +214,15 @@ export interface FrameAttr {
|
|
|
169
214
|
background?: string;
|
|
170
215
|
border?: string;
|
|
171
216
|
radius?: string;
|
|
217
|
+
/**
|
|
218
|
+
* Where the box falls in the page flow. no: never split the box, and move it whole to the next
|
|
219
|
+
* page when it does not fit. break-before: start it on a new page. break-after: start the next
|
|
220
|
+
* sibling on a new page. keep-next: keep it on one page with the sibling that follows, moving
|
|
221
|
+
* both to the next page if that sibling would not fit. break-before, break-after and keep-next
|
|
222
|
+
* take effect on the children of layout; on a box inside another box they are not applied. no
|
|
223
|
+
* applies at any depth.
|
|
224
|
+
*/
|
|
225
|
+
paginate?: string;
|
|
172
226
|
debug?: string;
|
|
173
227
|
width?: string;
|
|
174
228
|
}
|
|
@@ -216,6 +270,7 @@ export interface ImgAttr {
|
|
|
216
270
|
background?: string;
|
|
217
271
|
border?: string;
|
|
218
272
|
radius?: string;
|
|
273
|
+
paginate?: string;
|
|
219
274
|
debug?: string;
|
|
220
275
|
}
|
|
221
276
|
/**
|
|
@@ -231,6 +286,7 @@ export interface BarcodeAttr {
|
|
|
231
286
|
hrt?: string;
|
|
232
287
|
color?: string;
|
|
233
288
|
background?: string;
|
|
289
|
+
paginate?: string;
|
|
234
290
|
debug?: string;
|
|
235
291
|
}
|
|
236
292
|
/**
|
|
@@ -249,6 +305,7 @@ export interface TextAttr {
|
|
|
249
305
|
color?: string;
|
|
250
306
|
align?: string;
|
|
251
307
|
width?: string;
|
|
308
|
+
paginate?: string;
|
|
252
309
|
debug?: string;
|
|
253
310
|
}
|
|
254
311
|
/**
|
|
@@ -273,6 +330,15 @@ export interface TdAttr {
|
|
|
273
330
|
background?: string;
|
|
274
331
|
border?: string;
|
|
275
332
|
radius?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Where the box falls in the page flow. no: never split the box, and move it whole to the next
|
|
335
|
+
* page when it does not fit. break-before: start it on a new page. break-after: start the next
|
|
336
|
+
* sibling on a new page. keep-next: keep it on one page with the sibling that follows, moving
|
|
337
|
+
* both to the next page if that sibling would not fit. break-before, break-after and keep-next
|
|
338
|
+
* take effect on the children of layout; on a box inside another box they are not applied. no
|
|
339
|
+
* applies at any depth.
|
|
340
|
+
*/
|
|
341
|
+
paginate?: string;
|
|
276
342
|
debug?: string;
|
|
277
343
|
align?: string;
|
|
278
344
|
valign?: string;
|
|
@@ -305,6 +371,7 @@ export interface TableAttr {
|
|
|
305
371
|
background?: string;
|
|
306
372
|
width?: string;
|
|
307
373
|
height?: string;
|
|
374
|
+
paginate?: string;
|
|
308
375
|
debug?: string;
|
|
309
376
|
}
|
|
310
377
|
/**
|
package/dist/wasm/lpdf_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lpdfio/lpdf",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "Node.js SDK for Lpdf — PDF as Code on every platform. You describe a document as code or XML. Lpdf renders a compact, pixel-perfect PDF — identical across platforms.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|