@gramlot/gramlot 0.3.27 → 0.3.30

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 (194) hide show
  1. package/assets/icons/chart.svg +1 -0
  2. package/dist/components/audio/__init__.py +13 -0
  3. package/dist/components/audio/assets/collection.js +3 -0
  4. package/dist/components/audio/assets/index.js +3 -0
  5. package/dist/components/audio/commands.json +7 -0
  6. package/dist/components/audio/grammar.json +335 -0
  7. package/dist/components/charts/__init__.py +13 -0
  8. package/dist/components/charts/assets/collection.js +47 -0
  9. package/dist/components/charts/assets/files/55ea01207028f76d844678511f29fc800f8a1e67a8a0fe80470128677847ad32-echarts-gl.txt +29 -0
  10. package/dist/components/charts/assets/files/63727832aaf62004a2b249c933e327f3c90caf49e41a72f4bf436edf632cbda8-vega.txt +27 -0
  11. package/dist/components/charts/assets/files/8c45d9eaf50c2f72dd9c7ab9ef440788ba58a3538484b5c51c1f17d5128752e7-plotly.txt +21 -0
  12. package/dist/components/charts/assets/files/8f989229699b4fe2f1a0432d0e9edc338a8a911e250e2d1b01ecd770a5f5b1bd-uplot.txt +21 -0
  13. package/dist/components/charts/assets/files/c8fa058cba98f7f288b5d8fa4116f441d6dacb25b96da859e518c973fff41d0c-claygl.txt +23 -0
  14. package/dist/components/charts/assets/index.js +3 -0
  15. package/dist/components/charts/assets/modules/chunk-2CCTLZE7.js +76 -0
  16. package/dist/components/charts/assets/modules/chunk-RMRBEYTI.js +1 -0
  17. package/dist/components/charts/assets/modules/echarts-gl-CXVTZA6G.js +4409 -0
  18. package/dist/components/charts/assets/modules/plotly.min-4LB7HE7P.js +3596 -0
  19. package/dist/components/charts/assets/modules/uPlot.esm-5JJNHHRF.js +3 -0
  20. package/dist/components/charts/assets/modules/uPlot.min-N3E3FA74.js +1 -0
  21. package/dist/components/charts/assets/modules/vega.module-2QCOVQ3A.js +13 -0
  22. package/dist/components/charts/commands.json +7 -0
  23. package/dist/components/charts/grammar.json +1113 -0
  24. package/dist/components/chat/__init__.py +1 -1
  25. package/dist/components/chat/assets/collection.js +3 -3
  26. package/dist/components/chat/assets/index.js +1 -1
  27. package/dist/components/drawing/__init__.py +15 -0
  28. package/dist/components/drawing/assets/collection.js +28 -0
  29. package/dist/components/drawing/assets/index.js +3 -0
  30. package/dist/components/drawing/commands.json +7 -0
  31. package/dist/components/drawing/grammar.json +110 -0
  32. package/dist/components/editors/__init__.py +2 -2
  33. package/dist/components/editors/assets/collection.js +18 -18
  34. package/dist/components/editors/assets/index.js +1 -1
  35. package/dist/components/editors/assets/modules/{prose-mirror-engine-GMZPJPNN.js → prose-mirror-engine-DQEAEIMV.js} +2 -2
  36. package/dist/components/editors/grammar.json +150 -0
  37. package/dist/components/grid/__init__.py +1 -1
  38. package/dist/components/grid/assets/collection.js +51 -30
  39. package/dist/components/grid/assets/index.js +1 -1
  40. package/dist/components/grid/grammar.json +258 -0
  41. package/dist/components/grouplets/__init__.py +1 -1
  42. package/dist/components/grouplets/assets/collection.js +3 -3
  43. package/dist/components/grouplets/assets/index.js +1 -1
  44. package/dist/components/inputs/__init__.py +3 -2
  45. package/dist/components/inputs/assets/collection.js +38 -23
  46. package/dist/components/inputs/assets/index.js +1 -1
  47. package/dist/components/inputs/grammar.json +1533 -321
  48. package/dist/components/layout/__init__.py +1 -1
  49. package/dist/components/layout/assets/collection.js +27 -23
  50. package/dist/components/layout/assets/index.js +1 -1
  51. package/dist/components/layout/grammar.json +85 -0
  52. package/dist/components/selection_trial/__init__.py +1 -1
  53. package/dist/components/selection_trial/assets/collection.js +3 -3
  54. package/dist/components/selection_trial/assets/index.js +1 -1
  55. package/dist/components/tree/__init__.py +1 -1
  56. package/dist/components/tree/assets/collection.js +11 -11
  57. package/dist/components/tree/assets/index.js +1 -1
  58. package/dist/components/tree/grammar.json +126 -0
  59. package/dist/components/typst/__init__.py +1 -1
  60. package/dist/components/typst/assets/collection.js +2 -2
  61. package/dist/components/typst/assets/index.js +1 -1
  62. package/dist/components/uploads/__init__.py +1 -1
  63. package/dist/components/uploads/assets/collection.js +8 -8
  64. package/dist/components/uploads/assets/index.js +1 -1
  65. package/dist/components/vizabi/__init__.py +13 -0
  66. package/dist/components/vizabi/assets/collection.js +22 -0
  67. package/dist/components/vizabi/assets/index.js +3 -0
  68. package/dist/components/vizabi/commands.json +7 -0
  69. package/dist/components/vizabi/grammar.json +128 -0
  70. package/dist/gramlot.js +572 -176
  71. package/dist/gramlot.min.js +85 -53
  72. package/dist/standard-collections.js +2 -0
  73. package/package.json +12 -4
  74. package/src/binding/grid-struct.js +2 -2
  75. package/src/binding/runtime.js +10 -0
  76. package/src/bootstrap.js +1 -1
  77. package/src/builder/gramlot-builder.d.ts +15 -2
  78. package/src/builder/gramlot-builder.js +22 -3
  79. package/src/builder/source.js +24 -1
  80. package/src/components/audio-analysis-session.js +65 -0
  81. package/src/components/audio.js +44 -0
  82. package/src/components/bases.js +6 -4
  83. package/src/components/border-container.js +6 -3
  84. package/src/components/buttons.js +47 -3
  85. package/src/components/chart-bar3d-options.js +30 -0
  86. package/src/components/chart-controls.js +83 -0
  87. package/src/components/chart-data-view.js +52 -0
  88. package/src/components/chart-data.js +42 -0
  89. package/src/components/chart-domains.js +46 -0
  90. package/src/components/chart-engines/echarts-options.js +50 -0
  91. package/src/components/chart-engines/echarts.js +82 -0
  92. package/src/components/chart-engines/index.js +22 -0
  93. package/src/components/chart-engines/plotly-map.js +34 -0
  94. package/src/components/chart-engines/plotly-spatial.js +35 -0
  95. package/src/components/chart-engines/plotly.js +138 -0
  96. package/src/components/chart-engines/uplot.js +57 -0
  97. package/src/components/chart-engines/vega.js +101 -0
  98. package/src/components/chart-fields.js +110 -0
  99. package/src/components/chart-geographic-options.js +47 -0
  100. package/src/components/chart-geojson.js +60 -0
  101. package/src/components/chart-geometry.js +11 -0
  102. package/src/components/chart-map-anchors.js +24 -0
  103. package/src/components/chart-map-bar3d-options.js +41 -0
  104. package/src/components/chart-map-data.js +25 -0
  105. package/src/components/chart-map-labels.js +8 -0
  106. package/src/components/chart-map-options.js +20 -0
  107. package/src/components/chart-pane.js +91 -0
  108. package/src/components/chart-renderer.js +58 -0
  109. package/src/components/chart-sample-view.js +32 -0
  110. package/src/components/chart-spatial-options.js +40 -0
  111. package/src/components/chart-time.js +84 -0
  112. package/src/components/chart-timeline.js +70 -0
  113. package/src/components/chart-types/area.js +2 -0
  114. package/src/components/chart-types/bar.js +2 -0
  115. package/src/components/chart-types/bar3D.js +2 -0
  116. package/src/components/chart-types/donut.js +2 -0
  117. package/src/components/chart-types/horizontalBar.js +2 -0
  118. package/src/components/chart-types/index.js +26 -0
  119. package/src/components/chart-types/line.js +2 -0
  120. package/src/components/chart-types/line3D.js +2 -0
  121. package/src/components/chart-types/lines3D.js +2 -0
  122. package/src/components/chart-types/map.js +2 -0
  123. package/src/components/chart-types/map3D.js +2 -0
  124. package/src/components/chart-types/mapBar3D.js +2 -0
  125. package/src/components/chart-types/pie.js +2 -0
  126. package/src/components/chart-types/polygons3D.js +2 -0
  127. package/src/components/chart-types/scatter.js +2 -0
  128. package/src/components/chart-types/scatter3D.js +2 -0
  129. package/src/components/chart-types/stackedArea.js +2 -0
  130. package/src/components/chart-types/stackedBar.js +2 -0
  131. package/src/components/chart-types/surface.js +2 -0
  132. package/src/components/charts.js +152 -0
  133. package/src/components/check-box-text-editor.js +88 -0
  134. package/src/components/check-box-text.js +193 -0
  135. package/src/components/check-box-tree.js +62 -0
  136. package/src/components/choice-editor.js +7 -5
  137. package/src/components/choice-field-styles.js +14 -0
  138. package/src/components/choices.js +5 -0
  139. package/src/components/drawing.js +199 -0
  140. package/src/components/grid-check-sets.js +98 -0
  141. package/src/components/grid-column-filters.js +198 -0
  142. package/src/components/grid-grammar.json +44 -0
  143. package/src/components/grid-header-interaction.js +3 -1
  144. package/src/components/grid-rows.js +2 -2
  145. package/src/components/grid-search-box.js +38 -22
  146. package/src/components/grid-search-styles.js +13 -14
  147. package/src/components/grid-search.js +8 -1
  148. package/src/components/grid-structure.js +10 -2
  149. package/src/components/grid-styles.js +23 -0
  150. package/src/components/grid.js +52 -10
  151. package/src/components/image-uploader.js +2 -2
  152. package/src/components/inputs.js +19 -10
  153. package/src/components/labelbox.js +5 -1
  154. package/src/components/licenses/claygl.txt +23 -0
  155. package/src/components/licenses/echarts-gl.txt +29 -0
  156. package/src/components/licenses/plotly.txt +21 -0
  157. package/src/components/licenses/uplot.txt +21 -0
  158. package/src/components/licenses/vega.txt +27 -0
  159. package/src/components/menus.js +19 -11
  160. package/src/components/toolbar-overflow.js +12 -8
  161. package/src/components/tree.js +30 -8
  162. package/src/components/typed-editor.js +14 -3
  163. package/src/components/vizabi-session.js +66 -0
  164. package/src/components/vizabi.js +66 -0
  165. package/src/components/window-surface.js +20 -9
  166. package/src/components/windows.js +1 -1
  167. package/src/gramlot.d.ts +1 -0
  168. package/src/gramlot.js +2 -0
  169. package/src/handlers/device-handler.js +32 -32
  170. package/src/handlers/source-handler.d.ts +2 -2
  171. package/src/ide-documents.js +19 -3
  172. package/src/ide-runtime.d.ts +1 -0
  173. package/src/ide-runtime.js +45 -31
  174. package/src/index.d.ts +1 -0
  175. package/src/renderer/drag-drop.js +1 -0
  176. package/src/renderer/gramlot-renderer.d.ts +2 -0
  177. package/src/renderer/gramlot-renderer.js +5 -4
  178. package/src/server/assets.d.ts +3 -0
  179. package/src/server/assets.js +9 -0
  180. package/src/server/gramlot-server.d.ts +1 -1
  181. package/src/server/gramlot-server.js +2 -1
  182. package/src/server/index.d.ts +1 -1
  183. package/src/server/index.js +1 -1
  184. package/src/server/visual-editor.js +17 -17
  185. package/src/stores/bag-collection-view.js +79 -17
  186. package/src/stores/collection-filter.js +2 -1
  187. package/src/stores/column-filter.js +49 -0
  188. package/src/stores/id-set.js +10 -0
  189. package/src/view/controls.js +8 -0
  190. package/src/view/html.js +10 -1
  191. package/src/view/label-menu.js +61 -0
  192. package/src/view/labelbox.js +15 -2
  193. package/themes/gramlot-base/theme.css +6 -0
  194. package/tools/gramlot-tools-inspector.js +169 -505
