@g9tm/lynxcontrols-projects 0.0.0-stage → 2.5.8

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.
@@ -0,0 +1,1881 @@
1
+ {
2
+ "catalogVersion": 1,
3
+ "package": "@g9tm/lynxcontrols-projects",
4
+ "version": "2.5.8",
5
+ "generatedBy": "node scripts/check-docs.mjs --write",
6
+ "components": [
7
+ {
8
+ "id": "projects.projects.G9Board",
9
+ "export": "G9Board",
10
+ "from": "@g9tm/lynxcontrols-projects",
11
+ "kind": "component",
12
+ "family": "projects",
13
+ "summary": "A board: columns of cards an app draws, dragged on the main thread, with a quick add per column.",
14
+ "since": null,
15
+ "props": [
16
+ {
17
+ "name": "addLabel",
18
+ "type": {
19
+ "kind": "string"
20
+ },
21
+ "required": false,
22
+ "serializable": true,
23
+ "role": "content"
24
+ },
25
+ {
26
+ "name": "addPlaceholder",
27
+ "type": {
28
+ "kind": "string"
29
+ },
30
+ "required": false,
31
+ "serializable": true,
32
+ "role": "behaviour"
33
+ },
34
+ {
35
+ "name": "cancelLabel",
36
+ "type": {
37
+ "kind": "string"
38
+ },
39
+ "required": false,
40
+ "serializable": true,
41
+ "role": "content"
42
+ },
43
+ {
44
+ "name": "columns",
45
+ "type": {
46
+ "kind": "array",
47
+ "items": {
48
+ "kind": "object",
49
+ "fields": [
50
+ {
51
+ "name": "id",
52
+ "required": true,
53
+ "type": {
54
+ "kind": "string"
55
+ },
56
+ "serializable": true
57
+ },
58
+ {
59
+ "name": "title",
60
+ "required": true,
61
+ "type": {
62
+ "kind": "string"
63
+ },
64
+ "serializable": true
65
+ },
66
+ {
67
+ "name": "color",
68
+ "required": false,
69
+ "type": {
70
+ "kind": "color"
71
+ },
72
+ "serializable": true
73
+ },
74
+ {
75
+ "name": "items",
76
+ "required": true,
77
+ "type": {
78
+ "kind": "array",
79
+ "items": {
80
+ "kind": "unknown",
81
+ "text": "NonNullable<T>"
82
+ }
83
+ },
84
+ "serializable": false
85
+ },
86
+ {
87
+ "name": "limit",
88
+ "required": false,
89
+ "type": {
90
+ "kind": "number"
91
+ },
92
+ "serializable": true
93
+ },
94
+ {
95
+ "name": "locked",
96
+ "required": false,
97
+ "type": {
98
+ "kind": "boolean"
99
+ },
100
+ "serializable": true
101
+ }
102
+ ]
103
+ }
104
+ },
105
+ "required": true,
106
+ "serializable": false,
107
+ "role": "behaviour"
108
+ },
109
+ {
110
+ "name": "columnWidth",
111
+ "type": {
112
+ "kind": "number"
113
+ },
114
+ "required": false,
115
+ "default": 280,
116
+ "serializable": true,
117
+ "role": "appearance",
118
+ "doc": "A column's width in dp. Default 280."
119
+ },
120
+ {
121
+ "name": "emptyText",
122
+ "type": {
123
+ "kind": "string"
124
+ },
125
+ "required": false,
126
+ "serializable": true,
127
+ "role": "content",
128
+ "doc": "Under an empty column's head."
129
+ },
130
+ {
131
+ "name": "gap",
132
+ "type": {
133
+ "kind": "number"
134
+ },
135
+ "required": false,
136
+ "serializable": true,
137
+ "role": "behaviour"
138
+ },
139
+ {
140
+ "name": "getKey",
141
+ "type": {
142
+ "kind": "event",
143
+ "payload": "item: T",
144
+ "returns": "string"
145
+ },
146
+ "required": true,
147
+ "serializable": false,
148
+ "role": "event"
149
+ },
150
+ {
151
+ "name": "id",
152
+ "type": {
153
+ "kind": "string"
154
+ },
155
+ "required": false,
156
+ "serializable": true,
157
+ "role": "identity"
158
+ },
159
+ {
160
+ "name": "onAdd",
161
+ "type": {
162
+ "kind": "event",
163
+ "payload": "column: string, title: string"
164
+ },
165
+ "required": false,
166
+ "serializable": false,
167
+ "role": "event",
168
+ "doc": "The quick add at a column's foot."
169
+ },
170
+ {
171
+ "name": "onDragEnd",
172
+ "type": {
173
+ "kind": "event",
174
+ "payload": "key: string, moved: boolean"
175
+ },
176
+ "required": false,
177
+ "serializable": false,
178
+ "role": "event"
179
+ },
180
+ {
181
+ "name": "onDragStart",
182
+ "type": {
183
+ "kind": "event",
184
+ "payload": "key: string"
185
+ },
186
+ "required": false,
187
+ "serializable": false,
188
+ "role": "event"
189
+ },
190
+ {
191
+ "name": "onMove",
192
+ "type": {
193
+ "kind": "event",
194
+ "payload": "key: string, column: string, index: number, from: string"
195
+ },
196
+ "required": false,
197
+ "serializable": false,
198
+ "role": "event",
199
+ "doc": "A card dropped: its key, the column and the index there (among the others), and where it came from."
200
+ },
201
+ {
202
+ "name": "renderCard",
203
+ "type": {
204
+ "kind": "render",
205
+ "receives": [
206
+ {
207
+ "name": "item",
208
+ "type": "T"
209
+ },
210
+ {
211
+ "name": "state",
212
+ "type": "G9BoardCardState"
213
+ }
214
+ ],
215
+ "returns": "ReactNode"
216
+ },
217
+ "required": true,
218
+ "serializable": false,
219
+ "role": "slot"
220
+ },
221
+ {
222
+ "name": "renderColumnAccessory",
223
+ "type": {
224
+ "kind": "render",
225
+ "receives": [
226
+ {
227
+ "name": "column",
228
+ "type": "G9BoardColumn<T>"
229
+ }
230
+ ],
231
+ "returns": "ReactNode"
232
+ },
233
+ "required": false,
234
+ "serializable": false,
235
+ "role": "slot",
236
+ "doc": "A column's own words after its head (a menu, a filter)."
237
+ }
238
+ ],
239
+ "anchor": null,
240
+ "accessibility": {
241
+ "labelFrom": [],
242
+ "labelRequired": false
243
+ },
244
+ "targets": {
245
+ "android": "unmeasured",
246
+ "ios": "unmeasured",
247
+ "windows": "unmeasured",
248
+ "macos": "unmeasured",
249
+ "web": "unmeasured"
250
+ },
251
+ "evidence": {
252
+ "ledger": []
253
+ },
254
+ "tokens": [
255
+ "Error",
256
+ "OnPrimary",
257
+ "OnPrimaryContainer",
258
+ "OutlineVariant",
259
+ "Primary",
260
+ "PrimaryContainer",
261
+ "Success",
262
+ "Surface",
263
+ "SurfaceContainer",
264
+ "SurfaceContainerHigh",
265
+ "TextPrimary",
266
+ "TextSecondary",
267
+ "TextTertiary",
268
+ "Warning"
269
+ ],
270
+ "example": {
271
+ "line": "<G9Board columns={columns} getKey={getKey} renderCard={renderCard} />",
272
+ "from": "generated"
273
+ }
274
+ },
275
+ {
276
+ "id": "projects.projects.G9RuleBuilder",
277
+ "export": "G9RuleBuilder",
278
+ "from": "@g9tm/lynxcontrols-projects",
279
+ "kind": "component",
280
+ "family": "projects",
281
+ "summary": "An automation rule: When → If → Then, each step's editor the app's.",
282
+ "since": null,
283
+ "props": [
284
+ {
285
+ "name": "actionKinds",
286
+ "type": {
287
+ "kind": "array",
288
+ "items": {
289
+ "kind": "object",
290
+ "fields": [
291
+ {
292
+ "name": "key",
293
+ "required": true,
294
+ "type": {
295
+ "kind": "string"
296
+ },
297
+ "serializable": true
298
+ },
299
+ {
300
+ "name": "label",
301
+ "required": true,
302
+ "type": {
303
+ "kind": "string"
304
+ },
305
+ "serializable": true
306
+ },
307
+ {
308
+ "name": "description",
309
+ "required": false,
310
+ "type": {
311
+ "kind": "string"
312
+ },
313
+ "serializable": true
314
+ }
315
+ ]
316
+ }
317
+ },
318
+ "required": true,
319
+ "serializable": true,
320
+ "role": "behaviour"
321
+ },
322
+ {
323
+ "name": "actions",
324
+ "type": {
325
+ "kind": "array",
326
+ "items": {
327
+ "kind": "unknown",
328
+ "text": "NonNullable<A>"
329
+ }
330
+ },
331
+ "required": true,
332
+ "serializable": false,
333
+ "role": "behaviour"
334
+ },
335
+ {
336
+ "name": "conditionKinds",
337
+ "type": {
338
+ "kind": "array",
339
+ "items": {
340
+ "kind": "object",
341
+ "fields": [
342
+ {
343
+ "name": "key",
344
+ "required": true,
345
+ "type": {
346
+ "kind": "string"
347
+ },
348
+ "serializable": true
349
+ },
350
+ {
351
+ "name": "label",
352
+ "required": true,
353
+ "type": {
354
+ "kind": "string"
355
+ },
356
+ "serializable": true
357
+ },
358
+ {
359
+ "name": "description",
360
+ "required": false,
361
+ "type": {
362
+ "kind": "string"
363
+ },
364
+ "serializable": true
365
+ }
366
+ ]
367
+ }
368
+ },
369
+ "required": true,
370
+ "serializable": true,
371
+ "role": "behaviour",
372
+ "doc": "The kinds a condition may be (for this trigger)."
373
+ },
374
+ {
375
+ "name": "conditions",
376
+ "type": {
377
+ "kind": "array",
378
+ "items": {
379
+ "kind": "unknown",
380
+ "text": "NonNullable<C>"
381
+ }
382
+ },
383
+ "required": true,
384
+ "serializable": false,
385
+ "role": "behaviour"
386
+ },
387
+ {
388
+ "name": "footer",
389
+ "type": {
390
+ "kind": "slot",
391
+ "accepts": "any"
392
+ },
393
+ "required": false,
394
+ "serializable": false,
395
+ "role": "slot",
396
+ "doc": "Under the steps (preview, run, save)."
397
+ },
398
+ {
399
+ "name": "id",
400
+ "type": {
401
+ "kind": "string"
402
+ },
403
+ "required": false,
404
+ "serializable": true,
405
+ "role": "identity"
406
+ },
407
+ {
408
+ "name": "labels",
409
+ "type": {
410
+ "kind": "object",
411
+ "fields": [
412
+ {
413
+ "name": "when",
414
+ "required": true,
415
+ "type": {
416
+ "kind": "string"
417
+ },
418
+ "serializable": true
419
+ },
420
+ {
421
+ "name": "if",
422
+ "required": true,
423
+ "type": {
424
+ "kind": "string"
425
+ },
426
+ "serializable": true
427
+ },
428
+ {
429
+ "name": "then",
430
+ "required": true,
431
+ "type": {
432
+ "kind": "string"
433
+ },
434
+ "serializable": true
435
+ },
436
+ {
437
+ "name": "whenHint",
438
+ "required": false,
439
+ "type": {
440
+ "kind": "string"
441
+ },
442
+ "serializable": true
443
+ },
444
+ {
445
+ "name": "ifHint",
446
+ "required": false,
447
+ "type": {
448
+ "kind": "string"
449
+ },
450
+ "serializable": true
451
+ },
452
+ {
453
+ "name": "thenHint",
454
+ "required": false,
455
+ "type": {
456
+ "kind": "string"
457
+ },
458
+ "serializable": true
459
+ },
460
+ {
461
+ "name": "chooseTrigger",
462
+ "required": true,
463
+ "type": {
464
+ "kind": "string"
465
+ },
466
+ "serializable": true
467
+ },
468
+ {
469
+ "name": "addCondition",
470
+ "required": true,
471
+ "type": {
472
+ "kind": "string"
473
+ },
474
+ "serializable": true
475
+ },
476
+ {
477
+ "name": "addAction",
478
+ "required": true,
479
+ "type": {
480
+ "kind": "string"
481
+ },
482
+ "serializable": true
483
+ },
484
+ {
485
+ "name": "noConditions",
486
+ "required": false,
487
+ "type": {
488
+ "kind": "string"
489
+ },
490
+ "serializable": true
491
+ },
492
+ {
493
+ "name": "noActions",
494
+ "required": false,
495
+ "type": {
496
+ "kind": "string"
497
+ },
498
+ "serializable": true
499
+ },
500
+ {
501
+ "name": "remove",
502
+ "required": true,
503
+ "type": {
504
+ "kind": "string"
505
+ },
506
+ "serializable": true
507
+ },
508
+ {
509
+ "name": "moveUp",
510
+ "required": true,
511
+ "type": {
512
+ "kind": "string"
513
+ },
514
+ "serializable": true
515
+ },
516
+ {
517
+ "name": "moveDown",
518
+ "required": true,
519
+ "type": {
520
+ "kind": "string"
521
+ },
522
+ "serializable": true
523
+ }
524
+ ]
525
+ },
526
+ "required": true,
527
+ "serializable": true,
528
+ "role": "behaviour"
529
+ },
530
+ {
531
+ "name": "layout",
532
+ "type": {
533
+ "kind": "enum",
534
+ "values": [
535
+ "auto",
536
+ "columns",
537
+ "stack"
538
+ ]
539
+ },
540
+ "required": false,
541
+ "serializable": true,
542
+ "role": "behaviour",
543
+ "doc": "`'auto'` (default): columns on a wide window."
544
+ },
545
+ {
546
+ "name": "maxActions",
547
+ "type": {
548
+ "kind": "number"
549
+ },
550
+ "required": false,
551
+ "serializable": true,
552
+ "role": "behaviour"
553
+ },
554
+ {
555
+ "name": "maxConditions",
556
+ "type": {
557
+ "kind": "number"
558
+ },
559
+ "required": false,
560
+ "default": 10,
561
+ "serializable": true,
562
+ "role": "behaviour",
563
+ "doc": "Default 10 each."
564
+ },
565
+ {
566
+ "name": "onAddAction",
567
+ "type": {
568
+ "kind": "event",
569
+ "payload": "kind: string"
570
+ },
571
+ "required": true,
572
+ "serializable": false,
573
+ "role": "event"
574
+ },
575
+ {
576
+ "name": "onAddCondition",
577
+ "type": {
578
+ "kind": "event",
579
+ "payload": "kind: string"
580
+ },
581
+ "required": true,
582
+ "serializable": false,
583
+ "role": "event"
584
+ },
585
+ {
586
+ "name": "onMoveAction",
587
+ "type": {
588
+ "kind": "event",
589
+ "payload": "from: number, to: number"
590
+ },
591
+ "required": false,
592
+ "serializable": false,
593
+ "role": "event"
594
+ },
595
+ {
596
+ "name": "onRemoveAction",
597
+ "type": {
598
+ "kind": "event",
599
+ "payload": "index: number"
600
+ },
601
+ "required": true,
602
+ "serializable": false,
603
+ "role": "event"
604
+ },
605
+ {
606
+ "name": "onRemoveCondition",
607
+ "type": {
608
+ "kind": "event",
609
+ "payload": "index: number"
610
+ },
611
+ "required": true,
612
+ "serializable": false,
613
+ "role": "event"
614
+ },
615
+ {
616
+ "name": "onTriggerChange",
617
+ "type": {
618
+ "kind": "event",
619
+ "payload": "key: string"
620
+ },
621
+ "required": true,
622
+ "serializable": false,
623
+ "role": "event"
624
+ },
625
+ {
626
+ "name": "problem",
627
+ "type": {
628
+ "kind": "event",
629
+ "payload": "step: \"trigger\" | \"condition\" | \"action\", index: number",
630
+ "returns": "string | null | undefined"
631
+ },
632
+ "required": false,
633
+ "serializable": false,
634
+ "role": "event",
635
+ "doc": "An item's problem (the server's or the app's check): shown under it."
636
+ },
637
+ {
638
+ "name": "renderAction",
639
+ "type": {
640
+ "kind": "render",
641
+ "receives": [
642
+ {
643
+ "name": "item",
644
+ "type": "A"
645
+ },
646
+ {
647
+ "name": "index",
648
+ "type": "number"
649
+ }
650
+ ],
651
+ "returns": "ReactNode"
652
+ },
653
+ "required": true,
654
+ "serializable": false,
655
+ "role": "slot"
656
+ },
657
+ {
658
+ "name": "renderCondition",
659
+ "type": {
660
+ "kind": "render",
661
+ "receives": [
662
+ {
663
+ "name": "item",
664
+ "type": "C"
665
+ },
666
+ {
667
+ "name": "index",
668
+ "type": "number"
669
+ }
670
+ ],
671
+ "returns": "ReactNode"
672
+ },
673
+ "required": true,
674
+ "serializable": false,
675
+ "role": "slot"
676
+ },
677
+ {
678
+ "name": "renderTrigger",
679
+ "type": {
680
+ "kind": "render",
681
+ "receives": [
682
+ {
683
+ "name": "key",
684
+ "type": "string"
685
+ }
686
+ ],
687
+ "returns": "ReactNode"
688
+ },
689
+ "required": false,
690
+ "serializable": false,
691
+ "role": "slot",
692
+ "doc": "The chosen trigger's own settings."
693
+ },
694
+ {
695
+ "name": "trigger",
696
+ "type": {
697
+ "kind": "string"
698
+ },
699
+ "required": true,
700
+ "serializable": true,
701
+ "role": "behaviour"
702
+ },
703
+ {
704
+ "name": "triggers",
705
+ "type": {
706
+ "kind": "array",
707
+ "items": {
708
+ "kind": "object",
709
+ "fields": [
710
+ {
711
+ "name": "key",
712
+ "required": true,
713
+ "type": {
714
+ "kind": "string"
715
+ },
716
+ "serializable": true
717
+ },
718
+ {
719
+ "name": "label",
720
+ "required": true,
721
+ "type": {
722
+ "kind": "string"
723
+ },
724
+ "serializable": true
725
+ },
726
+ {
727
+ "name": "description",
728
+ "required": false,
729
+ "type": {
730
+ "kind": "string"
731
+ },
732
+ "serializable": true
733
+ }
734
+ ]
735
+ }
736
+ },
737
+ "required": true,
738
+ "serializable": true,
739
+ "role": "behaviour"
740
+ }
741
+ ],
742
+ "anchor": null,
743
+ "accessibility": {
744
+ "labelFrom": [],
745
+ "labelRequired": false
746
+ },
747
+ "targets": {
748
+ "android": "unmeasured",
749
+ "ios": "unmeasured",
750
+ "windows": "unmeasured",
751
+ "macos": "unmeasured",
752
+ "web": "unmeasured"
753
+ },
754
+ "evidence": {
755
+ "ledger": []
756
+ },
757
+ "tokens": [
758
+ "Error",
759
+ "OnPrimary",
760
+ "OnPrimaryContainer",
761
+ "OutlineVariant",
762
+ "Primary",
763
+ "PrimaryContainer",
764
+ "Success",
765
+ "Surface",
766
+ "SurfaceContainer",
767
+ "SurfaceContainerHigh",
768
+ "TextPrimary",
769
+ "TextSecondary",
770
+ "TextTertiary",
771
+ "Warning"
772
+ ],
773
+ "example": {
774
+ "line": "<G9RuleBuilder actionKinds={actionKinds} actions={actions} conditionKinds={conditionKinds} conditions={conditions} labels={labels} onAddAction={() => {}} onAddCondition={() => {}} onRemoveAction={() => {}} onRemoveCondition={() => {}} onTriggerChange={() => {}} renderAction={renderAction} renderCondition={renderCondition} trigger=\"trigger\" triggers={triggers} />",
775
+ "from": "generated"
776
+ }
777
+ },
778
+ {
779
+ "id": "projects.projects.G9TaskCard",
780
+ "export": "G9TaskCard",
781
+ "from": "@g9tm/lynxcontrols-projects",
782
+ "kind": "component",
783
+ "family": "projects",
784
+ "summary": "A task on a board or in a list.",
785
+ "since": null,
786
+ "props": [
787
+ {
788
+ "name": "accessibilityLabel",
789
+ "type": {
790
+ "kind": "string"
791
+ },
792
+ "required": false,
793
+ "serializable": true,
794
+ "role": "identity",
795
+ "doc": "Default: the code and the title."
796
+ },
797
+ {
798
+ "name": "blocked",
799
+ "type": {
800
+ "kind": "boolean"
801
+ },
802
+ "required": false,
803
+ "serializable": true,
804
+ "role": "state",
805
+ "doc": "Waits for unfinished tasks: a badge with `blockedLabel`."
806
+ },
807
+ {
808
+ "name": "blockedLabel",
809
+ "type": {
810
+ "kind": "string"
811
+ },
812
+ "required": false,
813
+ "serializable": true,
814
+ "role": "content"
815
+ },
816
+ {
817
+ "name": "checklist",
818
+ "type": {
819
+ "kind": "object",
820
+ "fields": [
821
+ {
822
+ "name": "done",
823
+ "required": true,
824
+ "type": {
825
+ "kind": "number"
826
+ },
827
+ "serializable": true
828
+ },
829
+ {
830
+ "name": "total",
831
+ "required": true,
832
+ "type": {
833
+ "kind": "number"
834
+ },
835
+ "serializable": true
836
+ }
837
+ ]
838
+ },
839
+ "required": false,
840
+ "serializable": true,
841
+ "role": "behaviour"
842
+ },
843
+ {
844
+ "name": "code",
845
+ "type": {
846
+ "kind": "string"
847
+ },
848
+ "required": false,
849
+ "serializable": true,
850
+ "role": "behaviour",
851
+ "doc": "The task's code (`WEB-12`), left to right."
852
+ },
853
+ {
854
+ "name": "color",
855
+ "type": {
856
+ "kind": "color"
857
+ },
858
+ "required": false,
859
+ "serializable": true,
860
+ "role": "behaviour",
861
+ "doc": "A colour stripe at the start (the project's, an epic's)."
862
+ },
863
+ {
864
+ "name": "cover",
865
+ "type": {
866
+ "kind": "string"
867
+ },
868
+ "required": false,
869
+ "serializable": true,
870
+ "role": "behaviour",
871
+ "doc": "A cover picture."
872
+ },
873
+ {
874
+ "name": "done",
875
+ "type": {
876
+ "kind": "boolean"
877
+ },
878
+ "required": false,
879
+ "serializable": true,
880
+ "role": "behaviour",
881
+ "doc": "Done: the title struck through and dimmed."
882
+ },
883
+ {
884
+ "name": "dragging",
885
+ "type": {
886
+ "kind": "boolean"
887
+ },
888
+ "required": false,
889
+ "serializable": true,
890
+ "role": "behaviour",
891
+ "doc": "Lifted by a drag (faded where it was)."
892
+ },
893
+ {
894
+ "name": "due",
895
+ "type": {
896
+ "kind": "object",
897
+ "fields": [
898
+ {
899
+ "name": "text",
900
+ "required": true,
901
+ "type": {
902
+ "kind": "string"
903
+ },
904
+ "serializable": true
905
+ },
906
+ {
907
+ "name": "tone",
908
+ "required": false,
909
+ "type": {
910
+ "kind": "enum",
911
+ "values": [
912
+ "success",
913
+ "warning",
914
+ "danger",
915
+ "neutral"
916
+ ]
917
+ },
918
+ "serializable": true
919
+ }
920
+ ]
921
+ },
922
+ "required": false,
923
+ "serializable": true,
924
+ "role": "behaviour"
925
+ },
926
+ {
927
+ "name": "id",
928
+ "type": {
929
+ "kind": "string"
930
+ },
931
+ "required": false,
932
+ "serializable": true,
933
+ "role": "identity"
934
+ },
935
+ {
936
+ "name": "labels",
937
+ "type": {
938
+ "kind": "array",
939
+ "items": {
940
+ "kind": "string"
941
+ }
942
+ },
943
+ "required": false,
944
+ "serializable": true,
945
+ "role": "behaviour",
946
+ "doc": "Up to three shown, then «+n»."
947
+ },
948
+ {
949
+ "name": "marks",
950
+ "type": {
951
+ "kind": "array",
952
+ "items": {
953
+ "kind": "union",
954
+ "of": [
955
+ {
956
+ "kind": "string"
957
+ },
958
+ {
959
+ "kind": "unknown",
960
+ "text": "G9GlyphIcon"
961
+ },
962
+ {
963
+ "kind": "unknown",
964
+ "text": "G9FontCodePointIcon"
965
+ },
966
+ {
967
+ "kind": "unknown",
968
+ "text": "G9FontTextIcon"
969
+ },
970
+ {
971
+ "kind": "unknown",
972
+ "text": "G9SvgIcon"
973
+ },
974
+ {
975
+ "kind": "unknown",
976
+ "text": "G9ImageIcon"
977
+ }
978
+ ]
979
+ }
980
+ },
981
+ "required": false,
982
+ "serializable": false,
983
+ "role": "behaviour",
984
+ "doc": "Where it came from (a message, a meeting, a form, a repeat): small icons after the code."
985
+ },
986
+ {
987
+ "name": "onLongPress",
988
+ "type": {
989
+ "kind": "event",
990
+ "payload": null
991
+ },
992
+ "required": false,
993
+ "serializable": false,
994
+ "role": "event"
995
+ },
996
+ {
997
+ "name": "onPress",
998
+ "type": {
999
+ "kind": "event",
1000
+ "payload": null
1001
+ },
1002
+ "required": false,
1003
+ "serializable": false,
1004
+ "role": "event"
1005
+ },
1006
+ {
1007
+ "name": "people",
1008
+ "type": {
1009
+ "kind": "array",
1010
+ "items": {
1011
+ "kind": "object",
1012
+ "fields": [
1013
+ {
1014
+ "name": "name",
1015
+ "required": true,
1016
+ "type": {
1017
+ "kind": "string"
1018
+ },
1019
+ "serializable": true
1020
+ },
1021
+ {
1022
+ "name": "image",
1023
+ "required": false,
1024
+ "type": {
1025
+ "kind": "string"
1026
+ },
1027
+ "serializable": true
1028
+ }
1029
+ ]
1030
+ }
1031
+ },
1032
+ "required": false,
1033
+ "serializable": true,
1034
+ "role": "behaviour"
1035
+ },
1036
+ {
1037
+ "name": "priority",
1038
+ "type": {
1039
+ "kind": "enum",
1040
+ "values": [
1041
+ "none",
1042
+ "medium",
1043
+ "low",
1044
+ "high",
1045
+ "urgent"
1046
+ ]
1047
+ },
1048
+ "required": false,
1049
+ "serializable": true,
1050
+ "role": "behaviour"
1051
+ },
1052
+ {
1053
+ "name": "priorityIcon",
1054
+ "type": {
1055
+ "kind": "icon",
1056
+ "text": "G9IconInput (a glyph name, «pack:icon», or an icon value)"
1057
+ },
1058
+ "required": false,
1059
+ "serializable": true,
1060
+ "role": "appearance",
1061
+ "doc": "The priority's icon instead of its glyph."
1062
+ },
1063
+ {
1064
+ "name": "priorityLabel",
1065
+ "type": {
1066
+ "kind": "string"
1067
+ },
1068
+ "required": false,
1069
+ "serializable": true,
1070
+ "role": "content",
1071
+ "doc": "The priority's words (spoken; the app's language)."
1072
+ },
1073
+ {
1074
+ "name": "title",
1075
+ "type": {
1076
+ "kind": "string"
1077
+ },
1078
+ "required": true,
1079
+ "serializable": true,
1080
+ "role": "content"
1081
+ }
1082
+ ],
1083
+ "anchor": null,
1084
+ "accessibility": {
1085
+ "labelFrom": [
1086
+ "title",
1087
+ "accessibilityLabel"
1088
+ ],
1089
+ "labelRequired": false
1090
+ },
1091
+ "targets": {
1092
+ "android": "unmeasured",
1093
+ "ios": "unmeasured",
1094
+ "windows": "unmeasured",
1095
+ "macos": "unmeasured",
1096
+ "web": "unmeasured"
1097
+ },
1098
+ "evidence": {
1099
+ "ledger": []
1100
+ },
1101
+ "tokens": [
1102
+ "Error",
1103
+ "Info",
1104
+ "OnPrimary",
1105
+ "OnPrimaryContainer",
1106
+ "OutlineVariant",
1107
+ "Primary",
1108
+ "PrimaryContainer",
1109
+ "Success",
1110
+ "Surface",
1111
+ "SurfaceContainer",
1112
+ "SurfaceContainerHigh",
1113
+ "TextPrimary",
1114
+ "TextSecondary",
1115
+ "TextTertiary",
1116
+ "Warning"
1117
+ ],
1118
+ "example": {
1119
+ "line": "<G9TaskCard title=\"Label\" />",
1120
+ "from": "generated"
1121
+ }
1122
+ },
1123
+ {
1124
+ "id": "projects.projects.G9Timeline",
1125
+ "export": "G9Timeline",
1126
+ "from": "@g9tm/lynxcontrols-projects",
1127
+ "kind": "component",
1128
+ "family": "projects",
1129
+ "summary": "A Gantt chart: rows and bars an app keeps, moved and resized on the main thread, in the culture's calendar.",
1130
+ "since": null,
1131
+ "props": [
1132
+ {
1133
+ "name": "barLabel",
1134
+ "type": {
1135
+ "kind": "event",
1136
+ "payload": "row: G9TimelineRow",
1137
+ "returns": "string"
1138
+ },
1139
+ "required": false,
1140
+ "serializable": false,
1141
+ "role": "event",
1142
+ "doc": "How a bar is spoken (default its title)."
1143
+ },
1144
+ {
1145
+ "name": "focusedKey",
1146
+ "type": {
1147
+ "kind": "string"
1148
+ },
1149
+ "required": false,
1150
+ "serializable": true,
1151
+ "role": "behaviour",
1152
+ "doc": "The row ringed (opened from elsewhere)."
1153
+ },
1154
+ {
1155
+ "name": "id",
1156
+ "type": {
1157
+ "kind": "string"
1158
+ },
1159
+ "required": false,
1160
+ "serializable": true,
1161
+ "role": "identity"
1162
+ },
1163
+ {
1164
+ "name": "labelWidth",
1165
+ "type": {
1166
+ "kind": "number"
1167
+ },
1168
+ "required": false,
1169
+ "default": 160,
1170
+ "serializable": true,
1171
+ "role": "appearance",
1172
+ "doc": "The titles column's width. Default 160."
1173
+ },
1174
+ {
1175
+ "name": "onOpen",
1176
+ "type": {
1177
+ "kind": "event",
1178
+ "payload": "key: string"
1179
+ },
1180
+ "required": false,
1181
+ "serializable": false,
1182
+ "role": "event",
1183
+ "doc": "A row's title or bar tapped."
1184
+ },
1185
+ {
1186
+ "name": "onSpanChange",
1187
+ "type": {
1188
+ "kind": "event",
1189
+ "payload": "key: string, span: G9DaySpan"
1190
+ },
1191
+ "required": false,
1192
+ "serializable": false,
1193
+ "role": "event",
1194
+ "doc": "A bar moved or resized (or an unscheduled row tapped: a day at the tap)."
1195
+ },
1196
+ {
1197
+ "name": "onZoomChange",
1198
+ "type": {
1199
+ "kind": "event",
1200
+ "payload": "zoom: G9TimelineZoom"
1201
+ },
1202
+ "required": false,
1203
+ "serializable": false,
1204
+ "role": "event",
1205
+ "doc": "A zoom switcher over the chart, in the app's words."
1206
+ },
1207
+ {
1208
+ "name": "range",
1209
+ "type": {
1210
+ "kind": "object",
1211
+ "fields": [
1212
+ {
1213
+ "name": "from",
1214
+ "required": true,
1215
+ "type": {
1216
+ "kind": "number"
1217
+ },
1218
+ "serializable": true
1219
+ },
1220
+ {
1221
+ "name": "to",
1222
+ "required": true,
1223
+ "type": {
1224
+ "kind": "number"
1225
+ },
1226
+ "serializable": true
1227
+ }
1228
+ ]
1229
+ },
1230
+ "required": false,
1231
+ "serializable": true,
1232
+ "role": "behaviour",
1233
+ "doc": "The range drawn (epoch days); default every bar and today, padded."
1234
+ },
1235
+ {
1236
+ "name": "rowHeight",
1237
+ "type": {
1238
+ "kind": "number"
1239
+ },
1240
+ "required": false,
1241
+ "serializable": true,
1242
+ "role": "appearance"
1243
+ },
1244
+ {
1245
+ "name": "rows",
1246
+ "type": {
1247
+ "kind": "array",
1248
+ "items": {
1249
+ "kind": "object",
1250
+ "fields": [
1251
+ {
1252
+ "name": "key",
1253
+ "required": true,
1254
+ "type": {
1255
+ "kind": "string"
1256
+ },
1257
+ "serializable": true
1258
+ },
1259
+ {
1260
+ "name": "kind",
1261
+ "required": false,
1262
+ "type": {
1263
+ "kind": "enum",
1264
+ "values": [
1265
+ "item",
1266
+ "group",
1267
+ "milestone"
1268
+ ]
1269
+ },
1270
+ "serializable": true
1271
+ },
1272
+ {
1273
+ "name": "title",
1274
+ "required": true,
1275
+ "type": {
1276
+ "kind": "string"
1277
+ },
1278
+ "serializable": true
1279
+ },
1280
+ {
1281
+ "name": "span",
1282
+ "required": false,
1283
+ "type": {
1284
+ "kind": "unknown",
1285
+ "text": "G9DaySpan"
1286
+ },
1287
+ "serializable": false
1288
+ },
1289
+ {
1290
+ "name": "day",
1291
+ "required": false,
1292
+ "type": {
1293
+ "kind": "number"
1294
+ },
1295
+ "serializable": true
1296
+ },
1297
+ {
1298
+ "name": "color",
1299
+ "required": false,
1300
+ "type": {
1301
+ "kind": "color"
1302
+ },
1303
+ "serializable": true
1304
+ },
1305
+ {
1306
+ "name": "done",
1307
+ "required": false,
1308
+ "type": {
1309
+ "kind": "boolean"
1310
+ },
1311
+ "serializable": true
1312
+ },
1313
+ {
1314
+ "name": "blocked",
1315
+ "required": false,
1316
+ "type": {
1317
+ "kind": "boolean"
1318
+ },
1319
+ "serializable": true
1320
+ },
1321
+ {
1322
+ "name": "progress",
1323
+ "required": false,
1324
+ "type": {
1325
+ "kind": "number"
1326
+ },
1327
+ "serializable": true
1328
+ },
1329
+ {
1330
+ "name": "dependsOn",
1331
+ "required": false,
1332
+ "type": {
1333
+ "kind": "array",
1334
+ "items": {
1335
+ "kind": "string"
1336
+ }
1337
+ },
1338
+ "serializable": true
1339
+ },
1340
+ {
1341
+ "name": "locked",
1342
+ "required": false,
1343
+ "type": {
1344
+ "kind": "boolean"
1345
+ },
1346
+ "serializable": true
1347
+ }
1348
+ ]
1349
+ }
1350
+ },
1351
+ "required": true,
1352
+ "serializable": false,
1353
+ "role": "state"
1354
+ },
1355
+ {
1356
+ "name": "showLinks",
1357
+ "type": {
1358
+ "kind": "boolean"
1359
+ },
1360
+ "required": false,
1361
+ "default": true,
1362
+ "serializable": true,
1363
+ "role": "behaviour",
1364
+ "doc": "Arrows for `dependsOn`. Default true."
1365
+ },
1366
+ {
1367
+ "name": "today",
1368
+ "type": {
1369
+ "kind": "number"
1370
+ },
1371
+ "required": true,
1372
+ "serializable": true,
1373
+ "role": "behaviour",
1374
+ "doc": "Today (epoch days)."
1375
+ },
1376
+ {
1377
+ "name": "todayLabel",
1378
+ "type": {
1379
+ "kind": "string"
1380
+ },
1381
+ "required": false,
1382
+ "serializable": true,
1383
+ "role": "content"
1384
+ },
1385
+ {
1386
+ "name": "weekend",
1387
+ "type": {
1388
+ "kind": "array",
1389
+ "items": {
1390
+ "kind": "number"
1391
+ }
1392
+ },
1393
+ "required": false,
1394
+ "serializable": true,
1395
+ "role": "behaviour",
1396
+ "doc": "Weekdays shaded (0 Sunday … 6 Saturday). Default Friday in Persian, Saturday and Sunday elsewhere."
1397
+ },
1398
+ {
1399
+ "name": "weekStartsOn",
1400
+ "type": {
1401
+ "kind": "number"
1402
+ },
1403
+ "required": false,
1404
+ "serializable": true,
1405
+ "role": "behaviour",
1406
+ "doc": "The week's first day. Default Saturday in Persian, Monday elsewhere."
1407
+ },
1408
+ {
1409
+ "name": "zoom",
1410
+ "type": {
1411
+ "kind": "enum",
1412
+ "values": [
1413
+ "month",
1414
+ "week",
1415
+ "quarter"
1416
+ ]
1417
+ },
1418
+ "required": false,
1419
+ "serializable": true,
1420
+ "role": "behaviour"
1421
+ },
1422
+ {
1423
+ "name": "zoomLabels",
1424
+ "type": {
1425
+ "kind": "object",
1426
+ "fields": [
1427
+ {
1428
+ "name": "month",
1429
+ "required": true,
1430
+ "type": {
1431
+ "kind": "unknown"
1432
+ },
1433
+ "serializable": false
1434
+ },
1435
+ {
1436
+ "name": "week",
1437
+ "required": true,
1438
+ "type": {
1439
+ "kind": "unknown"
1440
+ },
1441
+ "serializable": false
1442
+ },
1443
+ {
1444
+ "name": "quarter",
1445
+ "required": true,
1446
+ "type": {
1447
+ "kind": "unknown"
1448
+ },
1449
+ "serializable": false
1450
+ }
1451
+ ]
1452
+ },
1453
+ "required": false,
1454
+ "serializable": false,
1455
+ "role": "behaviour"
1456
+ }
1457
+ ],
1458
+ "anchor": null,
1459
+ "accessibility": {
1460
+ "labelFrom": [],
1461
+ "labelRequired": false
1462
+ },
1463
+ "targets": {
1464
+ "android": "unmeasured",
1465
+ "ios": "unmeasured",
1466
+ "windows": "unmeasured",
1467
+ "macos": "unmeasured",
1468
+ "web": "unmeasured"
1469
+ },
1470
+ "evidence": {
1471
+ "ledger": []
1472
+ },
1473
+ "tokens": [
1474
+ "Error",
1475
+ "OnPrimary",
1476
+ "OnPrimaryContainer",
1477
+ "OutlineVariant",
1478
+ "Primary",
1479
+ "PrimaryContainer",
1480
+ "Success",
1481
+ "Surface",
1482
+ "SurfaceContainer",
1483
+ "SurfaceContainerHigh",
1484
+ "TextPrimary",
1485
+ "TextSecondary",
1486
+ "TextTertiary",
1487
+ "Warning"
1488
+ ],
1489
+ "example": {
1490
+ "line": "<G9Timeline rows={rows} today={1} />",
1491
+ "from": "generated"
1492
+ }
1493
+ }
1494
+ ],
1495
+ "exports": [
1496
+ {
1497
+ "id": "projects.model.boardColumnWidth",
1498
+ "export": "boardColumnWidth",
1499
+ "from": "@g9tm/lynxcontrols-projects/model",
1500
+ "kind": "function",
1501
+ "signature": "(paneWidth: number, windowWidth: number, padding: number, gap: number, count: number): number",
1502
+ "summary": "A column's width: at least `min(264, 82% of the window)`, sharing the pane when it is wide, at most 384."
1503
+ },
1504
+ {
1505
+ "id": "projects.model.boardDropTarget",
1506
+ "export": "boardDropTarget",
1507
+ "from": "@g9tm/lynxcontrols-projects/model",
1508
+ "kind": "function",
1509
+ "signature": "(geo: G9BoardGeometry, x: number, y: number, scrollLeft: number, columnScroll: Readonly<Record<string, number>>, dragged: string): G9DropTarget | null",
1510
+ "summary": "Where a card held at (`x`, `y`) would drop: the column under the finger (the nearest in a gap or past the ends) and the index among its cards without the lifted one. `scrollLeft` and `columnScroll` are the scroll positions now."
1511
+ },
1512
+ {
1513
+ "id": "projects.model.boardDropTargetMT",
1514
+ "export": "boardDropTargetMT",
1515
+ "from": "@g9tm/lynxcontrols-projects/model",
1516
+ "kind": "function",
1517
+ "signature": "(geo: G9BoardGeometry, x: number, y: number, scrollLeft: number, columnScroll: Readonly<Record<string, number>>, dragged: string): G9DropTarget | null",
1518
+ "summary": "`boardDropTarget` on the main thread."
1519
+ },
1520
+ {
1521
+ "id": "projects.model.dayToX",
1522
+ "export": "dayToX",
1523
+ "from": "@g9tm/lynxcontrols-projects/model",
1524
+ "kind": "function",
1525
+ "signature": "(day: number, scale: G9TimelineScale): number",
1526
+ "summary": "A day's logical x (from the reading start)."
1527
+ },
1528
+ {
1529
+ "id": "projects.model.dragSpan",
1530
+ "export": "dragSpan",
1531
+ "from": "@g9tm/lynxcontrols-projects/model",
1532
+ "kind": "function",
1533
+ "signature": "(span: G9DaySpan, mode: G9SpanDrag, delta: number): G9DaySpan",
1534
+ "summary": "A span after a drag of `delta` days (an end never passes the other)."
1535
+ },
1536
+ {
1537
+ "id": "projects.model.dragSpanMT",
1538
+ "export": "dragSpanMT",
1539
+ "from": "@g9tm/lynxcontrols-projects/model",
1540
+ "kind": "function",
1541
+ "signature": "(start: number, end: number, mode: G9SpanDrag, delta: number): [number, number]",
1542
+ "summary": "`dragSpan` on the main thread (start and end apart, so no object crosses)."
1543
+ },
1544
+ {
1545
+ "id": "projects.model.edgeRate",
1546
+ "export": "edgeRate",
1547
+ "from": "@g9tm/lynxcontrols-projects/model",
1548
+ "kind": "function",
1549
+ "signature": "(position: number, start: number, end: number, zone?: number, max?: number): number",
1550
+ "summary": "The auto-scroll speed (px/s) for a pointer at `position` along a scroller over [`start`, `end`]: negative within `zone` of the start, positive near the end, faster closer to the edge; 0 elsewhere (and in a scroller too small)."
1551
+ },
1552
+ {
1553
+ "id": "projects.model.edgeRateMT",
1554
+ "export": "edgeRateMT",
1555
+ "from": "@g9tm/lynxcontrols-projects/model",
1556
+ "kind": "function",
1557
+ "signature": "(position: number, start: number, end: number, zone?: number, max?: number): number",
1558
+ "summary": "`edgeRate` on the main thread."
1559
+ },
1560
+ {
1561
+ "id": "projects.projects.G9BoardCardState",
1562
+ "export": "G9BoardCardState",
1563
+ "from": "@g9tm/lynxcontrols-projects",
1564
+ "kind": "interface",
1565
+ "signature": "G9BoardCardState",
1566
+ "summary": "What a card is told while it is drawn."
1567
+ },
1568
+ {
1569
+ "id": "projects.projects.G9BoardColumn",
1570
+ "export": "G9BoardColumn",
1571
+ "from": "@g9tm/lynxcontrols-projects",
1572
+ "kind": "interface",
1573
+ "signature": "G9BoardColumn<T>",
1574
+ "summary": "A column of the board."
1575
+ },
1576
+ {
1577
+ "id": "projects.model.G9BoardGeometry",
1578
+ "export": "G9BoardGeometry",
1579
+ "from": "@g9tm/lynxcontrols-projects/model",
1580
+ "kind": "interface",
1581
+ "signature": "G9BoardGeometry",
1582
+ "summary": "The board when a card was lifted."
1583
+ },
1584
+ {
1585
+ "id": "projects.projects.G9BoardProps",
1586
+ "export": "G9BoardProps",
1587
+ "from": "@g9tm/lynxcontrols-projects",
1588
+ "kind": "interface",
1589
+ "signature": "G9BoardProps<T>",
1590
+ "summary": "Props of `G9Board`."
1591
+ },
1592
+ {
1593
+ "id": "projects.model.G9CardBox",
1594
+ "export": "G9CardBox",
1595
+ "from": "@g9tm/lynxcontrols-projects/model",
1596
+ "kind": "interface",
1597
+ "signature": "G9CardBox",
1598
+ "summary": "A card's box in a column, measured when a card is lifted (page px)."
1599
+ },
1600
+ {
1601
+ "id": "projects.model.G9ColumnBox",
1602
+ "export": "G9ColumnBox",
1603
+ "from": "@g9tm/lynxcontrols-projects/model",
1604
+ "kind": "interface",
1605
+ "signature": "G9ColumnBox",
1606
+ "summary": "A column's box and its cards, measured when a card is lifted."
1607
+ },
1608
+ {
1609
+ "id": "projects.model.G9DaySpan",
1610
+ "export": "G9DaySpan",
1611
+ "from": "@g9tm/lynxcontrols-projects/model",
1612
+ "kind": "interface",
1613
+ "signature": "G9DaySpan",
1614
+ "summary": "A bar: its first and last day (epoch days), inclusive."
1615
+ },
1616
+ {
1617
+ "id": "projects.model.G9DropTarget",
1618
+ "export": "G9DropTarget",
1619
+ "from": "@g9tm/lynxcontrols-projects/model",
1620
+ "kind": "interface",
1621
+ "signature": "G9DropTarget",
1622
+ "summary": "Where a lifted card would land."
1623
+ },
1624
+ {
1625
+ "id": "projects.projects.G9DueTone",
1626
+ "export": "G9DueTone",
1627
+ "from": "@g9tm/lynxcontrols-projects",
1628
+ "kind": "type",
1629
+ "signature": "G9DueTone",
1630
+ "summary": "The tone of a due date: due soon, overdue, done in time."
1631
+ },
1632
+ {
1633
+ "id": "projects.projects.G9RuleBuilderLabels",
1634
+ "export": "G9RuleBuilderLabels",
1635
+ "from": "@g9tm/lynxcontrols-projects",
1636
+ "kind": "interface",
1637
+ "signature": "G9RuleBuilderLabels",
1638
+ "summary": "The builder's words (the app's language)."
1639
+ },
1640
+ {
1641
+ "id": "projects.projects.G9RuleBuilderProps",
1642
+ "export": "G9RuleBuilderProps",
1643
+ "from": "@g9tm/lynxcontrols-projects",
1644
+ "kind": "interface",
1645
+ "signature": "G9RuleBuilderProps<C, A>",
1646
+ "summary": "Props of `G9RuleBuilder`."
1647
+ },
1648
+ {
1649
+ "id": "projects.projects.G9RuleKind",
1650
+ "export": "G9RuleKind",
1651
+ "from": "@g9tm/lynxcontrols-projects",
1652
+ "kind": "interface",
1653
+ "signature": "G9RuleKind",
1654
+ "summary": "A kind of trigger, condition or action."
1655
+ },
1656
+ {
1657
+ "id": "projects.model.G9Segment",
1658
+ "export": "G9Segment",
1659
+ "from": "@g9tm/lynxcontrols-projects/model",
1660
+ "kind": "interface",
1661
+ "signature": "G9Segment",
1662
+ "summary": "A straight piece of a dependency arrow (logical px): horizontal (`w`) or vertical (`h`)."
1663
+ },
1664
+ {
1665
+ "id": "projects.model.G9SpanDrag",
1666
+ "export": "G9SpanDrag",
1667
+ "from": "@g9tm/lynxcontrols-projects/model",
1668
+ "kind": "type",
1669
+ "signature": "G9SpanDrag",
1670
+ "summary": "What a bar drag does: move it, or one of its ends."
1671
+ },
1672
+ {
1673
+ "id": "projects.projects.G9TaskCardProps",
1674
+ "export": "G9TaskCardProps",
1675
+ "from": "@g9tm/lynxcontrols-projects",
1676
+ "kind": "interface",
1677
+ "signature": "G9TaskCardProps",
1678
+ "summary": "Props of `G9TaskCard`."
1679
+ },
1680
+ {
1681
+ "id": "projects.projects.G9TaskPerson",
1682
+ "export": "G9TaskPerson",
1683
+ "from": "@g9tm/lynxcontrols-projects",
1684
+ "kind": "interface",
1685
+ "signature": "G9TaskPerson",
1686
+ "summary": "A person on a task."
1687
+ },
1688
+ {
1689
+ "id": "projects.projects.G9TaskPriority",
1690
+ "export": "G9TaskPriority",
1691
+ "from": "@g9tm/lynxcontrols-projects",
1692
+ "kind": "type",
1693
+ "signature": "G9TaskPriority",
1694
+ "summary": "How urgent a task is (none has no mark)."
1695
+ },
1696
+ {
1697
+ "id": "projects.projects.G9TimelineProps",
1698
+ "export": "G9TimelineProps",
1699
+ "from": "@g9tm/lynxcontrols-projects",
1700
+ "kind": "interface",
1701
+ "signature": "G9TimelineProps",
1702
+ "summary": "Props of `G9Timeline`."
1703
+ },
1704
+ {
1705
+ "id": "projects.projects.G9TimelineRow",
1706
+ "export": "G9TimelineRow",
1707
+ "from": "@g9tm/lynxcontrols-projects",
1708
+ "kind": "interface",
1709
+ "signature": "G9TimelineRow",
1710
+ "summary": "One row of the timeline."
1711
+ },
1712
+ {
1713
+ "id": "projects.model.G9TimelineScale",
1714
+ "export": "G9TimelineScale",
1715
+ "from": "@g9tm/lynxcontrols-projects/model",
1716
+ "kind": "interface",
1717
+ "signature": "G9TimelineScale",
1718
+ "summary": "The chart's scale: the day at x = 0, the px of a day and how many days it covers."
1719
+ },
1720
+ {
1721
+ "id": "projects.model.G9TimelineZoom",
1722
+ "export": "G9TimelineZoom",
1723
+ "from": "@g9tm/lynxcontrols-projects/model",
1724
+ "kind": "type",
1725
+ "signature": "G9TimelineZoom",
1726
+ "summary": "How wide a day is: a week ≈ 280, 112 or 35 px."
1727
+ },
1728
+ {
1729
+ "id": "projects.model.g9TimelineZoomPx",
1730
+ "export": "g9TimelineZoomPx",
1731
+ "from": "@g9tm/lynxcontrols-projects/model",
1732
+ "kind": "constant",
1733
+ "signature": "Readonly<Record<G9TimelineZoom, number>>",
1734
+ "summary": "Pixels per day at each zoom."
1735
+ },
1736
+ {
1737
+ "id": "projects.model.linkSegments",
1738
+ "export": "linkSegments",
1739
+ "from": "@g9tm/lynxcontrols-projects/model",
1740
+ "kind": "function",
1741
+ "signature": "(x1: number, y1: number, x2: number, y2: number, rowHeight: number): G9Segment[]",
1742
+ "summary": "A «blocked by» arrow from the blocker's end (x1, y1) to the task's start (x2, y2): across, down or up, across — or around the row's edge when the task starts before the blocker ends."
1743
+ },
1744
+ {
1745
+ "id": "projects.model.monthStartOf",
1746
+ "export": "monthStartOf",
1747
+ "from": "@g9tm/lynxcontrols-projects/model",
1748
+ "kind": "function",
1749
+ "signature": "(day: number, calendar: G9CalendarSystem): number",
1750
+ "summary": "The first day of the month `day` is in, on a calendar."
1751
+ },
1752
+ {
1753
+ "id": "projects.model.monthStarts",
1754
+ "export": "monthStarts",
1755
+ "from": "@g9tm/lynxcontrols-projects/model",
1756
+ "kind": "function",
1757
+ "signature": "(from: number, to: number, calendar: G9CalendarSystem): number[]",
1758
+ "summary": "The first days of the months over [from, to] (from's own month first)."
1759
+ },
1760
+ {
1761
+ "id": "projects.model.moveKey",
1762
+ "export": "moveKey",
1763
+ "from": "@g9tm/lynxcontrols-projects/model",
1764
+ "kind": "function",
1765
+ "signature": "(keys: readonly string[], key: string, index: number): string[]",
1766
+ "summary": "The keys of a column after `key` moves to `index` in it (it leaves its old place first)."
1767
+ },
1768
+ {
1769
+ "id": "projects.model.nextMonthStart",
1770
+ "export": "nextMonthStart",
1771
+ "from": "@g9tm/lynxcontrols-projects/model",
1772
+ "kind": "function",
1773
+ "signature": "(day: number, calendar: G9CalendarSystem): number",
1774
+ "summary": "The first day of the next month."
1775
+ },
1776
+ {
1777
+ "id": "projects.model.physicalLeft",
1778
+ "export": "physicalLeft",
1779
+ "from": "@g9tm/lynxcontrols-projects/model",
1780
+ "kind": "function",
1781
+ "signature": "(x: number, w: number, width: number, rtl: boolean): number",
1782
+ "summary": "The physical left of a logical [x, x + w) in a chart `width` wide (mirrored right to left)."
1783
+ },
1784
+ {
1785
+ "id": "projects.model.rowWindow",
1786
+ "export": "rowWindow",
1787
+ "from": "@g9tm/lynxcontrols-projects/model",
1788
+ "kind": "function",
1789
+ "signature": "(scrollTop: number, viewHeight: number, rowHeight: number, count: number, overscan?: number): { readonly first: number; readonly last: number; }",
1790
+ "summary": "The rows to draw for a vertical scroll (fixed row height, `overscan` on both sides)."
1791
+ },
1792
+ {
1793
+ "id": "projects.model.scrollForX",
1794
+ "export": "scrollForX",
1795
+ "from": "@g9tm/lynxcontrols-projects/model",
1796
+ "kind": "function",
1797
+ "signature": "(x: number, viewWidth: number, width: number, rtl: boolean): number",
1798
+ "summary": "The scroll offset that puts logical `x` a third into the visible window."
1799
+ },
1800
+ {
1801
+ "id": "projects.model.snapDays",
1802
+ "export": "snapDays",
1803
+ "from": "@g9tm/lynxcontrols-projects/model",
1804
+ "kind": "function",
1805
+ "signature": "(dx: number, pxPerDay: number): number",
1806
+ "summary": "A movement in whole days (half a day or more rounds)."
1807
+ },
1808
+ {
1809
+ "id": "projects.model.snapDaysMT",
1810
+ "export": "snapDaysMT",
1811
+ "from": "@g9tm/lynxcontrols-projects/model",
1812
+ "kind": "function",
1813
+ "signature": "(dx: number, pxPerDay: number): number",
1814
+ "summary": "`snapDays` on the main thread."
1815
+ },
1816
+ {
1817
+ "id": "projects.model.spanOf",
1818
+ "export": "spanOf",
1819
+ "from": "@g9tm/lynxcontrols-projects/model",
1820
+ "kind": "function",
1821
+ "signature": "(start: number | null | undefined, end: number | null | undefined): G9DaySpan | null",
1822
+ "summary": "A span from a start and/or an end (one day when only one is set; null when neither is)."
1823
+ },
1824
+ {
1825
+ "id": "projects.model.timelineRange",
1826
+ "export": "timelineRange",
1827
+ "from": "@g9tm/lynxcontrols-projects/model",
1828
+ "kind": "function",
1829
+ "signature": "(spans: readonly G9DaySpan[], today: number, weekStartsOn: number, zoom: G9TimelineZoom): { readonly from: number; readonly to: number; }",
1830
+ "summary": "What to draw: every span and today, padded by the zoom, starting on a week's first day."
1831
+ },
1832
+ {
1833
+ "id": "projects.model.timelineScale",
1834
+ "export": "timelineScale",
1835
+ "from": "@g9tm/lynxcontrols-projects/model",
1836
+ "kind": "function",
1837
+ "signature": "(from: number, to: number, zoom: number | G9TimelineZoom): G9TimelineScale",
1838
+ "summary": "A scale over [from, to] at a zoom (or a px per day)."
1839
+ },
1840
+ {
1841
+ "id": "projects.model.timelineWidth",
1842
+ "export": "timelineWidth",
1843
+ "from": "@g9tm/lynxcontrols-projects/model",
1844
+ "kind": "function",
1845
+ "signature": "(scale: G9TimelineScale): number",
1846
+ "summary": "The chart's width in px."
1847
+ },
1848
+ {
1849
+ "id": "projects.model.weekdayOf",
1850
+ "export": "weekdayOf",
1851
+ "from": "@g9tm/lynxcontrols-projects/model",
1852
+ "kind": "function",
1853
+ "signature": "(day: number): number",
1854
+ "summary": "0 Sunday … 6 Saturday."
1855
+ },
1856
+ {
1857
+ "id": "projects.model.weekStartOf",
1858
+ "export": "weekStartOf",
1859
+ "from": "@g9tm/lynxcontrols-projects/model",
1860
+ "kind": "function",
1861
+ "signature": "(day: number, weekStartsOn: number): number",
1862
+ "summary": "The first day of the week `day` is in."
1863
+ },
1864
+ {
1865
+ "id": "projects.model.weekStarts",
1866
+ "export": "weekStarts",
1867
+ "from": "@g9tm/lynxcontrols-projects/model",
1868
+ "kind": "function",
1869
+ "signature": "(from: number, to: number, weekStartsOn: number): number[]",
1870
+ "summary": "The first days of the weeks over [from, to]."
1871
+ },
1872
+ {
1873
+ "id": "projects.model.xToDay",
1874
+ "export": "xToDay",
1875
+ "from": "@g9tm/lynxcontrols-projects/model",
1876
+ "kind": "function",
1877
+ "signature": "(x: number, scale: G9TimelineScale): number",
1878
+ "summary": "The day under a logical x."
1879
+ }
1880
+ ]
1881
+ }