@gramlot/gramlot 0.3.41 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. package/assets/icons/align-center.svg +4 -0
  2. package/assets/icons/align-justify.svg +4 -0
  3. package/assets/icons/align-left.svg +4 -0
  4. package/assets/icons/align-right.svg +4 -0
  5. package/assets/icons/applications.svg +4 -0
  6. package/assets/icons/archive.svg +4 -0
  7. package/assets/icons/attachment.svg +4 -0
  8. package/assets/icons/bold.svg +4 -0
  9. package/assets/icons/book.svg +4 -0
  10. package/assets/icons/bookmark.svg +4 -0
  11. package/assets/icons/calendar.svg +4 -0
  12. package/assets/icons/cancel.svg +4 -0
  13. package/assets/icons/chart.svg +4 -1
  14. package/assets/icons/chat.svg +4 -0
  15. package/assets/icons/clock.svg +4 -0
  16. package/assets/icons/code.svg +4 -0
  17. package/assets/icons/collapse.svg +4 -0
  18. package/assets/icons/columns.svg +4 -0
  19. package/assets/icons/confirm.svg +4 -0
  20. package/assets/icons/copy.svg +4 -0
  21. package/assets/icons/cut.svg +4 -0
  22. package/assets/icons/database.svg +4 -0
  23. package/assets/icons/delete.svg +4 -0
  24. package/assets/icons/detach.svg +4 -0
  25. package/assets/icons/document.svg +4 -0
  26. package/assets/icons/download.svg +4 -0
  27. package/assets/icons/duplicate.svg +4 -0
  28. package/assets/icons/edit.svg +4 -0
  29. package/assets/icons/eraser.svg +4 -0
  30. package/assets/icons/expand.svg +4 -0
  31. package/assets/icons/export.svg +4 -0
  32. package/assets/icons/eye.svg +4 -0
  33. package/assets/icons/filter.svg +4 -0
  34. package/assets/icons/first.svg +4 -0
  35. package/assets/icons/folder.svg +4 -0
  36. package/assets/icons/group.svg +4 -0
  37. package/assets/icons/help.svg +4 -0
  38. package/assets/icons/home.svg +4 -0
  39. package/assets/icons/horizontal-rule.svg +4 -0
  40. package/assets/icons/image.svg +4 -0
  41. package/assets/icons/import.svg +4 -0
  42. package/assets/icons/indent.svg +4 -0
  43. package/assets/icons/info.svg +4 -0
  44. package/assets/icons/inspector.svg +4 -0
  45. package/assets/icons/italic.svg +4 -0
  46. package/assets/icons/last.svg +4 -0
  47. package/assets/icons/layers.svg +4 -0
  48. package/assets/icons/link.svg +4 -0
  49. package/assets/icons/list-bulleted.svg +4 -0
  50. package/assets/icons/list-numbered.svg +4 -0
  51. package/assets/icons/list.svg +4 -0
  52. package/assets/icons/lock.svg +4 -0
  53. package/assets/icons/logout.svg +4 -0
  54. package/assets/icons/navigation.svg +4 -0
  55. package/assets/icons/new.svg +4 -0
  56. package/assets/icons/next.svg +4 -0
  57. package/assets/icons/open.svg +4 -0
  58. package/assets/icons/outdent.svg +4 -0
  59. package/assets/icons/palette.svg +4 -0
  60. package/assets/icons/panel-bottom.svg +4 -0
  61. package/assets/icons/panel-left.svg +4 -0
  62. package/assets/icons/panel-right.svg +4 -0
  63. package/assets/icons/panel-top.svg +4 -0
  64. package/assets/icons/paragraph.svg +4 -0
  65. package/assets/icons/paste.svg +4 -0
  66. package/assets/icons/pause.svg +4 -0
  67. package/assets/icons/pin.svg +4 -0
  68. package/assets/icons/play.svg +4 -0
  69. package/assets/icons/previous.svg +4 -0
  70. package/assets/icons/print.svg +4 -0
  71. package/assets/icons/redo.svg +4 -0
  72. package/assets/icons/refresh.svg +4 -0
  73. package/assets/icons/save.svg +4 -0
  74. package/assets/icons/search.svg +4 -0
  75. package/assets/icons/select-all.svg +4 -0
  76. package/assets/icons/send.svg +4 -0
  77. package/assets/icons/settings.svg +4 -0
  78. package/assets/icons/sort-ascending.svg +4 -0
  79. package/assets/icons/sort-descending.svg +4 -0
  80. package/assets/icons/stop.svg +4 -0
  81. package/assets/icons/strikethrough.svg +4 -0
  82. package/assets/icons/table.svg +4 -0
  83. package/assets/icons/tree.svg +4 -0
  84. package/assets/icons/underline.svg +4 -0
  85. package/assets/icons/undo.svg +4 -0
  86. package/assets/icons/unlock.svg +4 -0
  87. package/assets/icons/upload.svg +4 -0
  88. package/assets/icons/user.svg +4 -0
  89. package/assets/icons/warning.svg +4 -0
  90. package/assets/icons/zoom-in.svg +4 -0
  91. package/assets/icons/zoom-out.svg +4 -0
  92. package/dist/components/charts/__init__.py +1 -1
  93. package/dist/components/charts/assets/index.js +1 -1
  94. package/dist/components/charts/assets/libraries/vega.js +11 -11
  95. package/dist/components/charts/grammar.json +2032 -72
  96. package/dist/components/editors/__init__.py +1 -1
  97. package/dist/components/editors/assets/collection.js +1 -1
  98. package/dist/components/editors/assets/index.js +1 -1
  99. package/dist/components/editors/assets/libraries/codemirror.js +30 -31
  100. package/dist/components/editors/assets/libraries/jodit.js +453 -447
  101. package/dist/components/editors/commands.json +113 -1
  102. package/dist/components/editors/grammar.json +12 -5
  103. package/dist/components/grid/__init__.py +1 -1
  104. package/dist/components/grid/assets/index.js +1 -1
  105. package/dist/components/grid/commands.json +4 -6
  106. package/dist/components/grid/grammar.json +112 -0
  107. package/dist/components/inputs/__init__.py +1 -1
  108. package/dist/components/inputs/assets/index.js +1 -1
  109. package/dist/components/inputs/grammar.json +5165 -359
  110. package/dist/components/layout/__init__.py +1 -1
  111. package/dist/components/layout/assets/collection.js +1 -0
  112. package/dist/components/layout/assets/index.js +1 -1
  113. package/dist/components/layout/grammar.json +433 -4
  114. package/dist/components/tree/__init__.py +1 -1
  115. package/dist/components/tree/assets/index.js +1 -1
  116. package/dist/components/tree/grammar.json +51 -0
  117. package/dist/components/typst/__init__.py +1 -1
  118. package/dist/components/typst/assets/collection.js +6 -6
  119. package/dist/components/typst/assets/index.js +1 -1
  120. package/dist/components/uploads/__init__.py +1 -1
  121. package/dist/components/uploads/assets/index.js +1 -1
  122. package/dist/components/uploads/grammar.json +66 -0
  123. package/dist/declared-collections.js +1 -1
  124. package/dist/gramlot.js +5486 -2029
  125. package/dist/gramlot.min.js +361 -138
  126. package/dist/libraries.json +6 -4
  127. package/dist/standard-collections.js +1 -1
  128. package/dist/standard-grammar.js +1 -1
  129. package/package.json +6 -2
  130. package/src/binding/ask-dialog.js +17 -3
  131. package/src/binding/providers.js +3 -2
  132. package/src/binding/remote.js +41 -6
  133. package/src/binding/runtime.js +30 -3
  134. package/src/builder/gramlot-builder.d.ts +3 -1
  135. package/src/builder/gramlot-builder.js +77 -26
  136. package/src/builder/source.js +78 -15
  137. package/src/builder/xml-recipe.js +144 -0
  138. package/src/chat-file-types.js +13 -0
  139. package/src/chat.d.ts +1 -0
  140. package/src/chat.js +35 -25
  141. package/src/commands.d.ts +1 -1
  142. package/src/commands.js +1 -1
  143. package/src/components/border-container.js +64 -6
  144. package/src/components/buttons.js +26 -31
  145. package/src/components/chart-bar3d-options.js +0 -1
  146. package/src/components/chart-boxplot-options.js +1 -1
  147. package/src/components/chart-candlestick-options.js +1 -1
  148. package/src/components/chart-engines/echarts-options.js +6 -5
  149. package/src/components/chart-engines/echarts.js +27 -10
  150. package/src/components/chart-engines/plotly-map.js +1 -1
  151. package/src/components/chart-engines/plotly.js +21 -14
  152. package/src/components/chart-engines/uplot.js +17 -11
  153. package/src/components/chart-engines/vega.js +17 -11
  154. package/src/components/chart-funnel-options.js +1 -1
  155. package/src/components/chart-geographic-options.js +2 -2
  156. package/src/components/chart-heatmap-options.js +1 -1
  157. package/src/components/chart-map-bar3d-options.js +2 -2
  158. package/src/components/chart-map-options.js +2 -2
  159. package/src/components/chart-pane.js +5 -5
  160. package/src/components/chart-parallel-options.js +1 -1
  161. package/src/components/chart-radar-options.js +1 -1
  162. package/src/components/chart-renderer.js +6 -1
  163. package/src/components/chart-sankey-options.js +1 -1
  164. package/src/components/chart-spatial-options.js +6 -2
  165. package/src/components/chart-sunburst-options.js +13 -1
  166. package/src/components/chart-theme.js +14 -0
  167. package/src/components/chart-treemap-options.js +1 -1
  168. package/src/components/chart-type-data.js +24 -4
  169. package/src/components/charts.js +7 -6
  170. package/src/components/check-box-text-editor.js +1 -0
  171. package/src/components/check-box-text.js +2 -0
  172. package/src/components/check-box-tree.js +1 -1
  173. package/src/components/choice-editor.js +5 -4
  174. package/src/components/choice-field-styles.js +9 -1
  175. package/src/components/code-mirror-engine.js +19 -5
  176. package/src/components/code-mirror-gramlot.js +85 -0
  177. package/src/components/code-mirror.js +3 -2
  178. package/src/components/drawing.js +43 -14
  179. package/src/components/editor-commands.js +69 -0
  180. package/src/components/editor-options.js +1 -1
  181. package/src/components/editors.js +5 -3
  182. package/src/components/form-tray-pane.js +18 -0
  183. package/src/components/graphical-ranges.js +190 -0
  184. package/src/components/grid-check-sets.js +39 -3
  185. package/src/components/grid-footer.js +6 -1
  186. package/src/components/grid-header-interaction.js +3 -3
  187. package/src/components/grid-styles.js +30 -5
  188. package/src/components/grid-tools.js +15 -7
  189. package/src/components/grid.js +109 -15
  190. package/src/components/html-editor-commands.js +61 -0
  191. package/src/components/html-editor.js +18 -3
  192. package/src/components/inputs.js +94 -23
  193. package/src/components/jodit-engine.js +110 -7
  194. package/src/components/layout.js +3 -2
  195. package/src/components/menus.js +89 -26
  196. package/src/components/numeric-range.js +39 -0
  197. package/src/components/selected-container.js +123 -64
  198. package/src/components/tab-bar.js +389 -0
  199. package/src/components/toolbar-icon-style.js +22 -0
  200. package/src/components/toolbar-overflow.js +74 -12
  201. package/src/components/tray-base.js +528 -0
  202. package/src/components/tray-pane.js +41 -518
  203. package/src/components/tree.js +56 -4
  204. package/src/components/typed-editor.js +5 -2
  205. package/src/components/typst-preview.js +3 -3
  206. package/src/components/upload-blocks.js +88 -0
  207. package/src/components/upload-engine.js +21 -31
  208. package/src/components/uploader.js +168 -47
  209. package/src/editing-session.js +2 -1
  210. package/src/gramlot.js +6 -3
  211. package/src/handlers/dom-handler.d.ts +2 -0
  212. package/src/handlers/dom-handler.js +9 -0
  213. package/src/handlers/rpc-handler.d.ts +1 -1
  214. package/src/handlers/rpc-handler.js +2 -0
  215. package/src/handlers/source-handler.d.ts +5 -3
  216. package/src/handlers/source-handler.js +31 -13
  217. package/src/icons.js +84 -0
  218. package/src/ide-runtime.js +3 -1
  219. package/src/index-page-runtime.js +20 -5
  220. package/src/index-page-styles.js +1 -1
  221. package/src/index-theme.js +210 -3
  222. package/src/index.d.ts +7 -2
  223. package/src/index.js +7 -2
  224. package/src/libraries.js +4 -4
  225. package/src/object-extract.d.ts +7 -0
  226. package/src/object-extract.js +31 -0
  227. package/src/renderer/attributes.js +1 -1
  228. package/src/renderer/gramlot-renderer.d.ts +2 -2
  229. package/src/renderer/gramlot-renderer.js +4 -1
  230. package/src/server/chat-attachments.js +139 -0
  231. package/src/server/chat.d.ts +33 -0
  232. package/src/server/chat.js +168 -0
  233. package/src/server/database-selectors.d.ts +6 -0
  234. package/src/server/database-selectors.js +13 -0
  235. package/src/server/gramlot-file-server.js +6 -1
  236. package/src/server/gramlot-server.d.ts +19 -3
  237. package/src/server/gramlot-server.js +149 -19
  238. package/src/server/index-page.d.ts +10 -0
  239. package/src/server/index-page.js +92 -8
  240. package/src/server/index.d.ts +1 -1
  241. package/src/server/index.js +1 -1
  242. package/src/server/page-base.js +4 -0
  243. package/src/server/page-store.d.ts +21 -0
  244. package/src/server/page-store.js +219 -0
  245. package/src/server/page.d.ts +6 -1
  246. package/src/server/page.js +5 -1
  247. package/src/server/store-recipe.js +102 -0
  248. package/src/server/toolbar-icon-name.d.ts +93 -0
  249. package/src/server/upload.d.ts +2 -0
  250. package/src/server/upload.js +36 -18
  251. package/src/server/visual-editor.js +4 -2
  252. package/src/tree-store.d.ts +5 -1
  253. package/src/tree-store.js +11 -2
  254. package/src/view/choice-focus.js +17 -0
  255. package/src/view/html.js +21 -1
  256. package/src/view/labelbox.js +6 -1
  257. package/src/view/menu.js +9 -3
  258. package/src/visual-editor.d.ts +1 -0
  259. package/src/visual-editor.js +10 -5
  260. package/themes/gramlot-base/theme.css +60 -28
  261. package/themes/gramlot-compact/theme.css +2 -0
  262. package/themes/gramlot-index/icons/align-center.svg +4 -0
  263. package/themes/gramlot-index/icons/align-justify.svg +4 -0
  264. package/themes/gramlot-index/icons/align-left.svg +4 -0
  265. package/themes/gramlot-index/icons/align-right.svg +4 -0
  266. package/themes/gramlot-index/icons/applications.svg +4 -0
  267. package/themes/gramlot-index/icons/archive.svg +4 -0
  268. package/themes/gramlot-index/icons/attachment.svg +4 -0
  269. package/themes/gramlot-index/icons/bold.svg +4 -0
  270. package/themes/gramlot-index/icons/book.svg +4 -0
  271. package/themes/gramlot-index/icons/bookmark.svg +4 -0
  272. package/themes/gramlot-index/icons/calendar.svg +4 -0
  273. package/themes/gramlot-index/icons/cancel.svg +4 -0
  274. package/themes/gramlot-index/icons/chart.svg +4 -0
  275. package/themes/gramlot-index/icons/chat.svg +4 -0
  276. package/themes/gramlot-index/icons/clock.svg +4 -0
  277. package/themes/gramlot-index/icons/code.svg +4 -0
  278. package/themes/gramlot-index/icons/collapse.svg +4 -0
  279. package/themes/gramlot-index/icons/columns.svg +4 -0
  280. package/themes/gramlot-index/icons/confirm.svg +4 -0
  281. package/themes/gramlot-index/icons/copy.svg +4 -0
  282. package/themes/gramlot-index/icons/cut.svg +4 -0
  283. package/themes/gramlot-index/icons/database.svg +4 -0
  284. package/themes/gramlot-index/icons/delete.svg +4 -0
  285. package/themes/gramlot-index/icons/detach.svg +4 -0
  286. package/themes/gramlot-index/icons/document.svg +4 -0
  287. package/themes/gramlot-index/icons/download.svg +4 -0
  288. package/themes/gramlot-index/icons/duplicate.svg +4 -0
  289. package/themes/gramlot-index/icons/edit.svg +4 -0
  290. package/themes/gramlot-index/icons/eraser.svg +4 -0
  291. package/themes/gramlot-index/icons/expand.svg +4 -0
  292. package/themes/gramlot-index/icons/export.svg +4 -0
  293. package/themes/gramlot-index/icons/eye.svg +4 -0
  294. package/themes/gramlot-index/icons/filter.svg +4 -0
  295. package/themes/gramlot-index/icons/first.svg +4 -0
  296. package/themes/gramlot-index/icons/folder.svg +4 -0
  297. package/themes/gramlot-index/icons/group.svg +4 -0
  298. package/themes/gramlot-index/icons/help.svg +4 -0
  299. package/themes/gramlot-index/icons/home.svg +4 -0
  300. package/themes/gramlot-index/icons/horizontal-rule.svg +4 -0
  301. package/themes/gramlot-index/icons/image.svg +4 -0
  302. package/themes/gramlot-index/icons/import.svg +4 -0
  303. package/themes/gramlot-index/icons/indent.svg +4 -0
  304. package/themes/gramlot-index/icons/info.svg +4 -0
  305. package/themes/gramlot-index/icons/inspector.svg +4 -0
  306. package/themes/gramlot-index/icons/italic.svg +4 -0
  307. package/themes/gramlot-index/icons/last.svg +4 -0
  308. package/themes/gramlot-index/icons/layers.svg +4 -0
  309. package/themes/gramlot-index/icons/link.svg +4 -0
  310. package/themes/gramlot-index/icons/list-bulleted.svg +4 -0
  311. package/themes/gramlot-index/icons/list-numbered.svg +4 -0
  312. package/themes/gramlot-index/icons/list.svg +4 -0
  313. package/themes/gramlot-index/icons/lock.svg +4 -0
  314. package/themes/gramlot-index/icons/logout.svg +4 -0
  315. package/themes/gramlot-index/icons/navigation.svg +4 -0
  316. package/themes/gramlot-index/icons/new.svg +4 -0
  317. package/themes/gramlot-index/icons/next.svg +4 -0
  318. package/themes/gramlot-index/icons/open.svg +4 -0
  319. package/themes/gramlot-index/icons/outdent.svg +4 -0
  320. package/themes/gramlot-index/icons/palette.svg +4 -0
  321. package/themes/gramlot-index/icons/panel-bottom.svg +4 -0
  322. package/themes/gramlot-index/icons/panel-left.svg +4 -0
  323. package/themes/gramlot-index/icons/panel-right.svg +4 -0
  324. package/themes/gramlot-index/icons/panel-top.svg +4 -0
  325. package/themes/gramlot-index/icons/paragraph.svg +4 -0
  326. package/themes/gramlot-index/icons/paste.svg +4 -0
  327. package/themes/gramlot-index/icons/pause.svg +4 -0
  328. package/themes/gramlot-index/icons/pin.svg +4 -0
  329. package/themes/gramlot-index/icons/play.svg +4 -0
  330. package/themes/gramlot-index/icons/previous.svg +4 -0
  331. package/themes/gramlot-index/icons/print.svg +4 -0
  332. package/themes/gramlot-index/icons/redo.svg +4 -0
  333. package/themes/gramlot-index/icons/refresh.svg +4 -0
  334. package/themes/gramlot-index/icons/save.svg +4 -0
  335. package/themes/gramlot-index/icons/search.svg +4 -0
  336. package/themes/gramlot-index/icons/select-all.svg +4 -0
  337. package/themes/gramlot-index/icons/send.svg +4 -0
  338. package/themes/gramlot-index/icons/settings.svg +4 -0
  339. package/themes/gramlot-index/icons/sort-ascending.svg +4 -0
  340. package/themes/gramlot-index/icons/sort-descending.svg +4 -0
  341. package/themes/gramlot-index/icons/stop.svg +4 -0
  342. package/themes/gramlot-index/icons/strikethrough.svg +4 -0
  343. package/themes/gramlot-index/icons/table.svg +4 -0
  344. package/themes/gramlot-index/icons/tree.svg +4 -0
  345. package/themes/gramlot-index/icons/underline.svg +4 -0
  346. package/themes/gramlot-index/icons/undo.svg +4 -0
  347. package/themes/gramlot-index/icons/unlock.svg +4 -0
  348. package/themes/gramlot-index/icons/upload.svg +4 -0
  349. package/themes/gramlot-index/icons/user.svg +4 -0
  350. package/themes/gramlot-index/icons/warning.svg +4 -0
  351. package/themes/gramlot-index/icons/zoom-in.svg +4 -0
  352. package/themes/gramlot-index/icons/zoom-out.svg +4 -0
  353. package/themes/gramlot-index/icons.json +93 -0
  354. package/themes/gramlot-index/theme.css +24 -0
  355. package/themes/joanna/theme.css +2 -0
  356. package/themes/mela/theme.css +2 -0
  357. package/themes/mimi/theme.css +2 -0
  358. package/tools/gramlot-tools-inspector.js +11 -3
