@gramlot/gramlot 0.3.20 → 0.3.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/dist/components/chat/__init__.py +13 -0
  2. package/dist/components/chat/assets/collection.js +9 -0
  3. package/dist/components/chat/assets/index.js +3 -0
  4. package/dist/components/chat/commands.json +7 -0
  5. package/dist/components/chat/grammar.json +48 -0
  6. package/dist/components/editors/__init__.py +2 -2
  7. package/dist/components/editors/assets/collection.js +26 -120912
  8. package/dist/components/editors/assets/index.js +2 -1
  9. package/dist/components/editors/assets/modules/chunk-74O4WKIV.js +1 -0
  10. package/dist/components/editors/assets/modules/chunk-AU4HFPIY.js +1 -0
  11. package/dist/components/editors/assets/modules/chunk-YSGSC7KM.js +1 -0
  12. package/dist/components/editors/assets/modules/code-mirror-engine-RWQTR5G5.js +92 -0
  13. package/dist/components/editors/assets/modules/jodit-engine-MTSA4GZ3.js +1853 -0
  14. package/dist/components/editors/assets/modules/markdown-document-VFC23FAY.js +1 -0
  15. package/dist/components/editors/assets/modules/prose-mirror-engine-GMZPJPNN.js +24 -0
  16. package/dist/components/grid/__init__.py +14 -0
  17. package/dist/components/grid/assets/collection.js +262 -0
  18. package/dist/components/grid/assets/index.js +3 -0
  19. package/dist/components/grid/commands.json +7 -0
  20. package/dist/components/grid/grammar.json +770 -0
  21. package/dist/components/grouplets/__init__.py +13 -0
  22. package/dist/components/grouplets/assets/collection.js +185 -0
  23. package/dist/components/grouplets/assets/index.js +3 -0
  24. package/dist/components/grouplets/assets/modules/chunk-BLMUM44K.js +1 -0
  25. package/dist/components/grouplets/assets/modules/markdown-document-YWNZTOKK.js +1 -0
  26. package/dist/components/grouplets/commands.json +7 -0
  27. package/dist/components/grouplets/grammar.json +355 -0
  28. package/dist/components/inputs/__init__.py +1 -1
  29. package/dist/components/inputs/assets/collection.js +65 -24511
  30. package/dist/components/inputs/assets/index.js +2 -1
  31. package/dist/components/inputs/grammar.json +278 -6
  32. package/dist/components/layout/__init__.py +1 -1
  33. package/dist/components/layout/assets/collection.js +68 -26732
  34. package/dist/components/layout/assets/index.js +2 -1
  35. package/dist/components/layout/grammar.json +39 -0
  36. package/dist/components/selection_trial/__init__.py +13 -0
  37. package/dist/components/selection_trial/assets/collection.js +4 -0
  38. package/dist/components/selection_trial/assets/index.js +3 -0
  39. package/dist/components/selection_trial/commands.json +7 -0
  40. package/dist/components/selection_trial/grammar.json +587 -0
  41. package/dist/components/tree/__init__.py +1 -1
  42. package/dist/components/tree/assets/collection.js +27 -24612
  43. package/dist/components/tree/assets/index.js +2 -1
  44. package/dist/components/tree/grammar.json +341 -1
  45. package/dist/components/typst/__init__.py +2 -2
  46. package/dist/components/typst/assets/collection.js +12 -4
  47. package/dist/components/typst/assets/index.js +2 -1
  48. package/dist/components/typst/assets/modules/chunk-BLMUM44K.js +1 -0
  49. package/dist/components/typst/assets/modules/typst-client-JHC6UVYG.js +4 -0
  50. package/dist/components/uploads/__init__.py +13 -0
  51. package/dist/components/uploads/assets/collection.js +67 -0
  52. package/dist/components/uploads/assets/index.js +3 -0
  53. package/dist/components/uploads/commands.json +7 -0
  54. package/dist/components/uploads/grammar.json +789 -0
  55. package/dist/gramlot-markdown.js +16 -0
  56. package/dist/gramlot.js +6861 -1395
  57. package/dist/gramlot.min.js +1595 -46
  58. package/dist/runtime-notices.json +28 -0
  59. package/package.json +10 -3
  60. package/src/binding/grid-struct.js +63 -0
  61. package/src/binding/installation.js +5 -2
  62. package/src/binding/providers.js +4 -1
  63. package/src/binding/remote-resolver.js +1 -8
  64. package/src/binding/runtime.js +90 -6
  65. package/src/binding/validation-context.js +40 -0
  66. package/src/browser-camera-provider.d.ts +8 -0
  67. package/src/browser-camera-provider.js +104 -0
  68. package/src/builder/gramlot-builder.d.ts +5 -0
  69. package/src/builder/gramlot-builder.js +16 -0
  70. package/src/builder/source.js +34 -0
  71. package/src/chat.d.ts +12 -0
  72. package/src/chat.js +198 -0
  73. package/src/collection-artifact.js +1 -1
  74. package/src/components/attachment-manager.js +160 -0
  75. package/src/components/bases.js +19 -6
  76. package/src/components/border-container.js +86 -8
  77. package/src/components/buttons.js +11 -1
  78. package/src/components/chat.js +28 -0
  79. package/src/components/choice-editor.js +106 -38
  80. package/src/components/database-choices.js +133 -9
  81. package/src/components/editing-status-styles.js +26 -0
  82. package/src/components/editing-status.js +115 -0
  83. package/src/components/field-state.js +42 -54
  84. package/src/components/grid-cell-editor.js +181 -0
  85. package/src/components/grid-grammar.json +258 -0
  86. package/src/components/grid-header-interaction.js +196 -0
  87. package/src/components/grid-row-interaction.js +184 -0
  88. package/src/components/grid-row-layout.js +96 -0
  89. package/src/components/grid-rows.js +28 -0
  90. package/src/components/grid-search-box.js +142 -0
  91. package/src/components/grid-search-styles.js +42 -0
  92. package/src/components/grid-search.js +37 -0
  93. package/src/components/grid-structure.js +85 -0
  94. package/src/components/grid-styles.js +201 -0
  95. package/src/components/grid.js +666 -0
  96. package/src/components/grouplet-card.js +445 -0
  97. package/src/components/grouplets.js +17 -0
  98. package/src/components/html-preview.js +17 -4
  99. package/src/components/image-crop-dialog.js +272 -0
  100. package/src/components/image-crop.js +79 -0
  101. package/src/components/image-uploader.js +252 -0
  102. package/src/components/inputs.js +2 -1
  103. package/src/components/jodit-engine.js +1 -1
  104. package/src/components/markdown-document.js +2 -2
  105. package/src/components/menus.js +1 -0
  106. package/src/components/registry.js +4 -3
  107. package/src/components/screen-capture.js +43 -0
  108. package/src/components/selected-container.js +6 -2
  109. package/src/components/tray-pane.js +32 -4
  110. package/src/components/tree.js +416 -17
  111. package/src/components/typed-editor.js +23 -11
  112. package/src/components/upload-engine.js +156 -0
  113. package/src/components/uploader.js +208 -0
  114. package/src/components/uploads.js +7 -0
  115. package/src/editing-session.d.ts +25 -0
  116. package/src/editing-session.js +396 -0
  117. package/src/experiments/selection-transfer.js +78 -0
  118. package/src/experiments/selection-trial.js +64 -0
  119. package/src/experiments/window-selection.js +124 -0
  120. package/src/format.js +22 -7
  121. package/src/gramlot.d.ts +2 -0
  122. package/src/gramlot.js +2 -1
  123. package/src/handlers/device-handler.d.ts +2 -1
  124. package/src/handlers/rpc-handler.d.ts +3 -3
  125. package/src/index-page-styles.js +2 -1
  126. package/src/index.d.ts +16 -1
  127. package/src/index.js +16 -1
  128. package/src/inout.d.ts +2 -0
  129. package/src/inout.js +6 -0
  130. package/src/markdown-loader.d.ts +1 -0
  131. package/src/markdown-loader.js +4 -0
  132. package/src/markdown.d.ts +1 -0
  133. package/src/markdown.js +2 -0
  134. package/src/media-frame.js +9 -0
  135. package/src/renderer/attributes.js +7 -1
  136. package/src/renderer/gramlot-renderer.d.ts +2 -0
  137. package/src/renderer/gramlot-renderer.js +39 -3
  138. package/src/server/assets.d.ts +1 -1
  139. package/src/server/assets.js +1 -1
  140. package/src/server/gramlot-server.d.ts +10 -1
  141. package/src/server/gramlot-server.js +96 -8
  142. package/src/server/index.d.ts +2 -0
  143. package/src/server/index.js +2 -0
  144. package/src/server/page-base.js +17 -4
  145. package/src/server/page.d.ts +13 -1
  146. package/src/server/page.js +6 -0
  147. package/src/server/source-import.d.ts +2 -0
  148. package/src/server/source-import.js +31 -0
  149. package/src/server/upload.d.ts +20 -0
  150. package/src/server/upload.js +142 -0
  151. package/src/server/visual-editor.d.ts +11 -0
  152. package/src/server/visual-editor.js +149 -0
  153. package/src/source-picker.d.ts +9 -0
  154. package/src/source-picker.js +57 -0
  155. package/src/stores/bag-collection-store.js +51 -0
  156. package/src/stores/bag-collection-view.js +127 -0
  157. package/src/stores/collection-filter.js +77 -0
  158. package/src/tree-store.d.ts +24 -0
  159. package/src/tree-store.js +193 -0
  160. package/src/validation-run.js +50 -0
  161. package/src/view/button.js +8 -5
  162. package/src/view/controls.js +31 -32
  163. package/src/view/grouplet-card.js +54 -0
  164. package/src/view/html.js +29 -4
  165. package/src/view/labelbox.js +7 -3
  166. package/src/visual-editor-icons.js +10 -0
  167. package/src/visual-editor.d.ts +56 -0
  168. package/src/visual-editor.js +844 -0
  169. package/themes/gramlot-base/theme.css +127 -0
  170. package/themes/gramlot-compact/theme.css +8 -0
  171. package/themes/joanna/theme.css +8 -0
  172. package/themes/mimi/theme.css +8 -0
