@gramlot/gramlot 0.3.19 → 0.3.24
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/components/chat/__init__.py +13 -0
- package/dist/components/chat/assets/collection.js +9 -0
- package/dist/components/chat/assets/index.js +3 -0
- package/dist/components/chat/commands.json +7 -0
- package/dist/components/chat/grammar.json +48 -0
- package/dist/components/editors/__init__.py +2 -2
- package/dist/components/editors/assets/collection.js +22 -120909
- package/dist/components/editors/assets/index.js +2 -1
- package/dist/components/editors/assets/modules/chunk-AU4HFPIY.js +1 -0
- package/dist/components/editors/assets/modules/chunk-MMJXUHRQ.js +3 -0
- package/dist/components/editors/assets/modules/chunk-OCFLP2K4.js +16 -0
- package/dist/components/editors/assets/modules/chunk-YSGSC7KM.js +1 -0
- package/dist/components/editors/assets/modules/code-mirror-engine-QX4A5FVO.js +92 -0
- package/dist/components/editors/assets/modules/jodit-engine-MMSPIWM7.js +1853 -0
- package/dist/components/editors/assets/modules/prose-mirror-engine-IXTRTG6B.js +24 -0
- package/dist/components/grid/__init__.py +13 -0
- package/dist/components/grid/assets/collection.js +211 -0
- package/dist/components/grid/assets/index.js +3 -0
- package/dist/components/grid/commands.json +7 -0
- package/dist/components/grid/grammar.json +714 -0
- package/dist/components/grouplets/__init__.py +13 -0
- package/dist/components/grouplets/assets/collection.js +202 -0
- package/dist/components/grouplets/assets/index.js +3 -0
- package/dist/components/grouplets/commands.json +7 -0
- package/dist/components/grouplets/grammar.json +355 -0
- package/dist/components/inputs/__init__.py +1 -1
- package/dist/components/inputs/assets/collection.js +32 -24503
- package/dist/components/inputs/assets/index.js +2 -1
- package/dist/components/inputs/grammar.json +214 -6
- package/dist/components/layout/__init__.py +1 -1
- package/dist/components/layout/assets/collection.js +27 -26701
- package/dist/components/layout/assets/index.js +2 -1
- package/dist/components/layout/grammar.json +4 -0
- package/dist/components/selection_trial/__init__.py +13 -0
- package/dist/components/selection_trial/assets/collection.js +4 -0
- package/dist/components/selection_trial/assets/index.js +3 -0
- package/dist/components/selection_trial/commands.json +7 -0
- package/dist/components/selection_trial/grammar.json +552 -0
- package/dist/components/tree/__init__.py +1 -1
- package/dist/components/tree/assets/collection.js +24 -24612
- package/dist/components/tree/assets/index.js +2 -1
- package/dist/components/typst/__init__.py +2 -2
- package/dist/components/typst/assets/collection.js +12 -4
- package/dist/components/typst/assets/index.js +2 -1
- package/dist/components/typst/assets/modules/chunk-BLMUM44K.js +1 -0
- package/dist/components/typst/assets/modules/typst-client-JHC6UVYG.js +4 -0
- package/dist/gramlot.js +2749 -1627
- package/dist/gramlot.min.js +46 -41
- package/package.json +7 -2
- package/src/binding/grid-struct.js +63 -0
- package/src/binding/installation.js +5 -2
- package/src/binding/runtime.js +51 -6
- package/src/builder/gramlot-builder.d.ts +5 -0
- package/src/builder/gramlot-builder.js +16 -0
- package/src/builder/source.js +23 -0
- package/src/chat.d.ts +12 -0
- package/src/chat.js +198 -0
- package/src/collection-artifact.js +1 -1
- package/src/components/bases.js +2 -0
- package/src/components/chat.js +28 -0
- package/src/components/choice-editor.js +89 -34
- package/src/components/database-choices.js +131 -9
- package/src/components/field-state.js +10 -1
- package/src/components/grid-grammar.json +237 -0
- package/src/components/grid-header-interaction.js +196 -0
- package/src/components/grid-row-interaction.js +184 -0
- package/src/components/grid-row-layout.js +96 -0
- package/src/components/grid-rows.js +28 -0
- package/src/components/grid-search-box.js +142 -0
- package/src/components/grid-search-styles.js +42 -0
- package/src/components/grid-search.js +37 -0
- package/src/components/grid-structure.js +84 -0
- package/src/components/grid-styles.js +151 -0
- package/src/components/grid.js +589 -0
- package/src/components/grouplet-card.js +437 -0
- package/src/components/grouplets.js +17 -0
- package/src/components/menus.js +1 -0
- package/src/components/registry.js +4 -3
- package/src/components/tray-pane.js +32 -4
- package/src/components/typed-editor.js +4 -2
- package/src/experiments/selection-transfer.js +78 -0
- package/src/experiments/selection-trial.js +48 -0
- package/src/experiments/window-selection.js +124 -0
- package/src/form-state.d.ts +20 -0
- package/src/form-state.js +198 -0
- package/src/index-page-styles.js +1 -1
- package/src/index.d.ts +3 -1
- package/src/index.js +3 -1
- package/src/renderer/gramlot-renderer.js +8 -1
- package/src/server/gramlot-server.d.ts +2 -0
- package/src/server/gramlot-server.js +13 -1
- package/src/stores/bag-collection-store.js +51 -0
- package/src/stores/bag-collection-view.js +127 -0
- package/src/stores/collection-filter.js +77 -0
- package/src/view/controls.js +33 -1
- package/src/view/grouplet-card.js +54 -0
- package/src/view/html.js +20 -3
- package/src/view/labelbox.js +7 -3
- package/themes/gramlot-base/theme.css +28 -0
- package/themes/gramlot-compact/theme.css +8 -0
- package/themes/joanna/theme.css +8 -0
- package/themes/mimi/theme.css +8 -0
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export {default} from "./collection.js";
|
|
2
|
-
export
|
|
2
|
+
export * from "./collection.js";
|
|
3
|
+
export const buildId = "sha256:ff8258604f2832d230246baf776aa0ab456ca91182bff4e37c47e3aea226bd5f";
|
|
@@ -15535,10 +15535,18 @@
|
|
|
15535
15535
|
"dataScope": false,
|
|
15536
15536
|
"labelbox": true,
|
|
15537
15537
|
"parameters": {
|
|
15538
|
+
"auxColumns": {
|
|
15539
|
+
"binding": "read",
|
|
15540
|
+
"dtype": "T"
|
|
15541
|
+
},
|
|
15538
15542
|
"columns": {
|
|
15539
15543
|
"binding": "read",
|
|
15540
15544
|
"dtype": "T"
|
|
15541
15545
|
},
|
|
15546
|
+
"condition": {
|
|
15547
|
+
"binding": "read",
|
|
15548
|
+
"dtype": "T"
|
|
15549
|
+
},
|
|
15542
15550
|
"dbtable": {
|
|
15543
15551
|
"binding": "read",
|
|
15544
15552
|
"dtype": "T"
|
|
@@ -15550,8 +15558,9 @@
|
|
|
15550
15558
|
},
|
|
15551
15559
|
"emptyLabel": {
|
|
15552
15560
|
"binding": "read",
|
|
15553
|
-
"default": "",
|
|
15554
|
-
"dtype": "T"
|
|
15561
|
+
"default": "Clear selection",
|
|
15562
|
+
"dtype": "T",
|
|
15563
|
+
"qualification": "intl_str"
|
|
15555
15564
|
},
|
|
15556
15565
|
"hasDownArrow": {
|
|
15557
15566
|
"binding": "read",
|
|
@@ -15632,6 +15641,15 @@
|
|
|
15632
15641
|
"selectedRecord": {
|
|
15633
15642
|
"dtype": "T"
|
|
15634
15643
|
},
|
|
15644
|
+
"template": {
|
|
15645
|
+
"binding": "read",
|
|
15646
|
+
"dtype": "T"
|
|
15647
|
+
},
|
|
15648
|
+
"templateNull": {
|
|
15649
|
+
"binding": "read",
|
|
15650
|
+
"default": "",
|
|
15651
|
+
"dtype": "T"
|
|
15652
|
+
},
|
|
15635
15653
|
"validate__onResult": {
|
|
15636
15654
|
"dtype": "T",
|
|
15637
15655
|
"nullable": true
|
|
@@ -16012,6 +16030,14 @@
|
|
|
16012
16030
|
"binding": "twoWay",
|
|
16013
16031
|
"dtype": "T",
|
|
16014
16032
|
"nullable": true
|
|
16033
|
+
},
|
|
16034
|
+
"weakCondition": {
|
|
16035
|
+
"binding": "read",
|
|
16036
|
+
"default": false,
|
|
16037
|
+
"dtype": [
|
|
16038
|
+
"B",
|
|
16039
|
+
"T"
|
|
16040
|
+
]
|
|
16015
16041
|
}
|
|
16016
16042
|
},
|
|
16017
16043
|
"presentationDefaults": []
|
|
@@ -17757,6 +17783,51 @@
|
|
|
17757
17783
|
"name": "dbtable",
|
|
17758
17784
|
"role": "attribute"
|
|
17759
17785
|
},
|
|
17786
|
+
{
|
|
17787
|
+
"annotation": {
|
|
17788
|
+
"dtype": "T",
|
|
17789
|
+
"kind": "dtype"
|
|
17790
|
+
},
|
|
17791
|
+
"default": null,
|
|
17792
|
+
"has_default": true,
|
|
17793
|
+
"kind": "keyword_only",
|
|
17794
|
+
"name": "condition",
|
|
17795
|
+
"role": "attribute"
|
|
17796
|
+
},
|
|
17797
|
+
{
|
|
17798
|
+
"annotation": {
|
|
17799
|
+
"items": [
|
|
17800
|
+
{
|
|
17801
|
+
"dtype": "B",
|
|
17802
|
+
"kind": "dtype"
|
|
17803
|
+
},
|
|
17804
|
+
{
|
|
17805
|
+
"dtype": "T",
|
|
17806
|
+
"kind": "dtype"
|
|
17807
|
+
},
|
|
17808
|
+
{
|
|
17809
|
+
"base": {
|
|
17810
|
+
"dtype": "T",
|
|
17811
|
+
"kind": "dtype"
|
|
17812
|
+
},
|
|
17813
|
+
"kind": "annotated",
|
|
17814
|
+
"metadata": [
|
|
17815
|
+
{
|
|
17816
|
+
"flags": 0,
|
|
17817
|
+
"kind": "regex",
|
|
17818
|
+
"pattern": "^[\\^=].+"
|
|
17819
|
+
}
|
|
17820
|
+
]
|
|
17821
|
+
}
|
|
17822
|
+
],
|
|
17823
|
+
"kind": "union"
|
|
17824
|
+
},
|
|
17825
|
+
"default": false,
|
|
17826
|
+
"has_default": true,
|
|
17827
|
+
"kind": "keyword_only",
|
|
17828
|
+
"name": "weakCondition",
|
|
17829
|
+
"role": "attribute"
|
|
17830
|
+
},
|
|
17760
17831
|
{
|
|
17761
17832
|
"annotation": {
|
|
17762
17833
|
"dtype": "T",
|
|
@@ -17790,6 +17861,39 @@
|
|
|
17790
17861
|
"name": "hiddenColumns",
|
|
17791
17862
|
"role": "attribute"
|
|
17792
17863
|
},
|
|
17864
|
+
{
|
|
17865
|
+
"annotation": {
|
|
17866
|
+
"dtype": "T",
|
|
17867
|
+
"kind": "dtype"
|
|
17868
|
+
},
|
|
17869
|
+
"default": null,
|
|
17870
|
+
"has_default": true,
|
|
17871
|
+
"kind": "keyword_only",
|
|
17872
|
+
"name": "auxColumns",
|
|
17873
|
+
"role": "attribute"
|
|
17874
|
+
},
|
|
17875
|
+
{
|
|
17876
|
+
"annotation": {
|
|
17877
|
+
"dtype": "T",
|
|
17878
|
+
"kind": "dtype"
|
|
17879
|
+
},
|
|
17880
|
+
"default": null,
|
|
17881
|
+
"has_default": true,
|
|
17882
|
+
"kind": "keyword_only",
|
|
17883
|
+
"name": "template",
|
|
17884
|
+
"role": "attribute"
|
|
17885
|
+
},
|
|
17886
|
+
{
|
|
17887
|
+
"annotation": {
|
|
17888
|
+
"dtype": "T",
|
|
17889
|
+
"kind": "dtype"
|
|
17890
|
+
},
|
|
17891
|
+
"default": "",
|
|
17892
|
+
"has_default": true,
|
|
17893
|
+
"kind": "keyword_only",
|
|
17894
|
+
"name": "templateNull",
|
|
17895
|
+
"role": "attribute"
|
|
17896
|
+
},
|
|
17793
17897
|
{
|
|
17794
17898
|
"annotation": {
|
|
17795
17899
|
"dtype": "T",
|
|
@@ -17926,7 +18030,7 @@
|
|
|
17926
18030
|
"dtype": "T",
|
|
17927
18031
|
"kind": "dtype"
|
|
17928
18032
|
},
|
|
17929
|
-
"default": "",
|
|
18033
|
+
"default": "Clear selection",
|
|
17930
18034
|
"has_default": true,
|
|
17931
18035
|
"kind": "keyword_only",
|
|
17932
18036
|
"name": "emptyLabel",
|
|
@@ -17996,10 +18100,18 @@
|
|
|
17996
18100
|
"default": false,
|
|
17997
18101
|
"dtype": "B"
|
|
17998
18102
|
},
|
|
18103
|
+
"auxColumns": {
|
|
18104
|
+
"binding": "read",
|
|
18105
|
+
"dtype": "T"
|
|
18106
|
+
},
|
|
17999
18107
|
"columns": {
|
|
18000
18108
|
"binding": "read",
|
|
18001
18109
|
"dtype": "T"
|
|
18002
18110
|
},
|
|
18111
|
+
"condition": {
|
|
18112
|
+
"binding": "read",
|
|
18113
|
+
"dtype": "T"
|
|
18114
|
+
},
|
|
18003
18115
|
"dbtable": {
|
|
18004
18116
|
"binding": "read",
|
|
18005
18117
|
"dtype": "T"
|
|
@@ -18011,8 +18123,9 @@
|
|
|
18011
18123
|
},
|
|
18012
18124
|
"emptyLabel": {
|
|
18013
18125
|
"binding": "read",
|
|
18014
|
-
"default": "",
|
|
18015
|
-
"dtype": "T"
|
|
18126
|
+
"default": "Clear selection",
|
|
18127
|
+
"dtype": "T",
|
|
18128
|
+
"qualification": "intl_str"
|
|
18016
18129
|
},
|
|
18017
18130
|
"hasDownArrow": {
|
|
18018
18131
|
"binding": "read",
|
|
@@ -18093,6 +18206,15 @@
|
|
|
18093
18206
|
"selectedRecord": {
|
|
18094
18207
|
"dtype": "T"
|
|
18095
18208
|
},
|
|
18209
|
+
"template": {
|
|
18210
|
+
"binding": "read",
|
|
18211
|
+
"dtype": "T"
|
|
18212
|
+
},
|
|
18213
|
+
"templateNull": {
|
|
18214
|
+
"binding": "read",
|
|
18215
|
+
"default": "",
|
|
18216
|
+
"dtype": "T"
|
|
18217
|
+
},
|
|
18096
18218
|
"validate__onResult": {
|
|
18097
18219
|
"dtype": "T",
|
|
18098
18220
|
"nullable": true
|
|
@@ -18476,6 +18598,14 @@
|
|
|
18476
18598
|
"L"
|
|
18477
18599
|
],
|
|
18478
18600
|
"nullable": true
|
|
18601
|
+
},
|
|
18602
|
+
"weakCondition": {
|
|
18603
|
+
"binding": "read",
|
|
18604
|
+
"default": false,
|
|
18605
|
+
"dtype": [
|
|
18606
|
+
"B",
|
|
18607
|
+
"T"
|
|
18608
|
+
]
|
|
18479
18609
|
}
|
|
18480
18610
|
},
|
|
18481
18611
|
"presentationDefaults": []
|
|
@@ -20239,6 +20369,51 @@
|
|
|
20239
20369
|
"name": "dbtable",
|
|
20240
20370
|
"role": "attribute"
|
|
20241
20371
|
},
|
|
20372
|
+
{
|
|
20373
|
+
"annotation": {
|
|
20374
|
+
"dtype": "T",
|
|
20375
|
+
"kind": "dtype"
|
|
20376
|
+
},
|
|
20377
|
+
"default": null,
|
|
20378
|
+
"has_default": true,
|
|
20379
|
+
"kind": "keyword_only",
|
|
20380
|
+
"name": "condition",
|
|
20381
|
+
"role": "attribute"
|
|
20382
|
+
},
|
|
20383
|
+
{
|
|
20384
|
+
"annotation": {
|
|
20385
|
+
"items": [
|
|
20386
|
+
{
|
|
20387
|
+
"dtype": "B",
|
|
20388
|
+
"kind": "dtype"
|
|
20389
|
+
},
|
|
20390
|
+
{
|
|
20391
|
+
"dtype": "T",
|
|
20392
|
+
"kind": "dtype"
|
|
20393
|
+
},
|
|
20394
|
+
{
|
|
20395
|
+
"base": {
|
|
20396
|
+
"dtype": "T",
|
|
20397
|
+
"kind": "dtype"
|
|
20398
|
+
},
|
|
20399
|
+
"kind": "annotated",
|
|
20400
|
+
"metadata": [
|
|
20401
|
+
{
|
|
20402
|
+
"flags": 0,
|
|
20403
|
+
"kind": "regex",
|
|
20404
|
+
"pattern": "^[\\^=].+"
|
|
20405
|
+
}
|
|
20406
|
+
]
|
|
20407
|
+
}
|
|
20408
|
+
],
|
|
20409
|
+
"kind": "union"
|
|
20410
|
+
},
|
|
20411
|
+
"default": false,
|
|
20412
|
+
"has_default": true,
|
|
20413
|
+
"kind": "keyword_only",
|
|
20414
|
+
"name": "weakCondition",
|
|
20415
|
+
"role": "attribute"
|
|
20416
|
+
},
|
|
20242
20417
|
{
|
|
20243
20418
|
"annotation": {
|
|
20244
20419
|
"dtype": "T",
|
|
@@ -20272,6 +20447,39 @@
|
|
|
20272
20447
|
"name": "hiddenColumns",
|
|
20273
20448
|
"role": "attribute"
|
|
20274
20449
|
},
|
|
20450
|
+
{
|
|
20451
|
+
"annotation": {
|
|
20452
|
+
"dtype": "T",
|
|
20453
|
+
"kind": "dtype"
|
|
20454
|
+
},
|
|
20455
|
+
"default": null,
|
|
20456
|
+
"has_default": true,
|
|
20457
|
+
"kind": "keyword_only",
|
|
20458
|
+
"name": "auxColumns",
|
|
20459
|
+
"role": "attribute"
|
|
20460
|
+
},
|
|
20461
|
+
{
|
|
20462
|
+
"annotation": {
|
|
20463
|
+
"dtype": "T",
|
|
20464
|
+
"kind": "dtype"
|
|
20465
|
+
},
|
|
20466
|
+
"default": null,
|
|
20467
|
+
"has_default": true,
|
|
20468
|
+
"kind": "keyword_only",
|
|
20469
|
+
"name": "template",
|
|
20470
|
+
"role": "attribute"
|
|
20471
|
+
},
|
|
20472
|
+
{
|
|
20473
|
+
"annotation": {
|
|
20474
|
+
"dtype": "T",
|
|
20475
|
+
"kind": "dtype"
|
|
20476
|
+
},
|
|
20477
|
+
"default": "",
|
|
20478
|
+
"has_default": true,
|
|
20479
|
+
"kind": "keyword_only",
|
|
20480
|
+
"name": "templateNull",
|
|
20481
|
+
"role": "attribute"
|
|
20482
|
+
},
|
|
20275
20483
|
{
|
|
20276
20484
|
"annotation": {
|
|
20277
20485
|
"dtype": "T",
|
|
@@ -20408,7 +20616,7 @@
|
|
|
20408
20616
|
"dtype": "T",
|
|
20409
20617
|
"kind": "dtype"
|
|
20410
20618
|
},
|
|
20411
|
-
"default": "",
|
|
20619
|
+
"default": "Clear selection",
|
|
20412
20620
|
"has_default": true,
|
|
20413
20621
|
"kind": "keyword_only",
|
|
20414
20622
|
"name": "emptyLabel",
|
|
@@ -8,6 +8,6 @@ mygramlot = GramlotCollection(
|
|
|
8
8
|
module="assets/index.js",
|
|
9
9
|
css=(),
|
|
10
10
|
dependencies=(),
|
|
11
|
-
build_id="sha256:
|
|
11
|
+
build_id="sha256:226133f0d38b60fbf90d6de2fd0888f1debb7a2f7a6b7b5dc17e522296c05ad6",
|
|
12
12
|
files=("assets/collection.js", "assets/index.js", "commands.json", "grammar.json",),
|
|
13
13
|
)
|