@g9tm/lynxcontrols-projects 2.5.8 → 2.5.10

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.
Files changed (42) hide show
  1. package/README.md +5 -0
  2. package/catalog/cards/G9ActivityFeed.md +17 -0
  3. package/catalog/cards/G9FileBrowser.md +17 -0
  4. package/catalog/cards/G9FormBuilder.md +15 -0
  5. package/catalog/cards/G9OrgChart.md +17 -0
  6. package/catalog/cards/G9QuestionField.md +17 -0
  7. package/catalog/cards/G9Timeline.md +3 -3
  8. package/catalog/catalog.json +2090 -18
  9. package/catalog/index.md +6 -1
  10. package/dist/.tsbuildinfo +1 -1
  11. package/dist/activity.css +105 -0
  12. package/dist/activity.css.map +1 -0
  13. package/dist/activity.d.ts +49 -0
  14. package/dist/activity.d.ts.map +1 -0
  15. package/dist/activity.jsx +129 -0
  16. package/dist/files.css +264 -0
  17. package/dist/files.css.map +1 -0
  18. package/dist/files.d.ts +86 -0
  19. package/dist/files.d.ts.map +1 -0
  20. package/dist/files.jsx +318 -0
  21. package/dist/forms.css +144 -0
  22. package/dist/forms.css.map +1 -0
  23. package/dist/forms.d.ts +89 -0
  24. package/dist/forms.d.ts.map +1 -0
  25. package/dist/forms.jsx +359 -0
  26. package/dist/index.d.ts +4 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.jsx +4 -0
  29. package/dist/org-chart.css +127 -0
  30. package/dist/org-chart.css.map +1 -0
  31. package/dist/org-chart.d.ts +73 -0
  32. package/dist/org-chart.d.ts.map +1 -0
  33. package/dist/org-chart.jsx +388 -0
  34. package/dist/projects.css +49 -0
  35. package/dist/projects.css.map +1 -1
  36. package/dist/rule-builder.d.ts +6 -0
  37. package/dist/rule-builder.d.ts.map +1 -1
  38. package/dist/rule-builder.jsx +24 -3
  39. package/dist/timeline.d.ts +28 -0
  40. package/dist/timeline.d.ts.map +1 -1
  41. package/dist/timeline.jsx +150 -14
  42. package/package.json +3 -3
