@g9tm/lynxcontrols-calendar 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2485 @@
1
+ {
2
+ "catalogVersion": 1,
3
+ "package": "@g9tm/lynxcontrols-calendar",
4
+ "version": "2.4.0",
5
+ "generatedBy": "node scripts/check-docs.mjs --write",
6
+ "components": [
7
+ {
8
+ "id": "calendar.calendar.G9AgendaView",
9
+ "export": "G9AgendaView",
10
+ "from": "@g9tm/lynxcontrols-calendar",
11
+ "kind": "component",
12
+ "family": "calendar",
13
+ "summary": "Days with events, each a sticky header over its events (time, title), on the recycler.",
14
+ "since": null,
15
+ "props": [
16
+ {
17
+ "name": "allDayText",
18
+ "type": {
19
+ "kind": "string"
20
+ },
21
+ "required": false,
22
+ "serializable": true,
23
+ "role": "content"
24
+ },
25
+ {
26
+ "name": "empty",
27
+ "type": {
28
+ "kind": "slot",
29
+ "accepts": "any"
30
+ },
31
+ "required": false,
32
+ "serializable": false,
33
+ "role": "slot"
34
+ },
35
+ {
36
+ "name": "events",
37
+ "type": {
38
+ "kind": "array",
39
+ "items": {
40
+ "kind": "object",
41
+ "fields": [
42
+ {
43
+ "name": "id",
44
+ "required": true,
45
+ "type": {
46
+ "kind": "string"
47
+ },
48
+ "serializable": true
49
+ },
50
+ {
51
+ "name": "title",
52
+ "required": true,
53
+ "type": {
54
+ "kind": "string"
55
+ },
56
+ "serializable": true
57
+ },
58
+ {
59
+ "name": "date",
60
+ "required": true,
61
+ "type": {
62
+ "kind": "unknown",
63
+ "text": "G9LocalDate"
64
+ },
65
+ "serializable": false
66
+ },
67
+ {
68
+ "name": "start",
69
+ "required": false,
70
+ "type": {
71
+ "kind": "number"
72
+ },
73
+ "serializable": true
74
+ },
75
+ {
76
+ "name": "end",
77
+ "required": false,
78
+ "type": {
79
+ "kind": "number"
80
+ },
81
+ "serializable": true
82
+ },
83
+ {
84
+ "name": "color",
85
+ "required": false,
86
+ "type": {
87
+ "kind": "color"
88
+ },
89
+ "serializable": true
90
+ }
91
+ ]
92
+ }
93
+ },
94
+ "required": true,
95
+ "serializable": false,
96
+ "role": "behaviour"
97
+ },
98
+ {
99
+ "name": "id",
100
+ "type": {
101
+ "kind": "string"
102
+ },
103
+ "required": false,
104
+ "serializable": true,
105
+ "role": "identity"
106
+ },
107
+ {
108
+ "name": "onSelectEvent",
109
+ "type": {
110
+ "kind": "event",
111
+ "payload": "event: G9CalendarEvent"
112
+ },
113
+ "required": false,
114
+ "serializable": false,
115
+ "role": "event"
116
+ },
117
+ {
118
+ "name": "today",
119
+ "type": {
120
+ "kind": "object",
121
+ "fields": [
122
+ {
123
+ "name": "year",
124
+ "required": true,
125
+ "type": {
126
+ "kind": "number"
127
+ },
128
+ "serializable": true
129
+ },
130
+ {
131
+ "name": "month",
132
+ "required": true,
133
+ "type": {
134
+ "kind": "number"
135
+ },
136
+ "serializable": true
137
+ },
138
+ {
139
+ "name": "day",
140
+ "required": true,
141
+ "type": {
142
+ "kind": "number"
143
+ },
144
+ "serializable": true
145
+ }
146
+ ]
147
+ },
148
+ "required": true,
149
+ "serializable": true,
150
+ "role": "behaviour"
151
+ }
152
+ ],
153
+ "anchor": null,
154
+ "accessibility": {
155
+ "labelFrom": [],
156
+ "labelRequired": false
157
+ },
158
+ "targets": {
159
+ "android": "unmeasured",
160
+ "ios": "unmeasured",
161
+ "windows": "unmeasured",
162
+ "macos": "unmeasured",
163
+ "web": "verified"
164
+ },
165
+ "evidence": {
166
+ "ledger": [
167
+ "N-126"
168
+ ]
169
+ },
170
+ "tokens": [
171
+ "Divider",
172
+ "Error",
173
+ "OnPrimary",
174
+ "OnPrimaryContainer",
175
+ "Primary",
176
+ "PrimaryContainer",
177
+ "Surface",
178
+ "SurfaceContainerLow",
179
+ "TextDisabled",
180
+ "TextPrimary",
181
+ "TextSecondary",
182
+ "TextTertiary"
183
+ ],
184
+ "example": {
185
+ "line": "<G9AgendaView events={events} today={today} />",
186
+ "from": "generated"
187
+ }
188
+ },
189
+ {
190
+ "id": "calendar.calendar.G9DateInput",
191
+ "export": "G9DateInput",
192
+ "from": "@g9tm/lynxcontrols-calendar",
193
+ "kind": "component",
194
+ "family": "calendar",
195
+ "summary": "A date typed the way people say it — «فردا», «۱۵ مهر», «2026-03-21», «next friday» — read on blur (parseNaturalDate), with a month to tap under it.",
196
+ "since": null,
197
+ "props": [
198
+ {
199
+ "name": "id",
200
+ "type": {
201
+ "kind": "string"
202
+ },
203
+ "required": false,
204
+ "serializable": true,
205
+ "role": "identity"
206
+ },
207
+ {
208
+ "name": "invalidText",
209
+ "type": {
210
+ "kind": "string"
211
+ },
212
+ "required": false,
213
+ "serializable": true,
214
+ "role": "content",
215
+ "doc": "Shown when the text is not a date."
216
+ },
217
+ {
218
+ "name": "label",
219
+ "type": {
220
+ "kind": "string"
221
+ },
222
+ "required": true,
223
+ "serializable": true,
224
+ "role": "content"
225
+ },
226
+ {
227
+ "name": "max",
228
+ "type": {
229
+ "kind": "object",
230
+ "fields": [
231
+ {
232
+ "name": "year",
233
+ "required": true,
234
+ "type": {
235
+ "kind": "number"
236
+ },
237
+ "serializable": true
238
+ },
239
+ {
240
+ "name": "month",
241
+ "required": true,
242
+ "type": {
243
+ "kind": "number"
244
+ },
245
+ "serializable": true
246
+ },
247
+ {
248
+ "name": "day",
249
+ "required": true,
250
+ "type": {
251
+ "kind": "number"
252
+ },
253
+ "serializable": true
254
+ }
255
+ ]
256
+ },
257
+ "required": false,
258
+ "serializable": true,
259
+ "role": "behaviour"
260
+ },
261
+ {
262
+ "name": "min",
263
+ "type": {
264
+ "kind": "object",
265
+ "fields": [
266
+ {
267
+ "name": "year",
268
+ "required": true,
269
+ "type": {
270
+ "kind": "number"
271
+ },
272
+ "serializable": true
273
+ },
274
+ {
275
+ "name": "month",
276
+ "required": true,
277
+ "type": {
278
+ "kind": "number"
279
+ },
280
+ "serializable": true
281
+ },
282
+ {
283
+ "name": "day",
284
+ "required": true,
285
+ "type": {
286
+ "kind": "number"
287
+ },
288
+ "serializable": true
289
+ }
290
+ ]
291
+ },
292
+ "required": false,
293
+ "serializable": true,
294
+ "role": "behaviour"
295
+ },
296
+ {
297
+ "name": "onChange",
298
+ "type": {
299
+ "kind": "event",
300
+ "payload": "date: G9LocalDate | null"
301
+ },
302
+ "required": true,
303
+ "serializable": false,
304
+ "role": "event"
305
+ },
306
+ {
307
+ "name": "today",
308
+ "type": {
309
+ "kind": "object",
310
+ "fields": [
311
+ {
312
+ "name": "year",
313
+ "required": true,
314
+ "type": {
315
+ "kind": "number"
316
+ },
317
+ "serializable": true
318
+ },
319
+ {
320
+ "name": "month",
321
+ "required": true,
322
+ "type": {
323
+ "kind": "number"
324
+ },
325
+ "serializable": true
326
+ },
327
+ {
328
+ "name": "day",
329
+ "required": true,
330
+ "type": {
331
+ "kind": "number"
332
+ },
333
+ "serializable": true
334
+ }
335
+ ]
336
+ },
337
+ "required": true,
338
+ "serializable": true,
339
+ "role": "behaviour"
340
+ },
341
+ {
342
+ "name": "value",
343
+ "type": {
344
+ "kind": "object",
345
+ "fields": [
346
+ {
347
+ "name": "year",
348
+ "required": true,
349
+ "type": {
350
+ "kind": "number"
351
+ },
352
+ "serializable": true
353
+ },
354
+ {
355
+ "name": "month",
356
+ "required": true,
357
+ "type": {
358
+ "kind": "number"
359
+ },
360
+ "serializable": true
361
+ },
362
+ {
363
+ "name": "day",
364
+ "required": true,
365
+ "type": {
366
+ "kind": "number"
367
+ },
368
+ "serializable": true
369
+ }
370
+ ]
371
+ },
372
+ "required": true,
373
+ "serializable": true,
374
+ "role": "state"
375
+ }
376
+ ],
377
+ "anchor": null,
378
+ "accessibility": {
379
+ "labelFrom": [
380
+ "label"
381
+ ],
382
+ "labelRequired": false
383
+ },
384
+ "targets": {
385
+ "android": "unmeasured",
386
+ "ios": "unmeasured",
387
+ "windows": "unmeasured",
388
+ "macos": "unmeasured",
389
+ "web": "verified"
390
+ },
391
+ "evidence": {
392
+ "ledger": [
393
+ "N-126"
394
+ ]
395
+ },
396
+ "tokens": [
397
+ "Divider",
398
+ "Error",
399
+ "OnPrimary",
400
+ "OnPrimaryContainer",
401
+ "Primary",
402
+ "PrimaryContainer",
403
+ "Surface",
404
+ "SurfaceContainerLow",
405
+ "TextDisabled",
406
+ "TextPrimary",
407
+ "TextSecondary",
408
+ "TextTertiary"
409
+ ],
410
+ "example": {
411
+ "line": "<G9DateInput label=\"Label\" onChange={() => {}} today={today} value={value} />",
412
+ "from": "generated"
413
+ }
414
+ },
415
+ {
416
+ "id": "calendar.calendar.G9MiniMonth",
417
+ "export": "G9MiniMonth",
418
+ "from": "@g9tm/lynxcontrols-calendar",
419
+ "kind": "component",
420
+ "family": "calendar",
421
+ "summary": "A compact month: header with arrows, weekday initials, 6×7 days; today ringed, the value filled, a range tinted.",
422
+ "since": null,
423
+ "props": [
424
+ {
425
+ "name": "id",
426
+ "type": {
427
+ "kind": "string"
428
+ },
429
+ "required": false,
430
+ "serializable": true,
431
+ "role": "identity"
432
+ },
433
+ {
434
+ "name": "initialMonth",
435
+ "type": {
436
+ "kind": "object",
437
+ "fields": [
438
+ {
439
+ "name": "year",
440
+ "required": true,
441
+ "type": {
442
+ "kind": "number"
443
+ },
444
+ "serializable": true
445
+ },
446
+ {
447
+ "name": "month",
448
+ "required": true,
449
+ "type": {
450
+ "kind": "number"
451
+ },
452
+ "serializable": true
453
+ },
454
+ {
455
+ "name": "day",
456
+ "required": true,
457
+ "type": {
458
+ "kind": "number"
459
+ },
460
+ "serializable": true
461
+ }
462
+ ]
463
+ },
464
+ "required": false,
465
+ "serializable": true,
466
+ "role": "behaviour",
467
+ "doc": "The month shown first (default the value's, else today's)."
468
+ },
469
+ {
470
+ "name": "marked",
471
+ "type": {
472
+ "kind": "event",
473
+ "payload": "date: G9LocalDate",
474
+ "returns": "boolean"
475
+ },
476
+ "required": false,
477
+ "serializable": false,
478
+ "role": "event",
479
+ "doc": "Days with something on them (a dot under the number)."
480
+ },
481
+ {
482
+ "name": "max",
483
+ "type": {
484
+ "kind": "object",
485
+ "fields": [
486
+ {
487
+ "name": "year",
488
+ "required": true,
489
+ "type": {
490
+ "kind": "number"
491
+ },
492
+ "serializable": true
493
+ },
494
+ {
495
+ "name": "month",
496
+ "required": true,
497
+ "type": {
498
+ "kind": "number"
499
+ },
500
+ "serializable": true
501
+ },
502
+ {
503
+ "name": "day",
504
+ "required": true,
505
+ "type": {
506
+ "kind": "number"
507
+ },
508
+ "serializable": true
509
+ }
510
+ ]
511
+ },
512
+ "required": false,
513
+ "serializable": true,
514
+ "role": "behaviour"
515
+ },
516
+ {
517
+ "name": "min",
518
+ "type": {
519
+ "kind": "object",
520
+ "fields": [
521
+ {
522
+ "name": "year",
523
+ "required": true,
524
+ "type": {
525
+ "kind": "number"
526
+ },
527
+ "serializable": true
528
+ },
529
+ {
530
+ "name": "month",
531
+ "required": true,
532
+ "type": {
533
+ "kind": "number"
534
+ },
535
+ "serializable": true
536
+ },
537
+ {
538
+ "name": "day",
539
+ "required": true,
540
+ "type": {
541
+ "kind": "number"
542
+ },
543
+ "serializable": true
544
+ }
545
+ ]
546
+ },
547
+ "required": false,
548
+ "serializable": true,
549
+ "role": "behaviour"
550
+ },
551
+ {
552
+ "name": "onSelect",
553
+ "type": {
554
+ "kind": "event",
555
+ "payload": "date: G9LocalDate"
556
+ },
557
+ "required": false,
558
+ "serializable": false,
559
+ "role": "event"
560
+ },
561
+ {
562
+ "name": "range",
563
+ "type": {
564
+ "kind": "object",
565
+ "fields": [
566
+ {
567
+ "name": "start",
568
+ "required": true,
569
+ "type": {
570
+ "kind": "object",
571
+ "fields": [
572
+ {
573
+ "name": "year",
574
+ "required": true,
575
+ "type": {
576
+ "kind": "number"
577
+ },
578
+ "serializable": true
579
+ },
580
+ {
581
+ "name": "month",
582
+ "required": true,
583
+ "type": {
584
+ "kind": "number"
585
+ },
586
+ "serializable": true
587
+ },
588
+ {
589
+ "name": "day",
590
+ "required": true,
591
+ "type": {
592
+ "kind": "number"
593
+ },
594
+ "serializable": true
595
+ }
596
+ ]
597
+ },
598
+ "serializable": true
599
+ },
600
+ {
601
+ "name": "end",
602
+ "required": true,
603
+ "type": {
604
+ "kind": "object",
605
+ "fields": [
606
+ {
607
+ "name": "year",
608
+ "required": true,
609
+ "type": {
610
+ "kind": "number"
611
+ },
612
+ "serializable": true
613
+ },
614
+ {
615
+ "name": "month",
616
+ "required": true,
617
+ "type": {
618
+ "kind": "number"
619
+ },
620
+ "serializable": true
621
+ },
622
+ {
623
+ "name": "day",
624
+ "required": true,
625
+ "type": {
626
+ "kind": "number"
627
+ },
628
+ "serializable": true
629
+ }
630
+ ]
631
+ },
632
+ "serializable": true
633
+ }
634
+ ]
635
+ },
636
+ "required": false,
637
+ "serializable": true,
638
+ "role": "behaviour",
639
+ "doc": "A selected range (both ends inclusive)."
640
+ },
641
+ {
642
+ "name": "today",
643
+ "type": {
644
+ "kind": "object",
645
+ "fields": [
646
+ {
647
+ "name": "year",
648
+ "required": true,
649
+ "type": {
650
+ "kind": "number"
651
+ },
652
+ "serializable": true
653
+ },
654
+ {
655
+ "name": "month",
656
+ "required": true,
657
+ "type": {
658
+ "kind": "number"
659
+ },
660
+ "serializable": true
661
+ },
662
+ {
663
+ "name": "day",
664
+ "required": true,
665
+ "type": {
666
+ "kind": "number"
667
+ },
668
+ "serializable": true
669
+ }
670
+ ]
671
+ },
672
+ "required": true,
673
+ "serializable": true,
674
+ "role": "behaviour"
675
+ },
676
+ {
677
+ "name": "value",
678
+ "type": {
679
+ "kind": "object",
680
+ "fields": [
681
+ {
682
+ "name": "year",
683
+ "required": true,
684
+ "type": {
685
+ "kind": "number"
686
+ },
687
+ "serializable": true
688
+ },
689
+ {
690
+ "name": "month",
691
+ "required": true,
692
+ "type": {
693
+ "kind": "number"
694
+ },
695
+ "serializable": true
696
+ },
697
+ {
698
+ "name": "day",
699
+ "required": true,
700
+ "type": {
701
+ "kind": "number"
702
+ },
703
+ "serializable": true
704
+ }
705
+ ]
706
+ },
707
+ "required": false,
708
+ "serializable": true,
709
+ "role": "state"
710
+ }
711
+ ],
712
+ "anchor": null,
713
+ "accessibility": {
714
+ "labelFrom": [],
715
+ "labelRequired": false
716
+ },
717
+ "targets": {
718
+ "android": "unmeasured",
719
+ "ios": "unmeasured",
720
+ "windows": "unmeasured",
721
+ "macos": "unmeasured",
722
+ "web": "verified"
723
+ },
724
+ "evidence": {
725
+ "ledger": [
726
+ "N-126"
727
+ ]
728
+ },
729
+ "tokens": [
730
+ "Divider",
731
+ "Error",
732
+ "OnPrimary",
733
+ "OnPrimaryContainer",
734
+ "Primary",
735
+ "PrimaryContainer",
736
+ "Surface",
737
+ "SurfaceContainerLow",
738
+ "TextDisabled",
739
+ "TextPrimary",
740
+ "TextSecondary",
741
+ "TextTertiary"
742
+ ],
743
+ "example": {
744
+ "line": "<G9MiniMonth today={today} />",
745
+ "from": "generated"
746
+ }
747
+ },
748
+ {
749
+ "id": "calendar.calendar.G9MonthDayPicker",
750
+ "export": "G9MonthDayPicker",
751
+ "from": "@g9tm/lynxcontrols-calendar",
752
+ "kind": "component",
753
+ "family": "calendar",
754
+ "summary": "Two rows of chips: the twelve months of the culture's calendar, then the chosen month's days. Choosing another month keeps the day where that month has it (31 → 30 on a shorter one).",
755
+ "since": null,
756
+ "props": [
757
+ {
758
+ "name": "id",
759
+ "type": {
760
+ "kind": "string"
761
+ },
762
+ "required": false,
763
+ "serializable": true,
764
+ "role": "identity"
765
+ },
766
+ {
767
+ "name": "onChange",
768
+ "type": {
769
+ "kind": "event",
770
+ "payload": "value: G9MonthDay | null"
771
+ },
772
+ "required": true,
773
+ "serializable": false,
774
+ "role": "event",
775
+ "doc": "`null` when the chosen month is tapped again (cleared)."
776
+ },
777
+ {
778
+ "name": "value",
779
+ "type": {
780
+ "kind": "object",
781
+ "fields": [
782
+ {
783
+ "name": "month",
784
+ "required": true,
785
+ "type": {
786
+ "kind": "number"
787
+ },
788
+ "serializable": true
789
+ },
790
+ {
791
+ "name": "day",
792
+ "required": true,
793
+ "type": {
794
+ "kind": "number"
795
+ },
796
+ "serializable": true
797
+ }
798
+ ]
799
+ },
800
+ "required": true,
801
+ "serializable": true,
802
+ "role": "state"
803
+ }
804
+ ],
805
+ "anchor": null,
806
+ "accessibility": {
807
+ "labelFrom": [],
808
+ "labelRequired": false
809
+ },
810
+ "targets": {
811
+ "android": "unmeasured",
812
+ "ios": "unmeasured",
813
+ "windows": "unmeasured",
814
+ "macos": "unmeasured",
815
+ "web": "verified"
816
+ },
817
+ "evidence": {
818
+ "ledger": [
819
+ "N-126"
820
+ ]
821
+ },
822
+ "tokens": [
823
+ "Divider",
824
+ "Error",
825
+ "OnPrimary",
826
+ "OnPrimaryContainer",
827
+ "Primary",
828
+ "PrimaryContainer",
829
+ "Surface",
830
+ "SurfaceContainerLow",
831
+ "TextDisabled",
832
+ "TextPrimary",
833
+ "TextSecondary",
834
+ "TextTertiary"
835
+ ],
836
+ "example": {
837
+ "line": "<G9MonthDayPicker onChange={() => {}} value={value} />",
838
+ "from": "generated"
839
+ }
840
+ },
841
+ {
842
+ "id": "calendar.calendar.G9MonthView",
843
+ "export": "G9MonthView",
844
+ "from": "@g9tm/lynxcontrols-calendar",
845
+ "kind": "component",
846
+ "family": "calendar",
847
+ "summary": "A full month with each day's first events as chips and «+n» for the rest.",
848
+ "since": null,
849
+ "props": [
850
+ {
851
+ "name": "events",
852
+ "type": {
853
+ "kind": "array",
854
+ "items": {
855
+ "kind": "object",
856
+ "fields": [
857
+ {
858
+ "name": "id",
859
+ "required": true,
860
+ "type": {
861
+ "kind": "string"
862
+ },
863
+ "serializable": true
864
+ },
865
+ {
866
+ "name": "title",
867
+ "required": true,
868
+ "type": {
869
+ "kind": "string"
870
+ },
871
+ "serializable": true
872
+ },
873
+ {
874
+ "name": "date",
875
+ "required": true,
876
+ "type": {
877
+ "kind": "unknown",
878
+ "text": "G9LocalDate"
879
+ },
880
+ "serializable": false
881
+ },
882
+ {
883
+ "name": "start",
884
+ "required": false,
885
+ "type": {
886
+ "kind": "number"
887
+ },
888
+ "serializable": true
889
+ },
890
+ {
891
+ "name": "end",
892
+ "required": false,
893
+ "type": {
894
+ "kind": "number"
895
+ },
896
+ "serializable": true
897
+ },
898
+ {
899
+ "name": "color",
900
+ "required": false,
901
+ "type": {
902
+ "kind": "color"
903
+ },
904
+ "serializable": true
905
+ }
906
+ ]
907
+ }
908
+ },
909
+ "required": true,
910
+ "serializable": false,
911
+ "role": "behaviour"
912
+ },
913
+ {
914
+ "name": "id",
915
+ "type": {
916
+ "kind": "string"
917
+ },
918
+ "required": false,
919
+ "serializable": true,
920
+ "role": "identity"
921
+ },
922
+ {
923
+ "name": "month",
924
+ "type": {
925
+ "kind": "object",
926
+ "fields": [
927
+ {
928
+ "name": "year",
929
+ "required": true,
930
+ "type": {
931
+ "kind": "number"
932
+ },
933
+ "serializable": true
934
+ },
935
+ {
936
+ "name": "month",
937
+ "required": true,
938
+ "type": {
939
+ "kind": "number"
940
+ },
941
+ "serializable": true
942
+ },
943
+ {
944
+ "name": "day",
945
+ "required": true,
946
+ "type": {
947
+ "kind": "number"
948
+ },
949
+ "serializable": true
950
+ }
951
+ ]
952
+ },
953
+ "required": true,
954
+ "serializable": true,
955
+ "role": "behaviour"
956
+ },
957
+ {
958
+ "name": "onSelectDay",
959
+ "type": {
960
+ "kind": "event",
961
+ "payload": "date: G9LocalDate"
962
+ },
963
+ "required": false,
964
+ "serializable": false,
965
+ "role": "event"
966
+ },
967
+ {
968
+ "name": "onSelectEvent",
969
+ "type": {
970
+ "kind": "event",
971
+ "payload": "event: G9CalendarEvent"
972
+ },
973
+ "required": false,
974
+ "serializable": false,
975
+ "role": "event"
976
+ },
977
+ {
978
+ "name": "perDay",
979
+ "type": {
980
+ "kind": "number"
981
+ },
982
+ "required": false,
983
+ "default": 2,
984
+ "serializable": true,
985
+ "role": "behaviour",
986
+ "doc": "Events shown per day before «+n». Default 2."
987
+ },
988
+ {
989
+ "name": "today",
990
+ "type": {
991
+ "kind": "object",
992
+ "fields": [
993
+ {
994
+ "name": "year",
995
+ "required": true,
996
+ "type": {
997
+ "kind": "number"
998
+ },
999
+ "serializable": true
1000
+ },
1001
+ {
1002
+ "name": "month",
1003
+ "required": true,
1004
+ "type": {
1005
+ "kind": "number"
1006
+ },
1007
+ "serializable": true
1008
+ },
1009
+ {
1010
+ "name": "day",
1011
+ "required": true,
1012
+ "type": {
1013
+ "kind": "number"
1014
+ },
1015
+ "serializable": true
1016
+ }
1017
+ ]
1018
+ },
1019
+ "required": true,
1020
+ "serializable": true,
1021
+ "role": "behaviour"
1022
+ }
1023
+ ],
1024
+ "anchor": null,
1025
+ "accessibility": {
1026
+ "labelFrom": [],
1027
+ "labelRequired": false
1028
+ },
1029
+ "targets": {
1030
+ "android": "unmeasured",
1031
+ "ios": "unmeasured",
1032
+ "windows": "unmeasured",
1033
+ "macos": "unmeasured",
1034
+ "web": "verified"
1035
+ },
1036
+ "evidence": {
1037
+ "ledger": [
1038
+ "N-126"
1039
+ ]
1040
+ },
1041
+ "tokens": [
1042
+ "Divider",
1043
+ "Error",
1044
+ "OnPrimary",
1045
+ "OnPrimaryContainer",
1046
+ "Primary",
1047
+ "PrimaryContainer",
1048
+ "Surface",
1049
+ "SurfaceContainerLow",
1050
+ "TextDisabled",
1051
+ "TextPrimary",
1052
+ "TextSecondary",
1053
+ "TextTertiary"
1054
+ ],
1055
+ "example": {
1056
+ "line": "<G9MonthView events={events} month={month} today={today} />",
1057
+ "from": "generated"
1058
+ }
1059
+ },
1060
+ {
1061
+ "id": "calendar.calendar.G9RepeatPicker",
1062
+ "export": "G9RepeatPicker",
1063
+ "from": "@g9tm/lynxcontrols-calendar",
1064
+ "kind": "component",
1065
+ "family": "calendar",
1066
+ "summary": "Never / daily / weekly (with weekday chips) / monthly / yearly.",
1067
+ "since": null,
1068
+ "props": [
1069
+ {
1070
+ "name": "id",
1071
+ "type": {
1072
+ "kind": "string"
1073
+ },
1074
+ "required": false,
1075
+ "serializable": true,
1076
+ "role": "identity"
1077
+ },
1078
+ {
1079
+ "name": "labels",
1080
+ "type": {
1081
+ "kind": "object",
1082
+ "fields": [
1083
+ {
1084
+ "name": "never",
1085
+ "required": true,
1086
+ "type": {
1087
+ "kind": "string"
1088
+ },
1089
+ "serializable": true
1090
+ },
1091
+ {
1092
+ "name": "daily",
1093
+ "required": true,
1094
+ "type": {
1095
+ "kind": "string"
1096
+ },
1097
+ "serializable": true
1098
+ },
1099
+ {
1100
+ "name": "weekly",
1101
+ "required": true,
1102
+ "type": {
1103
+ "kind": "string"
1104
+ },
1105
+ "serializable": true
1106
+ },
1107
+ {
1108
+ "name": "monthly",
1109
+ "required": true,
1110
+ "type": {
1111
+ "kind": "string"
1112
+ },
1113
+ "serializable": true
1114
+ },
1115
+ {
1116
+ "name": "yearly",
1117
+ "required": true,
1118
+ "type": {
1119
+ "kind": "string"
1120
+ },
1121
+ "serializable": true
1122
+ }
1123
+ ]
1124
+ },
1125
+ "required": true,
1126
+ "serializable": true,
1127
+ "role": "behaviour"
1128
+ },
1129
+ {
1130
+ "name": "onChange",
1131
+ "type": {
1132
+ "kind": "event",
1133
+ "payload": "rule: G9Recurrence | null"
1134
+ },
1135
+ "required": true,
1136
+ "serializable": false,
1137
+ "role": "event"
1138
+ },
1139
+ {
1140
+ "name": "value",
1141
+ "type": {
1142
+ "kind": "object",
1143
+ "fields": [
1144
+ {
1145
+ "name": "freq",
1146
+ "required": true,
1147
+ "type": {
1148
+ "kind": "enum",
1149
+ "values": [
1150
+ "daily",
1151
+ "weekly",
1152
+ "monthly",
1153
+ "yearly"
1154
+ ]
1155
+ },
1156
+ "serializable": true
1157
+ },
1158
+ {
1159
+ "name": "interval",
1160
+ "required": false,
1161
+ "type": {
1162
+ "kind": "number"
1163
+ },
1164
+ "serializable": true
1165
+ },
1166
+ {
1167
+ "name": "weekdays",
1168
+ "required": false,
1169
+ "type": {
1170
+ "kind": "array",
1171
+ "items": {
1172
+ "kind": "number"
1173
+ }
1174
+ },
1175
+ "serializable": true
1176
+ },
1177
+ {
1178
+ "name": "until",
1179
+ "required": false,
1180
+ "type": {
1181
+ "kind": "object",
1182
+ "fields": [
1183
+ {
1184
+ "name": "year",
1185
+ "required": true,
1186
+ "type": {
1187
+ "kind": "number"
1188
+ },
1189
+ "serializable": true
1190
+ },
1191
+ {
1192
+ "name": "month",
1193
+ "required": true,
1194
+ "type": {
1195
+ "kind": "number"
1196
+ },
1197
+ "serializable": true
1198
+ },
1199
+ {
1200
+ "name": "day",
1201
+ "required": true,
1202
+ "type": {
1203
+ "kind": "number"
1204
+ },
1205
+ "serializable": true
1206
+ }
1207
+ ]
1208
+ },
1209
+ "serializable": true
1210
+ },
1211
+ {
1212
+ "name": "count",
1213
+ "required": false,
1214
+ "type": {
1215
+ "kind": "number"
1216
+ },
1217
+ "serializable": true
1218
+ }
1219
+ ]
1220
+ },
1221
+ "required": true,
1222
+ "serializable": true,
1223
+ "role": "state"
1224
+ }
1225
+ ],
1226
+ "anchor": null,
1227
+ "accessibility": {
1228
+ "labelFrom": [],
1229
+ "labelRequired": false
1230
+ },
1231
+ "targets": {
1232
+ "android": "unmeasured",
1233
+ "ios": "unmeasured",
1234
+ "windows": "unmeasured",
1235
+ "macos": "unmeasured",
1236
+ "web": "verified"
1237
+ },
1238
+ "evidence": {
1239
+ "ledger": [
1240
+ "N-126"
1241
+ ]
1242
+ },
1243
+ "tokens": [
1244
+ "Divider",
1245
+ "Error",
1246
+ "OnPrimary",
1247
+ "OnPrimaryContainer",
1248
+ "Primary",
1249
+ "PrimaryContainer",
1250
+ "Surface",
1251
+ "SurfaceContainerLow",
1252
+ "TextDisabled",
1253
+ "TextPrimary",
1254
+ "TextSecondary",
1255
+ "TextTertiary"
1256
+ ],
1257
+ "example": {
1258
+ "line": "<G9RepeatPicker labels={labels} onChange={() => {}} value={value} />",
1259
+ "from": "generated"
1260
+ }
1261
+ },
1262
+ {
1263
+ "id": "calendar.calendar.G9TimeGrid",
1264
+ "export": "G9TimeGrid",
1265
+ "from": "@g9tm/lynxcontrols-calendar",
1266
+ "kind": "component",
1267
+ "family": "calendar",
1268
+ "summary": "Hours down the side, a column per day, timed events packed into lanes where they overlap, the now line.",
1269
+ "since": null,
1270
+ "props": [
1271
+ {
1272
+ "name": "days",
1273
+ "type": {
1274
+ "kind": "number"
1275
+ },
1276
+ "required": false,
1277
+ "serializable": true,
1278
+ "role": "behaviour"
1279
+ },
1280
+ {
1281
+ "name": "events",
1282
+ "type": {
1283
+ "kind": "array",
1284
+ "items": {
1285
+ "kind": "object",
1286
+ "fields": [
1287
+ {
1288
+ "name": "id",
1289
+ "required": true,
1290
+ "type": {
1291
+ "kind": "string"
1292
+ },
1293
+ "serializable": true
1294
+ },
1295
+ {
1296
+ "name": "title",
1297
+ "required": true,
1298
+ "type": {
1299
+ "kind": "string"
1300
+ },
1301
+ "serializable": true
1302
+ },
1303
+ {
1304
+ "name": "date",
1305
+ "required": true,
1306
+ "type": {
1307
+ "kind": "unknown",
1308
+ "text": "G9LocalDate"
1309
+ },
1310
+ "serializable": false
1311
+ },
1312
+ {
1313
+ "name": "start",
1314
+ "required": false,
1315
+ "type": {
1316
+ "kind": "number"
1317
+ },
1318
+ "serializable": true
1319
+ },
1320
+ {
1321
+ "name": "end",
1322
+ "required": false,
1323
+ "type": {
1324
+ "kind": "number"
1325
+ },
1326
+ "serializable": true
1327
+ },
1328
+ {
1329
+ "name": "color",
1330
+ "required": false,
1331
+ "type": {
1332
+ "kind": "color"
1333
+ },
1334
+ "serializable": true
1335
+ }
1336
+ ]
1337
+ }
1338
+ },
1339
+ "required": true,
1340
+ "serializable": false,
1341
+ "role": "behaviour"
1342
+ },
1343
+ {
1344
+ "name": "fromHour",
1345
+ "type": {
1346
+ "kind": "number"
1347
+ },
1348
+ "required": false,
1349
+ "serializable": true,
1350
+ "role": "behaviour"
1351
+ },
1352
+ {
1353
+ "name": "hourHeight",
1354
+ "type": {
1355
+ "kind": "number"
1356
+ },
1357
+ "required": false,
1358
+ "serializable": true,
1359
+ "role": "appearance"
1360
+ },
1361
+ {
1362
+ "name": "id",
1363
+ "type": {
1364
+ "kind": "string"
1365
+ },
1366
+ "required": false,
1367
+ "serializable": true,
1368
+ "role": "identity"
1369
+ },
1370
+ {
1371
+ "name": "now",
1372
+ "type": {
1373
+ "kind": "number"
1374
+ },
1375
+ "required": false,
1376
+ "serializable": true,
1377
+ "role": "behaviour",
1378
+ "doc": "The current time line (minutes from midnight), on today's column."
1379
+ },
1380
+ {
1381
+ "name": "onSelectEvent",
1382
+ "type": {
1383
+ "kind": "event",
1384
+ "payload": "event: G9CalendarEvent"
1385
+ },
1386
+ "required": false,
1387
+ "serializable": false,
1388
+ "role": "event"
1389
+ },
1390
+ {
1391
+ "name": "onSelectSlot",
1392
+ "type": {
1393
+ "kind": "event",
1394
+ "payload": "date: G9LocalDate, minutes: number"
1395
+ },
1396
+ "required": false,
1397
+ "serializable": false,
1398
+ "role": "event"
1399
+ },
1400
+ {
1401
+ "name": "start",
1402
+ "type": {
1403
+ "kind": "object",
1404
+ "fields": [
1405
+ {
1406
+ "name": "year",
1407
+ "required": true,
1408
+ "type": {
1409
+ "kind": "number"
1410
+ },
1411
+ "serializable": true
1412
+ },
1413
+ {
1414
+ "name": "month",
1415
+ "required": true,
1416
+ "type": {
1417
+ "kind": "number"
1418
+ },
1419
+ "serializable": true
1420
+ },
1421
+ {
1422
+ "name": "day",
1423
+ "required": true,
1424
+ "type": {
1425
+ "kind": "number"
1426
+ },
1427
+ "serializable": true
1428
+ }
1429
+ ]
1430
+ },
1431
+ "required": true,
1432
+ "serializable": true,
1433
+ "role": "behaviour",
1434
+ "doc": "The first day and how many (1 = day view, 3, 7 = week)."
1435
+ },
1436
+ {
1437
+ "name": "today",
1438
+ "type": {
1439
+ "kind": "object",
1440
+ "fields": [
1441
+ {
1442
+ "name": "year",
1443
+ "required": true,
1444
+ "type": {
1445
+ "kind": "number"
1446
+ },
1447
+ "serializable": true
1448
+ },
1449
+ {
1450
+ "name": "month",
1451
+ "required": true,
1452
+ "type": {
1453
+ "kind": "number"
1454
+ },
1455
+ "serializable": true
1456
+ },
1457
+ {
1458
+ "name": "day",
1459
+ "required": true,
1460
+ "type": {
1461
+ "kind": "number"
1462
+ },
1463
+ "serializable": true
1464
+ }
1465
+ ]
1466
+ },
1467
+ "required": true,
1468
+ "serializable": true,
1469
+ "role": "behaviour"
1470
+ },
1471
+ {
1472
+ "name": "toHour",
1473
+ "type": {
1474
+ "kind": "number"
1475
+ },
1476
+ "required": false,
1477
+ "serializable": true,
1478
+ "role": "behaviour"
1479
+ }
1480
+ ],
1481
+ "anchor": null,
1482
+ "accessibility": {
1483
+ "labelFrom": [],
1484
+ "labelRequired": false
1485
+ },
1486
+ "targets": {
1487
+ "android": "verified",
1488
+ "ios": "pending",
1489
+ "windows": "unmeasured",
1490
+ "macos": "unmeasured",
1491
+ "web": "verified"
1492
+ },
1493
+ "evidence": {
1494
+ "ledger": [
1495
+ "N-073",
1496
+ "N-126"
1497
+ ]
1498
+ },
1499
+ "tokens": [
1500
+ "Divider",
1501
+ "Error",
1502
+ "OnPrimary",
1503
+ "OnPrimaryContainer",
1504
+ "Primary",
1505
+ "PrimaryContainer",
1506
+ "Surface",
1507
+ "SurfaceContainerLow",
1508
+ "TextDisabled",
1509
+ "TextPrimary",
1510
+ "TextSecondary",
1511
+ "TextTertiary"
1512
+ ],
1513
+ "example": {
1514
+ "line": "<G9TimeGrid events={events} start={start} today={today} />",
1515
+ "from": "generated"
1516
+ }
1517
+ },
1518
+ {
1519
+ "id": "calendar.calendar.G9ZonePicker",
1520
+ "export": "G9ZonePicker",
1521
+ "from": "@g9tm/lynxcontrols-calendar",
1522
+ "kind": "component",
1523
+ "family": "calendar",
1524
+ "summary": "A searchable time-zone picker: the rows are windowed, so ~420 zones open as fast as ten.",
1525
+ "since": null,
1526
+ "props": [
1527
+ {
1528
+ "name": "alwaysFloat",
1529
+ "type": {
1530
+ "kind": "boolean"
1531
+ },
1532
+ "required": false,
1533
+ "default": false,
1534
+ "serializable": true,
1535
+ "role": "behaviour",
1536
+ "doc": "Keep the label floated even when empty and unfocused. Default false. With a `label` AND a `placeholder` the placeholder is then drawn inside the empty box under the floated label (MAUI 1.4.9: «عنوان» floated with «عنوان کار را وارد کنید» inside)."
1537
+ },
1538
+ {
1539
+ "name": "anchor",
1540
+ "type": {
1541
+ "kind": "object",
1542
+ "fields": [
1543
+ {
1544
+ "name": "kind",
1545
+ "required": true,
1546
+ "type": {
1547
+ "kind": "enum",
1548
+ "values": [
1549
+ "label",
1550
+ "image",
1551
+ "button",
1552
+ "entry",
1553
+ "toggle",
1554
+ "picker",
1555
+ "chips",
1556
+ "tab",
1557
+ "tab-view",
1558
+ "list",
1559
+ "scroll",
1560
+ "item",
1561
+ "card",
1562
+ "map",
1563
+ "view"
1564
+ ]
1565
+ },
1566
+ "serializable": true
1567
+ },
1568
+ {
1569
+ "name": "label",
1570
+ "required": false,
1571
+ "type": {
1572
+ "kind": "event",
1573
+ "payload": null,
1574
+ "returns": "string | null | undefined"
1575
+ },
1576
+ "serializable": false
1577
+ },
1578
+ {
1579
+ "name": "enabled",
1580
+ "required": false,
1581
+ "type": {
1582
+ "kind": "event",
1583
+ "payload": null,
1584
+ "returns": "boolean"
1585
+ },
1586
+ "serializable": false
1587
+ },
1588
+ {
1589
+ "name": "risk",
1590
+ "required": false,
1591
+ "type": {
1592
+ "kind": "enum",
1593
+ "values": [
1594
+ "none",
1595
+ "commit",
1596
+ "destructive"
1597
+ ]
1598
+ },
1599
+ "serializable": true
1600
+ },
1601
+ {
1602
+ "name": "changes",
1603
+ "required": false,
1604
+ "type": {
1605
+ "kind": "event",
1606
+ "payload": null,
1607
+ "returns": "readonly G9ChangeLine[]"
1608
+ },
1609
+ "serializable": false
1610
+ },
1611
+ {
1612
+ "name": "capabilities",
1613
+ "required": false,
1614
+ "type": {
1615
+ "kind": "object",
1616
+ "fields": [
1617
+ {
1618
+ "name": "activate",
1619
+ "required": false,
1620
+ "type": {
1621
+ "kind": "event",
1622
+ "payload": null,
1623
+ "returns": "void | Promise<void>"
1624
+ },
1625
+ "serializable": false
1626
+ },
1627
+ {
1628
+ "name": "getValue",
1629
+ "required": false,
1630
+ "type": {
1631
+ "kind": "event",
1632
+ "payload": null,
1633
+ "returns": "string | null | undefined"
1634
+ },
1635
+ "serializable": false
1636
+ },
1637
+ {
1638
+ "name": "setValue",
1639
+ "required": false,
1640
+ "type": {
1641
+ "kind": "event",
1642
+ "payload": "value: string",
1643
+ "returns": "unknown"
1644
+ },
1645
+ "serializable": false
1646
+ },
1647
+ {
1648
+ "name": "focus",
1649
+ "required": false,
1650
+ "type": {
1651
+ "kind": "event",
1652
+ "payload": null,
1653
+ "returns": "void | Promise<void>"
1654
+ },
1655
+ "serializable": false
1656
+ },
1657
+ {
1658
+ "name": "itemKeys",
1659
+ "required": false,
1660
+ "type": {
1661
+ "kind": "event",
1662
+ "payload": null,
1663
+ "returns": "readonly string[]"
1664
+ },
1665
+ "serializable": false
1666
+ },
1667
+ {
1668
+ "name": "selectItem",
1669
+ "required": false,
1670
+ "type": {
1671
+ "kind": "event",
1672
+ "payload": "key: string",
1673
+ "returns": "void | Promise<void>"
1674
+ },
1675
+ "serializable": false
1676
+ },
1677
+ {
1678
+ "name": "expand",
1679
+ "required": false,
1680
+ "type": {
1681
+ "kind": "event",
1682
+ "payload": "open: boolean",
1683
+ "returns": "void | Promise<void>"
1684
+ },
1685
+ "serializable": false
1686
+ }
1687
+ ]
1688
+ },
1689
+ "serializable": false
1690
+ },
1691
+ {
1692
+ "name": "secret",
1693
+ "required": false,
1694
+ "type": {
1695
+ "kind": "boolean"
1696
+ },
1697
+ "serializable": true
1698
+ }
1699
+ ]
1700
+ },
1701
+ "required": false,
1702
+ "serializable": false,
1703
+ "role": "behaviour",
1704
+ "doc": "What the field is and can do as an anchor (`@g9tm/lynxcontrols/anchor`); the text inputs pass their value paths. Registered only with an `id`."
1705
+ },
1706
+ {
1707
+ "name": "appearance",
1708
+ "type": {
1709
+ "kind": "enum",
1710
+ "values": [
1711
+ "outlined",
1712
+ "filled"
1713
+ ]
1714
+ },
1715
+ "required": false,
1716
+ "serializable": true,
1717
+ "role": "appearance",
1718
+ "doc": "`'outlined'` (default) a stroked box with a notched floating label; `'filled'` a sunken box without a stroke at rest (SAC/ShopManager/G9Hub plain fields), the focus colour as its stroke."
1719
+ },
1720
+ {
1721
+ "name": "className",
1722
+ "type": {
1723
+ "kind": "string"
1724
+ },
1725
+ "required": false,
1726
+ "serializable": true,
1727
+ "role": "appearance",
1728
+ "doc": "Class of the root element."
1729
+ },
1730
+ {
1731
+ "name": "deviceText",
1732
+ "type": {
1733
+ "kind": "string"
1734
+ },
1735
+ "required": false,
1736
+ "serializable": true,
1737
+ "role": "content",
1738
+ "doc": "The first row, «Use the device's zone (Asia/Tehran)», with the value `''`."
1739
+ },
1740
+ {
1741
+ "name": "disabled",
1742
+ "type": {
1743
+ "kind": "boolean"
1744
+ },
1745
+ "required": false,
1746
+ "default": false,
1747
+ "serializable": true,
1748
+ "role": "state",
1749
+ "doc": "Not interactive and dimmed (MAUI `IsEnabled = false`). Default false."
1750
+ },
1751
+ {
1752
+ "name": "errorText",
1753
+ "type": {
1754
+ "kind": "string"
1755
+ },
1756
+ "required": false,
1757
+ "serializable": true,
1758
+ "role": "content",
1759
+ "doc": "Error message, shown (in the error colour) while `hasError`."
1760
+ },
1761
+ {
1762
+ "name": "fieldHeight",
1763
+ "type": {
1764
+ "kind": "number"
1765
+ },
1766
+ "required": false,
1767
+ "serializable": true,
1768
+ "role": "appearance",
1769
+ "doc": "Box height; `0` (default) uses `G9Metrics.ControlHeight` (52)."
1770
+ },
1771
+ {
1772
+ "name": "filledValueHighlight",
1773
+ "type": {
1774
+ "kind": "enum",
1775
+ "values": [
1776
+ "accent",
1777
+ "inherit",
1778
+ "neutral"
1779
+ ]
1780
+ },
1781
+ "required": false,
1782
+ "serializable": true,
1783
+ "role": "behaviour",
1784
+ "doc": "Filled-value accent of this field; `'inherit'` (default) takes `settings.fields.highlightFilledValue`."
1785
+ },
1786
+ {
1787
+ "name": "forceLeadingIconLeft",
1788
+ "type": {
1789
+ "kind": "boolean"
1790
+ },
1791
+ "required": false,
1792
+ "default": false,
1793
+ "serializable": true,
1794
+ "role": "behaviour",
1795
+ "doc": "Keep the leading icon on the physical left in RTL too. Default false."
1796
+ },
1797
+ {
1798
+ "name": "forceTrailingIconRight",
1799
+ "type": {
1800
+ "kind": "boolean"
1801
+ },
1802
+ "required": false,
1803
+ "default": false,
1804
+ "serializable": true,
1805
+ "role": "behaviour",
1806
+ "doc": "Keep the trailing icon on the physical right in RTL too. Default false."
1807
+ },
1808
+ {
1809
+ "name": "hasError",
1810
+ "type": {
1811
+ "kind": "boolean"
1812
+ },
1813
+ "required": false,
1814
+ "default": false,
1815
+ "serializable": true,
1816
+ "role": "behaviour",
1817
+ "doc": "Error state: error outline, label and helper colour. Validation can also set it (`validate()`). Default false."
1818
+ },
1819
+ {
1820
+ "name": "helperText",
1821
+ "type": {
1822
+ "kind": "string"
1823
+ },
1824
+ "required": false,
1825
+ "serializable": true,
1826
+ "role": "content",
1827
+ "doc": "Helper line under the field; replaced by `errorText` while the field has an error."
1828
+ },
1829
+ {
1830
+ "name": "id",
1831
+ "type": {
1832
+ "kind": "string"
1833
+ },
1834
+ "required": false,
1835
+ "serializable": true,
1836
+ "role": "identity",
1837
+ "doc": "Element `id` of the field root (MAUI `AutomationId`; automation taps its bounds to focus it). Used verbatim: keep it to `[A-Za-z0-9_-]`."
1838
+ },
1839
+ {
1840
+ "name": "innerContentPadding",
1841
+ "type": {
1842
+ "kind": "object",
1843
+ "fields": [
1844
+ {
1845
+ "name": "left",
1846
+ "required": false,
1847
+ "type": {
1848
+ "kind": "number"
1849
+ },
1850
+ "serializable": true
1851
+ },
1852
+ {
1853
+ "name": "top",
1854
+ "required": false,
1855
+ "type": {
1856
+ "kind": "number"
1857
+ },
1858
+ "serializable": true
1859
+ },
1860
+ {
1861
+ "name": "right",
1862
+ "required": false,
1863
+ "type": {
1864
+ "kind": "number"
1865
+ },
1866
+ "serializable": true
1867
+ },
1868
+ {
1869
+ "name": "bottom",
1870
+ "required": false,
1871
+ "type": {
1872
+ "kind": "number"
1873
+ },
1874
+ "serializable": true
1875
+ }
1876
+ ]
1877
+ },
1878
+ "required": false,
1879
+ "serializable": true,
1880
+ "role": "appearance",
1881
+ "doc": "Extra padding of the inner content (MAUI `InnerContentPadding`), physical sides."
1882
+ },
1883
+ {
1884
+ "name": "isTrailingBusy",
1885
+ "type": {
1886
+ "kind": "boolean"
1887
+ },
1888
+ "required": false,
1889
+ "default": false,
1890
+ "serializable": true,
1891
+ "role": "behaviour",
1892
+ "doc": "Spinner in the trailing slot (wins over every trailing icon). Default false."
1893
+ },
1894
+ {
1895
+ "name": "label",
1896
+ "type": {
1897
+ "kind": "string"
1898
+ },
1899
+ "required": false,
1900
+ "serializable": true,
1901
+ "role": "content",
1902
+ "doc": "Floating label. Without it the placeholder is the label (MAUI `Label ?? Placeholder`)."
1903
+ },
1904
+ {
1905
+ "name": "leadingEmoji",
1906
+ "type": {
1907
+ "kind": "string"
1908
+ },
1909
+ "required": false,
1910
+ "serializable": true,
1911
+ "role": "appearance"
1912
+ },
1913
+ {
1914
+ "name": "leadingIcon",
1915
+ "type": {
1916
+ "kind": "icon",
1917
+ "text": "G9IconInput (a glyph name, «pack:icon», or an icon value)"
1918
+ },
1919
+ "required": false,
1920
+ "serializable": true,
1921
+ "role": "appearance"
1922
+ },
1923
+ {
1924
+ "name": "leadingImage",
1925
+ "type": {
1926
+ "kind": "union",
1927
+ "of": [
1928
+ {
1929
+ "kind": "object",
1930
+ "fields": [
1931
+ {
1932
+ "name": "uri",
1933
+ "required": true,
1934
+ "type": {
1935
+ "kind": "string"
1936
+ },
1937
+ "serializable": true
1938
+ }
1939
+ ]
1940
+ },
1941
+ {
1942
+ "kind": "object",
1943
+ "fields": [
1944
+ {
1945
+ "name": "asset",
1946
+ "required": true,
1947
+ "type": {
1948
+ "kind": "string"
1949
+ },
1950
+ "serializable": true
1951
+ }
1952
+ ]
1953
+ },
1954
+ {
1955
+ "kind": "object",
1956
+ "fields": [
1957
+ {
1958
+ "name": "svg",
1959
+ "required": true,
1960
+ "type": {
1961
+ "kind": "string"
1962
+ },
1963
+ "serializable": true
1964
+ }
1965
+ ]
1966
+ }
1967
+ ]
1968
+ },
1969
+ "required": false,
1970
+ "serializable": true,
1971
+ "role": "appearance"
1972
+ },
1973
+ {
1974
+ "name": "leadingImagePath",
1975
+ "type": {
1976
+ "kind": "string"
1977
+ },
1978
+ "required": false,
1979
+ "serializable": true,
1980
+ "role": "appearance"
1981
+ },
1982
+ {
1983
+ "name": "maxLength",
1984
+ "type": {
1985
+ "kind": "number"
1986
+ },
1987
+ "required": false,
1988
+ "serializable": true,
1989
+ "role": "behaviour",
1990
+ "doc": "Maximum characters; `-1` (default) or `0` means unlimited."
1991
+ },
1992
+ {
1993
+ "name": "offsetOf",
1994
+ "type": {
1995
+ "kind": "event",
1996
+ "payload": "zone: string",
1997
+ "returns": "number"
1998
+ },
1999
+ "required": false,
2000
+ "serializable": false,
2001
+ "role": "event",
2002
+ "doc": "The zone's offset now, in minutes (shown next to its name); without it only names show."
2003
+ },
2004
+ {
2005
+ "name": "onChange",
2006
+ "type": {
2007
+ "kind": "event",
2008
+ "payload": "zone: string"
2009
+ },
2010
+ "required": true,
2011
+ "serializable": false,
2012
+ "role": "event"
2013
+ },
2014
+ {
2015
+ "name": "onLeadingPress",
2016
+ "type": {
2017
+ "kind": "event",
2018
+ "payload": null
2019
+ },
2020
+ "required": false,
2021
+ "serializable": false,
2022
+ "role": "event",
2023
+ "doc": "Leading icon tap (MAUI `LeadingCommand` + `CommandParameter`). Makes the icon actionable."
2024
+ },
2025
+ {
2026
+ "name": "onTrailingPress",
2027
+ "type": {
2028
+ "kind": "event",
2029
+ "payload": null
2030
+ },
2031
+ "required": false,
2032
+ "serializable": false,
2033
+ "role": "event",
2034
+ "doc": "Trailing icon tap when no built-in affordance claims it (MAUI `TrailingCommand`)."
2035
+ },
2036
+ {
2037
+ "name": "placeholder",
2038
+ "type": {
2039
+ "kind": "string"
2040
+ },
2041
+ "required": false,
2042
+ "serializable": true,
2043
+ "role": "content",
2044
+ "doc": "Placeholder; shown as the label when `label` is not set."
2045
+ },
2046
+ {
2047
+ "name": "placeholderInside",
2048
+ "type": {
2049
+ "kind": "boolean"
2050
+ },
2051
+ "required": false,
2052
+ "default": false,
2053
+ "serializable": true,
2054
+ "role": "behaviour",
2055
+ "doc": "The `placeholder` is the box's own hint (MAUI 1.4.9 `PlaceholderInside`): inside while the field is empty, gone with a value, never lifted into the notch as a label — a chat composer's «یادداشت خود را بنویسید...». A `label`, if set, still floats as usual. Default false: without a label the placeholder is the floating label's text."
2056
+ },
2057
+ {
2058
+ "name": "readOnly",
2059
+ "type": {
2060
+ "kind": "boolean"
2061
+ },
2062
+ "required": false,
2063
+ "default": false,
2064
+ "serializable": true,
2065
+ "role": "state",
2066
+ "doc": "Value visible and selectable but not editable (MAUI `IsReadOnly`). Default false."
2067
+ },
2068
+ {
2069
+ "name": "reserveFloatingLabelClearance",
2070
+ "type": {
2071
+ "kind": "boolean"
2072
+ },
2073
+ "required": false,
2074
+ "default": false,
2075
+ "serializable": true,
2076
+ "role": "behaviour",
2077
+ "doc": "Reserve the floated label's overhang above the box (MAUI `FloatingLabelClearance`, 6). Default false."
2078
+ },
2079
+ {
2080
+ "name": "round",
2081
+ "type": {
2082
+ "kind": "boolean"
2083
+ },
2084
+ "required": false,
2085
+ "serializable": true,
2086
+ "role": "behaviour",
2087
+ "doc": "Fully rounded ends (a search pill, G9Hub `round`)."
2088
+ },
2089
+ {
2090
+ "name": "showCharacterCounter",
2091
+ "type": {
2092
+ "kind": "boolean"
2093
+ },
2094
+ "required": false,
2095
+ "default": false,
2096
+ "serializable": true,
2097
+ "role": "behaviour",
2098
+ "doc": "Show the `n / max` counter (only when `maxLength > 0`). Default false."
2099
+ },
2100
+ {
2101
+ "name": "showFocusHalo",
2102
+ "type": {
2103
+ "kind": "boolean"
2104
+ },
2105
+ "required": false,
2106
+ "default": false,
2107
+ "serializable": true,
2108
+ "role": "behaviour",
2109
+ "doc": "Soft inner halo while focused (no error, no status colour). Default false."
2110
+ },
2111
+ {
2112
+ "name": "statusColor",
2113
+ "type": {
2114
+ "kind": "color"
2115
+ },
2116
+ "required": false,
2117
+ "serializable": true,
2118
+ "role": "appearance",
2119
+ "doc": "Status colour (any CSS colour or `g9Token(...)`); used while `useStatusColor`. Default the primary colour."
2120
+ },
2121
+ {
2122
+ "name": "style",
2123
+ "type": {
2124
+ "kind": "object",
2125
+ "name": "style",
2126
+ "map": {
2127
+ "kind": "union",
2128
+ "of": [
2129
+ {
2130
+ "kind": "string"
2131
+ },
2132
+ {
2133
+ "kind": "number"
2134
+ }
2135
+ ]
2136
+ }
2137
+ },
2138
+ "required": false,
2139
+ "serializable": true,
2140
+ "role": "appearance",
2141
+ "doc": "Inline style on the field root."
2142
+ },
2143
+ {
2144
+ "name": "trailingEmoji",
2145
+ "type": {
2146
+ "kind": "string"
2147
+ },
2148
+ "required": false,
2149
+ "serializable": true,
2150
+ "role": "appearance"
2151
+ },
2152
+ {
2153
+ "name": "trailingIcon",
2154
+ "type": {
2155
+ "kind": "icon",
2156
+ "text": "G9IconInput (a glyph name, «pack:icon», or an icon value)"
2157
+ },
2158
+ "required": false,
2159
+ "serializable": true,
2160
+ "role": "appearance"
2161
+ },
2162
+ {
2163
+ "name": "trailingImage",
2164
+ "type": {
2165
+ "kind": "union",
2166
+ "of": [
2167
+ {
2168
+ "kind": "object",
2169
+ "fields": [
2170
+ {
2171
+ "name": "uri",
2172
+ "required": true,
2173
+ "type": {
2174
+ "kind": "string"
2175
+ },
2176
+ "serializable": true
2177
+ }
2178
+ ]
2179
+ },
2180
+ {
2181
+ "kind": "object",
2182
+ "fields": [
2183
+ {
2184
+ "name": "asset",
2185
+ "required": true,
2186
+ "type": {
2187
+ "kind": "string"
2188
+ },
2189
+ "serializable": true
2190
+ }
2191
+ ]
2192
+ },
2193
+ {
2194
+ "kind": "object",
2195
+ "fields": [
2196
+ {
2197
+ "name": "svg",
2198
+ "required": true,
2199
+ "type": {
2200
+ "kind": "string"
2201
+ },
2202
+ "serializable": true
2203
+ }
2204
+ ]
2205
+ }
2206
+ ]
2207
+ },
2208
+ "required": false,
2209
+ "serializable": true,
2210
+ "role": "appearance"
2211
+ },
2212
+ {
2213
+ "name": "trailingImagePath",
2214
+ "type": {
2215
+ "kind": "string"
2216
+ },
2217
+ "required": false,
2218
+ "serializable": true,
2219
+ "role": "appearance"
2220
+ },
2221
+ {
2222
+ "name": "useStatusColor",
2223
+ "type": {
2224
+ "kind": "boolean"
2225
+ },
2226
+ "required": false,
2227
+ "default": false,
2228
+ "serializable": true,
2229
+ "role": "appearance",
2230
+ "doc": "Draw the outline in `statusColor` (emphasised) whatever the focus. Default false."
2231
+ },
2232
+ {
2233
+ "name": "value",
2234
+ "type": {
2235
+ "kind": "string"
2236
+ },
2237
+ "required": true,
2238
+ "serializable": true,
2239
+ "role": "state",
2240
+ "doc": "The zone id; `''` = the device's zone (when `deviceText` is given)."
2241
+ },
2242
+ {
2243
+ "name": "zones",
2244
+ "type": {
2245
+ "kind": "array",
2246
+ "items": {
2247
+ "kind": "string"
2248
+ }
2249
+ },
2250
+ "required": true,
2251
+ "serializable": true,
2252
+ "role": "behaviour",
2253
+ "doc": "Every zone offered (the app's list, e.g. `Intl.supportedValuesOf('timeZone')` where it exists)."
2254
+ }
2255
+ ],
2256
+ "anchor": null,
2257
+ "accessibility": {
2258
+ "labelFrom": [
2259
+ "label",
2260
+ "placeholder"
2261
+ ],
2262
+ "labelRequired": false
2263
+ },
2264
+ "targets": {
2265
+ "android": "unmeasured",
2266
+ "ios": "unmeasured",
2267
+ "windows": "unmeasured",
2268
+ "macos": "unmeasured",
2269
+ "web": "verified"
2270
+ },
2271
+ "evidence": {
2272
+ "ledger": [
2273
+ "N-126"
2274
+ ]
2275
+ },
2276
+ "tokens": [],
2277
+ "example": {
2278
+ "line": "<G9ZonePicker onChange={() => {}} value=\"value\" zones={zones} />",
2279
+ "from": "generated"
2280
+ }
2281
+ }
2282
+ ],
2283
+ "exports": [
2284
+ {
2285
+ "id": "calendar.model.agenda",
2286
+ "export": "agenda",
2287
+ "from": "@g9tm/lynxcontrols-calendar/model",
2288
+ "kind": "function",
2289
+ "signature": "<T extends { readonly date: G9LocalDate; }>(items: readonly T[]): { readonly date: G9LocalDate; readonly items: readonly T[]; }[]",
2290
+ "summary": "Agenda: events grouped by day (days without events left out), in order."
2291
+ },
2292
+ {
2293
+ "id": "calendar.calendar.G9AgendaViewProps",
2294
+ "export": "G9AgendaViewProps",
2295
+ "from": "@g9tm/lynxcontrols-calendar",
2296
+ "kind": "interface",
2297
+ "signature": "G9AgendaViewProps",
2298
+ "summary": "Props of `G9AgendaView`."
2299
+ },
2300
+ {
2301
+ "id": "calendar.calendar.G9CalendarEvent",
2302
+ "export": "G9CalendarEvent",
2303
+ "from": "@g9tm/lynxcontrols-calendar",
2304
+ "kind": "interface",
2305
+ "signature": "G9CalendarEvent",
2306
+ "summary": "One event on a calendar view."
2307
+ },
2308
+ {
2309
+ "id": "calendar.calendar.G9DateInputProps",
2310
+ "export": "G9DateInputProps",
2311
+ "from": "@g9tm/lynxcontrols-calendar",
2312
+ "kind": "interface",
2313
+ "signature": "G9DateInputProps",
2314
+ "summary": "Props of `G9DateInput`."
2315
+ },
2316
+ {
2317
+ "id": "calendar.model.G9DayCell",
2318
+ "export": "G9DayCell",
2319
+ "from": "@g9tm/lynxcontrols-calendar/model",
2320
+ "kind": "interface",
2321
+ "signature": "G9DayCell",
2322
+ "summary": "One cell of a month grid."
2323
+ },
2324
+ {
2325
+ "id": "calendar.model.G9EventPlacement",
2326
+ "export": "G9EventPlacement",
2327
+ "from": "@g9tm/lynxcontrols-calendar/model",
2328
+ "kind": "interface",
2329
+ "signature": "G9EventPlacement",
2330
+ "summary": "Where an event is drawn in a day column: its lane and how many lanes its cluster has."
2331
+ },
2332
+ {
2333
+ "id": "calendar.calendar.G9MiniMonthProps",
2334
+ "export": "G9MiniMonthProps",
2335
+ "from": "@g9tm/lynxcontrols-calendar",
2336
+ "kind": "interface",
2337
+ "signature": "G9MiniMonthProps",
2338
+ "summary": "Props of `G9MiniMonth`."
2339
+ },
2340
+ {
2341
+ "id": "calendar.calendar.G9MonthDay",
2342
+ "export": "G9MonthDay",
2343
+ "from": "@g9tm/lynxcontrols-calendar",
2344
+ "kind": "interface",
2345
+ "signature": "G9MonthDay",
2346
+ "summary": "A day of a month in no particular year."
2347
+ },
2348
+ {
2349
+ "id": "calendar.calendar.G9MonthDayPickerProps",
2350
+ "export": "G9MonthDayPickerProps",
2351
+ "from": "@g9tm/lynxcontrols-calendar",
2352
+ "kind": "interface",
2353
+ "signature": "G9MonthDayPickerProps",
2354
+ "summary": "Props of `G9MonthDayPicker`."
2355
+ },
2356
+ {
2357
+ "id": "calendar.calendar.G9MonthViewProps",
2358
+ "export": "G9MonthViewProps",
2359
+ "from": "@g9tm/lynxcontrols-calendar",
2360
+ "kind": "interface",
2361
+ "signature": "G9MonthViewProps",
2362
+ "summary": "Props of `G9MonthView`."
2363
+ },
2364
+ {
2365
+ "id": "calendar.model.G9Recurrence",
2366
+ "export": "G9Recurrence",
2367
+ "from": "@g9tm/lynxcontrols-calendar/model",
2368
+ "kind": "interface",
2369
+ "signature": "G9Recurrence",
2370
+ "summary": "How an event repeats."
2371
+ },
2372
+ {
2373
+ "id": "calendar.calendar.G9RepeatPickerProps",
2374
+ "export": "G9RepeatPickerProps",
2375
+ "from": "@g9tm/lynxcontrols-calendar",
2376
+ "kind": "interface",
2377
+ "signature": "G9RepeatPickerProps",
2378
+ "summary": "Props of `G9RepeatPicker`."
2379
+ },
2380
+ {
2381
+ "id": "calendar.model.G9TimedEvent",
2382
+ "export": "G9TimedEvent",
2383
+ "from": "@g9tm/lynxcontrols-calendar/model",
2384
+ "kind": "interface",
2385
+ "signature": "G9TimedEvent",
2386
+ "summary": "An event in a day, minutes from midnight."
2387
+ },
2388
+ {
2389
+ "id": "calendar.calendar.G9TimeGridProps",
2390
+ "export": "G9TimeGridProps",
2391
+ "from": "@g9tm/lynxcontrols-calendar",
2392
+ "kind": "interface",
2393
+ "signature": "G9TimeGridProps",
2394
+ "summary": "Props of `G9TimeGrid`."
2395
+ },
2396
+ {
2397
+ "id": "calendar.calendar.G9ZonePickerProps",
2398
+ "export": "G9ZonePickerProps",
2399
+ "from": "@g9tm/lynxcontrols-calendar",
2400
+ "kind": "interface",
2401
+ "signature": "G9ZonePickerProps",
2402
+ "summary": "Props of `G9ZonePicker`."
2403
+ },
2404
+ {
2405
+ "id": "calendar.model.layoutDay",
2406
+ "export": "layoutDay",
2407
+ "from": "@g9tm/lynxcontrols-calendar/model",
2408
+ "kind": "function",
2409
+ "signature": "(events: readonly G9TimedEvent[]): G9EventPlacement[]",
2410
+ "summary": "Packs overlapping events into lanes; every event of a cluster gets the cluster's lane count."
2411
+ },
2412
+ {
2413
+ "id": "calendar.calendar.monthDayLength",
2414
+ "export": "monthDayLength",
2415
+ "from": "@g9tm/lynxcontrols-calendar",
2416
+ "kind": "function",
2417
+ "signature": "(calendar: \"gregorian\" | \"persian\", month: number): number",
2418
+ "summary": "The most days `month` (1–12) can have in the calendar, whatever the year."
2419
+ },
2420
+ {
2421
+ "id": "calendar.model.monthGrid",
2422
+ "export": "monthGrid",
2423
+ "from": "@g9tm/lynxcontrols-calendar/model",
2424
+ "kind": "function",
2425
+ "signature": "(calendar: G9CalendarSystem, year: number, month: number, weekStart: number, fixedRows?: boolean): G9DayCell[][]",
2426
+ "summary": "A month in `calendar` as weeks of 7 cells (6 rows when `fixedRows`, else just enough)."
2427
+ },
2428
+ {
2429
+ "id": "calendar.model.occurrences",
2430
+ "export": "occurrences",
2431
+ "from": "@g9tm/lynxcontrols-calendar/model",
2432
+ "kind": "function",
2433
+ "signature": "(start: G9LocalDate, rule: G9Recurrence, from: G9LocalDate, to: G9LocalDate, calendar?: G9CalendarSystem): G9LocalDate[]",
2434
+ "summary": "The occurrences of a recurrence that start on or after `from` and on or before `to`, in the event's calendar (a monthly event on the 31st skips shorter months, as calendars do). At most 1000 are produced."
2435
+ },
2436
+ {
2437
+ "id": "calendar.model.sameDay",
2438
+ "export": "sameDay",
2439
+ "from": "@g9tm/lynxcontrols-calendar/model",
2440
+ "kind": "function",
2441
+ "signature": "(a: G9LocalDate, b: G9LocalDate): boolean",
2442
+ "summary": "Whether two local dates are the same day (calendar-independent: compares the ISO date)."
2443
+ },
2444
+ {
2445
+ "id": "calendar.model.shiftMonth",
2446
+ "export": "shiftMonth",
2447
+ "from": "@g9tm/lynxcontrols-calendar/model",
2448
+ "kind": "function",
2449
+ "signature": "(year: number, month: number, delta: number): { readonly year: number; readonly month: number; }",
2450
+ "summary": "The month after (or before, `delta` < 0) a calendar month."
2451
+ },
2452
+ {
2453
+ "id": "calendar.model.slotAt",
2454
+ "export": "slotAt",
2455
+ "from": "@g9tm/lynxcontrols-calendar/model",
2456
+ "kind": "function",
2457
+ "signature": "(offsetY: number, hourHeight: number, fromHour: number, toHour: number): number",
2458
+ "summary": "The quarter hour at `offsetY` px down a time grid's hours (minutes from midnight, inside `[fromHour, toHour)`)."
2459
+ },
2460
+ {
2461
+ "id": "calendar.model.weekStartFor",
2462
+ "export": "weekStartFor",
2463
+ "from": "@g9tm/lynxcontrols-calendar/model",
2464
+ "kind": "function",
2465
+ "signature": "(calendar: G9CalendarSystem, language: string): number",
2466
+ "summary": "First day of the week: Saturday (6) for Persian, Sunday (0) or Monday (1) elsewhere."
2467
+ },
2468
+ {
2469
+ "id": "calendar.calendar.zoneLabel",
2470
+ "export": "zoneLabel",
2471
+ "from": "@g9tm/lynxcontrols-calendar",
2472
+ "kind": "function",
2473
+ "signature": "(zone: string, offsetMinutes: number | null): string",
2474
+ "summary": "`Asia/Tehran (UTC+03:30)`: the zone id readable (underscores as spaces) with its offset."
2475
+ },
2476
+ {
2477
+ "id": "calendar.calendar.zoneOffsetLabel",
2478
+ "export": "zoneOffsetLabel",
2479
+ "from": "@g9tm/lynxcontrols-calendar",
2480
+ "kind": "function",
2481
+ "signature": "(minutes: number): string",
2482
+ "summary": "`+03:30` / `−05:00` for an offset in minutes, in Latin digits like the zone id beside it (the minus is U+2212, read as a sign in RTL text)."
2483
+ }
2484
+ ]
2485
+ }