bookcover-web 0.13.0 → 0.15.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/README.md +6 -0
- package/dist/embed_types.d.ts +90 -1
- package/dist/embed_types.js +5 -1
- package/dist/index.d.ts +1 -1
- package/dist/patterns_svg.d.ts +2 -0
- package/dist/patterns_svg.js +5 -0
- package/package.json +17 -4
- package/dist/embed_types.d.ts.map +0 -1
- package/dist/embed_types.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -38,6 +38,12 @@ version — no setup needed). Generating still fetches three kinds of assets at
|
|
|
38
38
|
which ship inside the npm packages: the WASM binaries, frame images (`frames/`), and the fonts
|
|
39
39
|
tree. The easiest setup is the hosted tree at `https://assets.paper.bible/` (CORS enabled):
|
|
40
40
|
|
|
41
|
+
> The `typst/` WASM binaries are stored Brotli-compressed and served with
|
|
42
|
+
> `Content-Encoding: br` to every client, with no content negotiation — the compiler is 27 MB
|
|
43
|
+
> raw and 6.9 MB compressed, so this is not optional. Browsers handle it transparently. If you
|
|
44
|
+
> fetch these from a non-browser client, make sure it decodes `br` (`curl` needs `--compressed`,
|
|
45
|
+
> or it will write the compressed bytes to disk).
|
|
46
|
+
|
|
41
47
|
```ts
|
|
42
48
|
// Match the wasm version to your installed @myriaddreamin/typst-ts-web-compiler version
|
|
43
49
|
const typst_version = '0.7.0'
|
package/dist/embed_types.d.ts
CHANGED
|
@@ -3,22 +3,101 @@ import type { CustomFont } from 'typst-fonts';
|
|
|
3
3
|
/** Locales the widget UI supports. Lives in this published package, so adding a widget
|
|
4
4
|
* locale requires a bookcover-web release. */
|
|
5
5
|
export type AppLocale = 'eng' | 'vie';
|
|
6
|
+
/** One candidate background the host offers alongside the widget's own built-ins — typically an
|
|
7
|
+
* image the user already used on another of their covers, which the widget would otherwise make
|
|
8
|
+
* them find on disk and upload again.
|
|
9
|
+
*
|
|
10
|
+
* The widget knows nothing about these images beyond what is in this object. It renders `url`
|
|
11
|
+
* as a thumbnail, and when the user picks one it asks the host for the bytes
|
|
12
|
+
* ('bg_suggestion_selected' -> 'bg_suggestion_resolved'), so the host never has to download a
|
|
13
|
+
* candidate the user never looks at and only the host ever touches host storage.
|
|
14
|
+
*
|
|
15
|
+
* `id` is an OPAQUE HOST TOKEN. The widget echoes it back verbatim, never parses it, never
|
|
16
|
+
* stores it in the form record, and never puts it anywhere near `bg_image_builtin` — that field
|
|
17
|
+
* names a shipped background and is allowlisted by hosts, so a host id leaking into it would
|
|
18
|
+
* collide. A resolved suggestion is adopted through the UPLOAD path: it reports
|
|
19
|
+
* `bg_image_builtin: null` and gets no published region metadata, exactly like a user upload.
|
|
20
|
+
*
|
|
21
|
+
* `url` is UNTRUSTED and is an image source only. The widget sets it as an <img src> (with
|
|
22
|
+
* referrerpolicy="no-referrer") and nothing else — it is never fetched as data, never resolved
|
|
23
|
+
* against widget-internal paths, and never assumed same-origin. It needs no CORS headers.
|
|
24
|
+
*
|
|
25
|
+
* A HOST MUST NOT SUGGEST AN IMAGE WHOSE PROVENANCE WAS A BUILT-IN. Those are already in the
|
|
26
|
+
* picker, and routing one through here would convert the host's stored reference to a shipped
|
|
27
|
+
* image into a private copy of its bytes — the exact thing `bg_image_builtin` exists to avoid.
|
|
28
|
+
*
|
|
29
|
+
* `label` is display text (the other book's name, say), used as the tile's alt/title. The host
|
|
30
|
+
* supplies it already localised. */
|
|
31
|
+
export interface BgSuggestion {
|
|
32
|
+
id: string;
|
|
33
|
+
url: string;
|
|
34
|
+
label?: string;
|
|
35
|
+
}
|
|
6
36
|
/** Host -> widget, answered to the widget's 'ready' message */
|
|
7
37
|
export interface InitMessage {
|
|
8
38
|
type: 'init';
|
|
9
39
|
preset?: Partial<EmbedFormState>;
|
|
10
40
|
bg_image?: File | null;
|
|
11
41
|
bg_image_builtin?: string | null;
|
|
42
|
+
/** Font families to make available in the editor's font pickers.
|
|
43
|
+
*
|
|
44
|
+
* AVAILABLE IS NOT APPLIED. These land in the widget's custom-font store, which is what
|
|
45
|
+
* the pickers offer — putting a family here does not put it on the cover, and the store
|
|
46
|
+
* is returned wholesale on every data/finished message (see WidgetMessage). So a host
|
|
47
|
+
* that seeds families the user never picks gets them all back, indistinguishable from
|
|
48
|
+
* ones the user chose.
|
|
49
|
+
*
|
|
50
|
+
* Hosts normally send exactly the families they already hold for this cover, and then
|
|
51
|
+
* there is nothing to think about. A HOST THAT SEEDS EXTRA FAMILIES — offering fonts from
|
|
52
|
+
* the user's other work, say — MUST REMEMBER WHICH ONES IT SEEDED, and must not persist a
|
|
53
|
+
* seeded family that comes back unused. Families the host already owned and families the
|
|
54
|
+
* user uploaded inside the widget are always kept: a host's font library can legitimately
|
|
55
|
+
* hold families this cover doesn't use, so pruning by cover usage alone would delete
|
|
56
|
+
* them.
|
|
57
|
+
*
|
|
58
|
+
* Which families the cover actually applies is font_families_in_form(form) from
|
|
59
|
+
* bookcover-core — it reads the eight *_font fields straight off the returned form, with
|
|
60
|
+
* no schema build.
|
|
61
|
+
*
|
|
62
|
+
* Bytes are expensive to clone and a single CJK family can run to tens of megabytes, so
|
|
63
|
+
* everything here is fetched and cloned before the editor can open. Seeding speculatively
|
|
64
|
+
* is paid for on the critical path. */
|
|
12
65
|
custom_fonts?: CustomFont[];
|
|
13
66
|
finished_mode?: boolean;
|
|
14
67
|
hide_size_section?: boolean;
|
|
68
|
+
bg_suggestions?: BgSuggestion[];
|
|
15
69
|
locale?: AppLocale;
|
|
16
70
|
}
|
|
71
|
+
/** Host -> widget. InitMessage is the first and must arrive before any other; later messages are
|
|
72
|
+
* only accepted from the same origin that sent it.
|
|
73
|
+
*
|
|
74
|
+
* 'bg_suggestion_resolved' answers a 'bg_suggestion_selected' by handing over that image's
|
|
75
|
+
* bytes. It is a RESPONSE, not a general "set the background" command — the widget tracks a
|
|
76
|
+
* single pending id and DROPS any resolution whose `id` isn't it, so a slow answer can never
|
|
77
|
+
* overwrite a later choice. Clicking a second tile supersedes the first.
|
|
78
|
+
*
|
|
79
|
+
* `bg_image: null` means THAT RESOLUTION FAILED. The widget clears the tile's pending state and
|
|
80
|
+
* shows a quiet inline error, leaving the current background untouched; it never means "clear
|
|
81
|
+
* the background". A host that never answers is treated the same way after a short timeout, so
|
|
82
|
+
* not answering is a safe way to decline. */
|
|
83
|
+
export type HostMessage = InitMessage | {
|
|
84
|
+
type: 'bg_suggestion_resolved';
|
|
85
|
+
id: string;
|
|
86
|
+
bg_image: File | null;
|
|
87
|
+
};
|
|
17
88
|
/** Widget -> host. `bg_image` rides on every data/finished message (cloning a File is cheap);
|
|
18
89
|
* `custom_fonts` byte arrays are expensive to clone, so on 'data' messages the field is only
|
|
19
90
|
* present when the font set changed since the last message (absent = unchanged), while
|
|
20
91
|
* 'finished' always carries the complete array.
|
|
21
92
|
*
|
|
93
|
+
* `custom_fonts` is the editor's whole custom-font store — every family the pickers were
|
|
94
|
+
* OFFERING, not the families the cover APPLIES. It contains what the host seeded via
|
|
95
|
+
* InitMessage plus anything the user uploaded during the session, whether or not any of it
|
|
96
|
+
* ended up on the cover. A host that only ever seeds families it already holds can store the
|
|
97
|
+
* array as-is; one that seeds extra families has to drop the unused seeded ones itself (see
|
|
98
|
+
* InitMessage.custom_fonts for the rule, and font_families_in_form in bookcover-core for the
|
|
99
|
+
* applied set).
|
|
100
|
+
*
|
|
22
101
|
* `bg_image_builtin` is ADVISORY background identity, so a host doesn't have to recover it by
|
|
23
102
|
* hashing returned bytes: when the user picks one of the widget's built-in backgrounds it
|
|
24
103
|
* carries that image's published filename, and it is null for a user upload or no image at all.
|
|
@@ -27,7 +106,14 @@ export interface InitMessage {
|
|
|
27
106
|
* BACKGROUNDS in the widget's services/backgrounds.ts). It exists purely so the host can store a
|
|
28
107
|
* reference instead of a private copy of a shipped image. Treat it as untrusted input — map it
|
|
29
108
|
* to a built-in only after checking it against your own allowlist, and fall back to the upload
|
|
30
|
-
* path otherwise. Nothing in bookcover ever resolves bytes from this field.
|
|
109
|
+
* path otherwise. Nothing in bookcover ever resolves bytes from this field.
|
|
110
|
+
*
|
|
111
|
+
* The `bg_image` File is the one the host supplied, byte-for-byte — see the round-trip
|
|
112
|
+
* guarantee at the top of this file.
|
|
113
|
+
*
|
|
114
|
+
* 'bg_suggestion_selected' asks the host for the bytes behind one of the BgSuggestions it sent
|
|
115
|
+
* in InitMessage, carrying that suggestion's id verbatim. The host answers with
|
|
116
|
+
* 'bg_suggestion_resolved'. */
|
|
31
117
|
export type WidgetMessage = {
|
|
32
118
|
type: 'ready';
|
|
33
119
|
} | {
|
|
@@ -44,5 +130,8 @@ export type WidgetMessage = {
|
|
|
44
130
|
custom_fonts: CustomFont[];
|
|
45
131
|
} | {
|
|
46
132
|
type: 'cancelled';
|
|
133
|
+
} | {
|
|
134
|
+
type: 'bg_suggestion_selected';
|
|
135
|
+
id: string;
|
|
47
136
|
};
|
|
48
137
|
//# sourceMappingURL=embed_types.d.ts.map
|
package/dist/embed_types.js
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
// Protocol types for embedding the cover-editor widget in an iframe. The host sends one
|
|
2
2
|
// InitMessage in reply to the widget's 'ready' message; the widget reports edits back with
|
|
3
|
-
// WidgetMessage.
|
|
3
|
+
// WidgetMessage, and may send further HostMessages afterwards.
|
|
4
4
|
//
|
|
5
5
|
// Binaries are never part of the stored record. The background image and custom font bytes
|
|
6
6
|
// travel as separate structured-clone fields beside the pure-JSON form values, so hosts persist
|
|
7
7
|
// `data` as-is (e.g. to Firestore) and own the storage and identity of the binaries themselves.
|
|
8
8
|
// Messages carry no derived schema: hosts call build_schema(form) from bookcover-core, so there
|
|
9
9
|
// is exactly one place that form → schema conversion happens.
|
|
10
|
+
//
|
|
11
|
+
// BACKGROUND IMAGE BYTES ROUND-TRIP UNMODIFIED. Whatever File the host hands in comes back out
|
|
12
|
+
// byte-for-byte — never re-encoded, resized or stripped of metadata — so a host can hash the
|
|
13
|
+
// bytes to recognise an image it already stores. See FormState.bg_image in bookcover-core.
|
|
10
14
|
export {};
|
|
11
15
|
//# sourceMappingURL=embed_types.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { make_blank_form_values, build_schema, curly_quotes, parse_font_family,
|
|
|
11
11
|
export type { FormState, EmbedFormState, CustomFontStyle, DerivedColors } from 'bookcover-core';
|
|
12
12
|
export { resolve_dimensions } from 'bookcover-core';
|
|
13
13
|
export type { GetDimensionsResult, DimensionInputs } from 'bookcover-core';
|
|
14
|
-
export type { InitMessage, WidgetMessage, AppLocale } from './embed_types.js';
|
|
14
|
+
export type { InitMessage, HostMessage, WidgetMessage, BgSuggestion, AppLocale } from './embed_types.js';
|
|
15
15
|
export interface InitOptions {
|
|
16
16
|
wasm_url: string;
|
|
17
17
|
renderer_wasm_url?: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// Pattern SVG payload, re-exported on its own subpath ('bookcover-web/patterns-svg').
|
|
2
|
+
// Kept out of the main index so importing the barrel never pulls ~220KB of SVG strings in —
|
|
3
|
+
// only the pattern picker needs these, and it loads them on demand. See generator/src/patterns.ts
|
|
4
|
+
export { PATTERN_SVGS, find_pattern_svg } from 'bookcover-core/patterns-svg';
|
|
5
|
+
//# sourceMappingURL=patterns_svg.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bookcover-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"license": "MIT-0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,8 +12,20 @@
|
|
|
12
12
|
"type": "module",
|
|
13
13
|
"main": "dist/index.js",
|
|
14
14
|
"types": "dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./patterns-svg": {
|
|
21
|
+
"types": "./dist/patterns_svg.d.ts",
|
|
22
|
+
"default": "./dist/patterns_svg.js"
|
|
23
|
+
},
|
|
24
|
+
"./package.json": "./package.json"
|
|
25
|
+
},
|
|
15
26
|
"files": [
|
|
16
|
-
"dist/"
|
|
27
|
+
"dist/",
|
|
28
|
+
"!dist/**/*.map"
|
|
17
29
|
],
|
|
18
30
|
"scripts": {
|
|
19
31
|
"build": "tsc",
|
|
@@ -23,7 +35,8 @@
|
|
|
23
35
|
"@myriaddreamin/typst-ts-renderer": "0.7.0",
|
|
24
36
|
"@myriaddreamin/typst-ts-web-compiler": "0.7.0",
|
|
25
37
|
"@myriaddreamin/typst.ts": "0.7.0",
|
|
26
|
-
"bookcover-core": "^0.
|
|
38
|
+
"bookcover-core": "^0.15.0",
|
|
27
39
|
"typst-fonts": "^0.1.0"
|
|
28
|
-
}
|
|
40
|
+
},
|
|
41
|
+
"sideEffects": false
|
|
29
42
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"embed_types.d.ts","sourceRoot":"","sources":["../src/embed_types.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,gBAAgB,CAAA;AAClD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,aAAa,CAAA;AAE3C;+CAC+C;AAC/C,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,KAAK,CAAA;AAErC,+DAA+D;AAC/D,MAAM,WAAW,WAAW;IACxB,IAAI,EAAE,MAAM,CAAA;IAEZ,MAAM,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC,CAAA;IAEhC,QAAQ,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAItB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAEhC,YAAY,CAAC,EAAE,UAAU,EAAE,CAAA;IAE3B,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,MAAM,CAAC,EAAE,SAAS,CAAA;CACrB;AAED;;;;;;;;;;;;;gFAagF;AAChF,MAAM,MAAM,aAAa,GACnB;IAAC,IAAI,EAAE,OAAO,CAAA;CAAC,GACf;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,cAAc,CAAC;IAAC,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACzD,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,YAAY,CAAC,EAAE,UAAU,EAAE,CAAA;CAAC,GAC/D;IAAC,IAAI,EAAE,UAAU,CAAC;IAAC,IAAI,EAAE,cAAc,CAAC;IAAC,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7D,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,YAAY,EAAE,UAAU,EAAE,CAAA;CAAC,GAC9D;IAAC,IAAI,EAAE,WAAW,CAAA;CAAC,CAAA"}
|
package/dist/embed_types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"embed_types.js","sourceRoot":"","sources":["../src/embed_types.ts"],"names":[],"mappings":"AACA,wFAAwF;AACxF,2FAA2F;AAC3F,iBAAiB;AACjB,EAAE;AACF,2FAA2F;AAC3F,gGAAgG;AAChG,gGAAgG;AAChG,gGAAgG;AAChG,8DAA8D"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAA;AAInE,OAAO,KAAK,EAAC,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,mBAAmB,EAAC,MAAM,gBAAgB,CAAA;AAKhG,YAAY,EAAC,WAAW,EAAE,aAAa,EAAE,UAAU,EAC/C,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,mBAAmB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAA;AACpG,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