@@ -1,9 +1,278 @@
1
1
  {
2
2
  "catalogVersion": 1,
3
3
  "package": "@g9tm/lynxcontrols-projects",
4
- "version": "2.5.8",
4
+ "version": "2.5.10",
5
5
  "generatedBy": "node scripts/check-docs.mjs --write",
6
6
  "components": [
7
+ {
8
+ "id": "projects.projects.G9ActivityFeed",
9
+ "export": "G9ActivityFeed",
10
+ "from": "@g9tm/lynxcontrols-projects",
11
+ "kind": "component",
12
+ "family": "projects",
13
+ "summary": "Changes newest first under a header per day, a rail with a node per entry, «more» paging.",
14
+ "since": null,
15
+ "props": [
16
+ {
17
+ "name": "dayLabel",
18
+ "type": {
19
+ "kind": "event",
20
+ "payload": "dayStartMs: number, epochDays: number",
21
+ "returns": "string"
22
+ },
23
+ "required": false,
24
+ "serializable": false,
25
+ "role": "event",
26
+ "doc": "A day's header; default «Today», «Yesterday», else the date in the culture's calendar."
27
+ },
28
+ {
29
+ "name": "height",
30
+ "type": {
31
+ "kind": "number"
32
+ },
33
+ "required": false,
34
+ "serializable": true,
35
+ "role": "behaviour"
36
+ },
37
+ {
38
+ "name": "id",
39
+ "type": {
40
+ "kind": "string"
41
+ },
42
+ "required": false,
43
+ "serializable": true,
44
+ "role": "identity"
45
+ },
46
+ {
47
+ "name": "items",
48
+ "type": {
49
+ "kind": "array",
50
+ "items": {
51
+ "kind": "object",
52
+ "fields": [
53
+ {
54
+ "name": "id",
55
+ "required": true,
56
+ "type": {
57
+ "kind": "string"
58
+ },
59
+ "serializable": true
60
+ },
61
+ {
62
+ "name": "at",
63
+ "required": true,
64
+ "type": {
65
+ "kind": "number"
66
+ },
67
+ "serializable": true
68
+ },
69
+ {
70
+ "name": "actor",
71
+ "required": true,
72
+ "type": {
73
+ "kind": "unknown",
74
+ "text": "{ readonly name: string; readonly avatar?: string | null; readonly id?: string; }"
75
+ },
76
+ "serializable": false
77
+ },
78
+ {
79
+ "name": "text",
80
+ "required": true,
81
+ "type": {
82
+ "kind": "string"
83
+ },
84
+ "serializable": true
85
+ },
86
+ {
87
+ "name": "detail",
88
+ "required": false,
89
+ "type": {
90
+ "kind": "string"
91
+ },
92
+ "serializable": true
93
+ },
94
+ {
95
+ "name": "icon",
96
+ "required": false,
97
+ "type": {
98
+ "kind": "union",
99
+ "of": [
100
+ {
101
+ "kind": "string"
102
+ },
103
+ {
104
+ "kind": "unknown",
105
+ "text": "G9GlyphIcon"
106
+ },
107
+ {
108
+ "kind": "unknown",
109
+ "text": "G9FontCodePointIcon"
110
+ },
111
+ {
112
+ "kind": "unknown",
113
+ "text": "G9FontTextIcon"
114
+ },
115
+ {
116
+ "kind": "unknown",
117
+ "text": "G9SvgIcon"
118
+ },
119
+ {
120
+ "kind": "unknown",
121
+ "text": "G9ImageIcon"
122
+ }
123
+ ]
124
+ },
125
+ "serializable": false
126
+ },
127
+ {
128
+ "name": "color",
129
+ "required": false,
130
+ "type": {
131
+ "kind": "color"
132
+ },
133
+ "serializable": true
134
+ }
135
+ ]
136
+ }
137
+ },
138
+ "required": true,
139
+ "serializable": false,
140
+ "role": "state"
141
+ },
142
+ {
143
+ "name": "loading",
144
+ "type": {
145
+ "kind": "boolean"
146
+ },
147
+ "required": false,
148
+ "serializable": true,
149
+ "role": "state"
150
+ },
151
+ {
152
+ "name": "now",
153
+ "type": {
154
+ "kind": "number"
155
+ },
156
+ "required": false,
157
+ "serializable": true,
158
+ "role": "behaviour",
159
+ "doc": "Today (epoch ms) for «Today» / «Yesterday». Default the first item's time."
160
+ },
161
+ {
162
+ "name": "onMore",
163
+ "type": {
164
+ "kind": "event",
165
+ "payload": null
166
+ },
167
+ "required": false,
168
+ "serializable": false,
169
+ "role": "event",
170
+ "doc": "Older entries: a «more» button at the end."
171
+ },
172
+ {
173
+ "name": "onOpen",
174
+ "type": {
175
+ "kind": "event",
176
+ "payload": "item: G9ActivityItem"
177
+ },
178
+ "required": false,
179
+ "serializable": false,
180
+ "role": "event"
181
+ },
182
+ {
183
+ "name": "utcOffsetMinutes",
184
+ "type": {
185
+ "kind": "number"
186
+ },
187
+ "required": false,
188
+ "default": 0,
189
+ "serializable": true,
190
+ "role": "behaviour",
191
+ "doc": "The user's zone for the days and times. Default 0."
192
+ },
193
+ {
194
+ "name": "virtual",
195
+ "type": {
196
+ "kind": "boolean"
197
+ },
198
+ "required": false,
199
+ "serializable": true,
200
+ "role": "behaviour",
201
+ "doc": "A virtual list with sticky day headers (default) — give it a height — or plain rows in the page's scroll."
202
+ },
203
+ {
204
+ "name": "words",
205
+ "type": {
206
+ "kind": "object",
207
+ "fields": [
208
+ {
209
+ "name": "today",
210
+ "required": false,
211
+ "type": {
212
+ "kind": "string"
213
+ },
214
+ "serializable": true
215
+ },
216
+ {
217
+ "name": "yesterday",
218
+ "required": false,
219
+ "type": {
220
+ "kind": "string"
221
+ },
222
+ "serializable": true
223
+ },
224
+ {
225
+ "name": "more",
226
+ "required": false,
227
+ "type": {
228
+ "kind": "string"
229
+ },
230
+ "serializable": true
231
+ },
232
+ {
233
+ "name": "empty",
234
+ "required": false,
235
+ "type": {
236
+ "kind": "string"
237
+ },
238
+ "serializable": true
239
+ }
240
+ ]
241
+ },
242
+ "required": false,
243
+ "serializable": true,
244
+ "role": "behaviour"
245
+ }
246
+ ],
247
+ "anchor": null,
248
+ "accessibility": {
249
+ "labelFrom": [],
250
+ "labelRequired": false
251
+ },
252
+ "targets": {
253
+ "android": "unmeasured",
254
+ "ios": "unmeasured",
255
+ "windows": "unmeasured",
256
+ "macos": "unmeasured",
257
+ "web": "unmeasured"
258
+ },
259
+ "evidence": {
260
+ "ledger": []
261
+ },
262
+ "tokens": [
263
+ "OnPrimary",
264
+ "OutlineVariant",
265
+ "Primary",
266
+ "Surface",
267
+ "TextPrimary",
268
+ "TextSecondary",
269
+ "TextTertiary"
270
+ ],
271
+ "example": {
272
+ "line": "<G9ActivityFeed items={items} />",
273
+ "from": "generated"
274
+ }
275
+ },
7
276
  {
8
277
  "id": "projects.projects.G9Board",
9
278
  "export": "G9Board",
@@ -227,13 +496,1391 @@
227
496
  "name": "column",
228
497
  "type": "G9BoardColumn<T>"
229
498
  }
230
- ],
231
- "returns": "ReactNode"
499
+ ],
500
+ "returns": "ReactNode"
501
+ },
502
+ "required": false,
503
+ "serializable": false,
504
+ "role": "slot",
505
+ "doc": "A column's own words after its head (a menu, a filter)."
506
+ }
507
+ ],
508
+ "anchor": null,
509
+ "accessibility": {
510
+ "labelFrom": [],
511
+ "labelRequired": false
512
+ },
513
+ "targets": {
514
+ "android": "unmeasured",
515
+ "ios": "unmeasured",
516
+ "windows": "unmeasured",
517
+ "macos": "unmeasured",
518
+ "web": "unmeasured"
519
+ },
520
+ "evidence": {
521
+ "ledger": []
522
+ },
523
+ "tokens": [
524
+ "Error",
525
+ "OnPrimary",
526
+ "OnPrimaryContainer",
527
+ "OutlineVariant",
528
+ "Primary",
529
+ "PrimaryContainer",
530
+ "Success",
531
+ "Surface",
532
+ "SurfaceContainer",
533
+ "SurfaceContainerHigh",
534
+ "TextPrimary",
535
+ "TextSecondary",
536
+ "TextTertiary",
537
+ "Warning"
538
+ ],
539
+ "example": {
540
+ "line": "<G9Board columns={columns} getKey={getKey} renderCard={renderCard} />",
541
+ "from": "generated"
542
+ }
543
+ },
544
+ {
545
+ "id": "projects.projects.G9FileBrowser",
546
+ "export": "G9FileBrowser",
547
+ "from": "@g9tm/lynxcontrols-projects",
548
+ "kind": "component",
549
+ "family": "projects",
550
+ "summary": "A project's files: folders, a breadcrumb, grid or list, previews, multi-select, uploads, menus, sorting.",
551
+ "since": null,
552
+ "props": [
553
+ {
554
+ "name": "columns",
555
+ "type": {
556
+ "kind": "number"
557
+ },
558
+ "required": false,
559
+ "serializable": true,
560
+ "role": "behaviour",
561
+ "doc": "Grid columns (default 3)."
562
+ },
563
+ {
564
+ "name": "formatSize",
565
+ "type": {
566
+ "kind": "event",
567
+ "payload": "bytes: number",
568
+ "returns": "string"
569
+ },
570
+ "required": false,
571
+ "serializable": false,
572
+ "role": "event",
573
+ "doc": "A size in the app's words (default B / KB / MB / GB)."
574
+ },
575
+ {
576
+ "name": "id",
577
+ "type": {
578
+ "kind": "string"
579
+ },
580
+ "required": false,
581
+ "serializable": true,
582
+ "role": "identity"
583
+ },
584
+ {
585
+ "name": "items",
586
+ "type": {
587
+ "kind": "array",
588
+ "items": {
589
+ "kind": "object",
590
+ "fields": [
591
+ {
592
+ "name": "id",
593
+ "required": true,
594
+ "type": {
595
+ "kind": "string"
596
+ },
597
+ "serializable": true
598
+ },
599
+ {
600
+ "name": "name",
601
+ "required": true,
602
+ "type": {
603
+ "kind": "string"
604
+ },
605
+ "serializable": true
606
+ },
607
+ {
608
+ "name": "kind",
609
+ "required": false,
610
+ "type": {
611
+ "kind": "enum",
612
+ "values": [
613
+ "image",
614
+ "sheet",
615
+ "folder",
616
+ "video",
617
+ "audio",
618
+ "archive",
619
+ "doc",
620
+ "other"
621
+ ]
622
+ },
623
+ "serializable": true
624
+ },
625
+ {
626
+ "name": "size",
627
+ "required": false,
628
+ "type": {
629
+ "kind": "number"
630
+ },
631
+ "serializable": true
632
+ },
633
+ {
634
+ "name": "modified",
635
+ "required": false,
636
+ "type": {
637
+ "kind": "number"
638
+ },
639
+ "serializable": true
640
+ },
641
+ {
642
+ "name": "modifiedLabel",
643
+ "required": false,
644
+ "type": {
645
+ "kind": "string"
646
+ },
647
+ "serializable": true
648
+ },
649
+ {
650
+ "name": "thumb",
651
+ "required": false,
652
+ "type": {
653
+ "kind": "string"
654
+ },
655
+ "serializable": true
656
+ },
657
+ {
658
+ "name": "progress",
659
+ "required": false,
660
+ "type": {
661
+ "kind": "number"
662
+ },
663
+ "serializable": true
664
+ }
665
+ ]
666
+ }
667
+ },
668
+ "required": true,
669
+ "serializable": true,
670
+ "role": "state"
671
+ },
672
+ {
673
+ "name": "menuFor",
674
+ "type": {
675
+ "kind": "event",
676
+ "payload": "item: G9FileEntry",
677
+ "returns": "readonly G9MenuItem[]"
678
+ },
679
+ "required": false,
680
+ "serializable": false,
681
+ "role": "event",
682
+ "doc": "An item's menu (rename, move, delete…)."
683
+ },
684
+ {
685
+ "name": "onMenu",
686
+ "type": {
687
+ "kind": "event",
688
+ "payload": "key: string, item: G9FileEntry"
689
+ },
690
+ "required": false,
691
+ "serializable": false,
692
+ "role": "event"
693
+ },
694
+ {
695
+ "name": "onNavigate",
696
+ "type": {
697
+ "kind": "event",
698
+ "payload": "folderId: string | null"
699
+ },
700
+ "required": false,
701
+ "serializable": false,
702
+ "role": "event",
703
+ "doc": "A breadcrumb step (null: the top)."
704
+ },
705
+ {
706
+ "name": "onOpen",
707
+ "type": {
708
+ "kind": "event",
709
+ "payload": "item: G9FileEntry"
710
+ },
711
+ "required": false,
712
+ "serializable": false,
713
+ "role": "event",
714
+ "doc": "A file opened, or a folder entered."
715
+ },
716
+ {
717
+ "name": "onSelectionChange",
718
+ "type": {
719
+ "kind": "event",
720
+ "payload": "ids: readonly string[]"
721
+ },
722
+ "required": false,
723
+ "serializable": false,
724
+ "role": "event"
725
+ },
726
+ {
727
+ "name": "onSortChange",
728
+ "type": {
729
+ "kind": "event",
730
+ "payload": "sort: { readonly key: \"name\" | \"size\" | \"modified\"; readonly dir: \"asc\" | \"desc\"; }"
731
+ },
732
+ "required": false,
733
+ "serializable": false,
734
+ "role": "event"
735
+ },
736
+ {
737
+ "name": "onUpload",
738
+ "type": {
739
+ "kind": "event",
740
+ "payload": null
741
+ },
742
+ "required": false,
743
+ "serializable": false,
744
+ "role": "event",
745
+ "doc": "The upload button (the app's picker)."
746
+ },
747
+ {
748
+ "name": "onViewChange",
749
+ "type": {
750
+ "kind": "event",
751
+ "payload": "view: \"list\" | \"grid\""
752
+ },
753
+ "required": false,
754
+ "serializable": false,
755
+ "role": "event"
756
+ },
757
+ {
758
+ "name": "path",
759
+ "type": {
760
+ "kind": "array",
761
+ "items": {
762
+ "kind": "object",
763
+ "fields": [
764
+ {
765
+ "name": "id",
766
+ "required": true,
767
+ "type": {
768
+ "kind": "string"
769
+ },
770
+ "serializable": true
771
+ },
772
+ {
773
+ "name": "name",
774
+ "required": true,
775
+ "type": {
776
+ "kind": "string"
777
+ },
778
+ "serializable": true
779
+ }
780
+ ]
781
+ }
782
+ },
783
+ "required": false,
784
+ "serializable": true,
785
+ "role": "behaviour",
786
+ "doc": "The folders from the top to here (the breadcrumb); `rootLabel` first."
787
+ },
788
+ {
789
+ "name": "rootLabel",
790
+ "type": {
791
+ "kind": "string"
792
+ },
793
+ "required": false,
794
+ "serializable": true,
795
+ "role": "content"
796
+ },
797
+ {
798
+ "name": "selected",
799
+ "type": {
800
+ "kind": "array",
801
+ "items": {
802
+ "kind": "string"
803
+ }
804
+ },
805
+ "required": false,
806
+ "serializable": true,
807
+ "role": "state",
808
+ "doc": "Multi-select: the chosen ids (a long press starts it; then taps toggle)."
809
+ },
810
+ {
811
+ "name": "selectionActions",
812
+ "type": {
813
+ "kind": "slot",
814
+ "accepts": "any"
815
+ },
816
+ "required": false,
817
+ "serializable": false,
818
+ "role": "slot",
819
+ "doc": "The selection's actions (move, delete) in a bar while some are chosen."
820
+ },
821
+ {
822
+ "name": "sort",
823
+ "type": {
824
+ "kind": "object",
825
+ "fields": [
826
+ {
827
+ "name": "key",
828
+ "required": true,
829
+ "type": {
830
+ "kind": "enum",
831
+ "values": [
832
+ "name",
833
+ "size",
834
+ "modified"
835
+ ]
836
+ },
837
+ "serializable": true
838
+ },
839
+ {
840
+ "name": "dir",
841
+ "required": true,
842
+ "type": {
843
+ "kind": "enum",
844
+ "values": [
845
+ "asc",
846
+ "desc"
847
+ ]
848
+ },
849
+ "serializable": true
850
+ }
851
+ ]
852
+ },
853
+ "required": false,
854
+ "serializable": true,
855
+ "role": "behaviour"
856
+ },
857
+ {
858
+ "name": "view",
859
+ "type": {
860
+ "kind": "enum",
861
+ "values": [
862
+ "list",
863
+ "grid"
864
+ ]
865
+ },
866
+ "required": false,
867
+ "serializable": true,
868
+ "role": "behaviour",
869
+ "doc": "`grid` (default) or `list`; with `onViewChange` a switch."
870
+ },
871
+ {
872
+ "name": "words",
873
+ "type": {
874
+ "kind": "object",
875
+ "fields": [
876
+ {
877
+ "name": "upload",
878
+ "required": false,
879
+ "type": {
880
+ "kind": "string"
881
+ },
882
+ "serializable": true
883
+ },
884
+ {
885
+ "name": "empty",
886
+ "required": false,
887
+ "type": {
888
+ "kind": "string"
889
+ },
890
+ "serializable": true
891
+ },
892
+ {
893
+ "name": "emptyHint",
894
+ "required": false,
895
+ "type": {
896
+ "kind": "string"
897
+ },
898
+ "serializable": true
899
+ },
900
+ {
901
+ "name": "grid",
902
+ "required": false,
903
+ "type": {
904
+ "kind": "string"
905
+ },
906
+ "serializable": true
907
+ },
908
+ {
909
+ "name": "list",
910
+ "required": false,
911
+ "type": {
912
+ "kind": "string"
913
+ },
914
+ "serializable": true
915
+ },
916
+ {
917
+ "name": "name",
918
+ "required": false,
919
+ "type": {
920
+ "kind": "string"
921
+ },
922
+ "serializable": true
923
+ },
924
+ {
925
+ "name": "modified",
926
+ "required": false,
927
+ "type": {
928
+ "kind": "string"
929
+ },
930
+ "serializable": true
931
+ },
932
+ {
933
+ "name": "size",
934
+ "required": false,
935
+ "type": {
936
+ "kind": "string"
937
+ },
938
+ "serializable": true
939
+ },
940
+ {
941
+ "name": "more",
942
+ "required": false,
943
+ "type": {
944
+ "kind": "string"
945
+ },
946
+ "serializable": true
947
+ },
948
+ {
949
+ "name": "selected",
950
+ "required": false,
951
+ "type": {
952
+ "kind": "event",
953
+ "payload": "count: number",
954
+ "returns": "string"
955
+ },
956
+ "serializable": false
957
+ },
958
+ {
959
+ "name": "clear",
960
+ "required": false,
961
+ "type": {
962
+ "kind": "string"
963
+ },
964
+ "serializable": true
965
+ }
966
+ ]
967
+ },
968
+ "required": false,
969
+ "serializable": false,
970
+ "role": "behaviour"
971
+ },
972
+ {
973
+ "name": "wrapDrop",
974
+ "type": {
975
+ "kind": "render",
976
+ "receives": [
977
+ {
978
+ "name": "content",
979
+ "type": "ReactNode"
980
+ }
981
+ ],
982
+ "returns": "ReactNode"
983
+ },
984
+ "required": false,
985
+ "serializable": false,
986
+ "role": "slot",
987
+ "doc": "Wraps the browser in the app's drop zone (a G9DropZone from the media package)."
988
+ }
989
+ ],
990
+ "anchor": null,
991
+ "accessibility": {
992
+ "labelFrom": [],
993
+ "labelRequired": false
994
+ },
995
+ "targets": {
996
+ "android": "unmeasured",
997
+ "ios": "unmeasured",
998
+ "windows": "unmeasured",
999
+ "macos": "unmeasured",
1000
+ "web": "unmeasured"
1001
+ },
1002
+ "evidence": {
1003
+ "ledger": []
1004
+ },
1005
+ "tokens": [
1006
+ "OnPrimary",
1007
+ "OnPrimaryContainer",
1008
+ "Outline",
1009
+ "OutlineVariant",
1010
+ "Primary",
1011
+ "PrimaryContainer",
1012
+ "Surface",
1013
+ "SurfaceContainer",
1014
+ "SurfaceContainerHigh",
1015
+ "TextPrimary",
1016
+ "TextSecondary",
1017
+ "TextTertiary"
1018
+ ],
1019
+ "example": {
1020
+ "line": "<G9FileBrowser items={items} />",
1021
+ "from": "generated"
1022
+ }
1023
+ },
1024
+ {
1025
+ "id": "projects.projects.G9FormBuilder",
1026
+ "export": "G9FormBuilder",
1027
+ "from": "@g9tm/lynxcontrols-projects",
1028
+ "kind": "component",
1029
+ "family": "projects",
1030
+ "summary": "A form's questions edited: cards dragged to reorder, a kind menu, the options, required, duplicate, delete.",
1031
+ "since": null,
1032
+ "props": [
1033
+ {
1034
+ "name": "id",
1035
+ "type": {
1036
+ "kind": "string"
1037
+ },
1038
+ "required": false,
1039
+ "serializable": true,
1040
+ "role": "identity"
1041
+ },
1042
+ {
1043
+ "name": "kinds",
1044
+ "type": {
1045
+ "kind": "array",
1046
+ "items": {
1047
+ "kind": "enum",
1048
+ "values": [
1049
+ "number",
1050
+ "text",
1051
+ "date",
1052
+ "single",
1053
+ "longText",
1054
+ "multi",
1055
+ "dropdown",
1056
+ "rating",
1057
+ "scale",
1058
+ "file"
1059
+ ]
1060
+ }
1061
+ },
1062
+ "required": false,
1063
+ "serializable": true,
1064
+ "role": "behaviour",
1065
+ "doc": "The kinds offered (default all)."
1066
+ },
1067
+ {
1068
+ "name": "newId",
1069
+ "type": {
1070
+ "kind": "event",
1071
+ "payload": null,
1072
+ "returns": "string"
1073
+ },
1074
+ "required": false,
1075
+ "serializable": false,
1076
+ "role": "event",
1077
+ "doc": "New ids (default `q` + a counter)."
1078
+ },
1079
+ {
1080
+ "name": "onChange",
1081
+ "type": {
1082
+ "kind": "event",
1083
+ "payload": "questions: readonly G9FormQuestion[]"
1084
+ },
1085
+ "required": true,
1086
+ "serializable": false,
1087
+ "role": "event"
1088
+ },
1089
+ {
1090
+ "name": "questions",
1091
+ "type": {
1092
+ "kind": "array",
1093
+ "items": {
1094
+ "kind": "object",
1095
+ "fields": [
1096
+ {
1097
+ "name": "id",
1098
+ "required": true,
1099
+ "type": {
1100
+ "kind": "string"
1101
+ },
1102
+ "serializable": true
1103
+ },
1104
+ {
1105
+ "name": "kind",
1106
+ "required": true,
1107
+ "type": {
1108
+ "kind": "enum",
1109
+ "values": [
1110
+ "number",
1111
+ "text",
1112
+ "date",
1113
+ "single",
1114
+ "longText",
1115
+ "multi",
1116
+ "dropdown",
1117
+ "rating",
1118
+ "scale",
1119
+ "file"
1120
+ ]
1121
+ },
1122
+ "serializable": true
1123
+ },
1124
+ {
1125
+ "name": "title",
1126
+ "required": true,
1127
+ "type": {
1128
+ "kind": "string"
1129
+ },
1130
+ "serializable": true
1131
+ },
1132
+ {
1133
+ "name": "help",
1134
+ "required": false,
1135
+ "type": {
1136
+ "kind": "string"
1137
+ },
1138
+ "serializable": true
1139
+ },
1140
+ {
1141
+ "name": "required",
1142
+ "required": false,
1143
+ "type": {
1144
+ "kind": "boolean"
1145
+ },
1146
+ "serializable": true
1147
+ },
1148
+ {
1149
+ "name": "options",
1150
+ "required": false,
1151
+ "type": {
1152
+ "kind": "array",
1153
+ "items": {
1154
+ "kind": "unknown",
1155
+ "text": "{ readonly id: string; readonly label: string; }"
1156
+ }
1157
+ },
1158
+ "serializable": false
1159
+ },
1160
+ {
1161
+ "name": "placeholder",
1162
+ "required": false,
1163
+ "type": {
1164
+ "kind": "string"
1165
+ },
1166
+ "serializable": true
1167
+ },
1168
+ {
1169
+ "name": "min",
1170
+ "required": false,
1171
+ "type": {
1172
+ "kind": "number"
1173
+ },
1174
+ "serializable": true
1175
+ },
1176
+ {
1177
+ "name": "max",
1178
+ "required": false,
1179
+ "type": {
1180
+ "kind": "number"
1181
+ },
1182
+ "serializable": true
1183
+ },
1184
+ {
1185
+ "name": "endLabels",
1186
+ "required": false,
1187
+ "type": {
1188
+ "kind": "array",
1189
+ "items": {
1190
+ "kind": "string"
1191
+ }
1192
+ },
1193
+ "serializable": true
1194
+ }
1195
+ ]
1196
+ }
1197
+ },
1198
+ "required": true,
1199
+ "serializable": false,
1200
+ "role": "behaviour"
1201
+ },
1202
+ {
1203
+ "name": "rowHeight",
1204
+ "type": {
1205
+ "kind": "number"
1206
+ },
1207
+ "required": false,
1208
+ "default": 220,
1209
+ "serializable": true,
1210
+ "role": "appearance",
1211
+ "doc": "The card's height while dragging (dp). Default 220."
1212
+ },
1213
+ {
1214
+ "name": "words",
1215
+ "type": {
1216
+ "kind": "object",
1217
+ "fields": [
1218
+ {
1219
+ "name": "kinds",
1220
+ "required": true,
1221
+ "type": {
1222
+ "kind": "object",
1223
+ "name": "Readonly"
1224
+ },
1225
+ "serializable": false
1226
+ },
1227
+ {
1228
+ "name": "title",
1229
+ "required": true,
1230
+ "type": {
1231
+ "kind": "string"
1232
+ },
1233
+ "serializable": true
1234
+ },
1235
+ {
1236
+ "name": "help",
1237
+ "required": true,
1238
+ "type": {
1239
+ "kind": "string"
1240
+ },
1241
+ "serializable": true
1242
+ },
1243
+ {
1244
+ "name": "option",
1245
+ "required": true,
1246
+ "type": {
1247
+ "kind": "event",
1248
+ "payload": "n: number",
1249
+ "returns": "string"
1250
+ },
1251
+ "serializable": false
1252
+ },
1253
+ {
1254
+ "name": "addOption",
1255
+ "required": true,
1256
+ "type": {
1257
+ "kind": "string"
1258
+ },
1259
+ "serializable": true
1260
+ },
1261
+ {
1262
+ "name": "addQuestion",
1263
+ "required": true,
1264
+ "type": {
1265
+ "kind": "string"
1266
+ },
1267
+ "serializable": true
1268
+ },
1269
+ {
1270
+ "name": "required",
1271
+ "required": true,
1272
+ "type": {
1273
+ "kind": "string"
1274
+ },
1275
+ "serializable": true
1276
+ },
1277
+ {
1278
+ "name": "remove",
1279
+ "required": true,
1280
+ "type": {
1281
+ "kind": "string"
1282
+ },
1283
+ "serializable": true
1284
+ },
1285
+ {
1286
+ "name": "duplicate",
1287
+ "required": false,
1288
+ "type": {
1289
+ "kind": "string"
1290
+ },
1291
+ "serializable": true
1292
+ },
1293
+ {
1294
+ "name": "kind",
1295
+ "required": true,
1296
+ "type": {
1297
+ "kind": "string"
1298
+ },
1299
+ "serializable": true
1300
+ },
1301
+ {
1302
+ "name": "drag",
1303
+ "required": false,
1304
+ "type": {
1305
+ "kind": "string"
1306
+ },
1307
+ "serializable": true
1308
+ },
1309
+ {
1310
+ "name": "empty",
1311
+ "required": false,
1312
+ "type": {
1313
+ "kind": "string"
1314
+ },
1315
+ "serializable": true
1316
+ }
1317
+ ]
1318
+ },
1319
+ "required": true,
1320
+ "serializable": false,
1321
+ "role": "behaviour"
1322
+ }
1323
+ ],
1324
+ "anchor": null,
1325
+ "accessibility": {
1326
+ "labelFrom": [],
1327
+ "labelRequired": false
1328
+ },
1329
+ "targets": {
1330
+ "android": "unmeasured",
1331
+ "ios": "unmeasured",
1332
+ "windows": "unmeasured",
1333
+ "macos": "unmeasured",
1334
+ "web": "unmeasured"
1335
+ },
1336
+ "evidence": {
1337
+ "ledger": []
1338
+ },
1339
+ "tokens": [
1340
+ "Error",
1341
+ "OutlineVariant",
1342
+ "Primary",
1343
+ "SurfaceContainer",
1344
+ "TextPrimary",
1345
+ "TextSecondary",
1346
+ "TextTertiary"
1347
+ ],
1348
+ "example": {
1349
+ "line": "<G9FormBuilder onChange={() => {}} questions={questions} words={words} />",
1350
+ "from": "generated"
1351
+ }
1352
+ },
1353
+ {
1354
+ "id": "projects.projects.G9OrgChart",
1355
+ "export": "G9OrgChart",
1356
+ "from": "@g9tm/lynxcontrols-projects",
1357
+ "kind": "component",
1358
+ "family": "projects",
1359
+ "summary": "Who reports to whom: a zoomable tree on a wide window, a nested list on a phone.",
1360
+ "since": null,
1361
+ "props": [
1362
+ {
1363
+ "name": "focusId",
1364
+ "type": {
1365
+ "kind": "string"
1366
+ },
1367
+ "required": false,
1368
+ "serializable": true,
1369
+ "role": "behaviour",
1370
+ "doc": "A person ringed, their managers opened."
1371
+ },
1372
+ {
1373
+ "name": "height",
1374
+ "type": {
1375
+ "kind": "number"
1376
+ },
1377
+ "required": false,
1378
+ "default": 480,
1379
+ "serializable": true,
1380
+ "role": "behaviour",
1381
+ "doc": "The tree's height (dp) on a wide window. Default 480."
1382
+ },
1383
+ {
1384
+ "name": "id",
1385
+ "type": {
1386
+ "kind": "string"
1387
+ },
1388
+ "required": false,
1389
+ "serializable": true,
1390
+ "role": "identity"
1391
+ },
1392
+ {
1393
+ "name": "initialDepth",
1394
+ "type": {
1395
+ "kind": "number"
1396
+ },
1397
+ "required": false,
1398
+ "serializable": true,
1399
+ "role": "behaviour",
1400
+ "doc": "Levels open at first (default 2)."
1401
+ },
1402
+ {
1403
+ "name": "layout",
1404
+ "type": {
1405
+ "kind": "enum",
1406
+ "values": [
1407
+ "auto",
1408
+ "list",
1409
+ "tree"
1410
+ ]
1411
+ },
1412
+ "required": false,
1413
+ "serializable": true,
1414
+ "role": "behaviour",
1415
+ "doc": "`'auto'` (default): the tree on a wide window, the list on a phone."
1416
+ },
1417
+ {
1418
+ "name": "onOpen",
1419
+ "type": {
1420
+ "kind": "event",
1421
+ "payload": "id: string"
1422
+ },
1423
+ "required": false,
1424
+ "serializable": false,
1425
+ "role": "event"
1426
+ },
1427
+ {
1428
+ "name": "people",
1429
+ "type": {
1430
+ "kind": "array",
1431
+ "items": {
1432
+ "kind": "object",
1433
+ "fields": [
1434
+ {
1435
+ "name": "id",
1436
+ "required": true,
1437
+ "type": {
1438
+ "kind": "string"
1439
+ },
1440
+ "serializable": true
1441
+ },
1442
+ {
1443
+ "name": "name",
1444
+ "required": true,
1445
+ "type": {
1446
+ "kind": "string"
1447
+ },
1448
+ "serializable": true
1449
+ },
1450
+ {
1451
+ "name": "title",
1452
+ "required": false,
1453
+ "type": {
1454
+ "kind": "string"
1455
+ },
1456
+ "serializable": true
1457
+ },
1458
+ {
1459
+ "name": "managerId",
1460
+ "required": false,
1461
+ "type": {
1462
+ "kind": "string"
1463
+ },
1464
+ "serializable": true
1465
+ },
1466
+ {
1467
+ "name": "avatar",
1468
+ "required": false,
1469
+ "type": {
1470
+ "kind": "string"
1471
+ },
1472
+ "serializable": true
1473
+ },
1474
+ {
1475
+ "name": "presence",
1476
+ "required": false,
1477
+ "type": {
1478
+ "kind": "enum",
1479
+ "values": [
1480
+ "online",
1481
+ "away",
1482
+ "busy",
1483
+ "offline"
1484
+ ]
1485
+ },
1486
+ "serializable": true
1487
+ }
1488
+ ]
1489
+ }
1490
+ },
1491
+ "required": true,
1492
+ "serializable": true,
1493
+ "role": "behaviour"
1494
+ },
1495
+ {
1496
+ "name": "query",
1497
+ "type": {
1498
+ "kind": "string"
1499
+ },
1500
+ "required": false,
1501
+ "serializable": true,
1502
+ "role": "behaviour",
1503
+ "doc": "The search text (the app's), or a search field with `searchPlaceholder`."
1504
+ },
1505
+ {
1506
+ "name": "searchPlaceholder",
1507
+ "type": {
1508
+ "kind": "string"
1509
+ },
1510
+ "required": false,
1511
+ "serializable": true,
1512
+ "role": "behaviour"
1513
+ },
1514
+ {
1515
+ "name": "words",
1516
+ "type": {
1517
+ "kind": "object",
1518
+ "fields": [
1519
+ {
1520
+ "name": "reports",
1521
+ "required": false,
1522
+ "type": {
1523
+ "kind": "event",
1524
+ "payload": "count: number",
1525
+ "returns": "string"
1526
+ },
1527
+ "serializable": false
1528
+ },
1529
+ {
1530
+ "name": "expand",
1531
+ "required": false,
1532
+ "type": {
1533
+ "kind": "string"
1534
+ },
1535
+ "serializable": true
1536
+ },
1537
+ {
1538
+ "name": "collapse",
1539
+ "required": false,
1540
+ "type": {
1541
+ "kind": "string"
1542
+ },
1543
+ "serializable": true
1544
+ },
1545
+ {
1546
+ "name": "zoomIn",
1547
+ "required": false,
1548
+ "type": {
1549
+ "kind": "string"
1550
+ },
1551
+ "serializable": true
1552
+ },
1553
+ {
1554
+ "name": "zoomOut",
1555
+ "required": false,
1556
+ "type": {
1557
+ "kind": "string"
1558
+ },
1559
+ "serializable": true
1560
+ },
1561
+ {
1562
+ "name": "empty",
1563
+ "required": false,
1564
+ "type": {
1565
+ "kind": "string"
1566
+ },
1567
+ "serializable": true
1568
+ }
1569
+ ]
1570
+ },
1571
+ "required": false,
1572
+ "serializable": false,
1573
+ "role": "behaviour"
1574
+ }
1575
+ ],
1576
+ "anchor": null,
1577
+ "accessibility": {
1578
+ "labelFrom": [],
1579
+ "labelRequired": false
1580
+ },
1581
+ "targets": {
1582
+ "android": "unmeasured",
1583
+ "ios": "unmeasured",
1584
+ "windows": "unmeasured",
1585
+ "macos": "unmeasured",
1586
+ "web": "unmeasured"
1587
+ },
1588
+ "evidence": {
1589
+ "ledger": []
1590
+ },
1591
+ "tokens": [
1592
+ "OutlineVariant",
1593
+ "Primary",
1594
+ "PrimaryContainer",
1595
+ "SurfaceContainer",
1596
+ "TextPrimary",
1597
+ "TextSecondary",
1598
+ "TextTertiary"
1599
+ ],
1600
+ "example": {
1601
+ "line": "<G9OrgChart people={people} />",
1602
+ "from": "generated"
1603
+ }
1604
+ },
1605
+ {
1606
+ "id": "projects.projects.G9QuestionField",
1607
+ "export": "G9QuestionField",
1608
+ "from": "@g9tm/lynxcontrols-projects",
1609
+ "kind": "component",
1610
+ "family": "projects",
1611
+ "summary": "One question answered: its title (with the required mark), the help, the field of its kind, the problem.",
1612
+ "since": null,
1613
+ "props": [
1614
+ {
1615
+ "name": "disabled",
1616
+ "type": {
1617
+ "kind": "boolean"
1618
+ },
1619
+ "required": false,
1620
+ "serializable": true,
1621
+ "role": "state"
1622
+ },
1623
+ {
1624
+ "name": "id",
1625
+ "type": {
1626
+ "kind": "string"
1627
+ },
1628
+ "required": false,
1629
+ "serializable": true,
1630
+ "role": "identity"
1631
+ },
1632
+ {
1633
+ "name": "onChange",
1634
+ "type": {
1635
+ "kind": "event",
1636
+ "payload": "answer: G9FormAnswer"
1637
+ },
1638
+ "required": true,
1639
+ "serializable": false,
1640
+ "role": "event"
1641
+ },
1642
+ {
1643
+ "name": "onPickFiles",
1644
+ "type": {
1645
+ "kind": "event",
1646
+ "payload": null
1647
+ },
1648
+ "required": false,
1649
+ "serializable": false,
1650
+ "role": "event",
1651
+ "doc": "file: the app's picker (it uploads and passes the files back in `value`)."
1652
+ },
1653
+ {
1654
+ "name": "onRemoveFile",
1655
+ "type": {
1656
+ "kind": "event",
1657
+ "payload": "fileId: string"
1658
+ },
1659
+ "required": false,
1660
+ "serializable": false,
1661
+ "role": "event"
1662
+ },
1663
+ {
1664
+ "name": "problem",
1665
+ "type": {
1666
+ "kind": "string"
1667
+ },
1668
+ "required": false,
1669
+ "serializable": true,
1670
+ "role": "behaviour",
1671
+ "doc": "Under the field in the error colour."
1672
+ },
1673
+ {
1674
+ "name": "question",
1675
+ "type": {
1676
+ "kind": "object",
1677
+ "fields": [
1678
+ {
1679
+ "name": "id",
1680
+ "required": true,
1681
+ "type": {
1682
+ "kind": "string"
1683
+ },
1684
+ "serializable": true
1685
+ },
1686
+ {
1687
+ "name": "kind",
1688
+ "required": true,
1689
+ "type": {
1690
+ "kind": "enum",
1691
+ "values": [
1692
+ "number",
1693
+ "text",
1694
+ "date",
1695
+ "single",
1696
+ "longText",
1697
+ "multi",
1698
+ "dropdown",
1699
+ "rating",
1700
+ "scale",
1701
+ "file"
1702
+ ]
1703
+ },
1704
+ "serializable": true
1705
+ },
1706
+ {
1707
+ "name": "title",
1708
+ "required": true,
1709
+ "type": {
1710
+ "kind": "string"
1711
+ },
1712
+ "serializable": true
1713
+ },
1714
+ {
1715
+ "name": "help",
1716
+ "required": false,
1717
+ "type": {
1718
+ "kind": "string"
1719
+ },
1720
+ "serializable": true
1721
+ },
1722
+ {
1723
+ "name": "required",
1724
+ "required": false,
1725
+ "type": {
1726
+ "kind": "boolean"
1727
+ },
1728
+ "serializable": true
1729
+ },
1730
+ {
1731
+ "name": "options",
1732
+ "required": false,
1733
+ "type": {
1734
+ "kind": "array",
1735
+ "items": {
1736
+ "kind": "unknown",
1737
+ "text": "{ readonly id: string; readonly label: string; }"
1738
+ }
1739
+ },
1740
+ "serializable": false
1741
+ },
1742
+ {
1743
+ "name": "placeholder",
1744
+ "required": false,
1745
+ "type": {
1746
+ "kind": "string"
1747
+ },
1748
+ "serializable": true
1749
+ },
1750
+ {
1751
+ "name": "min",
1752
+ "required": false,
1753
+ "type": {
1754
+ "kind": "number"
1755
+ },
1756
+ "serializable": true
1757
+ },
1758
+ {
1759
+ "name": "max",
1760
+ "required": false,
1761
+ "type": {
1762
+ "kind": "number"
1763
+ },
1764
+ "serializable": true
1765
+ },
1766
+ {
1767
+ "name": "endLabels",
1768
+ "required": false,
1769
+ "type": {
1770
+ "kind": "array",
1771
+ "items": {
1772
+ "kind": "string"
1773
+ }
1774
+ },
1775
+ "serializable": true
1776
+ }
1777
+ ]
1778
+ },
1779
+ "required": true,
1780
+ "serializable": false,
1781
+ "role": "behaviour"
1782
+ },
1783
+ {
1784
+ "name": "value",
1785
+ "type": {
1786
+ "kind": "union",
1787
+ "of": [
1788
+ {
1789
+ "kind": "string"
1790
+ },
1791
+ {
1792
+ "kind": "number"
1793
+ },
1794
+ {
1795
+ "kind": "object",
1796
+ "fields": [
1797
+ {
1798
+ "name": "year",
1799
+ "required": true,
1800
+ "type": {
1801
+ "kind": "number"
1802
+ },
1803
+ "serializable": true
1804
+ },
1805
+ {
1806
+ "name": "month",
1807
+ "required": true,
1808
+ "type": {
1809
+ "kind": "number"
1810
+ },
1811
+ "serializable": true
1812
+ },
1813
+ {
1814
+ "name": "day",
1815
+ "required": true,
1816
+ "type": {
1817
+ "kind": "number"
1818
+ },
1819
+ "serializable": true
1820
+ }
1821
+ ]
1822
+ },
1823
+ {
1824
+ "kind": "array",
1825
+ "items": {
1826
+ "kind": "string"
1827
+ }
1828
+ },
1829
+ {
1830
+ "kind": "array",
1831
+ "items": {
1832
+ "kind": "unknown",
1833
+ "text": "G9AnswerFile"
1834
+ }
1835
+ }
1836
+ ]
1837
+ },
1838
+ "required": true,
1839
+ "serializable": false,
1840
+ "role": "state"
1841
+ },
1842
+ {
1843
+ "name": "words",
1844
+ "type": {
1845
+ "kind": "object",
1846
+ "fields": [
1847
+ {
1848
+ "name": "required",
1849
+ "required": false,
1850
+ "type": {
1851
+ "kind": "string"
1852
+ },
1853
+ "serializable": true
1854
+ },
1855
+ {
1856
+ "name": "addFile",
1857
+ "required": false,
1858
+ "type": {
1859
+ "kind": "string"
1860
+ },
1861
+ "serializable": true
1862
+ },
1863
+ {
1864
+ "name": "remove",
1865
+ "required": false,
1866
+ "type": {
1867
+ "kind": "string"
1868
+ },
1869
+ "serializable": true
1870
+ },
1871
+ {
1872
+ "name": "choose",
1873
+ "required": false,
1874
+ "type": {
1875
+ "kind": "string"
1876
+ },
1877
+ "serializable": true
1878
+ }
1879
+ ]
232
1880
  },
233
1881
  "required": false,
234
- "serializable": false,
235
- "role": "slot",
236
- "doc": "A column's own words after its head (a menu, a filter)."
1882
+ "serializable": true,
1883
+ "role": "behaviour"
237
1884
  }
238
1885
  ],
239
1886
  "anchor": null,
@@ -253,22 +1900,15 @@
253
1900
  },
