@graview/guest 0.1.28 → 0.1.29
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 +3 -2
- package/client.js +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +2 -1
- package/dist/cli.js.map +1 -1
- package/dist/client.generated.js +2 -2
- package/dist/headless/index.d.ts.map +1 -1
- package/dist/headless/index.js +4 -1
- package/dist/headless/index.js.map +1 -1
- package/dist/host/arrive.d.ts +6 -0
- package/dist/host/arrive.d.ts.map +1 -1
- package/dist/host/arrive.js +6 -0
- package/dist/host/arrive.js.map +1 -1
- package/dist/host/frame.d.ts +15 -0
- package/dist/host/frame.d.ts.map +1 -1
- package/dist/host/frame.js +41 -1
- package/dist/host/frame.js.map +1 -1
- package/dist/host/index.d.ts +2 -5
- package/dist/host/index.d.ts.map +1 -1
- package/dist/host/index.js +0 -9
- package/dist/host/index.js.map +1 -1
- package/dist/host/links.js +1 -1
- package/dist/host/links.js.map +1 -1
- package/dist/host/manifest.d.ts +11 -0
- package/dist/host/manifest.d.ts.map +1 -1
- package/dist/host/manifest.js +17 -1
- package/dist/host/manifest.js.map +1 -1
- package/dist/host/pictures.d.ts +59 -0
- package/dist/host/pictures.d.ts.map +1 -0
- package/dist/host/pictures.js +230 -0
- package/dist/host/pictures.js.map +1 -0
- package/dist/host/react.d.ts +3 -0
- package/dist/host/react.d.ts.map +1 -1
- package/dist/host/react.js +29 -18
- package/dist/host/react.js.map +1 -1
- package/dist/host/session.d.ts +4 -1
- package/dist/host/session.d.ts.map +1 -1
- package/dist/host/session.js +2 -1
- package/dist/host/session.js.map +1 -1
- package/dist/host/view-runtime.generated.js +1 -1
- package/dist/host/view.d.ts.map +1 -1
- package/dist/host/view.js +37 -3
- package/dist/host/view.js.map +1 -1
- package/dist/host/views.d.ts +2 -1
- package/dist/host/views.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/protocol.d.ts +39 -0
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js +6 -0
- package/dist/protocol.js.map +1 -1
- package/package.json +7 -3
package/dist/protocol.d.ts
CHANGED
|
@@ -37,6 +37,12 @@
|
|
|
37
37
|
* host → guest { type: "dom-event", target, event, … } (over the port: the viewer clicked, typed or chose on what it drew)
|
|
38
38
|
* host → guest { type: "notice", text } (over the port: something it did went nowhere, and why, for its console)
|
|
39
39
|
*
|
|
40
|
+
* A GUEST THAT ASKS FOR PICTURES (FR-175) — a worker view's manifest or a
|
|
41
|
+
* frame's host saying `pictures` — is handed each file on a record it is
|
|
42
|
+
* handed as a `GuestFile`, in the record's field, where the record keeps a
|
|
43
|
+
* path on the host: nothing new is said on the wire, and a guest that does
|
|
44
|
+
* not ask is handed what it always was.
|
|
45
|
+
*
|
|
40
46
|
* The host draws a stylesheet only as the open kit allows (host/css.ts),
|
|
41
47
|
* and numbers each props push (`push`) so the runtime can say when it has
|
|
42
48
|
* drawn it.
|
|
@@ -123,6 +129,39 @@ export interface GuestTheme {
|
|
|
123
129
|
*/
|
|
124
130
|
readonly logo?: string;
|
|
125
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* A FILE ON A RECORD, AS A GUEST THAT ASKED FOR PICTURES IS HANDED IT
|
|
134
|
+
* (FR-175). Where the record keeps a file (`FileValue`, FR-162), a guest
|
|
135
|
+
* that declared `pictures` is handed this in its place, never the host's
|
|
136
|
+
* path to it: a sandboxed frame or a worker cannot load that path with the
|
|
137
|
+
* reader's credentials, and should not learn it.
|
|
138
|
+
*
|
|
139
|
+
* A picture (`image/*`, not SVG) carries `src`, an address for
|
|
140
|
+
* `<img src>` the host made from the bytes it fetched as the reader: a
|
|
141
|
+
* `blob:` URL of the host's page for a worker view, a `data:` image for a
|
|
142
|
+
* frame, as the brand's logo is (FR-127). It is absent while the host is
|
|
143
|
+
* making it (the guest is pushed again when it has), and where the picture
|
|
144
|
+
* was left out — past the view's budget, past one picture's, or not
|
|
145
|
+
* loaded — `left` says why. A document, and an SVG, is its name, type and
|
|
146
|
+
* size alone.
|
|
147
|
+
*/
|
|
148
|
+
export interface GuestFile {
|
|
149
|
+
/** What it was called when it was put on the record: `porch.jpg`. */
|
|
150
|
+
readonly name: string;
|
|
151
|
+
/** Its media type, as the record keeps it. */
|
|
152
|
+
readonly type: string;
|
|
153
|
+
/** Its size in bytes, as the record keeps it. */
|
|
154
|
+
readonly bytes: number;
|
|
155
|
+
/** A picture's size in pixels, where the record says it. */
|
|
156
|
+
readonly width?: number;
|
|
157
|
+
readonly height?: number;
|
|
158
|
+
/** What a picture shows, in words: its alt text. */
|
|
159
|
+
readonly caption?: string;
|
|
160
|
+
/** A picture's address for `<img src>`, made by the host from the bytes. Smaller than the file where the view needs no more. */
|
|
161
|
+
readonly src?: string;
|
|
162
|
+
/** Why a picture was left out, in a sentence that names the view. */
|
|
163
|
+
readonly left?: string;
|
|
164
|
+
}
|
|
126
165
|
/**
|
|
127
166
|
* WHAT A GUEST VIEW IS HANDED: the plain-data half of `ViewProps`, read
|
|
128
167
|
* from the store as the viewer sees it. A record the viewer may not see is
|
package/dist/protocol.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"protocol.d.ts","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AAEH,gFAAgF;AAChF,eAAO,MAAM,cAAc,IAAI,CAAC;AAEhC,gFAAgF;AAChF,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAE7C,2EAA2E;AAC3E,eAAO,MAAM,aAAa,SAAS,CAAC;AAEpC;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAA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7E;IAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CAAE;AAC5E,4GAA4G;GAC1G;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,OAAO,EAAE,CAAA;CAAE;AAC3F,uEAAuE;GACrE;IAAE,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;CAAE;AAC/E,gGAAgG;GAC9F;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;CAAE;AAC1E,iGAAiG;GAC/F;IAAE,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC;AAEpG,8DAA8D;AAC9D,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,UAAU,CAE9D;AAED,oDAAoD;AACpD,wBAAgB,WAAW,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,SAAS,CAG5D"}
|
package/dist/protocol.js
CHANGED
|
@@ -37,6 +37,12 @@
|
|
|
37
37
|
* host → guest { type: "dom-event", target, event, … } (over the port: the viewer clicked, typed or chose on what it drew)
|
|
38
38
|
* host → guest { type: "notice", text } (over the port: something it did went nowhere, and why, for its console)
|
|
39
39
|
*
|
|
40
|
+
* A GUEST THAT ASKS FOR PICTURES (FR-175) — a worker view's manifest or a
|
|
41
|
+
* frame's host saying `pictures` — is handed each file on a record it is
|
|
42
|
+
* handed as a `GuestFile`, in the record's field, where the record keeps a
|
|
43
|
+
* path on the host: nothing new is said on the wire, and a guest that does
|
|
44
|
+
* not ask is handed what it always was.
|
|
45
|
+
*
|
|
40
46
|
* The host draws a stylesheet only as the open kit allows (host/css.ts),
|
|
41
47
|
* and numbers each props push (`push`) so the runtime can say when it has
|
|
42
48
|
* drawn it.
|
package/dist/protocol.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../src/protocol.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AAEH,gFAAgF;AAChF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC;AAEhC,gFAAgF;AAChF,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC;AAE7C,2EAA2E;AAC3E,MAAM,CAAC,MAAM,aAAa,GAAG,MAAM,CAAC;AAwPpC,8DAA8D;AAC9D,MAAM,UAAU,YAAY,CAAC,IAAa;IACxC,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAK,IAAmB,CAAC,OAAO,KAAK,aAAa,CAAC;AACrG,CAAC;AAED,oDAAoD;AACpD,MAAM,UAAU,WAAW,CAAC,IAAa;IACvC,MAAM,KAAK,GAAG,IAAiB,CAAC;IAChC,OAAO,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,KAAK,YAAY,IAAI,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ,CAAC;AACxH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graview/guest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Guest views: somebody else's React or plain script in a sandboxed frame, or a hardened classic worker drawing a component kit, shown only what the viewer may see, able only to ask for acts the viewer's seat then applies.",
|
|
6
6
|
"keywords": [
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
"types": "./dist/host/index.d.ts",
|
|
30
30
|
"default": "./dist/host/index.js"
|
|
31
31
|
},
|
|
32
|
+
"./host/frame": {
|
|
33
|
+
"types": "./dist/host/frame.d.ts",
|
|
34
|
+
"default": "./dist/host/frame.js"
|
|
35
|
+
},
|
|
32
36
|
"./host/worker": {
|
|
33
37
|
"types": "./dist/host/worker.d.ts",
|
|
34
38
|
"default": "./dist/host/worker.js"
|
|
@@ -70,8 +74,8 @@
|
|
|
70
74
|
"dependencies": {
|
|
71
75
|
"@remote-dom/core": "1.12.0",
|
|
72
76
|
"@remote-dom/polyfill": "1.6.0",
|
|
73
|
-
"@graview/
|
|
74
|
-
"@graview/
|
|
77
|
+
"@graview/core": "0.1.29",
|
|
78
|
+
"@graview/react": "0.1.29"
|
|
75
79
|
},
|
|
76
80
|
"peerDependencies": {
|
|
77
81
|
"react": ">=18",
|