@g9tm/lynxcontrols-studio 0.0.0-stage → 2.8.1
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 +184 -2
- package/catalog/cards/G9NleTimeline.md +17 -0
- package/catalog/cards/G9Surface.md +16 -0
- package/catalog/cards/G9TransformBox.md +17 -0
- package/catalog/catalog.json +2255 -0
- package/catalog/index.md +7 -0
- package/dist/.tsbuildinfo +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.jsx +3 -0
- package/dist/nle-timeline/core.d.ts +5 -0
- package/dist/nle-timeline/core.d.ts.map +1 -0
- package/dist/nle-timeline/core.js +4 -0
- package/dist/nle-timeline/core.jsx +4 -0
- package/dist/nle-timeline/edits.d.ts +65 -0
- package/dist/nle-timeline/edits.d.ts.map +1 -0
- package/dist/nle-timeline/edits.js +344 -0
- package/dist/nle-timeline/edits.js.map +1 -0
- package/dist/nle-timeline/edits.jsx +342 -0
- package/dist/nle-timeline/engine.d.ts +159 -0
- package/dist/nle-timeline/engine.d.ts.map +1 -0
- package/dist/nle-timeline/engine.js +899 -0
- package/dist/nle-timeline/engine.js.map +1 -0
- package/dist/nle-timeline/engine.jsx +897 -0
- package/dist/nle-timeline/index.d.ts +6 -0
- package/dist/nle-timeline/index.d.ts.map +1 -0
- package/dist/nle-timeline/index.jsx +5 -0
- package/dist/nle-timeline/layout.d.ts +116 -0
- package/dist/nle-timeline/layout.d.ts.map +1 -0
- package/dist/nle-timeline/layout.js +310 -0
- package/dist/nle-timeline/layout.js.map +1 -0
- package/dist/nle-timeline/layout.jsx +308 -0
- package/dist/nle-timeline/model.d.ts +140 -0
- package/dist/nle-timeline/model.d.ts.map +1 -0
- package/dist/nle-timeline/model.js +155 -0
- package/dist/nle-timeline/model.js.map +1 -0
- package/dist/nle-timeline/model.jsx +153 -0
- package/dist/nle-timeline/nle.d.ts +72 -0
- package/dist/nle-timeline/nle.d.ts.map +1 -0
- package/dist/nle-timeline/nle.jsx +92 -0
- package/dist/surface/core.d.ts +2 -0
- package/dist/surface/core.d.ts.map +1 -0
- package/dist/surface/core.js +1 -0
- package/dist/surface/core.jsx +1 -0
- package/dist/surface/index.d.ts +3 -0
- package/dist/surface/index.d.ts.map +1 -0
- package/dist/surface/index.jsx +2 -0
- package/dist/surface/protocol.d.ts +40 -0
- package/dist/surface/protocol.d.ts.map +1 -0
- package/dist/surface/protocol.js +19 -0
- package/dist/surface/protocol.js.map +1 -0
- package/dist/surface/protocol.jsx +17 -0
- package/dist/surface/surface.d.ts +53 -0
- package/dist/surface/surface.d.ts.map +1 -0
- package/dist/surface/surface.jsx +62 -0
- package/dist/transform-box/core.d.ts +3 -0
- package/dist/transform-box/core.d.ts.map +1 -0
- package/dist/transform-box/core.js +2 -0
- package/dist/transform-box/core.jsx +2 -0
- package/dist/transform-box/engine.d.ts +152 -0
- package/dist/transform-box/engine.d.ts.map +1 -0
- package/dist/transform-box/engine.js +636 -0
- package/dist/transform-box/engine.js.map +1 -0
- package/dist/transform-box/engine.jsx +634 -0
- package/dist/transform-box/geometry.d.ts +129 -0
- package/dist/transform-box/geometry.d.ts.map +1 -0
- package/dist/transform-box/geometry.js +506 -0
- package/dist/transform-box/geometry.js.map +1 -0
- package/dist/transform-box/geometry.jsx +504 -0
- package/dist/transform-box/index.d.ts +4 -0
- package/dist/transform-box/index.d.ts.map +1 -0
- package/dist/transform-box/index.jsx +3 -0
- package/dist/transform-box/transform-box.d.ts +65 -0
- package/dist/transform-box/transform-box.d.ts.map +1 -0
- package/dist/transform-box/transform-box.jsx +104 -0
- package/package.json +56 -4
|
@@ -0,0 +1,2255 @@
|
|
|
1
|
+
{
|
|
2
|
+
"catalogVersion": 1,
|
|
3
|
+
"package": "@g9tm/lynxcontrols-studio",
|
|
4
|
+
"version": "2.8.1",
|
|
5
|
+
"generatedBy": "node scripts/check-docs.mjs --write",
|
|
6
|
+
"components": [
|
|
7
|
+
{
|
|
8
|
+
"id": "studio.nle-timeline.G9NleTimeline",
|
|
9
|
+
"export": "G9NleTimeline",
|
|
10
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
11
|
+
"kind": "component",
|
|
12
|
+
"family": "nle-timeline",
|
|
13
|
+
"summary": "The editing timeline.",
|
|
14
|
+
"since": null,
|
|
15
|
+
"props": [
|
|
16
|
+
{
|
|
17
|
+
"name": "className",
|
|
18
|
+
"type": {
|
|
19
|
+
"kind": "string"
|
|
20
|
+
},
|
|
21
|
+
"required": false,
|
|
22
|
+
"serializable": true,
|
|
23
|
+
"role": "appearance"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "direction",
|
|
27
|
+
"type": {
|
|
28
|
+
"kind": "enum",
|
|
29
|
+
"values": [
|
|
30
|
+
"ltr",
|
|
31
|
+
"rtl"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"required": false,
|
|
35
|
+
"serializable": true,
|
|
36
|
+
"role": "behaviour",
|
|
37
|
+
"doc": "Lane heads' side: `rtl` puts them on the right. Time always runs left to right."
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "editable",
|
|
41
|
+
"type": {
|
|
42
|
+
"kind": "boolean"
|
|
43
|
+
},
|
|
44
|
+
"required": false,
|
|
45
|
+
"default": true,
|
|
46
|
+
"serializable": true,
|
|
47
|
+
"role": "behaviour",
|
|
48
|
+
"doc": "False: look and scrub only. Default true."
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "heads",
|
|
52
|
+
"type": {
|
|
53
|
+
"kind": "boolean"
|
|
54
|
+
},
|
|
55
|
+
"required": false,
|
|
56
|
+
"default": true,
|
|
57
|
+
"serializable": true,
|
|
58
|
+
"role": "behaviour",
|
|
59
|
+
"doc": "Show the lane heads' column. Default true."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "id",
|
|
63
|
+
"type": {
|
|
64
|
+
"kind": "string"
|
|
65
|
+
},
|
|
66
|
+
"required": false,
|
|
67
|
+
"serializable": true,
|
|
68
|
+
"role": "identity",
|
|
69
|
+
"doc": "Logical id; the element carries its safe form (tests find `#id`)."
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "onAdd",
|
|
73
|
+
"type": {
|
|
74
|
+
"kind": "event",
|
|
75
|
+
"payload": "detail: { lane: string; time: number; via: NleVia; }"
|
|
76
|
+
},
|
|
77
|
+
"required": false,
|
|
78
|
+
"serializable": false,
|
|
79
|
+
"role": "event"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "onCommand",
|
|
83
|
+
"type": {
|
|
84
|
+
"kind": "event",
|
|
85
|
+
"payload": "detail: { name: \"marker\" | \"undo\" | \"redo\" | \"duplicate\" | \"copy\" | \"paste\" | \"escape\"; time: number; }"
|
|
86
|
+
},
|
|
87
|
+
"required": false,
|
|
88
|
+
"serializable": false,
|
|
89
|
+
"role": "event"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "onEdit",
|
|
93
|
+
"type": {
|
|
94
|
+
"kind": "event",
|
|
95
|
+
"payload": "detail: { op: \"split\" | \"trim\" | \"delete\" | \"keys\" | \"move\"; via: NleVia; changes?: NleClipChange[]; keys?: { id: string; time: number; }[]; splits?: { id: string; time: number; }[]; ids?: string[]; ripple?: boolean; }"
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"serializable": false,
|
|
99
|
+
"role": "event"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "onOpen",
|
|
103
|
+
"type": {
|
|
104
|
+
"kind": "event",
|
|
105
|
+
"payload": "detail: { id: string; }"
|
|
106
|
+
},
|
|
107
|
+
"required": false,
|
|
108
|
+
"serializable": false,
|
|
109
|
+
"role": "event"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "onRange",
|
|
113
|
+
"type": {
|
|
114
|
+
"kind": "event",
|
|
115
|
+
"payload": "detail: { range: NleRange | null; }"
|
|
116
|
+
},
|
|
117
|
+
"required": false,
|
|
118
|
+
"serializable": false,
|
|
119
|
+
"role": "event"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "onSeek",
|
|
123
|
+
"type": {
|
|
124
|
+
"kind": "event",
|
|
125
|
+
"payload": "detail: { time: number; scrubbing: boolean; }"
|
|
126
|
+
},
|
|
127
|
+
"required": false,
|
|
128
|
+
"serializable": false,
|
|
129
|
+
"role": "event"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "onSelect",
|
|
133
|
+
"type": {
|
|
134
|
+
"kind": "event",
|
|
135
|
+
"payload": "detail: { ids: string[]; }"
|
|
136
|
+
},
|
|
137
|
+
"required": false,
|
|
138
|
+
"serializable": false,
|
|
139
|
+
"role": "event"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "onView",
|
|
143
|
+
"type": {
|
|
144
|
+
"kind": "event",
|
|
145
|
+
"payload": "detail: { zoom: number; scroll: number; scrollY: number; }"
|
|
146
|
+
},
|
|
147
|
+
"required": false,
|
|
148
|
+
"serializable": false,
|
|
149
|
+
"role": "event"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "port",
|
|
153
|
+
"type": {
|
|
154
|
+
"kind": "object",
|
|
155
|
+
"fields": [
|
|
156
|
+
{
|
|
157
|
+
"name": "target",
|
|
158
|
+
"required": true,
|
|
159
|
+
"type": {
|
|
160
|
+
"kind": "object",
|
|
161
|
+
"fields": [
|
|
162
|
+
{
|
|
163
|
+
"name": "invoke",
|
|
164
|
+
"required": true,
|
|
165
|
+
"type": {
|
|
166
|
+
"kind": "event",
|
|
167
|
+
"payload": "options: uiMethodOptions",
|
|
168
|
+
"returns": "SelectorQuery"
|
|
169
|
+
},
|
|
170
|
+
"serializable": false
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "path",
|
|
174
|
+
"required": true,
|
|
175
|
+
"type": {
|
|
176
|
+
"kind": "event",
|
|
177
|
+
"payload": "callback: PathCallback",
|
|
178
|
+
"returns": "SelectorQuery"
|
|
179
|
+
},
|
|
180
|
+
"serializable": false
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "fields",
|
|
184
|
+
"required": true,
|
|
185
|
+
"type": {
|
|
186
|
+
"kind": "event",
|
|
187
|
+
"payload": "fields: Required<FieldsParams> extends Record<keyof T, boolean> ? T : FieldsParams, callback: (data: { [K in keyof Required<FieldsParams> as T[K] extends true ? K : never]: FieldsData[K]; } | null, status: { data: string; code: number; }) => void",
|
|
188
|
+
"returns": "SelectorQuery"
|
|
189
|
+
},
|
|
190
|
+
"serializable": false
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "animate",
|
|
194
|
+
"required": true,
|
|
195
|
+
"type": {
|
|
196
|
+
"kind": "event",
|
|
197
|
+
"payload": "animations: AnimationV2 | AnimationV2[]",
|
|
198
|
+
"returns": "SelectorQuery"
|
|
199
|
+
},
|
|
200
|
+
"serializable": false
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "playAnimation",
|
|
204
|
+
"required": true,
|
|
205
|
+
"type": {
|
|
206
|
+
"kind": "event",
|
|
207
|
+
"payload": "ids: string | string[]",
|
|
208
|
+
"returns": "SelectorQuery"
|
|
209
|
+
},
|
|
210
|
+
"serializable": false
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "pauseAnimation",
|
|
214
|
+
"required": true,
|
|
215
|
+
"type": {
|
|
216
|
+
"kind": "event",
|
|
217
|
+
"payload": "ids: string | string[]",
|
|
218
|
+
"returns": "SelectorQuery"
|
|
219
|
+
},
|
|
220
|
+
"serializable": false
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "cancelAnimation",
|
|
224
|
+
"required": true,
|
|
225
|
+
"type": {
|
|
226
|
+
"kind": "event",
|
|
227
|
+
"payload": "ids: string | string[]",
|
|
228
|
+
"returns": "SelectorQuery"
|
|
229
|
+
},
|
|
230
|
+
"serializable": false
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "setNativeProps",
|
|
234
|
+
"required": true,
|
|
235
|
+
"type": {
|
|
236
|
+
"kind": "event",
|
|
237
|
+
"payload": "nativeProps: Record<string, any>",
|
|
238
|
+
"returns": "SelectorQuery"
|
|
239
|
+
},
|
|
240
|
+
"serializable": false
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
244
|
+
"serializable": false
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "doc",
|
|
248
|
+
"required": true,
|
|
249
|
+
"type": {
|
|
250
|
+
"kind": "object",
|
|
251
|
+
"fields": [
|
|
252
|
+
{
|
|
253
|
+
"name": "duration",
|
|
254
|
+
"required": true,
|
|
255
|
+
"type": {
|
|
256
|
+
"kind": "number"
|
|
257
|
+
},
|
|
258
|
+
"serializable": true
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "fps",
|
|
262
|
+
"required": true,
|
|
263
|
+
"type": {
|
|
264
|
+
"kind": "number"
|
|
265
|
+
},
|
|
266
|
+
"serializable": true
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "lanes",
|
|
270
|
+
"required": true,
|
|
271
|
+
"type": {
|
|
272
|
+
"kind": "array",
|
|
273
|
+
"items": {
|
|
274
|
+
"kind": "unknown",
|
|
275
|
+
"text": "NleLane"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"serializable": false
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "clips",
|
|
282
|
+
"required": true,
|
|
283
|
+
"type": {
|
|
284
|
+
"kind": "unknown",
|
|
285
|
+
"text": "Map<string, NleClip>"
|
|
286
|
+
},
|
|
287
|
+
"serializable": false
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "keys",
|
|
291
|
+
"required": true,
|
|
292
|
+
"type": {
|
|
293
|
+
"kind": "unknown",
|
|
294
|
+
"text": "Map<string, NleKey>"
|
|
295
|
+
},
|
|
296
|
+
"serializable": false
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "markers",
|
|
300
|
+
"required": true,
|
|
301
|
+
"type": {
|
|
302
|
+
"kind": "array",
|
|
303
|
+
"items": {
|
|
304
|
+
"kind": "unknown",
|
|
305
|
+
"text": "NleMarker"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"serializable": false
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "beats",
|
|
312
|
+
"required": true,
|
|
313
|
+
"type": {
|
|
314
|
+
"kind": "array",
|
|
315
|
+
"items": {
|
|
316
|
+
"kind": "number"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"serializable": true
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "beatsPerBar",
|
|
323
|
+
"required": true,
|
|
324
|
+
"type": {
|
|
325
|
+
"kind": "number"
|
|
326
|
+
},
|
|
327
|
+
"serializable": true
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "range",
|
|
331
|
+
"required": true,
|
|
332
|
+
"type": {
|
|
333
|
+
"kind": "unknown",
|
|
334
|
+
"text": "NleRange"
|
|
335
|
+
},
|
|
336
|
+
"serializable": false
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "playhead",
|
|
340
|
+
"required": true,
|
|
341
|
+
"type": {
|
|
342
|
+
"kind": "number"
|
|
343
|
+
},
|
|
344
|
+
"serializable": true
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "selection",
|
|
348
|
+
"required": true,
|
|
349
|
+
"type": {
|
|
350
|
+
"kind": "array",
|
|
351
|
+
"items": {
|
|
352
|
+
"kind": "string"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"serializable": true
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "version",
|
|
359
|
+
"required": true,
|
|
360
|
+
"type": {
|
|
361
|
+
"kind": "number"
|
|
362
|
+
},
|
|
363
|
+
"serializable": true
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "index",
|
|
367
|
+
"required": true,
|
|
368
|
+
"type": {
|
|
369
|
+
"kind": "unknown",
|
|
370
|
+
"text": "Map<string, NleClip[]>"
|
|
371
|
+
},
|
|
372
|
+
"serializable": false
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"name": "keyIndex",
|
|
376
|
+
"required": true,
|
|
377
|
+
"type": {
|
|
378
|
+
"kind": "unknown",
|
|
379
|
+
"text": "Map<string, NleKey[]>"
|
|
380
|
+
},
|
|
381
|
+
"serializable": false
|
|
382
|
+
}
|
|
383
|
+
]
|
|
384
|
+
},
|
|
385
|
+
"serializable": false
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "apply",
|
|
389
|
+
"required": true,
|
|
390
|
+
"type": {
|
|
391
|
+
"kind": "event",
|
|
392
|
+
"payload": "patch: NlePatch"
|
|
393
|
+
},
|
|
394
|
+
"serializable": false
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "attach",
|
|
398
|
+
"required": true,
|
|
399
|
+
"type": {
|
|
400
|
+
"kind": "event",
|
|
401
|
+
"payload": "target: NodesRef | null"
|
|
402
|
+
},
|
|
403
|
+
"serializable": false
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"name": "attached",
|
|
407
|
+
"required": true,
|
|
408
|
+
"type": {
|
|
409
|
+
"kind": "boolean"
|
|
410
|
+
},
|
|
411
|
+
"serializable": true
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "note",
|
|
415
|
+
"required": true,
|
|
416
|
+
"type": {
|
|
417
|
+
"kind": "event",
|
|
418
|
+
"payload": "patch: NlePatch"
|
|
419
|
+
},
|
|
420
|
+
"serializable": false
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"name": "send",
|
|
424
|
+
"required": true,
|
|
425
|
+
"type": {
|
|
426
|
+
"kind": "event",
|
|
427
|
+
"payload": "patch: NlePatch"
|
|
428
|
+
},
|
|
429
|
+
"serializable": false
|
|
430
|
+
}
|
|
431
|
+
]
|
|
432
|
+
},
|
|
433
|
+
"required": true,
|
|
434
|
+
"serializable": false,
|
|
435
|
+
"role": "behaviour"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "snap",
|
|
439
|
+
"type": {
|
|
440
|
+
"kind": "boolean"
|
|
441
|
+
},
|
|
442
|
+
"required": false,
|
|
443
|
+
"default": true,
|
|
444
|
+
"serializable": true,
|
|
445
|
+
"role": "behaviour",
|
|
446
|
+
"doc": "Snapping to the playhead, edges, beats, markers and the range. Default true."
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"name": "style",
|
|
450
|
+
"type": {
|
|
451
|
+
"kind": "object",
|
|
452
|
+
"name": "style",
|
|
453
|
+
"map": {
|
|
454
|
+
"kind": "union",
|
|
455
|
+
"of": [
|
|
456
|
+
{
|
|
457
|
+
"kind": "string"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"kind": "number"
|
|
461
|
+
}
|
|
462
|
+
]
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"required": false,
|
|
466
|
+
"serializable": true,
|
|
467
|
+
"role": "appearance"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "theme",
|
|
471
|
+
"type": {
|
|
472
|
+
"kind": "enum",
|
|
473
|
+
"values": [
|
|
474
|
+
"light",
|
|
475
|
+
"dark"
|
|
476
|
+
]
|
|
477
|
+
},
|
|
478
|
+
"required": false,
|
|
479
|
+
"serializable": true,
|
|
480
|
+
"role": "behaviour",
|
|
481
|
+
"doc": "The app's theme; a change makes the element read the theme's colour tokens again."
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"name": "tool",
|
|
485
|
+
"type": {
|
|
486
|
+
"kind": "enum",
|
|
487
|
+
"values": [
|
|
488
|
+
"select",
|
|
489
|
+
"blade"
|
|
490
|
+
]
|
|
491
|
+
},
|
|
492
|
+
"required": false,
|
|
493
|
+
"serializable": true,
|
|
494
|
+
"role": "behaviour",
|
|
495
|
+
"doc": "`select` (default) or `blade`: a click splits."
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
"anchor": null,
|
|
499
|
+
"accessibility": {
|
|
500
|
+
"labelFrom": [],
|
|
501
|
+
"labelRequired": false
|
|
502
|
+
},
|
|
503
|
+
"targets": {
|
|
504
|
+
"android": "unmeasured",
|
|
505
|
+
"ios": "unmeasured",
|
|
506
|
+
"windows": "unmeasured",
|
|
507
|
+
"macos": "unmeasured",
|
|
508
|
+
"web": "unmeasured"
|
|
509
|
+
},
|
|
510
|
+
"evidence": {
|
|
511
|
+
"ledger": []
|
|
512
|
+
},
|
|
513
|
+
"tokens": [],
|
|
514
|
+
"example": {
|
|
515
|
+
"line": "<G9NleTimeline port={port} />",
|
|
516
|
+
"from": "generated"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"id": "studio.surface.G9Surface",
|
|
521
|
+
"export": "G9Surface",
|
|
522
|
+
"from": "@g9tm/lynxcontrols-studio/surface",
|
|
523
|
+
"kind": "component",
|
|
524
|
+
"family": "surface",
|
|
525
|
+
"summary": "A viewport a driver registered by the host page draws into (`<g9-surface>`): the page names the driver, sends it JSON through the port and hears its events. Nothing crosses the threads per frame.",
|
|
526
|
+
"since": null,
|
|
527
|
+
"props": [
|
|
528
|
+
{
|
|
529
|
+
"name": "className",
|
|
530
|
+
"type": {
|
|
531
|
+
"kind": "string"
|
|
532
|
+
},
|
|
533
|
+
"required": false,
|
|
534
|
+
"serializable": true,
|
|
535
|
+
"role": "appearance"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "driver",
|
|
539
|
+
"type": {
|
|
540
|
+
"kind": "string"
|
|
541
|
+
},
|
|
542
|
+
"required": true,
|
|
543
|
+
"serializable": true,
|
|
544
|
+
"role": "behaviour",
|
|
545
|
+
"doc": "A driver the host page registered (`registerG9Surface({ drivers })`)."
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "id",
|
|
549
|
+
"type": {
|
|
550
|
+
"kind": "string"
|
|
551
|
+
},
|
|
552
|
+
"required": false,
|
|
553
|
+
"serializable": true,
|
|
554
|
+
"role": "identity"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "onError",
|
|
558
|
+
"type": {
|
|
559
|
+
"kind": "event",
|
|
560
|
+
"payload": "detail: { code: G9SurfaceErrorCode; driver: string; message: string; }"
|
|
561
|
+
},
|
|
562
|
+
"required": false,
|
|
563
|
+
"serializable": false,
|
|
564
|
+
"role": "event",
|
|
565
|
+
"doc": "Typed: `unknown_driver`, `driver_failed`, `unsupported`."
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "onEvent",
|
|
569
|
+
"type": {
|
|
570
|
+
"kind": "event",
|
|
571
|
+
"payload": "detail: { name: string; detail: unknown; }"
|
|
572
|
+
},
|
|
573
|
+
"required": false,
|
|
574
|
+
"serializable": false,
|
|
575
|
+
"role": "event",
|
|
576
|
+
"doc": "The driver's own events."
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "onReady",
|
|
580
|
+
"type": {
|
|
581
|
+
"kind": "event",
|
|
582
|
+
"payload": "detail: { driver: string; width: number; height: number; dpr: number; }"
|
|
583
|
+
},
|
|
584
|
+
"required": false,
|
|
585
|
+
"serializable": false,
|
|
586
|
+
"role": "event"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "onResize",
|
|
590
|
+
"type": {
|
|
591
|
+
"kind": "event",
|
|
592
|
+
"payload": "detail: { width: number; height: number; dpr: number; }"
|
|
593
|
+
},
|
|
594
|
+
"required": false,
|
|
595
|
+
"serializable": false,
|
|
596
|
+
"role": "event"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "params",
|
|
600
|
+
"type": {
|
|
601
|
+
"kind": "object",
|
|
602
|
+
"map": {
|
|
603
|
+
"kind": "unknown",
|
|
604
|
+
"text": "{}"
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
"required": false,
|
|
608
|
+
"serializable": false,
|
|
609
|
+
"role": "behaviour",
|
|
610
|
+
"doc": "Given to the driver at mount and on change (JSON)."
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "port",
|
|
614
|
+
"type": {
|
|
615
|
+
"kind": "object",
|
|
616
|
+
"fields": [
|
|
617
|
+
{
|
|
618
|
+
"name": "target",
|
|
619
|
+
"required": true,
|
|
620
|
+
"type": {
|
|
621
|
+
"kind": "object",
|
|
622
|
+
"fields": [
|
|
623
|
+
{
|
|
624
|
+
"name": "invoke",
|
|
625
|
+
"required": true,
|
|
626
|
+
"type": {
|
|
627
|
+
"kind": "event",
|
|
628
|
+
"payload": "options: uiMethodOptions",
|
|
629
|
+
"returns": "SelectorQuery"
|
|
630
|
+
},
|
|
631
|
+
"serializable": false
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"name": "path",
|
|
635
|
+
"required": true,
|
|
636
|
+
"type": {
|
|
637
|
+
"kind": "event",
|
|
638
|
+
"payload": "callback: PathCallback",
|
|
639
|
+
"returns": "SelectorQuery"
|
|
640
|
+
},
|
|
641
|
+
"serializable": false
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"name": "fields",
|
|
645
|
+
"required": true,
|
|
646
|
+
"type": {
|
|
647
|
+
"kind": "event",
|
|
648
|
+
"payload": "fields: Required<FieldsParams> extends Record<keyof T, boolean> ? T : FieldsParams, callback: (data: { [K in keyof Required<FieldsParams> as T[K] extends true ? K : never]: FieldsData[K]; } | null, status: { data: string; code: number; }) => void",
|
|
649
|
+
"returns": "SelectorQuery"
|
|
650
|
+
},
|
|
651
|
+
"serializable": false
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"name": "animate",
|
|
655
|
+
"required": true,
|
|
656
|
+
"type": {
|
|
657
|
+
"kind": "event",
|
|
658
|
+
"payload": "animations: AnimationV2 | AnimationV2[]",
|
|
659
|
+
"returns": "SelectorQuery"
|
|
660
|
+
},
|
|
661
|
+
"serializable": false
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "playAnimation",
|
|
665
|
+
"required": true,
|
|
666
|
+
"type": {
|
|
667
|
+
"kind": "event",
|
|
668
|
+
"payload": "ids: string | string[]",
|
|
669
|
+
"returns": "SelectorQuery"
|
|
670
|
+
},
|
|
671
|
+
"serializable": false
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "pauseAnimation",
|
|
675
|
+
"required": true,
|
|
676
|
+
"type": {
|
|
677
|
+
"kind": "event",
|
|
678
|
+
"payload": "ids: string | string[]",
|
|
679
|
+
"returns": "SelectorQuery"
|
|
680
|
+
},
|
|
681
|
+
"serializable": false
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"name": "cancelAnimation",
|
|
685
|
+
"required": true,
|
|
686
|
+
"type": {
|
|
687
|
+
"kind": "event",
|
|
688
|
+
"payload": "ids: string | string[]",
|
|
689
|
+
"returns": "SelectorQuery"
|
|
690
|
+
},
|
|
691
|
+
"serializable": false
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"name": "setNativeProps",
|
|
695
|
+
"required": true,
|
|
696
|
+
"type": {
|
|
697
|
+
"kind": "event",
|
|
698
|
+
"payload": "nativeProps: Record<string, any>",
|
|
699
|
+
"returns": "SelectorQuery"
|
|
700
|
+
},
|
|
701
|
+
"serializable": false
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
},
|
|
705
|
+
"serializable": false
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"name": "queue",
|
|
709
|
+
"required": true,
|
|
710
|
+
"type": {
|
|
711
|
+
"kind": "array",
|
|
712
|
+
"items": {
|
|
713
|
+
"kind": "unknown",
|
|
714
|
+
"text": "{}"
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
"serializable": false
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"name": "send",
|
|
721
|
+
"required": true,
|
|
722
|
+
"type": {
|
|
723
|
+
"kind": "event",
|
|
724
|
+
"payload": "message: unknown"
|
|
725
|
+
},
|
|
726
|
+
"serializable": false
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "attach",
|
|
730
|
+
"required": true,
|
|
731
|
+
"type": {
|
|
732
|
+
"kind": "event",
|
|
733
|
+
"payload": "target: NodesRef | null"
|
|
734
|
+
},
|
|
735
|
+
"serializable": false
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"name": "attached",
|
|
739
|
+
"required": true,
|
|
740
|
+
"type": {
|
|
741
|
+
"kind": "boolean"
|
|
742
|
+
},
|
|
743
|
+
"serializable": true
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "pending",
|
|
747
|
+
"required": true,
|
|
748
|
+
"type": {
|
|
749
|
+
"kind": "number"
|
|
750
|
+
},
|
|
751
|
+
"serializable": true
|
|
752
|
+
}
|
|
753
|
+
]
|
|
754
|
+
},
|
|
755
|
+
"required": false,
|
|
756
|
+
"serializable": false,
|
|
757
|
+
"role": "behaviour"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"name": "style",
|
|
761
|
+
"type": {
|
|
762
|
+
"kind": "object",
|
|
763
|
+
"name": "style",
|
|
764
|
+
"map": {
|
|
765
|
+
"kind": "union",
|
|
766
|
+
"of": [
|
|
767
|
+
{
|
|
768
|
+
"kind": "string"
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"kind": "number"
|
|
772
|
+
}
|
|
773
|
+
]
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
"required": false,
|
|
777
|
+
"serializable": true,
|
|
778
|
+
"role": "appearance"
|
|
779
|
+
}
|
|
780
|
+
],
|
|
781
|
+
"anchor": null,
|
|
782
|
+
"accessibility": {
|
|
783
|
+
"labelFrom": [],
|
|
784
|
+
"labelRequired": false
|
|
785
|
+
},
|
|
786
|
+
"targets": {
|
|
787
|
+
"android": "unmeasured",
|
|
788
|
+
"ios": "unmeasured",
|
|
789
|
+
"windows": "unmeasured",
|
|
790
|
+
"macos": "unmeasured",
|
|
791
|
+
"web": "unmeasured"
|
|
792
|
+
},
|
|
793
|
+
"evidence": {
|
|
794
|
+
"ledger": []
|
|
795
|
+
},
|
|
796
|
+
"tokens": [],
|
|
797
|
+
"example": {
|
|
798
|
+
"line": "<G9Surface driver=\"driver\" />",
|
|
799
|
+
"from": "generated"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"id": "studio.transform-box.G9TransformBox",
|
|
804
|
+
"export": "G9TransformBox",
|
|
805
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
806
|
+
"kind": "component",
|
|
807
|
+
"family": "transform-box",
|
|
808
|
+
"summary": "Selection boxes and handles over any content (`<g9-transform-box>`): move, scale, rotate, smart guides, safe zones, pinch and wheel zoom. Boxes go in through the port; transforms, the selection and the view come out as events.",
|
|
809
|
+
"since": null,
|
|
810
|
+
"props": [
|
|
811
|
+
{
|
|
812
|
+
"name": "className",
|
|
813
|
+
"type": {
|
|
814
|
+
"kind": "string"
|
|
815
|
+
},
|
|
816
|
+
"required": false,
|
|
817
|
+
"serializable": true,
|
|
818
|
+
"role": "appearance"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "editable",
|
|
822
|
+
"type": {
|
|
823
|
+
"kind": "boolean"
|
|
824
|
+
},
|
|
825
|
+
"required": false,
|
|
826
|
+
"default": true,
|
|
827
|
+
"serializable": true,
|
|
828
|
+
"role": "behaviour",
|
|
829
|
+
"doc": "False: select and look only. Default true."
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "guides",
|
|
833
|
+
"type": {
|
|
834
|
+
"kind": "boolean"
|
|
835
|
+
},
|
|
836
|
+
"required": false,
|
|
837
|
+
"default": true,
|
|
838
|
+
"serializable": true,
|
|
839
|
+
"role": "behaviour",
|
|
840
|
+
"doc": "Smart guides and snapping. Default true."
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"name": "id",
|
|
844
|
+
"type": {
|
|
845
|
+
"kind": "string"
|
|
846
|
+
},
|
|
847
|
+
"required": false,
|
|
848
|
+
"serializable": true,
|
|
849
|
+
"role": "identity"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"name": "onCommand",
|
|
853
|
+
"type": {
|
|
854
|
+
"kind": "event",
|
|
855
|
+
"payload": "detail: { name: \"delete\" | \"forward\" | \"backward\" | \"undo\" | \"redo\" | \"duplicate\" | \"copy\" | \"paste\" | \"escape\"; }"
|
|
856
|
+
},
|
|
857
|
+
"required": false,
|
|
858
|
+
"serializable": false,
|
|
859
|
+
"role": "event"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"name": "onOpen",
|
|
863
|
+
"type": {
|
|
864
|
+
"kind": "event",
|
|
865
|
+
"payload": "detail: { id: string; }"
|
|
866
|
+
},
|
|
867
|
+
"required": false,
|
|
868
|
+
"serializable": false,
|
|
869
|
+
"role": "event"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"name": "onSelect",
|
|
873
|
+
"type": {
|
|
874
|
+
"kind": "event",
|
|
875
|
+
"payload": "detail: { ids: string[]; }"
|
|
876
|
+
},
|
|
877
|
+
"required": false,
|
|
878
|
+
"serializable": false,
|
|
879
|
+
"role": "event"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "onTap",
|
|
883
|
+
"type": {
|
|
884
|
+
"kind": "event",
|
|
885
|
+
"payload": "detail: { x: number; y: number; }"
|
|
886
|
+
},
|
|
887
|
+
"required": false,
|
|
888
|
+
"serializable": false,
|
|
889
|
+
"role": "event"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"name": "onTransform",
|
|
893
|
+
"type": {
|
|
894
|
+
"kind": "event",
|
|
895
|
+
"payload": "detail: { phase: \"end\" | \"move\"; kind: TbKind; via: TbVia; boxes: TbBox[]; }"
|
|
896
|
+
},
|
|
897
|
+
"required": false,
|
|
898
|
+
"serializable": false,
|
|
899
|
+
"role": "event"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"name": "onView",
|
|
903
|
+
"type": {
|
|
904
|
+
"kind": "event",
|
|
905
|
+
"payload": "detail: { zoom: number; panX: number; panY: number; scale: number; offsetX: number; offsetY: number; }"
|
|
906
|
+
},
|
|
907
|
+
"required": false,
|
|
908
|
+
"serializable": false,
|
|
909
|
+
"role": "event"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"name": "padding",
|
|
913
|
+
"type": {
|
|
914
|
+
"kind": "number"
|
|
915
|
+
},
|
|
916
|
+
"required": false,
|
|
917
|
+
"default": 16,
|
|
918
|
+
"serializable": true,
|
|
919
|
+
"role": "behaviour",
|
|
920
|
+
"doc": "px between the fitted stage and the element's edge. Default 16."
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "port",
|
|
924
|
+
"type": {
|
|
925
|
+
"kind": "object",
|
|
926
|
+
"fields": [
|
|
927
|
+
{
|
|
928
|
+
"name": "target",
|
|
929
|
+
"required": true,
|
|
930
|
+
"type": {
|
|
931
|
+
"kind": "object",
|
|
932
|
+
"fields": [
|
|
933
|
+
{
|
|
934
|
+
"name": "invoke",
|
|
935
|
+
"required": true,
|
|
936
|
+
"type": {
|
|
937
|
+
"kind": "event",
|
|
938
|
+
"payload": "options: uiMethodOptions",
|
|
939
|
+
"returns": "SelectorQuery"
|
|
940
|
+
},
|
|
941
|
+
"serializable": false
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"name": "path",
|
|
945
|
+
"required": true,
|
|
946
|
+
"type": {
|
|
947
|
+
"kind": "event",
|
|
948
|
+
"payload": "callback: PathCallback",
|
|
949
|
+
"returns": "SelectorQuery"
|
|
950
|
+
},
|
|
951
|
+
"serializable": false
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"name": "fields",
|
|
955
|
+
"required": true,
|
|
956
|
+
"type": {
|
|
957
|
+
"kind": "event",
|
|
958
|
+
"payload": "fields: Required<FieldsParams> extends Record<keyof T, boolean> ? T : FieldsParams, callback: (data: { [K in keyof Required<FieldsParams> as T[K] extends true ? K : never]: FieldsData[K]; } | null, status: { data: string; code: number; }) => void",
|
|
959
|
+
"returns": "SelectorQuery"
|
|
960
|
+
},
|
|
961
|
+
"serializable": false
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"name": "animate",
|
|
965
|
+
"required": true,
|
|
966
|
+
"type": {
|
|
967
|
+
"kind": "event",
|
|
968
|
+
"payload": "animations: AnimationV2 | AnimationV2[]",
|
|
969
|
+
"returns": "SelectorQuery"
|
|
970
|
+
},
|
|
971
|
+
"serializable": false
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"name": "playAnimation",
|
|
975
|
+
"required": true,
|
|
976
|
+
"type": {
|
|
977
|
+
"kind": "event",
|
|
978
|
+
"payload": "ids: string | string[]",
|
|
979
|
+
"returns": "SelectorQuery"
|
|
980
|
+
},
|
|
981
|
+
"serializable": false
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "pauseAnimation",
|
|
985
|
+
"required": true,
|
|
986
|
+
"type": {
|
|
987
|
+
"kind": "event",
|
|
988
|
+
"payload": "ids: string | string[]",
|
|
989
|
+
"returns": "SelectorQuery"
|
|
990
|
+
},
|
|
991
|
+
"serializable": false
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"name": "cancelAnimation",
|
|
995
|
+
"required": true,
|
|
996
|
+
"type": {
|
|
997
|
+
"kind": "event",
|
|
998
|
+
"payload": "ids: string | string[]",
|
|
999
|
+
"returns": "SelectorQuery"
|
|
1000
|
+
},
|
|
1001
|
+
"serializable": false
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"name": "setNativeProps",
|
|
1005
|
+
"required": true,
|
|
1006
|
+
"type": {
|
|
1007
|
+
"kind": "event",
|
|
1008
|
+
"payload": "nativeProps: Record<string, any>",
|
|
1009
|
+
"returns": "SelectorQuery"
|
|
1010
|
+
},
|
|
1011
|
+
"serializable": false
|
|
1012
|
+
}
|
|
1013
|
+
]
|
|
1014
|
+
},
|
|
1015
|
+
"serializable": false
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"name": "state",
|
|
1019
|
+
"required": true,
|
|
1020
|
+
"type": {
|
|
1021
|
+
"kind": "object",
|
|
1022
|
+
"fields": [
|
|
1023
|
+
{
|
|
1024
|
+
"name": "stage",
|
|
1025
|
+
"required": false,
|
|
1026
|
+
"type": {
|
|
1027
|
+
"kind": "unknown",
|
|
1028
|
+
"text": "{ w: number; h: number; }"
|
|
1029
|
+
},
|
|
1030
|
+
"serializable": false
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"name": "boxes",
|
|
1034
|
+
"required": true,
|
|
1035
|
+
"type": {
|
|
1036
|
+
"kind": "array",
|
|
1037
|
+
"items": {
|
|
1038
|
+
"kind": "unknown",
|
|
1039
|
+
"text": "TbBox"
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"serializable": false
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"name": "selection",
|
|
1046
|
+
"required": true,
|
|
1047
|
+
"type": {
|
|
1048
|
+
"kind": "array",
|
|
1049
|
+
"items": {
|
|
1050
|
+
"kind": "string"
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
"serializable": true
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"name": "safeZones",
|
|
1057
|
+
"required": false,
|
|
1058
|
+
"type": {
|
|
1059
|
+
"kind": "array",
|
|
1060
|
+
"items": {
|
|
1061
|
+
"kind": "unknown",
|
|
1062
|
+
"text": "TbRect"
|
|
1063
|
+
}
|
|
1064
|
+
},
|
|
1065
|
+
"serializable": false
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "view",
|
|
1069
|
+
"required": false,
|
|
1070
|
+
"type": {
|
|
1071
|
+
"kind": "object",
|
|
1072
|
+
"name": "Partial"
|
|
1073
|
+
},
|
|
1074
|
+
"serializable": false
|
|
1075
|
+
}
|
|
1076
|
+
]
|
|
1077
|
+
},
|
|
1078
|
+
"serializable": false
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"name": "apply",
|
|
1082
|
+
"required": true,
|
|
1083
|
+
"type": {
|
|
1084
|
+
"kind": "event",
|
|
1085
|
+
"payload": "message: TbMessage"
|
|
1086
|
+
},
|
|
1087
|
+
"serializable": false
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"name": "note",
|
|
1091
|
+
"required": true,
|
|
1092
|
+
"type": {
|
|
1093
|
+
"kind": "event",
|
|
1094
|
+
"payload": "message: TbMessage"
|
|
1095
|
+
},
|
|
1096
|
+
"serializable": false
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "boxes",
|
|
1100
|
+
"required": true,
|
|
1101
|
+
"type": {
|
|
1102
|
+
"kind": "array",
|
|
1103
|
+
"items": {
|
|
1104
|
+
"kind": "unknown",
|
|
1105
|
+
"text": "TbBox"
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
"serializable": false
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"name": "selection",
|
|
1112
|
+
"required": true,
|
|
1113
|
+
"type": {
|
|
1114
|
+
"kind": "array",
|
|
1115
|
+
"items": {
|
|
1116
|
+
"kind": "string"
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
"serializable": true
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "attach",
|
|
1123
|
+
"required": true,
|
|
1124
|
+
"type": {
|
|
1125
|
+
"kind": "event",
|
|
1126
|
+
"payload": "target: NodesRef | null"
|
|
1127
|
+
},
|
|
1128
|
+
"serializable": false
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"name": "attached",
|
|
1132
|
+
"required": true,
|
|
1133
|
+
"type": {
|
|
1134
|
+
"kind": "boolean"
|
|
1135
|
+
},
|
|
1136
|
+
"serializable": true
|
|
1137
|
+
}
|
|
1138
|
+
]
|
|
1139
|
+
},
|
|
1140
|
+
"required": true,
|
|
1141
|
+
"serializable": false,
|
|
1142
|
+
"role": "behaviour"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"name": "safeZones",
|
|
1146
|
+
"type": {
|
|
1147
|
+
"kind": "boolean"
|
|
1148
|
+
},
|
|
1149
|
+
"required": false,
|
|
1150
|
+
"default": true,
|
|
1151
|
+
"serializable": true,
|
|
1152
|
+
"role": "behaviour",
|
|
1153
|
+
"doc": "Draw the safe zones. Default true."
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"name": "style",
|
|
1157
|
+
"type": {
|
|
1158
|
+
"kind": "object",
|
|
1159
|
+
"name": "style",
|
|
1160
|
+
"map": {
|
|
1161
|
+
"kind": "union",
|
|
1162
|
+
"of": [
|
|
1163
|
+
{
|
|
1164
|
+
"kind": "string"
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"kind": "number"
|
|
1168
|
+
}
|
|
1169
|
+
]
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
"required": false,
|
|
1173
|
+
"serializable": true,
|
|
1174
|
+
"role": "appearance"
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"name": "theme",
|
|
1178
|
+
"type": {
|
|
1179
|
+
"kind": "enum",
|
|
1180
|
+
"values": [
|
|
1181
|
+
"light",
|
|
1182
|
+
"dark"
|
|
1183
|
+
]
|
|
1184
|
+
},
|
|
1185
|
+
"required": false,
|
|
1186
|
+
"serializable": true,
|
|
1187
|
+
"role": "behaviour",
|
|
1188
|
+
"doc": "The app's theme; a change makes the element read the theme's colour tokens again."
|
|
1189
|
+
}
|
|
1190
|
+
],
|
|
1191
|
+
"anchor": null,
|
|
1192
|
+
"accessibility": {
|
|
1193
|
+
"labelFrom": [],
|
|
1194
|
+
"labelRequired": false
|
|
1195
|
+
},
|
|
1196
|
+
"targets": {
|
|
1197
|
+
"android": "unmeasured",
|
|
1198
|
+
"ios": "unmeasured",
|
|
1199
|
+
"windows": "unmeasured",
|
|
1200
|
+
"macos": "unmeasured",
|
|
1201
|
+
"web": "unmeasured"
|
|
1202
|
+
},
|
|
1203
|
+
"evidence": {
|
|
1204
|
+
"ledger": []
|
|
1205
|
+
},
|
|
1206
|
+
"tokens": [],
|
|
1207
|
+
"example": {
|
|
1208
|
+
"line": "<G9TransformBox port={port} />",
|
|
1209
|
+
"from": "generated"
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
],
|
|
1213
|
+
"exports": [
|
|
1214
|
+
{
|
|
1215
|
+
"id": "studio.transform-box.aabbOf",
|
|
1216
|
+
"export": "aabbOf",
|
|
1217
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1218
|
+
"kind": "function",
|
|
1219
|
+
"signature": "(frames: readonly TbFrame[]): TbAabb",
|
|
1220
|
+
"summary": "The axis-aligned bounds of rotated frames."
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"id": "studio.nle-timeline.applyNlePatch",
|
|
1224
|
+
"export": "applyNlePatch",
|
|
1225
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1226
|
+
"kind": "function",
|
|
1227
|
+
"signature": "(doc: NleDoc, patch: NlePatch): void",
|
|
1228
|
+
"summary": "Applies a patch (mutates `doc`). Returns the view part, which only the element uses."
|
|
1229
|
+
},
|
|
1230
|
+
{
|
|
1231
|
+
"id": "studio.nle-timeline.beatsOfTempo",
|
|
1232
|
+
"export": "beatsOfTempo",
|
|
1233
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1234
|
+
"kind": "function",
|
|
1235
|
+
"signature": "(tempo: NleTempo, duration: number): number[]",
|
|
1236
|
+
"summary": "Beat times of a tempo up to `duration` (at most 20,000)."
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"id": "studio.transform-box/core.boxOfFrame",
|
|
1240
|
+
"export": "boxOfFrame",
|
|
1241
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
1242
|
+
"kind": "function",
|
|
1243
|
+
"signature": "(id: string, frame: TbFrame, from?: TbBox | undefined): TbBox",
|
|
1244
|
+
"summary": "A frame back as a box with `id`, keeping `from`'s other fields (locked, keepAspect)."
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"id": "studio.nle-timeline/core.changeOf",
|
|
1248
|
+
"export": "changeOf",
|
|
1249
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1250
|
+
"kind": "function",
|
|
1251
|
+
"signature": "(clip: NleClip, over?: Partial<NleClipChange>): NleClipChange",
|
|
1252
|
+
"summary": "A clip's change record, with `over`'s fields replacing its own."
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"id": "studio.nle-timeline/core.clampScroll",
|
|
1256
|
+
"export": "clampScroll",
|
|
1257
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1258
|
+
"kind": "function",
|
|
1259
|
+
"signature": "(vp: NleViewport, contentEnd: number, layout: NleLayout, metrics?: NleMetrics): void",
|
|
1260
|
+
"summary": "Keeps the scroll inside the content: time from 0 to past the end, lanes from the first to the last."
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"id": "studio.nle-timeline/core.clipsInWindow",
|
|
1264
|
+
"export": "clipsInWindow",
|
|
1265
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1266
|
+
"kind": "function",
|
|
1267
|
+
"signature": "(doc: NleDoc, laneId: string, t0: number, t1: number, out?: NleClip[]): NleClip[]",
|
|
1268
|
+
"summary": "The lane's clips that overlap [t0, t1] (virtualisation: a binary search, then a walk)."
|
|
1269
|
+
},
|
|
1270
|
+
{
|
|
1271
|
+
"id": "studio.nle-timeline/core.commit",
|
|
1272
|
+
"export": "commit",
|
|
1273
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1274
|
+
"kind": "function",
|
|
1275
|
+
"signature": "(doc: NleDoc, changes: Iterable<NleClipChange>): void",
|
|
1276
|
+
"summary": "Writes changes into the doc (the optimistic view until the host's patch)."
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"id": "studio.nle-timeline/core.compatible",
|
|
1280
|
+
"export": "compatible",
|
|
1281
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1282
|
+
"kind": "function",
|
|
1283
|
+
"signature": "(a: NleLane, b: NleLane): boolean",
|
|
1284
|
+
"summary": "A clip can go from lane `a` to lane `b`: picture lanes (main, free) mix; audio stays audio."
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"id": "studio.nle-timeline/core.computeLaneStep",
|
|
1288
|
+
"export": "computeLaneStep",
|
|
1289
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1290
|
+
"kind": "function",
|
|
1291
|
+
"signature": "(doc: NleDoc, id: string, step: 1 | -1): NleChanges",
|
|
1292
|
+
"summary": "Keyboard lane move: the clip to the nearest compatible lane above (-1) or below (+1)."
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"id": "studio.nle-timeline.computeMove",
|
|
1296
|
+
"export": "computeMove",
|
|
1297
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1298
|
+
"kind": "function",
|
|
1299
|
+
"signature": "(doc: NleDoc, input: MoveInput): MoveResult",
|
|
1300
|
+
"summary": "A move: free clips by dt (snapped by their edges); a main clip reorders; a lane change lifts or drops."
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"id": "studio.nle-timeline.computeNudge",
|
|
1304
|
+
"export": "computeNudge",
|
|
1305
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1306
|
+
"kind": "function",
|
|
1307
|
+
"signature": "(doc: NleDoc, ids: readonly string[], frames: number): NleChanges",
|
|
1308
|
+
"summary": "Keyboard nudge: free clips by `frames`; a main clip swaps with its neighbour."
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"id": "studio.nle-timeline.computeTrim",
|
|
1312
|
+
"export": "computeTrim",
|
|
1313
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1314
|
+
"kind": "function",
|
|
1315
|
+
"signature": "(doc: NleDoc, input: TrimInput): MoveResult",
|
|
1316
|
+
"summary": "A trim: the end or the start, inside the source's window; a main clip's followers ripple."
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"id": "studio.transform-box/core.contains",
|
|
1320
|
+
"export": "contains",
|
|
1321
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
1322
|
+
"kind": "function",
|
|
1323
|
+
"signature": "(frame: TbFrame, x: number, y: number, slack?: number): boolean",
|
|
1324
|
+
"summary": "Whether a point lies inside a rotated frame, `slack` stage units around it included."
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"id": "studio.nle-timeline/core.contentEnd",
|
|
1328
|
+
"export": "contentEnd",
|
|
1329
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1330
|
+
"kind": "function",
|
|
1331
|
+
"signature": "(doc: NleDoc): number",
|
|
1332
|
+
"summary": "The end of the last clip, keys and markers: the content's length."
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"id": "studio.transform-box/core.cornersOf",
|
|
1336
|
+
"export": "cornersOf",
|
|
1337
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
1338
|
+
"kind": "function",
|
|
1339
|
+
"signature": "(frame: TbFrame): [number, number][]",
|
|
1340
|
+
"summary": "Corners nw, ne, se, sw."
|
|
1341
|
+
},
|
|
1342
|
+
{
|
|
1343
|
+
"id": "studio.nle-timeline.createNleDoc",
|
|
1344
|
+
"export": "createNleDoc",
|
|
1345
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1346
|
+
"kind": "function",
|
|
1347
|
+
"signature": "(): NleDoc",
|
|
1348
|
+
"summary": "An empty timeline doc."
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"id": "studio.nle-timeline/core.differing",
|
|
1352
|
+
"export": "differing",
|
|
1353
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1354
|
+
"kind": "function",
|
|
1355
|
+
"signature": "(doc: NleDoc, changes: NleChanges): NleClipChange[]",
|
|
1356
|
+
"summary": "Only the entries that differ from the doc."
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
"id": "studio.transform-box.fitOf",
|
|
1360
|
+
"export": "fitOf",
|
|
1361
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1362
|
+
"kind": "function",
|
|
1363
|
+
"signature": "(stage: { readonly w: number; readonly h: number; }, view: { readonly w: number; readonly h: number; }, zoom: number, panX: number, panY: number, padding?: number): TbFit",
|
|
1364
|
+
"summary": "The stage fitted inside the element (with padding), then zoomed and panned (CSS px)."
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"id": "studio.nle-timeline.formatTime",
|
|
1368
|
+
"export": "formatTime",
|
|
1369
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1370
|
+
"kind": "function",
|
|
1371
|
+
"signature": "(t: number, step: number, fps: number): string",
|
|
1372
|
+
"summary": "`m:ss`, `m:ss.d` or `m:ss:ff` (frames) by step; `h:mm:ss` past an hour. No Intl."
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"id": "studio.transform-box.frameOf",
|
|
1376
|
+
"export": "frameOf",
|
|
1377
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1378
|
+
"kind": "function",
|
|
1379
|
+
"signature": "(box: TbBox): TbFrame",
|
|
1380
|
+
"summary": "A box as a frame: its centre, size and rotation."
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"id": "studio.nle-timeline/core.frameOf",
|
|
1384
|
+
"export": "frameOf",
|
|
1385
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1386
|
+
"kind": "function",
|
|
1387
|
+
"signature": "(doc: NleDoc): number",
|
|
1388
|
+
"summary": "One frame's length (seconds) at the doc's fps."
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"id": "studio.nle-timeline.G9NleElementProps",
|
|
1392
|
+
"export": "G9NleElementProps",
|
|
1393
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1394
|
+
"kind": "interface",
|
|
1395
|
+
"signature": "G9NleElementProps",
|
|
1396
|
+
"summary": "Element props (strings, as the host gets them)."
|
|
1397
|
+
},
|
|
1398
|
+
{
|
|
1399
|
+
"id": "studio.nle-timeline.G9NlePort",
|
|
1400
|
+
"export": "G9NlePort",
|
|
1401
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1402
|
+
"kind": "class",
|
|
1403
|
+
"signature": "typeof G9NlePort",
|
|
1404
|
+
"summary": "The page's way to the element: create one per timeline, pass it to `G9NleTimeline`."
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"id": "studio.nle-timeline.G9NleTimelineProps",
|
|
1408
|
+
"export": "G9NleTimelineProps",
|
|
1409
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1410
|
+
"kind": "interface",
|
|
1411
|
+
"signature": "G9NleTimelineProps",
|
|
1412
|
+
"summary": "Props of `G9NleTimeline`."
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"id": "studio.surface.G9SurfaceElementProps",
|
|
1416
|
+
"export": "G9SurfaceElementProps",
|
|
1417
|
+
"from": "@g9tm/lynxcontrols-studio/surface",
|
|
1418
|
+
"kind": "interface",
|
|
1419
|
+
"signature": "G9SurfaceElementProps",
|
|
1420
|
+
"summary": "The `<g9-surface>` host element's attributes and events, as G9Surface sets them."
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"id": "studio.surface.G9SurfaceError",
|
|
1424
|
+
"export": "G9SurfaceError",
|
|
1425
|
+
"from": "@g9tm/lynxcontrols-studio/surface",
|
|
1426
|
+
"kind": "class",
|
|
1427
|
+
"signature": "typeof G9SurfaceError",
|
|
1428
|
+
"summary": "A typed surface failure, thrown by a host or a driver and reported as `sferror`."
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"id": "studio.surface.G9SurfaceErrorCode",
|
|
1432
|
+
"export": "G9SurfaceErrorCode",
|
|
1433
|
+
"from": "@g9tm/lynxcontrols-studio/surface",
|
|
1434
|
+
"kind": "type",
|
|
1435
|
+
"signature": "G9SurfaceErrorCode",
|
|
1436
|
+
"summary": "Why a surface cannot draw. Typed, never a silent no-op."
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"id": "studio.surface.G9SurfaceEvents",
|
|
1440
|
+
"export": "G9SurfaceEvents",
|
|
1441
|
+
"from": "@g9tm/lynxcontrols-studio/surface",
|
|
1442
|
+
"kind": "interface",
|
|
1443
|
+
"signature": "G9SurfaceEvents",
|
|
1444
|
+
"summary": "`<g9-surface>`'s events by name, with each one's `detail`."
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"id": "studio.surface.G9SurfacePort",
|
|
1448
|
+
"export": "G9SurfacePort",
|
|
1449
|
+
"from": "@g9tm/lynxcontrols-studio/surface",
|
|
1450
|
+
"kind": "class",
|
|
1451
|
+
"signature": "typeof G9SurfacePort",
|
|
1452
|
+
"summary": "The page's way to the driver behind one surface."
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"id": "studio.surface.G9SurfaceProps",
|
|
1456
|
+
"export": "G9SurfaceProps",
|
|
1457
|
+
"from": "@g9tm/lynxcontrols-studio/surface",
|
|
1458
|
+
"kind": "interface",
|
|
1459
|
+
"signature": "G9SurfaceProps",
|
|
1460
|
+
"summary": "Props of `G9Surface`."
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"id": "studio.transform-box.G9TransformBoxElementProps",
|
|
1464
|
+
"export": "G9TransformBoxElementProps",
|
|
1465
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1466
|
+
"kind": "interface",
|
|
1467
|
+
"signature": "G9TransformBoxElementProps",
|
|
1468
|
+
"summary": "The `<g9-transform-box>` host element's attributes and events, as G9TransformBox sets them."
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"id": "studio.transform-box.G9TransformBoxPort",
|
|
1472
|
+
"export": "G9TransformBoxPort",
|
|
1473
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1474
|
+
"kind": "class",
|
|
1475
|
+
"signature": "typeof G9TransformBoxPort",
|
|
1476
|
+
"summary": "The page's way to the element."
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"id": "studio.transform-box.G9TransformBoxProps",
|
|
1480
|
+
"export": "G9TransformBoxProps",
|
|
1481
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1482
|
+
"kind": "interface",
|
|
1483
|
+
"signature": "G9TransformBoxProps",
|
|
1484
|
+
"summary": "Props of `G9TransformBox`."
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"id": "studio.transform-box/core.HANDLE_SIGNS",
|
|
1488
|
+
"export": "HANDLE_SIGNS",
|
|
1489
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
1490
|
+
"kind": "constant",
|
|
1491
|
+
"signature": "Record<\"nw\" | \"n\" | \"ne\" | \"e\" | \"se\" | \"s\" | \"sw\" | \"w\", readonly [number, number]>",
|
|
1492
|
+
"summary": "Each resize handle's direction from the frame's centre (-1, 0 or 1 per axis)."
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"id": "studio.transform-box/core.handlePoints",
|
|
1496
|
+
"export": "handlePoints",
|
|
1497
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
1498
|
+
"kind": "function",
|
|
1499
|
+
"signature": "(frame: TbFrame, fit: TbFit, rotGap?: number): { handle: TbHandle; x: number; y: number; }[]",
|
|
1500
|
+
"summary": "Handle positions in element px; the rotation handle sits `rotGap` px above the top edge."
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"id": "studio.transform-box.hitBox",
|
|
1504
|
+
"export": "hitBox",
|
|
1505
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1506
|
+
"kind": "function",
|
|
1507
|
+
"signature": "(boxes: readonly TbBox[], x: number, y: number, slack?: number): TbBox | null",
|
|
1508
|
+
"summary": "The top box under a stage point (the last one drawn wins)."
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
"id": "studio.transform-box.hitHandle",
|
|
1512
|
+
"export": "hitHandle",
|
|
1513
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1514
|
+
"kind": "function",
|
|
1515
|
+
"signature": "(frame: TbFrame, fit: TbFit, x: number, y: number, radius: number): TbHandle | null",
|
|
1516
|
+
"summary": "The handle within `radius` px of an element point; edge handles only when the box is big enough on screen."
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"id": "studio.nle-timeline/core.hitTest",
|
|
1520
|
+
"export": "hitTest",
|
|
1521
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1522
|
+
"kind": "function",
|
|
1523
|
+
"signature": "(doc: NleDoc, layout: NleLayout, vp: NleViewport, x: number, y: number, edge: number, metrics?: NleMetrics): NleHit",
|
|
1524
|
+
"summary": "What is under a point. `edge` is the trim grab distance (px)."
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
"id": "studio.nle-timeline/core.insertByCentre",
|
|
1528
|
+
"export": "insertByCentre",
|
|
1529
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1530
|
+
"kind": "function",
|
|
1531
|
+
"signature": "(others: readonly NleClip[], clip: NleClip, centre: number): NleClip[]",
|
|
1532
|
+
"summary": "The main lane's order with `clip` inserted where its centre time falls among the others."
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"id": "studio.nle-timeline/core.keysInWindow",
|
|
1536
|
+
"export": "keysInWindow",
|
|
1537
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1538
|
+
"kind": "function",
|
|
1539
|
+
"signature": "(doc: NleDoc, laneId: string, t0: number, t1: number, out?: NleKey[]): NleKey[]",
|
|
1540
|
+
"summary": "The keys of a lane between two times, by binary search."
|
|
1541
|
+
},
|
|
1542
|
+
{
|
|
1543
|
+
"id": "studio.nle-timeline.LANE_HEIGHT",
|
|
1544
|
+
"export": "LANE_HEIGHT",
|
|
1545
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1546
|
+
"kind": "constant",
|
|
1547
|
+
"signature": "Record<NleLaneKind, number>",
|
|
1548
|
+
"summary": "Each lane kind's height (px)."
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"id": "studio.nle-timeline/core.laneAt",
|
|
1552
|
+
"export": "laneAt",
|
|
1553
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1554
|
+
"kind": "function",
|
|
1555
|
+
"signature": "(layout: NleLayout, y: number, vp: NleViewport, metrics?: NleMetrics): NleLaneBox | null",
|
|
1556
|
+
"summary": "The lane box under element y, or null."
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"id": "studio.nle-timeline/core.laneById",
|
|
1560
|
+
"export": "laneById",
|
|
1561
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1562
|
+
"kind": "function",
|
|
1563
|
+
"signature": "(doc: NleDoc, id: string): NleLane | undefined",
|
|
1564
|
+
"summary": "The lane with an id."
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
"id": "studio.nle-timeline/core.laneClips",
|
|
1568
|
+
"export": "laneClips",
|
|
1569
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1570
|
+
"kind": "function",
|
|
1571
|
+
"signature": "(doc: NleDoc, laneId: string): readonly NleClip[]",
|
|
1572
|
+
"summary": "The lane's clips sorted by start (cached until the next clip or lane change)."
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"id": "studio.nle-timeline/core.laneKeys",
|
|
1576
|
+
"export": "laneKeys",
|
|
1577
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1578
|
+
"kind": "function",
|
|
1579
|
+
"signature": "(doc: NleDoc, laneId: string): readonly NleKey[]",
|
|
1580
|
+
"summary": "The keys of a lane by time (indexed once per doc version)."
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"id": "studio.nle-timeline/core.laneMaxDuration",
|
|
1584
|
+
"export": "laneMaxDuration",
|
|
1585
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1586
|
+
"kind": "function",
|
|
1587
|
+
"signature": "(doc: NleDoc, laneId: string): number",
|
|
1588
|
+
"summary": "The longest clip of a lane (cached per doc version), so a window search knows how far back a clip can start."
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"id": "studio.nle-timeline/core.laneTop",
|
|
1592
|
+
"export": "laneTop",
|
|
1593
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1594
|
+
"kind": "function",
|
|
1595
|
+
"signature": "(box: NleLaneBox, vp: NleViewport): number",
|
|
1596
|
+
"summary": "The screen y of a lane box."
|
|
1597
|
+
},
|
|
1598
|
+
{
|
|
1599
|
+
"id": "studio.nle-timeline/core.layoutLanes",
|
|
1600
|
+
"export": "layoutLanes",
|
|
1601
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1602
|
+
"kind": "function",
|
|
1603
|
+
"signature": "(doc: NleDoc, metrics?: NleMetrics): NleLayout",
|
|
1604
|
+
"summary": "Stacks the lanes under the ruler: each lane's box and the total height."
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"id": "studio.nle-timeline/core.lowerBound",
|
|
1608
|
+
"export": "lowerBound",
|
|
1609
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1610
|
+
"kind": "function",
|
|
1611
|
+
"signature": "(list: readonly { readonly start: number; }[], t: number): number",
|
|
1612
|
+
"summary": "First index in a start-sorted list whose start ≥ t."
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
"id": "studio.transform-box.mapBoxes",
|
|
1616
|
+
"export": "mapBoxes",
|
|
1617
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1618
|
+
"kind": "function",
|
|
1619
|
+
"signature": "(boxes: readonly TbBox[], from: TbFrame, to: TbFrame): TbBox[]",
|
|
1620
|
+
"summary": "Maps boxes from one selection frame to another (scaled inside it; each keeps its rotation)."
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"id": "studio.nle-timeline/core.minDuration",
|
|
1624
|
+
"export": "minDuration",
|
|
1625
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1626
|
+
"kind": "function",
|
|
1627
|
+
"signature": "(doc: NleDoc): number",
|
|
1628
|
+
"summary": "The shortest a clip may be."
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"id": "studio.transform-box/core.moveBoxes",
|
|
1632
|
+
"export": "moveBoxes",
|
|
1633
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
1634
|
+
"kind": "function",
|
|
1635
|
+
"signature": "(boxes: readonly TbBox[], dx: number, dy: number): TbBox[]",
|
|
1636
|
+
"summary": "The boxes moved by `dx`, `dy` stage units."
|
|
1637
|
+
},
|
|
1638
|
+
{
|
|
1639
|
+
"id": "studio.nle-timeline/core.MoveInput",
|
|
1640
|
+
"export": "MoveInput",
|
|
1641
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1642
|
+
"kind": "interface",
|
|
1643
|
+
"signature": "MoveInput",
|
|
1644
|
+
"summary": "What a move needs: the lead clip, the clips that move, the offset, the lane under the pointer and the snap targets."
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"id": "studio.nle-timeline/core.MoveResult",
|
|
1648
|
+
"export": "MoveResult",
|
|
1649
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1650
|
+
"kind": "interface",
|
|
1651
|
+
"signature": "MoveResult",
|
|
1652
|
+
"summary": "A computed move: the changes, and the time a moved edge snapped to."
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"id": "studio.nle-timeline/core.nearest",
|
|
1656
|
+
"export": "nearest",
|
|
1657
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1658
|
+
"kind": "function",
|
|
1659
|
+
"signature": "(targets: readonly number[], t: number, within: number): number | null",
|
|
1660
|
+
"summary": "The nearest target within `within` seconds, or null."
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"id": "studio.nle-timeline/core.NLE_DEFAULT_FPS",
|
|
1664
|
+
"export": "NLE_DEFAULT_FPS",
|
|
1665
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1666
|
+
"kind": "constant",
|
|
1667
|
+
"signature": "30",
|
|
1668
|
+
"summary": "The frame rate when the doc gives none."
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
"id": "studio.nle-timeline.NLE_KEYS",
|
|
1672
|
+
"export": "NLE_KEYS",
|
|
1673
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1674
|
+
"kind": "constant",
|
|
1675
|
+
"signature": "readonly (readonly [string, string])[]",
|
|
1676
|
+
"summary": "The keys, for the README and the help sheet of an app."
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
"id": "studio.nle-timeline.NLE_METRICS",
|
|
1680
|
+
"export": "NLE_METRICS",
|
|
1681
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1682
|
+
"kind": "constant",
|
|
1683
|
+
"signature": "NleMetrics",
|
|
1684
|
+
"summary": "The timeline's default metrics."
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"id": "studio.nle-timeline/core.NleChanges",
|
|
1688
|
+
"export": "NleChanges",
|
|
1689
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1690
|
+
"kind": "type",
|
|
1691
|
+
"signature": "NleChanges",
|
|
1692
|
+
"summary": "The changes of an edit, by clip id."
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"id": "studio.nle-timeline.NleClip",
|
|
1696
|
+
"export": "NleClip",
|
|
1697
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1698
|
+
"kind": "interface",
|
|
1699
|
+
"signature": "NleClip",
|
|
1700
|
+
"summary": "A clip on a lane: its place in time, its source window, its speed, and the keys of its filmstrip and waveform."
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"id": "studio.nle-timeline.NleClipChange",
|
|
1704
|
+
"export": "NleClipChange",
|
|
1705
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1706
|
+
"kind": "interface",
|
|
1707
|
+
"signature": "NleClipChange",
|
|
1708
|
+
"summary": "One clip's new placement."
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"id": "studio.nle-timeline.NleDoc",
|
|
1712
|
+
"export": "NleDoc",
|
|
1713
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1714
|
+
"kind": "interface",
|
|
1715
|
+
"signature": "NleDoc",
|
|
1716
|
+
"summary": "The timeline's data, with the lane indexes the engine and the hosts read."
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"id": "studio.nle-timeline/core.NleEmit",
|
|
1720
|
+
"export": "NleEmit",
|
|
1721
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1722
|
+
"kind": "type",
|
|
1723
|
+
"signature": "NleEmit",
|
|
1724
|
+
"summary": "How the engine raises an event on its host element."
|
|
1725
|
+
},
|
|
1726
|
+
{
|
|
1727
|
+
"id": "studio.nle-timeline.NleEngine",
|
|
1728
|
+
"export": "NleEngine",
|
|
1729
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1730
|
+
"kind": "class",
|
|
1731
|
+
"signature": "typeof NleEngine",
|
|
1732
|
+
"summary": "G9NleTimeline's behaviour without a host: pointers, wheel and keys in, the view and events out. Each host element runs it unchanged and only paints its state."
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"id": "studio.nle-timeline.NleEvents",
|
|
1736
|
+
"export": "NleEvents",
|
|
1737
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1738
|
+
"kind": "interface",
|
|
1739
|
+
"signature": "NleEvents",
|
|
1740
|
+
"summary": "The events (names as on the element; each detail is JSON)."
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"id": "studio.nle-timeline/core.NleHit",
|
|
1744
|
+
"export": "NleHit",
|
|
1745
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1746
|
+
"kind": "type",
|
|
1747
|
+
"signature": "NleHit",
|
|
1748
|
+
"summary": "What lies under a point: a clip (body or edge), a key, an empty lane, the ruler, the lane heads, or nothing."
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"id": "studio.nle-timeline.NleKey",
|
|
1752
|
+
"export": "NleKey",
|
|
1753
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1754
|
+
"kind": "interface",
|
|
1755
|
+
"signature": "NleKey",
|
|
1756
|
+
"summary": "A keyframe on a keys lane."
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"id": "studio.nle-timeline.NleKeyInput",
|
|
1760
|
+
"export": "NleKeyInput",
|
|
1761
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1762
|
+
"kind": "interface",
|
|
1763
|
+
"signature": "NleKeyInput",
|
|
1764
|
+
"summary": "A key press handed to the engine."
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"id": "studio.nle-timeline.NleLane",
|
|
1768
|
+
"export": "NleLane",
|
|
1769
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1770
|
+
"kind": "interface",
|
|
1771
|
+
"signature": "NleLane",
|
|
1772
|
+
"summary": "A lane: main (magnetic), free, keys or audio."
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"id": "studio.nle-timeline/core.NleLaneBox",
|
|
1776
|
+
"export": "NleLaneBox",
|
|
1777
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1778
|
+
"kind": "interface",
|
|
1779
|
+
"signature": "NleLaneBox",
|
|
1780
|
+
"summary": "A lane's place in the layout."
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
"id": "studio.nle-timeline.NleLaneKind",
|
|
1784
|
+
"export": "NleLaneKind",
|
|
1785
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1786
|
+
"kind": "type",
|
|
1787
|
+
"signature": "NleLaneKind",
|
|
1788
|
+
"summary": "`main`: magnetic (clips end to end from 0, no gaps). `free`: clips anywhere. `keys`: keyframe diamonds. `audio`: free, drawn as a waveform."
|
|
1789
|
+
},
|
|
1790
|
+
{
|
|
1791
|
+
"id": "studio.nle-timeline/core.NleLayout",
|
|
1792
|
+
"export": "NleLayout",
|
|
1793
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1794
|
+
"kind": "interface",
|
|
1795
|
+
"signature": "NleLayout",
|
|
1796
|
+
"summary": "The lanes stacked under the ruler."
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"id": "studio.nle-timeline.NleMarker",
|
|
1800
|
+
"export": "NleMarker",
|
|
1801
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1802
|
+
"kind": "interface",
|
|
1803
|
+
"signature": "NleMarker",
|
|
1804
|
+
"summary": "A named marker on the ruler."
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"id": "studio.nle-timeline.NleMetrics",
|
|
1808
|
+
"export": "NleMetrics",
|
|
1809
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1810
|
+
"kind": "interface",
|
|
1811
|
+
"signature": "NleMetrics",
|
|
1812
|
+
"summary": "The timeline's fixed sizes (px): ruler, lane heads, edge reach, snap distance."
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"id": "studio.nle-timeline/core.NleOverlay",
|
|
1816
|
+
"export": "NleOverlay",
|
|
1817
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1818
|
+
"kind": "interface",
|
|
1819
|
+
"signature": "NleOverlay",
|
|
1820
|
+
"summary": "What the painter draws over the doc while a gesture runs."
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"id": "studio.nle-timeline.NlePatch",
|
|
1824
|
+
"export": "NlePatch",
|
|
1825
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1826
|
+
"kind": "interface",
|
|
1827
|
+
"signature": "NlePatch",
|
|
1828
|
+
"summary": "A change of the data (invokeUIMethod `apply`, `port.apply`). Absent fields keep their value."
|
|
1829
|
+
},
|
|
1830
|
+
{
|
|
1831
|
+
"id": "studio.nle-timeline.NlePointer",
|
|
1832
|
+
"export": "NlePointer",
|
|
1833
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1834
|
+
"kind": "interface",
|
|
1835
|
+
"signature": "NlePointer",
|
|
1836
|
+
"summary": "A pointer event handed to the engine, in element px."
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
"id": "studio.nle-timeline.NleRange",
|
|
1840
|
+
"export": "NleRange",
|
|
1841
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1842
|
+
"kind": "interface",
|
|
1843
|
+
"signature": "NleRange",
|
|
1844
|
+
"summary": "A time range (seconds), start before end."
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"id": "studio.nle-timeline/core.NleSnapOptions",
|
|
1848
|
+
"export": "NleSnapOptions",
|
|
1849
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1850
|
+
"kind": "interface",
|
|
1851
|
+
"signature": "NleSnapOptions",
|
|
1852
|
+
"summary": "Which targets a snap considers."
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"id": "studio.nle-timeline.nleSnapshot",
|
|
1856
|
+
"export": "nleSnapshot",
|
|
1857
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1858
|
+
"kind": "function",
|
|
1859
|
+
"signature": "(doc: NleDoc): NlePatch",
|
|
1860
|
+
"summary": "The whole data as one patch (`reset: true`): what the port replays when the element mounts again."
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
"id": "studio.nle-timeline.NleTempo",
|
|
1864
|
+
"export": "NleTempo",
|
|
1865
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1866
|
+
"kind": "interface",
|
|
1867
|
+
"signature": "NleTempo",
|
|
1868
|
+
"summary": "A tempo grid: beats every 60 / bpm seconds from `offset`."
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"id": "studio.nle-timeline.NleTool",
|
|
1872
|
+
"export": "NleTool",
|
|
1873
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1874
|
+
"kind": "type",
|
|
1875
|
+
"signature": "NleTool",
|
|
1876
|
+
"summary": "The pointer tool: select (select, move, trim) or blade (a click splits)."
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"id": "studio.nle-timeline.NleVia",
|
|
1880
|
+
"export": "NleVia",
|
|
1881
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1882
|
+
"kind": "type",
|
|
1883
|
+
"signature": "NleVia",
|
|
1884
|
+
"summary": "How an edit was made."
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"id": "studio.nle-timeline/core.NleViewport",
|
|
1888
|
+
"export": "NleViewport",
|
|
1889
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1890
|
+
"kind": "interface",
|
|
1891
|
+
"signature": "NleViewport",
|
|
1892
|
+
"summary": "The timeline's view: the element's size, zoom (px per second), scroll (seconds) and vertical scroll (px)."
|
|
1893
|
+
},
|
|
1894
|
+
{
|
|
1895
|
+
"id": "studio.nle-timeline.NleWheel",
|
|
1896
|
+
"export": "NleWheel",
|
|
1897
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1898
|
+
"kind": "interface",
|
|
1899
|
+
"signature": "NleWheel",
|
|
1900
|
+
"summary": "A wheel or trackpad event handed to the engine."
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"id": "studio.transform-box.normDeg",
|
|
1904
|
+
"export": "normDeg",
|
|
1905
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1906
|
+
"kind": "function",
|
|
1907
|
+
"signature": "(d: number): number",
|
|
1908
|
+
"summary": "Degrees in (-180, 180]."
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
"id": "studio.nle-timeline/core.normRange",
|
|
1912
|
+
"export": "normRange",
|
|
1913
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1914
|
+
"kind": "function",
|
|
1915
|
+
"signature": "(range: NleRange): NleRange",
|
|
1916
|
+
"summary": "A range with start before end, both at 0 or later."
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"id": "studio.nle-timeline/core.packMain",
|
|
1920
|
+
"export": "packMain",
|
|
1921
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1922
|
+
"kind": "function",
|
|
1923
|
+
"signature": "(order: readonly NleClip[], laneId: string, changes: NleChanges, override?: NleChanges | undefined): void",
|
|
1924
|
+
"summary": "Packs a main lane's clips end to end from 0 in the given order."
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"id": "studio.nle-timeline/core.quantize",
|
|
1928
|
+
"export": "quantize",
|
|
1929
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
1930
|
+
"kind": "function",
|
|
1931
|
+
"signature": "(doc: NleDoc, t: number): number",
|
|
1932
|
+
"summary": "Rounds to the doc's frames."
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"id": "studio.transform-box.resizeFrame",
|
|
1936
|
+
"export": "resizeFrame",
|
|
1937
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1938
|
+
"kind": "function",
|
|
1939
|
+
"signature": "(start: TbFrame, handle: \"nw\" | \"n\" | \"ne\" | \"e\" | \"se\" | \"s\" | \"sw\" | \"w\", x: number, y: number, o: ResizeOptions): TbFrame",
|
|
1940
|
+
"summary": "Resizes `start` by dragging `handle` to stage point (x, y), in the frame's own rotated axes."
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"id": "studio.transform-box/core.ResizeOptions",
|
|
1944
|
+
"export": "ResizeOptions",
|
|
1945
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
1946
|
+
"kind": "interface",
|
|
1947
|
+
"signature": "ResizeOptions",
|
|
1948
|
+
"summary": "How a resize behaves: keep the aspect, scale from the centre, the smallest side."
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"id": "studio.transform-box/core.rotate",
|
|
1952
|
+
"export": "rotate",
|
|
1953
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
1954
|
+
"kind": "function",
|
|
1955
|
+
"signature": "(x: number, y: number, deg: number): [number, number]",
|
|
1956
|
+
"summary": "Rotates a vector by `deg` degrees clockwise (screen axes)."
|
|
1957
|
+
},
|
|
1958
|
+
{
|
|
1959
|
+
"id": "studio.transform-box.rotateBoxes",
|
|
1960
|
+
"export": "rotateBoxes",
|
|
1961
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1962
|
+
"kind": "function",
|
|
1963
|
+
"signature": "(boxes: readonly TbBox[], cx: number, cy: number, delta: number): TbBox[]",
|
|
1964
|
+
"summary": "Rotates boxes about a point by `delta` degrees."
|
|
1965
|
+
},
|
|
1966
|
+
{
|
|
1967
|
+
"id": "studio.nle-timeline.rulerStep",
|
|
1968
|
+
"export": "rulerStep",
|
|
1969
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
1970
|
+
"kind": "function",
|
|
1971
|
+
"signature": "(zoom: number, fps: number, minPx?: number): { major: number; minor: number; }",
|
|
1972
|
+
"summary": "The ruler's labelled step (seconds) and its minor ticks for a zoom: labels at least `minPx` apart."
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"id": "studio.transform-box.selectionFrame",
|
|
1976
|
+
"export": "selectionFrame",
|
|
1977
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1978
|
+
"kind": "function",
|
|
1979
|
+
"signature": "(boxes: readonly TbBox[]): TbFrame | null",
|
|
1980
|
+
"summary": "The frame the handles sit on: a box's own for one, the bounding box for several."
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"id": "studio.transform-box.snapAngle",
|
|
1984
|
+
"export": "snapAngle",
|
|
1985
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1986
|
+
"kind": "function",
|
|
1987
|
+
"signature": "(deg: number, step: number | null, magnet?: number): number",
|
|
1988
|
+
"summary": "Shift snaps to `step` degrees; otherwise right angles pull within `magnet`."
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"id": "studio.transform-box.snapMove",
|
|
1992
|
+
"export": "snapMove",
|
|
1993
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
1994
|
+
"kind": "function",
|
|
1995
|
+
"signature": "(moving: TbAabb, others: readonly TbAabb[], stage: { w: number; h: number; }, zones: readonly TbRect[], within: number): SnapResult",
|
|
1996
|
+
"summary": "Snaps a moving bounding box to the stage, its safe zones and the other boxes, within `within` stage units."
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
"id": "studio.transform-box/core.snapResize",
|
|
2000
|
+
"export": "snapResize",
|
|
2001
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
2002
|
+
"kind": "function",
|
|
2003
|
+
"signature": "(frame: TbFrame, handle: \"nw\" | \"n\" | \"ne\" | \"e\" | \"se\" | \"s\" | \"sw\" | \"w\", others: readonly TbAabb[], stage: { w: number; h: number; }, zones: readonly TbRect[], within: number): { frame: TbFrame; guides: TbGuide[]; }",
|
|
2004
|
+
"summary": "Snaps the moved edges of an unrotated frame being resized (the far edges stay)."
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
"id": "studio.transform-box/core.SnapResult",
|
|
2008
|
+
"export": "SnapResult",
|
|
2009
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
2010
|
+
"kind": "interface",
|
|
2011
|
+
"signature": "SnapResult",
|
|
2012
|
+
"summary": "A move after snapping: the corrected offset and the guides to draw."
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"id": "studio.nle-timeline/core.snapTargets",
|
|
2016
|
+
"export": "snapTargets",
|
|
2017
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
2018
|
+
"kind": "function",
|
|
2019
|
+
"signature": "(doc: NleDoc, exclude: ReadonlySet<string>, opts?: NleSnapOptions): number[]",
|
|
2020
|
+
"summary": "The times a moving edge snaps to (excluding clips in `exclude`)."
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"id": "studio.nle-timeline/core.sortedUnique",
|
|
2024
|
+
"export": "sortedUnique",
|
|
2025
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
2026
|
+
"kind": "function",
|
|
2027
|
+
"signature": "(times: number[]): number[]",
|
|
2028
|
+
"summary": "Sorted, de-duplicated snap times."
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
"id": "studio.nle-timeline.splitTargets",
|
|
2032
|
+
"export": "splitTargets",
|
|
2033
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
2034
|
+
"kind": "function",
|
|
2035
|
+
"signature": "(doc: NleDoc, time: number): string[]",
|
|
2036
|
+
"summary": "What a split at `time` cuts: the selected clips under it, else the main lane's clip under it."
|
|
2037
|
+
},
|
|
2038
|
+
{
|
|
2039
|
+
"id": "studio.transform-box.TB_KEYS",
|
|
2040
|
+
"export": "TB_KEYS",
|
|
2041
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2042
|
+
"kind": "constant",
|
|
2043
|
+
"signature": "readonly (readonly [string, string])[]",
|
|
2044
|
+
"summary": "G9TransformBox's keys and what each does, for a help sheet."
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"id": "studio.transform-box.TbAabb",
|
|
2048
|
+
"export": "TbAabb",
|
|
2049
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2050
|
+
"kind": "interface",
|
|
2051
|
+
"signature": "TbAabb",
|
|
2052
|
+
"summary": "Axis-aligned bounds (stage units)."
|
|
2053
|
+
},
|
|
2054
|
+
{
|
|
2055
|
+
"id": "studio.transform-box.TbBox",
|
|
2056
|
+
"export": "TbBox",
|
|
2057
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2058
|
+
"kind": "interface",
|
|
2059
|
+
"signature": "TbBox",
|
|
2060
|
+
"summary": "A box on the stage: top-left of the unrotated box, its size, degrees clockwise about its centre. Stage units."
|
|
2061
|
+
},
|
|
2062
|
+
{
|
|
2063
|
+
"id": "studio.transform-box/core.TbEmit",
|
|
2064
|
+
"export": "TbEmit",
|
|
2065
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box/core",
|
|
2066
|
+
"kind": "type",
|
|
2067
|
+
"signature": "TbEmit",
|
|
2068
|
+
"summary": "How the engine raises an event on its host element."
|
|
2069
|
+
},
|
|
2070
|
+
{
|
|
2071
|
+
"id": "studio.transform-box.TbEngine",
|
|
2072
|
+
"export": "TbEngine",
|
|
2073
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2074
|
+
"kind": "class",
|
|
2075
|
+
"signature": "typeof TbEngine",
|
|
2076
|
+
"summary": "G9TransformBox's behaviour without a host: pointers, wheel and keys in, boxes and events out. Each host element runs it unchanged and only paints its state."
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"id": "studio.transform-box.TbEvents",
|
|
2080
|
+
"export": "TbEvents",
|
|
2081
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2082
|
+
"kind": "interface",
|
|
2083
|
+
"signature": "TbEvents",
|
|
2084
|
+
"summary": "`<g9-transform-box>`'s events by name, with each one's `detail`."
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"id": "studio.transform-box.TbFit",
|
|
2088
|
+
"export": "TbFit",
|
|
2089
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2090
|
+
"kind": "interface",
|
|
2091
|
+
"signature": "TbFit",
|
|
2092
|
+
"summary": "Stage → element: `screen = offset + stage × scale`."
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
"id": "studio.transform-box.TbFrame",
|
|
2096
|
+
"export": "TbFrame",
|
|
2097
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2098
|
+
"kind": "interface",
|
|
2099
|
+
"signature": "TbFrame",
|
|
2100
|
+
"summary": "A box by its centre (what resizing and rotation work in)."
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"id": "studio.transform-box.TbGuide",
|
|
2104
|
+
"export": "TbGuide",
|
|
2105
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2106
|
+
"kind": "interface",
|
|
2107
|
+
"signature": "TbGuide",
|
|
2108
|
+
"summary": "A guide line to draw (stage units): vertical at x = `at` (axis x) or horizontal at y = `at`."
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"id": "studio.transform-box.TbHandle",
|
|
2112
|
+
"export": "TbHandle",
|
|
2113
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2114
|
+
"kind": "type",
|
|
2115
|
+
"signature": "TbHandle",
|
|
2116
|
+
"summary": "A handle of the selection frame: the eight resize handles by compass point, and `rot`."
|
|
2117
|
+
},
|
|
2118
|
+
{
|
|
2119
|
+
"id": "studio.transform-box.TbKeyInput",
|
|
2120
|
+
"export": "TbKeyInput",
|
|
2121
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2122
|
+
"kind": "interface",
|
|
2123
|
+
"signature": "TbKeyInput",
|
|
2124
|
+
"summary": "A key press handed to the engine."
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"id": "studio.transform-box.TbKind",
|
|
2128
|
+
"export": "TbKind",
|
|
2129
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2130
|
+
"kind": "type",
|
|
2131
|
+
"signature": "TbKind",
|
|
2132
|
+
"summary": "What a transform changes: position, size or rotation."
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"id": "studio.transform-box.TbMessage",
|
|
2136
|
+
"export": "TbMessage",
|
|
2137
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2138
|
+
"kind": "interface",
|
|
2139
|
+
"signature": "TbMessage",
|
|
2140
|
+
"summary": "A change of the element's data (invokeUIMethod `apply`)."
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"id": "studio.transform-box.TbPointer",
|
|
2144
|
+
"export": "TbPointer",
|
|
2145
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2146
|
+
"kind": "interface",
|
|
2147
|
+
"signature": "TbPointer",
|
|
2148
|
+
"summary": "A pointer event handed to the engine, in element px."
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
"id": "studio.transform-box.TbRect",
|
|
2152
|
+
"export": "TbRect",
|
|
2153
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2154
|
+
"kind": "interface",
|
|
2155
|
+
"signature": "TbRect",
|
|
2156
|
+
"summary": "An axis-aligned rectangle (stage units): the stage, a safe zone."
|
|
2157
|
+
},
|
|
2158
|
+
{
|
|
2159
|
+
"id": "studio.transform-box.TbVia",
|
|
2160
|
+
"export": "TbVia",
|
|
2161
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2162
|
+
"kind": "type",
|
|
2163
|
+
"signature": "TbVia",
|
|
2164
|
+
"summary": "How a transform was made."
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"id": "studio.transform-box.TbView",
|
|
2168
|
+
"export": "TbView",
|
|
2169
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2170
|
+
"kind": "interface",
|
|
2171
|
+
"signature": "TbView",
|
|
2172
|
+
"summary": "The current view (`tbview`): zoom and pan, and the scale and offset that map stage units to element px."
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"id": "studio.transform-box.TbWheel",
|
|
2176
|
+
"export": "TbWheel",
|
|
2177
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2178
|
+
"kind": "interface",
|
|
2179
|
+
"signature": "TbWheel",
|
|
2180
|
+
"summary": "A wheel or trackpad event handed to the engine."
|
|
2181
|
+
},
|
|
2182
|
+
{
|
|
2183
|
+
"id": "studio.nle-timeline/core.timeOf",
|
|
2184
|
+
"export": "timeOf",
|
|
2185
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
2186
|
+
"kind": "function",
|
|
2187
|
+
"signature": "(x: number, vp: NleViewport, metrics?: NleMetrics): number",
|
|
2188
|
+
"summary": "Element px to a time (seconds)."
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"id": "studio.transform-box.toScreen",
|
|
2192
|
+
"export": "toScreen",
|
|
2193
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2194
|
+
"kind": "function",
|
|
2195
|
+
"signature": "(fit: TbFit, x: number, y: number): [number, number]",
|
|
2196
|
+
"summary": "Stage units to element px under a fit."
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"id": "studio.transform-box.toStage",
|
|
2200
|
+
"export": "toStage",
|
|
2201
|
+
"from": "@g9tm/lynxcontrols-studio/transform-box",
|
|
2202
|
+
"kind": "function",
|
|
2203
|
+
"signature": "(fit: TbFit, sx: number, sy: number): [number, number]",
|
|
2204
|
+
"summary": "Element px to stage units under a fit."
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"id": "studio.nle-timeline/core.trackSpan",
|
|
2208
|
+
"export": "trackSpan",
|
|
2209
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
2210
|
+
"kind": "function",
|
|
2211
|
+
"signature": "(vp: NleViewport, metrics?: NleMetrics): [number, number]",
|
|
2212
|
+
"summary": "The track area's x range [x0, x1)."
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"id": "studio.nle-timeline/core.TrimInput",
|
|
2216
|
+
"export": "TrimInput",
|
|
2217
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
2218
|
+
"kind": "interface",
|
|
2219
|
+
"signature": "TrimInput",
|
|
2220
|
+
"summary": "What a trim needs: the clip, the edge, the offset and the snap targets."
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"id": "studio.nle-timeline.trimToTime",
|
|
2224
|
+
"export": "trimToTime",
|
|
2225
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline",
|
|
2226
|
+
"kind": "function",
|
|
2227
|
+
"signature": "(doc: NleDoc, id: string, edge: \"end\" | \"start\", time: number): MoveResult",
|
|
2228
|
+
"summary": "Trim to the playhead: `[` sets the start, `]` the end (when the playhead is inside the clip)."
|
|
2229
|
+
},
|
|
2230
|
+
{
|
|
2231
|
+
"id": "studio.nle-timeline/core.visibleTimes",
|
|
2232
|
+
"export": "visibleTimes",
|
|
2233
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
2234
|
+
"kind": "function",
|
|
2235
|
+
"signature": "(vp: NleViewport, metrics?: NleMetrics): [number, number]",
|
|
2236
|
+
"summary": "The visible time window."
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"id": "studio.nle-timeline/core.xOf",
|
|
2240
|
+
"export": "xOf",
|
|
2241
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
2242
|
+
"kind": "function",
|
|
2243
|
+
"signature": "(t: number, vp: NleViewport, metrics?: NleMetrics): number",
|
|
2244
|
+
"summary": "A time (seconds) to element px."
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"id": "studio.nle-timeline/core.zoomLimits",
|
|
2248
|
+
"export": "zoomLimits",
|
|
2249
|
+
"from": "@g9tm/lynxcontrols-studio/nle-timeline/core",
|
|
2250
|
+
"kind": "function",
|
|
2251
|
+
"signature": "(vp: NleViewport, contentEnd: number, metrics?: NleMetrics): [number, number]",
|
|
2252
|
+
"summary": "Zoom limits: from the whole film in the track up to 8 frames per 100 px... in practice 2,400 px/s."
|
|
2253
|
+
}
|
|
2254
|
+
]
|
|
2255
|
+
}
|