254
1901
  "tokens": [
255
1902
  "Error",
256
- "OnPrimary",
257
- "OnPrimaryContainer",
258
1903
  "OutlineVariant",
259
1904
  "Primary",
260
- "PrimaryContainer",
261
- "Success",
262
- "Surface",
263
1905
  "SurfaceContainer",
264
- "SurfaceContainerHigh",
265
1906
  "TextPrimary",
266
1907
  "TextSecondary",
267
- "TextTertiary",
268
- "Warning"
1908
+ "TextTertiary"
269
1909
  ],
270
1910
  "example": {
271
- "line": "<G9Board columns={columns} getKey={getKey} renderCard={renderCard} />",
1911
+ "line": "<G9QuestionField onChange={() => {}} question={question} value={value} />",
272
1912
  "from": "generated"
273
1913
  }
274
1914
  },
@@ -281,6 +1921,17 @@
281
1921
  "summary": "An automation rule: When → If → Then, each step's editor the app's.",
282
1922
  "since": null,
283
1923
  "props": [
1924
+ {
1925
+ "name": "actionKindOf",
1926
+ "type": {
1927
+ "kind": "event",
1928
+ "payload": "item: A",
1929
+ "returns": "string"
1930
+ },
1931
+ "required": false,
1932
+ "serializable": false,
1933
+ "role": "event"
1934
+ },
284
1935
  {
285
1936
  "name": "actionKinds",
286
1937
  "type": {
@@ -311,12 +1962,45 @@
311
1962
  "kind": "string"
312
1963
  },
313
1964
  "serializable": true
1965
+ },
1966
+ {
1967
+ "name": "icon",
1968
+ "required": false,
1969
+ "type": {
1970
+ "kind": "union",
1971
+ "of": [
1972
+ {
1973
+ "kind": "string"
1974
+ },
1975
+ {
1976
+ "kind": "unknown",
1977
+ "text": "G9GlyphIcon"
1978
+ },
1979
+ {
1980
+ "kind": "unknown",
1981
+ "text": "G9FontCodePointIcon"
1982
+ },
1983
+ {
1984
+ "kind": "unknown",
1985
+ "text": "G9FontTextIcon"
1986
+ },
1987
+ {
1988
+ "kind": "unknown",
1989
+ "text": "G9SvgIcon"
1990
+ },
1991
+ {
1992
+ "kind": "unknown",
1993
+ "text": "G9ImageIcon"
1994
+ }
1995
+ ]
1996
+ },
1997
+ "serializable": false
314
1998
  }
315
1999
  ]
