epub-codec 1.3.3 → 1.3.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/{codec-ai1wiK-h.d.cts → codec-C1FolPcb.d.cts} +32 -22
- package/dist/{codec-DgJQ0rH2.d.ts → codec-DjqeU3E2.d.ts} +32 -22
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/model/package.d.cts +1 -1
- package/dist/model/package.d.ts +1 -1
- package/dist/package-io/read.d.cts +1 -1
- package/dist/package-io/read.d.ts +1 -1
- package/dist/package-io/write.d.cts +1 -1
- package/dist/package-io/write.d.ts +1 -1
- package/package.json +2 -2
|
@@ -147,8 +147,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
147
147
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
148
148
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
149
149
|
left: "left";
|
|
150
|
-
right: "right";
|
|
151
150
|
center: "center";
|
|
151
|
+
right: "right";
|
|
152
152
|
justify: "justify";
|
|
153
153
|
}>>;
|
|
154
154
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -296,8 +296,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
296
296
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
297
297
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
298
298
|
left: "left";
|
|
299
|
-
right: "right";
|
|
300
299
|
center: "center";
|
|
300
|
+
right: "right";
|
|
301
301
|
justify: "justify";
|
|
302
302
|
}>>;
|
|
303
303
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -445,8 +445,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
445
445
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
446
446
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
447
447
|
left: "left";
|
|
448
|
-
right: "right";
|
|
449
448
|
center: "center";
|
|
449
|
+
right: "right";
|
|
450
450
|
justify: "justify";
|
|
451
451
|
}>>;
|
|
452
452
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -594,8 +594,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
594
594
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
595
595
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
596
596
|
left: "left";
|
|
597
|
-
right: "right";
|
|
598
597
|
center: "center";
|
|
598
|
+
right: "right";
|
|
599
599
|
justify: "justify";
|
|
600
600
|
}>>;
|
|
601
601
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -775,8 +775,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
775
775
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
776
776
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
777
777
|
left: "left";
|
|
778
|
-
right: "right";
|
|
779
778
|
center: "center";
|
|
779
|
+
right: "right";
|
|
780
780
|
justify: "justify";
|
|
781
781
|
}>>;
|
|
782
782
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -934,6 +934,16 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
934
934
|
evenPage: "evenPage";
|
|
935
935
|
oddPage: "oddPage";
|
|
936
936
|
}>>;
|
|
937
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
938
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
939
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
940
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
941
|
+
}, z.core.$strip>>;
|
|
942
|
+
footers: z.ZodOptional<z.ZodObject<{
|
|
943
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
944
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
945
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
946
|
+
}, z.core.$strip>>;
|
|
937
947
|
source: z.ZodOptional<z.ZodObject<{
|
|
938
948
|
format: z.ZodEnum<{
|
|
939
949
|
docx: "docx";
|
|
@@ -1421,8 +1431,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1421
1431
|
}, z.core.$strip>>;
|
|
1422
1432
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1423
1433
|
left: "left";
|
|
1424
|
-
right: "right";
|
|
1425
1434
|
center: "center";
|
|
1435
|
+
right: "right";
|
|
1426
1436
|
justify: "justify";
|
|
1427
1437
|
}>>;
|
|
1428
1438
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1526,10 +1536,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1526
1536
|
}>;
|
|
1527
1537
|
align: z.ZodEnum<{
|
|
1528
1538
|
left: "left";
|
|
1539
|
+
center: "center";
|
|
1529
1540
|
right: "right";
|
|
1530
1541
|
top: "top";
|
|
1531
1542
|
bottom: "bottom";
|
|
1532
|
-
center: "center";
|
|
1533
1543
|
inside: "inside";
|
|
1534
1544
|
outside: "outside";
|
|
1535
1545
|
}>;
|
|
@@ -1569,10 +1579,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1569
1579
|
}>;
|
|
1570
1580
|
align: z.ZodEnum<{
|
|
1571
1581
|
left: "left";
|
|
1582
|
+
center: "center";
|
|
1572
1583
|
right: "right";
|
|
1573
1584
|
top: "top";
|
|
1574
1585
|
bottom: "bottom";
|
|
1575
|
-
center: "center";
|
|
1576
1586
|
inside: "inside";
|
|
1577
1587
|
outside: "outside";
|
|
1578
1588
|
}>;
|
|
@@ -1661,10 +1671,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1661
1671
|
endColumn: z.ZodNumber;
|
|
1662
1672
|
}, z.core.$strip>>;
|
|
1663
1673
|
type: z.ZodEnum<{
|
|
1664
|
-
date: "date";
|
|
1665
|
-
custom: "custom";
|
|
1666
1674
|
decimal: "decimal";
|
|
1667
1675
|
list: "list";
|
|
1676
|
+
date: "date";
|
|
1677
|
+
custom: "custom";
|
|
1668
1678
|
time: "time";
|
|
1669
1679
|
whole: "whole";
|
|
1670
1680
|
textLength: "textLength";
|
|
@@ -2136,11 +2146,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2136
2146
|
stops: z.ZodArray<z.ZodObject<{
|
|
2137
2147
|
value: z.ZodObject<{
|
|
2138
2148
|
type: z.ZodEnum<{
|
|
2139
|
-
formula: "formula";
|
|
2140
|
-
percent: "percent";
|
|
2141
2149
|
num: "num";
|
|
2142
|
-
max: "max";
|
|
2143
2150
|
min: "min";
|
|
2151
|
+
max: "max";
|
|
2152
|
+
formula: "formula";
|
|
2153
|
+
percent: "percent";
|
|
2144
2154
|
percentile: "percentile";
|
|
2145
2155
|
}>;
|
|
2146
2156
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2183,22 +2193,22 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2183
2193
|
}, z.core.$strip>, z.ZodObject<{
|
|
2184
2194
|
min: z.ZodObject<{
|
|
2185
2195
|
type: z.ZodEnum<{
|
|
2186
|
-
formula: "formula";
|
|
2187
|
-
percent: "percent";
|
|
2188
2196
|
num: "num";
|
|
2189
|
-
max: "max";
|
|
2190
2197
|
min: "min";
|
|
2198
|
+
max: "max";
|
|
2199
|
+
formula: "formula";
|
|
2200
|
+
percent: "percent";
|
|
2191
2201
|
percentile: "percentile";
|
|
2192
2202
|
}>;
|
|
2193
2203
|
value: z.ZodOptional<z.ZodString>;
|
|
2194
2204
|
}, z.core.$strip>;
|
|
2195
2205
|
max: z.ZodObject<{
|
|
2196
2206
|
type: z.ZodEnum<{
|
|
2197
|
-
formula: "formula";
|
|
2198
|
-
percent: "percent";
|
|
2199
2207
|
num: "num";
|
|
2200
|
-
max: "max";
|
|
2201
2208
|
min: "min";
|
|
2209
|
+
max: "max";
|
|
2210
|
+
formula: "formula";
|
|
2211
|
+
percent: "percent";
|
|
2202
2212
|
percentile: "percentile";
|
|
2203
2213
|
}>;
|
|
2204
2214
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2242,11 +2252,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2242
2252
|
iconSetType: z.ZodString;
|
|
2243
2253
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2244
2254
|
type: z.ZodEnum<{
|
|
2245
|
-
formula: "formula";
|
|
2246
|
-
percent: "percent";
|
|
2247
2255
|
num: "num";
|
|
2248
|
-
max: "max";
|
|
2249
2256
|
min: "min";
|
|
2257
|
+
max: "max";
|
|
2258
|
+
formula: "formula";
|
|
2259
|
+
percent: "percent";
|
|
2250
2260
|
percentile: "percentile";
|
|
2251
2261
|
}>;
|
|
2252
2262
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -147,8 +147,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
147
147
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
148
148
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
149
149
|
left: "left";
|
|
150
|
-
right: "right";
|
|
151
150
|
center: "center";
|
|
151
|
+
right: "right";
|
|
152
152
|
justify: "justify";
|
|
153
153
|
}>>;
|
|
154
154
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -296,8 +296,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
296
296
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
297
297
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
298
298
|
left: "left";
|
|
299
|
-
right: "right";
|
|
300
299
|
center: "center";
|
|
300
|
+
right: "right";
|
|
301
301
|
justify: "justify";
|
|
302
302
|
}>>;
|
|
303
303
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -445,8 +445,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
445
445
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
446
446
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
447
447
|
left: "left";
|
|
448
|
-
right: "right";
|
|
449
448
|
center: "center";
|
|
449
|
+
right: "right";
|
|
450
450
|
justify: "justify";
|
|
451
451
|
}>>;
|
|
452
452
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -594,8 +594,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
594
594
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
595
595
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
596
596
|
left: "left";
|
|
597
|
-
right: "right";
|
|
598
597
|
center: "center";
|
|
598
|
+
right: "right";
|
|
599
599
|
justify: "justify";
|
|
600
600
|
}>>;
|
|
601
601
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -775,8 +775,8 @@ declare const epubCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Ar
|
|
|
775
775
|
paragraph: z.ZodOptional<z.ZodObject<{
|
|
776
776
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
777
777
|
left: "left";
|
|
778
|
-
right: "right";
|
|
779
778
|
center: "center";
|
|
779
|
+
right: "right";
|
|
780
780
|
justify: "justify";
|
|
781
781
|
}>>;
|
|
782
782
|
list: z.ZodOptional<z.ZodObject<{
|
|
@@ -934,6 +934,16 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
934
934
|
evenPage: "evenPage";
|
|
935
935
|
oddPage: "oddPage";
|
|
936
936
|
}>>;
|
|
937
|
+
headers: z.ZodOptional<z.ZodObject<{
|
|
938
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
939
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
940
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
941
|
+
}, z.core.$strip>>;
|
|
942
|
+
footers: z.ZodOptional<z.ZodObject<{
|
|
943
|
+
default: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
944
|
+
even: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
945
|
+
first: z.ZodOptional<z.ZodLazy<z.ZodArray<z.ZodType<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock, z.core.$ZodTypeInternals<import("document-schema.js").ContentBlock, import("document-schema.js").ContentBlock>>>>>;
|
|
946
|
+
}, z.core.$strip>>;
|
|
937
947
|
source: z.ZodOptional<z.ZodObject<{
|
|
938
948
|
format: z.ZodEnum<{
|
|
939
949
|
docx: "docx";
|
|
@@ -1421,8 +1431,8 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1421
1431
|
}, z.core.$strip>>;
|
|
1422
1432
|
alignment: z.ZodOptional<z.ZodEnum<{
|
|
1423
1433
|
left: "left";
|
|
1424
|
-
right: "right";
|
|
1425
1434
|
center: "center";
|
|
1435
|
+
right: "right";
|
|
1426
1436
|
justify: "justify";
|
|
1427
1437
|
}>>;
|
|
1428
1438
|
verticalAlignment: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1526,10 +1536,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1526
1536
|
}>;
|
|
1527
1537
|
align: z.ZodEnum<{
|
|
1528
1538
|
left: "left";
|
|
1539
|
+
center: "center";
|
|
1529
1540
|
right: "right";
|
|
1530
1541
|
top: "top";
|
|
1531
1542
|
bottom: "bottom";
|
|
1532
|
-
center: "center";
|
|
1533
1543
|
inside: "inside";
|
|
1534
1544
|
outside: "outside";
|
|
1535
1545
|
}>;
|
|
@@ -1569,10 +1579,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1569
1579
|
}>;
|
|
1570
1580
|
align: z.ZodEnum<{
|
|
1571
1581
|
left: "left";
|
|
1582
|
+
center: "center";
|
|
1572
1583
|
right: "right";
|
|
1573
1584
|
top: "top";
|
|
1574
1585
|
bottom: "bottom";
|
|
1575
|
-
center: "center";
|
|
1576
1586
|
inside: "inside";
|
|
1577
1587
|
outside: "outside";
|
|
1578
1588
|
}>;
|
|
@@ -1661,10 +1671,10 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
1661
1671
|
endColumn: z.ZodNumber;
|
|
1662
1672
|
}, z.core.$strip>>;
|
|
1663
1673
|
type: z.ZodEnum<{
|
|
1664
|
-
date: "date";
|
|
1665
|
-
custom: "custom";
|
|
1666
1674
|
decimal: "decimal";
|
|
1667
1675
|
list: "list";
|
|
1676
|
+
date: "date";
|
|
1677
|
+
custom: "custom";
|
|
1668
1678
|
time: "time";
|
|
1669
1679
|
whole: "whole";
|
|
1670
1680
|
textLength: "textLength";
|
|
@@ -2136,11 +2146,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2136
2146
|
stops: z.ZodArray<z.ZodObject<{
|
|
2137
2147
|
value: z.ZodObject<{
|
|
2138
2148
|
type: z.ZodEnum<{
|
|
2139
|
-
formula: "formula";
|
|
2140
|
-
percent: "percent";
|
|
2141
2149
|
num: "num";
|
|
2142
|
-
max: "max";
|
|
2143
2150
|
min: "min";
|
|
2151
|
+
max: "max";
|
|
2152
|
+
formula: "formula";
|
|
2153
|
+
percent: "percent";
|
|
2144
2154
|
percentile: "percentile";
|
|
2145
2155
|
}>;
|
|
2146
2156
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2183,22 +2193,22 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2183
2193
|
}, z.core.$strip>, z.ZodObject<{
|
|
2184
2194
|
min: z.ZodObject<{
|
|
2185
2195
|
type: z.ZodEnum<{
|
|
2186
|
-
formula: "formula";
|
|
2187
|
-
percent: "percent";
|
|
2188
2196
|
num: "num";
|
|
2189
|
-
max: "max";
|
|
2190
2197
|
min: "min";
|
|
2198
|
+
max: "max";
|
|
2199
|
+
formula: "formula";
|
|
2200
|
+
percent: "percent";
|
|
2191
2201
|
percentile: "percentile";
|
|
2192
2202
|
}>;
|
|
2193
2203
|
value: z.ZodOptional<z.ZodString>;
|
|
2194
2204
|
}, z.core.$strip>;
|
|
2195
2205
|
max: z.ZodObject<{
|
|
2196
2206
|
type: z.ZodEnum<{
|
|
2197
|
-
formula: "formula";
|
|
2198
|
-
percent: "percent";
|
|
2199
2207
|
num: "num";
|
|
2200
|
-
max: "max";
|
|
2201
2208
|
min: "min";
|
|
2209
|
+
max: "max";
|
|
2210
|
+
formula: "formula";
|
|
2211
|
+
percent: "percent";
|
|
2202
2212
|
percentile: "percentile";
|
|
2203
2213
|
}>;
|
|
2204
2214
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -2242,11 +2252,11 @@ declare const epubContentCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>,
|
|
|
2242
2252
|
iconSetType: z.ZodString;
|
|
2243
2253
|
thresholds: z.ZodArray<z.ZodObject<{
|
|
2244
2254
|
type: z.ZodEnum<{
|
|
2245
|
-
formula: "formula";
|
|
2246
|
-
percent: "percent";
|
|
2247
2255
|
num: "num";
|
|
2248
|
-
max: "max";
|
|
2249
2256
|
min: "min";
|
|
2257
|
+
max: "max";
|
|
2258
|
+
formula: "formula";
|
|
2259
|
+
percent: "percent";
|
|
2250
2260
|
percentile: "percentile";
|
|
2251
2261
|
}>;
|
|
2252
2262
|
value: z.ZodOptional<z.ZodString>;
|
package/dist/codec.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-
|
|
1
|
+
import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-C1FolPcb.cjs";
|
|
2
2
|
export { EpubBytesSchema, decodePackage, encodePackage, epubCodec, epubContentCodec, packageCodec };
|
package/dist/codec.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-
|
|
1
|
+
import { a as epubContentCodec, i as epubCodec, n as decodePackage, o as packageCodec, r as encodePackage, t as EpubBytesSchema } from "./codec-DjqeU3E2.js";
|
|
2
2
|
export { EpubBytesSchema, decodePackage, encodePackage, epubCodec, epubContentCodec, packageCodec };
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as OCF_CONTAINER_PATH, r as OCF_MIMETYPE_PATH, t as EPUB_MIME_TYPE } from "./format-DxUddUPj.cjs";
|
|
2
2
|
import { n as unzipPackage, r as zipPackage, t as ZipEntry } from "./zip-ie17sOo5.cjs";
|
|
3
|
-
import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-
|
|
3
|
+
import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-C1FolPcb.cjs";
|
|
4
4
|
import { a as EpubEmptySpineError, c as EpubInvalidOpfError, d as EpubUnbalancedConstructMarkersError, f as EpubUnsupportedDocumentKindError, i as EpubDiagnosticSink, l as EpubPackageFlattenError, m as NOOP_EPUB_DIAGNOSTIC_SINK, n as EpubDiagnosticCodes, o as EpubInvalidContainerError, p as EpubWriteError, r as EpubDiagnosticSeverity, s as EpubInvalidMimetypeError, t as EpubDiagnostic, u as EpubParseError } from "./diagnostics-C0CRdoda.cjs";
|
|
5
5
|
import { t as resolveOpfPath } from "./container-B6cHHiY9.cjs";
|
|
6
6
|
import { n as OpfPackage, r as OpfSpineItemRef, t as OpfManifestItem } from "./types-BxmkPT_F.cjs";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as OCF_CONTAINER_PATH, r as OCF_MIMETYPE_PATH, t as EPUB_MIME_TYPE } from "./format-DxUddUPj.js";
|
|
2
2
|
import { n as unzipPackage, r as zipPackage, t as ZipEntry } from "./zip-ie17sOo5.js";
|
|
3
|
-
import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-
|
|
3
|
+
import { _ as XmlPart, a as epubContentCodec, c as serializePackage, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, i as epubCodec, l as packageFromEntries, m as EpubPackageSchema, n as decodePackage, o as packageCodec, p as EpubPackage, r as encodePackage, s as packageToEntries, t as EpubBytesSchema, u as parsePackage, v as XmlPartSchema } from "./codec-DjqeU3E2.js";
|
|
4
4
|
import { a as EpubEmptySpineError, c as EpubInvalidOpfError, d as EpubUnbalancedConstructMarkersError, f as EpubUnsupportedDocumentKindError, i as EpubDiagnosticSink, l as EpubPackageFlattenError, m as NOOP_EPUB_DIAGNOSTIC_SINK, n as EpubDiagnosticCodes, o as EpubInvalidContainerError, p as EpubWriteError, r as EpubDiagnosticSeverity, s as EpubInvalidMimetypeError, t as EpubDiagnostic, u as EpubParseError } from "./diagnostics-C0CRdoda.js";
|
|
5
5
|
import { t as resolveOpfPath } from "./container-B6cHHiY9.js";
|
|
6
6
|
import { n as OpfPackage, r as OpfSpineItemRef, t as OpfManifestItem } from "./types-BxmkPT_F.js";
|
package/dist/model/package.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-
|
|
1
|
+
import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-C1FolPcb.cjs";
|
|
2
2
|
export { BinaryPart, BinaryPartSchema, EpubPackage, EpubPackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
|
package/dist/model/package.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-
|
|
1
|
+
import { _ as XmlPart, d as BinaryPart, f as BinaryPartSchema, g as PartSchema, h as Part, m as EpubPackageSchema, p as EpubPackage, v as XmlPartSchema } from "../codec-DjqeU3E2.js";
|
|
2
2
|
export { BinaryPart, BinaryPartSchema, EpubPackage, EpubPackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { l as packageFromEntries, u as parsePackage } from "../codec-
|
|
1
|
+
import { l as packageFromEntries, u as parsePackage } from "../codec-C1FolPcb.cjs";
|
|
2
2
|
export { packageFromEntries, parsePackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { l as packageFromEntries, u as parsePackage } from "../codec-
|
|
1
|
+
import { l as packageFromEntries, u as parsePackage } from "../codec-DjqeU3E2.js";
|
|
2
2
|
export { packageFromEntries, parsePackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as serializePackage, s as packageToEntries } from "../codec-
|
|
1
|
+
import { c as serializePackage, s as packageToEntries } from "../codec-C1FolPcb.cjs";
|
|
2
2
|
export { packageToEntries, serializePackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as serializePackage, s as packageToEntries } from "../codec-
|
|
1
|
+
import { c as serializePackage, s as packageToEntries } from "../codec-DjqeU3E2.js";
|
|
2
2
|
export { packageToEntries, serializePackage };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "epub-codec",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "EPUB 2/3 reading and deterministic EPUB 3 writing against the shared document-schema.js content pivot.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"license": "MIT",
|
|
79
79
|
"packageManager": "pnpm@11.6.0",
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"document-schema.js": "7.
|
|
81
|
+
"document-schema.js": "7.6.0",
|
|
82
82
|
"entities": "8.0.0",
|
|
83
83
|
"fast-xml-parser": "5.10.1",
|
|
84
84
|
"fflate": "0.8.3",
|