@khanacademy/perseus-editor 7.0.1 → 7.0.2
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/es/index.js +1 -14
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +1 -14
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +143 -210
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SizingUtils } from "@khanacademy/perseus";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import type { PerseusImageBackground, PerseusInteractiveGraphWidgetOptions, APIOptionsWithDefaults, LockedFigure
|
|
3
|
+
import type { PerseusImageBackground, PerseusInteractiveGraphWidgetOptions, APIOptionsWithDefaults, LockedFigure } from "@khanacademy/perseus";
|
|
4
4
|
import type { PropsFor } from "@khanacademy/wonder-blocks-core";
|
|
5
5
|
declare const InteractiveGraph: {
|
|
6
6
|
new (props: (PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -15,9 +15,7 @@ declare const InteractiveGraph: {
|
|
|
15
15
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
16
16
|
showAlignmentOptions?: boolean | undefined;
|
|
17
17
|
readOnly?: boolean | undefined;
|
|
18
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
19
|
-
* Whether to show the ruler on the graph.
|
|
20
|
-
*/
|
|
18
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
21
19
|
getAnotherHint?: (() => unknown) | undefined;
|
|
22
20
|
interactionCallback?: ((widgetData: {
|
|
23
21
|
[widgetId: string]: any;
|
|
@@ -49,6 +47,7 @@ declare const InteractiveGraph: {
|
|
|
49
47
|
linear?: boolean | undefined;
|
|
50
48
|
quadratic?: boolean | undefined;
|
|
51
49
|
sinusoid?: boolean | undefined;
|
|
50
|
+
point?: boolean | undefined;
|
|
52
51
|
ray?: boolean | undefined;
|
|
53
52
|
segment?: boolean | undefined;
|
|
54
53
|
"linear-system"?: boolean | undefined;
|
|
@@ -98,9 +97,7 @@ declare const InteractiveGraph: {
|
|
|
98
97
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
99
98
|
showAlignmentOptions?: boolean | undefined;
|
|
100
99
|
readOnly?: boolean | undefined;
|
|
101
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
102
|
-
* Whether to show the ruler on the graph.
|
|
103
|
-
*/
|
|
100
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
104
101
|
getAnotherHint?: (() => unknown) | undefined;
|
|
105
102
|
interactionCallback?: ((widgetData: {
|
|
106
103
|
[widgetId: string]: any;
|
|
@@ -132,6 +129,7 @@ declare const InteractiveGraph: {
|
|
|
132
129
|
linear?: boolean | undefined;
|
|
133
130
|
quadratic?: boolean | undefined;
|
|
134
131
|
sinusoid?: boolean | undefined;
|
|
132
|
+
point?: boolean | undefined;
|
|
135
133
|
ray?: boolean | undefined;
|
|
136
134
|
segment?: boolean | undefined;
|
|
137
135
|
"linear-system"?: boolean | undefined;
|
|
@@ -206,9 +204,7 @@ declare const InteractiveGraph: {
|
|
|
206
204
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
207
205
|
showAlignmentOptions?: boolean | undefined;
|
|
208
206
|
readOnly?: boolean | undefined;
|
|
209
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
210
|
-
* Whether to show the ruler on the graph.
|
|
211
|
-
*/
|
|
207
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
212
208
|
getAnotherHint?: (() => unknown) | undefined;
|
|
213
209
|
interactionCallback?: ((widgetData: {
|
|
214
210
|
[widgetId: string]: any;
|
|
@@ -240,6 +236,7 @@ declare const InteractiveGraph: {
|
|
|
240
236
|
linear?: boolean | undefined;
|
|
241
237
|
quadratic?: boolean | undefined;
|
|
242
238
|
sinusoid?: boolean | undefined;
|
|
239
|
+
point?: boolean | undefined;
|
|
243
240
|
ray?: boolean | undefined;
|
|
244
241
|
segment?: boolean | undefined;
|
|
245
242
|
"linear-system"?: boolean | undefined;
|
|
@@ -290,9 +287,7 @@ declare const InteractiveGraph: {
|
|
|
290
287
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
291
288
|
showAlignmentOptions?: boolean | undefined;
|
|
292
289
|
readOnly?: boolean | undefined;
|
|
293
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
294
|
-
* Whether to show the ruler on the graph.
|
|
295
|
-
*/
|
|
290
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
296
291
|
getAnotherHint?: (() => unknown) | undefined;
|
|
297
292
|
interactionCallback?: ((widgetData: {
|
|
298
293
|
[widgetId: string]: any;
|
|
@@ -324,6 +319,7 @@ declare const InteractiveGraph: {
|
|
|
324
319
|
linear?: boolean | undefined;
|
|
325
320
|
quadratic?: boolean | undefined;
|
|
326
321
|
sinusoid?: boolean | undefined;
|
|
322
|
+
point?: boolean | undefined;
|
|
327
323
|
ray?: boolean | undefined;
|
|
328
324
|
segment?: boolean | undefined;
|
|
329
325
|
"linear-system"?: boolean | undefined;
|
|
@@ -374,9 +370,7 @@ declare const InteractiveGraph: {
|
|
|
374
370
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
375
371
|
showAlignmentOptions?: boolean | undefined;
|
|
376
372
|
readOnly?: boolean | undefined;
|
|
377
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
378
|
-
* Whether to show the ruler on the graph.
|
|
379
|
-
*/
|
|
373
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
380
374
|
getAnotherHint?: (() => unknown) | undefined;
|
|
381
375
|
interactionCallback?: ((widgetData: {
|
|
382
376
|
[widgetId: string]: any;
|
|
@@ -408,6 +402,7 @@ declare const InteractiveGraph: {
|
|
|
408
402
|
linear?: boolean | undefined;
|
|
409
403
|
quadratic?: boolean | undefined;
|
|
410
404
|
sinusoid?: boolean | undefined;
|
|
405
|
+
point?: boolean | undefined;
|
|
411
406
|
ray?: boolean | undefined;
|
|
412
407
|
segment?: boolean | undefined;
|
|
413
408
|
"linear-system"?: boolean | undefined;
|
|
@@ -449,7 +444,9 @@ declare const InteractiveGraph: {
|
|
|
449
444
|
deprecatedProps: any;
|
|
450
445
|
setGraphie: (arg1: any) => void;
|
|
451
446
|
handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
452
|
-
resetGraphie: () => void;
|
|
447
|
+
resetGraphie: () => void; /**
|
|
448
|
+
* How far apart the grid lines are in the x and y directions.
|
|
449
|
+
*/
|
|
453
450
|
setupGraphie: () => void;
|
|
454
451
|
showHairlines: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
455
452
|
hideHairlines: () => void;
|
|
@@ -466,9 +463,7 @@ declare const InteractiveGraph: {
|
|
|
466
463
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
467
464
|
showAlignmentOptions?: boolean | undefined;
|
|
468
465
|
readOnly?: boolean | undefined;
|
|
469
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
470
|
-
* Whether to show the ruler on the graph.
|
|
471
|
-
*/
|
|
466
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
472
467
|
getAnotherHint?: (() => unknown) | undefined;
|
|
473
468
|
interactionCallback?: ((widgetData: {
|
|
474
469
|
[widgetId: string]: any;
|
|
@@ -500,6 +495,7 @@ declare const InteractiveGraph: {
|
|
|
500
495
|
linear?: boolean | undefined;
|
|
501
496
|
quadratic?: boolean | undefined;
|
|
502
497
|
sinusoid?: boolean | undefined;
|
|
498
|
+
point?: boolean | undefined;
|
|
503
499
|
ray?: boolean | undefined;
|
|
504
500
|
segment?: boolean | undefined;
|
|
505
501
|
"linear-system"?: boolean | undefined;
|
|
@@ -557,13 +553,9 @@ declare const InteractiveGraph: {
|
|
|
557
553
|
removeSinusoidControls: () => void;
|
|
558
554
|
addCircleControls: () => void;
|
|
559
555
|
removeCircleControls: () => void;
|
|
560
|
-
addLinearSystemControls: () => void;
|
|
561
|
-
* The label to display on the ruler, if any.
|
|
562
|
-
*/
|
|
556
|
+
addLinearSystemControls: () => void;
|
|
563
557
|
removeLinearSystemControls: () => void;
|
|
564
|
-
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
565
|
-
* The number of ticks to display on the ruler.
|
|
566
|
-
*/
|
|
558
|
+
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
567
559
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
568
560
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
569
561
|
createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
@@ -582,7 +574,7 @@ declare const InteractiveGraph: {
|
|
|
582
574
|
addAngleControls: () => void;
|
|
583
575
|
removeAngleControls: () => void;
|
|
584
576
|
toggleShowSides: () => void;
|
|
585
|
-
getUserInput(): PerseusGraphType;
|
|
577
|
+
getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
|
|
586
578
|
simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
587
579
|
focus: () => void;
|
|
588
580
|
render(): React.ReactNode;
|
|
@@ -600,9 +592,7 @@ declare const InteractiveGraph: {
|
|
|
600
592
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
601
593
|
showAlignmentOptions?: boolean | undefined;
|
|
602
594
|
readOnly?: boolean | undefined;
|
|
603
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
604
|
-
* Whether to show the ruler on the graph.
|
|
605
|
-
*/
|
|
595
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
606
596
|
getAnotherHint?: (() => unknown) | undefined;
|
|
607
597
|
interactionCallback?: ((widgetData: {
|
|
608
598
|
[widgetId: string]: any;
|
|
@@ -634,6 +624,7 @@ declare const InteractiveGraph: {
|
|
|
634
624
|
linear?: boolean | undefined;
|
|
635
625
|
quadratic?: boolean | undefined;
|
|
636
626
|
sinusoid?: boolean | undefined;
|
|
627
|
+
point?: boolean | undefined;
|
|
637
628
|
ray?: boolean | undefined;
|
|
638
629
|
segment?: boolean | undefined;
|
|
639
630
|
"linear-system"?: boolean | undefined;
|
|
@@ -689,9 +680,7 @@ declare const InteractiveGraph: {
|
|
|
689
680
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
690
681
|
showAlignmentOptions?: boolean | undefined;
|
|
691
682
|
readOnly?: boolean | undefined;
|
|
692
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
693
|
-
* Whether to show the ruler on the graph.
|
|
694
|
-
*/
|
|
683
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
695
684
|
getAnotherHint?: (() => unknown) | undefined;
|
|
696
685
|
interactionCallback?: ((widgetData: {
|
|
697
686
|
[widgetId: string]: any;
|
|
@@ -723,6 +712,7 @@ declare const InteractiveGraph: {
|
|
|
723
712
|
linear?: boolean | undefined;
|
|
724
713
|
quadratic?: boolean | undefined;
|
|
725
714
|
sinusoid?: boolean | undefined;
|
|
715
|
+
point?: boolean | undefined;
|
|
726
716
|
ray?: boolean | undefined;
|
|
727
717
|
segment?: boolean | undefined;
|
|
728
718
|
"linear-system"?: boolean | undefined;
|
|
@@ -775,9 +765,7 @@ declare const InteractiveGraph: {
|
|
|
775
765
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
776
766
|
showAlignmentOptions?: boolean | undefined;
|
|
777
767
|
readOnly?: boolean | undefined;
|
|
778
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
779
|
-
* Whether to show the ruler on the graph.
|
|
780
|
-
*/
|
|
768
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
781
769
|
getAnotherHint?: (() => unknown) | undefined;
|
|
782
770
|
interactionCallback?: ((widgetData: {
|
|
783
771
|
[widgetId: string]: any;
|
|
@@ -809,6 +797,7 @@ declare const InteractiveGraph: {
|
|
|
809
797
|
linear?: boolean | undefined;
|
|
810
798
|
quadratic?: boolean | undefined;
|
|
811
799
|
sinusoid?: boolean | undefined;
|
|
800
|
+
point?: boolean | undefined;
|
|
812
801
|
ray?: boolean | undefined;
|
|
813
802
|
segment?: boolean | undefined;
|
|
814
803
|
"linear-system"?: boolean | undefined;
|
|
@@ -860,9 +849,7 @@ declare const InteractiveGraph: {
|
|
|
860
849
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
861
850
|
showAlignmentOptions?: boolean | undefined;
|
|
862
851
|
readOnly?: boolean | undefined;
|
|
863
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
864
|
-
* Whether to show the ruler on the graph.
|
|
865
|
-
*/
|
|
852
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
866
853
|
getAnotherHint?: (() => unknown) | undefined;
|
|
867
854
|
interactionCallback?: ((widgetData: {
|
|
868
855
|
[widgetId: string]: any;
|
|
@@ -894,6 +881,7 @@ declare const InteractiveGraph: {
|
|
|
894
881
|
linear?: boolean | undefined;
|
|
895
882
|
quadratic?: boolean | undefined;
|
|
896
883
|
sinusoid?: boolean | undefined;
|
|
884
|
+
point?: boolean | undefined;
|
|
897
885
|
ray?: boolean | undefined;
|
|
898
886
|
segment?: boolean | undefined;
|
|
899
887
|
"linear-system"?: boolean | undefined;
|
|
@@ -944,9 +932,7 @@ declare const InteractiveGraph: {
|
|
|
944
932
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
945
933
|
showAlignmentOptions?: boolean | undefined;
|
|
946
934
|
readOnly?: boolean | undefined;
|
|
947
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
948
|
-
* Whether to show the ruler on the graph.
|
|
949
|
-
*/
|
|
935
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
950
936
|
getAnotherHint?: (() => unknown) | undefined;
|
|
951
937
|
interactionCallback?: ((widgetData: {
|
|
952
938
|
[widgetId: string]: any;
|
|
@@ -978,6 +964,7 @@ declare const InteractiveGraph: {
|
|
|
978
964
|
linear?: boolean | undefined;
|
|
979
965
|
quadratic?: boolean | undefined;
|
|
980
966
|
sinusoid?: boolean | undefined;
|
|
967
|
+
point?: boolean | undefined;
|
|
981
968
|
ray?: boolean | undefined;
|
|
982
969
|
segment?: boolean | undefined;
|
|
983
970
|
"linear-system"?: boolean | undefined;
|
|
@@ -1028,9 +1015,7 @@ declare const InteractiveGraph: {
|
|
|
1028
1015
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1029
1016
|
showAlignmentOptions?: boolean | undefined;
|
|
1030
1017
|
readOnly?: boolean | undefined;
|
|
1031
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1032
|
-
* Whether to show the ruler on the graph.
|
|
1033
|
-
*/
|
|
1018
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1034
1019
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1035
1020
|
interactionCallback?: ((widgetData: {
|
|
1036
1021
|
[widgetId: string]: any;
|
|
@@ -1062,6 +1047,7 @@ declare const InteractiveGraph: {
|
|
|
1062
1047
|
linear?: boolean | undefined;
|
|
1063
1048
|
quadratic?: boolean | undefined;
|
|
1064
1049
|
sinusoid?: boolean | undefined;
|
|
1050
|
+
point?: boolean | undefined;
|
|
1065
1051
|
ray?: boolean | undefined;
|
|
1066
1052
|
segment?: boolean | undefined;
|
|
1067
1053
|
"linear-system"?: boolean | undefined;
|
|
@@ -1120,9 +1106,7 @@ declare const InteractiveGraph: {
|
|
|
1120
1106
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1121
1107
|
showAlignmentOptions?: boolean | undefined;
|
|
1122
1108
|
readOnly?: boolean | undefined;
|
|
1123
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1124
|
-
* Whether to show the ruler on the graph.
|
|
1125
|
-
*/
|
|
1109
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1126
1110
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1127
1111
|
interactionCallback?: ((widgetData: {
|
|
1128
1112
|
[widgetId: string]: any;
|
|
@@ -1154,6 +1138,7 @@ declare const InteractiveGraph: {
|
|
|
1154
1138
|
linear?: boolean | undefined;
|
|
1155
1139
|
quadratic?: boolean | undefined;
|
|
1156
1140
|
sinusoid?: boolean | undefined;
|
|
1141
|
+
point?: boolean | undefined;
|
|
1157
1142
|
ray?: boolean | undefined;
|
|
1158
1143
|
segment?: boolean | undefined;
|
|
1159
1144
|
"linear-system"?: boolean | undefined;
|
|
@@ -1211,9 +1196,7 @@ declare const InteractiveGraph: {
|
|
|
1211
1196
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1212
1197
|
showAlignmentOptions?: boolean | undefined;
|
|
1213
1198
|
readOnly?: boolean | undefined;
|
|
1214
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1215
|
-
* Whether to show the ruler on the graph.
|
|
1216
|
-
*/
|
|
1199
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1217
1200
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1218
1201
|
interactionCallback?: ((widgetData: {
|
|
1219
1202
|
[widgetId: string]: any;
|
|
@@ -1245,6 +1228,7 @@ declare const InteractiveGraph: {
|
|
|
1245
1228
|
linear?: boolean | undefined;
|
|
1246
1229
|
quadratic?: boolean | undefined;
|
|
1247
1230
|
sinusoid?: boolean | undefined;
|
|
1231
|
+
point?: boolean | undefined;
|
|
1248
1232
|
ray?: boolean | undefined;
|
|
1249
1233
|
segment?: boolean | undefined;
|
|
1250
1234
|
"linear-system"?: boolean | undefined;
|
|
@@ -1297,9 +1281,7 @@ declare const InteractiveGraph: {
|
|
|
1297
1281
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1298
1282
|
showAlignmentOptions?: boolean | undefined;
|
|
1299
1283
|
readOnly?: boolean | undefined;
|
|
1300
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1301
|
-
* Whether to show the ruler on the graph.
|
|
1302
|
-
*/
|
|
1284
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1303
1285
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1304
1286
|
interactionCallback?: ((widgetData: {
|
|
1305
1287
|
[widgetId: string]: any;
|
|
@@ -1331,6 +1313,7 @@ declare const InteractiveGraph: {
|
|
|
1331
1313
|
linear?: boolean | undefined;
|
|
1332
1314
|
quadratic?: boolean | undefined;
|
|
1333
1315
|
sinusoid?: boolean | undefined;
|
|
1316
|
+
point?: boolean | undefined;
|
|
1334
1317
|
ray?: boolean | undefined;
|
|
1335
1318
|
segment?: boolean | undefined;
|
|
1336
1319
|
"linear-system"?: boolean | undefined;
|
|
@@ -1381,9 +1364,7 @@ declare const InteractiveGraph: {
|
|
|
1381
1364
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1382
1365
|
showAlignmentOptions?: boolean | undefined;
|
|
1383
1366
|
readOnly?: boolean | undefined;
|
|
1384
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1385
|
-
* Whether to show the ruler on the graph.
|
|
1386
|
-
*/
|
|
1367
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1387
1368
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1388
1369
|
interactionCallback?: ((widgetData: {
|
|
1389
1370
|
[widgetId: string]: any;
|
|
@@ -1415,6 +1396,7 @@ declare const InteractiveGraph: {
|
|
|
1415
1396
|
linear?: boolean | undefined;
|
|
1416
1397
|
quadratic?: boolean | undefined;
|
|
1417
1398
|
sinusoid?: boolean | undefined;
|
|
1399
|
+
point?: boolean | undefined;
|
|
1418
1400
|
ray?: boolean | undefined;
|
|
1419
1401
|
segment?: boolean | undefined;
|
|
1420
1402
|
"linear-system"?: boolean | undefined;
|
|
@@ -1467,9 +1449,7 @@ declare const InteractiveGraph: {
|
|
|
1467
1449
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1468
1450
|
showAlignmentOptions?: boolean | undefined;
|
|
1469
1451
|
readOnly?: boolean | undefined;
|
|
1470
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1471
|
-
* Whether to show the ruler on the graph.
|
|
1472
|
-
*/
|
|
1452
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1473
1453
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1474
1454
|
interactionCallback?: ((widgetData: {
|
|
1475
1455
|
[widgetId: string]: any;
|
|
@@ -1501,6 +1481,7 @@ declare const InteractiveGraph: {
|
|
|
1501
1481
|
linear?: boolean | undefined;
|
|
1502
1482
|
quadratic?: boolean | undefined;
|
|
1503
1483
|
sinusoid?: boolean | undefined;
|
|
1484
|
+
point?: boolean | undefined;
|
|
1504
1485
|
ray?: boolean | undefined;
|
|
1505
1486
|
segment?: boolean | undefined;
|
|
1506
1487
|
"linear-system"?: boolean | undefined;
|
|
@@ -1551,9 +1532,7 @@ declare const InteractiveGraph: {
|
|
|
1551
1532
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1552
1533
|
showAlignmentOptions?: boolean | undefined;
|
|
1553
1534
|
readOnly?: boolean | undefined;
|
|
1554
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1555
|
-
* Whether to show the ruler on the graph.
|
|
1556
|
-
*/
|
|
1535
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1557
1536
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1558
1537
|
interactionCallback?: ((widgetData: {
|
|
1559
1538
|
[widgetId: string]: any;
|
|
@@ -1585,6 +1564,7 @@ declare const InteractiveGraph: {
|
|
|
1585
1564
|
linear?: boolean | undefined;
|
|
1586
1565
|
quadratic?: boolean | undefined;
|
|
1587
1566
|
sinusoid?: boolean | undefined;
|
|
1567
|
+
point?: boolean | undefined;
|
|
1588
1568
|
ray?: boolean | undefined;
|
|
1589
1569
|
segment?: boolean | undefined;
|
|
1590
1570
|
"linear-system"?: boolean | undefined;
|
|
@@ -1635,9 +1615,7 @@ declare const InteractiveGraph: {
|
|
|
1635
1615
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1636
1616
|
showAlignmentOptions?: boolean | undefined;
|
|
1637
1617
|
readOnly?: boolean | undefined;
|
|
1638
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1639
|
-
* Whether to show the ruler on the graph.
|
|
1640
|
-
*/
|
|
1618
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1641
1619
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1642
1620
|
interactionCallback?: ((widgetData: {
|
|
1643
1621
|
[widgetId: string]: any;
|
|
@@ -1669,6 +1647,7 @@ declare const InteractiveGraph: {
|
|
|
1669
1647
|
linear?: boolean | undefined;
|
|
1670
1648
|
quadratic?: boolean | undefined;
|
|
1671
1649
|
sinusoid?: boolean | undefined;
|
|
1650
|
+
point?: boolean | undefined;
|
|
1672
1651
|
ray?: boolean | undefined;
|
|
1673
1652
|
segment?: boolean | undefined;
|
|
1674
1653
|
"linear-system"?: boolean | undefined;
|
|
@@ -1719,9 +1698,7 @@ declare const InteractiveGraph: {
|
|
|
1719
1698
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1720
1699
|
showAlignmentOptions?: boolean | undefined;
|
|
1721
1700
|
readOnly?: boolean | undefined;
|
|
1722
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1723
|
-
* Whether to show the ruler on the graph.
|
|
1724
|
-
*/
|
|
1701
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1725
1702
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1726
1703
|
interactionCallback?: ((widgetData: {
|
|
1727
1704
|
[widgetId: string]: any;
|
|
@@ -1753,6 +1730,7 @@ declare const InteractiveGraph: {
|
|
|
1753
1730
|
linear?: boolean | undefined;
|
|
1754
1731
|
quadratic?: boolean | undefined;
|
|
1755
1732
|
sinusoid?: boolean | undefined;
|
|
1733
|
+
point?: boolean | undefined;
|
|
1756
1734
|
ray?: boolean | undefined;
|
|
1757
1735
|
segment?: boolean | undefined;
|
|
1758
1736
|
"linear-system"?: boolean | undefined;
|
|
@@ -1804,9 +1782,7 @@ declare const InteractiveGraph: {
|
|
|
1804
1782
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1805
1783
|
showAlignmentOptions?: boolean | undefined;
|
|
1806
1784
|
readOnly?: boolean | undefined;
|
|
1807
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1808
|
-
* Whether to show the ruler on the graph.
|
|
1809
|
-
*/
|
|
1785
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1810
1786
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1811
1787
|
interactionCallback?: ((widgetData: {
|
|
1812
1788
|
[widgetId: string]: any;
|
|
@@ -1838,6 +1814,7 @@ declare const InteractiveGraph: {
|
|
|
1838
1814
|
linear?: boolean | undefined;
|
|
1839
1815
|
quadratic?: boolean | undefined;
|
|
1840
1816
|
sinusoid?: boolean | undefined;
|
|
1817
|
+
point?: boolean | undefined;
|
|
1841
1818
|
ray?: boolean | undefined;
|
|
1842
1819
|
segment?: boolean | undefined;
|
|
1843
1820
|
"linear-system"?: boolean | undefined;
|
|
@@ -1912,9 +1889,7 @@ declare const InteractiveGraph: {
|
|
|
1912
1889
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1913
1890
|
showAlignmentOptions?: boolean | undefined;
|
|
1914
1891
|
readOnly?: boolean | undefined;
|
|
1915
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1916
|
-
* Whether to show the ruler on the graph.
|
|
1917
|
-
*/
|
|
1892
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1918
1893
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1919
1894
|
interactionCallback?: ((widgetData: {
|
|
1920
1895
|
[widgetId: string]: any;
|
|
@@ -1946,6 +1921,7 @@ declare const InteractiveGraph: {
|
|
|
1946
1921
|
linear?: boolean | undefined;
|
|
1947
1922
|
quadratic?: boolean | undefined;
|
|
1948
1923
|
sinusoid?: boolean | undefined;
|
|
1924
|
+
point?: boolean | undefined;
|
|
1949
1925
|
ray?: boolean | undefined;
|
|
1950
1926
|
segment?: boolean | undefined;
|
|
1951
1927
|
"linear-system"?: boolean | undefined;
|
|
@@ -1996,9 +1972,7 @@ declare const InteractiveGraph: {
|
|
|
1996
1972
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1997
1973
|
showAlignmentOptions?: boolean | undefined;
|
|
1998
1974
|
readOnly?: boolean | undefined;
|
|
1999
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2000
|
-
* Whether to show the ruler on the graph.
|
|
2001
|
-
*/
|
|
1975
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2002
1976
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2003
1977
|
interactionCallback?: ((widgetData: {
|
|
2004
1978
|
[widgetId: string]: any;
|
|
@@ -2030,6 +2004,7 @@ declare const InteractiveGraph: {
|
|
|
2030
2004
|
linear?: boolean | undefined;
|
|
2031
2005
|
quadratic?: boolean | undefined;
|
|
2032
2006
|
sinusoid?: boolean | undefined;
|
|
2007
|
+
point?: boolean | undefined;
|
|
2033
2008
|
ray?: boolean | undefined;
|
|
2034
2009
|
segment?: boolean | undefined;
|
|
2035
2010
|
"linear-system"?: boolean | undefined;
|
|
@@ -2080,9 +2055,7 @@ declare const InteractiveGraph: {
|
|
|
2080
2055
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2081
2056
|
showAlignmentOptions?: boolean | undefined;
|
|
2082
2057
|
readOnly?: boolean | undefined;
|
|
2083
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2084
|
-
* Whether to show the ruler on the graph.
|
|
2085
|
-
*/
|
|
2058
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2086
2059
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2087
2060
|
interactionCallback?: ((widgetData: {
|
|
2088
2061
|
[widgetId: string]: any;
|
|
@@ -2114,6 +2087,7 @@ declare const InteractiveGraph: {
|
|
|
2114
2087
|
linear?: boolean | undefined;
|
|
2115
2088
|
quadratic?: boolean | undefined;
|
|
2116
2089
|
sinusoid?: boolean | undefined;
|
|
2090
|
+
point?: boolean | undefined;
|
|
2117
2091
|
ray?: boolean | undefined;
|
|
2118
2092
|
segment?: boolean | undefined;
|
|
2119
2093
|
"linear-system"?: boolean | undefined;
|
|
@@ -2155,7 +2129,9 @@ declare const InteractiveGraph: {
|
|
|
2155
2129
|
deprecatedProps: any;
|
|
2156
2130
|
setGraphie: (arg1: any) => void;
|
|
2157
2131
|
handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
2158
|
-
resetGraphie: () => void;
|
|
2132
|
+
resetGraphie: () => void; /**
|
|
2133
|
+
* How far apart the grid lines are in the x and y directions.
|
|
2134
|
+
*/
|
|
2159
2135
|
setupGraphie: () => void;
|
|
2160
2136
|
showHairlines: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
2161
2137
|
hideHairlines: () => void;
|
|
@@ -2172,9 +2148,7 @@ declare const InteractiveGraph: {
|
|
|
2172
2148
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2173
2149
|
showAlignmentOptions?: boolean | undefined;
|
|
2174
2150
|
readOnly?: boolean | undefined;
|
|
2175
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2176
|
-
* Whether to show the ruler on the graph.
|
|
2177
|
-
*/
|
|
2151
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2178
2152
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2179
2153
|
interactionCallback?: ((widgetData: {
|
|
2180
2154
|
[widgetId: string]: any;
|
|
@@ -2206,6 +2180,7 @@ declare const InteractiveGraph: {
|
|
|
2206
2180
|
linear?: boolean | undefined;
|
|
2207
2181
|
quadratic?: boolean | undefined;
|
|
2208
2182
|
sinusoid?: boolean | undefined;
|
|
2183
|
+
point?: boolean | undefined;
|
|
2209
2184
|
ray?: boolean | undefined;
|
|
2210
2185
|
segment?: boolean | undefined;
|
|
2211
2186
|
"linear-system"?: boolean | undefined;
|
|
@@ -2263,13 +2238,9 @@ declare const InteractiveGraph: {
|
|
|
2263
2238
|
removeSinusoidControls: () => void;
|
|
2264
2239
|
addCircleControls: () => void;
|
|
2265
2240
|
removeCircleControls: () => void;
|
|
2266
|
-
addLinearSystemControls: () => void;
|
|
2267
|
-
* The label to display on the ruler, if any.
|
|
2268
|
-
*/
|
|
2241
|
+
addLinearSystemControls: () => void;
|
|
2269
2242
|
removeLinearSystemControls: () => void;
|
|
2270
|
-
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
2271
|
-
* The number of ticks to display on the ruler.
|
|
2272
|
-
*/
|
|
2243
|
+
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
2273
2244
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
2274
2245
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
2275
2246
|
createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
@@ -2288,7 +2259,7 @@ declare const InteractiveGraph: {
|
|
|
2288
2259
|
addAngleControls: () => void;
|
|
2289
2260
|
removeAngleControls: () => void;
|
|
2290
2261
|
toggleShowSides: () => void;
|
|
2291
|
-
getUserInput(): PerseusGraphType;
|
|
2262
|
+
getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
|
|
2292
2263
|
simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
2293
2264
|
focus: () => void;
|
|
2294
2265
|
render(): React.ReactNode;
|
|
@@ -2306,9 +2277,7 @@ declare const InteractiveGraph: {
|
|
|
2306
2277
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2307
2278
|
showAlignmentOptions?: boolean | undefined;
|
|
2308
2279
|
readOnly?: boolean | undefined;
|
|
2309
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2310
|
-
* Whether to show the ruler on the graph.
|
|
2311
|
-
*/
|
|
2280
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2312
2281
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2313
2282
|
interactionCallback?: ((widgetData: {
|
|
2314
2283
|
[widgetId: string]: any;
|
|
@@ -2340,6 +2309,7 @@ declare const InteractiveGraph: {
|
|
|
2340
2309
|
linear?: boolean | undefined;
|
|
2341
2310
|
quadratic?: boolean | undefined;
|
|
2342
2311
|
sinusoid?: boolean | undefined;
|
|
2312
|
+
point?: boolean | undefined;
|
|
2343
2313
|
ray?: boolean | undefined;
|
|
2344
2314
|
segment?: boolean | undefined;
|
|
2345
2315
|
"linear-system"?: boolean | undefined;
|
|
@@ -2395,9 +2365,7 @@ declare const InteractiveGraph: {
|
|
|
2395
2365
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2396
2366
|
showAlignmentOptions?: boolean | undefined;
|
|
2397
2367
|
readOnly?: boolean | undefined;
|
|
2398
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2399
|
-
* Whether to show the ruler on the graph.
|
|
2400
|
-
*/
|
|
2368
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2401
2369
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2402
2370
|
interactionCallback?: ((widgetData: {
|
|
2403
2371
|
[widgetId: string]: any;
|
|
@@ -2429,6 +2397,7 @@ declare const InteractiveGraph: {
|
|
|
2429
2397
|
linear?: boolean | undefined;
|
|
2430
2398
|
quadratic?: boolean | undefined;
|
|
2431
2399
|
sinusoid?: boolean | undefined;
|
|
2400
|
+
point?: boolean | undefined;
|
|
2432
2401
|
ray?: boolean | undefined;
|
|
2433
2402
|
segment?: boolean | undefined;
|
|
2434
2403
|
"linear-system"?: boolean | undefined;
|
|
@@ -2481,9 +2450,7 @@ declare const InteractiveGraph: {
|
|
|
2481
2450
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2482
2451
|
showAlignmentOptions?: boolean | undefined;
|
|
2483
2452
|
readOnly?: boolean | undefined;
|
|
2484
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2485
|
-
* Whether to show the ruler on the graph.
|
|
2486
|
-
*/
|
|
2453
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2487
2454
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2488
2455
|
interactionCallback?: ((widgetData: {
|
|
2489
2456
|
[widgetId: string]: any;
|
|
@@ -2515,6 +2482,7 @@ declare const InteractiveGraph: {
|
|
|
2515
2482
|
linear?: boolean | undefined;
|
|
2516
2483
|
quadratic?: boolean | undefined;
|
|
2517
2484
|
sinusoid?: boolean | undefined;
|
|
2485
|
+
point?: boolean | undefined;
|
|
2518
2486
|
ray?: boolean | undefined;
|
|
2519
2487
|
segment?: boolean | undefined;
|
|
2520
2488
|
"linear-system"?: boolean | undefined;
|
|
@@ -2566,9 +2534,7 @@ declare const InteractiveGraph: {
|
|
|
2566
2534
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2567
2535
|
showAlignmentOptions?: boolean | undefined;
|
|
2568
2536
|
readOnly?: boolean | undefined;
|
|
2569
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2570
|
-
* Whether to show the ruler on the graph.
|
|
2571
|
-
*/
|
|
2537
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2572
2538
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2573
2539
|
interactionCallback?: ((widgetData: {
|
|
2574
2540
|
[widgetId: string]: any;
|
|
@@ -2600,6 +2566,7 @@ declare const InteractiveGraph: {
|
|
|
2600
2566
|
linear?: boolean | undefined;
|
|
2601
2567
|
quadratic?: boolean | undefined;
|
|
2602
2568
|
sinusoid?: boolean | undefined;
|
|
2569
|
+
point?: boolean | undefined;
|
|
2603
2570
|
ray?: boolean | undefined;
|
|
2604
2571
|
segment?: boolean | undefined;
|
|
2605
2572
|
"linear-system"?: boolean | undefined;
|
|
@@ -2650,9 +2617,7 @@ declare const InteractiveGraph: {
|
|
|
2650
2617
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2651
2618
|
showAlignmentOptions?: boolean | undefined;
|
|
2652
2619
|
readOnly?: boolean | undefined;
|
|
2653
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2654
|
-
* Whether to show the ruler on the graph.
|
|
2655
|
-
*/
|
|
2620
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2656
2621
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2657
2622
|
interactionCallback?: ((widgetData: {
|
|
2658
2623
|
[widgetId: string]: any;
|
|
@@ -2684,6 +2649,7 @@ declare const InteractiveGraph: {
|
|
|
2684
2649
|
linear?: boolean | undefined;
|
|
2685
2650
|
quadratic?: boolean | undefined;
|
|
2686
2651
|
sinusoid?: boolean | undefined;
|
|
2652
|
+
point?: boolean | undefined;
|
|
2687
2653
|
ray?: boolean | undefined;
|
|
2688
2654
|
segment?: boolean | undefined;
|
|
2689
2655
|
"linear-system"?: boolean | undefined;
|
|
@@ -2734,9 +2700,7 @@ declare const InteractiveGraph: {
|
|
|
2734
2700
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2735
2701
|
showAlignmentOptions?: boolean | undefined;
|
|
2736
2702
|
readOnly?: boolean | undefined;
|
|
2737
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2738
|
-
* Whether to show the ruler on the graph.
|
|
2739
|
-
*/
|
|
2703
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2740
2704
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2741
2705
|
interactionCallback?: ((widgetData: {
|
|
2742
2706
|
[widgetId: string]: any;
|
|
@@ -2768,6 +2732,7 @@ declare const InteractiveGraph: {
|
|
|
2768
2732
|
linear?: boolean | undefined;
|
|
2769
2733
|
quadratic?: boolean | undefined;
|
|
2770
2734
|
sinusoid?: boolean | undefined;
|
|
2735
|
+
point?: boolean | undefined;
|
|
2771
2736
|
ray?: boolean | undefined;
|
|
2772
2737
|
segment?: boolean | undefined;
|
|
2773
2738
|
"linear-system"?: boolean | undefined;
|
|
@@ -2826,9 +2791,7 @@ declare const InteractiveGraph: {
|
|
|
2826
2791
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2827
2792
|
showAlignmentOptions?: boolean | undefined;
|
|
2828
2793
|
readOnly?: boolean | undefined;
|
|
2829
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2830
|
-
* Whether to show the ruler on the graph.
|
|
2831
|
-
*/
|
|
2794
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2832
2795
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2833
2796
|
interactionCallback?: ((widgetData: {
|
|
2834
2797
|
[widgetId: string]: any;
|
|
@@ -2860,6 +2823,7 @@ declare const InteractiveGraph: {
|
|
|
2860
2823
|
linear?: boolean | undefined;
|
|
2861
2824
|
quadratic?: boolean | undefined;
|
|
2862
2825
|
sinusoid?: boolean | undefined;
|
|
2826
|
+
point?: boolean | undefined;
|
|
2863
2827
|
ray?: boolean | undefined;
|
|
2864
2828
|
segment?: boolean | undefined;
|
|
2865
2829
|
"linear-system"?: boolean | undefined;
|
|
@@ -2917,9 +2881,7 @@ declare const InteractiveGraph: {
|
|
|
2917
2881
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2918
2882
|
showAlignmentOptions?: boolean | undefined;
|
|
2919
2883
|
readOnly?: boolean | undefined;
|
|
2920
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2921
|
-
* Whether to show the ruler on the graph.
|
|
2922
|
-
*/
|
|
2884
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2923
2885
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2924
2886
|
interactionCallback?: ((widgetData: {
|
|
2925
2887
|
[widgetId: string]: any;
|
|
@@ -2951,6 +2913,7 @@ declare const InteractiveGraph: {
|
|
|
2951
2913
|
linear?: boolean | undefined;
|
|
2952
2914
|
quadratic?: boolean | undefined;
|
|
2953
2915
|
sinusoid?: boolean | undefined;
|
|
2916
|
+
point?: boolean | undefined;
|
|
2954
2917
|
ray?: boolean | undefined;
|
|
2955
2918
|
segment?: boolean | undefined;
|
|
2956
2919
|
"linear-system"?: boolean | undefined;
|
|
@@ -3003,9 +2966,7 @@ declare const InteractiveGraph: {
|
|
|
3003
2966
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3004
2967
|
showAlignmentOptions?: boolean | undefined;
|
|
3005
2968
|
readOnly?: boolean | undefined;
|
|
3006
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3007
|
-
* Whether to show the ruler on the graph.
|
|
3008
|
-
*/
|
|
2969
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3009
2970
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3010
2971
|
interactionCallback?: ((widgetData: {
|
|
3011
2972
|
[widgetId: string]: any;
|
|
@@ -3037,6 +2998,7 @@ declare const InteractiveGraph: {
|
|
|
3037
2998
|
linear?: boolean | undefined;
|
|
3038
2999
|
quadratic?: boolean | undefined;
|
|
3039
3000
|
sinusoid?: boolean | undefined;
|
|
3001
|
+
point?: boolean | undefined;
|
|
3040
3002
|
ray?: boolean | undefined;
|
|
3041
3003
|
segment?: boolean | undefined;
|
|
3042
3004
|
"linear-system"?: boolean | undefined;
|
|
@@ -3087,9 +3049,7 @@ declare const InteractiveGraph: {
|
|
|
3087
3049
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3088
3050
|
showAlignmentOptions?: boolean | undefined;
|
|
3089
3051
|
readOnly?: boolean | undefined;
|
|
3090
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3091
|
-
* Whether to show the ruler on the graph.
|
|
3092
|
-
*/
|
|
3052
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3093
3053
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3094
3054
|
interactionCallback?: ((widgetData: {
|
|
3095
3055
|
[widgetId: string]: any;
|
|
@@ -3121,6 +3081,7 @@ declare const InteractiveGraph: {
|
|
|
3121
3081
|
linear?: boolean | undefined;
|
|
3122
3082
|
quadratic?: boolean | undefined;
|
|
3123
3083
|
sinusoid?: boolean | undefined;
|
|
3084
|
+
point?: boolean | undefined;
|
|
3124
3085
|
ray?: boolean | undefined;
|
|
3125
3086
|
segment?: boolean | undefined;
|
|
3126
3087
|
"linear-system"?: boolean | undefined;
|
|
@@ -3173,9 +3134,7 @@ declare const InteractiveGraph: {
|
|
|
3173
3134
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3174
3135
|
showAlignmentOptions?: boolean | undefined;
|
|
3175
3136
|
readOnly?: boolean | undefined;
|
|
3176
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3177
|
-
* Whether to show the ruler on the graph.
|
|
3178
|
-
*/
|
|
3137
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3179
3138
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3180
3139
|
interactionCallback?: ((widgetData: {
|
|
3181
3140
|
[widgetId: string]: any;
|
|
@@ -3207,6 +3166,7 @@ declare const InteractiveGraph: {
|
|
|
3207
3166
|
linear?: boolean | undefined;
|
|
3208
3167
|
quadratic?: boolean | undefined;
|
|
3209
3168
|
sinusoid?: boolean | undefined;
|
|
3169
|
+
point?: boolean | undefined;
|
|
3210
3170
|
ray?: boolean | undefined;
|
|
3211
3171
|
segment?: boolean | undefined;
|
|
3212
3172
|
"linear-system"?: boolean | undefined;
|
|
@@ -3257,9 +3217,7 @@ declare const InteractiveGraph: {
|
|
|
3257
3217
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3258
3218
|
showAlignmentOptions?: boolean | undefined;
|
|
3259
3219
|
readOnly?: boolean | undefined;
|
|
3260
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3261
|
-
* Whether to show the ruler on the graph.
|
|
3262
|
-
*/
|
|
3220
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3263
3221
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3264
3222
|
interactionCallback?: ((widgetData: {
|
|
3265
3223
|
[widgetId: string]: any;
|
|
@@ -3291,6 +3249,7 @@ declare const InteractiveGraph: {
|
|
|
3291
3249
|
linear?: boolean | undefined;
|
|
3292
3250
|
quadratic?: boolean | undefined;
|
|
3293
3251
|
sinusoid?: boolean | undefined;
|
|
3252
|
+
point?: boolean | undefined;
|
|
3294
3253
|
ray?: boolean | undefined;
|
|
3295
3254
|
segment?: boolean | undefined;
|
|
3296
3255
|
"linear-system"?: boolean | undefined;
|
|
@@ -3341,9 +3300,7 @@ declare const InteractiveGraph: {
|
|
|
3341
3300
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3342
3301
|
showAlignmentOptions?: boolean | undefined;
|
|
3343
3302
|
readOnly?: boolean | undefined;
|
|
3344
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3345
|
-
* Whether to show the ruler on the graph.
|
|
3346
|
-
*/
|
|
3303
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3347
3304
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3348
3305
|
interactionCallback?: ((widgetData: {
|
|
3349
3306
|
[widgetId: string]: any;
|
|
@@ -3375,6 +3332,7 @@ declare const InteractiveGraph: {
|
|
|
3375
3332
|
linear?: boolean | undefined;
|
|
3376
3333
|
quadratic?: boolean | undefined;
|
|
3377
3334
|
sinusoid?: boolean | undefined;
|
|
3335
|
+
point?: boolean | undefined;
|
|
3378
3336
|
ray?: boolean | undefined;
|
|
3379
3337
|
segment?: boolean | undefined;
|
|
3380
3338
|
"linear-system"?: boolean | undefined;
|
|
@@ -3425,9 +3383,7 @@ declare const InteractiveGraph: {
|
|
|
3425
3383
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3426
3384
|
showAlignmentOptions?: boolean | undefined;
|
|
3427
3385
|
readOnly?: boolean | undefined;
|
|
3428
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3429
|
-
* Whether to show the ruler on the graph.
|
|
3430
|
-
*/
|
|
3386
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3431
3387
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3432
3388
|
interactionCallback?: ((widgetData: {
|
|
3433
3389
|
[widgetId: string]: any;
|
|
@@ -3459,6 +3415,7 @@ declare const InteractiveGraph: {
|
|
|
3459
3415
|
linear?: boolean | undefined;
|
|
3460
3416
|
quadratic?: boolean | undefined;
|
|
3461
3417
|
sinusoid?: boolean | undefined;
|
|
3418
|
+
point?: boolean | undefined;
|
|
3462
3419
|
ray?: boolean | undefined;
|
|
3463
3420
|
segment?: boolean | undefined;
|
|
3464
3421
|
"linear-system"?: boolean | undefined;
|
|
@@ -3509,11 +3466,11 @@ declare const InteractiveGraph: {
|
|
|
3509
3466
|
showRuler: boolean;
|
|
3510
3467
|
rulerLabel: string;
|
|
3511
3468
|
rulerTicks: number;
|
|
3512
|
-
graph: PerseusGraphType;
|
|
3469
|
+
graph: import("@khanacademy/perseus").PerseusGraphType;
|
|
3513
3470
|
};
|
|
3514
3471
|
getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").QuadraticCoefficient;
|
|
3515
3472
|
getSinusoidCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").SineCoefficient;
|
|
3516
|
-
getLineCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3473
|
+
getLineCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3517
3474
|
widgetId: string;
|
|
3518
3475
|
alignment: string | null | undefined;
|
|
3519
3476
|
static: boolean | null | undefined;
|
|
@@ -3525,9 +3482,7 @@ declare const InteractiveGraph: {
|
|
|
3525
3482
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3526
3483
|
showAlignmentOptions?: boolean | undefined;
|
|
3527
3484
|
readOnly?: boolean | undefined;
|
|
3528
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3529
|
-
* Whether to show the ruler on the graph.
|
|
3530
|
-
*/
|
|
3485
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3531
3486
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3532
3487
|
interactionCallback?: ((widgetData: {
|
|
3533
3488
|
[widgetId: string]: any;
|
|
@@ -3559,6 +3514,7 @@ declare const InteractiveGraph: {
|
|
|
3559
3514
|
linear?: boolean | undefined;
|
|
3560
3515
|
quadratic?: boolean | undefined;
|
|
3561
3516
|
sinusoid?: boolean | undefined;
|
|
3517
|
+
point?: boolean | undefined;
|
|
3562
3518
|
ray?: boolean | undefined;
|
|
3563
3519
|
segment?: boolean | undefined;
|
|
3564
3520
|
"linear-system"?: boolean | undefined;
|
|
@@ -3609,9 +3565,7 @@ declare const InteractiveGraph: {
|
|
|
3609
3565
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3610
3566
|
showAlignmentOptions?: boolean | undefined;
|
|
3611
3567
|
readOnly?: boolean | undefined;
|
|
3612
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3613
|
-
* Whether to show the ruler on the graph.
|
|
3614
|
-
*/
|
|
3568
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3615
3569
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3616
3570
|
interactionCallback?: ((widgetData: {
|
|
3617
3571
|
[widgetId: string]: any;
|
|
@@ -3643,6 +3597,7 @@ declare const InteractiveGraph: {
|
|
|
3643
3597
|
linear?: boolean | undefined;
|
|
3644
3598
|
quadratic?: boolean | undefined;
|
|
3645
3599
|
sinusoid?: boolean | undefined;
|
|
3600
|
+
point?: boolean | undefined;
|
|
3646
3601
|
ray?: boolean | undefined;
|
|
3647
3602
|
segment?: boolean | undefined;
|
|
3648
3603
|
"linear-system"?: boolean | undefined;
|
|
@@ -3681,7 +3636,7 @@ declare const InteractiveGraph: {
|
|
|
3681
3636
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3682
3637
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3683
3638
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
3684
|
-
getLinearSystemCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3639
|
+
getLinearSystemCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3685
3640
|
widgetId: string;
|
|
3686
3641
|
alignment: string | null | undefined;
|
|
3687
3642
|
static: boolean | null | undefined;
|
|
@@ -3693,9 +3648,7 @@ declare const InteractiveGraph: {
|
|
|
3693
3648
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3694
3649
|
showAlignmentOptions?: boolean | undefined;
|
|
3695
3650
|
readOnly?: boolean | undefined;
|
|
3696
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3697
|
-
* Whether to show the ruler on the graph.
|
|
3698
|
-
*/
|
|
3651
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3699
3652
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3700
3653
|
interactionCallback?: ((widgetData: {
|
|
3701
3654
|
[widgetId: string]: any;
|
|
@@ -3727,6 +3680,7 @@ declare const InteractiveGraph: {
|
|
|
3727
3680
|
linear?: boolean | undefined;
|
|
3728
3681
|
quadratic?: boolean | undefined;
|
|
3729
3682
|
sinusoid?: boolean | undefined;
|
|
3683
|
+
point?: boolean | undefined;
|
|
3730
3684
|
ray?: boolean | undefined;
|
|
3731
3685
|
segment?: boolean | undefined;
|
|
3732
3686
|
"linear-system"?: boolean | undefined;
|
|
@@ -3765,7 +3719,7 @@ declare const InteractiveGraph: {
|
|
|
3765
3719
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3766
3720
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3767
3721
|
}): readonly (readonly import("@khanacademy/perseus").Coord[])[];
|
|
3768
|
-
getPolygonCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3722
|
+
getPolygonCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3769
3723
|
widgetId: string;
|
|
3770
3724
|
alignment: string | null | undefined;
|
|
3771
3725
|
static: boolean | null | undefined;
|
|
@@ -3777,9 +3731,7 @@ declare const InteractiveGraph: {
|
|
|
3777
3731
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3778
3732
|
showAlignmentOptions?: boolean | undefined;
|
|
3779
3733
|
readOnly?: boolean | undefined;
|
|
3780
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3781
|
-
* Whether to show the ruler on the graph.
|
|
3782
|
-
*/
|
|
3734
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3783
3735
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3784
3736
|
interactionCallback?: ((widgetData: {
|
|
3785
3737
|
[widgetId: string]: any;
|
|
@@ -3811,6 +3763,7 @@ declare const InteractiveGraph: {
|
|
|
3811
3763
|
linear?: boolean | undefined;
|
|
3812
3764
|
quadratic?: boolean | undefined;
|
|
3813
3765
|
sinusoid?: boolean | undefined;
|
|
3766
|
+
point?: boolean | undefined;
|
|
3814
3767
|
ray?: boolean | undefined;
|
|
3815
3768
|
segment?: boolean | undefined;
|
|
3816
3769
|
"linear-system"?: boolean | undefined;
|
|
@@ -3861,9 +3814,7 @@ declare const InteractiveGraph: {
|
|
|
3861
3814
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3862
3815
|
showAlignmentOptions?: boolean | undefined;
|
|
3863
3816
|
readOnly?: boolean | undefined;
|
|
3864
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3865
|
-
* Whether to show the ruler on the graph.
|
|
3866
|
-
*/
|
|
3817
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3867
3818
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3868
3819
|
interactionCallback?: ((widgetData: {
|
|
3869
3820
|
[widgetId: string]: any;
|
|
@@ -3895,6 +3846,7 @@ declare const InteractiveGraph: {
|
|
|
3895
3846
|
linear?: boolean | undefined;
|
|
3896
3847
|
quadratic?: boolean | undefined;
|
|
3897
3848
|
sinusoid?: boolean | undefined;
|
|
3849
|
+
point?: boolean | undefined;
|
|
3898
3850
|
ray?: boolean | undefined;
|
|
3899
3851
|
segment?: boolean | undefined;
|
|
3900
3852
|
"linear-system"?: boolean | undefined;
|
|
@@ -3945,9 +3897,7 @@ declare const InteractiveGraph: {
|
|
|
3945
3897
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3946
3898
|
showAlignmentOptions?: boolean | undefined;
|
|
3947
3899
|
readOnly?: boolean | undefined;
|
|
3948
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3949
|
-
* Whether to show the ruler on the graph.
|
|
3950
|
-
*/
|
|
3900
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3951
3901
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3952
3902
|
interactionCallback?: ((widgetData: {
|
|
3953
3903
|
[widgetId: string]: any;
|
|
@@ -3979,6 +3929,7 @@ declare const InteractiveGraph: {
|
|
|
3979
3929
|
linear?: boolean | undefined;
|
|
3980
3930
|
quadratic?: boolean | undefined;
|
|
3981
3931
|
sinusoid?: boolean | undefined;
|
|
3932
|
+
point?: boolean | undefined;
|
|
3982
3933
|
ray?: boolean | undefined;
|
|
3983
3934
|
segment?: boolean | undefined;
|
|
3984
3935
|
"linear-system"?: boolean | undefined;
|
|
@@ -4030,9 +3981,7 @@ declare const InteractiveGraph: {
|
|
|
4030
3981
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4031
3982
|
showAlignmentOptions?: boolean | undefined;
|
|
4032
3983
|
readOnly?: boolean | undefined;
|
|
4033
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4034
|
-
* Whether to show the ruler on the graph.
|
|
4035
|
-
*/
|
|
3984
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4036
3985
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4037
3986
|
interactionCallback?: ((widgetData: {
|
|
4038
3987
|
[widgetId: string]: any;
|
|
@@ -4064,6 +4013,7 @@ declare const InteractiveGraph: {
|
|
|
4064
4013
|
linear?: boolean | undefined;
|
|
4065
4014
|
quadratic?: boolean | undefined;
|
|
4066
4015
|
sinusoid?: boolean | undefined;
|
|
4016
|
+
point?: boolean | undefined;
|
|
4067
4017
|
ray?: boolean | undefined;
|
|
4068
4018
|
segment?: boolean | undefined;
|
|
4069
4019
|
"linear-system"?: boolean | undefined;
|
|
@@ -4114,9 +4064,7 @@ declare const InteractiveGraph: {
|
|
|
4114
4064
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4115
4065
|
showAlignmentOptions?: boolean | undefined;
|
|
4116
4066
|
readOnly?: boolean | undefined;
|
|
4117
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4118
|
-
* Whether to show the ruler on the graph.
|
|
4119
|
-
*/
|
|
4067
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4120
4068
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4121
4069
|
interactionCallback?: ((widgetData: {
|
|
4122
4070
|
[widgetId: string]: any;
|
|
@@ -4148,6 +4096,7 @@ declare const InteractiveGraph: {
|
|
|
4148
4096
|
linear?: boolean | undefined;
|
|
4149
4097
|
quadratic?: boolean | undefined;
|
|
4150
4098
|
sinusoid?: boolean | undefined;
|
|
4099
|
+
point?: boolean | undefined;
|
|
4151
4100
|
ray?: boolean | undefined;
|
|
4152
4101
|
segment?: boolean | undefined;
|
|
4153
4102
|
"linear-system"?: boolean | undefined;
|
|
@@ -4198,9 +4147,7 @@ declare const InteractiveGraph: {
|
|
|
4198
4147
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4199
4148
|
showAlignmentOptions?: boolean | undefined;
|
|
4200
4149
|
readOnly?: boolean | undefined;
|
|
4201
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4202
|
-
* Whether to show the ruler on the graph.
|
|
4203
|
-
*/
|
|
4150
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4204
4151
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4205
4152
|
interactionCallback?: ((widgetData: {
|
|
4206
4153
|
[widgetId: string]: any;
|
|
@@ -4232,6 +4179,7 @@ declare const InteractiveGraph: {
|
|
|
4232
4179
|
linear?: boolean | undefined;
|
|
4233
4180
|
quadratic?: boolean | undefined;
|
|
4234
4181
|
sinusoid?: boolean | undefined;
|
|
4182
|
+
point?: boolean | undefined;
|
|
4235
4183
|
ray?: boolean | undefined;
|
|
4236
4184
|
segment?: boolean | undefined;
|
|
4237
4185
|
"linear-system"?: boolean | undefined;
|
|
@@ -4282,9 +4230,7 @@ declare const InteractiveGraph: {
|
|
|
4282
4230
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4283
4231
|
showAlignmentOptions?: boolean | undefined;
|
|
4284
4232
|
readOnly?: boolean | undefined;
|
|
4285
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4286
|
-
* Whether to show the ruler on the graph.
|
|
4287
|
-
*/
|
|
4233
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4288
4234
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4289
4235
|
interactionCallback?: ((widgetData: {
|
|
4290
4236
|
[widgetId: string]: any;
|
|
@@ -4316,6 +4262,7 @@ declare const InteractiveGraph: {
|
|
|
4316
4262
|
linear?: boolean | undefined;
|
|
4317
4263
|
quadratic?: boolean | undefined;
|
|
4318
4264
|
sinusoid?: boolean | undefined;
|
|
4265
|
+
point?: boolean | undefined;
|
|
4319
4266
|
ray?: boolean | undefined;
|
|
4320
4267
|
segment?: boolean | undefined;
|
|
4321
4268
|
"linear-system"?: boolean | undefined;
|
|
@@ -4366,9 +4313,7 @@ declare const InteractiveGraph: {
|
|
|
4366
4313
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4367
4314
|
showAlignmentOptions?: boolean | undefined;
|
|
4368
4315
|
readOnly?: boolean | undefined;
|
|
4369
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4370
|
-
* Whether to show the ruler on the graph.
|
|
4371
|
-
*/
|
|
4316
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4372
4317
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4373
4318
|
interactionCallback?: ((widgetData: {
|
|
4374
4319
|
[widgetId: string]: any;
|
|
@@ -4400,6 +4345,7 @@ declare const InteractiveGraph: {
|
|
|
4400
4345
|
linear?: boolean | undefined;
|
|
4401
4346
|
quadratic?: boolean | undefined;
|
|
4402
4347
|
sinusoid?: boolean | undefined;
|
|
4348
|
+
point?: boolean | undefined;
|
|
4403
4349
|
ray?: boolean | undefined;
|
|
4404
4350
|
segment?: boolean | undefined;
|
|
4405
4351
|
"linear-system"?: boolean | undefined;
|
|
@@ -4450,9 +4396,7 @@ declare const InteractiveGraph: {
|
|
|
4450
4396
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4451
4397
|
showAlignmentOptions?: boolean | undefined;
|
|
4452
4398
|
readOnly?: boolean | undefined;
|
|
4453
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4454
|
-
* Whether to show the ruler on the graph.
|
|
4455
|
-
*/
|
|
4399
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4456
4400
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4457
4401
|
interactionCallback?: ((widgetData: {
|
|
4458
4402
|
[widgetId: string]: any;
|
|
@@ -4484,6 +4428,7 @@ declare const InteractiveGraph: {
|
|
|
4484
4428
|
linear?: boolean | undefined;
|
|
4485
4429
|
quadratic?: boolean | undefined;
|
|
4486
4430
|
sinusoid?: boolean | undefined;
|
|
4431
|
+
point?: boolean | undefined;
|
|
4487
4432
|
ray?: boolean | undefined;
|
|
4488
4433
|
segment?: boolean | undefined;
|
|
4489
4434
|
"linear-system"?: boolean | undefined;
|
|
@@ -4534,9 +4479,7 @@ declare const InteractiveGraph: {
|
|
|
4534
4479
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4535
4480
|
showAlignmentOptions?: boolean | undefined;
|
|
4536
4481
|
readOnly?: boolean | undefined;
|
|
4537
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4538
|
-
* Whether to show the ruler on the graph.
|
|
4539
|
-
*/
|
|
4482
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4540
4483
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4541
4484
|
interactionCallback?: ((widgetData: {
|
|
4542
4485
|
[widgetId: string]: any;
|
|
@@ -4568,6 +4511,7 @@ declare const InteractiveGraph: {
|
|
|
4568
4511
|
linear?: boolean | undefined;
|
|
4569
4512
|
quadratic?: boolean | undefined;
|
|
4570
4513
|
sinusoid?: boolean | undefined;
|
|
4514
|
+
point?: boolean | undefined;
|
|
4571
4515
|
ray?: boolean | undefined;
|
|
4572
4516
|
segment?: boolean | undefined;
|
|
4573
4517
|
"linear-system"?: boolean | undefined;
|
|
@@ -4618,9 +4562,7 @@ declare const InteractiveGraph: {
|
|
|
4618
4562
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4619
4563
|
showAlignmentOptions?: boolean | undefined;
|
|
4620
4564
|
readOnly?: boolean | undefined;
|
|
4621
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4622
|
-
* Whether to show the ruler on the graph.
|
|
4623
|
-
*/
|
|
4565
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4624
4566
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4625
4567
|
interactionCallback?: ((widgetData: {
|
|
4626
4568
|
[widgetId: string]: any;
|
|
@@ -4652,6 +4594,7 @@ declare const InteractiveGraph: {
|
|
|
4652
4594
|
linear?: boolean | undefined;
|
|
4653
4595
|
quadratic?: boolean | undefined;
|
|
4654
4596
|
sinusoid?: boolean | undefined;
|
|
4597
|
+
point?: boolean | undefined;
|
|
4655
4598
|
ray?: boolean | undefined;
|
|
4656
4599
|
segment?: boolean | undefined;
|
|
4657
4600
|
"linear-system"?: boolean | undefined;
|
|
@@ -4702,9 +4645,7 @@ declare const InteractiveGraph: {
|
|
|
4702
4645
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4703
4646
|
showAlignmentOptions?: boolean | undefined;
|
|
4704
4647
|
readOnly?: boolean | undefined;
|
|
4705
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4706
|
-
* Whether to show the ruler on the graph.
|
|
4707
|
-
*/
|
|
4648
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4708
4649
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4709
4650
|
interactionCallback?: ((widgetData: {
|
|
4710
4651
|
[widgetId: string]: any;
|
|
@@ -4736,6 +4677,7 @@ declare const InteractiveGraph: {
|
|
|
4736
4677
|
linear?: boolean | undefined;
|
|
4737
4678
|
quadratic?: boolean | undefined;
|
|
4738
4679
|
sinusoid?: boolean | undefined;
|
|
4680
|
+
point?: boolean | undefined;
|
|
4739
4681
|
ray?: boolean | undefined;
|
|
4740
4682
|
segment?: boolean | undefined;
|
|
4741
4683
|
"linear-system"?: boolean | undefined;
|
|
@@ -4786,9 +4728,7 @@ declare const InteractiveGraph: {
|
|
|
4786
4728
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4787
4729
|
showAlignmentOptions?: boolean | undefined;
|
|
4788
4730
|
readOnly?: boolean | undefined;
|
|
4789
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4790
|
-
* Whether to show the ruler on the graph.
|
|
4791
|
-
*/
|
|
4731
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4792
4732
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4793
4733
|
interactionCallback?: ((widgetData: {
|
|
4794
4734
|
[widgetId: string]: any;
|
|
@@ -4820,6 +4760,7 @@ declare const InteractiveGraph: {
|
|
|
4820
4760
|
linear?: boolean | undefined;
|
|
4821
4761
|
quadratic?: boolean | undefined;
|
|
4822
4762
|
sinusoid?: boolean | undefined;
|
|
4763
|
+
point?: boolean | undefined;
|
|
4823
4764
|
ray?: boolean | undefined;
|
|
4824
4765
|
segment?: boolean | undefined;
|
|
4825
4766
|
"linear-system"?: boolean | undefined;
|
|
@@ -4870,9 +4811,7 @@ declare const InteractiveGraph: {
|
|
|
4870
4811
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4871
4812
|
showAlignmentOptions?: boolean | undefined;
|
|
4872
4813
|
readOnly?: boolean | undefined;
|
|
4873
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4874
|
-
* Whether to show the ruler on the graph.
|
|
4875
|
-
*/
|
|
4814
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4876
4815
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4877
4816
|
interactionCallback?: ((widgetData: {
|
|
4878
4817
|
[widgetId: string]: any;
|
|
@@ -4904,6 +4843,7 @@ declare const InteractiveGraph: {
|
|
|
4904
4843
|
linear?: boolean | undefined;
|
|
4905
4844
|
quadratic?: boolean | undefined;
|
|
4906
4845
|
sinusoid?: boolean | undefined;
|
|
4846
|
+
point?: boolean | undefined;
|
|
4907
4847
|
ray?: boolean | undefined;
|
|
4908
4848
|
segment?: boolean | undefined;
|
|
4909
4849
|
"linear-system"?: boolean | undefined;
|
|
@@ -4954,9 +4894,7 @@ declare const InteractiveGraph: {
|
|
|
4954
4894
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4955
4895
|
showAlignmentOptions?: boolean | undefined;
|
|
4956
4896
|
readOnly?: boolean | undefined;
|
|
4957
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4958
|
-
* Whether to show the ruler on the graph.
|
|
4959
|
-
*/
|
|
4897
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4960
4898
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4961
4899
|
interactionCallback?: ((widgetData: {
|
|
4962
4900
|
[widgetId: string]: any;
|
|
@@ -4988,6 +4926,7 @@ declare const InteractiveGraph: {
|
|
|
4988
4926
|
linear?: boolean | undefined;
|
|
4989
4927
|
quadratic?: boolean | undefined;
|
|
4990
4928
|
sinusoid?: boolean | undefined;
|
|
4929
|
+
point?: boolean | undefined;
|
|
4991
4930
|
ray?: boolean | undefined;
|
|
4992
4931
|
segment?: boolean | undefined;
|
|
4993
4932
|
"linear-system"?: boolean | undefined;
|
|
@@ -5038,9 +4977,7 @@ declare const InteractiveGraph: {
|
|
|
5038
4977
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5039
4978
|
showAlignmentOptions?: boolean | undefined;
|
|
5040
4979
|
readOnly?: boolean | undefined;
|
|
5041
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5042
|
-
* Whether to show the ruler on the graph.
|
|
5043
|
-
*/
|
|
4980
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5044
4981
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5045
4982
|
interactionCallback?: ((widgetData: {
|
|
5046
4983
|
[widgetId: string]: any;
|
|
@@ -5072,6 +5009,7 @@ declare const InteractiveGraph: {
|
|
|
5072
5009
|
linear?: boolean | undefined;
|
|
5073
5010
|
quadratic?: boolean | undefined;
|
|
5074
5011
|
sinusoid?: boolean | undefined;
|
|
5012
|
+
point?: boolean | undefined;
|
|
5075
5013
|
ray?: boolean | undefined;
|
|
5076
5014
|
segment?: boolean | undefined;
|
|
5077
5015
|
"linear-system"?: boolean | undefined;
|
|
@@ -5122,9 +5060,7 @@ declare const InteractiveGraph: {
|
|
|
5122
5060
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5123
5061
|
showAlignmentOptions?: boolean | undefined;
|
|
5124
5062
|
readOnly?: boolean | undefined;
|
|
5125
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5126
|
-
* Whether to show the ruler on the graph.
|
|
5127
|
-
*/
|
|
5063
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5128
5064
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5129
5065
|
interactionCallback?: ((widgetData: {
|
|
5130
5066
|
[widgetId: string]: any;
|
|
@@ -5156,6 +5092,7 @@ declare const InteractiveGraph: {
|
|
|
5156
5092
|
linear?: boolean | undefined;
|
|
5157
5093
|
quadratic?: boolean | undefined;
|
|
5158
5094
|
sinusoid?: boolean | undefined;
|
|
5095
|
+
point?: boolean | undefined;
|
|
5159
5096
|
ray?: boolean | undefined;
|
|
5160
5097
|
segment?: boolean | undefined;
|
|
5161
5098
|
"linear-system"?: boolean | undefined;
|
|
@@ -5206,9 +5143,7 @@ declare const InteractiveGraph: {
|
|
|
5206
5143
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5207
5144
|
showAlignmentOptions?: boolean | undefined;
|
|
5208
5145
|
readOnly?: boolean | undefined;
|
|
5209
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5210
|
-
* Whether to show the ruler on the graph.
|
|
5211
|
-
*/
|
|
5146
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5212
5147
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5213
5148
|
interactionCallback?: ((widgetData: {
|
|
5214
5149
|
[widgetId: string]: any;
|
|
@@ -5240,6 +5175,7 @@ declare const InteractiveGraph: {
|
|
|
5240
5175
|
linear?: boolean | undefined;
|
|
5241
5176
|
quadratic?: boolean | undefined;
|
|
5242
5177
|
sinusoid?: boolean | undefined;
|
|
5178
|
+
point?: boolean | undefined;
|
|
5243
5179
|
ray?: boolean | undefined;
|
|
5244
5180
|
segment?: boolean | undefined;
|
|
5245
5181
|
"linear-system"?: boolean | undefined;
|
|
@@ -5290,9 +5226,7 @@ declare const InteractiveGraph: {
|
|
|
5290
5226
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5291
5227
|
showAlignmentOptions?: boolean | undefined;
|
|
5292
5228
|
readOnly?: boolean | undefined;
|
|
5293
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5294
|
-
* Whether to show the ruler on the graph.
|
|
5295
|
-
*/
|
|
5229
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5296
5230
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5297
5231
|
interactionCallback?: ((widgetData: {
|
|
5298
5232
|
[widgetId: string]: any;
|
|
@@ -5324,6 +5258,7 @@ declare const InteractiveGraph: {
|
|
|
5324
5258
|
linear?: boolean | undefined;
|
|
5325
5259
|
quadratic?: boolean | undefined;
|
|
5326
5260
|
sinusoid?: boolean | undefined;
|
|
5261
|
+
point?: boolean | undefined;
|
|
5327
5262
|
ray?: boolean | undefined;
|
|
5328
5263
|
segment?: boolean | undefined;
|
|
5329
5264
|
"linear-system"?: boolean | undefined;
|
|
@@ -5362,7 +5297,7 @@ declare const InteractiveGraph: {
|
|
|
5362
5297
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5363
5298
|
containerSizeClass: SizingUtils.SizeClass;
|
|
5364
5299
|
}): string;
|
|
5365
|
-
validate(userInput: PerseusGraphType, rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric, component: any): import("@khanacademy/perseus").PerseusScore;
|
|
5300
|
+
validate(userInput: import("@khanacademy/perseus").PerseusGraphType, rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric, component: any): import("@khanacademy/perseus").PerseusScore;
|
|
5366
5301
|
getUserInputFromProps(props: PerseusInteractiveGraphWidgetOptions & {
|
|
5367
5302
|
widgetId: string;
|
|
5368
5303
|
alignment: string | null | undefined;
|
|
@@ -5375,9 +5310,7 @@ declare const InteractiveGraph: {
|
|
|
5375
5310
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5376
5311
|
showAlignmentOptions?: boolean | undefined;
|
|
5377
5312
|
readOnly?: boolean | undefined;
|
|
5378
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5379
|
-
* Whether to show the ruler on the graph.
|
|
5380
|
-
*/
|
|
5313
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5381
5314
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5382
5315
|
interactionCallback?: ((widgetData: {
|
|
5383
5316
|
[widgetId: string]: any;
|
|
@@ -5409,6 +5342,7 @@ declare const InteractiveGraph: {
|
|
|
5409
5342
|
linear?: boolean | undefined;
|
|
5410
5343
|
quadratic?: boolean | undefined;
|
|
5411
5344
|
sinusoid?: boolean | undefined;
|
|
5345
|
+
point?: boolean | undefined;
|
|
5412
5346
|
ray?: boolean | undefined;
|
|
5413
5347
|
segment?: boolean | undefined;
|
|
5414
5348
|
"linear-system"?: boolean | undefined;
|
|
@@ -5446,7 +5380,7 @@ declare const InteractiveGraph: {
|
|
|
5446
5380
|
isLastUsedWidget: boolean;
|
|
5447
5381
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5448
5382
|
containerSizeClass: SizingUtils.SizeClass;
|
|
5449
|
-
}): PerseusGraphType;
|
|
5383
|
+
}): import("@khanacademy/perseus").PerseusGraphType;
|
|
5450
5384
|
contextType?: React.Context<any> | undefined;
|
|
5451
5385
|
};
|
|
5452
5386
|
type InteractiveGraphProps = PropsFor<typeof InteractiveGraph>;
|
|
@@ -5568,7 +5502,6 @@ declare class InteractiveGraphEditor extends React.Component<Props> {
|
|
|
5568
5502
|
};
|
|
5569
5503
|
};
|
|
5570
5504
|
UNSAFE_componentWillMount(): void;
|
|
5571
|
-
static buildGraphKey(correct: PerseusGraphType): string;
|
|
5572
5505
|
render(): JSX.Element;
|
|
5573
5506
|
changeMatchType: (newValue: any) => void;
|
|
5574
5507
|
serialize(): PerseusInteractiveGraphWidgetOptions;
|