@@ -0,0 +1,1113 @@
1
+ {
2
+ "abstracts": {},
3
+ "document_format": {
4
+ "name": "builder_grammar",
5
+ "version": "1.1"
6
+ },
7
+ "elements": {
8
+ "chartFields": {
9
+ "_meta": {
10
+ "gramlot_component": {
11
+ "bagStore": true,
12
+ "command": false,
13
+ "dataScope": false,
14
+ "parameters": {
15
+ "categoryId": {
16
+ "dtype": "T"
17
+ },
18
+ "configpath": {
19
+ "dtype": "T"
20
+ },
21
+ "geometryId": {
22
+ "dtype": "T"
23
+ },
24
+ "mapLabelId": {
25
+ "dtype": "T"
26
+ },
27
+ "mapMeasureId": {
28
+ "dtype": "T"
29
+ },
30
+ "measureMenuId": {
31
+ "dtype": "T"
32
+ },
33
+ "rowMode": {
34
+ "dtype": "T"
35
+ },
36
+ "secondCategoryId": {
37
+ "dtype": "T"
38
+ },
39
+ "storepath": {
40
+ "dtype": "T"
41
+ },
42
+ "timeFieldId": {
43
+ "dtype": "T"
44
+ }
45
+ },
46
+ "presentationDefaults": [],
47
+ "sourceContext": true
48
+ },
49
+ "render_tag": "gramlot-chart-fields"
50
+ },
51
+ "attributes": {
52
+ "accepts_var_keyword": true,
53
+ "accepts_var_positional": false,
54
+ "parameters": [
55
+ {
56
+ "annotation": {
57
+ "dtype": "T",
58
+ "kind": "dtype"
59
+ },
60
+ "default": null,
61
+ "has_default": true,
62
+ "kind": "keyword_only",
63
+ "name": "timeFieldId",
64
+ "role": "attribute"
65
+ },
66
+ {
67
+ "annotation": {
68
+ "dtype": "T",
69
+ "kind": "dtype"
70
+ },
71
+ "default": null,
72
+ "has_default": true,
73
+ "kind": "keyword_only",
74
+ "name": "storepath",
75
+ "role": "attribute"
76
+ },
77
+ {
78
+ "annotation": {
79
+ "dtype": "T",
80
+ "kind": "dtype"
81
+ },
82
+ "default": null,
83
+ "has_default": true,
84
+ "kind": "keyword_only",
85
+ "name": "rowMode",
86
+ "role": "attribute"
87
+ },
88
+ {
89
+ "annotation": {
90
+ "dtype": "T",
91
+ "kind": "dtype"
92
+ },
93
+ "default": null,
94
+ "has_default": true,
95
+ "kind": "keyword_only",
96
+ "name": "configpath",
97
+ "role": "attribute"
98
+ },
99
+ {
100
+ "annotation": {
101
+ "dtype": "T",
102
+ "kind": "dtype"
103
+ },
104
+ "default": null,
105
+ "has_default": true,
106
+ "kind": "keyword_only",
107
+ "name": "categoryId",
108
+ "role": "attribute"
109
+ },
110
+ {
111
+ "annotation": {
112
+ "dtype": "T",
113
+ "kind": "dtype"
114
+ },
115
+ "default": null,
116
+ "has_default": true,
117
+ "kind": "keyword_only",
118
+ "name": "mapMeasureId",
119
+ "role": "attribute"
120
+ },
121
+ {
122
+ "annotation": {
123
+ "dtype": "T",
124
+ "kind": "dtype"
125
+ },
126
+ "default": null,
127
+ "has_default": true,
128
+ "kind": "keyword_only",
129
+ "name": "mapLabelId",
130
+ "role": "attribute"
131
+ },
132
+ {
133
+ "annotation": {
134
+ "dtype": "T",
135
+ "kind": "dtype"
136
+ },
137
+ "default": null,
138
+ "has_default": true,
139
+ "kind": "keyword_only",
140
+ "name": "secondCategoryId",
141
+ "role": "attribute"
142
+ },
143
+ {
144
+ "annotation": {
145
+ "dtype": "T",
146
+ "kind": "dtype"
147
+ },
148
+ "default": null,
149
+ "has_default": true,
150
+ "kind": "keyword_only",
151
+ "name": "geometryId",
152
+ "role": "attribute"
153
+ },
154
+ {
155
+ "annotation": {
156
+ "dtype": "T",
157
+ "kind": "dtype"
158
+ },
159
+ "default": null,
160
+ "has_default": true,
161
+ "kind": "keyword_only",
162
+ "name": "measureMenuId",
163
+ "role": "attribute"
164
+ },
165
+ {
166
+ "annotation": {
167
+ "kind": "any"
168
+ },
169
+ "has_default": false,
170
+ "kind": "var_keyword",
171
+ "name": "attr",
172
+ "role": "attribute"
173
+ }
174
+ ]
175
+ },
176
+ "collection_key": null,
177
+ "doc": null,
178
+ "inherits_from": null,
179
+ "node_label": null,
180
+ "ns": null,
181
+ "parent_tags": null,
182
+ "sub_tags": ""
183
+ },
184
+ "chartGeoJSON": {
185
+ "_meta": {
186
+ "gramlot_component": {
187
+ "command": false,
188
+ "dataScope": false,
189
+ "parameters": {
190
+ "value": {
191
+ "binding": "twoWay",
192
+ "default": null,
193
+ "dtype": "X",
194
+ "nullable": true
195
+ }
196
+ },
197
+ "presentationDefaults": [],
198
+ "sourceContext": true
199
+ },
200
+ "render_tag": "gramlot-chart-geo-json"
201
+ },
202
+ "attributes": {
203
+ "accepts_var_keyword": true,
204
+ "accepts_var_positional": false,
205
+ "parameters": [
206
+ {
207
+ "annotation": {
208
+ "items": [
209
+ {
210
+ "dtype": "X",
211
+ "kind": "dtype"
212
+ },
213
+ {
214
+ "dtype": "NN",
215
+ "kind": "dtype"
216
+ },
217
+ {
218
+ "base": {
219
+ "dtype": "T",
220
+ "kind": "dtype"
221
+ },
222
+ "kind": "annotated",
223
+ "metadata": [
224
+ {
225
+ "flags": 0,
226
+ "kind": "regex",
227
+ "pattern": "^[\\^=].+"
228
+ }
229
+ ]
230
+ }
231
+ ],
232
+ "kind": "union"
233
+ },
234
+ "default": null,
235
+ "has_default": true,
236
+ "kind": "keyword_only",
237
+ "name": "value",
238
+ "role": "attribute"
239
+ },
240
+ {
241
+ "annotation": {
242
+ "kind": "any"
243
+ },
244
+ "has_default": false,
245
+ "kind": "var_keyword",
246
+ "name": "attr",
247
+ "role": "attribute"
248
+ }
249
+ ]
250
+ },
251
+ "collection_key": null,
252
+ "doc": null,
253
+ "inherits_from": null,
254
+ "node_label": null,
255
+ "ns": null,
256
+ "parent_tags": null,
257
+ "sub_tags": ""
258
+ },
259
+ "chartPane": {
260
+ "_meta": {
261
+ "gramlot_component": {
262
+ "command": false,
263
+ "dataScope": false,
264
+ "parameters": {
265
+ "configDefaults": {
266
+ "dtype": "X",
267
+ "nullable": true
268
+ },
269
+ "configpath": {
270
+ "dtype": "T"
271
+ },
272
+ "gridId": {
273
+ "dtype": "T",
274
+ "nullable": true
275
+ },
276
+ "rowMode": {
277
+ "default": "attributes",
278
+ "dtype": "T"
279
+ },
280
+ "storepath": {
281
+ "dtype": "T"
282
+ }
283
+ },
284
+ "presentationDefaults": [],
285
+ "sourceContext": true
286
+ },
287
+ "render_tag": "gramlot-chart-pane"
288
+ },
289
+ "attributes": {
290
+ "accepts_var_keyword": true,
291
+ "accepts_var_positional": false,
292
+ "parameters": [
293
+ {
294
+ "annotation": {
295
+ "items": [
296
+ {
297
+ "dtype": "X",
298
+ "kind": "dtype"
299
+ },
300
+ {
301
+ "dtype": "NN",
302
+ "kind": "dtype"
303
+ }
304
+ ],
305
+ "kind": "union"
306
+ },
307
+ "default": null,
308
+ "has_default": true,
309
+ "kind": "keyword_only",
310
+ "name": "configDefaults",
311
+ "role": "attribute"
312
+ },
313
+ {
314
+ "annotation": {
315
+ "dtype": "T",
316
+ "kind": "dtype"
317
+ },
318
+ "default": null,
319
+ "has_default": true,
320
+ "kind": "keyword_only",
321
+ "name": "storepath",
322
+ "role": "attribute"
323
+ },
324
+ {
325
+ "annotation": {
326
+ "dtype": "T",
327
+ "kind": "dtype"
328
+ },
329
+ "default": null,
330
+ "has_default": true,
331
+ "kind": "keyword_only",
332
+ "name": "configpath",
333
+ "role": "attribute"
334
+ },
335
+ {
336
+ "annotation": {
337
+ "dtype": "T",
338
+ "kind": "dtype"
339
+ },
340
+ "default": "attributes",
341
+ "has_default": true,
342
+ "kind": "keyword_only",
343
+ "name": "rowMode",
344
+ "role": "attribute"
345
+ },
346
+ {
347
+ "annotation": {
348
+ "items": [
349
+ {
350
+ "dtype": "T",
351
+ "kind": "dtype"
352
+ },
353
+ {
354
+ "dtype": "NN",
355
+ "kind": "dtype"
356
+ }
357
+ ],
358
+ "kind": "union"
359
+ },
360
+ "default": null,
361
+ "has_default": true,
362
+ "kind": "keyword_only",
363
+ "name": "gridId",
364
+ "role": "attribute"
365
+ },
366
+ {
367
+ "annotation": {
368
+ "kind": "any"
369
+ },
370
+ "has_default": false,
371
+ "kind": "var_keyword",
372
+ "name": "attr",
373
+ "role": "attribute"
374
+ }
375
+ ]
376
+ },
377
+ "collection_key": null,
378
+ "doc": null,
379
+ "inherits_from": null,
380
+ "node_label": null,
381
+ "ns": null,
382
+ "parent_tags": null,
383
+ "sub_tags": "*"
384
+ },
385
+ "chartTimeline": {
386
+ "_meta": {
387
+ "gramlot_component": {
388
+ "bagStore": true,
389
+ "command": false,
390
+ "dataScope": false,
391
+ "parameters": {
392
+ "configpath": {
393
+ "dtype": "T"
394
+ },
395
+ "rowMode": {
396
+ "dtype": "T"
397
+ },
398
+ "storepath": {
399
+ "dtype": "T"
400
+ },
401
+ "timeField": {
402
+ "binding": "read",
403
+ "dtype": "T"
404
+ },
405
+ "timeIndex": {
406
+ "binding": "read",
407
+ "dtype": "R"
408
+ },
409
+ "timeStep": {
410
+ "binding": "read",
411
+ "dtype": "T"
412
+ }
413
+ },
414
+ "presentationDefaults": [],
415
+ "sourceContext": true
416
+ },
417
+ "render_tag": "gramlot-chart-timeline"
418
+ },
419
+ "attributes": {
420
+ "accepts_var_keyword": true,
421
+ "accepts_var_positional": false,
422
+ "parameters": [
423
+ {
424
+ "annotation": {
425
+ "dtype": "T",
426
+ "kind": "dtype"
427
+ },
428
+ "default": null,
429
+ "has_default": true,
430
+ "kind": "keyword_only",
431
+ "name": "storepath",
432
+ "role": "attribute"
433
+ },
434
+ {
435
+ "annotation": {
436
+ "dtype": "T",
437
+ "kind": "dtype"
438
+ },
439
+ "default": null,
440
+ "has_default": true,
441
+ "kind": "keyword_only",
442
+ "name": "rowMode",
443
+ "role": "attribute"
444
+ },
445
+ {
446
+ "annotation": {
447
+ "dtype": "T",
448
+ "kind": "dtype"
449
+ },
450
+ "default": null,
451
+ "has_default": true,
452
+ "kind": "keyword_only",
453
+ "name": "configpath",
454
+ "role": "attribute"
455
+ },
456
+ {
457
+ "annotation": {
458
+ "dtype": "T",
459
+ "kind": "dtype"
460
+ },
461
+ "default": null,
462
+ "has_default": true,
463
+ "kind": "keyword_only",
464
+ "name": "timeField",
465
+ "role": "attribute"
466
+ },
467
+ {
468
+ "annotation": {
469
+ "dtype": "T",
470
+ "kind": "dtype"
471
+ },
472
+ "default": null,
473
+ "has_default": true,
474
+ "kind": "keyword_only",
475
+ "name": "timeStep",
476
+ "role": "attribute"
477
+ },
478
+ {
479
+ "annotation": {
480
+ "items": [
481
+ {
482
+ "dtype": "R",
483
+ "kind": "dtype"
484
+ },
485
+ {
486
+ "base": {
487
+ "dtype": "T",
488
+ "kind": "dtype"
489
+ },
490
+ "kind": "annotated",
491
+ "metadata": [
492
+ {
493
+ "flags": 0,
494
+ "kind": "regex",
495
+ "pattern": "^[\\^=].+"
496
+ }
497
+ ]
498
+ }
499
+ ],
500
+ "kind": "union"
501
+ },
502
+ "default": null,
503
+ "has_default": true,
504
+ "kind": "keyword_only",
505
+ "name": "timeIndex",
506
+ "role": "attribute"
507
+ },
508
+ {
509
+ "annotation": {
510
+ "kind": "any"
511
+ },
512
+ "has_default": false,
513
+ "kind": "var_keyword",
514
+ "name": "attr",
515
+ "role": "attribute"
516
+ }
517
+ ]
518
+ },
519
+ "collection_key": null,
520
+ "doc": null,
521
+ "inherits_from": null,
522
+ "node_label": null,
523
+ "ns": null,
524
+ "parent_tags": null,
525
+ "sub_tags": ""
526
+ },
527
+ "chartView": {
528
+ "_meta": {
529
+ "gramlot_component": {
530
+ "bagStore": true,
531
+ "command": false,
532
+ "dataScope": false,
533
+ "parameters": {
534
+ "captionField": {
535
+ "binding": "read",
536
+ "dtype": "T"
537
+ },
538
+ "chartType": {
539
+ "binding": "read",
540
+ "dtype": "T"
541
+ },
542
+ "configpath": {
543
+ "dtype": "T"
544
+ },
545
+ "engine": {
546
+ "binding": "read",
547
+ "default": "echarts",
548
+ "dtype": "T"
549
+ },
550
+ "geoJSON": {
551
+ "binding": "read",
552
+ "dtype": "X",
553
+ "nullable": true
554
+ },
555
+ "geometryField": {
556
+ "binding": "read",
557
+ "dtype": "T"
558
+ },
559
+ "gridId": {
560
+ "dtype": "T"
561
+ },
562
+ "mapBarScale": {
563
+ "binding": "read",
564
+ "default": "zero",
565
+ "dtype": "T"
566
+ },
567
+ "mapLabelField": {
568
+ "binding": "read",
569
+ "dtype": "T"
570
+ },
571
+ "mapLabelMode": {
572
+ "binding": "read",
573
+ "default": "value",
574
+ "dtype": "T"
575
+ },
576
+ "mapValueField": {
577
+ "binding": "read",
578
+ "dtype": "T"
579
+ },
580
+ "rowMode": {
581
+ "dtype": "T"
582
+ },
583
+ "sampleMax": {
584
+ "binding": "read",
585
+ "dtype": "R",
586
+ "nullable": true
587
+ },
588
+ "sampleMin": {
589
+ "binding": "read",
590
+ "dtype": "R",
591
+ "nullable": true
592
+ },
593
+ "sampleStart": {
594
+ "binding": "read",
595
+ "default": 0,
596
+ "dtype": "R"
597
+ },
598
+ "sampleStep": {
599
+ "binding": "read",
600
+ "default": 1,
601
+ "dtype": "R"
602
+ },
603
+ "secondCaptionField": {
604
+ "binding": "read",
605
+ "dtype": "T"
606
+ },
607
+ "selectedTerritory": {
608
+ "binding": "twoWay",
609
+ "default": "",
610
+ "dtype": "T"
611
+ },
612
+ "seriesOptions": {
613
+ "binding": "read",
614
+ "dtype": "X"
615
+ },
616
+ "storepath": {
617
+ "dtype": "T"
618
+ },
619
+ "timeEmpty": {
620
+ "binding": "read",
621
+ "default": "previous",
622
+ "dtype": "T"
623
+ },
624
+ "timeField": {
625
+ "binding": "read",
626
+ "default": "",
627
+ "dtype": "T"
628
+ },
629
+ "timeStep": {
630
+ "binding": "read",
631
+ "default": "month",
632
+ "dtype": "T"
633
+ },
634
+ "timeValue": {
635
+ "binding": "read",
636
+ "dtype": "X",
637
+ "nullable": true
638
+ },
639
+ "valueFields": {
640
+ "binding": "read",
641
+ "dtype": "T",
642
+ "nullable": true
643
+ }
644
+ },
645
+ "presentationDefaults": [],
646
+ "sourceContext": true
647
+ },
648
+ "render_tag": "gramlot-chart-view"
649
+ },
650
+ "attributes": {
651
+ "accepts_var_keyword": true,
652
+ "accepts_var_positional": false,
653
+ "parameters": [
654
+ {
655
+ "annotation": {
656
+ "items": [
657
+ {
658
+ "dtype": "R",
659
+ "kind": "dtype"
660
+ },
661
+ {
662
+ "dtype": "NN",
663
+ "kind": "dtype"
664
+ },
665
+ {
666
+ "base": {
667
+ "dtype": "T",
668
+ "kind": "dtype"
669
+ },
670
+ "kind": "annotated",
671
+ "metadata": [
672
+ {
673
+ "flags": 0,
674
+ "kind": "regex",
675
+ "pattern": "^[\\^=].+"
676
+ }
677
+ ]
678
+ }
679
+ ],
680
+ "kind": "union"
681
+ },
682
+ "default": null,
683
+ "has_default": true,
684
+ "kind": "keyword_only",
685
+ "name": "sampleMin",
686
+ "role": "attribute"
687
+ },
688
+ {
689
+ "annotation": {
690
+ "items": [
691
+ {
692
+ "dtype": "R",
693
+ "kind": "dtype"
694
+ },
695
+ {
696
+ "dtype": "NN",
697
+ "kind": "dtype"
698
+ },
699
+ {
700
+ "base": {
701
+ "dtype": "T",
702
+ "kind": "dtype"
703
+ },
704
+ "kind": "annotated",
705
+ "metadata": [
706
+ {
707
+ "flags": 0,
708
+ "kind": "regex",
709
+ "pattern": "^[\\^=].+"
710
+ }
711
+ ]
712
+ }
713
+ ],
714
+ "kind": "union"
715
+ },
716
+ "default": null,
717
+ "has_default": true,
718
+ "kind": "keyword_only",
719
+ "name": "sampleMax",
720
+ "role": "attribute"
721
+ },
722
+ {
723
+ "annotation": {
724
+ "items": [
725
+ {
726
+ "dtype": "R",
727
+ "kind": "dtype"
728
+ },
729
+ {
730
+ "base": {
731
+ "dtype": "T",
732
+ "kind": "dtype"
733
+ },
734
+ "kind": "annotated",
735
+ "metadata": [
736
+ {
737
+ "flags": 0,
738
+ "kind": "regex",
739
+ "pattern": "^[\\^=].+"
740
+ }
741
+ ]
742
+ }
743
+ ],
744
+ "kind": "union"
745
+ },
746
+ "default": 1,
747
+ "has_default": true,
748
+ "kind": "keyword_only",
749
+ "name": "sampleStep",
750
+ "role": "attribute"
751
+ },
752
+ {
753
+ "annotation": {
754
+ "items": [
755
+ {
756
+ "dtype": "R",
757
+ "kind": "dtype"
758
+ },
759
+ {
760
+ "base": {
761
+ "dtype": "T",
762
+ "kind": "dtype"
763
+ },
764
+ "kind": "annotated",
765
+ "metadata": [
766
+ {
767
+ "flags": 0,
768
+ "kind": "regex",
769
+ "pattern": "^[\\^=].+"
770
+ }
771
+ ]
772
+ }
773
+ ],
774
+ "kind": "union"
775
+ },
776
+ "default": 0,
777
+ "has_default": true,
778
+ "kind": "keyword_only",
779
+ "name": "sampleStart",
780
+ "role": "attribute"
781
+ },
782
+ {
783
+ "annotation": {
784
+ "dtype": "T",
785
+ "kind": "dtype"
786
+ },
787
+ "default": "value",
788
+ "has_default": true,
789
+ "kind": "keyword_only",
790
+ "name": "mapLabelMode",
791
+ "role": "attribute"
792
+ },
793
+ {
794
+ "annotation": {
795
+ "dtype": "T",
796
+ "kind": "dtype"
797
+ },
798
+ "default": "zero",
799
+ "has_default": true,
800
+ "kind": "keyword_only",
801
+ "name": "mapBarScale",
802
+ "role": "attribute"
803
+ },
804
+ {
805
+ "annotation": {
806
+ "dtype": "T",
807
+ "kind": "dtype"
808
+ },
809
+ "default": "",
810
+ "has_default": true,
811
+ "kind": "keyword_only",
812
+ "name": "selectedTerritory",
813
+ "role": "attribute"
814
+ },
815
+ {
816
+ "annotation": {
817
+ "dtype": "T",
818
+ "kind": "dtype"
819
+ },
820
+ "default": null,
821
+ "has_default": true,
822
+ "kind": "keyword_only",
823
+ "name": "configpath",
824
+ "role": "attribute"
825
+ },
826
+ {
827
+ "annotation": {
828
+ "dtype": "T",
829
+ "kind": "dtype"
830
+ },
831
+ "default": "previous",
832
+ "has_default": true,
833
+ "kind": "keyword_only",
834
+ "name": "timeEmpty",
835
+ "role": "attribute"
836
+ },
837
+ {
838
+ "annotation": {
839
+ "dtype": "T",
840
+ "kind": "dtype"
841
+ },
842
+ "default": "",
843
+ "has_default": true,
844
+ "kind": "keyword_only",
845
+ "name": "timeField",
846
+ "role": "attribute"
847
+ },
848
+ {
849
+ "annotation": {
850
+ "items": [
851
+ {
852
+ "dtype": "X",
853
+ "kind": "dtype"
854
+ },
855
+ {
856
+ "dtype": "NN",
857
+ "kind": "dtype"
858
+ },
859
+ {
860
+ "base": {
861
+ "dtype": "T",
862
+ "kind": "dtype"
863
+ },
864
+ "kind": "annotated",
865
+ "metadata": [
866
+ {
867
+ "flags": 0,
868
+ "kind": "regex",
869
+ "pattern": "^[\\^=].+"
870
+ }
871
+ ]
872
+ }
873
+ ],
874
+ "kind": "union"
875
+ },
876
+ "default": null,
877
+ "has_default": true,
878
+ "kind": "keyword_only",
879
+ "name": "timeValue",
880
+ "role": "attribute"
881
+ },
882
+ {
883
+ "annotation": {
884
+ "dtype": "T",
885
+ "kind": "dtype"
886
+ },
887
+ "default": "month",
888
+ "has_default": true,
889
+ "kind": "keyword_only",
890
+ "name": "timeStep",
891
+ "role": "attribute"
892
+ },
893
+ {
894
+ "annotation": {
895
+ "dtype": "T",
896
+ "kind": "dtype"
897
+ },
898
+ "default": "echarts",
899
+ "has_default": true,
900
+ "kind": "keyword_only",
901
+ "name": "engine",
902
+ "role": "attribute"
903
+ },
904
+ {
905
+ "annotation": {
906
+ "dtype": "T",
907
+ "kind": "dtype"
908
+ },
909
+ "default": null,
910
+ "has_default": true,
911
+ "kind": "keyword_only",
912
+ "name": "mapValueField",
913
+ "role": "attribute"
914
+ },
915
+ {
916
+ "annotation": {
917
+ "dtype": "T",
918
+ "kind": "dtype"
919
+ },
920
+ "default": null,
921
+ "has_default": true,
922
+ "kind": "keyword_only",
923
+ "name": "mapLabelField",
924
+ "role": "attribute"
925
+ },
926
+ {
927
+ "annotation": {
928
+ "items": [
929
+ {
930
+ "dtype": "X",
931
+ "kind": "dtype"
932
+ },
933
+ {
934
+ "dtype": "NN",
935
+ "kind": "dtype"
936
+ },
937
+ {
938
+ "base": {
939
+ "dtype": "T",
940
+ "kind": "dtype"
941
+ },
942
+ "kind": "annotated",
943
+ "metadata": [
944
+ {
945
+ "flags": 0,
946
+ "kind": "regex",
947
+ "pattern": "^[\\^=].+"
948
+ }
949
+ ]
950
+ }
951
+ ],
952
+ "kind": "union"
953
+ },
954
+ "default": null,
955
+ "has_default": true,
956
+ "kind": "keyword_only",
957
+ "name": "geoJSON",
958
+ "role": "attribute"
959
+ },
960
+ {
961
+ "annotation": {
962
+ "dtype": "T",
963
+ "kind": "dtype"
964
+ },
965
+ "default": null,
966
+ "has_default": true,
967
+ "kind": "keyword_only",
968
+ "name": "geometryField",
969
+ "role": "attribute"
970
+ },
971
+ {
972
+ "annotation": {
973
+ "dtype": "T",
974
+ "kind": "dtype"
975
+ },
976
+ "default": null,
977
+ "has_default": true,
978
+ "kind": "keyword_only",
979
+ "name": "secondCaptionField",
980
+ "role": "attribute"
981
+ },
982
+ {
983
+ "annotation": {
984
+ "items": [
985
+ {
986
+ "dtype": "X",
987
+ "kind": "dtype"
988
+ },
989
+ {
990
+ "base": {
991
+ "dtype": "T",
992
+ "kind": "dtype"
993
+ },
994
+ "kind": "annotated",
995
+ "metadata": [
996
+ {
997
+ "flags": 0,
998
+ "kind": "regex",
999
+ "pattern": "^[\\^=].+"
1000
+ }
1001
+ ]
1002
+ }
1003
+ ],
1004
+ "kind": "union"
1005
+ },
1006
+ "default": null,
1007
+ "has_default": true,
1008
+ "kind": "keyword_only",
1009
+ "name": "seriesOptions",
1010
+ "role": "attribute"
1011
+ },
1012
+ {
1013
+ "annotation": {
1014
+ "dtype": "T",
1015
+ "kind": "dtype"
1016
+ },
1017
+ "default": null,
1018
+ "has_default": true,
1019
+ "kind": "keyword_only",
1020
+ "name": "storepath",
1021
+ "role": "attribute"
1022
+ },
1023
+ {
1024
+ "annotation": {
1025
+ "dtype": "T",
1026
+ "kind": "dtype"
1027
+ },
1028
+ "default": null,
1029
+ "has_default": true,
1030
+ "kind": "keyword_only",
1031
+ "name": "rowMode",
1032
+ "role": "attribute"
1033
+ },
1034
+ {
1035
+ "annotation": {
1036
+ "dtype": "T",
1037
+ "kind": "dtype"
1038
+ },
1039
+ "default": null,
1040
+ "has_default": true,
1041
+ "kind": "keyword_only",
1042
+ "name": "gridId",
1043
+ "role": "attribute"
1044
+ },
1045
+ {
1046
+ "annotation": {
1047
+ "dtype": "T",
1048
+ "kind": "dtype"
1049
+ },
1050
+ "default": null,
1051
+ "has_default": true,
1052
+ "kind": "keyword_only",
1053
+ "name": "chartType",
1054
+ "role": "attribute"
1055
+ },
1056
+ {
1057
+ "annotation": {
1058
+ "dtype": "T",
1059
+ "kind": "dtype"
1060
+ },
1061
+ "default": null,
1062
+ "has_default": true,
1063
+ "kind": "keyword_only",
1064
+ "name": "captionField",
1065
+ "role": "attribute"
1066
+ },
1067
+ {
1068
+ "annotation": {
1069
+ "items": [
1070
+ {
1071
+ "dtype": "T",
1072
+ "kind": "dtype"
1073
+ },
1074
+ {
1075
+ "dtype": "NN",
1076
+ "kind": "dtype"
1077
+ }
1078
+ ],
1079
+ "kind": "union"
1080
+ },
1081
+ "default": null,
1082
+ "has_default": true,
1083
+ "kind": "keyword_only",
1084
+ "name": "valueFields",
1085
+ "role": "attribute"
1086
+ },
1087
+ {
1088
+ "annotation": {
1089
+ "kind": "any"
1090
+ },
1091
+ "has_default": false,
1092
+ "kind": "var_keyword",
1093
+ "name": "attr",
1094
+ "role": "attribute"
1095
+ }
1096
+ ]
1097
+ },
1098
+ "collection_key": null,
1099
+ "doc": null,
1100
+ "inherits_from": null,
1101
+ "node_label": null,
1102
+ "ns": null,
1103
+ "parent_tags": null,
1104
+ "sub_tags": ""
1105
+ }
1106
+ },
1107
+ "grammar": {
1108
+ "description": null,
1109
+ "name": "charts",
1110
+ "title": "charts",
1111
+ "version": null
1112
+ }
1113
+ }