@@ -3,5 +3,117 @@
3
3
  "name": "gramlot_commands",
4
4
  "version": "1.0"
5
5
  },
6
- "groups": {}
6
+ "groups": {
7
+ "htmlEditor": {
8
+ "commands": {
9
+ "align": {
10
+ "icon": "align-left",
11
+ "label": "Align",
12
+ "publish": "align"
13
+ },
14
+ "bold": {
15
+ "icon": "bold",
16
+ "label": "Bold",
17
+ "publish": "bold"
18
+ },
19
+ "color": {
20
+ "icon": "palette",
21
+ "label": "Color",
22
+ "publish": "color",
23
+ "tooltip": "Text and background color"
24
+ },
25
+ "eraser": {
26
+ "icon": "eraser",
27
+ "label": "Clear formatting",
28
+ "publish": "eraser"
29
+ },
30
+ "find": {
31
+ "icon": "search",
32
+ "label": "Find",
33
+ "publish": "find",
34
+ "tooltip": "Find and replace"
35
+ },
36
+ "hr": {
37
+ "icon": "horizontal-rule",
38
+ "label": "Horizontal line",
39
+ "publish": "hr"
40
+ },
41
+ "image": {
42
+ "icon": "image",
43
+ "label": "Image",
44
+ "publish": "image",
45
+ "tooltip": "Insert an image"
46
+ },
47
+ "indent": {
48
+ "icon": "indent",
49
+ "label": "Increase indent",
50
+ "publish": "indent"
51
+ },
52
+ "italic": {
53
+ "icon": "italic",
54
+ "label": "Italic",
55
+ "publish": "italic"
56
+ },
57
+ "link": {
58
+ "icon": "link",
59
+ "label": "Link",
60
+ "publish": "link",
61
+ "tooltip": "Insert or edit a link"
62
+ },
63
+ "ol": {
64
+ "icon": "list-numbered",
65
+ "label": "Numbered list",
66
+ "publish": "ol"
67
+ },
68
+ "outdent": {
69
+ "icon": "outdent",
70
+ "label": "Decrease indent",
71
+ "publish": "outdent"
72
+ },
73
+ "paragraph": {
74
+ "icon": "paragraph",
75
+ "label": "Paragraph",
76
+ "publish": "paragraph",
77
+ "tooltip": "Block format"
78
+ },
79
+ "redo": {
80
+ "icon": "redo",
81
+ "label": "Redo",
82
+ "publish": "redo"
83
+ },
84
+ "selectall": {
85
+ "icon": "select-all",
86
+ "label": "Select all",
87
+ "publish": "selectall"
88
+ },
89
+ "strikethrough": {
90
+ "icon": "strikethrough",
91
+ "label": "Strikethrough",
92
+ "publish": "strikethrough"
93
+ },
94
+ "table": {
95
+ "icon": "table",
96
+ "label": "Table",
97
+ "publish": "table",
98
+ "tooltip": "Insert a table"
99
+ },
100
+ "ul": {
101
+ "icon": "list-bulleted",
102
+ "label": "Bulleted list",
103
+ "publish": "ul"
104
+ },
105
+ "underline": {
106
+ "icon": "underline",
107
+ "label": "Underline",
108
+ "publish": "underline"
109
+ },
110
+ "undo": {
111
+ "icon": "undo",
112
+ "label": "Undo",
113
+ "publish": "undo"
114
+ }
115
+ },
116
+ "description": "HTML editor toolbar commands"
117
+ }
118
+ }
7
119
  }