@@ -0,0 +1,770 @@
1
+ {
2
+ "abstracts": {},
3
+ "document_format": {
4
+ "name": "builder_grammar",
5
+ "version": "1.1"
6
+ },
7
+ "elements": {
8
+ "colgroup": {
9
+ "_meta": {
10
+ "data_element": true
11
+ },
12
+ "attributes": {
13
+ "accepts_var_keyword": false,
14
+ "accepts_var_positional": false,
15
+ "parameters": [
16
+ {
17
+ "annotation": {
18
+ "base": {
19
+ "dtype": "T",
20
+ "kind": "dtype"
21
+ },
22
+ "kind": "annotated",
23
+ "metadata": [
24
+ {
25
+ "flags": 0,
26
+ "kind": "regex",
27
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
28
+ }
29
+ ]
30
+ },
31
+ "has_default": false,
32
+ "kind": "positional_or_keyword",
33
+ "name": "code",
34
+ "role": "attribute"
35
+ },
36
+ {
37
+ "annotation": {
38
+ "dtype": "T",
39
+ "kind": "dtype"
40
+ },
41
+ "default": null,
42
+ "has_default": true,
43
+ "kind": "keyword_only",
44
+ "name": "name",
45
+ "role": "attribute"
46
+ },
47
+ {
48
+ "annotation": {
49
+ "dtype": "T",
50
+ "kind": "dtype"
51
+ },
52
+ "default": null,
53
+ "has_default": true,
54
+ "kind": "keyword_only",
55
+ "name": "background",
56
+ "role": "attribute"
57
+ },
58
+ {
59
+ "annotation": {
60
+ "dtype": "T",
61
+ "kind": "dtype"
62
+ },
63
+ "default": null,
64
+ "has_default": true,
65
+ "kind": "keyword_only",
66
+ "name": "color",
67
+ "role": "attribute"
68
+ }
69
+ ]
70
+ },
71
+ "collection_key": null,
72
+ "doc": null,
73
+ "inherits_from": null,
74
+ "node_label": null,
75
+ "ns": null,
76
+ "parent_tags": "struct",
77
+ "sub_tags": "column"
78
+ },
79
+ "column": {
80
+ "_meta": {
81
+ "data_element": true
82
+ },
83
+ "attributes": {
84
+ "accepts_var_keyword": false,
85
+ "accepts_var_positional": false,
86
+ "parameters": [
87
+ {
88
+ "annotation": {
89
+ "base": {
90
+ "dtype": "T",
91
+ "kind": "dtype"
92
+ },
93
+ "kind": "annotated",
94
+ "metadata": [
95
+ {
96
+ "flags": 0,
97
+ "kind": "regex",
98
+ "pattern": "^[A-Za-z_][A-Za-z0-9_]*$"
99
+ }
100
+ ]
101
+ },
102
+ "has_default": false,
103
+ "kind": "positional_or_keyword",
104
+ "name": "field",
105
+ "role": "attribute"
106
+ },
107
+ {
108
+ "annotation": {
109
+ "dtype": "T",
110
+ "kind": "dtype"
111
+ },
112
+ "default": null,
113
+ "has_default": true,
114
+ "kind": "keyword_only",
115
+ "name": "name",
116
+ "role": "attribute"
117
+ },
118
+ {
119
+ "annotation": {
120
+ "base": {
121
+ "dtype": "T",
122
+ "kind": "dtype"
123
+ },
124
+ "kind": "annotated",
125
+ "metadata": [
126
+ {
127
+ "flags": 0,
128
+ "kind": "regex",
129
+ "pattern": "^(T|B|L|R|N|D|H|DHZ)$"
130
+ }
131
+ ]
132
+ },
133
+ "default": null,
134
+ "has_default": true,
135
+ "kind": "keyword_only",
136
+ "name": "dtype",
137
+ "role": "attribute"
138
+ },
139
+ {
140
+ "annotation": {
141
+ "base": {
142
+ "dtype": "T",
143
+ "kind": "dtype"
144
+ },
145
+ "kind": "annotated",
146
+ "metadata": [
147
+ {
148
+ "flags": 0,
149
+ "kind": "regex",
150
+ "pattern": "^[0-9]+([.][0-9]+)?(px|em|rem|ch|%)$"
151
+ }
152
+ ]
153
+ },
154
+ "default": null,
155
+ "has_default": true,
156
+ "kind": "keyword_only",
157
+ "name": "width",
158
+ "role": "attribute"
159
+ },
160
+ {
161
+ "annotation": {
162
+ "base": {
163
+ "dtype": "T",
164
+ "kind": "dtype"
165
+ },
166
+ "kind": "annotated",
167
+ "metadata": [
168
+ {
169
+ "flags": 0,
170
+ "kind": "regex",
171
+ "pattern": "^(start|center|end)$"
172
+ }
173
+ ]
174
+ },
175
+ "default": null,
176
+ "has_default": true,
177
+ "kind": "keyword_only",
178
+ "name": "align",
179
+ "role": "attribute"
180
+ },
181
+ {
182
+ "annotation": {
183
+ "dtype": "T",
184
+ "kind": "dtype"
185
+ },
186
+ "default": null,
187
+ "has_default": true,
188
+ "kind": "keyword_only",
189
+ "name": "format",
190
+ "role": "attribute"
191
+ },
192
+ {
193
+ "annotation": {
194
+ "base": {
195
+ "dtype": "T",
196
+ "kind": "dtype"
197
+ },
198
+ "kind": "annotated",
199
+ "metadata": [
200
+ {
201
+ "flags": 0,
202
+ "kind": "regex",
203
+ "pattern": "^(normal|nowrap|pre-wrap)$"
204
+ }
205
+ ]
206
+ },
207
+ "default": null,
208
+ "has_default": true,
209
+ "kind": "keyword_only",
210
+ "name": "white_space",
211
+ "role": "attribute"
212
+ },
213
+ {
214
+ "annotation": {
215
+ "items": [
216
+ {
217
+ "dtype": "B",
218
+ "kind": "dtype"
219
+ },
220
+ {
221
+ "kind": "type",
222
+ "module": "builtins",
223
+ "name": "dict"
224
+ }
225
+ ],
226
+ "kind": "union"
227
+ },
228
+ "default": false,
229
+ "has_default": true,
230
+ "kind": "keyword_only",
231
+ "name": "edit",
232
+ "role": "attribute"
233
+ }
234
+ ]
235
+ },
236
+ "collection_key": null,
237
+ "doc": null,
238
+ "inherits_from": null,
239
+ "node_label": null,
240
+ "ns": null,
241
+ "parent_tags": "struct,colgroup",
242
+ "sub_tags": ""
243
+ },
244
+ "grid": {
245
+ "_meta": {
246
+ "gramlot_component": {
247
+ "bagStore": true,
248
+ "bagStruct": true,
249
+ "command": false,
250
+ "dataScope": false,
251
+ "parameters": {
252
+ "filter": {
253
+ "annotation": {
254
+ "kind": "type",
255
+ "module": "builtins",
256
+ "name": "dict"
257
+ },
258
+ "binding": "read",
259
+ "default": null,
260
+ "nullable": true
261
+ },
262
+ "loading": {
263
+ "binding": "read",
264
+ "default": false,
265
+ "dtype": "B"
266
+ },
267
+ "rowHeaders": {
268
+ "binding": "read",
269
+ "default": false,
270
+ "dtype": "B"
271
+ },
272
+ "rowMode": {
273
+ "dtype": "T"
274
+ },
275
+ "rowResize": {
276
+ "binding": "read",
277
+ "default": false,
278
+ "dtype": "B"
279
+ },
280
+ "selfDragRows": {
281
+ "binding": "read",
282
+ "default": false,
283
+ "dtype": "B"
284
+ },
285
+ "sortRequest": {
286
+ "binding": "write",
287
+ "default": "",
288
+ "dtype": "T"
289
+ },
290
+ "sortedBy": {
291
+ "binding": "read",
292
+ "default": "",
293
+ "dtype": "T"
294
+ },
295
+ "storepath": {
296
+ "dtype": "T"
297
+ },
298
+ "structpath": {
299
+ "dtype": "T"
300
+ },
301
+ "viewport": {
302
+ "binding": "write",
303
+ "default": null,
304
+ "dtype": "X",
305
+ "nullable": true
306
+ },
307
+ "windowInfo": {
308
+ "binding": "read",
309
+ "default": null,
310
+ "dtype": "X",
311
+ "nullable": true
312
+ }
313
+ },
314
+ "presentationDefaults": [],
315
+ "sourceContext": true
316
+ },
317
+ "render_tag": "gramlot-grid"
318
+ },
319
+ "attributes": {
320
+ "accepts_var_keyword": true,
321
+ "accepts_var_positional": false,
322
+ "parameters": [
323
+ {
324
+ "annotation": {
325
+ "items": [
326
+ {
327
+ "dtype": "X",
328
+ "kind": "dtype"
329
+ },
330
+ {
331
+ "dtype": "NN",
332
+ "kind": "dtype"
333
+ },
334
+ {
335
+ "base": {
336
+ "dtype": "T",
337
+ "kind": "dtype"
338
+ },
339
+ "kind": "annotated",
340
+ "metadata": [
341
+ {
342
+ "flags": 0,
343
+ "kind": "regex",
344
+ "pattern": "^[\\^=].+"
345
+ }
346
+ ]
347
+ }
348
+ ],
349
+ "kind": "union"
350
+ },
351
+ "default": null,
352
+ "has_default": true,
353
+ "kind": "keyword_only",
354
+ "name": "windowInfo",
355
+ "role": "attribute"
356
+ },
357
+ {
358
+ "annotation": {
359
+ "items": [
360
+ {
361
+ "dtype": "B",
362
+ "kind": "dtype"
363
+ },
364
+ {
365
+ "base": {
366
+ "dtype": "T",
367
+ "kind": "dtype"
368
+ },
369
+ "kind": "annotated",
370
+ "metadata": [
371
+ {
372
+ "flags": 0,
373
+ "kind": "regex",
374
+ "pattern": "^[\\^=].+"
375
+ }
376
+ ]
377
+ }
378
+ ],
379
+ "kind": "union"
380
+ },
381
+ "default": false,
382
+ "has_default": true,
383
+ "kind": "keyword_only",
384
+ "name": "loading",
385
+ "role": "attribute"
386
+ },
387
+ {
388
+ "annotation": {
389
+ "items": [
390
+ {
391
+ "dtype": "X",
392
+ "kind": "dtype"
393
+ },
394
+ {
395
+ "dtype": "NN",
396
+ "kind": "dtype"
397
+ },
398
+ {
399
+ "base": {
400
+ "dtype": "T",
401
+ "kind": "dtype"
402
+ },
403
+ "kind": "annotated",
404
+ "metadata": [
405
+ {
406
+ "flags": 0,
407
+ "kind": "regex",
408
+ "pattern": "^[\\^=].+"
409
+ }
410
+ ]
411
+ }
412
+ ],
413
+ "kind": "union"
414
+ },
415
+ "default": null,
416
+ "has_default": true,
417
+ "kind": "keyword_only",
418
+ "name": "viewport",
419
+ "role": "attribute"
420
+ },
421
+ {
422
+ "annotation": {
423
+ "dtype": "T",
424
+ "kind": "dtype"
425
+ },
426
+ "default": "",
427
+ "has_default": true,
428
+ "kind": "keyword_only",
429
+ "name": "sortRequest",
430
+ "role": "attribute"
431
+ },
432
+ {
433
+ "annotation": {
434
+ "dtype": "T",
435
+ "kind": "dtype"
436
+ },
437
+ "has_default": false,
438
+ "kind": "keyword_only",
439
+ "name": "storepath",
440
+ "role": "attribute"
441
+ },
442
+ {
443
+ "annotation": {
444
+ "dtype": "T",
445
+ "kind": "dtype"
446
+ },
447
+ "default": null,
448
+ "has_default": true,
449
+ "kind": "keyword_only",
450
+ "name": "structpath",
451
+ "role": "attribute"
452
+ },
453
+ {
454
+ "annotation": {
455
+ "base": {
456
+ "dtype": "T",
457
+ "kind": "dtype"
458
+ },
459
+ "kind": "annotated",
460
+ "metadata": [
461
+ {
462
+ "flags": 0,
463
+ "kind": "regex",
464
+ "pattern": "^(values|attributes)$"
465
+ }
466
+ ]
467
+ },
468
+ "has_default": false,
469
+ "kind": "keyword_only",
470
+ "name": "rowMode",
471
+ "role": "attribute"
472
+ },
473
+ {
474
+ "annotation": {
475
+ "items": [
476
+ {
477
+ "dtype": "B",
478
+ "kind": "dtype"
479
+ },
480
+ {
481
+ "base": {
482
+ "dtype": "T",
483
+ "kind": "dtype"
484
+ },
485
+ "kind": "annotated",
486
+ "metadata": [
487
+ {
488
+ "flags": 0,
489
+ "kind": "regex",
490
+ "pattern": "^[\\^=].+"
491
+ }
492
+ ]
493
+ }
494
+ ],
495
+ "kind": "union"
496
+ },
497
+ "default": false,
498
+ "has_default": true,
499
+ "kind": "keyword_only",
500
+ "name": "rowHeaders",
501
+ "role": "attribute"
502
+ },
503
+ {
504
+ "annotation": {
505
+ "items": [
506
+ {
507
+ "dtype": "B",
508
+ "kind": "dtype"
509
+ },
510
+ {
511
+ "base": {
512
+ "dtype": "T",
513
+ "kind": "dtype"
514
+ },
515
+ "kind": "annotated",
516
+ "metadata": [
517
+ {
518
+ "flags": 0,
519
+ "kind": "regex",
520
+ "pattern": "^[\\^=].+"
521
+ }
522
+ ]
523
+ }
524
+ ],
525
+ "kind": "union"
526
+ },
527
+ "default": false,
528
+ "has_default": true,
529
+ "kind": "keyword_only",
530
+ "name": "rowResize",
531
+ "role": "attribute"
532
+ },
533
+ {
534
+ "annotation": {
535
+ "items": [
536
+ {
537
+ "dtype": "B",
538
+ "kind": "dtype"
539
+ },
540
+ {
541
+ "base": {
542
+ "dtype": "T",
543
+ "kind": "dtype"
544
+ },
545
+ "kind": "annotated",
546
+ "metadata": [
547
+ {
548
+ "flags": 0,
549
+ "kind": "regex",
550
+ "pattern": "^[\\^=].+"
551
+ }
552
+ ]
553
+ }
554
+ ],
555
+ "kind": "union"
556
+ },
557
+ "default": false,
558
+ "has_default": true,
559
+ "kind": "keyword_only",
560
+ "name": "selfDragRows",
561
+ "role": "attribute"
562
+ },
563
+ {
564
+ "annotation": {
565
+ "dtype": "T",
566
+ "kind": "dtype"
567
+ },
568
+ "default": "",
569
+ "has_default": true,
570
+ "kind": "keyword_only",
571
+ "name": "sortedBy",
572
+ "role": "attribute"
573
+ },
574
+ {
575
+ "annotation": {
576
+ "items": [
577
+ {
578
+ "kind": "type",
579
+ "module": "builtins",
580
+ "name": "dict"
581
+ },
582
+ {
583
+ "dtype": "NN",
584
+ "kind": "dtype"
585
+ },
586
+ {
587
+ "base": {
588
+ "dtype": "T",
589
+ "kind": "dtype"
590
+ },
591
+ "kind": "annotated",
592
+ "metadata": [
593
+ {
594
+ "flags": 0,
595
+ "kind": "regex",
596
+ "pattern": "^[\\^=].+"
597
+ }
598
+ ]
599
+ }
600
+ ],
601
+ "kind": "union"
602
+ },
603
+ "default": null,
604
+ "has_default": true,
605
+ "kind": "keyword_only",
606
+ "name": "filter",
607
+ "role": "attribute"
608
+ },
609
+ {
610
+ "annotation": {
611
+ "kind": "any"
612
+ },
613
+ "has_default": false,
614
+ "kind": "var_keyword",
615
+ "name": "attr",
616
+ "role": "attribute"
617
+ }
618
+ ]
619
+ },
620
+ "collection_key": null,
621
+ "doc": null,
622
+ "inherits_from": null,
623
+ "node_label": null,
624
+ "ns": null,
625
+ "parent_tags": null,
626
+ "sub_tags": "struct,div"
627
+ },
628
+ "searchBox": {
629
+ "_meta": {
630
+ "gramlot_component": {
631
+ "command": false,
632
+ "dataScope": false,
633
+ "parameters": {
634
+ "searchOn": {
635
+ "binding": "read",
636
+ "default": true,
637
+ "dtype": [
638
+ "B",
639
+ "T"
640
+ ]
641
+ },
642
+ "searchTime": {
643
+ "binding": "write",
644
+ "default": null,
645
+ "dtype": "R",
646
+ "nullable": true
647
+ }
648
+ },
649
+ "presentationDefaults": [],
650
+ "sourceContext": true
651
+ },
652
+ "render_tag": "gramlot-search-box"
653
+ },
654
+ "attributes": {
655
+ "accepts_var_keyword": true,
656
+ "accepts_var_positional": false,
657
+ "parameters": [
658
+ {
659
+ "annotation": {
660
+ "items": [
661
+ {
662
+ "dtype": "B",
663
+ "kind": "dtype"
664
+ },
665
+ {
666
+ "dtype": "T",
667
+ "kind": "dtype"
668
+ },
669
+ {
670
+ "base": {
671
+ "dtype": "T",
672
+ "kind": "dtype"
673
+ },
674
+ "kind": "annotated",
675
+ "metadata": [
676
+ {
677
+ "flags": 0,
678
+ "kind": "regex",
679
+ "pattern": "^[\\^=].+"
680
+ }
681
+ ]
682
+ }
683
+ ],
684
+ "kind": "union"
685
+ },
686
+ "default": true,
687
+ "has_default": true,
688
+ "kind": "keyword_only",
689
+ "name": "searchOn",
690
+ "role": "attribute"
691
+ },
692
+ {
693
+ "annotation": {
694
+ "items": [
695
+ {
696
+ "dtype": "R",
697
+ "kind": "dtype"
698
+ },
699
+ {
700
+ "dtype": "NN",
701
+ "kind": "dtype"
702
+ },
703
+ {
704
+ "base": {
705
+ "dtype": "T",
706
+ "kind": "dtype"
707
+ },
708
+ "kind": "annotated",
709
+ "metadata": [
710
+ {
711
+ "flags": 0,
712
+ "kind": "regex",
713
+ "pattern": "^[\\^=].+"
714
+ }
715
+ ]
716
+ }
717
+ ],
718
+ "kind": "union"
719
+ },
720
+ "default": null,
721
+ "has_default": true,
722
+ "kind": "keyword_only",
723
+ "name": "searchTime",
724
+ "role": "attribute"
725
+ },
726
+ {
727
+ "annotation": {
728
+ "kind": "any"
729
+ },
730
+ "has_default": false,
731
+ "kind": "var_keyword",
732
+ "name": "attr",
733
+ "role": "attribute"
734
+ }
735
+ ]
736
+ },
737
+ "collection_key": null,
738
+ "doc": null,
739
+ "inherits_from": null,
740
+ "node_label": null,
741
+ "ns": null,
742
+ "parent_tags": null,
743
+ "sub_tags": ""
744
+ },
745
+ "struct": {
746
+ "_meta": {
747
+ "data_element": true,
748
+ "gridStruct": true
749
+ },
750
+ "attributes": {
751
+ "accepts_var_keyword": false,
752
+ "accepts_var_positional": false,
753
+ "parameters": []
754
+ },
755
+ "collection_key": null,
756
+ "doc": null,
757
+ "inherits_from": null,
758
+ "node_label": null,
759
+ "ns": null,
760
+ "parent_tags": "grid",
761
+ "sub_tags": "column,colgroup"
762
+ }
763
+ },
764
+ "grammar": {
765
+ "description": null,
766
+ "name": "grid",
767
+ "title": "grid",
768
+ "version": null
769
+ }
770
+ }