316
2000
  }
317
2001
  },
318
2002
  "required": true,
319
- "serializable": true,
2003
+ "serializable": false,
320
2004
  "role": "behaviour"
321
2005
  },
322
2006
  {
@@ -332,6 +2016,18 @@
332
2016
  "serializable": false,
333
2017
  "role": "behaviour"
334
2018
  },
2019
+ {
2020
+ "name": "conditionKindOf",
2021
+ "type": {
2022
+ "kind": "event",
2023
+ "payload": "item: C",
2024
+ "returns": "string"
2025
+ },
2026
+ "required": false,
2027
+ "serializable": false,
2028
+ "role": "event",
2029
+ "doc": "An item's kind (2.5.10): its icon and label head the item (`conditionKinds` / `actionKinds`)."
2030
+ },
335
2031
  {
336
2032
  "name": "conditionKinds",
337
2033
  "type": {
@@ -362,12 +2058,45 @@
362
2058
  "kind": "string"
363
2059
  },
364
2060
  "serializable": true
2061
+ },
2062
+ {
2063
+ "name": "icon",
2064
+ "required": false,
2065
+ "type": {
2066
+ "kind": "union",
2067
+ "of": [
2068
+ {
2069
+ "kind": "string"
2070
+ },
2071
+ {
2072
+ "kind": "unknown",
2073
+ "text": "G9GlyphIcon"
2074
+ },
2075
+ {
2076
+ "kind": "unknown",
2077
+ "text": "G9FontCodePointIcon"
2078
+ },
2079
+ {
2080
+ "kind": "unknown",
2081
+ "text": "G9FontTextIcon"
2082
+ },
2083
+ {
2084
+ "kind": "unknown",
2085
+ "text": "G9SvgIcon"
2086
+ },
2087
+ {
2088
+ "kind": "unknown",
2089
+ "text": "G9ImageIcon"
2090
+ }
2091
+ ]
2092
+ },
2093
+ "serializable": false
365
2094
  }