@@ -73,7 +73,11 @@
73
73
  "dtype": "T",
74
74
  "enum": [
75
75
  "text",
76
+ "gramlot-py",
77
+ "gramlot-js",
78
+ "gramlot-rs",
76
79
  "python",
80
+ "rust",
77
81
  "javascript",
78
82
  "typescript",
79
83
  "json",
@@ -82,7 +86,8 @@
82
86
  "xml",
83
87
  "markdown",
84
88
  "sql",
85
- "typst"
89
+ "typst",
90
+ "yaml"
86
91
  ]
87
92
  },
88
93
  "lbl": {
@@ -518,7 +523,8 @@
518
523
  "dtype": "T"
519
524
  }
520
525
  },
521
- "presentationDefaults": []
526
+ "presentationDefaults": [],
527
+ "sourceContext": true
522
528
  },
523
529
  "render_tag": "gramlot-code-mirror"
524
530
  },
@@ -2641,7 +2647,7 @@
2641
2647
  "parent_tags": null,
2642
2648
  "sub_tags": ""
2643
2649
  },
2644
- "htmlEditor": {
2650
+ "htmlEditorCanvas": {
2645
2651
  "_meta": {
2646
2652
  "gramlot_component": {
2647
2653
  "command": false,
@@ -3076,9 +3082,10 @@
3076
3082
  "dtype": "T"
3077
3083
  }
3078
3084
  },
3079
- "presentationDefaults": []
3085
+ "presentationDefaults": [],
3086
+ "sourceContext": true
3080
3087
  },
3081
- "render_tag": "gramlot-html-editor"
3088
+ "render_tag": "gramlot-html-editor-canvas"
3082
3089
  },
