@g9tm/lynxcontrols-calendar 2.5.6 → 2.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog/cards/G9AgendaView.md +4 -1
- package/catalog/cards/G9BirthdayField.md +14 -0
- package/catalog/cards/G9DateInput.md +3 -2
- package/catalog/cards/G9EventCard.md +17 -0
- package/catalog/cards/G9FindTime.md +16 -0
- package/catalog/cards/G9MiniMonth.md +2 -2
- package/catalog/cards/G9MonthView.md +6 -4
- package/catalog/cards/G9RepeatPicker.md +5 -1
- package/catalog/cards/G9TimeGrid.md +6 -6
- package/catalog/cards/G9TimeListPicker.md +17 -0
- package/catalog/cards/G9TodayWidget.md +16 -0
- package/catalog/cards/G9WorkingHoursEditor.md +16 -0
- package/catalog/catalog.json +3514 -553
- package/catalog/index.md +11 -5
- package/dist/.tsbuildinfo +1 -1
- package/dist/calendar.css +798 -2
- package/dist/calendar.css.map +1 -1
- package/dist/calendar.d.ts +83 -48
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.jsx +144 -254
- package/dist/cards.d.ts +131 -0
- package/dist/cards.d.ts.map +1 -0
- package/dist/cards.jsx +252 -0
- package/dist/events.d.ts +45 -0
- package/dist/events.d.ts.map +1 -0
- package/dist/events.jsx +83 -0
- package/dist/gesture.d.ts +79 -0
- package/dist/gesture.d.ts.map +1 -0
- package/dist/gesture.jsx +160 -0
- package/dist/index.d.ts +10 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.jsx +10 -1
- package/dist/model.d.ts +9 -0
- package/dist/model.d.ts.map +1 -1
- package/dist/model.jsx +33 -4
- package/dist/month-view.d.ts +50 -0
- package/dist/month-view.d.ts.map +1 -0
- package/dist/month-view.jsx +362 -0
- package/dist/people.d.ts +67 -0
- package/dist/people.d.ts.map +1 -0
- package/dist/people.jsx +211 -0
- package/dist/recurrence.d.ts +51 -0
- package/dist/recurrence.d.ts.map +1 -0
- package/dist/recurrence.jsx +280 -0
- package/dist/repeat-picker.d.ts +47 -0
- package/dist/repeat-picker.d.ts.map +1 -0
- package/dist/repeat-picker.jsx +289 -0
- package/dist/time-grid.d.ts +50 -0
- package/dist/time-grid.d.ts.map +1 -0
- package/dist/time-grid.jsx +639 -0
- package/dist/time-list.d.ts +25 -0
- package/dist/time-list.d.ts.map +1 -0
- package/dist/time-list.jsx +85 -0
- package/package.json +3 -3
package/catalog/catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"catalogVersion": 1,
|
|
3
3
|
"package": "@g9tm/lynxcontrols-calendar",
|
|
4
|
-
"version": "2.5.
|
|
4
|
+
"version": "2.5.8",
|
|
5
5
|
"generatedBy": "node scripts/check-docs.mjs --write",
|
|
6
6
|
"components": [
|
|
7
7
|
{
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"from": "@g9tm/lynxcontrols-calendar",
|
|
11
11
|
"kind": "component",
|
|
12
12
|
"family": "calendar",
|
|
13
|
-
"summary": "Days with
|
|
13
|
+
"summary": "Days with something on them, each a sticky header (its date, «today», the other calendar's date) over its holidays and its events (time, a colour, the title, where, the person's answer), on the recycler; «later days» under it.",
|
|
14
14
|
"since": null,
|
|
15
15
|
"props": [
|
|
16
16
|
{
|
|
@@ -87,6 +87,61 @@
|
|
|
87
87
|
"kind": "color"
|
|
88
88
|
},
|
|
89
89
|
"serializable": true
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "endDate",
|
|
93
|
+
"required": false,
|
|
94
|
+
"type": {
|
|
95
|
+
"kind": "unknown",
|
|
96
|
+
"text": "G9LocalDate"
|
|
97
|
+
},
|
|
98
|
+
"serializable": false
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "location",
|
|
102
|
+
"required": false,
|
|
103
|
+
"type": {
|
|
104
|
+
"kind": "string"
|
|
105
|
+
},
|
|
106
|
+
"serializable": true
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "kind",
|
|
110
|
+
"required": false,
|
|
111
|
+
"type": {
|
|
112
|
+
"kind": "string"
|
|
113
|
+
},
|
|
114
|
+
"serializable": true
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "dayOff",
|
|
118
|
+
"required": false,
|
|
119
|
+
"type": {
|
|
120
|
+
"kind": "boolean"
|
|
121
|
+
},
|
|
122
|
+
"serializable": true
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "rsvp",
|
|
126
|
+
"required": false,
|
|
127
|
+
"type": {
|
|
128
|
+
"kind": "enum",
|
|
129
|
+
"values": [
|
|
130
|
+
"accepted",
|
|
131
|
+
"tentative",
|
|
132
|
+
"declined",
|
|
133
|
+
"pending"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"serializable": true
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "canEdit",
|
|
140
|
+
"required": false,
|
|
141
|
+
"type": {
|
|
142
|
+
"kind": "boolean"
|
|
143
|
+
},
|
|
144
|
+
"serializable": true
|
|
90
145
|
}
|
|
91
146
|
]
|
|
92
147
|
}
|
|
@@ -96,26 +151,7 @@
|
|
|
96
151
|
"role": "behaviour"
|
|
97
152
|
},
|
|
98
153
|
{
|
|
99
|
-
"name": "
|
|
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",
|
|
154
|
+
"name": "from",
|
|
119
155
|
"type": {
|
|
120
156
|
"kind": "object",
|
|
121
157
|
"fields": [
|
|
@@ -145,145 +181,70 @@
|
|
|
145
181
|
}
|
|
146
182
|
]
|
|
147
183
|
},
|
|
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
184
|
"required": false,
|
|
204
185
|
"serializable": true,
|
|
205
|
-
"role": "
|
|
186
|
+
"role": "behaviour",
|
|
187
|
+
"doc": "The days listed (2.5.8): from `from` to `to`, each day that has something on it (a multi-day event on each of its days). Default the events' own first to last day."
|
|
206
188
|
},
|
|
207
189
|
{
|
|
208
|
-
"name": "
|
|
190
|
+
"name": "id",
|
|
209
191
|
"type": {
|
|
210
192
|
"kind": "string"
|
|
211
193
|
},
|
|
212
194
|
"required": false,
|
|
213
195
|
"serializable": true,
|
|
214
|
-
"role": "
|
|
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"
|
|
196
|
+
"role": "identity"
|
|
225
197
|
},
|
|
226
198
|
{
|
|
227
|
-
"name": "
|
|
199
|
+
"name": "labels",
|
|
228
200
|
"type": {
|
|
229
201
|
"kind": "object",
|
|
230
202
|
"fields": [
|
|
231
203
|
{
|
|
232
|
-
"name": "
|
|
233
|
-
"required":
|
|
204
|
+
"name": "today",
|
|
205
|
+
"required": false,
|
|
234
206
|
"type": {
|
|
235
|
-
"kind": "
|
|
207
|
+
"kind": "string"
|
|
236
208
|
},
|
|
237
209
|
"serializable": true
|
|
238
210
|
},
|
|
239
211
|
{
|
|
240
|
-
"name": "
|
|
241
|
-
"required":
|
|
212
|
+
"name": "dayOff",
|
|
213
|
+
"required": false,
|
|
242
214
|
"type": {
|
|
243
|
-
"kind": "
|
|
215
|
+
"kind": "string"
|
|
244
216
|
},
|
|
245
217
|
"serializable": true
|
|
246
218
|
},
|
|
247
219
|
{
|
|
248
|
-
"name": "
|
|
249
|
-
"required":
|
|
220
|
+
"name": "later",
|
|
221
|
+
"required": false,
|
|
250
222
|
"type": {
|
|
251
|
-
"kind": "
|
|
223
|
+
"kind": "string"
|
|
252
224
|
},
|
|
253
225
|
"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": [
|
|
226
|
+
},
|
|
266
227
|
{
|
|
267
|
-
"name": "
|
|
268
|
-
"required":
|
|
228
|
+
"name": "tentative",
|
|
229
|
+
"required": false,
|
|
269
230
|
"type": {
|
|
270
|
-
"kind": "
|
|
231
|
+
"kind": "string"
|
|
271
232
|
},
|
|
272
233
|
"serializable": true
|
|
273
234
|
},
|
|
274
235
|
{
|
|
275
|
-
"name": "
|
|
276
|
-
"required":
|
|
236
|
+
"name": "declined",
|
|
237
|
+
"required": false,
|
|
277
238
|
"type": {
|
|
278
|
-
"kind": "
|
|
239
|
+
"kind": "string"
|
|
279
240
|
},
|
|
280
241
|
"serializable": true
|
|
281
242
|
},
|
|
282
243
|
{
|
|
283
|
-
"name": "
|
|
284
|
-
"required":
|
|
244
|
+
"name": "pending",
|
|
245
|
+
"required": false,
|
|
285
246
|
"type": {
|
|
286
|
-
"kind": "
|
|
247
|
+
"kind": "string"
|
|
287
248
|
},
|
|
288
249
|
"serializable": true
|
|
289
250
|
}
|
|
@@ -294,17 +255,65 @@
|
|
|
294
255
|
"role": "behaviour"
|
|
295
256
|
},
|
|
296
257
|
{
|
|
297
|
-
"name": "
|
|
258
|
+
"name": "loading",
|
|
259
|
+
"type": {
|
|
260
|
+
"kind": "boolean"
|
|
261
|
+
},
|
|
262
|
+
"required": false,
|
|
263
|
+
"serializable": true,
|
|
264
|
+
"role": "state",
|
|
265
|
+
"doc": "The app is fetching: the button spins."
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "onLoadMore",
|
|
298
269
|
"type": {
|
|
299
270
|
"kind": "event",
|
|
300
|
-
"payload":
|
|
271
|
+
"payload": null
|
|
301
272
|
},
|
|
302
|
-
"required":
|
|
273
|
+
"required": false,
|
|
274
|
+
"serializable": false,
|
|
275
|
+
"role": "event",
|
|
276
|
+
"doc": "«Later days»: a button under the list (the app grows `to`)."
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "onSelectEvent",
|
|
280
|
+
"type": {
|
|
281
|
+
"kind": "event",
|
|
282
|
+
"payload": "event: G9CalendarEvent"
|
|
283
|
+
},
|
|
284
|
+
"required": false,
|
|
303
285
|
"serializable": false,
|
|
304
286
|
"role": "event"
|
|
305
287
|
},
|
|
306
288
|
{
|
|
307
|
-
"name": "
|
|
289
|
+
"name": "paddingEnd",
|
|
290
|
+
"type": {
|
|
291
|
+
"kind": "number"
|
|
292
|
+
},
|
|
293
|
+
"required": false,
|
|
294
|
+
"serializable": true,
|
|
295
|
+
"role": "behaviour",
|
|
296
|
+
"doc": "Room kept free under the list (a tab bar, an add button)."
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "secondCalendar",
|
|
300
|
+
"type": {
|
|
301
|
+
"kind": "enum",
|
|
302
|
+
"values": [
|
|
303
|
+
"gregorian",
|
|
304
|
+
"persian",
|
|
305
|
+
"none",
|
|
306
|
+
"auto"
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
"required": false,
|
|
310
|
+
"default": "none",
|
|
311
|
+
"serializable": true,
|
|
312
|
+
"role": "behaviour",
|
|
313
|
+
"doc": "The other calendar's date beside each day header (`'auto'`: Gregorian under Persian and back). Default `'none'`."
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "to",
|
|
308
317
|
"type": {
|
|
309
318
|
"kind": "object",
|
|
310
319
|
"fields": [
|
|
@@ -334,12 +343,12 @@
|
|
|
334
343
|
}
|
|
335
344
|
]
|
|
336
345
|
},
|
|
337
|
-
"required":
|
|
346
|
+
"required": false,
|
|
338
347
|
"serializable": true,
|
|
339
348
|
"role": "behaviour"
|
|
340
349
|
},
|
|
341
350
|
{
|
|
342
|
-
"name": "
|
|
351
|
+
"name": "today",
|
|
343
352
|
"type": {
|
|
344
353
|
"kind": "object",
|
|
345
354
|
"fields": [
|
|
@@ -371,14 +380,12 @@
|
|
|
371
380
|
},
|
|
372
381
|
"required": true,
|
|
373
382
|
"serializable": true,
|
|
374
|
-
"role": "
|
|
383
|
+
"role": "behaviour"
|
|
375
384
|
}
|
|
376
385
|
],
|
|
377
386
|
"anchor": null,
|
|
378
387
|
"accessibility": {
|
|
379
|
-
"labelFrom": [
|
|
380
|
-
"label"
|
|
381
|
-
],
|
|
388
|
+
"labelFrom": [],
|
|
382
389
|
"labelRequired": false
|
|
383
390
|
},
|
|
384
391
|
"targets": {
|
|
@@ -396,31 +403,46 @@
|
|
|
396
403
|
"tokens": [
|
|
397
404
|
"Divider",
|
|
398
405
|
"Error",
|
|
406
|
+
"ErrorContainer",
|
|
407
|
+
"Info",
|
|
399
408
|
"OnPrimary",
|
|
400
409
|
"OnPrimaryContainer",
|
|
410
|
+
"OutlineVariant",
|
|
401
411
|
"Primary",
|
|
402
412
|
"PrimaryContainer",
|
|
413
|
+
"Success",
|
|
403
414
|
"Surface",
|
|
415
|
+
"SurfaceContainerHigh",
|
|
404
416
|
"SurfaceContainerLow",
|
|
405
417
|
"TextDisabled",
|
|
406
418
|
"TextPrimary",
|
|
407
419
|
"TextSecondary",
|
|
408
|
-
"TextTertiary"
|
|
420
|
+
"TextTertiary",
|
|
421
|
+
"Warning"
|
|
409
422
|
],
|
|
410
423
|
"example": {
|
|
411
|
-
"line": "<
|
|
424
|
+
"line": "<G9AgendaView events={events} today={today} />",
|
|
412
425
|
"from": "generated"
|
|
413
426
|
}
|
|
414
427
|
},
|
|
415
428
|
{
|
|
416
|
-
"id": "calendar.calendar.
|
|
417
|
-
"export": "
|
|
429
|
+
"id": "calendar.calendar.G9BirthdayField",
|
|
430
|
+
"export": "G9BirthdayField",
|
|
418
431
|
"from": "@g9tm/lynxcontrols-calendar",
|
|
419
432
|
"kind": "component",
|
|
420
433
|
"family": "calendar",
|
|
421
|
-
"summary": "A
|
|
434
|
+
"summary": "A birthday on the viewer's calendar: the month, the day, an optional year; stored in Gregorian.",
|
|
422
435
|
"since": null,
|
|
423
436
|
"props": [
|
|
437
|
+
{
|
|
438
|
+
"name": "disabled",
|
|
439
|
+
"type": {
|
|
440
|
+
"kind": "boolean"
|
|
441
|
+
},
|
|
442
|
+
"required": false,
|
|
443
|
+
"serializable": true,
|
|
444
|
+
"role": "state"
|
|
445
|
+
},
|
|
424
446
|
{
|
|
425
447
|
"name": "id",
|
|
426
448
|
"type": {
|
|
@@ -431,60 +453,67 @@
|
|
|
431
453
|
"role": "identity"
|
|
432
454
|
},
|
|
433
455
|
{
|
|
434
|
-
"name": "
|
|
456
|
+
"name": "labels",
|
|
435
457
|
"type": {
|
|
436
458
|
"kind": "object",
|
|
437
459
|
"fields": [
|
|
438
460
|
{
|
|
439
|
-
"name": "
|
|
461
|
+
"name": "month",
|
|
440
462
|
"required": true,
|
|
441
463
|
"type": {
|
|
442
|
-
"kind": "
|
|
464
|
+
"kind": "string"
|
|
443
465
|
},
|
|
444
466
|
"serializable": true
|
|
445
467
|
},
|
|
446
468
|
{
|
|
447
|
-
"name": "
|
|
469
|
+
"name": "day",
|
|
448
470
|
"required": true,
|
|
449
471
|
"type": {
|
|
450
|
-
"kind": "
|
|
472
|
+
"kind": "string"
|
|
451
473
|
},
|
|
452
474
|
"serializable": true
|
|
453
475
|
},
|
|
454
476
|
{
|
|
455
|
-
"name": "
|
|
477
|
+
"name": "year",
|
|
456
478
|
"required": true,
|
|
457
479
|
"type": {
|
|
458
|
-
"kind": "
|
|
480
|
+
"kind": "string"
|
|
459
481
|
},
|
|
460
482
|
"serializable": true
|
|
461
483
|
}
|
|
462
484
|
]
|
|
463
485
|
},
|
|
464
|
-
"required":
|
|
486
|
+
"required": true,
|
|
465
487
|
"serializable": true,
|
|
466
|
-
"role": "behaviour"
|
|
467
|
-
"doc": "The month shown first (default the value's, else today's)."
|
|
488
|
+
"role": "behaviour"
|
|
468
489
|
},
|
|
469
490
|
{
|
|
470
|
-
"name": "
|
|
491
|
+
"name": "onChange",
|
|
471
492
|
"type": {
|
|
472
493
|
"kind": "event",
|
|
473
|
-
"payload": "
|
|
474
|
-
"returns": "boolean"
|
|
494
|
+
"payload": "value: G9Birthday | null"
|
|
475
495
|
},
|
|
476
|
-
"required":
|
|
496
|
+
"required": true,
|
|
477
497
|
"serializable": false,
|
|
478
|
-
"role": "event"
|
|
479
|
-
"doc": "Days with something on them (a dot under the number)."
|
|
498
|
+
"role": "event"
|
|
480
499
|
},
|
|
481
500
|
{
|
|
482
|
-
"name": "
|
|
501
|
+
"name": "thisYear",
|
|
502
|
+
"type": {
|
|
503
|
+
"kind": "number"
|
|
504
|
+
},
|
|
505
|
+
"required": false,
|
|
506
|
+
"serializable": true,
|
|
507
|
+
"role": "behaviour",
|
|
508
|
+
"doc": "This year in the viewer's calendar (a year-less birthday maps through it). Default the clock's."
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "value",
|
|
483
512
|
"type": {
|
|
484
513
|
"kind": "object",
|
|
485
514
|
"fields": [
|
|
486
515
|
{
|
|
487
|
-
"name": "
|
|
516
|
+
"name": "month",
|
|
488
517
|
"required": true,
|
|
489
518
|
"type": {
|
|
490
519
|
"kind": "number"
|
|
@@ -492,7 +521,7 @@
|
|
|
492
521
|
"serializable": true
|
|
493
522
|
},
|
|
494
523
|
{
|
|
495
|
-
"name": "
|
|
524
|
+
"name": "day",
|
|
496
525
|
"required": true,
|
|
497
526
|
"type": {
|
|
498
527
|
"kind": "number"
|
|
@@ -500,8 +529,8 @@
|
|
|
500
529
|
"serializable": true
|
|
501
530
|
},
|
|
502
531
|
{
|
|
503
|
-
"name": "
|
|
504
|
-
"required":
|
|
532
|
+
"name": "year",
|
|
533
|
+
"required": false,
|
|
505
534
|
"type": {
|
|
506
535
|
"kind": "number"
|
|
507
536
|
},
|
|
@@ -509,12 +538,102 @@
|
|
|
509
538
|
}
|
|
510
539
|
]
|
|
511
540
|
},
|
|
541
|
+
"required": true,
|
|
542
|
+
"serializable": true,
|
|
543
|
+
"role": "state"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"anchor": null,
|
|
547
|
+
"accessibility": {
|
|
548
|
+
"labelFrom": [],
|
|
549
|
+
"labelRequired": false
|
|
550
|
+
},
|
|
551
|
+
"targets": {
|
|
552
|
+
"android": "unmeasured",
|
|
553
|
+
"ios": "unmeasured",
|
|
554
|
+
"windows": "unmeasured",
|
|
555
|
+
"macos": "unmeasured",
|
|
556
|
+
"web": "verified"
|
|
557
|
+
},
|
|
558
|
+
"evidence": {
|
|
559
|
+
"ledger": [
|
|
560
|
+
"N-126"
|
|
561
|
+
]
|
|
562
|
+
},
|
|
563
|
+
"tokens": [],
|
|
564
|
+
"example": {
|
|
565
|
+
"line": "<G9BirthdayField labels={labels} onChange={() => {}} value={value} />",
|
|
566
|
+
"from": "generated"
|
|
567
|
+
}
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"id": "calendar.calendar.G9DateInput",
|
|
571
|
+
"export": "G9DateInput",
|
|
572
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
573
|
+
"kind": "component",
|
|
574
|
+
"family": "calendar",
|
|
575
|
+
"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.",
|
|
576
|
+
"since": null,
|
|
577
|
+
"props": [
|
|
578
|
+
{
|
|
579
|
+
"name": "disabled",
|
|
580
|
+
"type": {
|
|
581
|
+
"kind": "boolean"
|
|
582
|
+
},
|
|
512
583
|
"required": false,
|
|
513
584
|
"serializable": true,
|
|
514
|
-
"role": "
|
|
585
|
+
"role": "state"
|
|
515
586
|
},
|
|
516
587
|
{
|
|
517
|
-
"name": "
|
|
588
|
+
"name": "error",
|
|
589
|
+
"type": {
|
|
590
|
+
"kind": "string"
|
|
591
|
+
},
|
|
592
|
+
"required": false,
|
|
593
|
+
"serializable": true,
|
|
594
|
+
"role": "behaviour",
|
|
595
|
+
"doc": "An error from the form (it wins over `invalidText`)."
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "hint",
|
|
599
|
+
"type": {
|
|
600
|
+
"kind": "string"
|
|
601
|
+
},
|
|
602
|
+
"required": false,
|
|
603
|
+
"serializable": true,
|
|
604
|
+
"role": "content",
|
|
605
|
+
"doc": "A line under the field (G9Hub, 2.5.8)."
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"name": "id",
|
|
609
|
+
"type": {
|
|
610
|
+
"kind": "string"
|
|
611
|
+
},
|
|
612
|
+
"required": false,
|
|
613
|
+
"serializable": true,
|
|
614
|
+
"role": "identity"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "invalidText",
|
|
618
|
+
"type": {
|
|
619
|
+
"kind": "string"
|
|
620
|
+
},
|
|
621
|
+
"required": false,
|
|
622
|
+
"serializable": true,
|
|
623
|
+
"role": "content",
|
|
624
|
+
"doc": "Shown when the text is not a date."
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "label",
|
|
628
|
+
"type": {
|
|
629
|
+
"kind": "string"
|
|
630
|
+
},
|
|
631
|
+
"required": true,
|
|
632
|
+
"serializable": true,
|
|
633
|
+
"role": "content"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "max",
|
|
518
637
|
"type": {
|
|
519
638
|
"kind": "object",
|
|
520
639
|
"fields": [
|
|
@@ -549,85 +668,31 @@
|
|
|
549
668
|
"role": "behaviour"
|
|
550
669
|
},
|
|
551
670
|
{
|
|
552
|
-
"name": "
|
|
553
|
-
"type": {
|
|
554
|
-
"kind": "event",
|
|
555
|
-
"payload": "date: G9LocalDate"
|
|
556
|
-
},
|
|
557
|
-
"required": false,
|
|
558
|
-
"serializable": false,
|
|
559
|
-
"role": "event"
|
|
560
|
-
},
|
|
561
|
-
{
|
|
562
|
-
"name": "range",
|
|
671
|
+
"name": "min",
|
|
563
672
|
"type": {
|
|
564
673
|
"kind": "object",
|
|
565
674
|
"fields": [
|
|
566
675
|
{
|
|
567
|
-
"name": "
|
|
676
|
+
"name": "year",
|
|
568
677
|
"required": true,
|
|
569
678
|
"type": {
|
|
570
|
-
"kind": "
|
|
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
|
-
]
|
|
679
|
+
"kind": "number"
|
|
597
680
|
},
|
|
598
681
|
"serializable": true
|
|
599
682
|
},
|
|
600
683
|
{
|
|
601
|
-
"name": "
|
|
684
|
+
"name": "month",
|
|
602
685
|
"required": true,
|
|
603
686
|
"type": {
|
|
604
|
-
"kind": "
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
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
|
-
]
|
|
687
|
+
"kind": "number"
|
|
688
|
+
},
|
|
689
|
+
"serializable": true
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "day",
|
|
693
|
+
"required": true,
|
|
694
|
+
"type": {
|
|
695
|
+
"kind": "number"
|
|
631
696
|
},
|
|
632
697
|
"serializable": true
|
|
633
698
|
}
|
|
@@ -635,8 +700,28 @@
|
|
|
635
700
|
},
|
|
636
701
|
"required": false,
|
|
637
702
|
"serializable": true,
|
|
703
|
+
"role": "behaviour"
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"name": "onChange",
|
|
707
|
+
"type": {
|
|
708
|
+
"kind": "event",
|
|
709
|
+
"payload": "date: G9LocalDate | null"
|
|
710
|
+
},
|
|
711
|
+
"required": true,
|
|
712
|
+
"serializable": false,
|
|
713
|
+
"role": "event"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "required",
|
|
717
|
+
"type": {
|
|
718
|
+
"kind": "boolean"
|
|
719
|
+
},
|
|
720
|
+
"required": false,
|
|
721
|
+
"default": false,
|
|
722
|
+
"serializable": true,
|
|
638
723
|
"role": "behaviour",
|
|
639
|
-
"doc": "A
|
|
724
|
+
"doc": "A date is needed: no clear button, and an empty text keeps the date. Default false (a clear button)."
|
|
640
725
|
},
|
|
641
726
|
{
|
|
642
727
|
"name": "today",
|
|
@@ -704,14 +789,16 @@
|
|
|
704
789
|
}
|
|
705
790
|
]
|
|
706
791
|
},
|
|
707
|
-
"required":
|
|
792
|
+
"required": true,
|
|
708
793
|
"serializable": true,
|
|
709
794
|
"role": "state"
|
|
710
795
|
}
|
|
711
796
|
],
|
|
712
797
|
"anchor": null,
|
|
713
798
|
"accessibility": {
|
|
714
|
-
"labelFrom": [
|
|
799
|
+
"labelFrom": [
|
|
800
|
+
"label"
|
|
801
|
+
],
|
|
715
802
|
"labelRequired": false
|
|
716
803
|
},
|
|
717
804
|
"targets": {
|
|
@@ -729,77 +816,2000 @@
|
|
|
729
816
|
"tokens": [
|
|
730
817
|
"Divider",
|
|
731
818
|
"Error",
|
|
819
|
+
"ErrorContainer",
|
|
820
|
+
"Info",
|
|
732
821
|
"OnPrimary",
|
|
733
822
|
"OnPrimaryContainer",
|
|
823
|
+
"OutlineVariant",
|
|
734
824
|
"Primary",
|
|
735
825
|
"PrimaryContainer",
|
|
826
|
+
"Success",
|
|
736
827
|
"Surface",
|
|
828
|
+
"SurfaceContainerHigh",
|
|
737
829
|
"SurfaceContainerLow",
|
|
738
830
|
"TextDisabled",
|
|
739
831
|
"TextPrimary",
|
|
740
832
|
"TextSecondary",
|
|
741
|
-
"TextTertiary"
|
|
833
|
+
"TextTertiary",
|
|
834
|
+
"Warning"
|
|
742
835
|
],
|
|
743
836
|
"example": {
|
|
744
|
-
"line": "<
|
|
837
|
+
"line": "<G9DateInput label=\"Label\" onChange={() => {}} today={today} value={value} />",
|
|
745
838
|
"from": "generated"
|
|
746
839
|
}
|
|
747
840
|
},
|
|
748
841
|
{
|
|
749
|
-
"id": "calendar.calendar.
|
|
750
|
-
"export": "
|
|
842
|
+
"id": "calendar.calendar.G9EventCard",
|
|
843
|
+
"export": "G9EventCard",
|
|
751
844
|
"from": "@g9tm/lynxcontrols-calendar",
|
|
752
845
|
"kind": "component",
|
|
753
846
|
"family": "calendar",
|
|
754
|
-
"summary": "
|
|
847
|
+
"summary": "An event linked in a message: title, when, repeat, place, guests, and yes / maybe / no for an invitee.",
|
|
755
848
|
"since": null,
|
|
756
849
|
"props": [
|
|
757
850
|
{
|
|
758
|
-
"name": "
|
|
851
|
+
"name": "busy",
|
|
759
852
|
"type": {
|
|
760
|
-
"kind": "
|
|
853
|
+
"kind": "boolean"
|
|
761
854
|
},
|
|
762
855
|
"required": false,
|
|
763
856
|
"serializable": true,
|
|
764
|
-
"role": "
|
|
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)."
|
|
857
|
+
"role": "behaviour",
|
|
858
|
+
"doc": "An answer is being sent."
|
|
776
859
|
},
|
|
777
860
|
{
|
|
778
|
-
"name": "
|
|
861
|
+
"name": "event",
|
|
779
862
|
"type": {
|
|
780
863
|
"kind": "object",
|
|
781
864
|
"fields": [
|
|
782
865
|
{
|
|
783
|
-
"name": "
|
|
866
|
+
"name": "id",
|
|
784
867
|
"required": true,
|
|
785
868
|
"type": {
|
|
786
|
-
"kind": "
|
|
869
|
+
"kind": "string"
|
|
787
870
|
},
|
|
788
871
|
"serializable": true
|
|
789
872
|
},
|
|
790
873
|
{
|
|
791
|
-
"name": "
|
|
874
|
+
"name": "title",
|
|
792
875
|
"required": true,
|
|
793
876
|
"type": {
|
|
794
|
-
"kind": "
|
|
877
|
+
"kind": "string"
|
|
795
878
|
},
|
|
796
879
|
"serializable": true
|
|
797
|
-
}
|
|
798
|
-
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "date",
|
|
883
|
+
"required": true,
|
|
884
|
+
"type": {
|
|
885
|
+
"kind": "object",
|
|
886
|
+
"fields": [
|
|
887
|
+
{
|
|
888
|
+
"name": "year",
|
|
889
|
+
"required": true,
|
|
890
|
+
"type": {
|
|
891
|
+
"kind": "number"
|
|
892
|
+
},
|
|
893
|
+
"serializable": true
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"name": "month",
|
|
897
|
+
"required": true,
|
|
898
|
+
"type": {
|
|
899
|
+
"kind": "number"
|
|
900
|
+
},
|
|
901
|
+
"serializable": true
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "day",
|
|
905
|
+
"required": true,
|
|
906
|
+
"type": {
|
|
907
|
+
"kind": "number"
|
|
908
|
+
},
|
|
909
|
+
"serializable": true
|
|
910
|
+
}
|
|
911
|
+
]
|
|
912
|
+
},
|
|
913
|
+
"serializable": true
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"name": "start",
|
|
917
|
+
"required": false,
|
|
918
|
+
"type": {
|
|
919
|
+
"kind": "number"
|
|
920
|
+
},
|
|
921
|
+
"serializable": true
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "end",
|
|
925
|
+
"required": false,
|
|
926
|
+
"type": {
|
|
927
|
+
"kind": "number"
|
|
928
|
+
},
|
|
929
|
+
"serializable": true
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"name": "color",
|
|
933
|
+
"required": false,
|
|
934
|
+
"type": {
|
|
935
|
+
"kind": "color"
|
|
936
|
+
},
|
|
937
|
+
"serializable": true
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"name": "endDate",
|
|
941
|
+
"required": false,
|
|
942
|
+
"type": {
|
|
943
|
+
"kind": "object",
|
|
944
|
+
"fields": [
|
|
945
|
+
{
|
|
946
|
+
"name": "year",
|
|
947
|
+
"required": true,
|
|
948
|
+
"type": {
|
|
949
|
+
"kind": "number"
|
|
950
|
+
},
|
|
951
|
+
"serializable": true
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"name": "month",
|
|
955
|
+
"required": true,
|
|
956
|
+
"type": {
|
|
957
|
+
"kind": "number"
|
|
958
|
+
},
|
|
959
|
+
"serializable": true
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"name": "day",
|
|
963
|
+
"required": true,
|
|
964
|
+
"type": {
|
|
965
|
+
"kind": "number"
|
|
966
|
+
},
|
|
967
|
+
"serializable": true
|
|
968
|
+
}
|
|
969
|
+
]
|
|
970
|
+
},
|
|
971
|
+
"serializable": true
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
"name": "location",
|
|
975
|
+
"required": false,
|
|
976
|
+
"type": {
|
|
977
|
+
"kind": "string"
|
|
978
|
+
},
|
|
979
|
+
"serializable": true
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"name": "kind",
|
|
983
|
+
"required": false,
|
|
984
|
+
"type": {
|
|
985
|
+
"kind": "string"
|
|
986
|
+
},
|
|
987
|
+
"serializable": true
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "dayOff",
|
|
991
|
+
"required": false,
|
|
992
|
+
"type": {
|
|
993
|
+
"kind": "boolean"
|
|
994
|
+
},
|
|
995
|
+
"serializable": true
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"name": "rsvp",
|
|
999
|
+
"required": false,
|
|
1000
|
+
"type": {
|
|
1001
|
+
"kind": "enum",
|
|
1002
|
+
"values": [
|
|
1003
|
+
"accepted",
|
|
1004
|
+
"tentative",
|
|
1005
|
+
"declined",
|
|
1006
|
+
"pending"
|
|
1007
|
+
]
|
|
1008
|
+
},
|
|
1009
|
+
"serializable": true
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"name": "canEdit",
|
|
1013
|
+
"required": false,
|
|
1014
|
+
"type": {
|
|
1015
|
+
"kind": "boolean"
|
|
1016
|
+
},
|
|
1017
|
+
"serializable": true
|
|
1018
|
+
}
|
|
1019
|
+
]
|
|
1020
|
+
},
|
|
1021
|
+
"required": true,
|
|
1022
|
+
"serializable": true,
|
|
1023
|
+
"role": "behaviour",
|
|
1024
|
+
"doc": "`null`: not loaded yet (the card keeps its height, so a thread does not jump)."
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "guests",
|
|
1028
|
+
"type": {
|
|
1029
|
+
"kind": "number"
|
|
1030
|
+
},
|
|
1031
|
+
"required": false,
|
|
1032
|
+
"serializable": true,
|
|
1033
|
+
"role": "behaviour"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"name": "hidden",
|
|
1037
|
+
"type": {
|
|
1038
|
+
"kind": "boolean"
|
|
1039
|
+
},
|
|
1040
|
+
"required": false,
|
|
1041
|
+
"serializable": true,
|
|
1042
|
+
"role": "behaviour",
|
|
1043
|
+
"doc": "The viewer is not invited: a private event, nothing else."
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "id",
|
|
1047
|
+
"type": {
|
|
1048
|
+
"kind": "string"
|
|
1049
|
+
},
|
|
1050
|
+
"required": false,
|
|
1051
|
+
"serializable": true,
|
|
1052
|
+
"role": "identity"
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"name": "labels",
|
|
1056
|
+
"type": {
|
|
1057
|
+
"kind": "object",
|
|
1058
|
+
"fields": [
|
|
1059
|
+
{
|
|
1060
|
+
"name": "yes",
|
|
1061
|
+
"required": true,
|
|
1062
|
+
"type": {
|
|
1063
|
+
"kind": "string"
|
|
1064
|
+
},
|
|
1065
|
+
"serializable": true
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"name": "maybe",
|
|
1069
|
+
"required": true,
|
|
1070
|
+
"type": {
|
|
1071
|
+
"kind": "string"
|
|
1072
|
+
},
|
|
1073
|
+
"serializable": true
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"name": "no",
|
|
1077
|
+
"required": true,
|
|
1078
|
+
"type": {
|
|
1079
|
+
"kind": "string"
|
|
1080
|
+
},
|
|
1081
|
+
"serializable": true
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "guests",
|
|
1085
|
+
"required": false,
|
|
1086
|
+
"type": {
|
|
1087
|
+
"kind": "string"
|
|
1088
|
+
},
|
|
1089
|
+
"serializable": true
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
"name": "allDay",
|
|
1093
|
+
"required": false,
|
|
1094
|
+
"type": {
|
|
1095
|
+
"kind": "string"
|
|
1096
|
+
},
|
|
1097
|
+
"serializable": true
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
"name": "hidden",
|
|
1101
|
+
"required": false,
|
|
1102
|
+
"type": {
|
|
1103
|
+
"kind": "string"
|
|
1104
|
+
},
|
|
1105
|
+
"serializable": true
|
|
1106
|
+
}
|
|
1107
|
+
]
|
|
1108
|
+
},
|
|
1109
|
+
"required": true,
|
|
1110
|
+
"serializable": true,
|
|
1111
|
+
"role": "behaviour"
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"name": "onOpen",
|
|
1115
|
+
"type": {
|
|
1116
|
+
"kind": "event",
|
|
1117
|
+
"payload": null
|
|
1118
|
+
},
|
|
1119
|
+
"required": false,
|
|
1120
|
+
"serializable": false,
|
|
1121
|
+
"role": "event"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"name": "onRespond",
|
|
1125
|
+
"type": {
|
|
1126
|
+
"kind": "event",
|
|
1127
|
+
"payload": "answer: \"accepted\" | \"tentative\" | \"declined\""
|
|
1128
|
+
},
|
|
1129
|
+
"required": false,
|
|
1130
|
+
"serializable": false,
|
|
1131
|
+
"role": "event"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "repeat",
|
|
1135
|
+
"type": {
|
|
1136
|
+
"kind": "string"
|
|
1137
|
+
},
|
|
1138
|
+
"required": false,
|
|
1139
|
+
"serializable": true,
|
|
1140
|
+
"role": "behaviour",
|
|
1141
|
+
"doc": "The repeat in words (`describeRecurrence`)."
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
"name": "rsvp",
|
|
1145
|
+
"type": {
|
|
1146
|
+
"kind": "enum",
|
|
1147
|
+
"values": [
|
|
1148
|
+
"accepted",
|
|
1149
|
+
"tentative",
|
|
1150
|
+
"declined",
|
|
1151
|
+
"pending"
|
|
1152
|
+
]
|
|
1153
|
+
},
|
|
1154
|
+
"required": false,
|
|
1155
|
+
"serializable": true,
|
|
1156
|
+
"role": "behaviour",
|
|
1157
|
+
"doc": "The viewer's answer; `undefined`: the viewer organises it (no answer buttons)."
|
|
1158
|
+
}
|
|
1159
|
+
],
|
|
1160
|
+
"anchor": null,
|
|
1161
|
+
"accessibility": {
|
|
1162
|
+
"labelFrom": [],
|
|
1163
|
+
"labelRequired": false
|
|
1164
|
+
},
|
|
1165
|
+
"targets": {
|
|
1166
|
+
"android": "unmeasured",
|
|
1167
|
+
"ios": "unmeasured",
|
|
1168
|
+
"windows": "unmeasured",
|
|
1169
|
+
"macos": "unmeasured",
|
|
1170
|
+
"web": "verified"
|
|
1171
|
+
},
|
|
1172
|
+
"evidence": {
|
|
1173
|
+
"ledger": [
|
|
1174
|
+
"N-126"
|
|
1175
|
+
]
|
|
1176
|
+
},
|
|
1177
|
+
"tokens": [
|
|
1178
|
+
"OnPrimary",
|
|
1179
|
+
"TextSecondary"
|
|
1180
|
+
],
|
|
1181
|
+
"example": {
|
|
1182
|
+
"line": "<G9EventCard event={event} labels={labels} />",
|
|
1183
|
+
"from": "generated"
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"id": "calendar.calendar.G9FindTime",
|
|
1188
|
+
"export": "G9FindTime",
|
|
1189
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
1190
|
+
"kind": "component",
|
|
1191
|
+
"family": "calendar",
|
|
1192
|
+
"summary": "«Find a time»: the common free slots by day, everyone-free in green, the least busy with how many are busy.",
|
|
1193
|
+
"since": null,
|
|
1194
|
+
"props": [
|
|
1195
|
+
{
|
|
1196
|
+
"name": "disabled",
|
|
1197
|
+
"type": {
|
|
1198
|
+
"kind": "boolean"
|
|
1199
|
+
},
|
|
1200
|
+
"required": false,
|
|
1201
|
+
"serializable": true,
|
|
1202
|
+
"role": "state",
|
|
1203
|
+
"doc": "The search needs people (no guests yet): the button is off."
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"name": "error",
|
|
1207
|
+
"type": {
|
|
1208
|
+
"kind": "string"
|
|
1209
|
+
},
|
|
1210
|
+
"required": false,
|
|
1211
|
+
"serializable": true,
|
|
1212
|
+
"role": "behaviour"
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"name": "id",
|
|
1216
|
+
"type": {
|
|
1217
|
+
"kind": "string"
|
|
1218
|
+
},
|
|
1219
|
+
"required": false,
|
|
1220
|
+
"serializable": true,
|
|
1221
|
+
"role": "identity"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"name": "labels",
|
|
1225
|
+
"type": {
|
|
1226
|
+
"kind": "object",
|
|
1227
|
+
"fields": [
|
|
1228
|
+
{
|
|
1229
|
+
"name": "title",
|
|
1230
|
+
"required": true,
|
|
1231
|
+
"type": {
|
|
1232
|
+
"kind": "string"
|
|
1233
|
+
},
|
|
1234
|
+
"serializable": true
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"name": "hint",
|
|
1238
|
+
"required": false,
|
|
1239
|
+
"type": {
|
|
1240
|
+
"kind": "string"
|
|
1241
|
+
},
|
|
1242
|
+
"serializable": true
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
"name": "button",
|
|
1246
|
+
"required": true,
|
|
1247
|
+
"type": {
|
|
1248
|
+
"kind": "string"
|
|
1249
|
+
},
|
|
1250
|
+
"serializable": true
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"name": "none",
|
|
1254
|
+
"required": true,
|
|
1255
|
+
"type": {
|
|
1256
|
+
"kind": "string"
|
|
1257
|
+
},
|
|
1258
|
+
"serializable": true
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"name": "everyone",
|
|
1262
|
+
"required": true,
|
|
1263
|
+
"type": {
|
|
1264
|
+
"kind": "string"
|
|
1265
|
+
},
|
|
1266
|
+
"serializable": true
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"name": "busy",
|
|
1270
|
+
"required": true,
|
|
1271
|
+
"type": {
|
|
1272
|
+
"kind": "string"
|
|
1273
|
+
},
|
|
1274
|
+
"serializable": true
|
|
1275
|
+
}
|
|
1276
|
+
]
|
|
1277
|
+
},
|
|
1278
|
+
"required": true,
|
|
1279
|
+
"serializable": true,
|
|
1280
|
+
"role": "behaviour"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"name": "loading",
|
|
1284
|
+
"type": {
|
|
1285
|
+
"kind": "boolean"
|
|
1286
|
+
},
|
|
1287
|
+
"required": false,
|
|
1288
|
+
"serializable": true,
|
|
1289
|
+
"role": "state"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"name": "onPick",
|
|
1293
|
+
"type": {
|
|
1294
|
+
"kind": "event",
|
|
1295
|
+
"payload": "slot: G9FreeSlot"
|
|
1296
|
+
},
|
|
1297
|
+
"required": true,
|
|
1298
|
+
"serializable": false,
|
|
1299
|
+
"role": "event"
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "onSearch",
|
|
1303
|
+
"type": {
|
|
1304
|
+
"kind": "event",
|
|
1305
|
+
"payload": null
|
|
1306
|
+
},
|
|
1307
|
+
"required": false,
|
|
1308
|
+
"serializable": false,
|
|
1309
|
+
"role": "event",
|
|
1310
|
+
"doc": "The search button (absent: no button — the slots come by themselves)."
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"name": "slots",
|
|
1314
|
+
"type": {
|
|
1315
|
+
"kind": "array",
|
|
1316
|
+
"items": {
|
|
1317
|
+
"kind": "object",
|
|
1318
|
+
"fields": [
|
|
1319
|
+
{
|
|
1320
|
+
"name": "date",
|
|
1321
|
+
"required": true,
|
|
1322
|
+
"type": {
|
|
1323
|
+
"kind": "unknown",
|
|
1324
|
+
"text": "G9LocalDate"
|
|
1325
|
+
},
|
|
1326
|
+
"serializable": false
|
|
1327
|
+
},
|
|
1328
|
+
{
|
|
1329
|
+
"name": "start",
|
|
1330
|
+
"required": true,
|
|
1331
|
+
"type": {
|
|
1332
|
+
"kind": "number"
|
|
1333
|
+
},
|
|
1334
|
+
"serializable": true
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"name": "end",
|
|
1338
|
+
"required": true,
|
|
1339
|
+
"type": {
|
|
1340
|
+
"kind": "number"
|
|
1341
|
+
},
|
|
1342
|
+
"serializable": true
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "busyCount",
|
|
1346
|
+
"required": true,
|
|
1347
|
+
"type": {
|
|
1348
|
+
"kind": "number"
|
|
1349
|
+
},
|
|
1350
|
+
"serializable": true
|
|
1351
|
+
}
|
|
1352
|
+
]
|
|
1353
|
+
}
|
|
1354
|
+
},
|
|
1355
|
+
"required": true,
|
|
1356
|
+
"serializable": false,
|
|
1357
|
+
"role": "behaviour",
|
|
1358
|
+
"doc": "The slots found (`null`: not searched yet)."
|
|
1359
|
+
}
|
|
1360
|
+
],
|
|
1361
|
+
"anchor": null,
|
|
1362
|
+
"accessibility": {
|
|
1363
|
+
"labelFrom": [],
|
|
1364
|
+
"labelRequired": false
|
|
1365
|
+
},
|
|
1366
|
+
"targets": {
|
|
1367
|
+
"android": "unmeasured",
|
|
1368
|
+
"ios": "unmeasured",
|
|
1369
|
+
"windows": "unmeasured",
|
|
1370
|
+
"macos": "unmeasured",
|
|
1371
|
+
"web": "verified"
|
|
1372
|
+
},
|
|
1373
|
+
"evidence": {
|
|
1374
|
+
"ledger": [
|
|
1375
|
+
"N-126"
|
|
1376
|
+
]
|
|
1377
|
+
},
|
|
1378
|
+
"tokens": [
|
|
1379
|
+
"OnPrimary",
|
|
1380
|
+
"TextSecondary"
|
|
1381
|
+
],
|
|
1382
|
+
"example": {
|
|
1383
|
+
"line": "<G9FindTime labels={labels} onPick={() => {}} slots={slots} />",
|
|
1384
|
+
"from": "generated"
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
"id": "calendar.calendar.G9MiniMonth",
|
|
1389
|
+
"export": "G9MiniMonth",
|
|
1390
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
1391
|
+
"kind": "component",
|
|
1392
|
+
"family": "calendar",
|
|
1393
|
+
"summary": "A compact month: header with arrows, weekday initials, 6×7 days; today ringed, the value filled, a range tinted.",
|
|
1394
|
+
"since": null,
|
|
1395
|
+
"props": [
|
|
1396
|
+
{
|
|
1397
|
+
"name": "dayOff",
|
|
1398
|
+
"type": {
|
|
1399
|
+
"kind": "event",
|
|
1400
|
+
"payload": "date: G9LocalDate",
|
|
1401
|
+
"returns": "boolean"
|
|
1402
|
+
},
|
|
1403
|
+
"required": false,
|
|
1404
|
+
"serializable": false,
|
|
1405
|
+
"role": "event",
|
|
1406
|
+
"doc": "Days off (an official holiday, the weekend): their number in the error colour."
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "id",
|
|
1410
|
+
"type": {
|
|
1411
|
+
"kind": "string"
|
|
1412
|
+
},
|
|
1413
|
+
"required": false,
|
|
1414
|
+
"serializable": true,
|
|
1415
|
+
"role": "identity"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"name": "initialMonth",
|
|
1419
|
+
"type": {
|
|
1420
|
+
"kind": "object",
|
|
1421
|
+
"fields": [
|
|
1422
|
+
{
|
|
1423
|
+
"name": "year",
|
|
1424
|
+
"required": true,
|
|
1425
|
+
"type": {
|
|
1426
|
+
"kind": "number"
|
|
1427
|
+
},
|
|
1428
|
+
"serializable": true
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"name": "month",
|
|
1432
|
+
"required": true,
|
|
1433
|
+
"type": {
|
|
1434
|
+
"kind": "number"
|
|
1435
|
+
},
|
|
1436
|
+
"serializable": true
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"name": "day",
|
|
1440
|
+
"required": true,
|
|
1441
|
+
"type": {
|
|
1442
|
+
"kind": "number"
|
|
1443
|
+
},
|
|
1444
|
+
"serializable": true
|
|
1445
|
+
}
|
|
1446
|
+
]
|
|
1447
|
+
},
|
|
1448
|
+
"required": false,
|
|
1449
|
+
"serializable": true,
|
|
1450
|
+
"role": "behaviour",
|
|
1451
|
+
"doc": "The month shown first (default the value's, else today's)."
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"name": "marked",
|
|
1455
|
+
"type": {
|
|
1456
|
+
"kind": "event",
|
|
1457
|
+
"payload": "date: G9LocalDate",
|
|
1458
|
+
"returns": "boolean"
|
|
1459
|
+
},
|
|
1460
|
+
"required": false,
|
|
1461
|
+
"serializable": false,
|
|
1462
|
+
"role": "event",
|
|
1463
|
+
"doc": "Days with something on them (a dot under the number)."
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"name": "max",
|
|
1467
|
+
"type": {
|
|
1468
|
+
"kind": "object",
|
|
1469
|
+
"fields": [
|
|
1470
|
+
{
|
|
1471
|
+
"name": "year",
|
|
1472
|
+
"required": true,
|
|
1473
|
+
"type": {
|
|
1474
|
+
"kind": "number"
|
|
1475
|
+
},
|
|
1476
|
+
"serializable": true
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"name": "month",
|
|
1480
|
+
"required": true,
|
|
1481
|
+
"type": {
|
|
1482
|
+
"kind": "number"
|
|
1483
|
+
},
|
|
1484
|
+
"serializable": true
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "day",
|
|
1488
|
+
"required": true,
|
|
1489
|
+
"type": {
|
|
1490
|
+
"kind": "number"
|
|
1491
|
+
},
|
|
1492
|
+
"serializable": true
|
|
1493
|
+
}
|
|
1494
|
+
]
|
|
1495
|
+
},
|
|
1496
|
+
"required": false,
|
|
1497
|
+
"serializable": true,
|
|
1498
|
+
"role": "behaviour"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "min",
|
|
1502
|
+
"type": {
|
|
1503
|
+
"kind": "object",
|
|
1504
|
+
"fields": [
|
|
1505
|
+
{
|
|
1506
|
+
"name": "year",
|
|
1507
|
+
"required": true,
|
|
1508
|
+
"type": {
|
|
1509
|
+
"kind": "number"
|
|
1510
|
+
},
|
|
1511
|
+
"serializable": true
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "month",
|
|
1515
|
+
"required": true,
|
|
1516
|
+
"type": {
|
|
1517
|
+
"kind": "number"
|
|
1518
|
+
},
|
|
1519
|
+
"serializable": true
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"name": "day",
|
|
1523
|
+
"required": true,
|
|
1524
|
+
"type": {
|
|
1525
|
+
"kind": "number"
|
|
1526
|
+
},
|
|
1527
|
+
"serializable": true
|
|
1528
|
+
}
|
|
1529
|
+
]
|
|
1530
|
+
},
|
|
1531
|
+
"required": false,
|
|
1532
|
+
"serializable": true,
|
|
1533
|
+
"role": "behaviour"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "month",
|
|
1537
|
+
"type": {
|
|
1538
|
+
"kind": "object",
|
|
1539
|
+
"fields": [
|
|
1540
|
+
{
|
|
1541
|
+
"name": "year",
|
|
1542
|
+
"required": true,
|
|
1543
|
+
"type": {
|
|
1544
|
+
"kind": "number"
|
|
1545
|
+
},
|
|
1546
|
+
"serializable": true
|
|
1547
|
+
},
|
|
1548
|
+
{
|
|
1549
|
+
"name": "month",
|
|
1550
|
+
"required": true,
|
|
1551
|
+
"type": {
|
|
1552
|
+
"kind": "number"
|
|
1553
|
+
},
|
|
1554
|
+
"serializable": true
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"name": "day",
|
|
1558
|
+
"required": true,
|
|
1559
|
+
"type": {
|
|
1560
|
+
"kind": "number"
|
|
1561
|
+
},
|
|
1562
|
+
"serializable": true
|
|
1563
|
+
}
|
|
1564
|
+
]
|
|
1565
|
+
},
|
|
1566
|
+
"required": false,
|
|
1567
|
+
"serializable": true,
|
|
1568
|
+
"role": "behaviour",
|
|
1569
|
+
"doc": "The month shown, controlled (any day of it), with `onMonthChange` (G9Hub's side month in step with the main view, 2.5.8). Without it the arrows move the month the view keeps."
|
|
1570
|
+
},
|
|
1571
|
+
{
|
|
1572
|
+
"name": "onMonthChange",
|
|
1573
|
+
"type": {
|
|
1574
|
+
"kind": "event",
|
|
1575
|
+
"payload": "month: G9LocalDate"
|
|
1576
|
+
},
|
|
1577
|
+
"required": false,
|
|
1578
|
+
"serializable": false,
|
|
1579
|
+
"role": "event",
|
|
1580
|
+
"doc": "After an arrow: the first day of the month asked for."
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
"name": "onSelect",
|
|
1584
|
+
"type": {
|
|
1585
|
+
"kind": "event",
|
|
1586
|
+
"payload": "date: G9LocalDate"
|
|
1587
|
+
},
|
|
1588
|
+
"required": false,
|
|
1589
|
+
"serializable": false,
|
|
1590
|
+
"role": "event"
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
"name": "range",
|
|
1594
|
+
"type": {
|
|
1595
|
+
"kind": "object",
|
|
1596
|
+
"fields": [
|
|
1597
|
+
{
|
|
1598
|
+
"name": "start",
|
|
1599
|
+
"required": true,
|
|
1600
|
+
"type": {
|
|
1601
|
+
"kind": "object",
|
|
1602
|
+
"fields": [
|
|
1603
|
+
{
|
|
1604
|
+
"name": "year",
|
|
1605
|
+
"required": true,
|
|
1606
|
+
"type": {
|
|
1607
|
+
"kind": "number"
|
|
1608
|
+
},
|
|
1609
|
+
"serializable": true
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"name": "month",
|
|
1613
|
+
"required": true,
|
|
1614
|
+
"type": {
|
|
1615
|
+
"kind": "number"
|
|
1616
|
+
},
|
|
1617
|
+
"serializable": true
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"name": "day",
|
|
1621
|
+
"required": true,
|
|
1622
|
+
"type": {
|
|
1623
|
+
"kind": "number"
|
|
1624
|
+
},
|
|
1625
|
+
"serializable": true
|
|
1626
|
+
}
|
|
1627
|
+
]
|
|
1628
|
+
},
|
|
1629
|
+
"serializable": true
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"name": "end",
|
|
1633
|
+
"required": true,
|
|
1634
|
+
"type": {
|
|
1635
|
+
"kind": "object",
|
|
1636
|
+
"fields": [
|
|
1637
|
+
{
|
|
1638
|
+
"name": "year",
|
|
1639
|
+
"required": true,
|
|
1640
|
+
"type": {
|
|
1641
|
+
"kind": "number"
|
|
1642
|
+
},
|
|
1643
|
+
"serializable": true
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "month",
|
|
1647
|
+
"required": true,
|
|
1648
|
+
"type": {
|
|
1649
|
+
"kind": "number"
|
|
1650
|
+
},
|
|
1651
|
+
"serializable": true
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
"name": "day",
|
|
1655
|
+
"required": true,
|
|
1656
|
+
"type": {
|
|
1657
|
+
"kind": "number"
|
|
1658
|
+
},
|
|
1659
|
+
"serializable": true
|
|
1660
|
+
}
|
|
1661
|
+
]
|
|
1662
|
+
},
|
|
1663
|
+
"serializable": true
|
|
1664
|
+
}
|
|
1665
|
+
]
|
|
1666
|
+
},
|
|
1667
|
+
"required": false,
|
|
1668
|
+
"serializable": true,
|
|
1669
|
+
"role": "behaviour",
|
|
1670
|
+
"doc": "A selected range (both ends inclusive)."
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"name": "today",
|
|
1674
|
+
"type": {
|
|
1675
|
+
"kind": "object",
|
|
1676
|
+
"fields": [
|
|
1677
|
+
{
|
|
1678
|
+
"name": "year",
|
|
1679
|
+
"required": true,
|
|
1680
|
+
"type": {
|
|
1681
|
+
"kind": "number"
|
|
1682
|
+
},
|
|
1683
|
+
"serializable": true
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "month",
|
|
1687
|
+
"required": true,
|
|
1688
|
+
"type": {
|
|
1689
|
+
"kind": "number"
|
|
1690
|
+
},
|
|
1691
|
+
"serializable": true
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"name": "day",
|
|
1695
|
+
"required": true,
|
|
1696
|
+
"type": {
|
|
1697
|
+
"kind": "number"
|
|
1698
|
+
},
|
|
1699
|
+
"serializable": true
|
|
1700
|
+
}
|
|
1701
|
+
]
|
|
1702
|
+
},
|
|
1703
|
+
"required": true,
|
|
1704
|
+
"serializable": true,
|
|
1705
|
+
"role": "behaviour"
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
"name": "value",
|
|
1709
|
+
"type": {
|
|
1710
|
+
"kind": "object",
|
|
1711
|
+
"fields": [
|
|
1712
|
+
{
|
|
1713
|
+
"name": "year",
|
|
1714
|
+
"required": true,
|
|
1715
|
+
"type": {
|
|
1716
|
+
"kind": "number"
|
|
1717
|
+
},
|
|
1718
|
+
"serializable": true
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"name": "month",
|
|
1722
|
+
"required": true,
|
|
1723
|
+
"type": {
|
|
1724
|
+
"kind": "number"
|
|
1725
|
+
},
|
|
1726
|
+
"serializable": true
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
"name": "day",
|
|
1730
|
+
"required": true,
|
|
1731
|
+
"type": {
|
|
1732
|
+
"kind": "number"
|
|
1733
|
+
},
|
|
1734
|
+
"serializable": true
|
|
1735
|
+
}
|
|
1736
|
+
]
|
|
1737
|
+
},
|
|
1738
|
+
"required": false,
|
|
1739
|
+
"serializable": true,
|
|
1740
|
+
"role": "state"
|
|
1741
|
+
}
|
|
1742
|
+
],
|
|
1743
|
+
"anchor": null,
|
|
1744
|
+
"accessibility": {
|
|
1745
|
+
"labelFrom": [],
|
|
1746
|
+
"labelRequired": false
|
|
1747
|
+
},
|
|
1748
|
+
"targets": {
|
|
1749
|
+
"android": "unmeasured",
|
|
1750
|
+
"ios": "unmeasured",
|
|
1751
|
+
"windows": "unmeasured",
|
|
1752
|
+
"macos": "unmeasured",
|
|
1753
|
+
"web": "verified"
|
|
1754
|
+
},
|
|
1755
|
+
"evidence": {
|
|
1756
|
+
"ledger": [
|
|
1757
|
+
"N-126"
|
|
1758
|
+
]
|
|
1759
|
+
},
|
|
1760
|
+
"tokens": [
|
|
1761
|
+
"Divider",
|
|
1762
|
+
"Error",
|
|
1763
|
+
"ErrorContainer",
|
|
1764
|
+
"Info",
|
|
1765
|
+
"OnPrimary",
|
|
1766
|
+
"OnPrimaryContainer",
|
|
1767
|
+
"OutlineVariant",
|
|
1768
|
+
"Primary",
|
|
1769
|
+
"PrimaryContainer",
|
|
1770
|
+
"Success",
|
|
1771
|
+
"Surface",
|
|
1772
|
+
"SurfaceContainerHigh",
|
|
1773
|
+
"SurfaceContainerLow",
|
|
1774
|
+
"TextDisabled",
|
|
1775
|
+
"TextPrimary",
|
|
1776
|
+
"TextSecondary",
|
|
1777
|
+
"TextTertiary",
|
|
1778
|
+
"Warning"
|
|
1779
|
+
],
|
|
1780
|
+
"example": {
|
|
1781
|
+
"line": "<G9MiniMonth today={today} />",
|
|
1782
|
+
"from": "generated"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"id": "calendar.calendar.G9MonthDayPicker",
|
|
1787
|
+
"export": "G9MonthDayPicker",
|
|
1788
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
1789
|
+
"kind": "component",
|
|
1790
|
+
"family": "calendar",
|
|
1791
|
+
"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).",
|
|
1792
|
+
"since": null,
|
|
1793
|
+
"props": [
|
|
1794
|
+
{
|
|
1795
|
+
"name": "id",
|
|
1796
|
+
"type": {
|
|
1797
|
+
"kind": "string"
|
|
1798
|
+
},
|
|
1799
|
+
"required": false,
|
|
1800
|
+
"serializable": true,
|
|
1801
|
+
"role": "identity"
|
|
1802
|
+
},
|
|
1803
|
+
{
|
|
1804
|
+
"name": "onChange",
|
|
1805
|
+
"type": {
|
|
1806
|
+
"kind": "event",
|
|
1807
|
+
"payload": "value: G9MonthDay | null"
|
|
1808
|
+
},
|
|
1809
|
+
"required": true,
|
|
1810
|
+
"serializable": false,
|
|
1811
|
+
"role": "event",
|
|
1812
|
+
"doc": "`null` when the chosen month is tapped again (cleared)."
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "value",
|
|
1816
|
+
"type": {
|
|
1817
|
+
"kind": "object",
|
|
1818
|
+
"fields": [
|
|
1819
|
+
{
|
|
1820
|
+
"name": "month",
|
|
1821
|
+
"required": true,
|
|
1822
|
+
"type": {
|
|
1823
|
+
"kind": "number"
|
|
1824
|
+
},
|
|
1825
|
+
"serializable": true
|
|
1826
|
+
},
|
|
1827
|
+
{
|
|
1828
|
+
"name": "day",
|
|
1829
|
+
"required": true,
|
|
1830
|
+
"type": {
|
|
1831
|
+
"kind": "number"
|
|
1832
|
+
},
|
|
1833
|
+
"serializable": true
|
|
1834
|
+
}
|
|
1835
|
+
]
|
|
1836
|
+
},
|
|
1837
|
+
"required": true,
|
|
1838
|
+
"serializable": true,
|
|
1839
|
+
"role": "state"
|
|
1840
|
+
}
|
|
1841
|
+
],
|
|
1842
|
+
"anchor": null,
|
|
1843
|
+
"accessibility": {
|
|
1844
|
+
"labelFrom": [],
|
|
1845
|
+
"labelRequired": false
|
|
1846
|
+
},
|
|
1847
|
+
"targets": {
|
|
1848
|
+
"android": "unmeasured",
|
|
1849
|
+
"ios": "unmeasured",
|
|
1850
|
+
"windows": "unmeasured",
|
|
1851
|
+
"macos": "unmeasured",
|
|
1852
|
+
"web": "verified"
|
|
1853
|
+
},
|
|
1854
|
+
"evidence": {
|
|
1855
|
+
"ledger": [
|
|
1856
|
+
"N-126"
|
|
1857
|
+
]
|
|
1858
|
+
},
|
|
1859
|
+
"tokens": [
|
|
1860
|
+
"Divider",
|
|
1861
|
+
"Error",
|
|
1862
|
+
"ErrorContainer",
|
|
1863
|
+
"Info",
|
|
1864
|
+
"OnPrimary",
|
|
1865
|
+
"OnPrimaryContainer",
|
|
1866
|
+
"OutlineVariant",
|
|
1867
|
+
"Primary",
|
|
1868
|
+
"PrimaryContainer",
|
|
1869
|
+
"Success",
|
|
1870
|
+
"Surface",
|
|
1871
|
+
"SurfaceContainerHigh",
|
|
1872
|
+
"SurfaceContainerLow",
|
|
1873
|
+
"TextDisabled",
|
|
1874
|
+
"TextPrimary",
|
|
1875
|
+
"TextSecondary",
|
|
1876
|
+
"TextTertiary",
|
|
1877
|
+
"Warning"
|
|
1878
|
+
],
|
|
1879
|
+
"example": {
|
|
1880
|
+
"line": "<G9MonthDayPicker onChange={() => {}} value={value} />",
|
|
1881
|
+
"from": "generated"
|
|
1882
|
+
}
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"id": "calendar.calendar.G9MonthView",
|
|
1886
|
+
"export": "G9MonthView",
|
|
1887
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
1888
|
+
"kind": "component",
|
|
1889
|
+
"family": "calendar",
|
|
1890
|
+
"summary": "The month with lanes of events, holidays, days off and a mouse drag (wide), or dots and a selected day (compact).",
|
|
1891
|
+
"since": null,
|
|
1892
|
+
"props": [
|
|
1893
|
+
{
|
|
1894
|
+
"name": "compact",
|
|
1895
|
+
"type": {
|
|
1896
|
+
"kind": "boolean"
|
|
1897
|
+
},
|
|
1898
|
+
"required": false,
|
|
1899
|
+
"serializable": true,
|
|
1900
|
+
"role": "appearance",
|
|
1901
|
+
"doc": "A phone's month: dots, the selected day ringed; the day's list is the app's (2.5.8)."
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"name": "dayOff",
|
|
1905
|
+
"type": {
|
|
1906
|
+
"kind": "event",
|
|
1907
|
+
"payload": "date: G9LocalDate",
|
|
1908
|
+
"returns": "boolean"
|
|
1909
|
+
},
|
|
1910
|
+
"required": false,
|
|
1911
|
+
"serializable": false,
|
|
1912
|
+
"role": "event",
|
|
1913
|
+
"doc": "Days off (a holiday that is one, the app's own). Holidays that are days off count by themselves."
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"name": "events",
|
|
1917
|
+
"type": {
|
|
1918
|
+
"kind": "array",
|
|
1919
|
+
"items": {
|
|
1920
|
+
"kind": "object",
|
|
1921
|
+
"fields": [
|
|
1922
|
+
{
|
|
1923
|
+
"name": "id",
|
|
1924
|
+
"required": true,
|
|
1925
|
+
"type": {
|
|
1926
|
+
"kind": "string"
|
|
1927
|
+
},
|
|
1928
|
+
"serializable": true
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "title",
|
|
1932
|
+
"required": true,
|
|
1933
|
+
"type": {
|
|
1934
|
+
"kind": "string"
|
|
1935
|
+
},
|
|
1936
|
+
"serializable": true
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"name": "date",
|
|
1940
|
+
"required": true,
|
|
1941
|
+
"type": {
|
|
1942
|
+
"kind": "unknown",
|
|
1943
|
+
"text": "G9LocalDate"
|
|
1944
|
+
},
|
|
1945
|
+
"serializable": false
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"name": "start",
|
|
1949
|
+
"required": false,
|
|
1950
|
+
"type": {
|
|
1951
|
+
"kind": "number"
|
|
1952
|
+
},
|
|
1953
|
+
"serializable": true
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"name": "end",
|
|
1957
|
+
"required": false,
|
|
1958
|
+
"type": {
|
|
1959
|
+
"kind": "number"
|
|
1960
|
+
},
|
|
1961
|
+
"serializable": true
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"name": "color",
|
|
1965
|
+
"required": false,
|
|
1966
|
+
"type": {
|
|
1967
|
+
"kind": "color"
|
|
1968
|
+
},
|
|
1969
|
+
"serializable": true
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"name": "endDate",
|
|
1973
|
+
"required": false,
|
|
1974
|
+
"type": {
|
|
1975
|
+
"kind": "unknown",
|
|
1976
|
+
"text": "G9LocalDate"
|
|
1977
|
+
},
|
|
1978
|
+
"serializable": false
|
|
1979
|
+
},
|
|
1980
|
+
{
|
|
1981
|
+
"name": "location",
|
|
1982
|
+
"required": false,
|
|
1983
|
+
"type": {
|
|
1984
|
+
"kind": "string"
|
|
1985
|
+
},
|
|
1986
|
+
"serializable": true
|
|
1987
|
+
},
|
|
1988
|
+
{
|
|
1989
|
+
"name": "kind",
|
|
1990
|
+
"required": false,
|
|
1991
|
+
"type": {
|
|
1992
|
+
"kind": "string"
|
|
1993
|
+
},
|
|
1994
|
+
"serializable": true
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
"name": "dayOff",
|
|
1998
|
+
"required": false,
|
|
1999
|
+
"type": {
|
|
2000
|
+
"kind": "boolean"
|
|
2001
|
+
},
|
|
2002
|
+
"serializable": true
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
"name": "rsvp",
|
|
2006
|
+
"required": false,
|
|
2007
|
+
"type": {
|
|
2008
|
+
"kind": "enum",
|
|
2009
|
+
"values": [
|
|
2010
|
+
"accepted",
|
|
2011
|
+
"tentative",
|
|
2012
|
+
"declined",
|
|
2013
|
+
"pending"
|
|
2014
|
+
]
|
|
2015
|
+
},
|
|
2016
|
+
"serializable": true
|
|
2017
|
+
},
|
|
2018
|
+
{
|
|
2019
|
+
"name": "canEdit",
|
|
2020
|
+
"required": false,
|
|
2021
|
+
"type": {
|
|
2022
|
+
"kind": "boolean"
|
|
2023
|
+
},
|
|
2024
|
+
"serializable": true
|
|
2025
|
+
}
|
|
2026
|
+
]
|
|
2027
|
+
}
|
|
2028
|
+
},
|
|
2029
|
+
"required": true,
|
|
2030
|
+
"serializable": false,
|
|
2031
|
+
"role": "behaviour"
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
"name": "id",
|
|
2035
|
+
"type": {
|
|
2036
|
+
"kind": "string"
|
|
2037
|
+
},
|
|
2038
|
+
"required": false,
|
|
2039
|
+
"serializable": true,
|
|
2040
|
+
"role": "identity"
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"name": "month",
|
|
2044
|
+
"type": {
|
|
2045
|
+
"kind": "object",
|
|
2046
|
+
"fields": [
|
|
2047
|
+
{
|
|
2048
|
+
"name": "year",
|
|
2049
|
+
"required": true,
|
|
2050
|
+
"type": {
|
|
2051
|
+
"kind": "number"
|
|
2052
|
+
},
|
|
2053
|
+
"serializable": true
|
|
2054
|
+
},
|
|
2055
|
+
{
|
|
2056
|
+
"name": "month",
|
|
2057
|
+
"required": true,
|
|
2058
|
+
"type": {
|
|
2059
|
+
"kind": "number"
|
|
2060
|
+
},
|
|
2061
|
+
"serializable": true
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"name": "day",
|
|
2065
|
+
"required": true,
|
|
2066
|
+
"type": {
|
|
2067
|
+
"kind": "number"
|
|
2068
|
+
},
|
|
2069
|
+
"serializable": true
|
|
2070
|
+
}
|
|
2071
|
+
]
|
|
2072
|
+
},
|
|
2073
|
+
"required": true,
|
|
2074
|
+
"serializable": true,
|
|
2075
|
+
"role": "behaviour",
|
|
2076
|
+
"doc": "Any day of the month shown."
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"name": "moreText",
|
|
2080
|
+
"type": {
|
|
2081
|
+
"kind": "event",
|
|
2082
|
+
"payload": "n: number",
|
|
2083
|
+
"returns": "string"
|
|
2084
|
+
},
|
|
2085
|
+
"required": false,
|
|
2086
|
+
"default": "+n",
|
|
2087
|
+
"serializable": false,
|
|
2088
|
+
"role": "event",
|
|
2089
|
+
"doc": "«+n» in the app's words. Default `+n`."
|
|
2090
|
+
},
|
|
2091
|
+
{
|
|
2092
|
+
"name": "onCreate",
|
|
2093
|
+
"type": {
|
|
2094
|
+
"kind": "event",
|
|
2095
|
+
"payload": "draft: G9MonthDraft"
|
|
2096
|
+
},
|
|
2097
|
+
"required": false,
|
|
2098
|
+
"serializable": false,
|
|
2099
|
+
"role": "event",
|
|
2100
|
+
"doc": "A new event: a tap on an empty day (09:00–10:00), a mouse drag across days (all day)."
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "onMove",
|
|
2104
|
+
"type": {
|
|
2105
|
+
"kind": "event",
|
|
2106
|
+
"payload": "event: G9CalendarEvent, change: { readonly date: G9LocalDate; readonly endDate: G9LocalDate; }"
|
|
2107
|
+
},
|
|
2108
|
+
"required": false,
|
|
2109
|
+
"serializable": false,
|
|
2110
|
+
"role": "event",
|
|
2111
|
+
"doc": "An event (`canEdit`) dragged to another day: its new first and last day."
|
|
2112
|
+
},
|
|
2113
|
+
{
|
|
2114
|
+
"name": "onOpenDay",
|
|
2115
|
+
"type": {
|
|
2116
|
+
"kind": "event",
|
|
2117
|
+
"payload": "date: G9LocalDate"
|
|
2118
|
+
},
|
|
2119
|
+
"required": false,
|
|
2120
|
+
"default": "onSelectDay",
|
|
2121
|
+
"serializable": false,
|
|
2122
|
+
"role": "event",
|
|
2123
|
+
"doc": "A tap on the day's number (the day view). Default `onSelectDay`."
|
|
2124
|
+
},
|
|
2125
|
+
{
|
|
2126
|
+
"name": "onSelectDay",
|
|
2127
|
+
"type": {
|
|
2128
|
+
"kind": "event",
|
|
2129
|
+
"payload": "date: G9LocalDate"
|
|
2130
|
+
},
|
|
2131
|
+
"required": false,
|
|
2132
|
+
"serializable": false,
|
|
2133
|
+
"role": "event",
|
|
2134
|
+
"doc": "A tap on a day (compact: it selects; wide: the app decides — default a new event there with `onCreate`)."
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
"name": "onSelectEvent",
|
|
2138
|
+
"type": {
|
|
2139
|
+
"kind": "event",
|
|
2140
|
+
"payload": "event: G9CalendarEvent"
|
|
2141
|
+
},
|
|
2142
|
+
"required": false,
|
|
2143
|
+
"serializable": false,
|
|
2144
|
+
"role": "event"
|
|
2145
|
+
},
|
|
2146
|
+
{
|
|
2147
|
+
"name": "perDay",
|
|
2148
|
+
"type": {
|
|
2149
|
+
"kind": "number"
|
|
2150
|
+
},
|
|
2151
|
+
"required": false,
|
|
2152
|
+
"serializable": true,
|
|
2153
|
+
"role": "behaviour",
|
|
2154
|
+
"doc": "Lanes drawn per day before «+n». Default: as many as the row's height holds."
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
"name": "secondCalendar",
|
|
2158
|
+
"type": {
|
|
2159
|
+
"kind": "enum",
|
|
2160
|
+
"values": [
|
|
2161
|
+
"gregorian",
|
|
2162
|
+
"persian",
|
|
2163
|
+
"none",
|
|
2164
|
+
"auto"
|
|
2165
|
+
]
|
|
2166
|
+
},
|
|
2167
|
+
"required": false,
|
|
2168
|
+
"default": "none",
|
|
2169
|
+
"serializable": true,
|
|
2170
|
+
"role": "behaviour",
|
|
2171
|
+
"doc": "The other calendar's date beside each number (`'auto'`: Gregorian under Persian and back). Default `'none'`."
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
"name": "selected",
|
|
2175
|
+
"type": {
|
|
2176
|
+
"kind": "object",
|
|
2177
|
+
"fields": [
|
|
2178
|
+
{
|
|
2179
|
+
"name": "year",
|
|
2180
|
+
"required": true,
|
|
2181
|
+
"type": {
|
|
2182
|
+
"kind": "number"
|
|
2183
|
+
},
|
|
2184
|
+
"serializable": true
|
|
2185
|
+
},
|
|
2186
|
+
{
|
|
2187
|
+
"name": "month",
|
|
2188
|
+
"required": true,
|
|
2189
|
+
"type": {
|
|
2190
|
+
"kind": "number"
|
|
2191
|
+
},
|
|
2192
|
+
"serializable": true
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"name": "day",
|
|
2196
|
+
"required": true,
|
|
2197
|
+
"type": {
|
|
2198
|
+
"kind": "number"
|
|
2199
|
+
},
|
|
2200
|
+
"serializable": true
|
|
2201
|
+
}
|
|
2202
|
+
]
|
|
2203
|
+
},
|
|
2204
|
+
"required": false,
|
|
2205
|
+
"serializable": true,
|
|
2206
|
+
"role": "state"
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"name": "today",
|
|
2210
|
+
"type": {
|
|
2211
|
+
"kind": "object",
|
|
2212
|
+
"fields": [
|
|
2213
|
+
{
|
|
2214
|
+
"name": "year",
|
|
2215
|
+
"required": true,
|
|
2216
|
+
"type": {
|
|
2217
|
+
"kind": "number"
|
|
2218
|
+
},
|
|
2219
|
+
"serializable": true
|
|
2220
|
+
},
|
|
2221
|
+
{
|
|
2222
|
+
"name": "month",
|
|
2223
|
+
"required": true,
|
|
2224
|
+
"type": {
|
|
2225
|
+
"kind": "number"
|
|
2226
|
+
},
|
|
2227
|
+
"serializable": true
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
"name": "day",
|
|
2231
|
+
"required": true,
|
|
2232
|
+
"type": {
|
|
2233
|
+
"kind": "number"
|
|
2234
|
+
},
|
|
2235
|
+
"serializable": true
|
|
2236
|
+
}
|
|
2237
|
+
]
|
|
2238
|
+
},
|
|
2239
|
+
"required": true,
|
|
2240
|
+
"serializable": true,
|
|
2241
|
+
"role": "behaviour"
|
|
2242
|
+
},
|
|
2243
|
+
{
|
|
2244
|
+
"name": "weekend",
|
|
2245
|
+
"type": {
|
|
2246
|
+
"kind": "array",
|
|
2247
|
+
"items": {
|
|
2248
|
+
"kind": "number"
|
|
2249
|
+
}
|
|
2250
|
+
},
|
|
2251
|
+
"required": false,
|
|
2252
|
+
"serializable": true,
|
|
2253
|
+
"role": "behaviour",
|
|
2254
|
+
"doc": "Weekend weekdays (0 Sunday … 6 Saturday), shaded and their numbers red. Default Friday in Persian, else Sat–Sun."
|
|
2255
|
+
}
|
|
2256
|
+
],
|
|
2257
|
+
"anchor": null,
|
|
2258
|
+
"accessibility": {
|
|
2259
|
+
"labelFrom": [],
|
|
2260
|
+
"labelRequired": false
|
|
2261
|
+
},
|
|
2262
|
+
"targets": {
|
|
2263
|
+
"android": "unmeasured",
|
|
2264
|
+
"ios": "unmeasured",
|
|
2265
|
+
"windows": "unmeasured",
|
|
2266
|
+
"macos": "unmeasured",
|
|
2267
|
+
"web": "verified"
|
|
2268
|
+
},
|
|
2269
|
+
"evidence": {
|
|
2270
|
+
"ledger": [
|
|
2271
|
+
"N-126"
|
|
2272
|
+
]
|
|
2273
|
+
},
|
|
2274
|
+
"tokens": [],
|
|
2275
|
+
"example": {
|
|
2276
|
+
"line": "<G9MonthView events={events} month={month} today={today} />",
|
|
2277
|
+
"from": "generated"
|
|
2278
|
+
}
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
"id": "calendar.calendar.G9RepeatPicker",
|
|
2282
|
+
"export": "G9RepeatPicker",
|
|
2283
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
2284
|
+
"kind": "component",
|
|
2285
|
+
"family": "calendar",
|
|
2286
|
+
"summary": "Never / daily / weekly / … : the presets from the start date and a full custom editor, or the plain frequency row.",
|
|
2287
|
+
"since": null,
|
|
2288
|
+
"props": [
|
|
2289
|
+
{
|
|
2290
|
+
"name": "editorLabels",
|
|
2291
|
+
"type": {
|
|
2292
|
+
"kind": "object",
|
|
2293
|
+
"fields": [
|
|
2294
|
+
{
|
|
2295
|
+
"name": "every",
|
|
2296
|
+
"required": false,
|
|
2297
|
+
"type": {
|
|
2298
|
+
"kind": "string"
|
|
2299
|
+
},
|
|
2300
|
+
"serializable": true
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"name": "unitDaily",
|
|
2304
|
+
"required": false,
|
|
2305
|
+
"type": {
|
|
2306
|
+
"kind": "string"
|
|
2307
|
+
},
|
|
2308
|
+
"serializable": true
|
|
2309
|
+
},
|
|
2310
|
+
{
|
|
2311
|
+
"name": "unitWeekly",
|
|
2312
|
+
"required": false,
|
|
2313
|
+
"type": {
|
|
2314
|
+
"kind": "string"
|
|
2315
|
+
},
|
|
2316
|
+
"serializable": true
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"name": "unitMonthly",
|
|
2320
|
+
"required": false,
|
|
2321
|
+
"type": {
|
|
2322
|
+
"kind": "string"
|
|
2323
|
+
},
|
|
2324
|
+
"serializable": true
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"name": "unitYearly",
|
|
2328
|
+
"required": false,
|
|
2329
|
+
"type": {
|
|
2330
|
+
"kind": "string"
|
|
2331
|
+
},
|
|
2332
|
+
"serializable": true
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"name": "byDate",
|
|
2336
|
+
"required": false,
|
|
2337
|
+
"type": {
|
|
2338
|
+
"kind": "string"
|
|
2339
|
+
},
|
|
2340
|
+
"serializable": true
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"name": "byWeekday",
|
|
2344
|
+
"required": false,
|
|
2345
|
+
"type": {
|
|
2346
|
+
"kind": "string"
|
|
2347
|
+
},
|
|
2348
|
+
"serializable": true
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"name": "persian",
|
|
2352
|
+
"required": false,
|
|
2353
|
+
"type": {
|
|
2354
|
+
"kind": "string"
|
|
2355
|
+
},
|
|
2356
|
+
"serializable": true
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
"name": "gregorian",
|
|
2360
|
+
"required": false,
|
|
2361
|
+
"type": {
|
|
2362
|
+
"kind": "string"
|
|
2363
|
+
},
|
|
2364
|
+
"serializable": true
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"name": "ends",
|
|
2368
|
+
"required": false,
|
|
2369
|
+
"type": {
|
|
2370
|
+
"kind": "string"
|
|
2371
|
+
},
|
|
2372
|
+
"serializable": true
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"name": "never",
|
|
2376
|
+
"required": false,
|
|
2377
|
+
"type": {
|
|
2378
|
+
"kind": "string"
|
|
2379
|
+
},
|
|
2380
|
+
"serializable": true
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
"name": "onDate",
|
|
2384
|
+
"required": false,
|
|
2385
|
+
"type": {
|
|
2386
|
+
"kind": "string"
|
|
2387
|
+
},
|
|
2388
|
+
"serializable": true
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"name": "after",
|
|
2392
|
+
"required": false,
|
|
2393
|
+
"type": {
|
|
2394
|
+
"kind": "string"
|
|
2395
|
+
},
|
|
2396
|
+
"serializable": true
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
"name": "untilLabel",
|
|
2400
|
+
"required": false,
|
|
2401
|
+
"type": {
|
|
2402
|
+
"kind": "string"
|
|
2403
|
+
},
|
|
2404
|
+
"serializable": true
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
"name": "times",
|
|
2408
|
+
"required": false,
|
|
2409
|
+
"type": {
|
|
2410
|
+
"kind": "string"
|
|
2411
|
+
},
|
|
2412
|
+
"serializable": true
|
|
2413
|
+
}
|
|
2414
|
+
]
|
|
2415
|
+
},
|
|
2416
|
+
"required": false,
|
|
2417
|
+
"serializable": true,
|
|
2418
|
+
"role": "behaviour",
|
|
2419
|
+
"doc": "The custom editor's words."
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
"name": "id",
|
|
2423
|
+
"type": {
|
|
2424
|
+
"kind": "string"
|
|
2425
|
+
},
|
|
2426
|
+
"required": false,
|
|
2427
|
+
"serializable": true,
|
|
2428
|
+
"role": "identity"
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"name": "labels",
|
|
2432
|
+
"type": {
|
|
2433
|
+
"kind": "object",
|
|
2434
|
+
"fields": [
|
|
2435
|
+
{
|
|
2436
|
+
"name": "never",
|
|
2437
|
+
"required": true,
|
|
2438
|
+
"type": {
|
|
2439
|
+
"kind": "string"
|
|
2440
|
+
},
|
|
2441
|
+
"serializable": true
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"name": "daily",
|
|
2445
|
+
"required": true,
|
|
2446
|
+
"type": {
|
|
2447
|
+
"kind": "string"
|
|
2448
|
+
},
|
|
2449
|
+
"serializable": true
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"name": "weekly",
|
|
2453
|
+
"required": true,
|
|
2454
|
+
"type": {
|
|
2455
|
+
"kind": "string"
|
|
2456
|
+
},
|
|
2457
|
+
"serializable": true
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"name": "monthly",
|
|
2461
|
+
"required": true,
|
|
2462
|
+
"type": {
|
|
2463
|
+
"kind": "string"
|
|
2464
|
+
},
|
|
2465
|
+
"serializable": true
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"name": "yearly",
|
|
2469
|
+
"required": true,
|
|
2470
|
+
"type": {
|
|
2471
|
+
"kind": "string"
|
|
2472
|
+
},
|
|
2473
|
+
"serializable": true
|
|
2474
|
+
}
|
|
2475
|
+
]
|
|
2476
|
+
},
|
|
2477
|
+
"required": true,
|
|
2478
|
+
"serializable": true,
|
|
2479
|
+
"role": "behaviour",
|
|
2480
|
+
"doc": "The plain picker's frequency names (used when there is no `start`)."
|
|
2481
|
+
},
|
|
2482
|
+
{
|
|
2483
|
+
"name": "onChange",
|
|
2484
|
+
"type": {
|
|
2485
|
+
"kind": "event",
|
|
2486
|
+
"payload": "rule: G9Recurrence | null"
|
|
2487
|
+
},
|
|
2488
|
+
"required": true,
|
|
2489
|
+
"serializable": false,
|
|
2490
|
+
"role": "event"
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"name": "presets",
|
|
2494
|
+
"type": {
|
|
2495
|
+
"kind": "array",
|
|
2496
|
+
"items": {
|
|
2497
|
+
"kind": "enum",
|
|
2498
|
+
"values": [
|
|
2499
|
+
"none",
|
|
2500
|
+
"daily",
|
|
2501
|
+
"weekly",
|
|
2502
|
+
"workdays",
|
|
2503
|
+
"monthlyDate",
|
|
2504
|
+
"monthlyWeekday",
|
|
2505
|
+
"yearly",
|
|
2506
|
+
"custom"
|
|
2507
|
+
]
|
|
2508
|
+
}
|
|
2509
|
+
},
|
|
2510
|
+
"required": false,
|
|
2511
|
+
"serializable": true,
|
|
2512
|
+
"role": "behaviour",
|
|
2513
|
+
"doc": "Which presets are offered, in order. Default all."
|
|
2514
|
+
},
|
|
2515
|
+
{
|
|
2516
|
+
"name": "start",
|
|
2517
|
+
"type": {
|
|
2518
|
+
"kind": "object",
|
|
2519
|
+
"fields": [
|
|
2520
|
+
{
|
|
2521
|
+
"name": "year",
|
|
2522
|
+
"required": true,
|
|
2523
|
+
"type": {
|
|
2524
|
+
"kind": "number"
|
|
2525
|
+
},
|
|
2526
|
+
"serializable": true
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"name": "month",
|
|
2530
|
+
"required": true,
|
|
2531
|
+
"type": {
|
|
2532
|
+
"kind": "number"
|
|
2533
|
+
},
|
|
2534
|
+
"serializable": true
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"name": "day",
|
|
2538
|
+
"required": true,
|
|
2539
|
+
"type": {
|
|
2540
|
+
"kind": "number"
|
|
2541
|
+
},
|
|
2542
|
+
"serializable": true
|
|
2543
|
+
}
|
|
2544
|
+
]
|
|
2545
|
+
},
|
|
2546
|
+
"required": false,
|
|
2547
|
+
"serializable": true,
|
|
2548
|
+
"role": "behaviour",
|
|
2549
|
+
"doc": "The event's first day: the presets are worded from it («every year on 15 Mehr»; 2.5.8)."
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"name": "value",
|
|
2553
|
+
"type": {
|
|
2554
|
+
"kind": "object",
|
|
2555
|
+
"fields": [
|
|
2556
|
+
{
|
|
2557
|
+
"name": "freq",
|
|
2558
|
+
"required": true,
|
|
2559
|
+
"type": {
|
|
2560
|
+
"kind": "enum",
|
|
2561
|
+
"values": [
|
|
2562
|
+
"daily",
|
|
2563
|
+
"weekly",
|
|
2564
|
+
"yearly",
|
|
2565
|
+
"monthly"
|
|
2566
|
+
]
|
|
2567
|
+
},
|
|
2568
|
+
"serializable": true
|
|
2569
|
+
},
|
|
2570
|
+
{
|
|
2571
|
+
"name": "interval",
|
|
2572
|
+
"required": false,
|
|
2573
|
+
"type": {
|
|
2574
|
+
"kind": "number"
|
|
2575
|
+
},
|
|
2576
|
+
"serializable": true
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
"name": "weekdays",
|
|
2580
|
+
"required": false,
|
|
2581
|
+
"type": {
|
|
2582
|
+
"kind": "array",
|
|
2583
|
+
"items": {
|
|
2584
|
+
"kind": "number"
|
|
2585
|
+
}
|
|
2586
|
+
},
|
|
2587
|
+
"serializable": true
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
"name": "until",
|
|
2591
|
+
"required": false,
|
|
2592
|
+
"type": {
|
|
2593
|
+
"kind": "object",
|
|
2594
|
+
"fields": [
|
|
2595
|
+
{
|
|
2596
|
+
"name": "year",
|
|
2597
|
+
"required": true,
|
|
2598
|
+
"type": {
|
|
2599
|
+
"kind": "number"
|
|
2600
|
+
},
|
|
2601
|
+
"serializable": true
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"name": "month",
|
|
2605
|
+
"required": true,
|
|
2606
|
+
"type": {
|
|
2607
|
+
"kind": "number"
|
|
2608
|
+
},
|
|
2609
|
+
"serializable": true
|
|
2610
|
+
},
|
|
2611
|
+
{
|
|
2612
|
+
"name": "day",
|
|
2613
|
+
"required": true,
|
|
2614
|
+
"type": {
|
|
2615
|
+
"kind": "number"
|
|
2616
|
+
},
|
|
2617
|
+
"serializable": true
|
|
2618
|
+
}
|
|
2619
|
+
]
|
|
2620
|
+
},
|
|
2621
|
+
"serializable": true
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
"name": "count",
|
|
2625
|
+
"required": false,
|
|
2626
|
+
"type": {
|
|
2627
|
+
"kind": "number"
|
|
2628
|
+
},
|
|
2629
|
+
"serializable": true
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
"name": "weekOfMonth",
|
|
2633
|
+
"required": false,
|
|
2634
|
+
"type": {
|
|
2635
|
+
"kind": "enum",
|
|
2636
|
+
"values": [
|
|
2637
|
+
1,
|
|
2638
|
+
2,
|
|
2639
|
+
3,
|
|
2640
|
+
4,
|
|
2641
|
+
-1
|
|
2642
|
+
]
|
|
2643
|
+
},
|
|
2644
|
+
"serializable": true
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
"name": "calendar",
|
|
2648
|
+
"required": false,
|
|
2649
|
+
"type": {
|
|
2650
|
+
"kind": "enum",
|
|
2651
|
+
"values": [
|
|
2652
|
+
"gregorian",
|
|
2653
|
+
"persian"
|
|
2654
|
+
]
|
|
2655
|
+
},
|
|
2656
|
+
"serializable": true
|
|
2657
|
+
}
|
|
2658
|
+
]
|
|
799
2659
|
},
|
|
800
2660
|
"required": true,
|
|
801
2661
|
"serializable": true,
|
|
802
2662
|
"role": "state"
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"name": "words",
|
|
2666
|
+
"type": {
|
|
2667
|
+
"kind": "object",
|
|
2668
|
+
"fields": [
|
|
2669
|
+
{
|
|
2670
|
+
"name": "none",
|
|
2671
|
+
"required": true,
|
|
2672
|
+
"type": {
|
|
2673
|
+
"kind": "string"
|
|
2674
|
+
},
|
|
2675
|
+
"serializable": true
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
"name": "custom",
|
|
2679
|
+
"required": true,
|
|
2680
|
+
"type": {
|
|
2681
|
+
"kind": "string"
|
|
2682
|
+
},
|
|
2683
|
+
"serializable": true
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"name": "daily",
|
|
2687
|
+
"required": true,
|
|
2688
|
+
"type": {
|
|
2689
|
+
"kind": "object",
|
|
2690
|
+
"name": "G9Plural"
|
|
2691
|
+
},
|
|
2692
|
+
"serializable": false
|
|
2693
|
+
},
|
|
2694
|
+
{
|
|
2695
|
+
"name": "weekly",
|
|
2696
|
+
"required": true,
|
|
2697
|
+
"type": {
|
|
2698
|
+
"kind": "object",
|
|
2699
|
+
"name": "G9Plural"
|
|
2700
|
+
},
|
|
2701
|
+
"serializable": false
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"name": "workdays",
|
|
2705
|
+
"required": true,
|
|
2706
|
+
"type": {
|
|
2707
|
+
"kind": "string"
|
|
2708
|
+
},
|
|
2709
|
+
"serializable": true
|
|
2710
|
+
},
|
|
2711
|
+
{
|
|
2712
|
+
"name": "monthlyDate",
|
|
2713
|
+
"required": true,
|
|
2714
|
+
"type": {
|
|
2715
|
+
"kind": "object",
|
|
2716
|
+
"name": "G9Plural"
|
|
2717
|
+
},
|
|
2718
|
+
"serializable": false
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
"name": "monthlyWeekday",
|
|
2722
|
+
"required": true,
|
|
2723
|
+
"type": {
|
|
2724
|
+
"kind": "object",
|
|
2725
|
+
"name": "G9Plural"
|
|
2726
|
+
},
|
|
2727
|
+
"serializable": false
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"name": "yearlyDate",
|
|
2731
|
+
"required": true,
|
|
2732
|
+
"type": {
|
|
2733
|
+
"kind": "object",
|
|
2734
|
+
"name": "G9Plural"
|
|
2735
|
+
},
|
|
2736
|
+
"serializable": false
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
"name": "yearlyWeekday",
|
|
2740
|
+
"required": true,
|
|
2741
|
+
"type": {
|
|
2742
|
+
"kind": "object",
|
|
2743
|
+
"name": "G9Plural"
|
|
2744
|
+
},
|
|
2745
|
+
"serializable": false
|
|
2746
|
+
},
|
|
2747
|
+
{
|
|
2748
|
+
"name": "until",
|
|
2749
|
+
"required": true,
|
|
2750
|
+
"type": {
|
|
2751
|
+
"kind": "string"
|
|
2752
|
+
},
|
|
2753
|
+
"serializable": true
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
"name": "count",
|
|
2757
|
+
"required": true,
|
|
2758
|
+
"type": {
|
|
2759
|
+
"kind": "object",
|
|
2760
|
+
"name": "G9Plural"
|
|
2761
|
+
},
|
|
2762
|
+
"serializable": false
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
"name": "ordinals",
|
|
2766
|
+
"required": true,
|
|
2767
|
+
"type": {
|
|
2768
|
+
"kind": "array",
|
|
2769
|
+
"items": {
|
|
2770
|
+
"kind": "string"
|
|
2771
|
+
}
|
|
2772
|
+
},
|
|
2773
|
+
"serializable": true
|
|
2774
|
+
},
|
|
2775
|
+
{
|
|
2776
|
+
"name": "listSeparator",
|
|
2777
|
+
"required": true,
|
|
2778
|
+
"type": {
|
|
2779
|
+
"kind": "string"
|
|
2780
|
+
},
|
|
2781
|
+
"serializable": true
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"name": "listLast",
|
|
2785
|
+
"required": true,
|
|
2786
|
+
"type": {
|
|
2787
|
+
"kind": "string"
|
|
2788
|
+
},
|
|
2789
|
+
"serializable": true
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"name": "inPersian",
|
|
2793
|
+
"required": true,
|
|
2794
|
+
"type": {
|
|
2795
|
+
"kind": "string"
|
|
2796
|
+
},
|
|
2797
|
+
"serializable": true
|
|
2798
|
+
},
|
|
2799
|
+
{
|
|
2800
|
+
"name": "inGregorian",
|
|
2801
|
+
"required": true,
|
|
2802
|
+
"type": {
|
|
2803
|
+
"kind": "string"
|
|
2804
|
+
},
|
|
2805
|
+
"serializable": true
|
|
2806
|
+
}
|
|
2807
|
+
]
|
|
2808
|
+
},
|
|
2809
|
+
"required": false,
|
|
2810
|
+
"serializable": false,
|
|
2811
|
+
"role": "behaviour",
|
|
2812
|
+
"doc": "The sentences (default the culture's Persian or English)."
|
|
803
2813
|
}
|
|
804
2814
|
],
|
|
805
2815
|
"anchor": null,
|
|
@@ -819,34 +2829,51 @@
|
|
|
819
2829
|
"N-126"
|
|
820
2830
|
]
|
|
821
2831
|
},
|
|
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
|
-
],
|
|
2832
|
+
"tokens": [],
|
|
836
2833
|
"example": {
|
|
837
|
-
"line": "<
|
|
2834
|
+
"line": "<G9RepeatPicker labels={labels} onChange={() => {}} value={value} />",
|
|
838
2835
|
"from": "generated"
|
|
839
2836
|
}
|
|
840
2837
|
},
|
|
841
2838
|
{
|
|
842
|
-
"id": "calendar.calendar.
|
|
843
|
-
"export": "
|
|
2839
|
+
"id": "calendar.calendar.G9TimeGrid",
|
|
2840
|
+
"export": "G9TimeGrid",
|
|
844
2841
|
"from": "@g9tm/lynxcontrols-calendar",
|
|
845
2842
|
"kind": "component",
|
|
846
2843
|
"family": "calendar",
|
|
847
|
-
"summary": "
|
|
2844
|
+
"summary": "The hours with overlap lanes, the all-day row and the gestures.",
|
|
848
2845
|
"since": null,
|
|
849
2846
|
"props": [
|
|
2847
|
+
{
|
|
2848
|
+
"name": "allDayText",
|
|
2849
|
+
"type": {
|
|
2850
|
+
"kind": "string"
|
|
2851
|
+
},
|
|
2852
|
+
"required": false,
|
|
2853
|
+
"serializable": true,
|
|
2854
|
+
"role": "content",
|
|
2855
|
+
"doc": "The all-day row's label."
|
|
2856
|
+
},
|
|
2857
|
+
{
|
|
2858
|
+
"name": "dayOff",
|
|
2859
|
+
"type": {
|
|
2860
|
+
"kind": "event",
|
|
2861
|
+
"payload": "date: G9LocalDate",
|
|
2862
|
+
"returns": "boolean"
|
|
2863
|
+
},
|
|
2864
|
+
"required": false,
|
|
2865
|
+
"serializable": false,
|
|
2866
|
+
"role": "event"
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
"name": "days",
|
|
2870
|
+
"type": {
|
|
2871
|
+
"kind": "number"
|
|
2872
|
+
},
|
|
2873
|
+
"required": false,
|
|
2874
|
+
"serializable": true,
|
|
2875
|
+
"role": "behaviour"
|
|
2876
|
+
},
|
|
850
2877
|
{
|
|
851
2878
|
"name": "events",
|
|
852
2879
|
"type": {
|
|
@@ -860,46 +2887,101 @@
|
|
|
860
2887
|
"type": {
|
|
861
2888
|
"kind": "string"
|
|
862
2889
|
},
|
|
863
|
-
"serializable": true
|
|
2890
|
+
"serializable": true
|
|
2891
|
+
},
|
|
2892
|
+
{
|
|
2893
|
+
"name": "title",
|
|
2894
|
+
"required": true,
|
|
2895
|
+
"type": {
|
|
2896
|
+
"kind": "string"
|
|
2897
|
+
},
|
|
2898
|
+
"serializable": true
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
"name": "date",
|
|
2902
|
+
"required": true,
|
|
2903
|
+
"type": {
|
|
2904
|
+
"kind": "unknown",
|
|
2905
|
+
"text": "G9LocalDate"
|
|
2906
|
+
},
|
|
2907
|
+
"serializable": false
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
"name": "start",
|
|
2911
|
+
"required": false,
|
|
2912
|
+
"type": {
|
|
2913
|
+
"kind": "number"
|
|
2914
|
+
},
|
|
2915
|
+
"serializable": true
|
|
2916
|
+
},
|
|
2917
|
+
{
|
|
2918
|
+
"name": "end",
|
|
2919
|
+
"required": false,
|
|
2920
|
+
"type": {
|
|
2921
|
+
"kind": "number"
|
|
2922
|
+
},
|
|
2923
|
+
"serializable": true
|
|
2924
|
+
},
|
|
2925
|
+
{
|
|
2926
|
+
"name": "color",
|
|
2927
|
+
"required": false,
|
|
2928
|
+
"type": {
|
|
2929
|
+
"kind": "color"
|
|
2930
|
+
},
|
|
2931
|
+
"serializable": true
|
|
2932
|
+
},
|
|
2933
|
+
{
|
|
2934
|
+
"name": "endDate",
|
|
2935
|
+
"required": false,
|
|
2936
|
+
"type": {
|
|
2937
|
+
"kind": "unknown",
|
|
2938
|
+
"text": "G9LocalDate"
|
|
2939
|
+
},
|
|
2940
|
+
"serializable": false
|
|
864
2941
|
},
|
|
865
2942
|
{
|
|
866
|
-
"name": "
|
|
867
|
-
"required":
|
|
2943
|
+
"name": "location",
|
|
2944
|
+
"required": false,
|
|
868
2945
|
"type": {
|
|
869
2946
|
"kind": "string"
|
|
870
2947
|
},
|
|
871
2948
|
"serializable": true
|
|
872
2949
|
},
|
|
873
2950
|
{
|
|
874
|
-
"name": "
|
|
875
|
-
"required":
|
|
2951
|
+
"name": "kind",
|
|
2952
|
+
"required": false,
|
|
876
2953
|
"type": {
|
|
877
|
-
"kind": "
|
|
878
|
-
"text": "G9LocalDate"
|
|
2954
|
+
"kind": "string"
|
|
879
2955
|
},
|
|
880
|
-
"serializable":
|
|
2956
|
+
"serializable": true
|
|
881
2957
|
},
|
|
882
2958
|
{
|
|
883
|
-
"name": "
|
|
2959
|
+
"name": "dayOff",
|
|
884
2960
|
"required": false,
|
|
885
2961
|
"type": {
|
|
886
|
-
"kind": "
|
|
2962
|
+
"kind": "boolean"
|
|
887
2963
|
},
|
|
888
2964
|
"serializable": true
|
|
889
2965
|
},
|
|
890
2966
|
{
|
|
891
|
-
"name": "
|
|
2967
|
+
"name": "rsvp",
|
|
892
2968
|
"required": false,
|
|
893
2969
|
"type": {
|
|
894
|
-
"kind": "
|
|
2970
|
+
"kind": "enum",
|
|
2971
|
+
"values": [
|
|
2972
|
+
"accepted",
|
|
2973
|
+
"tentative",
|
|
2974
|
+
"declined",
|
|
2975
|
+
"pending"
|
|
2976
|
+
]
|
|
895
2977
|
},
|
|
896
2978
|
"serializable": true
|
|
897
2979
|
},
|
|
898
2980
|
{
|
|
899
|
-
"name": "
|
|
2981
|
+
"name": "canEdit",
|
|
900
2982
|
"required": false,
|
|
901
2983
|
"type": {
|
|
902
|
-
"kind": "
|
|
2984
|
+
"kind": "boolean"
|
|
903
2985
|
},
|
|
904
2986
|
"serializable": true
|
|
905
2987
|
}
|
|
@@ -910,6 +2992,24 @@
|
|
|
910
2992
|
"serializable": false,
|
|
911
2993
|
"role": "behaviour"
|
|
912
2994
|
},
|
|
2995
|
+
{
|
|
2996
|
+
"name": "fromHour",
|
|
2997
|
+
"type": {
|
|
2998
|
+
"kind": "number"
|
|
2999
|
+
},
|
|
3000
|
+
"required": false,
|
|
3001
|
+
"serializable": true,
|
|
3002
|
+
"role": "behaviour"
|
|
3003
|
+
},
|
|
3004
|
+
{
|
|
3005
|
+
"name": "hourHeight",
|
|
3006
|
+
"type": {
|
|
3007
|
+
"kind": "number"
|
|
3008
|
+
},
|
|
3009
|
+
"required": false,
|
|
3010
|
+
"serializable": true,
|
|
3011
|
+
"role": "appearance"
|
|
3012
|
+
},
|
|
913
3013
|
{
|
|
914
3014
|
"name": "id",
|
|
915
3015
|
"type": {
|
|
@@ -920,49 +3020,84 @@
|
|
|
920
3020
|
"role": "identity"
|
|
921
3021
|
},
|
|
922
3022
|
{
|
|
923
|
-
"name": "
|
|
3023
|
+
"name": "initialScroll",
|
|
924
3024
|
"type": {
|
|
925
|
-
"kind": "
|
|
926
|
-
"
|
|
3025
|
+
"kind": "union",
|
|
3026
|
+
"of": [
|
|
927
3027
|
{
|
|
928
|
-
"
|
|
929
|
-
"required": true,
|
|
930
|
-
"type": {
|
|
931
|
-
"kind": "number"
|
|
932
|
-
},
|
|
933
|
-
"serializable": true
|
|
3028
|
+
"kind": "number"
|
|
934
3029
|
},
|
|
935
3030
|
{
|
|
936
|
-
"
|
|
937
|
-
"required": true,
|
|
938
|
-
"type": {
|
|
939
|
-
"kind": "number"
|
|
940
|
-
},
|
|
941
|
-
"serializable": true
|
|
3031
|
+
"kind": "boolean"
|
|
942
3032
|
},
|
|
943
3033
|
{
|
|
944
|
-
"
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
},
|
|
949
|
-
"serializable": true
|
|
3034
|
+
"kind": "string"
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"kind": "string"
|
|
950
3038
|
}
|
|
951
3039
|
]
|
|
952
3040
|
},
|
|
953
|
-
"required":
|
|
3041
|
+
"required": false,
|
|
954
3042
|
"serializable": true,
|
|
955
|
-
"role": "behaviour"
|
|
3043
|
+
"role": "behaviour",
|
|
3044
|
+
"doc": "Where the hours open: `'now'` (default; the working morning, 07:30, off today), `'morning'`, minutes, or `false`."
|
|
956
3045
|
},
|
|
957
3046
|
{
|
|
958
|
-
"name": "
|
|
3047
|
+
"name": "moreText",
|
|
3048
|
+
"type": {
|
|
3049
|
+
"kind": "event",
|
|
3050
|
+
"payload": "n: number",
|
|
3051
|
+
"returns": "string"
|
|
3052
|
+
},
|
|
3053
|
+
"required": false,
|
|
3054
|
+
"default": "+n",
|
|
3055
|
+
"serializable": false,
|
|
3056
|
+
"role": "event",
|
|
3057
|
+
"doc": "«+n» in the all-day row. Default `+n`."
|
|
3058
|
+
},
|
|
3059
|
+
{
|
|
3060
|
+
"name": "now",
|
|
3061
|
+
"type": {
|
|
3062
|
+
"kind": "number"
|
|
3063
|
+
},
|
|
3064
|
+
"required": false,
|
|
3065
|
+
"serializable": true,
|
|
3066
|
+
"role": "behaviour",
|
|
3067
|
+
"doc": "The current time line (minutes from midnight), on today's column."
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
"name": "onCreate",
|
|
3071
|
+
"type": {
|
|
3072
|
+
"kind": "event",
|
|
3073
|
+
"payload": "draft: G9TimeDraft"
|
|
3074
|
+
},
|
|
3075
|
+
"required": false,
|
|
3076
|
+
"serializable": false,
|
|
3077
|
+
"role": "event",
|
|
3078
|
+
"doc": "A new event from a drag on empty time (or a tap there, without `onSelectSlot`; 2.5.8)."
|
|
3079
|
+
},
|
|
3080
|
+
{
|
|
3081
|
+
"name": "onMove",
|
|
3082
|
+
"type": {
|
|
3083
|
+
"kind": "event",
|
|
3084
|
+
"payload": "event: G9CalendarEvent, draft: G9TimeDraft"
|
|
3085
|
+
},
|
|
3086
|
+
"required": false,
|
|
3087
|
+
"serializable": false,
|
|
3088
|
+
"role": "event",
|
|
3089
|
+
"doc": "A `canEdit` event moved or resized."
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"name": "onOpenDay",
|
|
959
3093
|
"type": {
|
|
960
3094
|
"kind": "event",
|
|
961
3095
|
"payload": "date: G9LocalDate"
|
|
962
3096
|
},
|
|
963
3097
|
"required": false,
|
|
964
3098
|
"serializable": false,
|
|
965
|
-
"role": "event"
|
|
3099
|
+
"role": "event",
|
|
3100
|
+
"doc": "A tap on a day's header (the day view)."
|
|
966
3101
|
},
|
|
967
3102
|
{
|
|
968
3103
|
"name": "onSelectEvent",
|
|
@@ -975,15 +3110,78 @@
|
|
|
975
3110
|
"role": "event"
|
|
976
3111
|
},
|
|
977
3112
|
{
|
|
978
|
-
"name": "
|
|
3113
|
+
"name": "onSelectSlot",
|
|
3114
|
+
"type": {
|
|
3115
|
+
"kind": "event",
|
|
3116
|
+
"payload": "date: G9LocalDate, minutes: number"
|
|
3117
|
+
},
|
|
3118
|
+
"required": false,
|
|
3119
|
+
"serializable": false,
|
|
3120
|
+
"role": "event",
|
|
3121
|
+
"doc": "A tap on empty time: the day and the quarter hour under it."
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"name": "paddingEnd",
|
|
979
3125
|
"type": {
|
|
980
3126
|
"kind": "number"
|
|
981
3127
|
},
|
|
982
3128
|
"required": false,
|
|
983
|
-
"default": 2,
|
|
984
3129
|
"serializable": true,
|
|
985
3130
|
"role": "behaviour",
|
|
986
|
-
"doc": "
|
|
3131
|
+
"doc": "Room kept free under the hours (a tab bar)."
|
|
3132
|
+
},
|
|
3133
|
+
{
|
|
3134
|
+
"name": "secondCalendar",
|
|
3135
|
+
"type": {
|
|
3136
|
+
"kind": "enum",
|
|
3137
|
+
"values": [
|
|
3138
|
+
"gregorian",
|
|
3139
|
+
"persian",
|
|
3140
|
+
"none",
|
|
3141
|
+
"auto"
|
|
3142
|
+
]
|
|
3143
|
+
},
|
|
3144
|
+
"required": false,
|
|
3145
|
+
"default": "none",
|
|
3146
|
+
"serializable": true,
|
|
3147
|
+
"role": "behaviour",
|
|
3148
|
+
"doc": "The other calendar's date in the headers. Default `'none'`."
|
|
3149
|
+
},
|
|
3150
|
+
{
|
|
3151
|
+
"name": "start",
|
|
3152
|
+
"type": {
|
|
3153
|
+
"kind": "object",
|
|
3154
|
+
"fields": [
|
|
3155
|
+
{
|
|
3156
|
+
"name": "year",
|
|
3157
|
+
"required": true,
|
|
3158
|
+
"type": {
|
|
3159
|
+
"kind": "number"
|
|
3160
|
+
},
|
|
3161
|
+
"serializable": true
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"name": "month",
|
|
3165
|
+
"required": true,
|
|
3166
|
+
"type": {
|
|
3167
|
+
"kind": "number"
|
|
3168
|
+
},
|
|
3169
|
+
"serializable": true
|
|
3170
|
+
},
|
|
3171
|
+
{
|
|
3172
|
+
"name": "day",
|
|
3173
|
+
"required": true,
|
|
3174
|
+
"type": {
|
|
3175
|
+
"kind": "number"
|
|
3176
|
+
},
|
|
3177
|
+
"serializable": true
|
|
3178
|
+
}
|
|
3179
|
+
]
|
|
3180
|
+
},
|
|
3181
|
+
"required": true,
|
|
3182
|
+
"serializable": true,
|
|
3183
|
+
"role": "behaviour",
|
|
3184
|
+
"doc": "The first day and how many (1 = day view, 3, 7 = week)."
|
|
987
3185
|
},
|
|
988
3186
|
{
|
|
989
3187
|
"name": "today",
|
|
@@ -1019,6 +3217,28 @@
|
|
|
1019
3217
|
"required": true,
|
|
1020
3218
|
"serializable": true,
|
|
1021
3219
|
"role": "behaviour"
|
|
3220
|
+
},
|
|
3221
|
+
{
|
|
3222
|
+
"name": "toHour",
|
|
3223
|
+
"type": {
|
|
3224
|
+
"kind": "number"
|
|
3225
|
+
},
|
|
3226
|
+
"required": false,
|
|
3227
|
+
"serializable": true,
|
|
3228
|
+
"role": "behaviour"
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
"name": "weekend",
|
|
3232
|
+
"type": {
|
|
3233
|
+
"kind": "array",
|
|
3234
|
+
"items": {
|
|
3235
|
+
"kind": "number"
|
|
3236
|
+
}
|
|
3237
|
+
},
|
|
3238
|
+
"required": false,
|
|
3239
|
+
"serializable": true,
|
|
3240
|
+
"role": "behaviour",
|
|
3241
|
+
"doc": "Weekend weekdays (0–6). Default Friday in Persian, else Sat–Sun."
|
|
1022
3242
|
}
|
|
1023
3243
|
],
|
|
1024
3244
|
"anchor": null,
|
|
@@ -1027,205 +3247,136 @@
|
|
|
1027
3247
|
"labelRequired": false
|
|
1028
3248
|
},
|
|
1029
3249
|
"targets": {
|
|
1030
|
-
"android": "
|
|
1031
|
-
"ios": "
|
|
3250
|
+
"android": "verified",
|
|
3251
|
+
"ios": "pending",
|
|
1032
3252
|
"windows": "unmeasured",
|
|
1033
3253
|
"macos": "unmeasured",
|
|
1034
3254
|
"web": "verified"
|
|
1035
3255
|
},
|
|
1036
3256
|
"evidence": {
|
|
1037
3257
|
"ledger": [
|
|
3258
|
+
"N-073",
|
|
1038
3259
|
"N-126"
|
|
1039
3260
|
]
|
|
1040
3261
|
},
|
|
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
|
-
],
|
|
3262
|
+
"tokens": [],
|
|
1055
3263
|
"example": {
|
|
1056
|
-
"line": "<
|
|
3264
|
+
"line": "<G9TimeGrid events={events} start={start} today={today} />",
|
|
1057
3265
|
"from": "generated"
|
|
1058
3266
|
}
|
|
1059
3267
|
},
|
|
1060
3268
|
{
|
|
1061
|
-
"id": "calendar.calendar.
|
|
1062
|
-
"export": "
|
|
3269
|
+
"id": "calendar.calendar.G9TimeListPicker",
|
|
3270
|
+
"export": "G9TimeListPicker",
|
|
1063
3271
|
"from": "@g9tm/lynxcontrols-calendar",
|
|
1064
3272
|
"kind": "component",
|
|
1065
3273
|
"family": "calendar",
|
|
1066
|
-
"summary": "
|
|
3274
|
+
"summary": "A time picked from a list of steps: a popover on a wide window, a sheet on a phone; it opens at the value.",
|
|
1067
3275
|
"since": null,
|
|
1068
3276
|
"props": [
|
|
1069
3277
|
{
|
|
1070
|
-
"name": "
|
|
3278
|
+
"name": "disabled",
|
|
1071
3279
|
"type": {
|
|
1072
|
-
"kind": "
|
|
3280
|
+
"kind": "boolean"
|
|
1073
3281
|
},
|
|
1074
3282
|
"required": false,
|
|
1075
3283
|
"serializable": true,
|
|
1076
|
-
"role": "
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
"name": "
|
|
1080
|
-
"type": {
|
|
1081
|
-
"kind": "
|
|
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
|
-
]
|
|
3284
|
+
"role": "state"
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"name": "error",
|
|
3288
|
+
"type": {
|
|
3289
|
+
"kind": "string"
|
|
1124
3290
|
},
|
|
1125
|
-
"required":
|
|
3291
|
+
"required": false,
|
|
1126
3292
|
"serializable": true,
|
|
1127
3293
|
"role": "behaviour"
|
|
1128
3294
|
},
|
|
3295
|
+
{
|
|
3296
|
+
"name": "hint",
|
|
3297
|
+
"type": {
|
|
3298
|
+
"kind": "string"
|
|
3299
|
+
},
|
|
3300
|
+
"required": false,
|
|
3301
|
+
"serializable": true,
|
|
3302
|
+
"role": "content"
|
|
3303
|
+
},
|
|
3304
|
+
{
|
|
3305
|
+
"name": "id",
|
|
3306
|
+
"type": {
|
|
3307
|
+
"kind": "string"
|
|
3308
|
+
},
|
|
3309
|
+
"required": false,
|
|
3310
|
+
"serializable": true,
|
|
3311
|
+
"role": "identity"
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
"name": "label",
|
|
3315
|
+
"type": {
|
|
3316
|
+
"kind": "string"
|
|
3317
|
+
},
|
|
3318
|
+
"required": true,
|
|
3319
|
+
"serializable": true,
|
|
3320
|
+
"role": "content"
|
|
3321
|
+
},
|
|
1129
3322
|
{
|
|
1130
3323
|
"name": "onChange",
|
|
1131
3324
|
"type": {
|
|
1132
3325
|
"kind": "event",
|
|
1133
|
-
"payload": "
|
|
3326
|
+
"payload": "minutes: number"
|
|
1134
3327
|
},
|
|
1135
3328
|
"required": true,
|
|
1136
3329
|
"serializable": false,
|
|
1137
3330
|
"role": "event"
|
|
1138
3331
|
},
|
|
3332
|
+
{
|
|
3333
|
+
"name": "placeholder",
|
|
3334
|
+
"type": {
|
|
3335
|
+
"kind": "string"
|
|
3336
|
+
},
|
|
3337
|
+
"required": false,
|
|
3338
|
+
"serializable": true,
|
|
3339
|
+
"role": "content"
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
"name": "step",
|
|
3343
|
+
"type": {
|
|
3344
|
+
"kind": "number"
|
|
3345
|
+
},
|
|
3346
|
+
"required": false,
|
|
3347
|
+
"default": 15,
|
|
3348
|
+
"serializable": true,
|
|
3349
|
+
"role": "behaviour",
|
|
3350
|
+
"doc": "Minutes between the listed times. Default 15."
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
"name": "title",
|
|
3354
|
+
"type": {
|
|
3355
|
+
"kind": "string"
|
|
3356
|
+
},
|
|
3357
|
+
"required": false,
|
|
3358
|
+
"serializable": true,
|
|
3359
|
+
"role": "content",
|
|
3360
|
+
"doc": "The phone list's title. Default the label."
|
|
3361
|
+
},
|
|
1139
3362
|
{
|
|
1140
3363
|
"name": "value",
|
|
1141
3364
|
"type": {
|
|
1142
|
-
"kind": "
|
|
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
|
-
]
|
|
3365
|
+
"kind": "number"
|
|
1220
3366
|
},
|
|
1221
3367
|
"required": true,
|
|
1222
3368
|
"serializable": true,
|
|
1223
|
-
"role": "state"
|
|
3369
|
+
"role": "state",
|
|
3370
|
+
"doc": "Minutes after midnight; `null`: none chosen."
|
|
1224
3371
|
}
|
|
1225
3372
|
],
|
|
1226
3373
|
"anchor": null,
|
|
1227
3374
|
"accessibility": {
|
|
1228
|
-
"labelFrom": [
|
|
3375
|
+
"labelFrom": [
|
|
3376
|
+
"title",
|
|
3377
|
+
"label",
|
|
3378
|
+
"placeholder"
|
|
3379
|
+
],
|
|
1229
3380
|
"labelRequired": false
|
|
1230
3381
|
},
|
|
1231
3382
|
"targets": {
|
|
@@ -1241,42 +3392,22 @@
|
|
|
1241
3392
|
]
|
|
1242
3393
|
},
|
|
1243
3394
|
"tokens": [
|
|
1244
|
-
"
|
|
1245
|
-
"Error",
|
|
1246
|
-
"OnPrimary",
|
|
1247
|
-
"OnPrimaryContainer",
|
|
1248
|
-
"Primary",
|
|
1249
|
-
"PrimaryContainer",
|
|
1250
|
-
"Surface",
|
|
1251
|
-
"SurfaceContainerLow",
|
|
1252
|
-
"TextDisabled",
|
|
1253
|
-
"TextPrimary",
|
|
1254
|
-
"TextSecondary",
|
|
1255
|
-
"TextTertiary"
|
|
3395
|
+
"Primary"
|
|
1256
3396
|
],
|
|
1257
3397
|
"example": {
|
|
1258
|
-
"line": "<
|
|
3398
|
+
"line": "<G9TimeListPicker label=\"Label\" onChange={() => {}} value={1} />",
|
|
1259
3399
|
"from": "generated"
|
|
1260
3400
|
}
|
|
1261
3401
|
},
|
|
1262
3402
|
{
|
|
1263
|
-
"id": "calendar.calendar.
|
|
1264
|
-
"export": "
|
|
3403
|
+
"id": "calendar.calendar.G9TodayWidget",
|
|
3404
|
+
"export": "G9TodayWidget",
|
|
1265
3405
|
"from": "@g9tm/lynxcontrols-calendar",
|
|
1266
3406
|
"kind": "component",
|
|
1267
3407
|
"family": "calendar",
|
|
1268
|
-
"summary": "
|
|
3408
|
+
"summary": "Today's events on a home screen: the date, all-day first, then timed with the next one marked; «and n more».",
|
|
1269
3409
|
"since": null,
|
|
1270
3410
|
"props": [
|
|
1271
|
-
{
|
|
1272
|
-
"name": "days",
|
|
1273
|
-
"type": {
|
|
1274
|
-
"kind": "number"
|
|
1275
|
-
},
|
|
1276
|
-
"required": false,
|
|
1277
|
-
"serializable": true,
|
|
1278
|
-
"role": "behaviour"
|
|
1279
|
-
},
|
|
1280
3411
|
{
|
|
1281
3412
|
"name": "events",
|
|
1282
3413
|
"type": {
|
|
@@ -1332,73 +3463,173 @@
|
|
|
1332
3463
|
"kind": "color"
|
|
1333
3464
|
},
|
|
1334
3465
|
"serializable": true
|
|
3466
|
+
},
|
|
3467
|
+
{
|
|
3468
|
+
"name": "endDate",
|
|
3469
|
+
"required": false,
|
|
3470
|
+
"type": {
|
|
3471
|
+
"kind": "unknown",
|
|
3472
|
+
"text": "G9LocalDate"
|
|
3473
|
+
},
|
|
3474
|
+
"serializable": false
|
|
3475
|
+
},
|
|
3476
|
+
{
|
|
3477
|
+
"name": "location",
|
|
3478
|
+
"required": false,
|
|
3479
|
+
"type": {
|
|
3480
|
+
"kind": "string"
|
|
3481
|
+
},
|
|
3482
|
+
"serializable": true
|
|
3483
|
+
},
|
|
3484
|
+
{
|
|
3485
|
+
"name": "kind",
|
|
3486
|
+
"required": false,
|
|
3487
|
+
"type": {
|
|
3488
|
+
"kind": "string"
|
|
3489
|
+
},
|
|
3490
|
+
"serializable": true
|
|
3491
|
+
},
|
|
3492
|
+
{
|
|
3493
|
+
"name": "dayOff",
|
|
3494
|
+
"required": false,
|
|
3495
|
+
"type": {
|
|
3496
|
+
"kind": "boolean"
|
|
3497
|
+
},
|
|
3498
|
+
"serializable": true
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
"name": "rsvp",
|
|
3502
|
+
"required": false,
|
|
3503
|
+
"type": {
|
|
3504
|
+
"kind": "enum",
|
|
3505
|
+
"values": [
|
|
3506
|
+
"accepted",
|
|
3507
|
+
"tentative",
|
|
3508
|
+
"declined",
|
|
3509
|
+
"pending"
|
|
3510
|
+
]
|
|
3511
|
+
},
|
|
3512
|
+
"serializable": true
|
|
3513
|
+
},
|
|
3514
|
+
{
|
|
3515
|
+
"name": "canEdit",
|
|
3516
|
+
"required": false,
|
|
3517
|
+
"type": {
|
|
3518
|
+
"kind": "boolean"
|
|
3519
|
+
},
|
|
3520
|
+
"serializable": true
|
|
1335
3521
|
}
|
|
1336
3522
|
]
|
|
1337
3523
|
}
|
|
1338
3524
|
},
|
|
1339
3525
|
"required": true,
|
|
1340
|
-
"serializable": false,
|
|
1341
|
-
"role": "behaviour"
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
"name": "
|
|
1345
|
-
"type": {
|
|
1346
|
-
"kind": "
|
|
1347
|
-
},
|
|
1348
|
-
"required": false,
|
|
3526
|
+
"serializable": false,
|
|
3527
|
+
"role": "behaviour"
|
|
3528
|
+
},
|
|
3529
|
+
{
|
|
3530
|
+
"name": "id",
|
|
3531
|
+
"type": {
|
|
3532
|
+
"kind": "string"
|
|
3533
|
+
},
|
|
3534
|
+
"required": false,
|
|
3535
|
+
"serializable": true,
|
|
3536
|
+
"role": "identity"
|
|
3537
|
+
},
|
|
3538
|
+
{
|
|
3539
|
+
"name": "labels",
|
|
3540
|
+
"type": {
|
|
3541
|
+
"kind": "object",
|
|
3542
|
+
"fields": [
|
|
3543
|
+
{
|
|
3544
|
+
"name": "title",
|
|
3545
|
+
"required": true,
|
|
3546
|
+
"type": {
|
|
3547
|
+
"kind": "string"
|
|
3548
|
+
},
|
|
3549
|
+
"serializable": true
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
"name": "empty",
|
|
3553
|
+
"required": true,
|
|
3554
|
+
"type": {
|
|
3555
|
+
"kind": "string"
|
|
3556
|
+
},
|
|
3557
|
+
"serializable": true
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"name": "allDay",
|
|
3561
|
+
"required": true,
|
|
3562
|
+
"type": {
|
|
3563
|
+
"kind": "string"
|
|
3564
|
+
},
|
|
3565
|
+
"serializable": true
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
"name": "next",
|
|
3569
|
+
"required": false,
|
|
3570
|
+
"type": {
|
|
3571
|
+
"kind": "string"
|
|
3572
|
+
},
|
|
3573
|
+
"serializable": true
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
"name": "more",
|
|
3577
|
+
"required": false,
|
|
3578
|
+
"type": {
|
|
3579
|
+
"kind": "string"
|
|
3580
|
+
},
|
|
3581
|
+
"serializable": true
|
|
3582
|
+
}
|
|
3583
|
+
]
|
|
3584
|
+
},
|
|
3585
|
+
"required": true,
|
|
1349
3586
|
"serializable": true,
|
|
1350
3587
|
"role": "behaviour"
|
|
1351
3588
|
},
|
|
1352
3589
|
{
|
|
1353
|
-
"name": "
|
|
3590
|
+
"name": "max",
|
|
1354
3591
|
"type": {
|
|
1355
3592
|
"kind": "number"
|
|
1356
3593
|
},
|
|
1357
3594
|
"required": false,
|
|
3595
|
+
"default": 4,
|
|
1358
3596
|
"serializable": true,
|
|
1359
|
-
"role": "
|
|
1360
|
-
|
|
1361
|
-
{
|
|
1362
|
-
"name": "id",
|
|
1363
|
-
"type": {
|
|
1364
|
-
"kind": "string"
|
|
1365
|
-
},
|
|
1366
|
-
"required": false,
|
|
1367
|
-
"serializable": true,
|
|
1368
|
-
"role": "identity"
|
|
3597
|
+
"role": "behaviour",
|
|
3598
|
+
"doc": "At most this many rows. Default 4."
|
|
1369
3599
|
},
|
|
1370
3600
|
{
|
|
1371
3601
|
"name": "now",
|
|
1372
3602
|
"type": {
|
|
1373
3603
|
"kind": "number"
|
|
1374
3604
|
},
|
|
1375
|
-
"required":
|
|
3605
|
+
"required": true,
|
|
1376
3606
|
"serializable": true,
|
|
1377
3607
|
"role": "behaviour",
|
|
1378
|
-
"doc": "
|
|
3608
|
+
"doc": "Now, minutes from midnight (the next event is the first that has not ended)."
|
|
1379
3609
|
},
|
|
1380
3610
|
{
|
|
1381
|
-
"name": "
|
|
3611
|
+
"name": "onOpen",
|
|
1382
3612
|
"type": {
|
|
1383
3613
|
"kind": "event",
|
|
1384
|
-
"payload":
|
|
3614
|
+
"payload": null
|
|
1385
3615
|
},
|
|
1386
3616
|
"required": false,
|
|
1387
3617
|
"serializable": false,
|
|
1388
|
-
"role": "event"
|
|
3618
|
+
"role": "event",
|
|
3619
|
+
"doc": "The whole card (the calendar)."
|
|
1389
3620
|
},
|
|
1390
3621
|
{
|
|
1391
|
-
"name": "
|
|
3622
|
+
"name": "onSelectEvent",
|
|
1392
3623
|
"type": {
|
|
1393
3624
|
"kind": "event",
|
|
1394
|
-
"payload": "
|
|
3625
|
+
"payload": "event: G9CalendarEvent"
|
|
1395
3626
|
},
|
|
1396
3627
|
"required": false,
|
|
1397
3628
|
"serializable": false,
|
|
1398
3629
|
"role": "event"
|
|
1399
3630
|
},
|
|
1400
3631
|
{
|
|
1401
|
-
"name": "
|
|
3632
|
+
"name": "today",
|
|
1402
3633
|
"type": {
|
|
1403
3634
|
"kind": "object",
|
|
1404
3635
|
"fields": [
|
|
@@ -1430,16 +3661,51 @@
|
|
|
1430
3661
|
},
|
|
1431
3662
|
"required": true,
|
|
1432
3663
|
"serializable": true,
|
|
1433
|
-
"role": "behaviour"
|
|
1434
|
-
|
|
1435
|
-
|
|
3664
|
+
"role": "behaviour"
|
|
3665
|
+
}
|
|
3666
|
+
],
|
|
3667
|
+
"anchor": null,
|
|
3668
|
+
"accessibility": {
|
|
3669
|
+
"labelFrom": [],
|
|
3670
|
+
"labelRequired": false
|
|
3671
|
+
},
|
|
3672
|
+
"targets": {
|
|
3673
|
+
"android": "unmeasured",
|
|
3674
|
+
"ios": "unmeasured",
|
|
3675
|
+
"windows": "unmeasured",
|
|
3676
|
+
"macos": "unmeasured",
|
|
3677
|
+
"web": "verified"
|
|
3678
|
+
},
|
|
3679
|
+
"evidence": {
|
|
3680
|
+
"ledger": [
|
|
3681
|
+
"N-126"
|
|
3682
|
+
]
|
|
3683
|
+
},
|
|
3684
|
+
"tokens": [
|
|
3685
|
+
"OnPrimary",
|
|
3686
|
+
"TextSecondary"
|
|
3687
|
+
],
|
|
3688
|
+
"example": {
|
|
3689
|
+
"line": "<G9TodayWidget events={events} labels={labels} now={1} today={today} />",
|
|
3690
|
+
"from": "generated"
|
|
3691
|
+
}
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
"id": "calendar.calendar.G9WorkingHoursEditor",
|
|
3695
|
+
"export": "G9WorkingHoursEditor",
|
|
3696
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
3697
|
+
"kind": "component",
|
|
3698
|
+
"family": "calendar",
|
|
3699
|
+
"summary": "The week's working hours: a switch per weekday (in the culture's week), its ranges, copy to every day, the zone.",
|
|
3700
|
+
"since": null,
|
|
3701
|
+
"props": [
|
|
1436
3702
|
{
|
|
1437
|
-
"name": "
|
|
3703
|
+
"name": "defaultRange",
|
|
1438
3704
|
"type": {
|
|
1439
3705
|
"kind": "object",
|
|
1440
3706
|
"fields": [
|
|
1441
3707
|
{
|
|
1442
|
-
"name": "
|
|
3708
|
+
"name": "start",
|
|
1443
3709
|
"required": true,
|
|
1444
3710
|
"type": {
|
|
1445
3711
|
"kind": "number"
|
|
@@ -1447,18 +3713,80 @@
|
|
|
1447
3713
|
"serializable": true
|
|
1448
3714
|
},
|
|
1449
3715
|
{
|
|
1450
|
-
"name": "
|
|
3716
|
+
"name": "end",
|
|
1451
3717
|
"required": true,
|
|
1452
3718
|
"type": {
|
|
1453
3719
|
"kind": "number"
|
|
1454
3720
|
},
|
|
1455
3721
|
"serializable": true
|
|
3722
|
+
}
|
|
3723
|
+
]
|
|
3724
|
+
},
|
|
3725
|
+
"required": false,
|
|
3726
|
+
"default": 9,
|
|
3727
|
+
"serializable": true,
|
|
3728
|
+
"role": "behaviour",
|
|
3729
|
+
"doc": "A new day's first range. Default 09:00–17:00."
|
|
3730
|
+
},
|
|
3731
|
+
{
|
|
3732
|
+
"name": "id",
|
|
3733
|
+
"type": {
|
|
3734
|
+
"kind": "string"
|
|
3735
|
+
},
|
|
3736
|
+
"required": false,
|
|
3737
|
+
"serializable": true,
|
|
3738
|
+
"role": "identity"
|
|
3739
|
+
},
|
|
3740
|
+
{
|
|
3741
|
+
"name": "labels",
|
|
3742
|
+
"type": {
|
|
3743
|
+
"kind": "object",
|
|
3744
|
+
"fields": [
|
|
3745
|
+
{
|
|
3746
|
+
"name": "from",
|
|
3747
|
+
"required": true,
|
|
3748
|
+
"type": {
|
|
3749
|
+
"kind": "string"
|
|
3750
|
+
},
|
|
3751
|
+
"serializable": true
|
|
1456
3752
|
},
|
|
1457
3753
|
{
|
|
1458
|
-
"name": "
|
|
3754
|
+
"name": "to",
|
|
1459
3755
|
"required": true,
|
|
1460
3756
|
"type": {
|
|
1461
|
-
"kind": "
|
|
3757
|
+
"kind": "string"
|
|
3758
|
+
},
|
|
3759
|
+
"serializable": true
|
|
3760
|
+
},
|
|
3761
|
+
{
|
|
3762
|
+
"name": "add",
|
|
3763
|
+
"required": true,
|
|
3764
|
+
"type": {
|
|
3765
|
+
"kind": "string"
|
|
3766
|
+
},
|
|
3767
|
+
"serializable": true
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
"name": "remove",
|
|
3771
|
+
"required": true,
|
|
3772
|
+
"type": {
|
|
3773
|
+
"kind": "string"
|
|
3774
|
+
},
|
|
3775
|
+
"serializable": true
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
"name": "copy",
|
|
3779
|
+
"required": true,
|
|
3780
|
+
"type": {
|
|
3781
|
+
"kind": "string"
|
|
3782
|
+
},
|
|
3783
|
+
"serializable": true
|
|
3784
|
+
},
|
|
3785
|
+
{
|
|
3786
|
+
"name": "zone",
|
|
3787
|
+
"required": false,
|
|
3788
|
+
"type": {
|
|
3789
|
+
"kind": "string"
|
|
1462
3790
|
},
|
|
1463
3791
|
"serializable": true
|
|
1464
3792
|
}
|
|
@@ -1469,9 +3797,58 @@
|
|
|
1469
3797
|
"role": "behaviour"
|
|
1470
3798
|
},
|
|
1471
3799
|
{
|
|
1472
|
-
"name": "
|
|
3800
|
+
"name": "onChange",
|
|
1473
3801
|
"type": {
|
|
1474
|
-
"kind": "
|
|
3802
|
+
"kind": "event",
|
|
3803
|
+
"payload": "week: Readonly<Partial<Record<number, readonly G9WorkRange[]>>>"
|
|
3804
|
+
},
|
|
3805
|
+
"required": true,
|
|
3806
|
+
"serializable": false,
|
|
3807
|
+
"role": "event"
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"name": "onTimeZoneChange",
|
|
3811
|
+
"type": {
|
|
3812
|
+
"kind": "event",
|
|
3813
|
+
"payload": "zone: string"
|
|
3814
|
+
},
|
|
3815
|
+
"required": false,
|
|
3816
|
+
"serializable": false,
|
|
3817
|
+
"role": "event"
|
|
3818
|
+
},
|
|
3819
|
+
{
|
|
3820
|
+
"name": "timeZone",
|
|
3821
|
+
"type": {
|
|
3822
|
+
"kind": "string"
|
|
3823
|
+
},
|
|
3824
|
+
"required": false,
|
|
3825
|
+
"serializable": true,
|
|
3826
|
+
"role": "behaviour",
|
|
3827
|
+
"doc": "The time zone (with `onTimeZoneChange` a zone picker under the days)."
|
|
3828
|
+
},
|
|
3829
|
+
{
|
|
3830
|
+
"name": "value",
|
|
3831
|
+
"type": {
|
|
3832
|
+
"kind": "object",
|
|
3833
|
+
"map": {
|
|
3834
|
+
"kind": "array",
|
|
3835
|
+
"items": {
|
|
3836
|
+
"kind": "unknown",
|
|
3837
|
+
"text": "G9WorkRange"
|
|
3838
|
+
}
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3841
|
+
"required": true,
|
|
3842
|
+
"serializable": false,
|
|
3843
|
+
"role": "state"
|
|
3844
|
+
},
|
|
3845
|
+
{
|
|
3846
|
+
"name": "zones",
|
|
3847
|
+
"type": {
|
|
3848
|
+
"kind": "array",
|
|
3849
|
+
"items": {
|
|
3850
|
+
"kind": "string"
|
|
3851
|
+
}
|
|
1475
3852
|
},
|
|
1476
3853
|
"required": false,
|
|
1477
3854
|
"serializable": true,
|
|
@@ -1484,34 +3861,20 @@
|
|
|
1484
3861
|
"labelRequired": false
|
|
1485
3862
|
},
|
|
1486
3863
|
"targets": {
|
|
1487
|
-
"android": "
|
|
1488
|
-
"ios": "
|
|
3864
|
+
"android": "unmeasured",
|
|
3865
|
+
"ios": "unmeasured",
|
|
1489
3866
|
"windows": "unmeasured",
|
|
1490
3867
|
"macos": "unmeasured",
|
|
1491
3868
|
"web": "verified"
|
|
1492
3869
|
},
|
|
1493
3870
|
"evidence": {
|
|
1494
3871
|
"ledger": [
|
|
1495
|
-
"N-073",
|
|
1496
3872
|
"N-126"
|
|
1497
3873
|
]
|
|
1498
3874
|
},
|
|
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
|
-
],
|
|
3875
|
+
"tokens": [],
|
|
1513
3876
|
"example": {
|
|
1514
|
-
"line": "<
|
|
3877
|
+
"line": "<G9WorkingHoursEditor labels={labels} onChange={() => {}} value={value} />",
|
|
1515
3878
|
"from": "generated"
|
|
1516
3879
|
}
|
|
1517
3880
|
},
|
|
@@ -1729,6 +4092,16 @@
|
|
|
1729
4092
|
"role": "appearance",
|
|
1730
4093
|
"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. `'plain'` (ShopManager's field): no floating label and no notch — the label is the placeholder, the app draws a title above if it wants one —, a 1 dp outline on the input background, 17 px text. `'code'`: the plain look one height up (lg), 22 px text, centred (a one-time code, a voucher)."
|
|
1731
4094
|
},
|
|
4095
|
+
{
|
|
4096
|
+
"name": "autoComplete",
|
|
4097
|
+
"type": {
|
|
4098
|
+
"kind": "string"
|
|
4099
|
+
},
|
|
4100
|
+
"required": false,
|
|
4101
|
+
"serializable": true,
|
|
4102
|
+
"role": "behaviour",
|
|
4103
|
+
"doc": "The browser's autofill hint on the web (`username`, `current-password`, `new-password`, `one-time-code`; G9Hub, 2.5.7): written on the input element. Native hosts ignore it."
|
|
4104
|
+
},
|
|
1732
4105
|
{
|
|
1733
4106
|
"name": "className",
|
|
1734
4107
|
"type": {
|
|
@@ -1991,6 +4364,16 @@
|
|
|
1991
4364
|
"serializable": true,
|
|
1992
4365
|
"role": "appearance"
|
|
1993
4366
|
},
|
|
4367
|
+
{
|
|
4368
|
+
"name": "leadingLabel",
|
|
4369
|
+
"type": {
|
|
4370
|
+
"kind": "string"
|
|
4371
|
+
},
|
|
4372
|
+
"required": false,
|
|
4373
|
+
"serializable": true,
|
|
4374
|
+
"role": "content",
|
|
4375
|
+
"doc": "What the leading icon says when it is a button."
|
|
4376
|
+
},
|
|
1994
4377
|
{
|
|
1995
4378
|
"name": "maxLength",
|
|
1996
4379
|
"type": {
|
|
@@ -2240,6 +4623,16 @@
|
|
|
2240
4623
|
"serializable": true,
|
|
2241
4624
|
"role": "appearance"
|
|
2242
4625
|
},
|
|
4626
|
+
{
|
|
4627
|
+
"name": "trailingLabel",
|
|
4628
|
+
"type": {
|
|
4629
|
+
"kind": "string"
|
|
4630
|
+
},
|
|
4631
|
+
"required": false,
|
|
4632
|
+
"serializable": true,
|
|
4633
|
+
"role": "content",
|
|
4634
|
+
"doc": "What the trailing icon says when it is a button (`onTrailingPress`: a checklist's «+»; G9Hub, 2.5.7)."
|
|
4635
|
+
},
|
|
2243
4636
|
{
|
|
2244
4637
|
"name": "useStatusColor",
|
|
2245
4638
|
"type": {
|
|
@@ -2305,12 +4698,124 @@
|
|
|
2305
4698
|
],
|
|
2306
4699
|
"exports": [
|
|
2307
4700
|
{
|
|
2308
|
-
"id": "calendar.model.agenda",
|
|
2309
|
-
"export": "agenda",
|
|
2310
|
-
"from": "@g9tm/lynxcontrols-calendar/model",
|
|
4701
|
+
"id": "calendar.model.agenda",
|
|
4702
|
+
"export": "agenda",
|
|
4703
|
+
"from": "@g9tm/lynxcontrols-calendar/model",
|
|
4704
|
+
"kind": "function",
|
|
4705
|
+
"signature": "<T extends { readonly date: G9LocalDate; }>(items: readonly T[]): { readonly date: G9LocalDate; readonly items: readonly T[]; }[]",
|
|
4706
|
+
"summary": "Agenda: events grouped by day (days without events left out), in order."
|
|
4707
|
+
},
|
|
4708
|
+
{
|
|
4709
|
+
"id": "calendar.calendar.agendaRows",
|
|
4710
|
+
"export": "agendaRows",
|
|
4711
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4712
|
+
"kind": "function",
|
|
4713
|
+
"signature": "(events: readonly G9CalendarEvent[], from: G9LocalDate | undefined, to: G9LocalDate | undefined): AgendaRow[]",
|
|
4714
|
+
"summary": "The rows of an agenda (pure): a header per day with something on it, its holidays, then its events."
|
|
4715
|
+
},
|
|
4716
|
+
{
|
|
4717
|
+
"id": "calendar.calendar.birthdayFrom",
|
|
4718
|
+
"export": "birthdayFrom",
|
|
4719
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4720
|
+
"kind": "function",
|
|
4721
|
+
"signature": "(month: number, day: number, year: number | null, calendar: G9CalendarSystem, thisYear: number): G9Birthday",
|
|
4722
|
+
"summary": "A birthday picked on `calendar` back to the stored Gregorian one (no year: on the reference year)."
|
|
4723
|
+
},
|
|
4724
|
+
{
|
|
4725
|
+
"id": "calendar.calendar.birthdayIn",
|
|
4726
|
+
"export": "birthdayIn",
|
|
4727
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4728
|
+
"kind": "function",
|
|
4729
|
+
"signature": "(b: G9Birthday, calendar: G9CalendarSystem, thisYear: number): G9Birthday",
|
|
4730
|
+
"summary": "A stored (Gregorian) birthday as the viewer's calendar shows it: with its year exactly; without one, on the reference year (this year), as the person celebrates it."
|
|
4731
|
+
},
|
|
4732
|
+
{
|
|
4733
|
+
"id": "calendar.calendar.clampNumber",
|
|
4734
|
+
"export": "clampNumber",
|
|
4735
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4736
|
+
"kind": "function",
|
|
4737
|
+
"signature": "(value: number, min: number, max: number): number",
|
|
4738
|
+
"summary": "`value` held between `min` and `max`."
|
|
4739
|
+
},
|
|
4740
|
+
{
|
|
4741
|
+
"id": "calendar.calendar.columnAt",
|
|
4742
|
+
"export": "columnAt",
|
|
4743
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4744
|
+
"kind": "function",
|
|
4745
|
+
"signature": "(x: number, rect: G9GestureRect, count: number, rtl: boolean): number",
|
|
4746
|
+
"summary": "The day column under `x` in a row of `count` equal columns (RTL rows start at the right edge)."
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
"id": "calendar.calendar.daysBetween",
|
|
4750
|
+
"export": "daysBetween",
|
|
4751
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
2311
4752
|
"kind": "function",
|
|
2312
|
-
"signature": "
|
|
2313
|
-
"summary": "
|
|
4753
|
+
"signature": "(from: G9LocalDate, to: G9LocalDate): G9LocalDate[]",
|
|
4754
|
+
"summary": "The days from `from` to `to` (inclusive)."
|
|
4755
|
+
},
|
|
4756
|
+
{
|
|
4757
|
+
"id": "calendar.calendar.describeRecurrence",
|
|
4758
|
+
"export": "describeRecurrence",
|
|
4759
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4760
|
+
"kind": "function",
|
|
4761
|
+
"signature": "(rule: G9Recurrence | null | undefined, start: G9LocalDate, culture: G9Culture, options?: { readonly words?: G9RecurrenceWords; readonly weekStart?: number; }): string",
|
|
4762
|
+
"summary": "A sentence for a rule: «Every year on 15 Mehr», «هر ماه، دومین شنبه، ۱۰ بار»."
|
|
4763
|
+
},
|
|
4764
|
+
{
|
|
4765
|
+
"id": "calendar.calendar.describeWeekdays",
|
|
4766
|
+
"export": "describeWeekdays",
|
|
4767
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4768
|
+
"kind": "function",
|
|
4769
|
+
"signature": "(days: readonly number[], culture: G9Culture, weekStart: number, words: G9RecurrenceWords): string",
|
|
4770
|
+
"summary": "The weekdays of a weekly rule as words, in the order of the culture's week."
|
|
4771
|
+
},
|
|
4772
|
+
{
|
|
4773
|
+
"id": "calendar.calendar.dragPreview",
|
|
4774
|
+
"export": "dragPreview",
|
|
4775
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4776
|
+
"kind": "function",
|
|
4777
|
+
"signature": "(mode: G9DragMode, entry: G9DragEntry | null, from: G9Located, at: G9Located, grab: number, count: number): G9DragPreview | null",
|
|
4778
|
+
"summary": "The change a drag stands for right now."
|
|
4779
|
+
},
|
|
4780
|
+
{
|
|
4781
|
+
"id": "calendar.calendar.eventLastDay",
|
|
4782
|
+
"export": "eventLastDay",
|
|
4783
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4784
|
+
"kind": "function",
|
|
4785
|
+
"signature": "(e: G9EventSpan): G9LocalDate",
|
|
4786
|
+
"summary": "The last day an event touches (its `endDate`, else its `date`)."
|
|
4787
|
+
},
|
|
4788
|
+
{
|
|
4789
|
+
"id": "calendar.calendar.eventsOn",
|
|
4790
|
+
"export": "eventsOn",
|
|
4791
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4792
|
+
"kind": "function",
|
|
4793
|
+
"signature": "<T extends G9EventSpan>(events: readonly T[], day: G9LocalDate): T[]",
|
|
4794
|
+
"summary": "The events on `day`: holidays first, then bars (longer first), then timed by start."
|
|
4795
|
+
},
|
|
4796
|
+
{
|
|
4797
|
+
"id": "calendar.calendar.eventTouches",
|
|
4798
|
+
"export": "eventTouches",
|
|
4799
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4800
|
+
"kind": "function",
|
|
4801
|
+
"signature": "(e: G9EventSpan, day: G9LocalDate): boolean",
|
|
4802
|
+
"summary": "Whether the event touches `day`."
|
|
4803
|
+
},
|
|
4804
|
+
{
|
|
4805
|
+
"id": "calendar.calendar.findCommonSlots",
|
|
4806
|
+
"export": "findCommonSlots",
|
|
4807
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4808
|
+
"kind": "function",
|
|
4809
|
+
"signature": "(people: readonly (readonly G9BusySpan[])[], o: G9FindSlotsOptions): G9FreeSlot[]",
|
|
4810
|
+
"summary": "The common free slots of `people` (each a list of busy spans): every candidate start in working hours, the number of people busy then; everyone-free slots first in time order, then — when there are fewer than half the limit — the least busy ones (G9Hub's «find a time»)."
|
|
4811
|
+
},
|
|
4812
|
+
{
|
|
4813
|
+
"id": "calendar.calendar.G9AgendaLabels",
|
|
4814
|
+
"export": "G9AgendaLabels",
|
|
4815
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4816
|
+
"kind": "interface",
|
|
4817
|
+
"signature": "G9AgendaLabels",
|
|
4818
|
+
"summary": "The words of `G9AgendaView`'s badges and buttons."
|
|
2314
4819
|
},
|
|
2315
4820
|
{
|
|
2316
4821
|
"id": "calendar.calendar.G9AgendaViewProps",
|
|
@@ -2320,6 +4825,38 @@
|
|
|
2320
4825
|
"signature": "G9AgendaViewProps",
|
|
2321
4826
|
"summary": "Props of `G9AgendaView`."
|
|
2322
4827
|
},
|
|
4828
|
+
{
|
|
4829
|
+
"id": "calendar.calendar.G9Birthday",
|
|
4830
|
+
"export": "G9Birthday",
|
|
4831
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4832
|
+
"kind": "interface",
|
|
4833
|
+
"signature": "G9Birthday",
|
|
4834
|
+
"summary": "A birthday, in the Gregorian calendar (how it is stored), with or without the year."
|
|
4835
|
+
},
|
|
4836
|
+
{
|
|
4837
|
+
"id": "calendar.calendar.G9BirthdayFieldProps",
|
|
4838
|
+
"export": "G9BirthdayFieldProps",
|
|
4839
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4840
|
+
"kind": "interface",
|
|
4841
|
+
"signature": "G9BirthdayFieldProps",
|
|
4842
|
+
"summary": "Props of `G9BirthdayField`."
|
|
4843
|
+
},
|
|
4844
|
+
{
|
|
4845
|
+
"id": "calendar.calendar.G9BirthdayLabels",
|
|
4846
|
+
"export": "G9BirthdayLabels",
|
|
4847
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4848
|
+
"kind": "interface",
|
|
4849
|
+
"signature": "G9BirthdayLabels",
|
|
4850
|
+
"summary": "The words of `G9BirthdayField`."
|
|
4851
|
+
},
|
|
4852
|
+
{
|
|
4853
|
+
"id": "calendar.calendar.G9BusySpan",
|
|
4854
|
+
"export": "G9BusySpan",
|
|
4855
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4856
|
+
"kind": "interface",
|
|
4857
|
+
"signature": "G9BusySpan",
|
|
4858
|
+
"summary": "A busy time of one person (minutes from midnight on `date`; `end` may pass midnight)."
|
|
4859
|
+
},
|
|
2323
4860
|
{
|
|
2324
4861
|
"id": "calendar.calendar.G9CalendarEvent",
|
|
2325
4862
|
"export": "G9CalendarEvent",
|
|
@@ -2328,6 +4865,14 @@
|
|
|
2328
4865
|
"signature": "G9CalendarEvent",
|
|
2329
4866
|
"summary": "One event on a calendar view."
|
|
2330
4867
|
},
|
|
4868
|
+
{
|
|
4869
|
+
"id": "calendar.calendar.g9CalendarSnap",
|
|
4870
|
+
"export": "g9CalendarSnap",
|
|
4871
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4872
|
+
"kind": "constant",
|
|
4873
|
+
"signature": "15",
|
|
4874
|
+
"summary": "Snapping of times while dragging (minutes)."
|
|
4875
|
+
},
|
|
2331
4876
|
{
|
|
2332
4877
|
"id": "calendar.calendar.G9DateInputProps",
|
|
2333
4878
|
"export": "G9DateInputProps",
|
|
@@ -2344,6 +4889,46 @@
|
|
|
2344
4889
|
"signature": "G9DayCell",
|
|
2345
4890
|
"summary": "One cell of a month grid."
|
|
2346
4891
|
},
|
|
4892
|
+
{
|
|
4893
|
+
"id": "calendar.calendar.G9DragEntry",
|
|
4894
|
+
"export": "G9DragEntry",
|
|
4895
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4896
|
+
"kind": "interface",
|
|
4897
|
+
"signature": "G9DragEntry",
|
|
4898
|
+
"summary": "An entry as the main thread needs it (offsets from the first visible day)."
|
|
4899
|
+
},
|
|
4900
|
+
{
|
|
4901
|
+
"id": "calendar.calendar.G9DragMode",
|
|
4902
|
+
"export": "G9DragMode",
|
|
4903
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4904
|
+
"kind": "type",
|
|
4905
|
+
"signature": "G9DragMode",
|
|
4906
|
+
"summary": "What a drag does: draw a new event, move one, or resize one."
|
|
4907
|
+
},
|
|
4908
|
+
{
|
|
4909
|
+
"id": "calendar.calendar.G9DragPreview",
|
|
4910
|
+
"export": "G9DragPreview",
|
|
4911
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4912
|
+
"kind": "interface",
|
|
4913
|
+
"signature": "G9DragPreview",
|
|
4914
|
+
"summary": "A change while dragging, in offsets ."
|
|
4915
|
+
},
|
|
4916
|
+
{
|
|
4917
|
+
"id": "calendar.calendar.G9EventCardLabels",
|
|
4918
|
+
"export": "G9EventCardLabels",
|
|
4919
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4920
|
+
"kind": "interface",
|
|
4921
|
+
"signature": "G9EventCardLabels",
|
|
4922
|
+
"summary": "The words of `G9EventCard`."
|
|
4923
|
+
},
|
|
4924
|
+
{
|
|
4925
|
+
"id": "calendar.calendar.G9EventCardProps",
|
|
4926
|
+
"export": "G9EventCardProps",
|
|
4927
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4928
|
+
"kind": "interface",
|
|
4929
|
+
"signature": "G9EventCardProps",
|
|
4930
|
+
"summary": "Props of `G9EventCard`."
|
|
4931
|
+
},
|
|
2347
4932
|
{
|
|
2348
4933
|
"id": "calendar.model.G9EventPlacement",
|
|
2349
4934
|
"export": "G9EventPlacement",
|
|
@@ -2352,6 +4937,62 @@
|
|
|
2352
4937
|
"signature": "G9EventPlacement",
|
|
2353
4938
|
"summary": "Where an event is drawn in a day column: its lane and how many lanes its cluster has."
|
|
2354
4939
|
},
|
|
4940
|
+
{
|
|
4941
|
+
"id": "calendar.calendar.G9EventSpan",
|
|
4942
|
+
"export": "G9EventSpan",
|
|
4943
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4944
|
+
"kind": "interface",
|
|
4945
|
+
"signature": "G9EventSpan",
|
|
4946
|
+
"summary": "The parts of an event these helpers read (G9CalendarEvent has them all)."
|
|
4947
|
+
},
|
|
4948
|
+
{
|
|
4949
|
+
"id": "calendar.calendar.G9FindSlotsOptions",
|
|
4950
|
+
"export": "G9FindSlotsOptions",
|
|
4951
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4952
|
+
"kind": "interface",
|
|
4953
|
+
"signature": "G9FindSlotsOptions",
|
|
4954
|
+
"summary": "Options of `findCommonSlots`."
|
|
4955
|
+
},
|
|
4956
|
+
{
|
|
4957
|
+
"id": "calendar.calendar.G9FindTimeLabels",
|
|
4958
|
+
"export": "G9FindTimeLabels",
|
|
4959
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4960
|
+
"kind": "interface",
|
|
4961
|
+
"signature": "G9FindTimeLabels",
|
|
4962
|
+
"summary": "The words of `G9FindTime`."
|
|
4963
|
+
},
|
|
4964
|
+
{
|
|
4965
|
+
"id": "calendar.calendar.G9FindTimeProps",
|
|
4966
|
+
"export": "G9FindTimeProps",
|
|
4967
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4968
|
+
"kind": "interface",
|
|
4969
|
+
"signature": "G9FindTimeProps",
|
|
4970
|
+
"summary": "Props of `G9FindTime`."
|
|
4971
|
+
},
|
|
4972
|
+
{
|
|
4973
|
+
"id": "calendar.calendar.G9FreeSlot",
|
|
4974
|
+
"export": "G9FreeSlot",
|
|
4975
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4976
|
+
"kind": "interface",
|
|
4977
|
+
"signature": "G9FreeSlot",
|
|
4978
|
+
"summary": "A free (or least busy) time: its day, minutes from midnight, and how many people are busy then."
|
|
4979
|
+
},
|
|
4980
|
+
{
|
|
4981
|
+
"id": "calendar.calendar.G9GestureRect",
|
|
4982
|
+
"export": "G9GestureRect",
|
|
4983
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4984
|
+
"kind": "interface",
|
|
4985
|
+
"signature": "G9GestureRect",
|
|
4986
|
+
"summary": "A box in the grid (dp): where a drag starts and what it covers."
|
|
4987
|
+
},
|
|
4988
|
+
{
|
|
4989
|
+
"id": "calendar.calendar.G9Located",
|
|
4990
|
+
"export": "G9Located",
|
|
4991
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
4992
|
+
"kind": "interface",
|
|
4993
|
+
"signature": "G9Located",
|
|
4994
|
+
"summary": "Where a pointer is in the time grid: the all-day row or the hours, which day, which (snapped) minute."
|
|
4995
|
+
},
|
|
2355
4996
|
{
|
|
2356
4997
|
"id": "calendar.calendar.G9MiniMonthProps",
|
|
2357
4998
|
"export": "G9MiniMonthProps",
|
|
@@ -2376,6 +5017,14 @@
|
|
|
2376
5017
|
"signature": "G9MonthDayPickerProps",
|
|
2377
5018
|
"summary": "Props of `G9MonthDayPicker`."
|
|
2378
5019
|
},
|
|
5020
|
+
{
|
|
5021
|
+
"id": "calendar.calendar.G9MonthDraft",
|
|
5022
|
+
"export": "G9MonthDraft",
|
|
5023
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5024
|
+
"kind": "type",
|
|
5025
|
+
"signature": "G9MonthDraft",
|
|
5026
|
+
"summary": "What a drag or a tap on an empty day asks for (the app opens its editor with it)."
|
|
5027
|
+
},
|
|
2379
5028
|
{
|
|
2380
5029
|
"id": "calendar.calendar.G9MonthViewProps",
|
|
2381
5030
|
"export": "G9MonthViewProps",
|
|
@@ -2384,6 +5033,14 @@
|
|
|
2384
5033
|
"signature": "G9MonthViewProps",
|
|
2385
5034
|
"summary": "Props of `G9MonthView`."
|
|
2386
5035
|
},
|
|
5036
|
+
{
|
|
5037
|
+
"id": "calendar.calendar.G9Plural",
|
|
5038
|
+
"export": "G9Plural",
|
|
5039
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5040
|
+
"kind": "type",
|
|
5041
|
+
"signature": "G9Plural",
|
|
5042
|
+
"summary": "A phrase with a singular and a plural form (`{n}` is the count)."
|
|
5043
|
+
},
|
|
2387
5044
|
{
|
|
2388
5045
|
"id": "calendar.model.G9Recurrence",
|
|
2389
5046
|
"export": "G9Recurrence",
|
|
@@ -2392,6 +5049,54 @@
|
|
|
2392
5049
|
"signature": "G9Recurrence",
|
|
2393
5050
|
"summary": "How an event repeats."
|
|
2394
5051
|
},
|
|
5052
|
+
{
|
|
5053
|
+
"id": "calendar.calendar.G9RecurrencePreset",
|
|
5054
|
+
"export": "G9RecurrencePreset",
|
|
5055
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5056
|
+
"kind": "type",
|
|
5057
|
+
"signature": "G9RecurrencePreset",
|
|
5058
|
+
"summary": "The ready-made choices of a repeat picker."
|
|
5059
|
+
},
|
|
5060
|
+
{
|
|
5061
|
+
"id": "calendar.calendar.g9RecurrencePresets",
|
|
5062
|
+
"export": "g9RecurrencePresets",
|
|
5063
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5064
|
+
"kind": "constant",
|
|
5065
|
+
"signature": "readonly G9RecurrencePreset[]",
|
|
5066
|
+
"summary": "Every preset, in the order a picker lists them."
|
|
5067
|
+
},
|
|
5068
|
+
{
|
|
5069
|
+
"id": "calendar.calendar.G9RecurrenceWords",
|
|
5070
|
+
"export": "G9RecurrenceWords",
|
|
5071
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5072
|
+
"kind": "interface",
|
|
5073
|
+
"signature": "G9RecurrenceWords",
|
|
5074
|
+
"summary": "The words of `describeRecurrence` (`{n}`, `{days}`, `{day}`, `{nth}`, `{weekday}`, `{date}`, `{month}`)."
|
|
5075
|
+
},
|
|
5076
|
+
{
|
|
5077
|
+
"id": "calendar.calendar.g9RecurrenceWordsEn",
|
|
5078
|
+
"export": "g9RecurrenceWordsEn",
|
|
5079
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5080
|
+
"kind": "constant",
|
|
5081
|
+
"signature": "G9RecurrenceWords",
|
|
5082
|
+
"summary": "English words (an app passes its own language)."
|
|
5083
|
+
},
|
|
5084
|
+
{
|
|
5085
|
+
"id": "calendar.calendar.g9RecurrenceWordsFa",
|
|
5086
|
+
"export": "g9RecurrenceWordsFa",
|
|
5087
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5088
|
+
"kind": "constant",
|
|
5089
|
+
"signature": "G9RecurrenceWords",
|
|
5090
|
+
"summary": "Persian words."
|
|
5091
|
+
},
|
|
5092
|
+
{
|
|
5093
|
+
"id": "calendar.calendar.G9RepeatEditorLabels",
|
|
5094
|
+
"export": "G9RepeatEditorLabels",
|
|
5095
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5096
|
+
"kind": "interface",
|
|
5097
|
+
"signature": "G9RepeatEditorLabels",
|
|
5098
|
+
"summary": "The custom editor's words (English defaults)."
|
|
5099
|
+
},
|
|
2395
5100
|
{
|
|
2396
5101
|
"id": "calendar.calendar.G9RepeatPickerProps",
|
|
2397
5102
|
"export": "G9RepeatPickerProps",
|
|
@@ -2400,6 +5105,14 @@
|
|
|
2400
5105
|
"signature": "G9RepeatPickerProps",
|
|
2401
5106
|
"summary": "Props of `G9RepeatPicker`."
|
|
2402
5107
|
},
|
|
5108
|
+
{
|
|
5109
|
+
"id": "calendar.calendar.G9Rsvp",
|
|
5110
|
+
"export": "G9Rsvp",
|
|
5111
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5112
|
+
"kind": "type",
|
|
5113
|
+
"signature": "G9Rsvp",
|
|
5114
|
+
"summary": "What the person answered to an invitation. `'pending'`: not yet."
|
|
5115
|
+
},
|
|
2403
5116
|
{
|
|
2404
5117
|
"id": "calendar.model.G9TimedEvent",
|
|
2405
5118
|
"export": "G9TimedEvent",
|
|
@@ -2408,6 +5121,14 @@
|
|
|
2408
5121
|
"signature": "G9TimedEvent",
|
|
2409
5122
|
"summary": "An event in a day, minutes from midnight."
|
|
2410
5123
|
},
|
|
5124
|
+
{
|
|
5125
|
+
"id": "calendar.calendar.G9TimeDraft",
|
|
5126
|
+
"export": "G9TimeDraft",
|
|
5127
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5128
|
+
"kind": "interface",
|
|
5129
|
+
"signature": "G9TimeDraft",
|
|
5130
|
+
"summary": "A change a gesture asks for, in dates (an editor opens with it, or the event is moved)."
|
|
5131
|
+
},
|
|
2411
5132
|
{
|
|
2412
5133
|
"id": "calendar.calendar.G9TimeGridProps",
|
|
2413
5134
|
"export": "G9TimeGridProps",
|
|
@@ -2416,6 +5137,70 @@
|
|
|
2416
5137
|
"signature": "G9TimeGridProps",
|
|
2417
5138
|
"summary": "Props of `G9TimeGrid`."
|
|
2418
5139
|
},
|
|
5140
|
+
{
|
|
5141
|
+
"id": "calendar.calendar.G9TimeListPickerProps",
|
|
5142
|
+
"export": "G9TimeListPickerProps",
|
|
5143
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5144
|
+
"kind": "interface",
|
|
5145
|
+
"signature": "G9TimeListPickerProps",
|
|
5146
|
+
"summary": "Props of `G9TimeListPicker`."
|
|
5147
|
+
},
|
|
5148
|
+
{
|
|
5149
|
+
"id": "calendar.calendar.G9TodayWidgetLabels",
|
|
5150
|
+
"export": "G9TodayWidgetLabels",
|
|
5151
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5152
|
+
"kind": "interface",
|
|
5153
|
+
"signature": "G9TodayWidgetLabels",
|
|
5154
|
+
"summary": "The words of `G9TodayWidget`."
|
|
5155
|
+
},
|
|
5156
|
+
{
|
|
5157
|
+
"id": "calendar.calendar.G9TodayWidgetProps",
|
|
5158
|
+
"export": "G9TodayWidgetProps",
|
|
5159
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5160
|
+
"kind": "interface",
|
|
5161
|
+
"signature": "G9TodayWidgetProps",
|
|
5162
|
+
"summary": "Props of `G9TodayWidget`."
|
|
5163
|
+
},
|
|
5164
|
+
{
|
|
5165
|
+
"id": "calendar.calendar.G9WeekSegment",
|
|
5166
|
+
"export": "G9WeekSegment",
|
|
5167
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5168
|
+
"kind": "interface",
|
|
5169
|
+
"signature": "G9WeekSegment",
|
|
5170
|
+
"summary": "One bar of a week row: its first and last day index (0–6, inclusive)."
|
|
5171
|
+
},
|
|
5172
|
+
{
|
|
5173
|
+
"id": "calendar.calendar.G9WorkingHoursEditorProps",
|
|
5174
|
+
"export": "G9WorkingHoursEditorProps",
|
|
5175
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5176
|
+
"kind": "interface",
|
|
5177
|
+
"signature": "G9WorkingHoursEditorProps",
|
|
5178
|
+
"summary": "Props of `G9WorkingHoursEditor`."
|
|
5179
|
+
},
|
|
5180
|
+
{
|
|
5181
|
+
"id": "calendar.calendar.G9WorkingHoursLabels",
|
|
5182
|
+
"export": "G9WorkingHoursLabels",
|
|
5183
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5184
|
+
"kind": "interface",
|
|
5185
|
+
"signature": "G9WorkingHoursLabels",
|
|
5186
|
+
"summary": "The words of `G9WorkingHoursEditor`."
|
|
5187
|
+
},
|
|
5188
|
+
{
|
|
5189
|
+
"id": "calendar.calendar.G9WorkRange",
|
|
5190
|
+
"export": "G9WorkRange",
|
|
5191
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5192
|
+
"kind": "interface",
|
|
5193
|
+
"signature": "G9WorkRange",
|
|
5194
|
+
"summary": "One working range of a day, minutes from midnight."
|
|
5195
|
+
},
|
|
5196
|
+
{
|
|
5197
|
+
"id": "calendar.calendar.G9WorkWeek",
|
|
5198
|
+
"export": "G9WorkWeek",
|
|
5199
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5200
|
+
"kind": "type",
|
|
5201
|
+
"signature": "Readonly<Partial<Record<number, readonly G9WorkRange[]>>>",
|
|
5202
|
+
"summary": "A week of working hours: the ranges of each weekday (0 Sunday … 6 Saturday; none = a day off)."
|
|
5203
|
+
},
|
|
2419
5204
|
{
|
|
2420
5205
|
"id": "calendar.calendar.G9ZonePickerProps",
|
|
2421
5206
|
"export": "G9ZonePickerProps",
|
|
@@ -2424,6 +5209,30 @@
|
|
|
2424
5209
|
"signature": "G9ZonePickerProps",
|
|
2425
5210
|
"summary": "Props of `G9ZonePicker`."
|
|
2426
5211
|
},
|
|
5212
|
+
{
|
|
5213
|
+
"id": "calendar.calendar.grabOffset",
|
|
5214
|
+
"export": "grabOffset",
|
|
5215
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5216
|
+
"kind": "function",
|
|
5217
|
+
"signature": "(entry: G9DragEntry | null, from: G9Located): number",
|
|
5218
|
+
"summary": "Minutes between the grab point and the entry's start (moving a timed entry keeps the finger on the same spot)."
|
|
5219
|
+
},
|
|
5220
|
+
{
|
|
5221
|
+
"id": "calendar.calendar.isBarEvent",
|
|
5222
|
+
"export": "isBarEvent",
|
|
5223
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5224
|
+
"kind": "function",
|
|
5225
|
+
"signature": "(e: G9EventSpan): boolean",
|
|
5226
|
+
"summary": "Drawn as a bar across days: all day (no `start`) or lasting a day or more (a timed night shift is not)."
|
|
5227
|
+
},
|
|
5228
|
+
{
|
|
5229
|
+
"id": "calendar.calendar.isLastWeekdayOfMonth",
|
|
5230
|
+
"export": "isLastWeekdayOfMonth",
|
|
5231
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5232
|
+
"kind": "function",
|
|
5233
|
+
"signature": "(date: G9LocalDate, calendar: G9CalendarSystem): boolean",
|
|
5234
|
+
"summary": "Whether the day is the last of its weekday in its month («last Friday» is offered too)."
|
|
5235
|
+
},
|
|
2427
5236
|
{
|
|
2428
5237
|
"id": "calendar.model.layoutDay",
|
|
2429
5238
|
"export": "layoutDay",
|
|
@@ -2432,6 +5241,38 @@
|
|
|
2432
5241
|
"signature": "(events: readonly G9TimedEvent[]): G9EventPlacement[]",
|
|
2433
5242
|
"summary": "Packs overlapping events into lanes; every event of a cluster gets the cluster's lane count."
|
|
2434
5243
|
},
|
|
5244
|
+
{
|
|
5245
|
+
"id": "calendar.calendar.layoutLanes",
|
|
5246
|
+
"export": "layoutLanes",
|
|
5247
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5248
|
+
"kind": "function",
|
|
5249
|
+
"signature": "(segments: readonly G9WeekSegment[]): Map<string, number>",
|
|
5250
|
+
"summary": "The lane (0 = top) each bar of a week row takes: earliest first, longer first, never two in a lane on a day."
|
|
5251
|
+
},
|
|
5252
|
+
{
|
|
5253
|
+
"id": "calendar.calendar.locate",
|
|
5254
|
+
"export": "locate",
|
|
5255
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5256
|
+
"kind": "function",
|
|
5257
|
+
"signature": "(x: number, y: number, grid: G9GestureRect, allDay: G9GestureRect, count: number, rtl: boolean, hourHeight: number): G9Located",
|
|
5258
|
+
"summary": "Above the bottom of the all-day row it is the all-day row, else the hours."
|
|
5259
|
+
},
|
|
5260
|
+
{
|
|
5261
|
+
"id": "calendar.calendar.minuteAt",
|
|
5262
|
+
"export": "minuteAt",
|
|
5263
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5264
|
+
"kind": "function",
|
|
5265
|
+
"signature": "(y: number, rect: G9GestureRect, hourHeight: number, snap?: number): number",
|
|
5266
|
+
"summary": "The snapped minute of the day at `y` in the hours (`rect.top` = midnight)."
|
|
5267
|
+
},
|
|
5268
|
+
{
|
|
5269
|
+
"id": "calendar.calendar.monthCellAt",
|
|
5270
|
+
"export": "monthCellAt",
|
|
5271
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5272
|
+
"kind": "function",
|
|
5273
|
+
"signature": "(x: number, y: number, rect: G9GestureRect, rows: number, rtl: boolean): number",
|
|
5274
|
+
"summary": "The month grid cell under a point: rows of equal height, seven columns. Returns the index into the flattened weeks (row * 7 + column), or -1 outside the grid."
|
|
5275
|
+
},
|
|
2435
5276
|
{
|
|
2436
5277
|
"id": "calendar.calendar.monthDayLength",
|
|
2437
5278
|
"export": "monthDayLength",
|
|
@@ -2448,6 +5289,22 @@
|
|
|
2448
5289
|
"signature": "(calendar: G9CalendarSystem, year: number, month: number, weekStart: number, fixedRows?: boolean): G9DayCell[][]",
|
|
2449
5290
|
"summary": "A month in `calendar` as weeks of 7 cells (6 rows when `fixedRows`, else just enough)."
|
|
2450
5291
|
},
|
|
5292
|
+
{
|
|
5293
|
+
"id": "calendar.calendar.nthOfMonth",
|
|
5294
|
+
"export": "nthOfMonth",
|
|
5295
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5296
|
+
"kind": "function",
|
|
5297
|
+
"signature": "(date: G9LocalDate, calendar: G9CalendarSystem): 1 | 2 | 3 | 4 | -1",
|
|
5298
|
+
"summary": "Which of its weekday in the month a day is: 1–4, or -1 (the last) for days 29–31."
|
|
5299
|
+
},
|
|
5300
|
+
{
|
|
5301
|
+
"id": "calendar.model.nthWeekdayOfMonth",
|
|
5302
|
+
"export": "nthWeekdayOfMonth",
|
|
5303
|
+
"from": "@g9tm/lynxcontrols-calendar/model",
|
|
5304
|
+
"kind": "function",
|
|
5305
|
+
"signature": "(calendar: G9CalendarSystem, year: number, month: number, weekday: number, nth: 1 | 2 | 3 | 4 | -1): G9LocalDate | null",
|
|
5306
|
+
"summary": "The day of `weekday` that is the `nth` (1–4, -1 last) of its kind in a month of `calendar`, or null."
|
|
5307
|
+
},
|
|
2451
5308
|
{
|
|
2452
5309
|
"id": "calendar.model.occurrences",
|
|
2453
5310
|
"export": "occurrences",
|
|
@@ -2456,6 +5313,38 @@
|
|
|
2456
5313
|
"signature": "(start: G9LocalDate, rule: G9Recurrence, from: G9LocalDate, to: G9LocalDate, calendar?: G9CalendarSystem): G9LocalDate[]",
|
|
2457
5314
|
"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."
|
|
2458
5315
|
},
|
|
5316
|
+
{
|
|
5317
|
+
"id": "calendar.calendar.presetOf",
|
|
5318
|
+
"export": "presetOf",
|
|
5319
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5320
|
+
"kind": "function",
|
|
5321
|
+
"signature": "(rule: G9Recurrence | null | undefined, start: G9LocalDate, calendar: G9CalendarSystem, language: string): G9RecurrencePreset",
|
|
5322
|
+
"summary": "The preset a rule is (or `'custom'`)."
|
|
5323
|
+
},
|
|
5324
|
+
{
|
|
5325
|
+
"id": "calendar.calendar.presetRule",
|
|
5326
|
+
"export": "presetRule",
|
|
5327
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5328
|
+
"kind": "function",
|
|
5329
|
+
"signature": "(preset: G9RecurrencePreset, start: G9LocalDate, calendar: G9CalendarSystem, language: string): G9Recurrence | null",
|
|
5330
|
+
"summary": "The rule of a preset for an event starting on `start` (`null` for none and custom)."
|
|
5331
|
+
},
|
|
5332
|
+
{
|
|
5333
|
+
"id": "calendar.calendar.previewBar",
|
|
5334
|
+
"export": "previewBar",
|
|
5335
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5336
|
+
"kind": "function",
|
|
5337
|
+
"signature": "(preview: G9DragPreview, count: number): { start: number; end: number; } | null",
|
|
5338
|
+
"summary": "The columns an all-day preview covers within the visible days, or null."
|
|
5339
|
+
},
|
|
5340
|
+
{
|
|
5341
|
+
"id": "calendar.calendar.previewBoxes",
|
|
5342
|
+
"export": "previewBoxes",
|
|
5343
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5344
|
+
"kind": "function",
|
|
5345
|
+
"signature": "(preview: G9DragPreview, count: number, hourHeight: number): { index: number; top: number; height: number; }[]",
|
|
5346
|
+
"summary": "The boxes a timed preview draws: one per visible day it covers (top/height in px)."
|
|
5347
|
+
},
|
|
2459
5348
|
{
|
|
2460
5349
|
"id": "calendar.model.sameDay",
|
|
2461
5350
|
"export": "sameDay",
|
|
@@ -2464,6 +5353,22 @@
|
|
|
2464
5353
|
"signature": "(a: G9LocalDate, b: G9LocalDate): boolean",
|
|
2465
5354
|
"summary": "Whether two local dates are the same day (calendar-independent: compares the ISO date)."
|
|
2466
5355
|
},
|
|
5356
|
+
{
|
|
5357
|
+
"id": "calendar.calendar.samePreview",
|
|
5358
|
+
"export": "samePreview",
|
|
5359
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5360
|
+
"kind": "function",
|
|
5361
|
+
"signature": "(a: G9DragPreview | null, b: G9DragPreview | null): boolean",
|
|
5362
|
+
"summary": "Whether two drag previews draw the same (no re-render when they do)."
|
|
5363
|
+
},
|
|
5364
|
+
{
|
|
5365
|
+
"id": "calendar.calendar.secondDateLabel",
|
|
5366
|
+
"export": "secondDateLabel",
|
|
5367
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5368
|
+
"kind": "function",
|
|
5369
|
+
"signature": "(day: G9LocalDate, primary: G9CalendarSystem, second: G9CalendarSystem | \"none\", culture: G9Culture): string",
|
|
5370
|
+
"summary": "The day in the other calendar, short («۱ فروردین» under a Gregorian date, «21 Mar» under a Persian one), or `''` when `second` is `'none'` or the same as the primary."
|
|
5371
|
+
},
|
|
2467
5372
|
{
|
|
2468
5373
|
"id": "calendar.model.shiftMonth",
|
|
2469
5374
|
"export": "shiftMonth",
|
|
@@ -2480,6 +5385,54 @@
|
|
|
2480
5385
|
"signature": "(offsetY: number, hourHeight: number, fromHour: number, toHour: number): number",
|
|
2481
5386
|
"summary": "The quarter hour at `offsetY` px down a time grid's hours (minutes from midnight, inside `[fromHour, toHour)`)."
|
|
2482
5387
|
},
|
|
5388
|
+
{
|
|
5389
|
+
"id": "calendar.calendar.swipeDirection",
|
|
5390
|
+
"export": "swipeDirection",
|
|
5391
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5392
|
+
"kind": "function",
|
|
5393
|
+
"signature": "(dx: number, dy: number, elapsedMs: number, threshold: number, rtl: boolean): \"end\" | \"start\" | null",
|
|
5394
|
+
"summary": "A quick horizontal fling: `end` = toward the reading end (right in LTR, left in RTL), which reveals the previous period; `start` the next one. Null when it was not a swipe."
|
|
5395
|
+
},
|
|
5396
|
+
{
|
|
5397
|
+
"id": "calendar.calendar.swipeFollow",
|
|
5398
|
+
"export": "swipeFollow",
|
|
5399
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5400
|
+
"kind": "function",
|
|
5401
|
+
"signature": "(dx: number, width: number): number",
|
|
5402
|
+
"summary": "How far the content follows the finger while swiping (damped, capped)."
|
|
5403
|
+
},
|
|
5404
|
+
{
|
|
5405
|
+
"id": "calendar.calendar.tapDraft",
|
|
5406
|
+
"export": "tapDraft",
|
|
5407
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5408
|
+
"kind": "function",
|
|
5409
|
+
"signature": "(at: G9Located, count: number): G9DragPreview",
|
|
5410
|
+
"summary": "A click / tap on empty space makes a new event there (an hour from the half hour)."
|
|
5411
|
+
},
|
|
5412
|
+
{
|
|
5413
|
+
"id": "calendar.calendar.timeLabel",
|
|
5414
|
+
"export": "timeLabel",
|
|
5415
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5416
|
+
"kind": "function",
|
|
5417
|
+
"signature": "(minutes: number, numberingSystem?: G9NumberingSystem): string",
|
|
5418
|
+
"summary": "`minutes` after midnight as `HH:mm` in the given digits."
|
|
5419
|
+
},
|
|
5420
|
+
{
|
|
5421
|
+
"id": "calendar.calendar.timeSteps",
|
|
5422
|
+
"export": "timeSteps",
|
|
5423
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5424
|
+
"kind": "function",
|
|
5425
|
+
"signature": "(value: number | null, step?: number): number[]",
|
|
5426
|
+
"summary": "The steps of a day (every `step` minutes) plus `value` when it is off the grid, in order."
|
|
5427
|
+
},
|
|
5428
|
+
{
|
|
5429
|
+
"id": "calendar.calendar.weekSegments",
|
|
5430
|
+
"export": "weekSegments",
|
|
5431
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5432
|
+
"kind": "function",
|
|
5433
|
+
"signature": "<T extends G9EventSpan>(events: readonly T[], weekStart: G9LocalDate): { readonly event: T; readonly start: number; readonly end: number; readonly lane: number; }[]",
|
|
5434
|
+
"summary": "The segments of the events of a week starting `weekStart` (seven days), clamped to it, with their lanes."
|
|
5435
|
+
},
|
|
2483
5436
|
{
|
|
2484
5437
|
"id": "calendar.model.weekStartFor",
|
|
2485
5438
|
"export": "weekStartFor",
|
|
@@ -2488,6 +5441,14 @@
|
|
|
2488
5441
|
"signature": "(calendar: G9CalendarSystem, language: string): number",
|
|
2489
5442
|
"summary": "First day of the week: Saturday (6) for Persian, Sunday (0) or Monday (1) elsewhere."
|
|
2490
5443
|
},
|
|
5444
|
+
{
|
|
5445
|
+
"id": "calendar.calendar.workdaysFor",
|
|
5446
|
+
"export": "workdaysFor",
|
|
5447
|
+
"from": "@g9tm/lynxcontrols-calendar",
|
|
5448
|
+
"kind": "function",
|
|
5449
|
+
"signature": "(language: string): readonly number[]",
|
|
5450
|
+
"summary": "Working days: Saturday–Wednesday in Persian (Iran), Monday–Friday elsewhere."
|
|
5451
|
+
},
|
|
2491
5452
|
{
|
|
2492
5453
|
"id": "calendar.calendar.zoneLabel",
|
|
2493
5454
|
"export": "zoneLabel",
|