@prose-reader/core 1.3.0 → 1.4.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/createReaderWithEnhancer.d.ts +0 -83
- package/dist/prose.js +3 -3
- package/dist/prose.js.map +1 -1
- package/dist/prose.umd.cjs +3 -3
- package/dist/prose.umd.cjs.map +1 -1
- package/dist/spine/cfiLocator.d.ts +0 -4
- package/dist/spine/locationResolver.d.ts +0 -8
- package/dist/spineItem/commonSpineItem.d.ts +0 -1
- package/dist/spineItem/createSpineItem.d.ts +0 -2
- package/dist/spineItem/prePaginatedSpineItem.d.ts +0 -2
- package/dist/spineItem/reflowableSpineItem.d.ts +0 -2
- package/dist/spineItemManager.d.ts +0 -13
- package/dist/viewportNavigator/manualViewportNavigator.d.ts +0 -16
- package/dist/viewportNavigator/panViewportNavigator.d.ts +0 -2
- package/package.json +3 -3
|
@@ -55,7 +55,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
55
55
|
item: {
|
|
56
56
|
id: string;
|
|
57
57
|
href: string;
|
|
58
|
-
path: string;
|
|
59
58
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
60
59
|
progressionWeight: number;
|
|
61
60
|
pageSpreadLeft: true | undefined;
|
|
@@ -142,7 +141,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
142
141
|
item: {
|
|
143
142
|
id: string;
|
|
144
143
|
href: string;
|
|
145
|
-
path: string;
|
|
146
144
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
147
145
|
progressionWeight: number;
|
|
148
146
|
pageSpreadLeft: true | undefined;
|
|
@@ -229,7 +227,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
229
227
|
item: {
|
|
230
228
|
id: string;
|
|
231
229
|
href: string;
|
|
232
|
-
path: string;
|
|
233
230
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
234
231
|
progressionWeight: number;
|
|
235
232
|
pageSpreadLeft: true | undefined;
|
|
@@ -316,7 +313,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
316
313
|
item: {
|
|
317
314
|
id: string;
|
|
318
315
|
href: string;
|
|
319
|
-
path: string;
|
|
320
316
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
321
317
|
progressionWeight: number;
|
|
322
318
|
pageSpreadLeft: true | undefined;
|
|
@@ -458,7 +454,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
458
454
|
item: {
|
|
459
455
|
id: string;
|
|
460
456
|
href: string;
|
|
461
|
-
path: string;
|
|
462
457
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
463
458
|
progressionWeight: number;
|
|
464
459
|
pageSpreadLeft: true | undefined;
|
|
@@ -545,7 +540,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
545
540
|
item: {
|
|
546
541
|
id: string;
|
|
547
542
|
href: string;
|
|
548
|
-
path: string;
|
|
549
543
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
550
544
|
progressionWeight: number;
|
|
551
545
|
pageSpreadLeft: true | undefined;
|
|
@@ -632,7 +626,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
632
626
|
item: {
|
|
633
627
|
id: string;
|
|
634
628
|
href: string;
|
|
635
|
-
path: string;
|
|
636
629
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
637
630
|
progressionWeight: number;
|
|
638
631
|
pageSpreadLeft: true | undefined;
|
|
@@ -719,7 +712,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
719
712
|
item: {
|
|
720
713
|
id: string;
|
|
721
714
|
href: string;
|
|
722
|
-
path: string;
|
|
723
715
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
724
716
|
progressionWeight: number;
|
|
725
717
|
pageSpreadLeft: true | undefined;
|
|
@@ -837,7 +829,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
837
829
|
item: {
|
|
838
830
|
id: string;
|
|
839
831
|
href: string;
|
|
840
|
-
path: string;
|
|
841
832
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
842
833
|
progressionWeight: number;
|
|
843
834
|
pageSpreadLeft: true | undefined;
|
|
@@ -924,7 +915,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
924
915
|
item: {
|
|
925
916
|
id: string;
|
|
926
917
|
href: string;
|
|
927
|
-
path: string;
|
|
928
918
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
929
919
|
progressionWeight: number;
|
|
930
920
|
pageSpreadLeft: true | undefined;
|
|
@@ -1046,7 +1036,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1046
1036
|
item: {
|
|
1047
1037
|
id: string;
|
|
1048
1038
|
href: string;
|
|
1049
|
-
path: string;
|
|
1050
1039
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1051
1040
|
progressionWeight: number;
|
|
1052
1041
|
pageSpreadLeft: true | undefined;
|
|
@@ -1070,7 +1059,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1070
1059
|
item: {
|
|
1071
1060
|
id: string;
|
|
1072
1061
|
href: string;
|
|
1073
|
-
path: string;
|
|
1074
1062
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1075
1063
|
progressionWeight: number;
|
|
1076
1064
|
pageSpreadLeft: true | undefined;
|
|
@@ -1129,7 +1117,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1129
1117
|
item: {
|
|
1130
1118
|
id: string;
|
|
1131
1119
|
href: string;
|
|
1132
|
-
path: string;
|
|
1133
1120
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1134
1121
|
progressionWeight: number;
|
|
1135
1122
|
pageSpreadLeft: true | undefined;
|
|
@@ -1216,7 +1203,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1216
1203
|
item: {
|
|
1217
1204
|
id: string;
|
|
1218
1205
|
href: string;
|
|
1219
|
-
path: string;
|
|
1220
1206
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1221
1207
|
progressionWeight: number;
|
|
1222
1208
|
pageSpreadLeft: true | undefined;
|
|
@@ -1300,7 +1286,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1300
1286
|
item: {
|
|
1301
1287
|
id: string;
|
|
1302
1288
|
href: string;
|
|
1303
|
-
path: string;
|
|
1304
1289
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1305
1290
|
progressionWeight: number;
|
|
1306
1291
|
pageSpreadLeft: true | undefined;
|
|
@@ -1387,7 +1372,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1387
1372
|
item: {
|
|
1388
1373
|
id: string;
|
|
1389
1374
|
href: string;
|
|
1390
|
-
path: string;
|
|
1391
1375
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1392
1376
|
progressionWeight: number;
|
|
1393
1377
|
pageSpreadLeft: true | undefined;
|
|
@@ -1471,7 +1455,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1471
1455
|
item: {
|
|
1472
1456
|
id: string;
|
|
1473
1457
|
href: string;
|
|
1474
|
-
path: string;
|
|
1475
1458
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1476
1459
|
progressionWeight: number;
|
|
1477
1460
|
pageSpreadLeft: true | undefined;
|
|
@@ -1558,7 +1541,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1558
1541
|
item: {
|
|
1559
1542
|
id: string;
|
|
1560
1543
|
href: string;
|
|
1561
|
-
path: string;
|
|
1562
1544
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1563
1545
|
progressionWeight: number;
|
|
1564
1546
|
pageSpreadLeft: true | undefined;
|
|
@@ -1648,7 +1630,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1648
1630
|
item: {
|
|
1649
1631
|
id: string;
|
|
1650
1632
|
href: string;
|
|
1651
|
-
path: string;
|
|
1652
1633
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1653
1634
|
progressionWeight: number;
|
|
1654
1635
|
pageSpreadLeft: true | undefined;
|
|
@@ -1735,7 +1716,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1735
1716
|
item: {
|
|
1736
1717
|
id: string;
|
|
1737
1718
|
href: string;
|
|
1738
|
-
path: string;
|
|
1739
1719
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1740
1720
|
progressionWeight: number;
|
|
1741
1721
|
pageSpreadLeft: true | undefined;
|
|
@@ -1837,7 +1817,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1837
1817
|
}, item: {
|
|
1838
1818
|
id: string;
|
|
1839
1819
|
href: string;
|
|
1840
|
-
path: string;
|
|
1841
1820
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1842
1821
|
progressionWeight: number;
|
|
1843
1822
|
pageSpreadLeft: true | undefined;
|
|
@@ -1864,7 +1843,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1864
1843
|
item: {
|
|
1865
1844
|
id: string;
|
|
1866
1845
|
href: string;
|
|
1867
|
-
path: string;
|
|
1868
1846
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1869
1847
|
progressionWeight: number;
|
|
1870
1848
|
pageSpreadLeft: true | undefined;
|
|
@@ -1951,7 +1929,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
1951
1929
|
item: {
|
|
1952
1930
|
id: string;
|
|
1953
1931
|
href: string;
|
|
1954
|
-
path: string;
|
|
1955
1932
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
1956
1933
|
progressionWeight: number;
|
|
1957
1934
|
pageSpreadLeft: true | undefined;
|
|
@@ -2038,7 +2015,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2038
2015
|
item: {
|
|
2039
2016
|
id: string;
|
|
2040
2017
|
href: string;
|
|
2041
|
-
path: string;
|
|
2042
2018
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2043
2019
|
progressionWeight: number;
|
|
2044
2020
|
pageSpreadLeft: true | undefined;
|
|
@@ -2125,7 +2101,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2125
2101
|
item: {
|
|
2126
2102
|
id: string;
|
|
2127
2103
|
href: string;
|
|
2128
|
-
path: string;
|
|
2129
2104
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2130
2105
|
progressionWeight: number;
|
|
2131
2106
|
pageSpreadLeft: true | undefined;
|
|
@@ -2212,7 +2187,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2212
2187
|
item: {
|
|
2213
2188
|
id: string;
|
|
2214
2189
|
href: string;
|
|
2215
|
-
path: string;
|
|
2216
2190
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2217
2191
|
progressionWeight: number;
|
|
2218
2192
|
pageSpreadLeft: true | undefined;
|
|
@@ -2299,7 +2273,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2299
2273
|
item: {
|
|
2300
2274
|
id: string;
|
|
2301
2275
|
href: string;
|
|
2302
|
-
path: string;
|
|
2303
2276
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2304
2277
|
progressionWeight: number;
|
|
2305
2278
|
pageSpreadLeft: true | undefined;
|
|
@@ -2389,7 +2362,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2389
2362
|
item: {
|
|
2390
2363
|
id: string;
|
|
2391
2364
|
href: string;
|
|
2392
|
-
path: string;
|
|
2393
2365
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2394
2366
|
progressionWeight: number;
|
|
2395
2367
|
pageSpreadLeft: true | undefined;
|
|
@@ -2476,7 +2448,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2476
2448
|
item: {
|
|
2477
2449
|
id: string;
|
|
2478
2450
|
href: string;
|
|
2479
|
-
path: string;
|
|
2480
2451
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2481
2452
|
progressionWeight: number;
|
|
2482
2453
|
pageSpreadLeft: true | undefined;
|
|
@@ -2566,7 +2537,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2566
2537
|
item: {
|
|
2567
2538
|
id: string;
|
|
2568
2539
|
href: string;
|
|
2569
|
-
path: string;
|
|
2570
2540
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2571
2541
|
progressionWeight: number;
|
|
2572
2542
|
pageSpreadLeft: true | undefined;
|
|
@@ -2653,7 +2623,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2653
2623
|
item: {
|
|
2654
2624
|
id: string;
|
|
2655
2625
|
href: string;
|
|
2656
|
-
path: string;
|
|
2657
2626
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2658
2627
|
progressionWeight: number;
|
|
2659
2628
|
pageSpreadLeft: true | undefined;
|
|
@@ -2744,7 +2713,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2744
2713
|
item: {
|
|
2745
2714
|
id: string;
|
|
2746
2715
|
href: string;
|
|
2747
|
-
path: string;
|
|
2748
2716
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2749
2717
|
progressionWeight: number;
|
|
2750
2718
|
pageSpreadLeft: true | undefined;
|
|
@@ -2831,7 +2799,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2831
2799
|
item: {
|
|
2832
2800
|
id: string;
|
|
2833
2801
|
href: string;
|
|
2834
|
-
path: string;
|
|
2835
2802
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2836
2803
|
progressionWeight: number;
|
|
2837
2804
|
pageSpreadLeft: true | undefined;
|
|
@@ -2917,7 +2884,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
2917
2884
|
item: {
|
|
2918
2885
|
id: string;
|
|
2919
2886
|
href: string;
|
|
2920
|
-
path: string;
|
|
2921
2887
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
2922
2888
|
progressionWeight: number;
|
|
2923
2889
|
pageSpreadLeft: true | undefined;
|
|
@@ -3004,7 +2970,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3004
2970
|
item: {
|
|
3005
2971
|
id: string;
|
|
3006
2972
|
href: string;
|
|
3007
|
-
path: string;
|
|
3008
2973
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3009
2974
|
progressionWeight: number;
|
|
3010
2975
|
pageSpreadLeft: true | undefined;
|
|
@@ -3088,7 +3053,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3088
3053
|
item: {
|
|
3089
3054
|
id: string;
|
|
3090
3055
|
href: string;
|
|
3091
|
-
path: string;
|
|
3092
3056
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3093
3057
|
progressionWeight: number;
|
|
3094
3058
|
pageSpreadLeft: true | undefined;
|
|
@@ -3175,7 +3139,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3175
3139
|
item: {
|
|
3176
3140
|
id: string;
|
|
3177
3141
|
href: string;
|
|
3178
|
-
path: string;
|
|
3179
3142
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3180
3143
|
progressionWeight: number;
|
|
3181
3144
|
pageSpreadLeft: true | undefined;
|
|
@@ -3259,7 +3222,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3259
3222
|
item: {
|
|
3260
3223
|
id: string;
|
|
3261
3224
|
href: string;
|
|
3262
|
-
path: string;
|
|
3263
3225
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3264
3226
|
progressionWeight: number;
|
|
3265
3227
|
pageSpreadLeft: true | undefined;
|
|
@@ -3346,7 +3308,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3346
3308
|
item: {
|
|
3347
3309
|
id: string;
|
|
3348
3310
|
href: string;
|
|
3349
|
-
path: string;
|
|
3350
3311
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3351
3312
|
progressionWeight: number;
|
|
3352
3313
|
pageSpreadLeft: true | undefined;
|
|
@@ -3487,7 +3448,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3487
3448
|
item: {
|
|
3488
3449
|
id: string;
|
|
3489
3450
|
href: string;
|
|
3490
|
-
path: string;
|
|
3491
3451
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3492
3452
|
progressionWeight: number;
|
|
3493
3453
|
pageSpreadLeft: true | undefined;
|
|
@@ -3501,7 +3461,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3501
3461
|
item: {
|
|
3502
3462
|
id: string;
|
|
3503
3463
|
href: string;
|
|
3504
|
-
path: string;
|
|
3505
3464
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3506
3465
|
progressionWeight: number;
|
|
3507
3466
|
pageSpreadLeft: true | undefined;
|
|
@@ -3539,7 +3498,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3539
3498
|
item: {
|
|
3540
3499
|
id: string;
|
|
3541
3500
|
href: string;
|
|
3542
|
-
path: string;
|
|
3543
3501
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3544
3502
|
progressionWeight: number;
|
|
3545
3503
|
pageSpreadLeft: true | undefined;
|
|
@@ -3626,7 +3584,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3626
3584
|
item: {
|
|
3627
3585
|
id: string;
|
|
3628
3586
|
href: string;
|
|
3629
|
-
path: string;
|
|
3630
3587
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3631
3588
|
progressionWeight: number;
|
|
3632
3589
|
pageSpreadLeft: true | undefined;
|
|
@@ -3713,7 +3670,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3713
3670
|
item: {
|
|
3714
3671
|
id: string;
|
|
3715
3672
|
href: string;
|
|
3716
|
-
path: string;
|
|
3717
3673
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3718
3674
|
progressionWeight: number;
|
|
3719
3675
|
pageSpreadLeft: true | undefined;
|
|
@@ -3800,7 +3756,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3800
3756
|
item: {
|
|
3801
3757
|
id: string;
|
|
3802
3758
|
href: string;
|
|
3803
|
-
path: string;
|
|
3804
3759
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3805
3760
|
progressionWeight: number;
|
|
3806
3761
|
pageSpreadLeft: true | undefined;
|
|
@@ -3891,7 +3846,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3891
3846
|
item: {
|
|
3892
3847
|
id: string;
|
|
3893
3848
|
href: string;
|
|
3894
|
-
path: string;
|
|
3895
3849
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3896
3850
|
progressionWeight: number;
|
|
3897
3851
|
pageSpreadLeft: true | undefined;
|
|
@@ -3978,7 +3932,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
3978
3932
|
item: {
|
|
3979
3933
|
id: string;
|
|
3980
3934
|
href: string;
|
|
3981
|
-
path: string;
|
|
3982
3935
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
3983
3936
|
progressionWeight: number;
|
|
3984
3937
|
pageSpreadLeft: true | undefined;
|
|
@@ -4065,7 +4018,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4065
4018
|
item: {
|
|
4066
4019
|
id: string;
|
|
4067
4020
|
href: string;
|
|
4068
|
-
path: string;
|
|
4069
4021
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4070
4022
|
progressionWeight: number;
|
|
4071
4023
|
pageSpreadLeft: true | undefined;
|
|
@@ -4152,7 +4104,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4152
4104
|
item: {
|
|
4153
4105
|
id: string;
|
|
4154
4106
|
href: string;
|
|
4155
|
-
path: string;
|
|
4156
4107
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4157
4108
|
progressionWeight: number;
|
|
4158
4109
|
pageSpreadLeft: true | undefined;
|
|
@@ -4272,7 +4223,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4272
4223
|
item: {
|
|
4273
4224
|
id: string;
|
|
4274
4225
|
href: string;
|
|
4275
|
-
path: string;
|
|
4276
4226
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4277
4227
|
progressionWeight: number;
|
|
4278
4228
|
pageSpreadLeft: true | undefined;
|
|
@@ -4343,7 +4293,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4343
4293
|
item: {
|
|
4344
4294
|
id: string;
|
|
4345
4295
|
href: string;
|
|
4346
|
-
path: string;
|
|
4347
4296
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4348
4297
|
progressionWeight: number;
|
|
4349
4298
|
pageSpreadLeft: true | undefined;
|
|
@@ -4430,7 +4379,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4430
4379
|
item: {
|
|
4431
4380
|
id: string;
|
|
4432
4381
|
href: string;
|
|
4433
|
-
path: string;
|
|
4434
4382
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4435
4383
|
progressionWeight: number;
|
|
4436
4384
|
pageSpreadLeft: true | undefined;
|
|
@@ -4552,7 +4500,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4552
4500
|
item: {
|
|
4553
4501
|
id: string;
|
|
4554
4502
|
href: string;
|
|
4555
|
-
path: string;
|
|
4556
4503
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4557
4504
|
progressionWeight: number;
|
|
4558
4505
|
pageSpreadLeft: true | undefined;
|
|
@@ -4576,7 +4523,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4576
4523
|
item: {
|
|
4577
4524
|
id: string;
|
|
4578
4525
|
href: string;
|
|
4579
|
-
path: string;
|
|
4580
4526
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4581
4527
|
progressionWeight: number;
|
|
4582
4528
|
pageSpreadLeft: true | undefined;
|
|
@@ -4635,7 +4581,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4635
4581
|
item: {
|
|
4636
4582
|
id: string;
|
|
4637
4583
|
href: string;
|
|
4638
|
-
path: string;
|
|
4639
4584
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4640
4585
|
progressionWeight: number;
|
|
4641
4586
|
pageSpreadLeft: true | undefined;
|
|
@@ -4722,7 +4667,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4722
4667
|
item: {
|
|
4723
4668
|
id: string;
|
|
4724
4669
|
href: string;
|
|
4725
|
-
path: string;
|
|
4726
4670
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4727
4671
|
progressionWeight: number;
|
|
4728
4672
|
pageSpreadLeft: true | undefined;
|
|
@@ -4806,7 +4750,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4806
4750
|
item: {
|
|
4807
4751
|
id: string;
|
|
4808
4752
|
href: string;
|
|
4809
|
-
path: string;
|
|
4810
4753
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4811
4754
|
progressionWeight: number;
|
|
4812
4755
|
pageSpreadLeft: true | undefined;
|
|
@@ -4893,7 +4836,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4893
4836
|
item: {
|
|
4894
4837
|
id: string;
|
|
4895
4838
|
href: string;
|
|
4896
|
-
path: string;
|
|
4897
4839
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4898
4840
|
progressionWeight: number;
|
|
4899
4841
|
pageSpreadLeft: true | undefined;
|
|
@@ -4977,7 +4919,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
4977
4919
|
item: {
|
|
4978
4920
|
id: string;
|
|
4979
4921
|
href: string;
|
|
4980
|
-
path: string;
|
|
4981
4922
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
4982
4923
|
progressionWeight: number;
|
|
4983
4924
|
pageSpreadLeft: true | undefined;
|
|
@@ -5064,7 +5005,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5064
5005
|
item: {
|
|
5065
5006
|
id: string;
|
|
5066
5007
|
href: string;
|
|
5067
|
-
path: string;
|
|
5068
5008
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5069
5009
|
progressionWeight: number;
|
|
5070
5010
|
pageSpreadLeft: true | undefined;
|
|
@@ -5154,7 +5094,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5154
5094
|
item: {
|
|
5155
5095
|
id: string;
|
|
5156
5096
|
href: string;
|
|
5157
|
-
path: string;
|
|
5158
5097
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5159
5098
|
progressionWeight: number;
|
|
5160
5099
|
pageSpreadLeft: true | undefined;
|
|
@@ -5241,7 +5180,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5241
5180
|
item: {
|
|
5242
5181
|
id: string;
|
|
5243
5182
|
href: string;
|
|
5244
|
-
path: string;
|
|
5245
5183
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5246
5184
|
progressionWeight: number;
|
|
5247
5185
|
pageSpreadLeft: true | undefined;
|
|
@@ -5343,7 +5281,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5343
5281
|
}, item: {
|
|
5344
5282
|
id: string;
|
|
5345
5283
|
href: string;
|
|
5346
|
-
path: string;
|
|
5347
5284
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5348
5285
|
progressionWeight: number;
|
|
5349
5286
|
pageSpreadLeft: true | undefined;
|
|
@@ -5370,7 +5307,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5370
5307
|
item: {
|
|
5371
5308
|
id: string;
|
|
5372
5309
|
href: string;
|
|
5373
|
-
path: string;
|
|
5374
5310
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5375
5311
|
progressionWeight: number;
|
|
5376
5312
|
pageSpreadLeft: true | undefined;
|
|
@@ -5457,7 +5393,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5457
5393
|
item: {
|
|
5458
5394
|
id: string;
|
|
5459
5395
|
href: string;
|
|
5460
|
-
path: string;
|
|
5461
5396
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5462
5397
|
progressionWeight: number;
|
|
5463
5398
|
pageSpreadLeft: true | undefined;
|
|
@@ -5544,7 +5479,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5544
5479
|
item: {
|
|
5545
5480
|
id: string;
|
|
5546
5481
|
href: string;
|
|
5547
|
-
path: string;
|
|
5548
5482
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5549
5483
|
progressionWeight: number;
|
|
5550
5484
|
pageSpreadLeft: true | undefined;
|
|
@@ -5631,7 +5565,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5631
5565
|
item: {
|
|
5632
5566
|
id: string;
|
|
5633
5567
|
href: string;
|
|
5634
|
-
path: string;
|
|
5635
5568
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5636
5569
|
progressionWeight: number;
|
|
5637
5570
|
pageSpreadLeft: true | undefined;
|
|
@@ -5718,7 +5651,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5718
5651
|
item: {
|
|
5719
5652
|
id: string;
|
|
5720
5653
|
href: string;
|
|
5721
|
-
path: string;
|
|
5722
5654
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5723
5655
|
progressionWeight: number;
|
|
5724
5656
|
pageSpreadLeft: true | undefined;
|
|
@@ -5805,7 +5737,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5805
5737
|
item: {
|
|
5806
5738
|
id: string;
|
|
5807
5739
|
href: string;
|
|
5808
|
-
path: string;
|
|
5809
5740
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5810
5741
|
progressionWeight: number;
|
|
5811
5742
|
pageSpreadLeft: true | undefined;
|
|
@@ -5895,7 +5826,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5895
5826
|
item: {
|
|
5896
5827
|
id: string;
|
|
5897
5828
|
href: string;
|
|
5898
|
-
path: string;
|
|
5899
5829
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5900
5830
|
progressionWeight: number;
|
|
5901
5831
|
pageSpreadLeft: true | undefined;
|
|
@@ -5982,7 +5912,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
5982
5912
|
item: {
|
|
5983
5913
|
id: string;
|
|
5984
5914
|
href: string;
|
|
5985
|
-
path: string;
|
|
5986
5915
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
5987
5916
|
progressionWeight: number;
|
|
5988
5917
|
pageSpreadLeft: true | undefined;
|
|
@@ -6072,7 +6001,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6072
6001
|
item: {
|
|
6073
6002
|
id: string;
|
|
6074
6003
|
href: string;
|
|
6075
|
-
path: string;
|
|
6076
6004
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6077
6005
|
progressionWeight: number;
|
|
6078
6006
|
pageSpreadLeft: true | undefined;
|
|
@@ -6159,7 +6087,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6159
6087
|
item: {
|
|
6160
6088
|
id: string;
|
|
6161
6089
|
href: string;
|
|
6162
|
-
path: string;
|
|
6163
6090
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6164
6091
|
progressionWeight: number;
|
|
6165
6092
|
pageSpreadLeft: true | undefined;
|
|
@@ -6250,7 +6177,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6250
6177
|
item: {
|
|
6251
6178
|
id: string;
|
|
6252
6179
|
href: string;
|
|
6253
|
-
path: string;
|
|
6254
6180
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6255
6181
|
progressionWeight: number;
|
|
6256
6182
|
pageSpreadLeft: true | undefined;
|
|
@@ -6337,7 +6263,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6337
6263
|
item: {
|
|
6338
6264
|
id: string;
|
|
6339
6265
|
href: string;
|
|
6340
|
-
path: string;
|
|
6341
6266
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6342
6267
|
progressionWeight: number;
|
|
6343
6268
|
pageSpreadLeft: true | undefined;
|
|
@@ -6423,7 +6348,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6423
6348
|
item: {
|
|
6424
6349
|
id: string;
|
|
6425
6350
|
href: string;
|
|
6426
|
-
path: string;
|
|
6427
6351
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6428
6352
|
progressionWeight: number;
|
|
6429
6353
|
pageSpreadLeft: true | undefined;
|
|
@@ -6510,7 +6434,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6510
6434
|
item: {
|
|
6511
6435
|
id: string;
|
|
6512
6436
|
href: string;
|
|
6513
|
-
path: string;
|
|
6514
6437
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6515
6438
|
progressionWeight: number;
|
|
6516
6439
|
pageSpreadLeft: true | undefined;
|
|
@@ -6594,7 +6517,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6594
6517
|
item: {
|
|
6595
6518
|
id: string;
|
|
6596
6519
|
href: string;
|
|
6597
|
-
path: string;
|
|
6598
6520
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6599
6521
|
progressionWeight: number;
|
|
6600
6522
|
pageSpreadLeft: true | undefined;
|
|
@@ -6681,7 +6603,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6681
6603
|
item: {
|
|
6682
6604
|
id: string;
|
|
6683
6605
|
href: string;
|
|
6684
|
-
path: string;
|
|
6685
6606
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6686
6607
|
progressionWeight: number;
|
|
6687
6608
|
pageSpreadLeft: true | undefined;
|
|
@@ -6765,7 +6686,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6765
6686
|
item: {
|
|
6766
6687
|
id: string;
|
|
6767
6688
|
href: string;
|
|
6768
|
-
path: string;
|
|
6769
6689
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6770
6690
|
progressionWeight: number;
|
|
6771
6691
|
pageSpreadLeft: true | undefined;
|
|
@@ -6852,7 +6772,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6852
6772
|
item: {
|
|
6853
6773
|
id: string;
|
|
6854
6774
|
href: string;
|
|
6855
|
-
path: string;
|
|
6856
6775
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6857
6776
|
progressionWeight: number;
|
|
6858
6777
|
pageSpreadLeft: true | undefined;
|
|
@@ -6993,7 +6912,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
6993
6912
|
item: {
|
|
6994
6913
|
id: string;
|
|
6995
6914
|
href: string;
|
|
6996
|
-
path: string;
|
|
6997
6915
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
6998
6916
|
progressionWeight: number;
|
|
6999
6917
|
pageSpreadLeft: true | undefined;
|
|
@@ -7007,7 +6925,6 @@ declare const internalEnhancer: import("./enhancers/composeEnhancer").ComposeEnh
|
|
|
7007
6925
|
item: {
|
|
7008
6926
|
id: string;
|
|
7009
6927
|
href: string;
|
|
7010
|
-
path: string;
|
|
7011
6928
|
renditionLayout: "reflowable" | "pre-paginated";
|
|
7012
6929
|
progressionWeight: number;
|
|
7013
6930
|
pageSpreadLeft: true | undefined;
|
package/dist/prose.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BehaviorSubject as q, takeUntil as dn, combineLatest as Ie, map as ft, scheduled as fn, animationFrameScheduler as me, of as J, Subject as H, distinctUntilChanged as gn, switchMap as Ct, from as fe, merge as X, EMPTY as te, fromEvent as Ft, interval as pn, iif as hn, withLatestFrom as mn, take as yn, identity as ke, forkJoin as vn } from "rxjs";
|
|
2
|
-
import { parseContentType as bn,
|
|
2
|
+
import { parseContentType as bn, detectMimeTypeFromName as Sn } from "@prose-reader/shared";
|
|
3
3
|
const wn = !1, Pn = (e) => (t) => {
|
|
4
4
|
const n = e(t);
|
|
5
5
|
return n.manipulateContainer((o) => {
|
|
@@ -1905,7 +1905,7 @@ const ho = (e) => ({ fontScale: t = 1, lineHeight: n = "publisher", fontWeight:
|
|
|
1905
1905
|
}
|
|
1906
1906
|
};
|
|
1907
1907
|
}, Lo = (e, t) => {
|
|
1908
|
-
const {
|
|
1908
|
+
const { href: n } = t;
|
|
1909
1909
|
return en(n, e.nav.toc);
|
|
1910
1910
|
}, en = (e, t) => t.reduce((n, o) => {
|
|
1911
1911
|
const r = o.path.indexOf("#"), i = r > 0 ? o.path.substr(0, r) : o.path;
|
|
@@ -3877,7 +3877,7 @@ const Xe = (e) => {
|
|
|
3877
3877
|
}, Ar = (e) => {
|
|
3878
3878
|
var n;
|
|
3879
3879
|
const t = (n = e.guide) == null ? void 0 : n.find((o) => o.type === "cover");
|
|
3880
|
-
return e.spineItems.findIndex((o) => t
|
|
3880
|
+
return e.spineItems.findIndex((o) => t != null && t.href ? o.href.endsWith(t.href) : !1);
|
|
3881
3881
|
}, Nr = "spineItemManager", Or = ({ context: e }) => {
|
|
3882
3882
|
const t = new H(), n = new H();
|
|
3883
3883
|
let o = [];
|