366
2095
  ]
367
2096
  }
368
2097
  },
369
2098
  "required": true,
370
- "serializable": true,
2099
+ "serializable": false,
371
2100
  "role": "behaviour",
372
2101
  "doc": "The kinds a condition may be (for this trigger)."
373
2102
  },
@@ -730,12 +2459,45 @@
730
2459
  "kind": "string"
731
2460
  },
732
2461
  "serializable": true
2462
+ },
2463
+ {
2464
+ "name": "icon",
2465
+ "required": false,
2466
+ "type": {
2467
+ "kind": "union",
2468
+ "of": [
2469
+ {
2470
+ "kind": "string"
2471
+ },
2472
+ {
2473
+ "kind": "unknown",
2474
+ "text": "G9GlyphIcon"
2475
+ },
2476
+ {
2477
+ "kind": "unknown",
2478
+ "text": "G9FontCodePointIcon"
2479
+ },
2480
+ {
2481
+ "kind": "unknown",
2482
+ "text": "G9FontTextIcon"
2483
+ },
2484
+ {
2485
+ "kind": "unknown",
2486
+ "text": "G9SvgIcon"
2487
+ },
2488
+ {
2489
+ "kind": "unknown",
2490
+ "text": "G9ImageIcon"
2491
+ }
2492
+ ]
2493
+ },
2494
+ "serializable": false
733
2495
  }
