@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.
- package/assets/icons/align-center.svg +4 -0
- package/assets/icons/align-justify.svg +4 -0
- package/assets/icons/align-left.svg +4 -0
- package/assets/icons/align-right.svg +4 -0
- package/assets/icons/applications.svg +4 -0
- package/assets/icons/archive.svg +4 -0
- package/assets/icons/attachment.svg +4 -0
- package/assets/icons/bold.svg +4 -0
- package/assets/icons/book.svg +4 -0
- package/assets/icons/bookmark.svg +4 -0
- package/assets/icons/calendar.svg +4 -0
- package/assets/icons/cancel.svg +4 -0
- package/assets/icons/chart.svg +4 -1
- package/assets/icons/chat.svg +4 -0
- package/assets/icons/clock.svg +4 -0
- package/assets/icons/code.svg +4 -0
- package/assets/icons/collapse.svg +4 -0
- package/assets/icons/columns.svg +4 -0
- package/assets/icons/confirm.svg +4 -0
- package/assets/icons/copy.svg +4 -0
- package/assets/icons/cut.svg +4 -0
- package/assets/icons/database.svg +4 -0
- package/assets/icons/delete.svg +4 -0
- package/assets/icons/detach.svg +4 -0
- package/assets/icons/document.svg +4 -0
- package/assets/icons/download.svg +4 -0
- package/assets/icons/duplicate.svg +4 -0
- package/assets/icons/edit.svg +4 -0
- package/assets/icons/eraser.svg +4 -0
- package/assets/icons/expand.svg +4 -0
- package/assets/icons/export.svg +4 -0
- package/assets/icons/eye.svg +4 -0
- package/assets/icons/filter.svg +4 -0
- package/assets/icons/first.svg +4 -0
- package/assets/icons/folder.svg +4 -0
- package/assets/icons/group.svg +4 -0
- package/assets/icons/help.svg +4 -0
- package/assets/icons/home.svg +4 -0
- package/assets/icons/horizontal-rule.svg +4 -0
- package/assets/icons/image.svg +4 -0
- package/assets/icons/import.svg +4 -0
- package/assets/icons/indent.svg +4 -0
- package/assets/icons/info.svg +4 -0
- package/assets/icons/inspector.svg +4 -0
- package/assets/icons/italic.svg +4 -0
- package/assets/icons/last.svg +4 -0
- package/assets/icons/layers.svg +4 -0
- package/assets/icons/link.svg +4 -0
- package/assets/icons/list-bulleted.svg +4 -0
- package/assets/icons/list-numbered.svg +4 -0
- package/assets/icons/list.svg +4 -0
- package/assets/icons/lock.svg +4 -0
- package/assets/icons/logout.svg +4 -0
- package/assets/icons/navigation.svg +4 -0
- package/assets/icons/new.svg +4 -0
- package/assets/icons/next.svg +4 -0
- package/assets/icons/open.svg +4 -0
- package/assets/icons/outdent.svg +4 -0
- package/assets/icons/palette.svg +4 -0
- package/assets/icons/panel-bottom.svg +4 -0
- package/assets/icons/panel-left.svg +4 -0
- package/assets/icons/panel-right.svg +4 -0
- package/assets/icons/panel-top.svg +4 -0
- package/assets/icons/paragraph.svg +4 -0
- package/assets/icons/paste.svg +4 -0
- package/assets/icons/pause.svg +4 -0
- package/assets/icons/pin.svg +4 -0
- package/assets/icons/play.svg +4 -0
- package/assets/icons/previous.svg +4 -0
- package/assets/icons/print.svg +4 -0
- package/assets/icons/redo.svg +4 -0
- package/assets/icons/refresh.svg +4 -0
- package/assets/icons/save.svg +4 -0
- package/assets/icons/search.svg +4 -0
- package/assets/icons/select-all.svg +4 -0
- package/assets/icons/send.svg +4 -0
- package/assets/icons/settings.svg +4 -0
- package/assets/icons/sort-ascending.svg +4 -0
- package/assets/icons/sort-descending.svg +4 -0
- package/assets/icons/stop.svg +4 -0
- package/assets/icons/strikethrough.svg +4 -0
- package/assets/icons/table.svg +4 -0
- package/assets/icons/tree.svg +4 -0
- package/assets/icons/underline.svg +4 -0
- package/assets/icons/undo.svg +4 -0
- package/assets/icons/unlock.svg +4 -0
- package/assets/icons/upload.svg +4 -0
- package/assets/icons/user.svg +4 -0
- package/assets/icons/warning.svg +4 -0
- package/assets/icons/zoom-in.svg +4 -0
- package/assets/icons/zoom-out.svg +4 -0
- package/dist/components/charts/__init__.py +1 -1
- package/dist/components/charts/assets/index.js +1 -1
- package/dist/components/charts/assets/libraries/vega.js +11 -11
- package/dist/components/charts/grammar.json +2032 -72
- package/dist/components/editors/__init__.py +1 -1
- package/dist/components/editors/assets/collection.js +1 -1
- package/dist/components/editors/assets/index.js +1 -1
- package/dist/components/editors/assets/libraries/codemirror.js +30 -31
- package/dist/components/editors/assets/libraries/jodit.js +453 -447
- package/dist/components/editors/commands.json +113 -1
- package/dist/components/editors/grammar.json +12 -5
- package/dist/components/grid/__init__.py +1 -1
- package/dist/components/grid/assets/index.js +1 -1
- package/dist/components/grid/commands.json +4 -6
- package/dist/components/grid/grammar.json +112 -0
- package/dist/components/inputs/__init__.py +1 -1
- package/dist/components/inputs/assets/index.js +1 -1
- package/dist/components/inputs/grammar.json +5165 -359
- package/dist/components/layout/__init__.py +1 -1
- package/dist/components/layout/assets/collection.js +1 -0
- package/dist/components/layout/assets/index.js +1 -1
- package/dist/components/layout/grammar.json +433 -4
- package/dist/components/tree/__init__.py +1 -1
- package/dist/components/tree/assets/index.js +1 -1
- package/dist/components/tree/grammar.json +51 -0
- package/dist/components/typst/__init__.py +1 -1
- package/dist/components/typst/assets/collection.js +6 -6
- package/dist/components/typst/assets/index.js +1 -1
- package/dist/components/uploads/__init__.py +1 -1
- package/dist/components/uploads/assets/index.js +1 -1
- package/dist/components/uploads/grammar.json +66 -0
- package/dist/declared-collections.js +1 -1
- package/dist/gramlot.js +5486 -2029
- package/dist/gramlot.min.js +361 -138
- package/dist/libraries.json +6 -4
- package/dist/standard-collections.js +1 -1
- package/dist/standard-grammar.js +1 -1
- package/package.json +6 -2
- package/src/binding/ask-dialog.js +17 -3
- package/src/binding/providers.js +3 -2
- package/src/binding/remote.js +41 -6
- package/src/binding/runtime.js +30 -3
- package/src/builder/gramlot-builder.d.ts +3 -1
- package/src/builder/gramlot-builder.js +77 -26
- package/src/builder/source.js +78 -15
- package/src/builder/xml-recipe.js +144 -0
- package/src/chat-file-types.js +13 -0
- package/src/chat.d.ts +1 -0
- package/src/chat.js +35 -25
- package/src/commands.d.ts +1 -1
- package/src/commands.js +1 -1
- package/src/components/border-container.js +64 -6
- package/src/components/buttons.js +26 -31
- package/src/components/chart-bar3d-options.js +0 -1
- package/src/components/chart-boxplot-options.js +1 -1
- package/src/components/chart-candlestick-options.js +1 -1
- package/src/components/chart-engines/echarts-options.js +6 -5
- package/src/components/chart-engines/echarts.js +27 -10
- package/src/components/chart-engines/plotly-map.js +1 -1
- package/src/components/chart-engines/plotly.js +21 -14
- package/src/components/chart-engines/uplot.js +17 -11
- package/src/components/chart-engines/vega.js +17 -11
- package/src/components/chart-funnel-options.js +1 -1
- package/src/components/chart-geographic-options.js +2 -2
- package/src/components/chart-heatmap-options.js +1 -1
- package/src/components/chart-map-bar3d-options.js +2 -2
- package/src/components/chart-map-options.js +2 -2
- package/src/components/chart-pane.js +5 -5
- package/src/components/chart-parallel-options.js +1 -1
- package/src/components/chart-radar-options.js +1 -1
- package/src/components/chart-renderer.js +6 -1
- package/src/components/chart-sankey-options.js +1 -1
- package/src/components/chart-spatial-options.js +6 -2
- package/src/components/chart-sunburst-options.js +13 -1
- package/src/components/chart-theme.js +14 -0
- package/src/components/chart-treemap-options.js +1 -1
- package/src/components/chart-type-data.js +24 -4
- package/src/components/charts.js +7 -6
- package/src/components/check-box-text-editor.js +1 -0
- package/src/components/check-box-text.js +2 -0
- package/src/components/check-box-tree.js +1 -1
- package/src/components/choice-editor.js +5 -4
- package/src/components/choice-field-styles.js +9 -1
- package/src/components/code-mirror-engine.js +19 -5
- package/src/components/code-mirror-gramlot.js +85 -0
- package/src/components/code-mirror.js +3 -2
- package/src/components/drawing.js +43 -14
- package/src/components/editor-commands.js +69 -0
- package/src/components/editor-options.js +1 -1
- package/src/components/editors.js +5 -3
- package/src/components/form-tray-pane.js +18 -0
- package/src/components/graphical-ranges.js +190 -0
- package/src/components/grid-check-sets.js +39 -3
- package/src/components/grid-footer.js +6 -1
- package/src/components/grid-header-interaction.js +3 -3
- package/src/components/grid-styles.js +30 -5
- package/src/components/grid-tools.js +15 -7
- package/src/components/grid.js +109 -15
- package/src/components/html-editor-commands.js +61 -0
- package/src/components/html-editor.js +18 -3
- package/src/components/inputs.js +94 -23
- package/src/components/jodit-engine.js +110 -7
- package/src/components/layout.js +3 -2
- package/src/components/menus.js +89 -26
- package/src/components/numeric-range.js +39 -0
- package/src/components/selected-container.js +123 -64
- package/src/components/tab-bar.js +389 -0
- package/src/components/toolbar-icon-style.js +22 -0
- package/src/components/toolbar-overflow.js +74 -12
- package/src/components/tray-base.js +528 -0
- package/src/components/tray-pane.js +41 -518
- package/src/components/tree.js +56 -4
- package/src/components/typed-editor.js +5 -2
- package/src/components/typst-preview.js +3 -3
- package/src/components/upload-blocks.js +88 -0
- package/src/components/upload-engine.js +21 -31
- package/src/components/uploader.js +168 -47
- package/src/editing-session.js +2 -1
- package/src/gramlot.js +6 -3
- package/src/handlers/dom-handler.d.ts +2 -0
- package/src/handlers/dom-handler.js +9 -0
- package/src/handlers/rpc-handler.d.ts +1 -1
- package/src/handlers/rpc-handler.js +2 -0
- package/src/handlers/source-handler.d.ts +5 -3
- package/src/handlers/source-handler.js +31 -13
- package/src/icons.js +84 -0
- package/src/ide-runtime.js +3 -1
- package/src/index-page-runtime.js +20 -5
- package/src/index-page-styles.js +1 -1
- package/src/index-theme.js +210 -3
- package/src/index.d.ts +7 -2
- package/src/index.js +7 -2
- package/src/libraries.js +4 -4
- package/src/object-extract.d.ts +7 -0
- package/src/object-extract.js +31 -0
- package/src/renderer/attributes.js +1 -1
- package/src/renderer/gramlot-renderer.d.ts +2 -2
- package/src/renderer/gramlot-renderer.js +4 -1
- package/src/server/chat-attachments.js +139 -0
- package/src/server/chat.d.ts +33 -0
- package/src/server/chat.js +168 -0
- package/src/server/database-selectors.d.ts +6 -0
- package/src/server/database-selectors.js +13 -0
- package/src/server/gramlot-file-server.js +6 -1
- package/src/server/gramlot-server.d.ts +19 -3
- package/src/server/gramlot-server.js +149 -19
- package/src/server/index-page.d.ts +10 -0
- package/src/server/index-page.js +92 -8
- package/src/server/index.d.ts +1 -1
- package/src/server/index.js +1 -1
- package/src/server/page-base.js +4 -0
- package/src/server/page-store.d.ts +21 -0
- package/src/server/page-store.js +219 -0
- package/src/server/page.d.ts +6 -1
- package/src/server/page.js +5 -1
- package/src/server/store-recipe.js +102 -0
- package/src/server/toolbar-icon-name.d.ts +93 -0
- package/src/server/upload.d.ts +2 -0
- package/src/server/upload.js +36 -18
- package/src/server/visual-editor.js +4 -2
- package/src/tree-store.d.ts +5 -1
- package/src/tree-store.js +11 -2
- package/src/view/choice-focus.js +17 -0
- package/src/view/html.js +21 -1
- package/src/view/labelbox.js +6 -1
- package/src/view/menu.js +9 -3
- package/src/visual-editor.d.ts +1 -0
- package/src/visual-editor.js +10 -5
- package/themes/gramlot-base/theme.css +60 -28
- package/themes/gramlot-compact/theme.css +2 -0
- package/themes/gramlot-index/icons/align-center.svg +4 -0
- package/themes/gramlot-index/icons/align-justify.svg +4 -0
- package/themes/gramlot-index/icons/align-left.svg +4 -0
- package/themes/gramlot-index/icons/align-right.svg +4 -0
- package/themes/gramlot-index/icons/applications.svg +4 -0
- package/themes/gramlot-index/icons/archive.svg +4 -0
- package/themes/gramlot-index/icons/attachment.svg +4 -0
- package/themes/gramlot-index/icons/bold.svg +4 -0
- package/themes/gramlot-index/icons/book.svg +4 -0
- package/themes/gramlot-index/icons/bookmark.svg +4 -0
- package/themes/gramlot-index/icons/calendar.svg +4 -0
- package/themes/gramlot-index/icons/cancel.svg +4 -0
- package/themes/gramlot-index/icons/chart.svg +4 -0
- package/themes/gramlot-index/icons/chat.svg +4 -0
- package/themes/gramlot-index/icons/clock.svg +4 -0
- package/themes/gramlot-index/icons/code.svg +4 -0
- package/themes/gramlot-index/icons/collapse.svg +4 -0
- package/themes/gramlot-index/icons/columns.svg +4 -0
- package/themes/gramlot-index/icons/confirm.svg +4 -0
- package/themes/gramlot-index/icons/copy.svg +4 -0
- package/themes/gramlot-index/icons/cut.svg +4 -0
- package/themes/gramlot-index/icons/database.svg +4 -0
- package/themes/gramlot-index/icons/delete.svg +4 -0
- package/themes/gramlot-index/icons/detach.svg +4 -0
- package/themes/gramlot-index/icons/document.svg +4 -0
- package/themes/gramlot-index/icons/download.svg +4 -0
- package/themes/gramlot-index/icons/duplicate.svg +4 -0
- package/themes/gramlot-index/icons/edit.svg +4 -0
- package/themes/gramlot-index/icons/eraser.svg +4 -0
- package/themes/gramlot-index/icons/expand.svg +4 -0
- package/themes/gramlot-index/icons/export.svg +4 -0
- package/themes/gramlot-index/icons/eye.svg +4 -0
- package/themes/gramlot-index/icons/filter.svg +4 -0
- package/themes/gramlot-index/icons/first.svg +4 -0
- package/themes/gramlot-index/icons/folder.svg +4 -0
- package/themes/gramlot-index/icons/group.svg +4 -0
- package/themes/gramlot-index/icons/help.svg +4 -0
- package/themes/gramlot-index/icons/home.svg +4 -0
- package/themes/gramlot-index/icons/horizontal-rule.svg +4 -0
- package/themes/gramlot-index/icons/image.svg +4 -0
- package/themes/gramlot-index/icons/import.svg +4 -0
- package/themes/gramlot-index/icons/indent.svg +4 -0
- package/themes/gramlot-index/icons/info.svg +4 -0
- package/themes/gramlot-index/icons/inspector.svg +4 -0
- package/themes/gramlot-index/icons/italic.svg +4 -0
- package/themes/gramlot-index/icons/last.svg +4 -0
- package/themes/gramlot-index/icons/layers.svg +4 -0
- package/themes/gramlot-index/icons/link.svg +4 -0
- package/themes/gramlot-index/icons/list-bulleted.svg +4 -0
- package/themes/gramlot-index/icons/list-numbered.svg +4 -0
- package/themes/gramlot-index/icons/list.svg +4 -0
- package/themes/gramlot-index/icons/lock.svg +4 -0
- package/themes/gramlot-index/icons/logout.svg +4 -0
- package/themes/gramlot-index/icons/navigation.svg +4 -0
- package/themes/gramlot-index/icons/new.svg +4 -0
- package/themes/gramlot-index/icons/next.svg +4 -0
- package/themes/gramlot-index/icons/open.svg +4 -0
- package/themes/gramlot-index/icons/outdent.svg +4 -0
- package/themes/gramlot-index/icons/palette.svg +4 -0
- package/themes/gramlot-index/icons/panel-bottom.svg +4 -0
- package/themes/gramlot-index/icons/panel-left.svg +4 -0
- package/themes/gramlot-index/icons/panel-right.svg +4 -0
- package/themes/gramlot-index/icons/panel-top.svg +4 -0
- package/themes/gramlot-index/icons/paragraph.svg +4 -0
- package/themes/gramlot-index/icons/paste.svg +4 -0
- package/themes/gramlot-index/icons/pause.svg +4 -0
- package/themes/gramlot-index/icons/pin.svg +4 -0
- package/themes/gramlot-index/icons/play.svg +4 -0
- package/themes/gramlot-index/icons/previous.svg +4 -0
- package/themes/gramlot-index/icons/print.svg +4 -0
- package/themes/gramlot-index/icons/redo.svg +4 -0
- package/themes/gramlot-index/icons/refresh.svg +4 -0
- package/themes/gramlot-index/icons/save.svg +4 -0
- package/themes/gramlot-index/icons/search.svg +4 -0
- package/themes/gramlot-index/icons/select-all.svg +4 -0
- package/themes/gramlot-index/icons/send.svg +4 -0
- package/themes/gramlot-index/icons/settings.svg +4 -0
- package/themes/gramlot-index/icons/sort-ascending.svg +4 -0
- package/themes/gramlot-index/icons/sort-descending.svg +4 -0
- package/themes/gramlot-index/icons/stop.svg +4 -0
- package/themes/gramlot-index/icons/strikethrough.svg +4 -0
- package/themes/gramlot-index/icons/table.svg +4 -0
- package/themes/gramlot-index/icons/tree.svg +4 -0
- package/themes/gramlot-index/icons/underline.svg +4 -0
- package/themes/gramlot-index/icons/undo.svg +4 -0
- package/themes/gramlot-index/icons/unlock.svg +4 -0
- package/themes/gramlot-index/icons/upload.svg +4 -0
- package/themes/gramlot-index/icons/user.svg +4 -0
- package/themes/gramlot-index/icons/warning.svg +4 -0
- package/themes/gramlot-index/icons/zoom-in.svg +4 -0
- package/themes/gramlot-index/icons/zoom-out.svg +4 -0
- package/themes/gramlot-index/icons.json +93 -0
- package/themes/gramlot-index/theme.css +24 -0
- package/themes/joanna/theme.css +2 -0
- package/themes/mela/theme.css +2 -0
- package/themes/mimi/theme.css +2 -0
- 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
|
-
"
|
|
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:
|
|
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:
|
|
3
|
+
export const buildId = "sha256:b96cfd726e2958d7775be149a89c4bf0dacb176b18230489391741617bc8ed7c";
|
|
@@ -7,25 +7,23 @@
|
|
|
7
7
|
"grid": {
|
|
8
8
|
"commands": {
|
|
9
9
|
"addrow": {
|
|
10
|
-
"
|
|
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:
|
|
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:
|
|
3
|
+
export const buildId = "sha256:258b07fbc5e858ef71ef484fbf1ad5dc8bc7e7f2cf8a90d30007af63e5e5dfef";
|