3083
3090
  "attributes": {
3084
3091
  "accepts_var_keyword": true,
@@ -9,6 +9,6 @@ mygramlot = GramlotCollection(
9
9
  module="assets/index.js",
10
10
  css=(),
11
11
  dependencies=(_dependency_0,),
12
- build_id="sha256:06700081ab9e96cba8ff73801512a4edecd4a6541935787546acaa1202c2e2c6",
12
+ build_id="sha256:b96cfd726e2958d7775be149a89c4bf0dacb176b18230489391741617bc8ed7c",
13
13
  files=("assets/collection.js", "assets/files/0a1df3a083d0c010560aa342e87959c8c1070e6fd54545741f083f22d0c8b551-fflate.txt", "assets/files/8cf9b31947daf7adb4a7a00a037459e58241af050cd0a603bfcf1756e533f75e-write-excel-file.txt", "assets/index.js", "assets/libraries/writeExcelFile.js", "commands.json", "grammar.json",),
14
14
  )
@@ -1,3 +1,3 @@
1
1
  export {default} from "./collection.js";
2
2
  export * from "./collection.js";
3
- export const buildId = "sha256:06700081ab9e96cba8ff73801512a4edecd4a6541935787546acaa1202c2e2c6";
3
+ export const buildId = "sha256:b96cfd726e2958d7775be149a89c4bf0dacb176b18230489391741617bc8ed7c";
@@ -7,25 +7,23 @@
7
7
  "grid": {
8
8
  "commands": {
9
9
  "addrow": {
10
- "icon": "+",
11
- "label": "Add row",
10
+ "label": "New row",
12
11
  "publish": "addrow",
13
12
  "tooltip": "Add a row"
14
13
  },
15
14
  "delrow": {
16
- "icon": "−",
17
15
  "label": "Delete",
18
16
  "publish": "delrow",
19
17
  "tooltip": "Delete the selected rows"
20
18
  },
21
19
  "duprow": {
22
- "icon": "⧉",
20
+ "icon": "duplicate",
23
21
  "label": "Duplicate",
24
22
  "publish": "duprow",
25
23
  "tooltip": "Duplicate the selected rows"
26
24
  },
27
25
  "export": {
28
- "icon": "⇩",
26
+ "icon": "download",
29
27
  "label": "Export",
30
28
  "publish": "export",
31
29
  "tooltip": "Export the visible rows"
@@ -36,7 +34,7 @@
36
34
  "tooltip": "Show or hide the row numbers"
37
35
  },
38
36
  "printRows": {
39
- "icon": "⎙",
37
+ "icon": "print",
40
38
  "label": "Print",
41
39
  "publish": "printRows",
42
40
  "tooltip": "Print the visible rows"
@@ -397,11 +397,33 @@
397
397
  "command": false,
398
398
  "dataScope": false,
399
399
  "parameters": {
400
+ "autoHeight": {
401
+ "binding": "read",
402
+ "default": false,
403
+ "dtype": "B"
404
+ },
400
405
  "columnFilters": {
401
406
  "binding": "read",
402
407
  "default": false,
403
408
  "dtype": "B"
404
409
  },
410
+ "delrow": {
411
+ "default": null,
412
+ "dtype": "T",
413
+ "nullable": true
414
+ },
415
+ "delrow_label": {
416
+ "binding": "read",
417
+ "default": null,
418
+ "dtype": "T",
419
+ "nullable": true
420
+ },
421
+ "emptyText": {
422
+ "binding": "read",
423
+ "default": null,
424
+ "dtype": "T",
425
+ "nullable": true
426
+ },
405
427
  "filter": {
406
428
  "annotation": {
407
429
  "kind": "type",
@@ -725,6 +747,96 @@
725
747
  "name": "rowMode",
726
748
  "role": "attribute"
727
749
  },
750
+ {
751
+ "annotation": {
752
+ "items": [
753
+ {
754
+ "dtype": "T",
755
+ "kind": "dtype"
756
+ },
757
+ {
758
+ "dtype": "NN",
759
+ "kind": "dtype"
760
+ }
761
+ ],
762
+ "kind": "union"
763
+ },
764
+ "default": null,
765
+ "has_default": true,
766
+ "kind": "keyword_only",
767
+ "name": "delrow",
768
+ "role": "attribute"
769
+ },
770
+ {
771
+ "annotation": {
772
+ "items": [
773
+ {
774
+ "dtype": "T",
775
+ "kind": "dtype"
776
+ },
777
+ {
778
+ "dtype": "NN",
779
+ "kind": "dtype"
780
+ }
781
+ ],
782
+ "kind": "union"
783
+ },
784
+ "default": null,
785
+ "has_default": true,
786
+ "kind": "keyword_only",
787
+ "name": "delrow_label",
788
+ "role": "attribute"
789
+ },
790
+ {
791
+ "annotation": {
792
+ "items": [
793
+ {
794
+ "dtype": "T",
795
+ "kind": "dtype"
796
+ },
797
+ {
798
+ "dtype": "NN",
799
+ "kind": "dtype"
800
+ }
801
+ ],
802
+ "kind": "union"
803
+ },
804
+ "default": null,
805
+ "has_default": true,
806
+ "kind": "keyword_only",
807
+ "name": "emptyText",
808
+ "role": "attribute"
809
+ },
810
+ {
811
+ "annotation": {
812
+ "items": [
813
+ {
814
+ "dtype": "B",
815
+ "kind": "dtype"
816
+ },
817
+ {
818
+ "base": {
819
+ "dtype": "T",
820
+ "kind": "dtype"
821
+ },
822
+ "kind": "annotated",
823
+ "metadata": [
824
+ {
825
+ "flags": 0,
826
+ "kind": "regex",
827
+ "pattern": "^[\\^=].+"
828
+ }
829
+ ]
830
+ }
831
+ ],
832
+ "kind": "union"
833
+ },
834
+ "default": false,
835
+ "has_default": true,
836
+ "kind": "keyword_only",
837
+ "name": "autoHeight",
838
+ "role": "attribute"
839
+ },
728
840
  {
729
841
  "annotation": {
730
842
  "items": [
@@ -9,6 +9,6 @@ mygramlot = GramlotCollection(
9
9
  module="assets/index.js",
10
10
  css=(),
11
11
  dependencies=(_dependency_0,),
12
- build_id="sha256:f09f8ea2b66491bca5ecbb3d6ecbb3064dcdeeb80b6e71c9277d96cb4fffebe1",
12
+ build_id="sha256:258b07fbc5e858ef71ef484fbf1ad5dc8bc7e7f2cf8a90d30007af63e5e5dfef",
13
13
  files=("assets/collection.js", "assets/index.js", "commands.json", "grammar.json",),
14
14
  )
@@ -1,3 +1,3 @@
1
1
  export {default} from "./collection.js";
2
2
  export * from "./collection.js";
3
- export const buildId = "sha256:f09f8ea2b66491bca5ecbb3d6ecbb3064dcdeeb80b6e71c9277d96cb4fffebe1";
3
+ export const buildId = "sha256:258b07fbc5e858ef71ef484fbf1ad5dc8bc7e7f2cf8a90d30007af63e5e5dfef";