@marimo-team/islands 0.24.1-dev95 → 0.24.1-dev97
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/{chat-ui-BqDoKana.js → chat-ui-oP4nqVlf.js} +2 -2
- package/dist/{common-D0TXZImz.js → common-DTK-bBJI.js} +2 -2
- package/dist/{html-to-image-BMTAw0YV.js → html-to-image-B09MiZT1.js} +1 -1
- package/dist/main.js +6 -6
- package/dist/{process-output-JALCTHOK.js → process-output-kUlWbyzk.js} +1 -1
- package/dist/{reveal-component-q9Ml1yx9.js → reveal-component-ByLQ_T41.js} +2 -2
- package/dist/{vega-component-PYsP9Jod.js → vega-component-LgU-A6O9.js} +172 -162
- package/package.json +1 -1
- package/src/components/editor/actions/__tests__/types.test.ts +44 -0
- package/src/components/editor/actions/useNotebookActions.tsx +16 -0
- package/src/components/editor/chrome/types.ts +1 -1
- package/src/components/editor/connections/database/add-database-form.tsx +4 -0
- package/src/components/editor/connections/storage/add-storage-form.tsx +6 -0
- package/src/plugins/impl/vega/__tests__/__snapshots__/make-selectable.test.ts.snap +185 -185
- package/src/plugins/impl/vega/__tests__/make-selectable.test.ts +78 -2
- package/src/plugins/impl/vega/params.ts +26 -10
- package/src/plugins/impl/vega/vega-component.tsx +7 -2
|
@@ -44,14 +44,14 @@ exports[`makeSelectable > should add bin_coloring param for 2D binned histogram
|
|
|
44
44
|
"x",
|
|
45
45
|
"y",
|
|
46
46
|
],
|
|
47
|
-
"on": "click[!event.
|
|
47
|
+
"on": "click[!event.ctrlKey]",
|
|
48
48
|
"type": "point",
|
|
49
49
|
},
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"name": "bin_coloring",
|
|
53
53
|
"select": {
|
|
54
|
-
"on": "click[!event.
|
|
54
|
+
"on": "click[!event.ctrlKey]",
|
|
55
55
|
"type": "point",
|
|
56
56
|
},
|
|
57
57
|
},
|
|
@@ -59,10 +59,10 @@ exports[`makeSelectable > should add bin_coloring param for 2D binned histogram
|
|
|
59
59
|
"bind": "scales",
|
|
60
60
|
"name": "pan_zoom",
|
|
61
61
|
"select": {
|
|
62
|
-
"on": "[mousedown[event.
|
|
63
|
-
"translate": "[mousedown[event.
|
|
62
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
63
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
64
64
|
"type": "interval",
|
|
65
|
-
"zoom": "wheel![event.
|
|
65
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
66
66
|
},
|
|
67
67
|
},
|
|
68
68
|
],
|
|
@@ -107,14 +107,14 @@ exports[`makeSelectable > should add bin_coloring param for binned charts 1`] =
|
|
|
107
107
|
"encodings": [
|
|
108
108
|
"x",
|
|
109
109
|
],
|
|
110
|
-
"on": "click[!event.
|
|
110
|
+
"on": "click[!event.ctrlKey]",
|
|
111
111
|
"type": "point",
|
|
112
112
|
},
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"name": "bin_coloring",
|
|
116
116
|
"select": {
|
|
117
|
-
"on": "click[!event.
|
|
117
|
+
"on": "click[!event.ctrlKey]",
|
|
118
118
|
"type": "point",
|
|
119
119
|
},
|
|
120
120
|
},
|
|
@@ -122,10 +122,10 @@ exports[`makeSelectable > should add bin_coloring param for binned charts 1`] =
|
|
|
122
122
|
"bind": "scales",
|
|
123
123
|
"name": "pan_zoom",
|
|
124
124
|
"select": {
|
|
125
|
-
"on": "[mousedown[event.
|
|
126
|
-
"translate": "[mousedown[event.
|
|
125
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
126
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
127
127
|
"type": "interval",
|
|
128
|
-
"zoom": "wheel![event.
|
|
128
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
129
129
|
},
|
|
130
130
|
},
|
|
131
131
|
],
|
|
@@ -172,14 +172,14 @@ exports[`makeSelectable > should add bin_coloring param for layered binned chart
|
|
|
172
172
|
"encodings": [
|
|
173
173
|
"x",
|
|
174
174
|
],
|
|
175
|
-
"on": "click[!event.
|
|
175
|
+
"on": "click[!event.ctrlKey]",
|
|
176
176
|
"type": "point",
|
|
177
177
|
},
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
"name": "bin_coloring_0",
|
|
181
181
|
"select": {
|
|
182
|
-
"on": "click[!event.
|
|
182
|
+
"on": "click[!event.ctrlKey]",
|
|
183
183
|
"type": "point",
|
|
184
184
|
},
|
|
185
185
|
},
|
|
@@ -187,10 +187,10 @@ exports[`makeSelectable > should add bin_coloring param for layered binned chart
|
|
|
187
187
|
"bind": "scales",
|
|
188
188
|
"name": "pan_zoom",
|
|
189
189
|
"select": {
|
|
190
|
-
"on": "[mousedown[event.
|
|
191
|
-
"translate": "[mousedown[event.
|
|
190
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
191
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
192
192
|
"type": "interval",
|
|
193
|
-
"zoom": "wheel![event.
|
|
193
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
194
194
|
},
|
|
195
195
|
},
|
|
196
196
|
],
|
|
@@ -235,7 +235,7 @@ exports[`makeSelectable > should add bin_coloring param for layered binned chart
|
|
|
235
235
|
"x",
|
|
236
236
|
"y",
|
|
237
237
|
],
|
|
238
|
-
"on": "click[!event.
|
|
238
|
+
"on": "click[!event.ctrlKey]",
|
|
239
239
|
"type": "point",
|
|
240
240
|
},
|
|
241
241
|
},
|
|
@@ -252,8 +252,8 @@ exports[`makeSelectable > should add bin_coloring param for layered binned chart
|
|
|
252
252
|
"stroke": "#669EFF",
|
|
253
253
|
"strokeOpacity": 0.4,
|
|
254
254
|
},
|
|
255
|
-
"on": "[mousedown[!event.
|
|
256
|
-
"translate": "[mousedown[!event.
|
|
255
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
256
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
257
257
|
"type": "interval",
|
|
258
258
|
},
|
|
259
259
|
},
|
|
@@ -326,7 +326,7 @@ exports[`makeSelectable > should add legend selection to composite charts (issue
|
|
|
326
326
|
"x",
|
|
327
327
|
"y",
|
|
328
328
|
],
|
|
329
|
-
"on": "click[!event.
|
|
329
|
+
"on": "click[!event.ctrlKey]",
|
|
330
330
|
"type": "point",
|
|
331
331
|
},
|
|
332
332
|
},
|
|
@@ -343,8 +343,8 @@ exports[`makeSelectable > should add legend selection to composite charts (issue
|
|
|
343
343
|
"stroke": "#669EFF",
|
|
344
344
|
"strokeOpacity": 0.4,
|
|
345
345
|
},
|
|
346
|
-
"on": "[mousedown[!event.
|
|
347
|
-
"translate": "[mousedown[!event.
|
|
346
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
347
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
348
348
|
"type": "interval",
|
|
349
349
|
},
|
|
350
350
|
},
|
|
@@ -352,10 +352,10 @@ exports[`makeSelectable > should add legend selection to composite charts (issue
|
|
|
352
352
|
"bind": "scales",
|
|
353
353
|
"name": "pan_zoom",
|
|
354
354
|
"select": {
|
|
355
|
-
"on": "[mousedown[event.
|
|
356
|
-
"translate": "[mousedown[event.
|
|
355
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
356
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
357
357
|
"type": "interval",
|
|
358
|
-
"zoom": "wheel![event.
|
|
358
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
359
359
|
},
|
|
360
360
|
},
|
|
361
361
|
],
|
|
@@ -406,7 +406,7 @@ exports[`makeSelectable > should add legend selection to composite charts (issue
|
|
|
406
406
|
"x",
|
|
407
407
|
"y",
|
|
408
408
|
],
|
|
409
|
-
"on": "click[!event.
|
|
409
|
+
"on": "click[!event.ctrlKey]",
|
|
410
410
|
"type": "point",
|
|
411
411
|
},
|
|
412
412
|
},
|
|
@@ -423,8 +423,8 @@ exports[`makeSelectable > should add legend selection to composite charts (issue
|
|
|
423
423
|
"stroke": "#669EFF",
|
|
424
424
|
"strokeOpacity": 0.4,
|
|
425
425
|
},
|
|
426
|
-
"on": "[mousedown[!event.
|
|
427
|
-
"translate": "[mousedown[!event.
|
|
426
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
427
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
428
428
|
"type": "interval",
|
|
429
429
|
},
|
|
430
430
|
},
|
|
@@ -481,7 +481,7 @@ exports[`makeSelectable > should add legend selection to hconcat specs 1`] = `
|
|
|
481
481
|
"x",
|
|
482
482
|
"y",
|
|
483
483
|
],
|
|
484
|
-
"on": "click[!event.
|
|
484
|
+
"on": "click[!event.ctrlKey]",
|
|
485
485
|
"type": "point",
|
|
486
486
|
},
|
|
487
487
|
},
|
|
@@ -498,8 +498,8 @@ exports[`makeSelectable > should add legend selection to hconcat specs 1`] = `
|
|
|
498
498
|
"stroke": "#669EFF",
|
|
499
499
|
"strokeOpacity": 0.4,
|
|
500
500
|
},
|
|
501
|
-
"on": "[mousedown[!event.
|
|
502
|
-
"translate": "[mousedown[!event.
|
|
501
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
502
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
503
503
|
"type": "interval",
|
|
504
504
|
},
|
|
505
505
|
},
|
|
@@ -558,10 +558,10 @@ exports[`makeSelectable > should add legend selection to hconcat specs 1`] = `
|
|
|
558
558
|
"bind": "scales",
|
|
559
559
|
"name": "pan_zoom",
|
|
560
560
|
"select": {
|
|
561
|
-
"on": "[mousedown[event.
|
|
562
|
-
"translate": "[mousedown[event.
|
|
561
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
562
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
563
563
|
"type": "interval",
|
|
564
|
-
"zoom": "wheel![event.
|
|
564
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
565
565
|
},
|
|
566
566
|
},
|
|
567
567
|
],
|
|
@@ -585,10 +585,10 @@ exports[`makeSelectable > should add legend selection to nested vconcat(hconcat(
|
|
|
585
585
|
"bind": "scales",
|
|
586
586
|
"name": "pan_zoom",
|
|
587
587
|
"select": {
|
|
588
|
-
"on": "[mousedown[event.
|
|
589
|
-
"translate": "[mousedown[event.
|
|
588
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
589
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
590
590
|
"type": "interval",
|
|
591
|
-
"zoom": "wheel![event.
|
|
591
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
592
592
|
},
|
|
593
593
|
},
|
|
594
594
|
],
|
|
@@ -729,10 +729,10 @@ exports[`makeSelectable > should add legend selection to vconcat specs 1`] = `
|
|
|
729
729
|
"bind": "scales",
|
|
730
730
|
"name": "pan_zoom",
|
|
731
731
|
"select": {
|
|
732
|
-
"on": "[mousedown[event.
|
|
733
|
-
"translate": "[mousedown[event.
|
|
732
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
733
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
734
734
|
"type": "interval",
|
|
735
|
-
"zoom": "wheel![event.
|
|
735
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
736
736
|
},
|
|
737
737
|
},
|
|
738
738
|
],
|
|
@@ -781,7 +781,7 @@ exports[`makeSelectable > should add legend selection to vconcat specs 1`] = `
|
|
|
781
781
|
"x",
|
|
782
782
|
"y",
|
|
783
783
|
],
|
|
784
|
-
"on": "click[!event.
|
|
784
|
+
"on": "click[!event.ctrlKey]",
|
|
785
785
|
"type": "point",
|
|
786
786
|
},
|
|
787
787
|
},
|
|
@@ -798,8 +798,8 @@ exports[`makeSelectable > should add legend selection to vconcat specs 1`] = `
|
|
|
798
798
|
"stroke": "#669EFF",
|
|
799
799
|
"strokeOpacity": 0.4,
|
|
800
800
|
},
|
|
801
|
-
"on": "[mousedown[!event.
|
|
802
|
-
"translate": "[mousedown[!event.
|
|
801
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
802
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
803
803
|
"type": "interval",
|
|
804
804
|
},
|
|
805
805
|
},
|
|
@@ -848,7 +848,7 @@ exports[`makeSelectable > should add legend selection to vconcat specs 1`] = `
|
|
|
848
848
|
"encodings": [
|
|
849
849
|
"x",
|
|
850
850
|
],
|
|
851
|
-
"on": "click[!event.
|
|
851
|
+
"on": "click[!event.ctrlKey]",
|
|
852
852
|
"type": "point",
|
|
853
853
|
},
|
|
854
854
|
},
|
|
@@ -864,8 +864,8 @@ exports[`makeSelectable > should add legend selection to vconcat specs 1`] = `
|
|
|
864
864
|
"stroke": "#669EFF",
|
|
865
865
|
"strokeOpacity": 0.4,
|
|
866
866
|
},
|
|
867
|
-
"on": "[mousedown[!event.
|
|
868
|
-
"translate": "[mousedown[!event.
|
|
867
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
868
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
869
869
|
"type": "interval",
|
|
870
870
|
},
|
|
871
871
|
},
|
|
@@ -948,7 +948,7 @@ exports[`makeSelectable > should collect legend fields from multiple layers with
|
|
|
948
948
|
"x",
|
|
949
949
|
"y",
|
|
950
950
|
],
|
|
951
|
-
"on": "click[!event.
|
|
951
|
+
"on": "click[!event.ctrlKey]",
|
|
952
952
|
"type": "point",
|
|
953
953
|
},
|
|
954
954
|
},
|
|
@@ -965,8 +965,8 @@ exports[`makeSelectable > should collect legend fields from multiple layers with
|
|
|
965
965
|
"stroke": "#669EFF",
|
|
966
966
|
"strokeOpacity": 0.4,
|
|
967
967
|
},
|
|
968
|
-
"on": "[mousedown[!event.
|
|
969
|
-
"translate": "[mousedown[!event.
|
|
968
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
969
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
970
970
|
"type": "interval",
|
|
971
971
|
},
|
|
972
972
|
},
|
|
@@ -974,10 +974,10 @@ exports[`makeSelectable > should collect legend fields from multiple layers with
|
|
|
974
974
|
"bind": "scales",
|
|
975
975
|
"name": "pan_zoom",
|
|
976
976
|
"select": {
|
|
977
|
-
"on": "[mousedown[event.
|
|
978
|
-
"translate": "[mousedown[event.
|
|
977
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
978
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
979
979
|
"type": "interval",
|
|
980
|
-
"zoom": "wheel![event.
|
|
980
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
981
981
|
},
|
|
982
982
|
},
|
|
983
983
|
],
|
|
@@ -1026,7 +1026,7 @@ exports[`makeSelectable > should collect legend fields from multiple layers with
|
|
|
1026
1026
|
"x",
|
|
1027
1027
|
"y",
|
|
1028
1028
|
],
|
|
1029
|
-
"on": "click[!event.
|
|
1029
|
+
"on": "click[!event.ctrlKey]",
|
|
1030
1030
|
"type": "point",
|
|
1031
1031
|
},
|
|
1032
1032
|
},
|
|
@@ -1043,8 +1043,8 @@ exports[`makeSelectable > should collect legend fields from multiple layers with
|
|
|
1043
1043
|
"stroke": "#669EFF",
|
|
1044
1044
|
"strokeOpacity": 0.4,
|
|
1045
1045
|
},
|
|
1046
|
-
"on": "[mousedown[!event.
|
|
1047
|
-
"translate": "[mousedown[!event.
|
|
1046
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1047
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1048
1048
|
"type": "interval",
|
|
1049
1049
|
},
|
|
1050
1050
|
},
|
|
@@ -1102,7 +1102,7 @@ exports[`makeSelectable > should handle concat with only one subspec 1`] = `
|
|
|
1102
1102
|
"x",
|
|
1103
1103
|
"y",
|
|
1104
1104
|
],
|
|
1105
|
-
"on": "click[!event.
|
|
1105
|
+
"on": "click[!event.ctrlKey]",
|
|
1106
1106
|
"type": "point",
|
|
1107
1107
|
},
|
|
1108
1108
|
},
|
|
@@ -1119,8 +1119,8 @@ exports[`makeSelectable > should handle concat with only one subspec 1`] = `
|
|
|
1119
1119
|
"stroke": "#669EFF",
|
|
1120
1120
|
"strokeOpacity": 0.4,
|
|
1121
1121
|
},
|
|
1122
|
-
"on": "[mousedown[!event.
|
|
1123
|
-
"translate": "[mousedown[!event.
|
|
1122
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1123
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1124
1124
|
"type": "interval",
|
|
1125
1125
|
},
|
|
1126
1126
|
},
|
|
@@ -1128,10 +1128,10 @@ exports[`makeSelectable > should handle concat with only one subspec 1`] = `
|
|
|
1128
1128
|
"bind": "scales",
|
|
1129
1129
|
"name": "pan_zoom",
|
|
1130
1130
|
"select": {
|
|
1131
|
-
"on": "[mousedown[event.
|
|
1132
|
-
"translate": "[mousedown[event.
|
|
1131
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1132
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1133
1133
|
"type": "interval",
|
|
1134
|
-
"zoom": "wheel![event.
|
|
1134
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
1135
1135
|
},
|
|
1136
1136
|
},
|
|
1137
1137
|
],
|
|
@@ -1191,7 +1191,7 @@ exports[`makeSelectable > should hoist only common legend params when chart sele
|
|
|
1191
1191
|
"x",
|
|
1192
1192
|
"y",
|
|
1193
1193
|
],
|
|
1194
|
-
"on": "click[!event.
|
|
1194
|
+
"on": "click[!event.ctrlKey]",
|
|
1195
1195
|
"type": "point",
|
|
1196
1196
|
},
|
|
1197
1197
|
},
|
|
@@ -1208,8 +1208,8 @@ exports[`makeSelectable > should hoist only common legend params when chart sele
|
|
|
1208
1208
|
"stroke": "#669EFF",
|
|
1209
1209
|
"strokeOpacity": 0.4,
|
|
1210
1210
|
},
|
|
1211
|
-
"on": "[mousedown[!event.
|
|
1212
|
-
"translate": "[mousedown[!event.
|
|
1211
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1212
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1213
1213
|
"type": "interval",
|
|
1214
1214
|
},
|
|
1215
1215
|
},
|
|
@@ -1258,7 +1258,7 @@ exports[`makeSelectable > should hoist only common legend params when chart sele
|
|
|
1258
1258
|
"encodings": [
|
|
1259
1259
|
"x",
|
|
1260
1260
|
],
|
|
1261
|
-
"on": "click[!event.
|
|
1261
|
+
"on": "click[!event.ctrlKey]",
|
|
1262
1262
|
"type": "point",
|
|
1263
1263
|
},
|
|
1264
1264
|
},
|
|
@@ -1274,8 +1274,8 @@ exports[`makeSelectable > should hoist only common legend params when chart sele
|
|
|
1274
1274
|
"stroke": "#669EFF",
|
|
1275
1275
|
"strokeOpacity": 0.4,
|
|
1276
1276
|
},
|
|
1277
|
-
"on": "[mousedown[!event.
|
|
1278
|
-
"translate": "[mousedown[!event.
|
|
1277
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1278
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1279
1279
|
"type": "interval",
|
|
1280
1280
|
},
|
|
1281
1281
|
},
|
|
@@ -1297,10 +1297,10 @@ exports[`makeSelectable > should hoist only common legend params when chart sele
|
|
|
1297
1297
|
"bind": "scales",
|
|
1298
1298
|
"name": "pan_zoom",
|
|
1299
1299
|
"select": {
|
|
1300
|
-
"on": "[mousedown[event.
|
|
1301
|
-
"translate": "[mousedown[event.
|
|
1300
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1301
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1302
1302
|
"type": "interval",
|
|
1303
|
-
"zoom": "wheel![event.
|
|
1303
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
1304
1304
|
},
|
|
1305
1305
|
},
|
|
1306
1306
|
],
|
|
@@ -1465,7 +1465,7 @@ exports[`makeSelectable > should hoist params to top level in hconcat(vconcat(..
|
|
|
1465
1465
|
"x",
|
|
1466
1466
|
"y",
|
|
1467
1467
|
],
|
|
1468
|
-
"on": "click[!event.
|
|
1468
|
+
"on": "click[!event.ctrlKey]",
|
|
1469
1469
|
"type": "point",
|
|
1470
1470
|
},
|
|
1471
1471
|
},
|
|
@@ -1482,8 +1482,8 @@ exports[`makeSelectable > should hoist params to top level in hconcat(vconcat(..
|
|
|
1482
1482
|
"stroke": "#669EFF",
|
|
1483
1483
|
"strokeOpacity": 0.4,
|
|
1484
1484
|
},
|
|
1485
|
-
"on": "[mousedown[!event.
|
|
1486
|
-
"translate": "[mousedown[!event.
|
|
1485
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1486
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1487
1487
|
"type": "interval",
|
|
1488
1488
|
},
|
|
1489
1489
|
},
|
|
@@ -1491,10 +1491,10 @@ exports[`makeSelectable > should hoist params to top level in hconcat(vconcat(..
|
|
|
1491
1491
|
"bind": "scales",
|
|
1492
1492
|
"name": "pan_zoom",
|
|
1493
1493
|
"select": {
|
|
1494
|
-
"on": "[mousedown[event.
|
|
1495
|
-
"translate": "[mousedown[event.
|
|
1494
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1495
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1496
1496
|
"type": "interval",
|
|
1497
|
-
"zoom": "wheel![event.
|
|
1497
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
1498
1498
|
},
|
|
1499
1499
|
},
|
|
1500
1500
|
],
|
|
@@ -1520,10 +1520,10 @@ exports[`makeSelectable > should not add bin_coloring when chartSelection is fal
|
|
|
1520
1520
|
"bind": "scales",
|
|
1521
1521
|
"name": "pan_zoom",
|
|
1522
1522
|
"select": {
|
|
1523
|
-
"on": "[mousedown[event.
|
|
1524
|
-
"translate": "[mousedown[event.
|
|
1523
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1524
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1525
1525
|
"type": "interval",
|
|
1526
|
-
"zoom": "wheel![event.
|
|
1526
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
1527
1527
|
},
|
|
1528
1528
|
},
|
|
1529
1529
|
],
|
|
@@ -1581,10 +1581,10 @@ exports[`makeSelectable > should not duplicate legend params when multiple layer
|
|
|
1581
1581
|
"bind": "scales",
|
|
1582
1582
|
"name": "pan_zoom",
|
|
1583
1583
|
"select": {
|
|
1584
|
-
"on": "[mousedown[event.
|
|
1585
|
-
"translate": "[mousedown[event.
|
|
1584
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1585
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1586
1586
|
"type": "interval",
|
|
1587
|
-
"zoom": "wheel![event.
|
|
1587
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
1588
1588
|
},
|
|
1589
1589
|
},
|
|
1590
1590
|
],
|
|
@@ -1634,7 +1634,7 @@ exports[`makeSelectable > should not duplicate legend params when multiple layer
|
|
|
1634
1634
|
"x",
|
|
1635
1635
|
"y",
|
|
1636
1636
|
],
|
|
1637
|
-
"on": "click[!event.
|
|
1637
|
+
"on": "click[!event.ctrlKey]",
|
|
1638
1638
|
"type": "point",
|
|
1639
1639
|
},
|
|
1640
1640
|
},
|
|
@@ -1651,8 +1651,8 @@ exports[`makeSelectable > should not duplicate legend params when multiple layer
|
|
|
1651
1651
|
"stroke": "#669EFF",
|
|
1652
1652
|
"strokeOpacity": 0.4,
|
|
1653
1653
|
},
|
|
1654
|
-
"on": "[mousedown[!event.
|
|
1655
|
-
"translate": "[mousedown[!event.
|
|
1654
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1655
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1656
1656
|
"type": "interval",
|
|
1657
1657
|
},
|
|
1658
1658
|
},
|
|
@@ -1702,7 +1702,7 @@ exports[`makeSelectable > should not hoist params when specs have different enco
|
|
|
1702
1702
|
"x",
|
|
1703
1703
|
"y",
|
|
1704
1704
|
],
|
|
1705
|
-
"on": "click[!event.
|
|
1705
|
+
"on": "click[!event.ctrlKey]",
|
|
1706
1706
|
"type": "point",
|
|
1707
1707
|
},
|
|
1708
1708
|
},
|
|
@@ -1719,8 +1719,8 @@ exports[`makeSelectable > should not hoist params when specs have different enco
|
|
|
1719
1719
|
"stroke": "#669EFF",
|
|
1720
1720
|
"strokeOpacity": 0.4,
|
|
1721
1721
|
},
|
|
1722
|
-
"on": "[mousedown[!event.
|
|
1723
|
-
"translate": "[mousedown[!event.
|
|
1722
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1723
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1724
1724
|
"type": "interval",
|
|
1725
1725
|
},
|
|
1726
1726
|
},
|
|
@@ -1772,7 +1772,7 @@ exports[`makeSelectable > should not hoist params when specs have different enco
|
|
|
1772
1772
|
"encodings": [
|
|
1773
1773
|
"color",
|
|
1774
1774
|
],
|
|
1775
|
-
"on": "click[!event.
|
|
1775
|
+
"on": "click[!event.ctrlKey]",
|
|
1776
1776
|
"type": "point",
|
|
1777
1777
|
},
|
|
1778
1778
|
},
|
|
@@ -1784,10 +1784,10 @@ exports[`makeSelectable > should not hoist params when specs have different enco
|
|
|
1784
1784
|
"bind": "scales",
|
|
1785
1785
|
"name": "pan_zoom",
|
|
1786
1786
|
"select": {
|
|
1787
|
-
"on": "[mousedown[event.
|
|
1788
|
-
"translate": "[mousedown[event.
|
|
1787
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1788
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1789
1789
|
"type": "interval",
|
|
1790
|
-
"zoom": "wheel![event.
|
|
1790
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
1791
1791
|
},
|
|
1792
1792
|
},
|
|
1793
1793
|
],
|
|
@@ -1840,7 +1840,7 @@ exports[`makeSelectable > should not hoist params when specs have different sele
|
|
|
1840
1840
|
"encodings": [
|
|
1841
1841
|
"x",
|
|
1842
1842
|
],
|
|
1843
|
-
"on": "click[!event.
|
|
1843
|
+
"on": "click[!event.ctrlKey]",
|
|
1844
1844
|
"type": "point",
|
|
1845
1845
|
},
|
|
1846
1846
|
},
|
|
@@ -1856,8 +1856,8 @@ exports[`makeSelectable > should not hoist params when specs have different sele
|
|
|
1856
1856
|
"stroke": "#669EFF",
|
|
1857
1857
|
"strokeOpacity": 0.4,
|
|
1858
1858
|
},
|
|
1859
|
-
"on": "[mousedown[!event.
|
|
1860
|
-
"translate": "[mousedown[!event.
|
|
1859
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1860
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
1861
1861
|
"type": "interval",
|
|
1862
1862
|
},
|
|
1863
1863
|
},
|
|
@@ -1906,7 +1906,7 @@ exports[`makeSelectable > should not hoist params when specs have different sele
|
|
|
1906
1906
|
"encodings": [
|
|
1907
1907
|
"color",
|
|
1908
1908
|
],
|
|
1909
|
-
"on": "click[!event.
|
|
1909
|
+
"on": "click[!event.ctrlKey]",
|
|
1910
1910
|
"type": "point",
|
|
1911
1911
|
},
|
|
1912
1912
|
},
|
|
@@ -1928,10 +1928,10 @@ exports[`makeSelectable > should not hoist params when specs have different sele
|
|
|
1928
1928
|
"bind": "scales",
|
|
1929
1929
|
"name": "pan_zoom",
|
|
1930
1930
|
"select": {
|
|
1931
|
-
"on": "[mousedown[event.
|
|
1932
|
-
"translate": "[mousedown[event.
|
|
1931
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1932
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
1933
1933
|
"type": "interval",
|
|
1934
|
-
"zoom": "wheel![event.
|
|
1934
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
1935
1935
|
},
|
|
1936
1936
|
},
|
|
1937
1937
|
],
|
|
@@ -2046,7 +2046,7 @@ exports[`makeSelectable > should only hoist common params with same select.type
|
|
|
2046
2046
|
"x",
|
|
2047
2047
|
"y",
|
|
2048
2048
|
],
|
|
2049
|
-
"on": "click[!event.
|
|
2049
|
+
"on": "click[!event.ctrlKey]",
|
|
2050
2050
|
"type": "point",
|
|
2051
2051
|
},
|
|
2052
2052
|
},
|
|
@@ -2063,8 +2063,8 @@ exports[`makeSelectable > should only hoist common params with same select.type
|
|
|
2063
2063
|
"stroke": "#669EFF",
|
|
2064
2064
|
"strokeOpacity": 0.4,
|
|
2065
2065
|
},
|
|
2066
|
-
"on": "[mousedown[!event.
|
|
2067
|
-
"translate": "[mousedown[!event.
|
|
2066
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2067
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2068
2068
|
"type": "interval",
|
|
2069
2069
|
},
|
|
2070
2070
|
},
|
|
@@ -2072,10 +2072,10 @@ exports[`makeSelectable > should only hoist common params with same select.type
|
|
|
2072
2072
|
"bind": "scales",
|
|
2073
2073
|
"name": "pan_zoom",
|
|
2074
2074
|
"select": {
|
|
2075
|
-
"on": "[mousedown[event.
|
|
2076
|
-
"translate": "[mousedown[event.
|
|
2075
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2076
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2077
2077
|
"type": "interval",
|
|
2078
|
-
"zoom": "wheel![event.
|
|
2078
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2079
2079
|
},
|
|
2080
2080
|
},
|
|
2081
2081
|
],
|
|
@@ -2122,14 +2122,14 @@ exports[`makeSelectable > should prefer point selection for binned charts even w
|
|
|
2122
2122
|
"encodings": [
|
|
2123
2123
|
"x",
|
|
2124
2124
|
],
|
|
2125
|
-
"on": "click[!event.
|
|
2125
|
+
"on": "click[!event.ctrlKey]",
|
|
2126
2126
|
"type": "point",
|
|
2127
2127
|
},
|
|
2128
2128
|
},
|
|
2129
2129
|
{
|
|
2130
2130
|
"name": "bin_coloring",
|
|
2131
2131
|
"select": {
|
|
2132
|
-
"on": "click[!event.
|
|
2132
|
+
"on": "click[!event.ctrlKey]",
|
|
2133
2133
|
"type": "point",
|
|
2134
2134
|
},
|
|
2135
2135
|
},
|
|
@@ -2137,10 +2137,10 @@ exports[`makeSelectable > should prefer point selection for binned charts even w
|
|
|
2137
2137
|
"bind": "scales",
|
|
2138
2138
|
"name": "pan_zoom",
|
|
2139
2139
|
"select": {
|
|
2140
|
-
"on": "[mousedown[event.
|
|
2141
|
-
"translate": "[mousedown[event.
|
|
2140
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2141
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2142
2142
|
"type": "interval",
|
|
2143
|
-
"zoom": "wheel![event.
|
|
2143
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2144
2144
|
},
|
|
2145
2145
|
},
|
|
2146
2146
|
],
|
|
@@ -2221,7 +2221,7 @@ exports[`makeSelectable > should return correctly if existing legend selection 1
|
|
|
2221
2221
|
"encodings": [
|
|
2222
2222
|
"color",
|
|
2223
2223
|
],
|
|
2224
|
-
"on": "click[!event.
|
|
2224
|
+
"on": "click[!event.ctrlKey]",
|
|
2225
2225
|
"type": "point",
|
|
2226
2226
|
},
|
|
2227
2227
|
},
|
|
@@ -2229,10 +2229,10 @@ exports[`makeSelectable > should return correctly if existing legend selection 1
|
|
|
2229
2229
|
"bind": "scales",
|
|
2230
2230
|
"name": "pan_zoom",
|
|
2231
2231
|
"select": {
|
|
2232
|
-
"on": "[mousedown[event.
|
|
2233
|
-
"translate": "[mousedown[event.
|
|
2232
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2233
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2234
2234
|
"type": "interval",
|
|
2235
|
-
"zoom": "wheel![event.
|
|
2235
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2236
2236
|
},
|
|
2237
2237
|
},
|
|
2238
2238
|
],
|
|
@@ -2272,7 +2272,7 @@ exports[`makeSelectable > should return correctly if mark is a string 1`] = `
|
|
|
2272
2272
|
"x",
|
|
2273
2273
|
"y",
|
|
2274
2274
|
],
|
|
2275
|
-
"on": "click[!event.
|
|
2275
|
+
"on": "click[!event.ctrlKey]",
|
|
2276
2276
|
"type": "point",
|
|
2277
2277
|
},
|
|
2278
2278
|
},
|
|
@@ -2289,8 +2289,8 @@ exports[`makeSelectable > should return correctly if mark is a string 1`] = `
|
|
|
2289
2289
|
"stroke": "#669EFF",
|
|
2290
2290
|
"strokeOpacity": 0.4,
|
|
2291
2291
|
},
|
|
2292
|
-
"on": "[mousedown[!event.
|
|
2293
|
-
"translate": "[mousedown[!event.
|
|
2292
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2293
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2294
2294
|
"type": "interval",
|
|
2295
2295
|
},
|
|
2296
2296
|
},
|
|
@@ -2298,10 +2298,10 @@ exports[`makeSelectable > should return correctly if mark is a string 1`] = `
|
|
|
2298
2298
|
"bind": "scales",
|
|
2299
2299
|
"name": "pan_zoom",
|
|
2300
2300
|
"select": {
|
|
2301
|
-
"on": "[mousedown[event.
|
|
2302
|
-
"translate": "[mousedown[event.
|
|
2301
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2302
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2303
2303
|
"type": "interval",
|
|
2304
|
-
"zoom": "wheel![event.
|
|
2304
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2305
2305
|
},
|
|
2306
2306
|
},
|
|
2307
2307
|
],
|
|
@@ -2341,7 +2341,7 @@ exports[`makeSelectable > should return correctly if mark is not string 1`] = `
|
|
|
2341
2341
|
"x",
|
|
2342
2342
|
"y",
|
|
2343
2343
|
],
|
|
2344
|
-
"on": "click[!event.
|
|
2344
|
+
"on": "click[!event.ctrlKey]",
|
|
2345
2345
|
"type": "point",
|
|
2346
2346
|
},
|
|
2347
2347
|
},
|
|
@@ -2358,8 +2358,8 @@ exports[`makeSelectable > should return correctly if mark is not string 1`] = `
|
|
|
2358
2358
|
"stroke": "#669EFF",
|
|
2359
2359
|
"strokeOpacity": 0.4,
|
|
2360
2360
|
},
|
|
2361
|
-
"on": "[mousedown[!event.
|
|
2362
|
-
"translate": "[mousedown[!event.
|
|
2361
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2362
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2363
2363
|
"type": "interval",
|
|
2364
2364
|
},
|
|
2365
2365
|
},
|
|
@@ -2367,10 +2367,10 @@ exports[`makeSelectable > should return correctly if mark is not string 1`] = `
|
|
|
2367
2367
|
"bind": "scales",
|
|
2368
2368
|
"name": "pan_zoom",
|
|
2369
2369
|
"select": {
|
|
2370
|
-
"on": "[mousedown[event.
|
|
2371
|
-
"translate": "[mousedown[event.
|
|
2370
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2371
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2372
2372
|
"type": "interval",
|
|
2373
|
-
"zoom": "wheel![event.
|
|
2373
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2374
2374
|
},
|
|
2375
2375
|
},
|
|
2376
2376
|
],
|
|
@@ -2443,7 +2443,7 @@ exports[`makeSelectable > should return correctly if overlapping encodings 1`] =
|
|
|
2443
2443
|
"x",
|
|
2444
2444
|
"y",
|
|
2445
2445
|
],
|
|
2446
|
-
"on": "click[!event.
|
|
2446
|
+
"on": "click[!event.ctrlKey]",
|
|
2447
2447
|
"type": "point",
|
|
2448
2448
|
},
|
|
2449
2449
|
},
|
|
@@ -2460,8 +2460,8 @@ exports[`makeSelectable > should return correctly if overlapping encodings 1`] =
|
|
|
2460
2460
|
"stroke": "#669EFF",
|
|
2461
2461
|
"strokeOpacity": 0.4,
|
|
2462
2462
|
},
|
|
2463
|
-
"on": "[mousedown[!event.
|
|
2464
|
-
"translate": "[mousedown[!event.
|
|
2463
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2464
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2465
2465
|
"type": "interval",
|
|
2466
2466
|
},
|
|
2467
2467
|
},
|
|
@@ -2469,10 +2469,10 @@ exports[`makeSelectable > should return correctly if overlapping encodings 1`] =
|
|
|
2469
2469
|
"bind": "scales",
|
|
2470
2470
|
"name": "pan_zoom",
|
|
2471
2471
|
"select": {
|
|
2472
|
-
"on": "[mousedown[event.
|
|
2473
|
-
"translate": "[mousedown[event.
|
|
2472
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2473
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2474
2474
|
"type": "interval",
|
|
2475
|
-
"zoom": "wheel![event.
|
|
2475
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2476
2476
|
},
|
|
2477
2477
|
},
|
|
2478
2478
|
],
|
|
@@ -2546,7 +2546,7 @@ exports[`makeSelectable > should return correctly with multiple encodings 1`] =
|
|
|
2546
2546
|
"x",
|
|
2547
2547
|
"y",
|
|
2548
2548
|
],
|
|
2549
|
-
"on": "click[!event.
|
|
2549
|
+
"on": "click[!event.ctrlKey]",
|
|
2550
2550
|
"type": "point",
|
|
2551
2551
|
},
|
|
2552
2552
|
},
|
|
@@ -2563,8 +2563,8 @@ exports[`makeSelectable > should return correctly with multiple encodings 1`] =
|
|
|
2563
2563
|
"stroke": "#669EFF",
|
|
2564
2564
|
"strokeOpacity": 0.4,
|
|
2565
2565
|
},
|
|
2566
|
-
"on": "[mousedown[!event.
|
|
2567
|
-
"translate": "[mousedown[!event.
|
|
2566
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2567
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2568
2568
|
"type": "interval",
|
|
2569
2569
|
},
|
|
2570
2570
|
},
|
|
@@ -2572,10 +2572,10 @@ exports[`makeSelectable > should return correctly with multiple encodings 1`] =
|
|
|
2572
2572
|
"bind": "scales",
|
|
2573
2573
|
"name": "pan_zoom",
|
|
2574
2574
|
"select": {
|
|
2575
|
-
"on": "[mousedown[event.
|
|
2576
|
-
"translate": "[mousedown[event.
|
|
2575
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2576
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2577
2577
|
"type": "interval",
|
|
2578
|
-
"zoom": "wheel![event.
|
|
2578
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2579
2579
|
},
|
|
2580
2580
|
},
|
|
2581
2581
|
],
|
|
@@ -2615,7 +2615,7 @@ exports[`makeSelectable > should return the same spec for not-defined and true 1
|
|
|
2615
2615
|
"x",
|
|
2616
2616
|
"y",
|
|
2617
2617
|
],
|
|
2618
|
-
"on": "click[!event.
|
|
2618
|
+
"on": "click[!event.ctrlKey]",
|
|
2619
2619
|
"type": "point",
|
|
2620
2620
|
},
|
|
2621
2621
|
},
|
|
@@ -2632,8 +2632,8 @@ exports[`makeSelectable > should return the same spec for not-defined and true 1
|
|
|
2632
2632
|
"stroke": "#669EFF",
|
|
2633
2633
|
"strokeOpacity": 0.4,
|
|
2634
2634
|
},
|
|
2635
|
-
"on": "[mousedown[!event.
|
|
2636
|
-
"translate": "[mousedown[!event.
|
|
2635
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2636
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2637
2637
|
"type": "interval",
|
|
2638
2638
|
},
|
|
2639
2639
|
},
|
|
@@ -2641,10 +2641,10 @@ exports[`makeSelectable > should return the same spec for not-defined and true 1
|
|
|
2641
2641
|
"bind": "scales",
|
|
2642
2642
|
"name": "pan_zoom",
|
|
2643
2643
|
"select": {
|
|
2644
|
-
"on": "[mousedown[event.
|
|
2645
|
-
"translate": "[mousedown[event.
|
|
2644
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2645
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2646
2646
|
"type": "interval",
|
|
2647
|
-
"zoom": "wheel![event.
|
|
2647
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2648
2648
|
},
|
|
2649
2649
|
},
|
|
2650
2650
|
],
|
|
@@ -2702,7 +2702,7 @@ exports[`makeSelectable > should return the same spec if mark is not in spec 1`]
|
|
|
2702
2702
|
"x",
|
|
2703
2703
|
"y",
|
|
2704
2704
|
],
|
|
2705
|
-
"on": "click[!event.
|
|
2705
|
+
"on": "click[!event.ctrlKey]",
|
|
2706
2706
|
"type": "point",
|
|
2707
2707
|
},
|
|
2708
2708
|
},
|
|
@@ -2719,8 +2719,8 @@ exports[`makeSelectable > should return the same spec if mark is not in spec 1`]
|
|
|
2719
2719
|
"stroke": "#669EFF",
|
|
2720
2720
|
"strokeOpacity": 0.4,
|
|
2721
2721
|
},
|
|
2722
|
-
"on": "[mousedown[!event.
|
|
2723
|
-
"translate": "[mousedown[!event.
|
|
2722
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2723
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2724
2724
|
"type": "interval",
|
|
2725
2725
|
},
|
|
2726
2726
|
},
|
|
@@ -2728,10 +2728,10 @@ exports[`makeSelectable > should return the same spec if mark is not in spec 1`]
|
|
|
2728
2728
|
"bind": "scales",
|
|
2729
2729
|
"name": "pan_zoom",
|
|
2730
2730
|
"select": {
|
|
2731
|
-
"on": "[mousedown[event.
|
|
2732
|
-
"translate": "[mousedown[event.
|
|
2731
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2732
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2733
2733
|
"type": "interval",
|
|
2734
|
-
"zoom": "wheel![event.
|
|
2734
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2735
2735
|
},
|
|
2736
2736
|
},
|
|
2737
2737
|
],
|
|
@@ -2797,7 +2797,7 @@ exports[`makeSelectable > should skip field selection if empty or false 1`] = `
|
|
|
2797
2797
|
"x",
|
|
2798
2798
|
"y",
|
|
2799
2799
|
],
|
|
2800
|
-
"on": "click[!event.
|
|
2800
|
+
"on": "click[!event.ctrlKey]",
|
|
2801
2801
|
"type": "point",
|
|
2802
2802
|
},
|
|
2803
2803
|
},
|
|
@@ -2814,8 +2814,8 @@ exports[`makeSelectable > should skip field selection if empty or false 1`] = `
|
|
|
2814
2814
|
"stroke": "#669EFF",
|
|
2815
2815
|
"strokeOpacity": 0.4,
|
|
2816
2816
|
},
|
|
2817
|
-
"on": "[mousedown[!event.
|
|
2818
|
-
"translate": "[mousedown[!event.
|
|
2817
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2818
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2819
2819
|
"type": "interval",
|
|
2820
2820
|
},
|
|
2821
2821
|
},
|
|
@@ -2823,10 +2823,10 @@ exports[`makeSelectable > should skip field selection if empty or false 1`] = `
|
|
|
2823
2823
|
"bind": "scales",
|
|
2824
2824
|
"name": "pan_zoom",
|
|
2825
2825
|
"select": {
|
|
2826
|
-
"on": "[mousedown[event.
|
|
2827
|
-
"translate": "[mousedown[event.
|
|
2826
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2827
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2828
2828
|
"type": "interval",
|
|
2829
|
-
"zoom": "wheel![event.
|
|
2829
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2830
2830
|
},
|
|
2831
2831
|
},
|
|
2832
2832
|
],
|
|
@@ -2931,7 +2931,7 @@ exports[`makeSelectable > should work for layered charts, with existing legend s
|
|
|
2931
2931
|
"encodings": [
|
|
2932
2932
|
"x",
|
|
2933
2933
|
],
|
|
2934
|
-
"on": "click[!event.
|
|
2934
|
+
"on": "click[!event.ctrlKey]",
|
|
2935
2935
|
"type": "point",
|
|
2936
2936
|
},
|
|
2937
2937
|
},
|
|
@@ -2947,8 +2947,8 @@ exports[`makeSelectable > should work for layered charts, with existing legend s
|
|
|
2947
2947
|
"stroke": "#669EFF",
|
|
2948
2948
|
"strokeOpacity": 0.4,
|
|
2949
2949
|
},
|
|
2950
|
-
"on": "[mousedown[!event.
|
|
2951
|
-
"translate": "[mousedown[!event.
|
|
2950
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2951
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
2952
2952
|
"type": "interval",
|
|
2953
2953
|
},
|
|
2954
2954
|
},
|
|
@@ -2956,10 +2956,10 @@ exports[`makeSelectable > should work for layered charts, with existing legend s
|
|
|
2956
2956
|
"bind": "scales",
|
|
2957
2957
|
"name": "pan_zoom",
|
|
2958
2958
|
"select": {
|
|
2959
|
-
"on": "[mousedown[event.
|
|
2960
|
-
"translate": "[mousedown[event.
|
|
2959
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2960
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
2961
2961
|
"type": "interval",
|
|
2962
|
-
"zoom": "wheel![event.
|
|
2962
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
2963
2963
|
},
|
|
2964
2964
|
},
|
|
2965
2965
|
],
|
|
@@ -3006,7 +3006,7 @@ exports[`makeSelectable > should work for layered charts, with existing legend s
|
|
|
3006
3006
|
"x",
|
|
3007
3007
|
"y",
|
|
3008
3008
|
],
|
|
3009
|
-
"on": "click[!event.
|
|
3009
|
+
"on": "click[!event.ctrlKey]",
|
|
3010
3010
|
"type": "point",
|
|
3011
3011
|
},
|
|
3012
3012
|
},
|
|
@@ -3023,8 +3023,8 @@ exports[`makeSelectable > should work for layered charts, with existing legend s
|
|
|
3023
3023
|
"stroke": "#669EFF",
|
|
3024
3024
|
"strokeOpacity": 0.4,
|
|
3025
3025
|
},
|
|
3026
|
-
"on": "[mousedown[!event.
|
|
3027
|
-
"translate": "[mousedown[!event.
|
|
3026
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3027
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3028
3028
|
"type": "interval",
|
|
3029
3029
|
},
|
|
3030
3030
|
},
|
|
@@ -3106,10 +3106,10 @@ exports[`makeSelectable > should work for layered charts, with existing selectio
|
|
|
3106
3106
|
"bind": "scales",
|
|
3107
3107
|
"name": "pan_zoom",
|
|
3108
3108
|
"select": {
|
|
3109
|
-
"on": "[mousedown[event.
|
|
3110
|
-
"translate": "[mousedown[event.
|
|
3109
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
3110
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
3111
3111
|
"type": "interval",
|
|
3112
|
-
"zoom": "wheel![event.
|
|
3112
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
3113
3113
|
},
|
|
3114
3114
|
},
|
|
3115
3115
|
],
|
|
@@ -3202,10 +3202,10 @@ exports[`makeSelectable > should work for multi-layered charts 1`] = `
|
|
|
3202
3202
|
"bind": "scales",
|
|
3203
3203
|
"name": "pan_zoom",
|
|
3204
3204
|
"select": {
|
|
3205
|
-
"on": "[mousedown[event.
|
|
3206
|
-
"translate": "[mousedown[event.
|
|
3205
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
3206
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
3207
3207
|
"type": "interval",
|
|
3208
|
-
"zoom": "wheel![event.
|
|
3208
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
3209
3209
|
},
|
|
3210
3210
|
},
|
|
3211
3211
|
],
|
|
@@ -3248,7 +3248,7 @@ exports[`makeSelectable > should work for multi-layered charts 1`] = `
|
|
|
3248
3248
|
"x",
|
|
3249
3249
|
"y",
|
|
3250
3250
|
],
|
|
3251
|
-
"on": "click[!event.
|
|
3251
|
+
"on": "click[!event.ctrlKey]",
|
|
3252
3252
|
"type": "point",
|
|
3253
3253
|
},
|
|
3254
3254
|
},
|
|
@@ -3265,8 +3265,8 @@ exports[`makeSelectable > should work for multi-layered charts 1`] = `
|
|
|
3265
3265
|
"stroke": "#669EFF",
|
|
3266
3266
|
"strokeOpacity": 0.4,
|
|
3267
3267
|
},
|
|
3268
|
-
"on": "[mousedown[!event.
|
|
3269
|
-
"translate": "[mousedown[!event.
|
|
3268
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3269
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3270
3270
|
"type": "interval",
|
|
3271
3271
|
},
|
|
3272
3272
|
},
|
|
@@ -3335,7 +3335,7 @@ exports[`makeSelectable > should work for multi-layered charts with different se
|
|
|
3335
3335
|
"encodings": [
|
|
3336
3336
|
"y",
|
|
3337
3337
|
],
|
|
3338
|
-
"on": "click[!event.
|
|
3338
|
+
"on": "click[!event.ctrlKey]",
|
|
3339
3339
|
"type": "point",
|
|
3340
3340
|
},
|
|
3341
3341
|
},
|
|
@@ -3351,8 +3351,8 @@ exports[`makeSelectable > should work for multi-layered charts with different se
|
|
|
3351
3351
|
"stroke": "#669EFF",
|
|
3352
3352
|
"strokeOpacity": 0.4,
|
|
3353
3353
|
},
|
|
3354
|
-
"on": "[mousedown[!event.
|
|
3355
|
-
"translate": "[mousedown[!event.
|
|
3354
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3355
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3356
3356
|
"type": "interval",
|
|
3357
3357
|
},
|
|
3358
3358
|
},
|
|
@@ -3360,10 +3360,10 @@ exports[`makeSelectable > should work for multi-layered charts with different se
|
|
|
3360
3360
|
"bind": "scales",
|
|
3361
3361
|
"name": "pan_zoom",
|
|
3362
3362
|
"select": {
|
|
3363
|
-
"on": "[mousedown[event.
|
|
3364
|
-
"translate": "[mousedown[event.
|
|
3363
|
+
"on": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
3364
|
+
"translate": "[mousedown[event.ctrlKey], window:mouseup] > window:mousemove!",
|
|
3365
3365
|
"type": "interval",
|
|
3366
|
-
"zoom": "wheel![event.
|
|
3366
|
+
"zoom": "wheel![event.ctrlKey]",
|
|
3367
3367
|
},
|
|
3368
3368
|
},
|
|
3369
3369
|
],
|
|
@@ -3417,7 +3417,7 @@ exports[`makeSelectable > should work for multi-layered charts with different se
|
|
|
3417
3417
|
"x",
|
|
3418
3418
|
"y",
|
|
3419
3419
|
],
|
|
3420
|
-
"on": "click[!event.
|
|
3420
|
+
"on": "click[!event.ctrlKey]",
|
|
3421
3421
|
"type": "point",
|
|
3422
3422
|
},
|
|
3423
3423
|
},
|
|
@@ -3434,8 +3434,8 @@ exports[`makeSelectable > should work for multi-layered charts with different se
|
|
|
3434
3434
|
"stroke": "#669EFF",
|
|
3435
3435
|
"strokeOpacity": 0.4,
|
|
3436
3436
|
},
|
|
3437
|
-
"on": "[mousedown[!event.
|
|
3438
|
-
"translate": "[mousedown[!event.
|
|
3437
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3438
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3439
3439
|
"type": "interval",
|
|
3440
3440
|
},
|
|
3441
3441
|
},
|
|
@@ -3490,7 +3490,7 @@ exports[`makeSelectable > should work for multi-layered charts with different se
|
|
|
3490
3490
|
"x",
|
|
3491
3491
|
"y",
|
|
3492
3492
|
],
|
|
3493
|
-
"on": "click[!event.
|
|
3493
|
+
"on": "click[!event.ctrlKey]",
|
|
3494
3494
|
"type": "point",
|
|
3495
3495
|
},
|
|
3496
3496
|
},
|
|
@@ -3507,8 +3507,8 @@ exports[`makeSelectable > should work for multi-layered charts with different se
|
|
|
3507
3507
|
"stroke": "#669EFF",
|
|
3508
3508
|
"strokeOpacity": 0.4,
|
|
3509
3509
|
},
|
|
3510
|
-
"on": "[mousedown[!event.
|
|
3511
|
-
"translate": "[mousedown[!event.
|
|
3510
|
+
"on": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3511
|
+
"translate": "[mousedown[!event.ctrlKey], mouseup] > mousemove[!event.ctrlKey]",
|
|
3512
3512
|
"type": "interval",
|
|
3513
3513
|
},
|
|
3514
3514
|
},
|