rtf-codec 4.1.0 → 4.1.2
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/codec.d.cts +206 -0
- package/dist/codec.d.ts +206 -0
- package/package.json +3 -3
package/dist/codec.d.cts
CHANGED
|
@@ -79,6 +79,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
79
79
|
pdf: "pdf";
|
|
80
80
|
epub: "epub";
|
|
81
81
|
rtf: "rtf";
|
|
82
|
+
wpd: "wpd";
|
|
82
83
|
}>;
|
|
83
84
|
xml: z.ZodString;
|
|
84
85
|
}, z.core.$strict>>>;
|
|
@@ -227,6 +228,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
227
228
|
pdf: "pdf";
|
|
228
229
|
epub: "epub";
|
|
229
230
|
rtf: "rtf";
|
|
231
|
+
wpd: "wpd";
|
|
230
232
|
}>;
|
|
231
233
|
xml: z.ZodString;
|
|
232
234
|
}, z.core.$strict>>>;
|
|
@@ -375,6 +377,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
375
377
|
pdf: "pdf";
|
|
376
378
|
epub: "epub";
|
|
377
379
|
rtf: "rtf";
|
|
380
|
+
wpd: "wpd";
|
|
378
381
|
}>;
|
|
379
382
|
xml: z.ZodString;
|
|
380
383
|
}, z.core.$strict>>>;
|
|
@@ -523,6 +526,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
523
526
|
pdf: "pdf";
|
|
524
527
|
epub: "epub";
|
|
525
528
|
rtf: "rtf";
|
|
529
|
+
wpd: "wpd";
|
|
526
530
|
}>;
|
|
527
531
|
xml: z.ZodString;
|
|
528
532
|
}, z.core.$strict>>>;
|
|
@@ -622,6 +626,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
622
626
|
pdf: "pdf";
|
|
623
627
|
epub: "epub";
|
|
624
628
|
rtf: "rtf";
|
|
629
|
+
wpd: "wpd";
|
|
625
630
|
}>;
|
|
626
631
|
xml: z.ZodString;
|
|
627
632
|
}, z.core.$strict>>;
|
|
@@ -702,6 +707,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
702
707
|
pdf: "pdf";
|
|
703
708
|
epub: "epub";
|
|
704
709
|
rtf: "rtf";
|
|
710
|
+
wpd: "wpd";
|
|
705
711
|
}>;
|
|
706
712
|
xml: z.ZodString;
|
|
707
713
|
}, z.core.$strict>>>;
|
|
@@ -808,6 +814,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
808
814
|
pdf: "pdf";
|
|
809
815
|
epub: "epub";
|
|
810
816
|
rtf: "rtf";
|
|
817
|
+
wpd: "wpd";
|
|
811
818
|
}>;
|
|
812
819
|
xml: z.ZodString;
|
|
813
820
|
}, z.core.$strict>>;
|
|
@@ -918,6 +925,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
918
925
|
pdf: "pdf";
|
|
919
926
|
epub: "epub";
|
|
920
927
|
rtf: "rtf";
|
|
928
|
+
wpd: "wpd";
|
|
921
929
|
}>;
|
|
922
930
|
xml: z.ZodString;
|
|
923
931
|
}, z.core.$strict>>;
|
|
@@ -947,6 +955,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
947
955
|
pdf: "pdf";
|
|
948
956
|
epub: "epub";
|
|
949
957
|
rtf: "rtf";
|
|
958
|
+
wpd: "wpd";
|
|
950
959
|
}>;
|
|
951
960
|
xml: z.ZodString;
|
|
952
961
|
}, z.core.$strict>>;
|
|
@@ -1100,6 +1109,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1100
1109
|
pdf: "pdf";
|
|
1101
1110
|
epub: "epub";
|
|
1102
1111
|
rtf: "rtf";
|
|
1112
|
+
wpd: "wpd";
|
|
1103
1113
|
}>;
|
|
1104
1114
|
xml: z.ZodString;
|
|
1105
1115
|
}, z.core.$strict>>;
|
|
@@ -1310,6 +1320,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1310
1320
|
pdf: "pdf";
|
|
1311
1321
|
epub: "epub";
|
|
1312
1322
|
rtf: "rtf";
|
|
1323
|
+
wpd: "wpd";
|
|
1313
1324
|
}>;
|
|
1314
1325
|
xml: z.ZodString;
|
|
1315
1326
|
}, z.core.$strict>>;
|
|
@@ -1448,6 +1459,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1448
1459
|
pdf: "pdf";
|
|
1449
1460
|
epub: "epub";
|
|
1450
1461
|
rtf: "rtf";
|
|
1462
|
+
wpd: "wpd";
|
|
1451
1463
|
}>;
|
|
1452
1464
|
xml: z.ZodString;
|
|
1453
1465
|
}, z.core.$strict>>;
|
|
@@ -1561,6 +1573,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1561
1573
|
pdf: "pdf";
|
|
1562
1574
|
epub: "epub";
|
|
1563
1575
|
rtf: "rtf";
|
|
1576
|
+
wpd: "wpd";
|
|
1564
1577
|
}>;
|
|
1565
1578
|
xml: z.ZodString;
|
|
1566
1579
|
}, z.core.$strict>>;
|
|
@@ -1605,6 +1618,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1605
1618
|
pdf: "pdf";
|
|
1606
1619
|
epub: "epub";
|
|
1607
1620
|
rtf: "rtf";
|
|
1621
|
+
wpd: "wpd";
|
|
1608
1622
|
}>;
|
|
1609
1623
|
xml: z.ZodString;
|
|
1610
1624
|
}, z.core.$strict>>;
|
|
@@ -1633,6 +1647,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1633
1647
|
pdf: "pdf";
|
|
1634
1648
|
epub: "epub";
|
|
1635
1649
|
rtf: "rtf";
|
|
1650
|
+
wpd: "wpd";
|
|
1636
1651
|
}>;
|
|
1637
1652
|
xml: z.ZodString;
|
|
1638
1653
|
}, z.core.$strict>>;
|
|
@@ -1666,6 +1681,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1666
1681
|
pdf: "pdf";
|
|
1667
1682
|
epub: "epub";
|
|
1668
1683
|
rtf: "rtf";
|
|
1684
|
+
wpd: "wpd";
|
|
1669
1685
|
}>;
|
|
1670
1686
|
xml: z.ZodString;
|
|
1671
1687
|
}, z.core.$strict>>;
|
|
@@ -1694,6 +1710,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1694
1710
|
pdf: "pdf";
|
|
1695
1711
|
epub: "epub";
|
|
1696
1712
|
rtf: "rtf";
|
|
1713
|
+
wpd: "wpd";
|
|
1697
1714
|
}>;
|
|
1698
1715
|
xml: z.ZodString;
|
|
1699
1716
|
}, z.core.$strict>>;
|
|
@@ -1731,6 +1748,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1731
1748
|
pdf: "pdf";
|
|
1732
1749
|
epub: "epub";
|
|
1733
1750
|
rtf: "rtf";
|
|
1751
|
+
wpd: "wpd";
|
|
1734
1752
|
}>;
|
|
1735
1753
|
xml: z.ZodString;
|
|
1736
1754
|
}, z.core.$strict>>;
|
|
@@ -1759,6 +1777,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1759
1777
|
pdf: "pdf";
|
|
1760
1778
|
epub: "epub";
|
|
1761
1779
|
rtf: "rtf";
|
|
1780
|
+
wpd: "wpd";
|
|
1762
1781
|
}>;
|
|
1763
1782
|
xml: z.ZodString;
|
|
1764
1783
|
}, z.core.$strict>>;
|
|
@@ -1801,6 +1820,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1801
1820
|
pdf: "pdf";
|
|
1802
1821
|
epub: "epub";
|
|
1803
1822
|
rtf: "rtf";
|
|
1823
|
+
wpd: "wpd";
|
|
1804
1824
|
}>;
|
|
1805
1825
|
xml: z.ZodString;
|
|
1806
1826
|
}, z.core.$strict>>;
|
|
@@ -1829,6 +1849,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1829
1849
|
pdf: "pdf";
|
|
1830
1850
|
epub: "epub";
|
|
1831
1851
|
rtf: "rtf";
|
|
1852
|
+
wpd: "wpd";
|
|
1832
1853
|
}>;
|
|
1833
1854
|
xml: z.ZodString;
|
|
1834
1855
|
}, z.core.$strict>>;
|
|
@@ -1864,6 +1885,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1864
1885
|
pdf: "pdf";
|
|
1865
1886
|
epub: "epub";
|
|
1866
1887
|
rtf: "rtf";
|
|
1888
|
+
wpd: "wpd";
|
|
1867
1889
|
}>;
|
|
1868
1890
|
xml: z.ZodString;
|
|
1869
1891
|
}, z.core.$strict>>;
|
|
@@ -1892,6 +1914,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1892
1914
|
pdf: "pdf";
|
|
1893
1915
|
epub: "epub";
|
|
1894
1916
|
rtf: "rtf";
|
|
1917
|
+
wpd: "wpd";
|
|
1895
1918
|
}>;
|
|
1896
1919
|
xml: z.ZodString;
|
|
1897
1920
|
}, z.core.$strict>>;
|
|
@@ -1939,6 +1962,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1939
1962
|
pdf: "pdf";
|
|
1940
1963
|
epub: "epub";
|
|
1941
1964
|
rtf: "rtf";
|
|
1965
|
+
wpd: "wpd";
|
|
1942
1966
|
}>;
|
|
1943
1967
|
xml: z.ZodString;
|
|
1944
1968
|
}, z.core.$strict>>;
|
|
@@ -1967,6 +1991,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1967
1991
|
pdf: "pdf";
|
|
1968
1992
|
epub: "epub";
|
|
1969
1993
|
rtf: "rtf";
|
|
1994
|
+
wpd: "wpd";
|
|
1970
1995
|
}>;
|
|
1971
1996
|
xml: z.ZodString;
|
|
1972
1997
|
}, z.core.$strict>>;
|
|
@@ -2014,6 +2039,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2014
2039
|
pdf: "pdf";
|
|
2015
2040
|
epub: "epub";
|
|
2016
2041
|
rtf: "rtf";
|
|
2042
|
+
wpd: "wpd";
|
|
2017
2043
|
}>;
|
|
2018
2044
|
xml: z.ZodString;
|
|
2019
2045
|
}, z.core.$strict>>;
|
|
@@ -2071,6 +2097,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2071
2097
|
pdf: "pdf";
|
|
2072
2098
|
epub: "epub";
|
|
2073
2099
|
rtf: "rtf";
|
|
2100
|
+
wpd: "wpd";
|
|
2074
2101
|
}>;
|
|
2075
2102
|
xml: z.ZodString;
|
|
2076
2103
|
}, z.core.$strict>>;
|
|
@@ -2114,6 +2141,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2114
2141
|
pdf: "pdf";
|
|
2115
2142
|
epub: "epub";
|
|
2116
2143
|
rtf: "rtf";
|
|
2144
|
+
wpd: "wpd";
|
|
2117
2145
|
}>;
|
|
2118
2146
|
xml: z.ZodString;
|
|
2119
2147
|
}, z.core.$strict>>;
|
|
@@ -2135,6 +2163,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2135
2163
|
pdf: "pdf";
|
|
2136
2164
|
epub: "epub";
|
|
2137
2165
|
rtf: "rtf";
|
|
2166
|
+
wpd: "wpd";
|
|
2138
2167
|
}>;
|
|
2139
2168
|
xml: z.ZodString;
|
|
2140
2169
|
}, z.core.$strict>>;
|
|
@@ -2245,6 +2274,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2245
2274
|
pdf: "pdf";
|
|
2246
2275
|
epub: "epub";
|
|
2247
2276
|
rtf: "rtf";
|
|
2277
|
+
wpd: "wpd";
|
|
2248
2278
|
}>;
|
|
2249
2279
|
xml: z.ZodString;
|
|
2250
2280
|
}, z.core.$strict>>;
|
|
@@ -2271,6 +2301,52 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2271
2301
|
g: z.ZodNumber;
|
|
2272
2302
|
b: z.ZodNumber;
|
|
2273
2303
|
}, z.core.$strip>>;
|
|
2304
|
+
fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2305
|
+
kind: z.ZodLiteral<"gradient">;
|
|
2306
|
+
style: z.ZodEnum<{
|
|
2307
|
+
linear: "linear";
|
|
2308
|
+
axial: "axial";
|
|
2309
|
+
radial: "radial";
|
|
2310
|
+
ellipsoid: "ellipsoid";
|
|
2311
|
+
square: "square";
|
|
2312
|
+
rectangular: "rectangular";
|
|
2313
|
+
}>;
|
|
2314
|
+
startColor: z.ZodObject<{
|
|
2315
|
+
r: z.ZodNumber;
|
|
2316
|
+
g: z.ZodNumber;
|
|
2317
|
+
b: z.ZodNumber;
|
|
2318
|
+
}, z.core.$strip>;
|
|
2319
|
+
endColor: z.ZodObject<{
|
|
2320
|
+
r: z.ZodNumber;
|
|
2321
|
+
g: z.ZodNumber;
|
|
2322
|
+
b: z.ZodNumber;
|
|
2323
|
+
}, z.core.$strip>;
|
|
2324
|
+
angleDeg: z.ZodOptional<z.ZodNumber>;
|
|
2325
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2326
|
+
kind: z.ZodLiteral<"hatch">;
|
|
2327
|
+
style: z.ZodEnum<{
|
|
2328
|
+
double: "double";
|
|
2329
|
+
single: "single";
|
|
2330
|
+
triple: "triple";
|
|
2331
|
+
}>;
|
|
2332
|
+
color: z.ZodObject<{
|
|
2333
|
+
r: z.ZodNumber;
|
|
2334
|
+
g: z.ZodNumber;
|
|
2335
|
+
b: z.ZodNumber;
|
|
2336
|
+
}, z.core.$strip>;
|
|
2337
|
+
distancePt: z.ZodNumber;
|
|
2338
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
2339
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2340
|
+
kind: z.ZodLiteral<"bitmap">;
|
|
2341
|
+
format: z.ZodEnum<{
|
|
2342
|
+
png: "png";
|
|
2343
|
+
jpeg: "jpeg";
|
|
2344
|
+
svg: "svg";
|
|
2345
|
+
gif: "gif";
|
|
2346
|
+
}>;
|
|
2347
|
+
base64: z.ZodString;
|
|
2348
|
+
}, z.core.$strip>], "kind">>;
|
|
2349
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
2274
2350
|
stroke: z.ZodOptional<z.ZodObject<{
|
|
2275
2351
|
color: z.ZodObject<{
|
|
2276
2352
|
r: z.ZodNumber;
|
|
@@ -2284,6 +2360,14 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2284
2360
|
dotted: "dotted";
|
|
2285
2361
|
double: "double";
|
|
2286
2362
|
}>>;
|
|
2363
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2364
|
+
dashPattern: z.ZodOptional<z.ZodObject<{
|
|
2365
|
+
dots1: z.ZodNumber;
|
|
2366
|
+
dots1LengthPt: z.ZodNumber;
|
|
2367
|
+
dots2: z.ZodOptional<z.ZodNumber>;
|
|
2368
|
+
dots2LengthPt: z.ZodOptional<z.ZodNumber>;
|
|
2369
|
+
distancePt: z.ZodNumber;
|
|
2370
|
+
}, z.core.$strip>>;
|
|
2287
2371
|
}, z.core.$strip>>;
|
|
2288
2372
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
2289
2373
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -2303,6 +2387,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2303
2387
|
pdf: "pdf";
|
|
2304
2388
|
epub: "epub";
|
|
2305
2389
|
rtf: "rtf";
|
|
2390
|
+
wpd: "wpd";
|
|
2306
2391
|
}>;
|
|
2307
2392
|
xml: z.ZodString;
|
|
2308
2393
|
}, z.core.$strict>>;
|
|
@@ -2327,6 +2412,52 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2327
2412
|
g: z.ZodNumber;
|
|
2328
2413
|
b: z.ZodNumber;
|
|
2329
2414
|
}, z.core.$strip>>;
|
|
2415
|
+
fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2416
|
+
kind: z.ZodLiteral<"gradient">;
|
|
2417
|
+
style: z.ZodEnum<{
|
|
2418
|
+
linear: "linear";
|
|
2419
|
+
axial: "axial";
|
|
2420
|
+
radial: "radial";
|
|
2421
|
+
ellipsoid: "ellipsoid";
|
|
2422
|
+
square: "square";
|
|
2423
|
+
rectangular: "rectangular";
|
|
2424
|
+
}>;
|
|
2425
|
+
startColor: z.ZodObject<{
|
|
2426
|
+
r: z.ZodNumber;
|
|
2427
|
+
g: z.ZodNumber;
|
|
2428
|
+
b: z.ZodNumber;
|
|
2429
|
+
}, z.core.$strip>;
|
|
2430
|
+
endColor: z.ZodObject<{
|
|
2431
|
+
r: z.ZodNumber;
|
|
2432
|
+
g: z.ZodNumber;
|
|
2433
|
+
b: z.ZodNumber;
|
|
2434
|
+
}, z.core.$strip>;
|
|
2435
|
+
angleDeg: z.ZodOptional<z.ZodNumber>;
|
|
2436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2437
|
+
kind: z.ZodLiteral<"hatch">;
|
|
2438
|
+
style: z.ZodEnum<{
|
|
2439
|
+
double: "double";
|
|
2440
|
+
single: "single";
|
|
2441
|
+
triple: "triple";
|
|
2442
|
+
}>;
|
|
2443
|
+
color: z.ZodObject<{
|
|
2444
|
+
r: z.ZodNumber;
|
|
2445
|
+
g: z.ZodNumber;
|
|
2446
|
+
b: z.ZodNumber;
|
|
2447
|
+
}, z.core.$strip>;
|
|
2448
|
+
distancePt: z.ZodNumber;
|
|
2449
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
2450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2451
|
+
kind: z.ZodLiteral<"bitmap">;
|
|
2452
|
+
format: z.ZodEnum<{
|
|
2453
|
+
png: "png";
|
|
2454
|
+
jpeg: "jpeg";
|
|
2455
|
+
svg: "svg";
|
|
2456
|
+
gif: "gif";
|
|
2457
|
+
}>;
|
|
2458
|
+
base64: z.ZodString;
|
|
2459
|
+
}, z.core.$strip>], "kind">>;
|
|
2460
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
2330
2461
|
stroke: z.ZodOptional<z.ZodObject<{
|
|
2331
2462
|
color: z.ZodObject<{
|
|
2332
2463
|
r: z.ZodNumber;
|
|
@@ -2340,6 +2471,14 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2340
2471
|
dotted: "dotted";
|
|
2341
2472
|
double: "double";
|
|
2342
2473
|
}>>;
|
|
2474
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2475
|
+
dashPattern: z.ZodOptional<z.ZodObject<{
|
|
2476
|
+
dots1: z.ZodNumber;
|
|
2477
|
+
dots1LengthPt: z.ZodNumber;
|
|
2478
|
+
dots2: z.ZodOptional<z.ZodNumber>;
|
|
2479
|
+
dots2LengthPt: z.ZodOptional<z.ZodNumber>;
|
|
2480
|
+
distancePt: z.ZodNumber;
|
|
2481
|
+
}, z.core.$strip>>;
|
|
2343
2482
|
}, z.core.$strip>>;
|
|
2344
2483
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
2345
2484
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -2359,6 +2498,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2359
2498
|
pdf: "pdf";
|
|
2360
2499
|
epub: "epub";
|
|
2361
2500
|
rtf: "rtf";
|
|
2501
|
+
wpd: "wpd";
|
|
2362
2502
|
}>;
|
|
2363
2503
|
xml: z.ZodString;
|
|
2364
2504
|
}, z.core.$strict>>;
|
|
@@ -2392,6 +2532,14 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2392
2532
|
dotted: "dotted";
|
|
2393
2533
|
double: "double";
|
|
2394
2534
|
}>>;
|
|
2535
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2536
|
+
dashPattern: z.ZodOptional<z.ZodObject<{
|
|
2537
|
+
dots1: z.ZodNumber;
|
|
2538
|
+
dots1LengthPt: z.ZodNumber;
|
|
2539
|
+
dots2: z.ZodOptional<z.ZodNumber>;
|
|
2540
|
+
dots2LengthPt: z.ZodOptional<z.ZodNumber>;
|
|
2541
|
+
distancePt: z.ZodNumber;
|
|
2542
|
+
}, z.core.$strip>>;
|
|
2395
2543
|
}, z.core.$strip>;
|
|
2396
2544
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
2397
2545
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -2411,6 +2559,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2411
2559
|
pdf: "pdf";
|
|
2412
2560
|
epub: "epub";
|
|
2413
2561
|
rtf: "rtf";
|
|
2562
|
+
wpd: "wpd";
|
|
2414
2563
|
}>;
|
|
2415
2564
|
xml: z.ZodString;
|
|
2416
2565
|
}, z.core.$strict>>;
|
|
@@ -2463,6 +2612,52 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2463
2612
|
g: z.ZodNumber;
|
|
2464
2613
|
b: z.ZodNumber;
|
|
2465
2614
|
}, z.core.$strip>>;
|
|
2615
|
+
fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2616
|
+
kind: z.ZodLiteral<"gradient">;
|
|
2617
|
+
style: z.ZodEnum<{
|
|
2618
|
+
linear: "linear";
|
|
2619
|
+
axial: "axial";
|
|
2620
|
+
radial: "radial";
|
|
2621
|
+
ellipsoid: "ellipsoid";
|
|
2622
|
+
square: "square";
|
|
2623
|
+
rectangular: "rectangular";
|
|
2624
|
+
}>;
|
|
2625
|
+
startColor: z.ZodObject<{
|
|
2626
|
+
r: z.ZodNumber;
|
|
2627
|
+
g: z.ZodNumber;
|
|
2628
|
+
b: z.ZodNumber;
|
|
2629
|
+
}, z.core.$strip>;
|
|
2630
|
+
endColor: z.ZodObject<{
|
|
2631
|
+
r: z.ZodNumber;
|
|
2632
|
+
g: z.ZodNumber;
|
|
2633
|
+
b: z.ZodNumber;
|
|
2634
|
+
}, z.core.$strip>;
|
|
2635
|
+
angleDeg: z.ZodOptional<z.ZodNumber>;
|
|
2636
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2637
|
+
kind: z.ZodLiteral<"hatch">;
|
|
2638
|
+
style: z.ZodEnum<{
|
|
2639
|
+
double: "double";
|
|
2640
|
+
single: "single";
|
|
2641
|
+
triple: "triple";
|
|
2642
|
+
}>;
|
|
2643
|
+
color: z.ZodObject<{
|
|
2644
|
+
r: z.ZodNumber;
|
|
2645
|
+
g: z.ZodNumber;
|
|
2646
|
+
b: z.ZodNumber;
|
|
2647
|
+
}, z.core.$strip>;
|
|
2648
|
+
distancePt: z.ZodNumber;
|
|
2649
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
2650
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2651
|
+
kind: z.ZodLiteral<"bitmap">;
|
|
2652
|
+
format: z.ZodEnum<{
|
|
2653
|
+
png: "png";
|
|
2654
|
+
jpeg: "jpeg";
|
|
2655
|
+
svg: "svg";
|
|
2656
|
+
gif: "gif";
|
|
2657
|
+
}>;
|
|
2658
|
+
base64: z.ZodString;
|
|
2659
|
+
}, z.core.$strip>], "kind">>;
|
|
2660
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
2466
2661
|
fillRule: z.ZodOptional<z.ZodEnum<{
|
|
2467
2662
|
nonzero: "nonzero";
|
|
2468
2663
|
evenodd: "evenodd";
|
|
@@ -2480,6 +2675,14 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2480
2675
|
dotted: "dotted";
|
|
2481
2676
|
double: "double";
|
|
2482
2677
|
}>>;
|
|
2678
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2679
|
+
dashPattern: z.ZodOptional<z.ZodObject<{
|
|
2680
|
+
dots1: z.ZodNumber;
|
|
2681
|
+
dots1LengthPt: z.ZodNumber;
|
|
2682
|
+
dots2: z.ZodOptional<z.ZodNumber>;
|
|
2683
|
+
dots2LengthPt: z.ZodOptional<z.ZodNumber>;
|
|
2684
|
+
distancePt: z.ZodNumber;
|
|
2685
|
+
}, z.core.$strip>>;
|
|
2483
2686
|
}, z.core.$strip>>;
|
|
2484
2687
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
2485
2688
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -2499,6 +2702,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2499
2702
|
pdf: "pdf";
|
|
2500
2703
|
epub: "epub";
|
|
2501
2704
|
rtf: "rtf";
|
|
2705
|
+
wpd: "wpd";
|
|
2502
2706
|
}>;
|
|
2503
2707
|
xml: z.ZodString;
|
|
2504
2708
|
}, z.core.$strict>>;
|
|
@@ -2526,6 +2730,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2526
2730
|
pdf: "pdf";
|
|
2527
2731
|
epub: "epub";
|
|
2528
2732
|
rtf: "rtf";
|
|
2733
|
+
wpd: "wpd";
|
|
2529
2734
|
}>;
|
|
2530
2735
|
xml: z.ZodString;
|
|
2531
2736
|
}, z.core.$strict>>;
|
|
@@ -2626,6 +2831,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2626
2831
|
pdf: "pdf";
|
|
2627
2832
|
epub: "epub";
|
|
2628
2833
|
rtf: "rtf";
|
|
2834
|
+
wpd: "wpd";
|
|
2629
2835
|
}>;
|
|
2630
2836
|
xml: z.ZodString;
|
|
2631
2837
|
}, z.core.$strict>>;
|
package/dist/codec.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
79
79
|
pdf: "pdf";
|
|
80
80
|
epub: "epub";
|
|
81
81
|
rtf: "rtf";
|
|
82
|
+
wpd: "wpd";
|
|
82
83
|
}>;
|
|
83
84
|
xml: z.ZodString;
|
|
84
85
|
}, z.core.$strict>>>;
|
|
@@ -227,6 +228,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
227
228
|
pdf: "pdf";
|
|
228
229
|
epub: "epub";
|
|
229
230
|
rtf: "rtf";
|
|
231
|
+
wpd: "wpd";
|
|
230
232
|
}>;
|
|
231
233
|
xml: z.ZodString;
|
|
232
234
|
}, z.core.$strict>>>;
|
|
@@ -375,6 +377,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
375
377
|
pdf: "pdf";
|
|
376
378
|
epub: "epub";
|
|
377
379
|
rtf: "rtf";
|
|
380
|
+
wpd: "wpd";
|
|
378
381
|
}>;
|
|
379
382
|
xml: z.ZodString;
|
|
380
383
|
}, z.core.$strict>>>;
|
|
@@ -523,6 +526,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
523
526
|
pdf: "pdf";
|
|
524
527
|
epub: "epub";
|
|
525
528
|
rtf: "rtf";
|
|
529
|
+
wpd: "wpd";
|
|
526
530
|
}>;
|
|
527
531
|
xml: z.ZodString;
|
|
528
532
|
}, z.core.$strict>>>;
|
|
@@ -622,6 +626,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
622
626
|
pdf: "pdf";
|
|
623
627
|
epub: "epub";
|
|
624
628
|
rtf: "rtf";
|
|
629
|
+
wpd: "wpd";
|
|
625
630
|
}>;
|
|
626
631
|
xml: z.ZodString;
|
|
627
632
|
}, z.core.$strict>>;
|
|
@@ -702,6 +707,7 @@ declare const rtfCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Arr
|
|
|
702
707
|
pdf: "pdf";
|
|
703
708
|
epub: "epub";
|
|
704
709
|
rtf: "rtf";
|
|
710
|
+
wpd: "wpd";
|
|
705
711
|
}>;
|
|
706
712
|
xml: z.ZodString;
|
|
707
713
|
}, z.core.$strict>>>;
|
|
@@ -808,6 +814,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
808
814
|
pdf: "pdf";
|
|
809
815
|
epub: "epub";
|
|
810
816
|
rtf: "rtf";
|
|
817
|
+
wpd: "wpd";
|
|
811
818
|
}>;
|
|
812
819
|
xml: z.ZodString;
|
|
813
820
|
}, z.core.$strict>>;
|
|
@@ -918,6 +925,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
918
925
|
pdf: "pdf";
|
|
919
926
|
epub: "epub";
|
|
920
927
|
rtf: "rtf";
|
|
928
|
+
wpd: "wpd";
|
|
921
929
|
}>;
|
|
922
930
|
xml: z.ZodString;
|
|
923
931
|
}, z.core.$strict>>;
|
|
@@ -947,6 +955,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
947
955
|
pdf: "pdf";
|
|
948
956
|
epub: "epub";
|
|
949
957
|
rtf: "rtf";
|
|
958
|
+
wpd: "wpd";
|
|
950
959
|
}>;
|
|
951
960
|
xml: z.ZodString;
|
|
952
961
|
}, z.core.$strict>>;
|
|
@@ -1100,6 +1109,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1100
1109
|
pdf: "pdf";
|
|
1101
1110
|
epub: "epub";
|
|
1102
1111
|
rtf: "rtf";
|
|
1112
|
+
wpd: "wpd";
|
|
1103
1113
|
}>;
|
|
1104
1114
|
xml: z.ZodString;
|
|
1105
1115
|
}, z.core.$strict>>;
|
|
@@ -1310,6 +1320,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1310
1320
|
pdf: "pdf";
|
|
1311
1321
|
epub: "epub";
|
|
1312
1322
|
rtf: "rtf";
|
|
1323
|
+
wpd: "wpd";
|
|
1313
1324
|
}>;
|
|
1314
1325
|
xml: z.ZodString;
|
|
1315
1326
|
}, z.core.$strict>>;
|
|
@@ -1448,6 +1459,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1448
1459
|
pdf: "pdf";
|
|
1449
1460
|
epub: "epub";
|
|
1450
1461
|
rtf: "rtf";
|
|
1462
|
+
wpd: "wpd";
|
|
1451
1463
|
}>;
|
|
1452
1464
|
xml: z.ZodString;
|
|
1453
1465
|
}, z.core.$strict>>;
|
|
@@ -1561,6 +1573,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1561
1573
|
pdf: "pdf";
|
|
1562
1574
|
epub: "epub";
|
|
1563
1575
|
rtf: "rtf";
|
|
1576
|
+
wpd: "wpd";
|
|
1564
1577
|
}>;
|
|
1565
1578
|
xml: z.ZodString;
|
|
1566
1579
|
}, z.core.$strict>>;
|
|
@@ -1605,6 +1618,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1605
1618
|
pdf: "pdf";
|
|
1606
1619
|
epub: "epub";
|
|
1607
1620
|
rtf: "rtf";
|
|
1621
|
+
wpd: "wpd";
|
|
1608
1622
|
}>;
|
|
1609
1623
|
xml: z.ZodString;
|
|
1610
1624
|
}, z.core.$strict>>;
|
|
@@ -1633,6 +1647,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1633
1647
|
pdf: "pdf";
|
|
1634
1648
|
epub: "epub";
|
|
1635
1649
|
rtf: "rtf";
|
|
1650
|
+
wpd: "wpd";
|
|
1636
1651
|
}>;
|
|
1637
1652
|
xml: z.ZodString;
|
|
1638
1653
|
}, z.core.$strict>>;
|
|
@@ -1666,6 +1681,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1666
1681
|
pdf: "pdf";
|
|
1667
1682
|
epub: "epub";
|
|
1668
1683
|
rtf: "rtf";
|
|
1684
|
+
wpd: "wpd";
|
|
1669
1685
|
}>;
|
|
1670
1686
|
xml: z.ZodString;
|
|
1671
1687
|
}, z.core.$strict>>;
|
|
@@ -1694,6 +1710,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1694
1710
|
pdf: "pdf";
|
|
1695
1711
|
epub: "epub";
|
|
1696
1712
|
rtf: "rtf";
|
|
1713
|
+
wpd: "wpd";
|
|
1697
1714
|
}>;
|
|
1698
1715
|
xml: z.ZodString;
|
|
1699
1716
|
}, z.core.$strict>>;
|
|
@@ -1731,6 +1748,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1731
1748
|
pdf: "pdf";
|
|
1732
1749
|
epub: "epub";
|
|
1733
1750
|
rtf: "rtf";
|
|
1751
|
+
wpd: "wpd";
|
|
1734
1752
|
}>;
|
|
1735
1753
|
xml: z.ZodString;
|
|
1736
1754
|
}, z.core.$strict>>;
|
|
@@ -1759,6 +1777,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1759
1777
|
pdf: "pdf";
|
|
1760
1778
|
epub: "epub";
|
|
1761
1779
|
rtf: "rtf";
|
|
1780
|
+
wpd: "wpd";
|
|
1762
1781
|
}>;
|
|
1763
1782
|
xml: z.ZodString;
|
|
1764
1783
|
}, z.core.$strict>>;
|
|
@@ -1801,6 +1820,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1801
1820
|
pdf: "pdf";
|
|
1802
1821
|
epub: "epub";
|
|
1803
1822
|
rtf: "rtf";
|
|
1823
|
+
wpd: "wpd";
|
|
1804
1824
|
}>;
|
|
1805
1825
|
xml: z.ZodString;
|
|
1806
1826
|
}, z.core.$strict>>;
|
|
@@ -1829,6 +1849,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1829
1849
|
pdf: "pdf";
|
|
1830
1850
|
epub: "epub";
|
|
1831
1851
|
rtf: "rtf";
|
|
1852
|
+
wpd: "wpd";
|
|
1832
1853
|
}>;
|
|
1833
1854
|
xml: z.ZodString;
|
|
1834
1855
|
}, z.core.$strict>>;
|
|
@@ -1864,6 +1885,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1864
1885
|
pdf: "pdf";
|
|
1865
1886
|
epub: "epub";
|
|
1866
1887
|
rtf: "rtf";
|
|
1888
|
+
wpd: "wpd";
|
|
1867
1889
|
}>;
|
|
1868
1890
|
xml: z.ZodString;
|
|
1869
1891
|
}, z.core.$strict>>;
|
|
@@ -1892,6 +1914,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1892
1914
|
pdf: "pdf";
|
|
1893
1915
|
epub: "epub";
|
|
1894
1916
|
rtf: "rtf";
|
|
1917
|
+
wpd: "wpd";
|
|
1895
1918
|
}>;
|
|
1896
1919
|
xml: z.ZodString;
|
|
1897
1920
|
}, z.core.$strict>>;
|
|
@@ -1939,6 +1962,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1939
1962
|
pdf: "pdf";
|
|
1940
1963
|
epub: "epub";
|
|
1941
1964
|
rtf: "rtf";
|
|
1965
|
+
wpd: "wpd";
|
|
1942
1966
|
}>;
|
|
1943
1967
|
xml: z.ZodString;
|
|
1944
1968
|
}, z.core.$strict>>;
|
|
@@ -1967,6 +1991,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
1967
1991
|
pdf: "pdf";
|
|
1968
1992
|
epub: "epub";
|
|
1969
1993
|
rtf: "rtf";
|
|
1994
|
+
wpd: "wpd";
|
|
1970
1995
|
}>;
|
|
1971
1996
|
xml: z.ZodString;
|
|
1972
1997
|
}, z.core.$strict>>;
|
|
@@ -2014,6 +2039,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2014
2039
|
pdf: "pdf";
|
|
2015
2040
|
epub: "epub";
|
|
2016
2041
|
rtf: "rtf";
|
|
2042
|
+
wpd: "wpd";
|
|
2017
2043
|
}>;
|
|
2018
2044
|
xml: z.ZodString;
|
|
2019
2045
|
}, z.core.$strict>>;
|
|
@@ -2071,6 +2097,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2071
2097
|
pdf: "pdf";
|
|
2072
2098
|
epub: "epub";
|
|
2073
2099
|
rtf: "rtf";
|
|
2100
|
+
wpd: "wpd";
|
|
2074
2101
|
}>;
|
|
2075
2102
|
xml: z.ZodString;
|
|
2076
2103
|
}, z.core.$strict>>;
|
|
@@ -2114,6 +2141,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2114
2141
|
pdf: "pdf";
|
|
2115
2142
|
epub: "epub";
|
|
2116
2143
|
rtf: "rtf";
|
|
2144
|
+
wpd: "wpd";
|
|
2117
2145
|
}>;
|
|
2118
2146
|
xml: z.ZodString;
|
|
2119
2147
|
}, z.core.$strict>>;
|
|
@@ -2135,6 +2163,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2135
2163
|
pdf: "pdf";
|
|
2136
2164
|
epub: "epub";
|
|
2137
2165
|
rtf: "rtf";
|
|
2166
|
+
wpd: "wpd";
|
|
2138
2167
|
}>;
|
|
2139
2168
|
xml: z.ZodString;
|
|
2140
2169
|
}, z.core.$strict>>;
|
|
@@ -2245,6 +2274,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2245
2274
|
pdf: "pdf";
|
|
2246
2275
|
epub: "epub";
|
|
2247
2276
|
rtf: "rtf";
|
|
2277
|
+
wpd: "wpd";
|
|
2248
2278
|
}>;
|
|
2249
2279
|
xml: z.ZodString;
|
|
2250
2280
|
}, z.core.$strict>>;
|
|
@@ -2271,6 +2301,52 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2271
2301
|
g: z.ZodNumber;
|
|
2272
2302
|
b: z.ZodNumber;
|
|
2273
2303
|
}, z.core.$strip>>;
|
|
2304
|
+
fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2305
|
+
kind: z.ZodLiteral<"gradient">;
|
|
2306
|
+
style: z.ZodEnum<{
|
|
2307
|
+
linear: "linear";
|
|
2308
|
+
axial: "axial";
|
|
2309
|
+
radial: "radial";
|
|
2310
|
+
ellipsoid: "ellipsoid";
|
|
2311
|
+
square: "square";
|
|
2312
|
+
rectangular: "rectangular";
|
|
2313
|
+
}>;
|
|
2314
|
+
startColor: z.ZodObject<{
|
|
2315
|
+
r: z.ZodNumber;
|
|
2316
|
+
g: z.ZodNumber;
|
|
2317
|
+
b: z.ZodNumber;
|
|
2318
|
+
}, z.core.$strip>;
|
|
2319
|
+
endColor: z.ZodObject<{
|
|
2320
|
+
r: z.ZodNumber;
|
|
2321
|
+
g: z.ZodNumber;
|
|
2322
|
+
b: z.ZodNumber;
|
|
2323
|
+
}, z.core.$strip>;
|
|
2324
|
+
angleDeg: z.ZodOptional<z.ZodNumber>;
|
|
2325
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2326
|
+
kind: z.ZodLiteral<"hatch">;
|
|
2327
|
+
style: z.ZodEnum<{
|
|
2328
|
+
double: "double";
|
|
2329
|
+
single: "single";
|
|
2330
|
+
triple: "triple";
|
|
2331
|
+
}>;
|
|
2332
|
+
color: z.ZodObject<{
|
|
2333
|
+
r: z.ZodNumber;
|
|
2334
|
+
g: z.ZodNumber;
|
|
2335
|
+
b: z.ZodNumber;
|
|
2336
|
+
}, z.core.$strip>;
|
|
2337
|
+
distancePt: z.ZodNumber;
|
|
2338
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
2339
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2340
|
+
kind: z.ZodLiteral<"bitmap">;
|
|
2341
|
+
format: z.ZodEnum<{
|
|
2342
|
+
png: "png";
|
|
2343
|
+
jpeg: "jpeg";
|
|
2344
|
+
svg: "svg";
|
|
2345
|
+
gif: "gif";
|
|
2346
|
+
}>;
|
|
2347
|
+
base64: z.ZodString;
|
|
2348
|
+
}, z.core.$strip>], "kind">>;
|
|
2349
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
2274
2350
|
stroke: z.ZodOptional<z.ZodObject<{
|
|
2275
2351
|
color: z.ZodObject<{
|
|
2276
2352
|
r: z.ZodNumber;
|
|
@@ -2284,6 +2360,14 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2284
2360
|
dotted: "dotted";
|
|
2285
2361
|
double: "double";
|
|
2286
2362
|
}>>;
|
|
2363
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2364
|
+
dashPattern: z.ZodOptional<z.ZodObject<{
|
|
2365
|
+
dots1: z.ZodNumber;
|
|
2366
|
+
dots1LengthPt: z.ZodNumber;
|
|
2367
|
+
dots2: z.ZodOptional<z.ZodNumber>;
|
|
2368
|
+
dots2LengthPt: z.ZodOptional<z.ZodNumber>;
|
|
2369
|
+
distancePt: z.ZodNumber;
|
|
2370
|
+
}, z.core.$strip>>;
|
|
2287
2371
|
}, z.core.$strip>>;
|
|
2288
2372
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
2289
2373
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -2303,6 +2387,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2303
2387
|
pdf: "pdf";
|
|
2304
2388
|
epub: "epub";
|
|
2305
2389
|
rtf: "rtf";
|
|
2390
|
+
wpd: "wpd";
|
|
2306
2391
|
}>;
|
|
2307
2392
|
xml: z.ZodString;
|
|
2308
2393
|
}, z.core.$strict>>;
|
|
@@ -2327,6 +2412,52 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2327
2412
|
g: z.ZodNumber;
|
|
2328
2413
|
b: z.ZodNumber;
|
|
2329
2414
|
}, z.core.$strip>>;
|
|
2415
|
+
fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2416
|
+
kind: z.ZodLiteral<"gradient">;
|
|
2417
|
+
style: z.ZodEnum<{
|
|
2418
|
+
linear: "linear";
|
|
2419
|
+
axial: "axial";
|
|
2420
|
+
radial: "radial";
|
|
2421
|
+
ellipsoid: "ellipsoid";
|
|
2422
|
+
square: "square";
|
|
2423
|
+
rectangular: "rectangular";
|
|
2424
|
+
}>;
|
|
2425
|
+
startColor: z.ZodObject<{
|
|
2426
|
+
r: z.ZodNumber;
|
|
2427
|
+
g: z.ZodNumber;
|
|
2428
|
+
b: z.ZodNumber;
|
|
2429
|
+
}, z.core.$strip>;
|
|
2430
|
+
endColor: z.ZodObject<{
|
|
2431
|
+
r: z.ZodNumber;
|
|
2432
|
+
g: z.ZodNumber;
|
|
2433
|
+
b: z.ZodNumber;
|
|
2434
|
+
}, z.core.$strip>;
|
|
2435
|
+
angleDeg: z.ZodOptional<z.ZodNumber>;
|
|
2436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2437
|
+
kind: z.ZodLiteral<"hatch">;
|
|
2438
|
+
style: z.ZodEnum<{
|
|
2439
|
+
double: "double";
|
|
2440
|
+
single: "single";
|
|
2441
|
+
triple: "triple";
|
|
2442
|
+
}>;
|
|
2443
|
+
color: z.ZodObject<{
|
|
2444
|
+
r: z.ZodNumber;
|
|
2445
|
+
g: z.ZodNumber;
|
|
2446
|
+
b: z.ZodNumber;
|
|
2447
|
+
}, z.core.$strip>;
|
|
2448
|
+
distancePt: z.ZodNumber;
|
|
2449
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
2450
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2451
|
+
kind: z.ZodLiteral<"bitmap">;
|
|
2452
|
+
format: z.ZodEnum<{
|
|
2453
|
+
png: "png";
|
|
2454
|
+
jpeg: "jpeg";
|
|
2455
|
+
svg: "svg";
|
|
2456
|
+
gif: "gif";
|
|
2457
|
+
}>;
|
|
2458
|
+
base64: z.ZodString;
|
|
2459
|
+
}, z.core.$strip>], "kind">>;
|
|
2460
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
2330
2461
|
stroke: z.ZodOptional<z.ZodObject<{
|
|
2331
2462
|
color: z.ZodObject<{
|
|
2332
2463
|
r: z.ZodNumber;
|
|
@@ -2340,6 +2471,14 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2340
2471
|
dotted: "dotted";
|
|
2341
2472
|
double: "double";
|
|
2342
2473
|
}>>;
|
|
2474
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2475
|
+
dashPattern: z.ZodOptional<z.ZodObject<{
|
|
2476
|
+
dots1: z.ZodNumber;
|
|
2477
|
+
dots1LengthPt: z.ZodNumber;
|
|
2478
|
+
dots2: z.ZodOptional<z.ZodNumber>;
|
|
2479
|
+
dots2LengthPt: z.ZodOptional<z.ZodNumber>;
|
|
2480
|
+
distancePt: z.ZodNumber;
|
|
2481
|
+
}, z.core.$strip>>;
|
|
2343
2482
|
}, z.core.$strip>>;
|
|
2344
2483
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
2345
2484
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -2359,6 +2498,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2359
2498
|
pdf: "pdf";
|
|
2360
2499
|
epub: "epub";
|
|
2361
2500
|
rtf: "rtf";
|
|
2501
|
+
wpd: "wpd";
|
|
2362
2502
|
}>;
|
|
2363
2503
|
xml: z.ZodString;
|
|
2364
2504
|
}, z.core.$strict>>;
|
|
@@ -2392,6 +2532,14 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2392
2532
|
dotted: "dotted";
|
|
2393
2533
|
double: "double";
|
|
2394
2534
|
}>>;
|
|
2535
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2536
|
+
dashPattern: z.ZodOptional<z.ZodObject<{
|
|
2537
|
+
dots1: z.ZodNumber;
|
|
2538
|
+
dots1LengthPt: z.ZodNumber;
|
|
2539
|
+
dots2: z.ZodOptional<z.ZodNumber>;
|
|
2540
|
+
dots2LengthPt: z.ZodOptional<z.ZodNumber>;
|
|
2541
|
+
distancePt: z.ZodNumber;
|
|
2542
|
+
}, z.core.$strip>>;
|
|
2395
2543
|
}, z.core.$strip>;
|
|
2396
2544
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
2397
2545
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -2411,6 +2559,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2411
2559
|
pdf: "pdf";
|
|
2412
2560
|
epub: "epub";
|
|
2413
2561
|
rtf: "rtf";
|
|
2562
|
+
wpd: "wpd";
|
|
2414
2563
|
}>;
|
|
2415
2564
|
xml: z.ZodString;
|
|
2416
2565
|
}, z.core.$strict>>;
|
|
@@ -2463,6 +2612,52 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2463
2612
|
g: z.ZodNumber;
|
|
2464
2613
|
b: z.ZodNumber;
|
|
2465
2614
|
}, z.core.$strip>>;
|
|
2615
|
+
fillPattern: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2616
|
+
kind: z.ZodLiteral<"gradient">;
|
|
2617
|
+
style: z.ZodEnum<{
|
|
2618
|
+
linear: "linear";
|
|
2619
|
+
axial: "axial";
|
|
2620
|
+
radial: "radial";
|
|
2621
|
+
ellipsoid: "ellipsoid";
|
|
2622
|
+
square: "square";
|
|
2623
|
+
rectangular: "rectangular";
|
|
2624
|
+
}>;
|
|
2625
|
+
startColor: z.ZodObject<{
|
|
2626
|
+
r: z.ZodNumber;
|
|
2627
|
+
g: z.ZodNumber;
|
|
2628
|
+
b: z.ZodNumber;
|
|
2629
|
+
}, z.core.$strip>;
|
|
2630
|
+
endColor: z.ZodObject<{
|
|
2631
|
+
r: z.ZodNumber;
|
|
2632
|
+
g: z.ZodNumber;
|
|
2633
|
+
b: z.ZodNumber;
|
|
2634
|
+
}, z.core.$strip>;
|
|
2635
|
+
angleDeg: z.ZodOptional<z.ZodNumber>;
|
|
2636
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2637
|
+
kind: z.ZodLiteral<"hatch">;
|
|
2638
|
+
style: z.ZodEnum<{
|
|
2639
|
+
double: "double";
|
|
2640
|
+
single: "single";
|
|
2641
|
+
triple: "triple";
|
|
2642
|
+
}>;
|
|
2643
|
+
color: z.ZodObject<{
|
|
2644
|
+
r: z.ZodNumber;
|
|
2645
|
+
g: z.ZodNumber;
|
|
2646
|
+
b: z.ZodNumber;
|
|
2647
|
+
}, z.core.$strip>;
|
|
2648
|
+
distancePt: z.ZodNumber;
|
|
2649
|
+
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
2650
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2651
|
+
kind: z.ZodLiteral<"bitmap">;
|
|
2652
|
+
format: z.ZodEnum<{
|
|
2653
|
+
png: "png";
|
|
2654
|
+
jpeg: "jpeg";
|
|
2655
|
+
svg: "svg";
|
|
2656
|
+
gif: "gif";
|
|
2657
|
+
}>;
|
|
2658
|
+
base64: z.ZodString;
|
|
2659
|
+
}, z.core.$strip>], "kind">>;
|
|
2660
|
+
fillOpacity: z.ZodOptional<z.ZodNumber>;
|
|
2466
2661
|
fillRule: z.ZodOptional<z.ZodEnum<{
|
|
2467
2662
|
nonzero: "nonzero";
|
|
2468
2663
|
evenodd: "evenodd";
|
|
@@ -2480,6 +2675,14 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2480
2675
|
dotted: "dotted";
|
|
2481
2676
|
double: "double";
|
|
2482
2677
|
}>>;
|
|
2678
|
+
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2679
|
+
dashPattern: z.ZodOptional<z.ZodObject<{
|
|
2680
|
+
dots1: z.ZodNumber;
|
|
2681
|
+
dots1LengthPt: z.ZodNumber;
|
|
2682
|
+
dots2: z.ZodOptional<z.ZodNumber>;
|
|
2683
|
+
dots2LengthPt: z.ZodOptional<z.ZodNumber>;
|
|
2684
|
+
distancePt: z.ZodNumber;
|
|
2685
|
+
}, z.core.$strip>>;
|
|
2483
2686
|
}, z.core.$strip>>;
|
|
2484
2687
|
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
2485
2688
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
@@ -2499,6 +2702,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2499
2702
|
pdf: "pdf";
|
|
2500
2703
|
epub: "epub";
|
|
2501
2704
|
rtf: "rtf";
|
|
2705
|
+
wpd: "wpd";
|
|
2502
2706
|
}>;
|
|
2503
2707
|
xml: z.ZodString;
|
|
2504
2708
|
}, z.core.$strict>>;
|
|
@@ -2526,6 +2730,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2526
2730
|
pdf: "pdf";
|
|
2527
2731
|
epub: "epub";
|
|
2528
2732
|
rtf: "rtf";
|
|
2733
|
+
wpd: "wpd";
|
|
2529
2734
|
}>;
|
|
2530
2735
|
xml: z.ZodString;
|
|
2531
2736
|
}, z.core.$strict>>;
|
|
@@ -2626,6 +2831,7 @@ declare const rtfContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, U
|
|
|
2626
2831
|
pdf: "pdf";
|
|
2627
2832
|
epub: "epub";
|
|
2628
2833
|
rtf: "rtf";
|
|
2834
|
+
wpd: "wpd";
|
|
2629
2835
|
}>;
|
|
2630
2836
|
xml: z.ZodString;
|
|
2631
2837
|
}, z.core.$strict>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rtf-codec",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Hand-written Rich Text Format (RTF 1.9.1) reader and writer against the shared document-schema.js content pivot.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"license": "MIT",
|
|
81
81
|
"packageManager": "pnpm@11.6.0",
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"archive-codec": "1.9.
|
|
84
|
-
"document-schema.js": "7.
|
|
83
|
+
"archive-codec": "1.9.2",
|
|
84
|
+
"document-schema.js": "7.5.0",
|
|
85
85
|
"zod": "4.4.3"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|