@gramlot/gramlot 0.3.34 → 0.3.36
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/dist/collections/typst.js +3 -0
- package/dist/components/editors/__init__.py +2 -2
- package/dist/components/editors/assets/collection.js +4 -2
- package/dist/components/editors/assets/index.js +1 -1
- package/dist/components/editors/assets/modules/addon-fit-L6JK4OJX.js +12 -0
- package/dist/components/editors/assets/modules/xterm-BF3OSWRI.js +286 -0
- package/dist/components/editors/assets/modules/xterm-UBEXZEYY.js +47 -0
- package/dist/components/editors/grammar.json +207 -0
- package/dist/declared-collections.js +2 -0
- package/dist/gramlot.js +60 -7497
- package/dist/gramlot.min.js +48 -53
- package/dist/libraries.json +27 -0
- package/dist/runtime-notices.json +0 -12
- package/dist/standard-collections.js +1 -1
- package/package.json +4 -1
- package/src/components/editors.js +3 -1
- package/src/components/terminal.js +158 -0
- package/src/libraries.js +9 -0
- package/src/page-store-connection.js +8 -0
- package/src/server/assets.d.ts +3 -2
- package/src/server/assets.js +6 -3
- package/src/server/gramlot-server.js +6 -1
- package/src/server/index.d.ts +1 -1
- package/src/server/index.js +1 -1
- package/src/shared-modules.js +2 -5
- package/src/view/html.js +5 -0
|
@@ -7187,6 +7187,213 @@
|
|
|
7187
7187
|
"ns": null,
|
|
7188
7188
|
"parent_tags": null,
|
|
7189
7189
|
"sub_tags": ""
|
|
7190
|
+
},
|
|
7191
|
+
"terminal": {
|
|
7192
|
+
"_meta": {
|
|
7193
|
+
"gramlot_component": {
|
|
7194
|
+
"command": false,
|
|
7195
|
+
"dataScope": false,
|
|
7196
|
+
"parameters": {
|
|
7197
|
+
"columns": {
|
|
7198
|
+
"binding": "write",
|
|
7199
|
+
"default": 0,
|
|
7200
|
+
"dtype": "L"
|
|
7201
|
+
},
|
|
7202
|
+
"connected": {
|
|
7203
|
+
"binding": "write",
|
|
7204
|
+
"default": false,
|
|
7205
|
+
"dtype": "B"
|
|
7206
|
+
},
|
|
7207
|
+
"fontFamily": {
|
|
7208
|
+
"binding": "read",
|
|
7209
|
+
"default": "monospace",
|
|
7210
|
+
"dtype": "T"
|
|
7211
|
+
},
|
|
7212
|
+
"fontSize": {
|
|
7213
|
+
"binding": "read",
|
|
7214
|
+
"default": 14,
|
|
7215
|
+
"dtype": "L"
|
|
7216
|
+
},
|
|
7217
|
+
"rows": {
|
|
7218
|
+
"binding": "write",
|
|
7219
|
+
"default": 0,
|
|
7220
|
+
"dtype": "L"
|
|
7221
|
+
},
|
|
7222
|
+
"session": {
|
|
7223
|
+
"binding": "read",
|
|
7224
|
+
"default": "",
|
|
7225
|
+
"dtype": "T"
|
|
7226
|
+
}
|
|
7227
|
+
},
|
|
7228
|
+
"presentationDefaults": [],
|
|
7229
|
+
"sourceContext": true
|
|
7230
|
+
},
|
|
7231
|
+
"render_tag": "gramlot-terminal"
|
|
7232
|
+
},
|
|
7233
|
+
"attributes": {
|
|
7234
|
+
"accepts_var_keyword": true,
|
|
7235
|
+
"accepts_var_positional": false,
|
|
7236
|
+
"parameters": [
|
|
7237
|
+
{
|
|
7238
|
+
"annotation": {
|
|
7239
|
+
"dtype": "T",
|
|
7240
|
+
"kind": "dtype"
|
|
7241
|
+
},
|
|
7242
|
+
"default": "",
|
|
7243
|
+
"has_default": true,
|
|
7244
|
+
"kind": "keyword_only",
|
|
7245
|
+
"name": "session",
|
|
7246
|
+
"role": "attribute"
|
|
7247
|
+
},
|
|
7248
|
+
{
|
|
7249
|
+
"annotation": {
|
|
7250
|
+
"items": [
|
|
7251
|
+
{
|
|
7252
|
+
"dtype": "L",
|
|
7253
|
+
"kind": "dtype"
|
|
7254
|
+
},
|
|
7255
|
+
{
|
|
7256
|
+
"base": {
|
|
7257
|
+
"dtype": "T",
|
|
7258
|
+
"kind": "dtype"
|
|
7259
|
+
},
|
|
7260
|
+
"kind": "annotated",
|
|
7261
|
+
"metadata": [
|
|
7262
|
+
{
|
|
7263
|
+
"flags": 0,
|
|
7264
|
+
"kind": "regex",
|
|
7265
|
+
"pattern": "^[\\^=].+"
|
|
7266
|
+
}
|
|
7267
|
+
]
|
|
7268
|
+
}
|
|
7269
|
+
],
|
|
7270
|
+
"kind": "union"
|
|
7271
|
+
},
|
|
7272
|
+
"default": 14,
|
|
7273
|
+
"has_default": true,
|
|
7274
|
+
"kind": "keyword_only",
|
|
7275
|
+
"name": "fontSize",
|
|
7276
|
+
"role": "attribute"
|
|
7277
|
+
},
|
|
7278
|
+
{
|
|
7279
|
+
"annotation": {
|
|
7280
|
+
"dtype": "T",
|
|
7281
|
+
"kind": "dtype"
|
|
7282
|
+
},
|
|
7283
|
+
"default": "monospace",
|
|
7284
|
+
"has_default": true,
|
|
7285
|
+
"kind": "keyword_only",
|
|
7286
|
+
"name": "fontFamily",
|
|
7287
|
+
"role": "attribute"
|
|
7288
|
+
},
|
|
7289
|
+
{
|
|
7290
|
+
"annotation": {
|
|
7291
|
+
"items": [
|
|
7292
|
+
{
|
|
7293
|
+
"dtype": "B",
|
|
7294
|
+
"kind": "dtype"
|
|
7295
|
+
},
|
|
7296
|
+
{
|
|
7297
|
+
"base": {
|
|
7298
|
+
"dtype": "T",
|
|
7299
|
+
"kind": "dtype"
|
|
7300
|
+
},
|
|
7301
|
+
"kind": "annotated",
|
|
7302
|
+
"metadata": [
|
|
7303
|
+
{
|
|
7304
|
+
"flags": 0,
|
|
7305
|
+
"kind": "regex",
|
|
7306
|
+
"pattern": "^[\\^=].+"
|
|
7307
|
+
}
|
|
7308
|
+
]
|
|
7309
|
+
}
|
|
7310
|
+
],
|
|
7311
|
+
"kind": "union"
|
|
7312
|
+
},
|
|
7313
|
+
"default": false,
|
|
7314
|
+
"has_default": true,
|
|
7315
|
+
"kind": "keyword_only",
|
|
7316
|
+
"name": "connected",
|
|
7317
|
+
"role": "attribute"
|
|
7318
|
+
},
|
|
7319
|
+
{
|
|
7320
|
+
"annotation": {
|
|
7321
|
+
"items": [
|
|
7322
|
+
{
|
|
7323
|
+
"dtype": "L",
|
|
7324
|
+
"kind": "dtype"
|
|
7325
|
+
},
|
|
7326
|
+
{
|
|
7327
|
+
"base": {
|
|
7328
|
+
"dtype": "T",
|
|
7329
|
+
"kind": "dtype"
|
|
7330
|
+
},
|
|
7331
|
+
"kind": "annotated",
|
|
7332
|
+
"metadata": [
|
|
7333
|
+
{
|
|
7334
|
+
"flags": 0,
|
|
7335
|
+
"kind": "regex",
|
|
7336
|
+
"pattern": "^[\\^=].+"
|
|
7337
|
+
}
|
|
7338
|
+
]
|
|
7339
|
+
}
|
|
7340
|
+
],
|
|
7341
|
+
"kind": "union"
|
|
7342
|
+
},
|
|
7343
|
+
"default": 0,
|
|
7344
|
+
"has_default": true,
|
|
7345
|
+
"kind": "keyword_only",
|
|
7346
|
+
"name": "rows",
|
|
7347
|
+
"role": "attribute"
|
|
7348
|
+
},
|
|
7349
|
+
{
|
|
7350
|
+
"annotation": {
|
|
7351
|
+
"items": [
|
|
7352
|
+
{
|
|
7353
|
+
"dtype": "L",
|
|
7354
|
+
"kind": "dtype"
|
|
7355
|
+
},
|
|
7356
|
+
{
|
|
7357
|
+
"base": {
|
|
7358
|
+
"dtype": "T",
|
|
7359
|
+
"kind": "dtype"
|
|
7360
|
+
},
|
|
7361
|
+
"kind": "annotated",
|
|
7362
|
+
"metadata": [
|
|
7363
|
+
{
|
|
7364
|
+
"flags": 0,
|
|
7365
|
+
"kind": "regex",
|
|
7366
|
+
"pattern": "^[\\^=].+"
|
|
7367
|
+
}
|
|
7368
|
+
]
|
|
7369
|
+
}
|
|
7370
|
+
],
|
|
7371
|
+
"kind": "union"
|
|
7372
|
+
},
|
|
7373
|
+
"default": 0,
|
|
7374
|
+
"has_default": true,
|
|
7375
|
+
"kind": "keyword_only",
|
|
7376
|
+
"name": "columns",
|
|
7377
|
+
"role": "attribute"
|
|
7378
|
+
},
|
|
7379
|
+
{
|
|
7380
|
+
"annotation": {
|
|
7381
|
+
"kind": "any"
|
|
7382
|
+
},
|
|
7383
|
+
"has_default": false,
|
|
7384
|
+
"kind": "var_keyword",
|
|
7385
|
+
"name": "attr",
|
|
7386
|
+
"role": "attribute"
|
|
7387
|
+
}
|
|
7388
|
+
]
|
|
7389
|
+
},
|
|
7390
|
+
"collection_key": null,
|
|
7391
|
+
"doc": "An interactive terminal connected to the @terminal method `session` of the page store.",
|
|
7392
|
+
"inherits_from": null,
|
|
7393
|
+
"node_label": null,
|
|
7394
|
+
"ns": null,
|
|
7395
|
+
"parent_tags": null,
|
|
7396
|
+
"sub_tags": ""
|
|
7190
7397
|
}
|
|
7191
7398
|
},
|
|
7192
7399
|
"grammar": {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// Generated from the shipped collection inventory; do not edit.
|
|
2
|
+
export const declaredCollections = [{"name":"typst","grammar":{"abstracts":{},"document_format":{"name":"builder_grammar","version":"1.1"},"elements":{"typstPreview":{"_meta":{"gramlot_component":{"command":false,"dataScope":false,"parameters":{"filename":{"binding":"read","default":"document.pdf","dtype":"T"},"value":{"binding":"read","default":"","dtype":"T"}},"presentationDefaults":[]},"render_tag":"gramlot-typst-preview"},"attributes":{"accepts_var_keyword":true,"accepts_var_positional":false,"parameters":[{"annotation":{"dtype":"T","kind":"dtype"},"default":"","has_default":true,"kind":"keyword_only","name":"value","role":"attribute"},{"annotation":{"dtype":"T","kind":"dtype"},"default":"document.pdf","has_default":true,"kind":"keyword_only","name":"filename","role":"attribute"},{"annotation":{"kind":"any"},"has_default":false,"kind":"var_keyword","name":"attr","role":"attribute"}]},"collection_key":null,"doc":null,"inherits_from":null,"node_label":null,"ns":null,"parent_tags":null,"sub_tags":""}},"grammar":{"description":null,"name":"typst","title":"typst","version":null}},"buildId":"sha256:e39a4956afb9422b6f42e5b5bf0b97a3f5f429d2d6e298b946563e6899a713f8","module":"/gramlot/collections/typst/e39a4956afb9422b6f42e5b5bf0b97a3f5f429d2d6e298b946563e6899a713f8/assets/index.js","dependencies":[],"css":[]}];
|