734
2496
  ]
735
2497
  }
736
2498
  },
737
2499
  "required": true,
738
- "serializable": true,
2500
+ "serializable": false,
739
2501
  "role": "behaviour"
740
2502
  }
741
2503
  ],
@@ -1129,6 +2891,17 @@
1129
2891
  "summary": "A Gantt chart: rows and bars an app keeps, moved and resized on the main thread, in the culture's calendar.",
1130
2892
  "since": null,
1131
2893
  "props": [
2894
+ {
2895
+ "name": "announceLabel",
2896
+ "type": {
2897
+ "kind": "event",
2898
+ "payload": "row: G9TimelineRow, span: G9DaySpan",
2899
+ "returns": "string"
2900
+ },
2901
+ "required": false,
2902
+ "serializable": false,
2903
+ "role": "event"
2904
+ },
1132
2905
  {
1133
2906
  "name": "barLabel",
1134
2907
  "type": {
@@ -1141,6 +2914,19 @@
1141
2914
  "role": "event",
1142
2915
  "doc": "How a bar is spoken (default its title)."
1143
2916
  },
2917
+ {
2918
+ "name": "daysOff",
2919
+ "type": {
2920
+ "kind": "array",
2921
+ "items": {
2922
+ "kind": "number"
2923
+ }
2924
+ },
2925
+ "required": false,
2926
+ "serializable": true,
2927
+ "role": "behaviour",
2928
+ "doc": "The organisation's days off (epoch days), shaded like the weekend."
2929
+ },
1144
2930
  {
1145
2931
  "name": "focusedKey",
1146
2932
  "type": {
@@ -1160,6 +2946,27 @@
1160
2946
  "serializable": true,
1161
2947
  "role": "identity"
1162
2948
  },
2949
+ {
2950
+ "name": "keyboard",
2951
+ "type": {
2952
+ "kind": "boolean"
2953
+ },
2954
+ "required": false,
2955
+ "serializable": true,
2956
+ "role": "behaviour",
2957
+ "doc": "The keyboard edits the focused bar (default on with `onSpanChange`): ←/→ move it, Shift+←/→ the due date, Alt+←/→ the start, ↑/↓ the row; saved after a pause."
2958
+ },
2959
+ {
2960
+ "name": "keyboardSaveDelay",
2961
+ "type": {
2962
+ "kind": "number"
2963
+ },
2964
+ "required": false,
2965
+ "default": 700,
2966
+ "serializable": true,
2967
+ "role": "behaviour",
2968
+ "doc": "How long the keyboard waits before saving (ms). Default 700."
2969
+ },
1163
2970
  {
1164
2971
  "name": "labelWidth",
1165
2972
  "type": {
@@ -1171,6 +2978,28 @@
1171
2978
  "role": "appearance",
1172
2979
  "doc": "The titles column's width. Default 160."
1173
2980
  },
2981
+ {
2982
+ "name": "onAnnounce",
2983
+ "type": {
2984
+ "kind": "event",
2985
+ "payload": "text: string"
2986
+ },
2987
+ "required": false,
2988
+ "serializable": false,
2989
+ "role": "event",
2990
+ "doc": "Said after a keyboard change (the app's announcer): `announceLabel` or the title and the days."
2991
+ },
2992
+ {
2993
+ "name": "onFocusChange",
2994
+ "type": {
2995
+ "kind": "event",
2996
+ "payload": "key: string"
2997
+ },
2998
+ "required": false,
2999
+ "serializable": false,
3000
+ "role": "event",
3001
+ "doc": "↑/↓ moved the focus (without it the timeline keeps the focus itself)."
3002
+ },
1174
3003
  {
1175
3004
  "name": "onOpen",
1176
3005
  "type": {
@@ -1344,6 +3173,39 @@
1344
3173
  "kind": "boolean"
1345
3174
  },
1346
3175
  "serializable": true
3176
+ },
3177
+ {
3178
+ "name": "code",
3179
+ "required": false,
3180
+ "type": {
3181
+ "kind": "string"
3182
+ },
3183
+ "serializable": true
3184
+ },
3185
+ {
3186
+ "name": "assignee",
3187
+ "required": false,
3188
+ "type": {
3189
+ "kind": "unknown",
3190
+ "text": "{ readonly name: string; readonly avatar?: string | null; readonly id?: string; }"
3191
+ },
3192
+ "serializable": false
3193
+ },
3194
+ {
3195
+ "name": "meta",
3196
+ "required": false,
3197
+ "type": {
3198
+ "kind": "string"
3199
+ },
3200
+ "serializable": true
3201
+ },
3202
+ {
3203
+ "name": "late",
3204
+ "required": false,
3205
+ "type": {
3206
+ "kind": "boolean"
3207
+ },
3208
+ "serializable": true
1347
3209
  }
1348
3210
  ]
1349
3211
  }
@@ -1352,6 +3214,16 @@
1352
3214
  "serializable": false,
1353
3215
  "role": "state"
1354
3216
  },
3217
+ {
3218
+ "name": "scrollToKey",
3219
+ "type": {
3220
+ "kind": "string"
3221
+ },
3222
+ "required": false,
3223
+ "serializable": true,
3224
+ "role": "behaviour",
3225
+ "doc": "Scrolls to this row's bar or milestone (open on a milestone); again whenever it changes."
3226
+ },
1355
3227
  {
1356
3228
  "name": "showLinks",
1357
3229
  "type": {
@@ -1557,6 +3429,38 @@
1557
3429
  "signature": "(position: number, start: number, end: number, zone?: number, max?: number): number",
1558
3430
  "summary": "`edgeRate` on the main thread."
1559
3431
  },
3432
+ {
3433
+ "id": "projects.projects.G9ActivityFeedProps",
3434
+ "export": "G9ActivityFeedProps",
3435
+ "from": "@g9tm/lynxcontrols-projects",
3436
+ "kind": "interface",
3437
+ "signature": "G9ActivityFeedProps",
3438
+ "summary": "Props of `G9ActivityFeed`."
3439
+ },
3440
+ {
3441
+ "id": "projects.projects.G9ActivityItem",
3442
+ "export": "G9ActivityItem",
3443
+ "from": "@g9tm/lynxcontrols-projects",
3444
+ "kind": "interface",
3445
+ "signature": "G9ActivityItem",
3446
+ "summary": "One change."
3447
+ },
3448
+ {
3449
+ "id": "projects.projects.g9AnswerEmpty",
3450
+ "export": "g9AnswerEmpty",
3451
+ "from": "@g9tm/lynxcontrols-projects",
3452
+ "kind": "function",
3453
+ "signature": "(answer: G9FormAnswer | undefined): boolean",
3454
+ "summary": "Whether an answer is empty (a required question's check)."
3455
+ },
3456
+ {
3457
+ "id": "projects.projects.G9AnswerFile",
3458
+ "export": "G9AnswerFile",
3459
+ "from": "@g9tm/lynxcontrols-projects",
3460
+ "kind": "interface",
3461
+ "signature": "G9AnswerFile",
3462
+ "summary": "A file attached to an answer."
3463
+ },
1560
3464
  {
1561
3465
  "id": "projects.projects.G9BoardCardState",
1562
3466
  "export": "G9BoardCardState",
@@ -1597,6 +3501,14 @@
1597
3501
  "signature": "G9CardBox",
1598
3502
  "summary": "A card's box in a column, measured when a card is lifted (page px)."
1599
3503
  },
3504
+ {
3505
+ "id": "projects.projects.g9ChoiceKinds",
3506
+ "export": "g9ChoiceKinds",
3507
+ "from": "@g9tm/lynxcontrols-projects",
3508
+ "kind": "constant",
3509
+ "signature": "readonly G9QuestionKind[]",
3510
+ "summary": "The kinds with options."
3511
+ },
1600
3512
  {
1601
3513
  "id": "projects.model.G9ColumnBox",
1602
3514
  "export": "G9ColumnBox",
@@ -1629,6 +3541,158 @@
1629
3541
  "signature": "G9DueTone",
1630
3542
  "summary": "The tone of a due date: due soon, overdue, done in time."
1631
3543
  },
3544
+ {
3545
+ "id": "projects.projects.G9FileBrowserProps",
3546
+ "export": "G9FileBrowserProps",
3547
+ "from": "@g9tm/lynxcontrols-projects",
3548
+ "kind": "interface",
3549
+ "signature": "G9FileBrowserProps",
3550
+ "summary": "Props of `G9FileBrowser`."
3551
+ },
3552
+ {
3553
+ "id": "projects.projects.G9FileEntry",
3554
+ "export": "G9FileEntry",
3555
+ "from": "@g9tm/lynxcontrols-projects",
3556
+ "kind": "interface",
3557
+ "signature": "G9FileEntry",
3558
+ "summary": "A file or a folder."
3559
+ },
3560
+ {
3561
+ "id": "projects.projects.g9FileEntryKind",
3562
+ "export": "g9FileEntryKind",
3563
+ "from": "@g9tm/lynxcontrols-projects",
3564
+ "kind": "function",
3565
+ "signature": "(name: string): G9FileEntryKind",
3566
+ "summary": "A name's kind from its extension."
3567
+ },
3568
+ {
3569
+ "id": "projects.projects.G9FileEntryKind",
3570
+ "export": "G9FileEntryKind",
3571
+ "from": "@g9tm/lynxcontrols-projects",
3572
+ "kind": "type",
3573
+ "signature": "G9FileEntryKind",
3574
+ "summary": "What a file is (its icon)."
3575
+ },
3576
+ {
3577
+ "id": "projects.projects.g9FileKindIcons",
3578
+ "export": "g9FileKindIcons",
3579
+ "from": "@g9tm/lynxcontrols-projects",
3580
+ "kind": "constant",
3581
+ "signature": "Readonly<Record<G9FileEntryKind, string>>",
3582
+ "summary": "The kinds' icons (SVG)."
3583
+ },
3584
+ {
3585
+ "id": "projects.projects.G9FormAnswer",
3586
+ "export": "G9FormAnswer",
3587
+ "from": "@g9tm/lynxcontrols-projects",
3588
+ "kind": "type",
3589
+ "signature": "G9FormAnswer",
3590
+ "summary": "An answer: text, the chosen option ids, a number (stars, the scale, a number), a date, files."
3591
+ },
3592
+ {
3593
+ "id": "projects.projects.G9FormBuilderProps",
3594
+ "export": "G9FormBuilderProps",
3595
+ "from": "@g9tm/lynxcontrols-projects",
3596
+ "kind": "interface",
3597
+ "signature": "G9FormBuilderProps",
3598
+ "summary": "Props of `G9FormBuilder`."
3599
+ },
3600
+ {
3601
+ "id": "projects.projects.G9FormBuilderWords",
3602
+ "export": "G9FormBuilderWords",
3603
+ "from": "@g9tm/lynxcontrols-projects",
3604
+ "kind": "interface",
3605
+ "signature": "G9FormBuilderWords",
3606
+ "summary": "The builder's words."
3607
+ },
3608
+ {
3609
+ "id": "projects.projects.G9FormQuestion",
3610
+ "export": "G9FormQuestion",
3611
+ "from": "@g9tm/lynxcontrols-projects",
3612
+ "kind": "interface",
3613
+ "signature": "G9FormQuestion",
3614
+ "summary": "One question of a form."
3615
+ },
3616
+ {
3617
+ "id": "projects.projects.G9OrgBox",
3618
+ "export": "G9OrgBox",
3619
+ "from": "@g9tm/lynxcontrols-projects",
3620
+ "kind": "interface",
3621
+ "signature": "G9OrgBox",
3622
+ "summary": "A card's place on the canvas (logical: left to right)."
3623
+ },
3624
+ {
3625
+ "id": "projects.projects.G9OrgChartProps",
3626
+ "export": "G9OrgChartProps",
3627
+ "from": "@g9tm/lynxcontrols-projects",
3628
+ "kind": "interface",
3629
+ "signature": "G9OrgChartProps",
3630
+ "summary": "Props of `G9OrgChart`."
3631
+ },
3632
+ {
3633
+ "id": "projects.projects.g9OrgLayout",
3634
+ "export": "g9OrgLayout",
3635
+ "from": "@g9tm/lynxcontrols-projects",
3636
+ "kind": "function",
3637
+ "signature": "(tree: G9OrgTree, collapsed: ReadonlySet<string>, size: { readonly width: number; readonly height: number; readonly gapX: number; readonly gapY: number; }, visible?: ReadonlySet<string> | null | undefined): { readonly boxes: readonly G9OrgBox[]; readonly width: number; readonly height: number; }",
3638
+ "summary": "The tree laid out: leaves side by side, each manager centred over their reports; collapsed branches left out."
3639
+ },
3640
+ {
3641
+ "id": "projects.projects.g9OrgMatches",
3642
+ "export": "g9OrgMatches",
3643
+ "from": "@g9tm/lynxcontrols-projects",
3644
+ "kind": "function",
3645
+ "signature": "(tree: G9OrgTree, query: string): ReadonlySet<string> | null",
3646
+ "summary": "The people a search shows: the matches and their managers up to the top."
3647
+ },
3648
+ {
3649
+ "id": "projects.projects.G9OrgPerson",
3650
+ "export": "G9OrgPerson",
3651
+ "from": "@g9tm/lynxcontrols-projects",
3652
+ "kind": "interface",
3653
+ "signature": "G9OrgPerson",
3654
+ "summary": "A person in the organisation."
3655
+ },
3656
+ {
3657
+ "id": "projects.projects.g9OrgReportCount",
3658
+ "export": "g9OrgReportCount",
3659
+ "from": "@g9tm/lynxcontrols-projects",
3660
+ "kind": "function",
3661
+ "signature": "(tree: G9OrgTree, id: string): number",
3662
+ "summary": "Everyone under a person (all levels)."
3663
+ },
3664
+ {
3665
+ "id": "projects.projects.g9OrgTree",
3666
+ "export": "g9OrgTree",
3667
+ "from": "@g9tm/lynxcontrols-projects",
3668
+ "kind": "function",
3669
+ "signature": "(people: readonly G9OrgPerson[]): G9OrgTree",
3670
+ "summary": "Builds the tree from the people's managers, in the list's order."
3671
+ },
3672
+ {
3673
+ "id": "projects.projects.G9OrgTree",
3674
+ "export": "G9OrgTree",
3675
+ "from": "@g9tm/lynxcontrols-projects",
3676
+ "kind": "interface",
3677
+ "signature": "G9OrgTree",
3678
+ "summary": "The tree of a list of people: the tops, each one's reports and manager (a loop is cut where it closes)."
3679
+ },
3680
+ {
3681
+ "id": "projects.projects.G9QuestionFieldProps",
3682
+ "export": "G9QuestionFieldProps",
3683
+ "from": "@g9tm/lynxcontrols-projects",
3684
+ "kind": "interface",
3685
+ "signature": "G9QuestionFieldProps",
3686
+ "summary": "Props of `G9QuestionField`."
3687
+ },
3688
+ {
3689
+ "id": "projects.projects.G9QuestionKind",
3690
+ "export": "G9QuestionKind",
3691
+ "from": "@g9tm/lynxcontrols-projects",
3692
+ "kind": "type",
3693
+ "signature": "G9QuestionKind",
3694
+ "summary": "A question's kind."
3695
+ },
1632
3696
  {
1633
3697
  "id": "projects.projects.G9RuleBuilderLabels",
1634
3698
  "export": "G9RuleBuilderLabels",
@@ -1661,6 +3725,14 @@
1661
3725
  "signature": "G9Segment",
1662
3726
  "summary": "A straight piece of a dependency arrow (logical px): horizontal (`w`) or vertical (`h`)."
1663
3727
  },
3728
+ {
3729
+ "id": "projects.projects.g9SortFiles",
3730
+ "export": "g9SortFiles",
3731
+ "from": "@g9tm/lynxcontrols-projects",
3732
+ "kind": "function",
3733
+ "signature": "(items: readonly G9FileEntry[], key: \"name\" | \"size\" | \"modified\", dir: \"asc\" | \"desc\"): G9FileEntry[]",
3734
+ "summary": "Files sorted: folders first, then by the key (names in the Persian alphabet, Latin without case; no Intl)."
3735
+ },
1664
3736
  {
1665
3737
  "id": "projects.model.G9SpanDrag",
1666
3738
  "export": "G9SpanDrag",