@khanacademy/perseus-editor 6.10.0 → 6.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/{coordinate-pair-input.d.ts → graph-locked-figures/coordinate-pair-input.d.ts} +2 -0
- package/dist/components/{defining-point-settings.d.ts → graph-locked-figures/defining-point-settings.d.ts} +9 -2
- package/dist/components/{ellipse-swatch.d.ts → graph-locked-figures/ellipse-swatch.d.ts} +2 -2
- package/dist/components/{locked-ellipse-settings.d.ts → graph-locked-figures/locked-ellipse-settings.d.ts} +2 -6
- package/dist/components/{locked-figure-select.d.ts → graph-locked-figures/locked-figure-select.d.ts} +1 -0
- package/dist/components/graph-locked-figures/locked-figure-settings-actions.d.ts +11 -0
- package/dist/components/{locked-figure-settings.d.ts → graph-locked-figures/locked-figure-settings.d.ts} +13 -2
- package/dist/components/{locked-figures-section.d.ts → graph-locked-figures/locked-figures-section.d.ts} +2 -1
- package/dist/components/{locked-line-settings.d.ts → graph-locked-figures/locked-line-settings.d.ts} +2 -6
- package/dist/components/{locked-point-settings.d.ts → graph-locked-figures/locked-point-settings.d.ts} +2 -6
- package/dist/components/graph-locked-figures/locked-polygon-settings.d.ts +11 -0
- package/dist/components/{locked-vector-settings.d.ts → graph-locked-figures/locked-vector-settings.d.ts} +2 -6
- package/dist/components/graph-locked-figures/polygon-swatch.d.ts +9 -0
- package/dist/components/util.d.ts +5 -2
- package/dist/es/index.js +2000 -1701
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +2051 -1746
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +402 -233
- package/package.json +2 -2
- package/dist/components/locked-figure-settings-actions.d.ts +0 -7
- /package/dist/components/{color-select.d.ts → graph-locked-figures/color-select.d.ts} +0 -0
- /package/dist/components/{color-swatch.d.ts → graph-locked-figures/color-swatch.d.ts} +0 -0
- /package/dist/components/{labeled-row.d.ts → graph-locked-figures/labeled-row.d.ts} +0 -0
- /package/dist/components/{labeled-switch.d.ts → graph-locked-figures/labeled-switch.d.ts} +0 -0
- /package/dist/components/{line-swatch.d.ts → graph-locked-figures/line-swatch.d.ts} +0 -0
- /package/dist/components/{locked-figure-settings-accordion.d.ts → graph-locked-figures/locked-figure-settings-accordion.d.ts} +0 -0
|
@@ -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 } from "@khanacademy/perseus";
|
|
3
|
+
import type { PerseusImageBackground, PerseusInteractiveGraphWidgetOptions, APIOptionsWithDefaults, LockedFigure, PerseusGraphType } from "@khanacademy/perseus";
|
|
4
4
|
import type { PropsFor } from "@khanacademy/wonder-blocks-core";
|
|
5
5
|
declare const InteractiveGraph: {
|
|
6
6
|
new (props: (PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -15,7 +15,9 @@ 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;
|
|
18
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
19
|
+
* Whether to show the ruler on the graph.
|
|
20
|
+
*/
|
|
19
21
|
getAnotherHint?: (() => unknown) | undefined;
|
|
20
22
|
interactionCallback?: ((widgetData: {
|
|
21
23
|
[widgetId: string]: any;
|
|
@@ -47,11 +49,12 @@ declare const InteractiveGraph: {
|
|
|
47
49
|
linear?: boolean | undefined;
|
|
48
50
|
quadratic?: boolean | undefined;
|
|
49
51
|
sinusoid?: boolean | undefined;
|
|
50
|
-
"linear-system"?: boolean | undefined;
|
|
51
|
-
segment?: boolean | undefined;
|
|
52
52
|
ray?: boolean | undefined;
|
|
53
|
+
segment?: boolean | undefined;
|
|
54
|
+
"linear-system"?: boolean | undefined;
|
|
53
55
|
} & {
|
|
54
56
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
57
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
55
58
|
}) | undefined;
|
|
56
59
|
} | undefined;
|
|
57
60
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -95,7 +98,9 @@ declare const InteractiveGraph: {
|
|
|
95
98
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
96
99
|
showAlignmentOptions?: boolean | undefined;
|
|
97
100
|
readOnly?: boolean | undefined;
|
|
98
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
101
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
102
|
+
* Whether to show the ruler on the graph.
|
|
103
|
+
*/
|
|
99
104
|
getAnotherHint?: (() => unknown) | undefined;
|
|
100
105
|
interactionCallback?: ((widgetData: {
|
|
101
106
|
[widgetId: string]: any;
|
|
@@ -127,11 +132,12 @@ declare const InteractiveGraph: {
|
|
|
127
132
|
linear?: boolean | undefined;
|
|
128
133
|
quadratic?: boolean | undefined;
|
|
129
134
|
sinusoid?: boolean | undefined;
|
|
130
|
-
"linear-system"?: boolean | undefined;
|
|
131
|
-
segment?: boolean | undefined;
|
|
132
135
|
ray?: boolean | undefined;
|
|
136
|
+
segment?: boolean | undefined;
|
|
137
|
+
"linear-system"?: boolean | undefined;
|
|
133
138
|
} & {
|
|
134
139
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
140
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
135
141
|
}) | undefined;
|
|
136
142
|
} | undefined;
|
|
137
143
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -200,7 +206,9 @@ declare const InteractiveGraph: {
|
|
|
200
206
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
201
207
|
showAlignmentOptions?: boolean | undefined;
|
|
202
208
|
readOnly?: boolean | undefined;
|
|
203
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
209
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
210
|
+
* Whether to show the ruler on the graph.
|
|
211
|
+
*/
|
|
204
212
|
getAnotherHint?: (() => unknown) | undefined;
|
|
205
213
|
interactionCallback?: ((widgetData: {
|
|
206
214
|
[widgetId: string]: any;
|
|
@@ -232,11 +240,12 @@ declare const InteractiveGraph: {
|
|
|
232
240
|
linear?: boolean | undefined;
|
|
233
241
|
quadratic?: boolean | undefined;
|
|
234
242
|
sinusoid?: boolean | undefined;
|
|
235
|
-
"linear-system"?: boolean | undefined;
|
|
236
|
-
segment?: boolean | undefined;
|
|
237
243
|
ray?: boolean | undefined;
|
|
244
|
+
segment?: boolean | undefined;
|
|
245
|
+
"linear-system"?: boolean | undefined;
|
|
238
246
|
} & {
|
|
239
247
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
248
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
240
249
|
}) | undefined;
|
|
241
250
|
} | undefined;
|
|
242
251
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -281,7 +290,9 @@ declare const InteractiveGraph: {
|
|
|
281
290
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
282
291
|
showAlignmentOptions?: boolean | undefined;
|
|
283
292
|
readOnly?: boolean | undefined;
|
|
284
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
293
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
294
|
+
* Whether to show the ruler on the graph.
|
|
295
|
+
*/
|
|
285
296
|
getAnotherHint?: (() => unknown) | undefined;
|
|
286
297
|
interactionCallback?: ((widgetData: {
|
|
287
298
|
[widgetId: string]: any;
|
|
@@ -313,11 +324,12 @@ declare const InteractiveGraph: {
|
|
|
313
324
|
linear?: boolean | undefined;
|
|
314
325
|
quadratic?: boolean | undefined;
|
|
315
326
|
sinusoid?: boolean | undefined;
|
|
316
|
-
"linear-system"?: boolean | undefined;
|
|
317
|
-
segment?: boolean | undefined;
|
|
318
327
|
ray?: boolean | undefined;
|
|
328
|
+
segment?: boolean | undefined;
|
|
329
|
+
"linear-system"?: boolean | undefined;
|
|
319
330
|
} & {
|
|
320
331
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
332
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
321
333
|
}) | undefined;
|
|
322
334
|
} | undefined;
|
|
323
335
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -362,7 +374,9 @@ declare const InteractiveGraph: {
|
|
|
362
374
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
363
375
|
showAlignmentOptions?: boolean | undefined;
|
|
364
376
|
readOnly?: boolean | undefined;
|
|
365
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
377
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
378
|
+
* Whether to show the ruler on the graph.
|
|
379
|
+
*/
|
|
366
380
|
getAnotherHint?: (() => unknown) | undefined;
|
|
367
381
|
interactionCallback?: ((widgetData: {
|
|
368
382
|
[widgetId: string]: any;
|
|
@@ -394,11 +408,12 @@ declare const InteractiveGraph: {
|
|
|
394
408
|
linear?: boolean | undefined;
|
|
395
409
|
quadratic?: boolean | undefined;
|
|
396
410
|
sinusoid?: boolean | undefined;
|
|
397
|
-
"linear-system"?: boolean | undefined;
|
|
398
|
-
segment?: boolean | undefined;
|
|
399
411
|
ray?: boolean | undefined;
|
|
412
|
+
segment?: boolean | undefined;
|
|
413
|
+
"linear-system"?: boolean | undefined;
|
|
400
414
|
} & {
|
|
401
415
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
416
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
402
417
|
}) | undefined;
|
|
403
418
|
} | undefined;
|
|
404
419
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -451,7 +466,9 @@ declare const InteractiveGraph: {
|
|
|
451
466
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
452
467
|
showAlignmentOptions?: boolean | undefined;
|
|
453
468
|
readOnly?: boolean | undefined;
|
|
454
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
469
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
470
|
+
* Whether to show the ruler on the graph.
|
|
471
|
+
*/
|
|
455
472
|
getAnotherHint?: (() => unknown) | undefined;
|
|
456
473
|
interactionCallback?: ((widgetData: {
|
|
457
474
|
[widgetId: string]: any;
|
|
@@ -483,11 +500,12 @@ declare const InteractiveGraph: {
|
|
|
483
500
|
linear?: boolean | undefined;
|
|
484
501
|
quadratic?: boolean | undefined;
|
|
485
502
|
sinusoid?: boolean | undefined;
|
|
486
|
-
"linear-system"?: boolean | undefined;
|
|
487
|
-
segment?: boolean | undefined;
|
|
488
503
|
ray?: boolean | undefined;
|
|
504
|
+
segment?: boolean | undefined;
|
|
505
|
+
"linear-system"?: boolean | undefined;
|
|
489
506
|
} & {
|
|
490
507
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
508
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
491
509
|
}) | undefined;
|
|
492
510
|
} | undefined;
|
|
493
511
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -521,9 +539,7 @@ declare const InteractiveGraph: {
|
|
|
521
539
|
containerSizeClass: SizingUtils.SizeClass;
|
|
522
540
|
}) | null | undefined) => boolean;
|
|
523
541
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
524
|
-
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
525
|
-
* The background image to display in the graph area and its properties.
|
|
526
|
-
*/
|
|
542
|
+
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
527
543
|
arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
528
544
|
areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
529
545
|
_lineStroke: () => {
|
|
@@ -533,9 +549,7 @@ declare const InteractiveGraph: {
|
|
|
533
549
|
removeLine: () => void;
|
|
534
550
|
addLinearControls: () => void;
|
|
535
551
|
removeLinearControls: () => void;
|
|
536
|
-
addQuadraticControls: () => void;
|
|
537
|
-
* Whether to show the ruler on the graph.
|
|
538
|
-
*/
|
|
552
|
+
addQuadraticControls: () => void;
|
|
539
553
|
updateQuadratic: () => void;
|
|
540
554
|
removeQuadraticControls: () => void;
|
|
541
555
|
addSinusoidControls: () => void;
|
|
@@ -543,9 +557,13 @@ declare const InteractiveGraph: {
|
|
|
543
557
|
removeSinusoidControls: () => void;
|
|
544
558
|
addCircleControls: () => void;
|
|
545
559
|
removeCircleControls: () => void;
|
|
546
|
-
addLinearSystemControls: () => void;
|
|
560
|
+
addLinearSystemControls: () => void; /**
|
|
561
|
+
* The label to display on the ruler, if any.
|
|
562
|
+
*/
|
|
547
563
|
removeLinearSystemControls: () => void;
|
|
548
|
-
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
564
|
+
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean; /**
|
|
565
|
+
* The number of ticks to display on the ruler.
|
|
566
|
+
*/
|
|
549
567
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
550
568
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
551
569
|
createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
@@ -555,22 +573,16 @@ declare const InteractiveGraph: {
|
|
|
555
573
|
addPointControls: () => void;
|
|
556
574
|
removePointControls: () => void;
|
|
557
575
|
addSegmentControls: () => void;
|
|
558
|
-
removeSegmentControls: () => void;
|
|
559
|
-
* The locked figures to display in the graph area.
|
|
560
|
-
* Locked figures are graph elements (points, lines, line segmeents,
|
|
561
|
-
* etc.) that are locked in place and not interactive.
|
|
562
|
-
*/
|
|
576
|
+
removeSegmentControls: () => void;
|
|
563
577
|
addRayControls: () => void;
|
|
564
578
|
removeRayControls: () => void;
|
|
565
579
|
addPolygonControls: () => void;
|
|
566
580
|
updatePolygon: () => void;
|
|
567
581
|
removePolygonControls: () => void;
|
|
568
582
|
addAngleControls: () => void;
|
|
569
|
-
removeAngleControls: () => void;
|
|
570
|
-
* The graph to display in the graph area.
|
|
571
|
-
*/
|
|
583
|
+
removeAngleControls: () => void;
|
|
572
584
|
toggleShowSides: () => void;
|
|
573
|
-
getUserInput():
|
|
585
|
+
getUserInput(): PerseusGraphType;
|
|
574
586
|
simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
575
587
|
focus: () => void;
|
|
576
588
|
render(): React.ReactNode;
|
|
@@ -588,7 +600,9 @@ declare const InteractiveGraph: {
|
|
|
588
600
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
589
601
|
showAlignmentOptions?: boolean | undefined;
|
|
590
602
|
readOnly?: boolean | undefined;
|
|
591
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
603
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
604
|
+
* Whether to show the ruler on the graph.
|
|
605
|
+
*/
|
|
592
606
|
getAnotherHint?: (() => unknown) | undefined;
|
|
593
607
|
interactionCallback?: ((widgetData: {
|
|
594
608
|
[widgetId: string]: any;
|
|
@@ -620,11 +634,12 @@ declare const InteractiveGraph: {
|
|
|
620
634
|
linear?: boolean | undefined;
|
|
621
635
|
quadratic?: boolean | undefined;
|
|
622
636
|
sinusoid?: boolean | undefined;
|
|
623
|
-
"linear-system"?: boolean | undefined;
|
|
624
|
-
segment?: boolean | undefined;
|
|
625
637
|
ray?: boolean | undefined;
|
|
638
|
+
segment?: boolean | undefined;
|
|
639
|
+
"linear-system"?: boolean | undefined;
|
|
626
640
|
} & {
|
|
627
641
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
642
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
628
643
|
}) | undefined;
|
|
629
644
|
} | undefined;
|
|
630
645
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -674,7 +689,9 @@ declare const InteractiveGraph: {
|
|
|
674
689
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
675
690
|
showAlignmentOptions?: boolean | undefined;
|
|
676
691
|
readOnly?: boolean | undefined;
|
|
677
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
692
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
693
|
+
* Whether to show the ruler on the graph.
|
|
694
|
+
*/
|
|
678
695
|
getAnotherHint?: (() => unknown) | undefined;
|
|
679
696
|
interactionCallback?: ((widgetData: {
|
|
680
697
|
[widgetId: string]: any;
|
|
@@ -706,11 +723,12 @@ declare const InteractiveGraph: {
|
|
|
706
723
|
linear?: boolean | undefined;
|
|
707
724
|
quadratic?: boolean | undefined;
|
|
708
725
|
sinusoid?: boolean | undefined;
|
|
709
|
-
"linear-system"?: boolean | undefined;
|
|
710
|
-
segment?: boolean | undefined;
|
|
711
726
|
ray?: boolean | undefined;
|
|
727
|
+
segment?: boolean | undefined;
|
|
728
|
+
"linear-system"?: boolean | undefined;
|
|
712
729
|
} & {
|
|
713
730
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
731
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
714
732
|
}) | undefined;
|
|
715
733
|
} | undefined;
|
|
716
734
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -757,7 +775,9 @@ declare const InteractiveGraph: {
|
|
|
757
775
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
758
776
|
showAlignmentOptions?: boolean | undefined;
|
|
759
777
|
readOnly?: boolean | undefined;
|
|
760
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
778
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
779
|
+
* Whether to show the ruler on the graph.
|
|
780
|
+
*/
|
|
761
781
|
getAnotherHint?: (() => unknown) | undefined;
|
|
762
782
|
interactionCallback?: ((widgetData: {
|
|
763
783
|
[widgetId: string]: any;
|
|
@@ -789,11 +809,12 @@ declare const InteractiveGraph: {
|
|
|
789
809
|
linear?: boolean | undefined;
|
|
790
810
|
quadratic?: boolean | undefined;
|
|
791
811
|
sinusoid?: boolean | undefined;
|
|
792
|
-
"linear-system"?: boolean | undefined;
|
|
793
|
-
segment?: boolean | undefined;
|
|
794
812
|
ray?: boolean | undefined;
|
|
813
|
+
segment?: boolean | undefined;
|
|
814
|
+
"linear-system"?: boolean | undefined;
|
|
795
815
|
} & {
|
|
796
816
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
817
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
797
818
|
}) | undefined;
|
|
798
819
|
} | undefined;
|
|
799
820
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -839,7 +860,9 @@ declare const InteractiveGraph: {
|
|
|
839
860
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
840
861
|
showAlignmentOptions?: boolean | undefined;
|
|
841
862
|
readOnly?: boolean | undefined;
|
|
842
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
863
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
864
|
+
* Whether to show the ruler on the graph.
|
|
865
|
+
*/
|
|
843
866
|
getAnotherHint?: (() => unknown) | undefined;
|
|
844
867
|
interactionCallback?: ((widgetData: {
|
|
845
868
|
[widgetId: string]: any;
|
|
@@ -871,11 +894,12 @@ declare const InteractiveGraph: {
|
|
|
871
894
|
linear?: boolean | undefined;
|
|
872
895
|
quadratic?: boolean | undefined;
|
|
873
896
|
sinusoid?: boolean | undefined;
|
|
874
|
-
"linear-system"?: boolean | undefined;
|
|
875
|
-
segment?: boolean | undefined;
|
|
876
897
|
ray?: boolean | undefined;
|
|
898
|
+
segment?: boolean | undefined;
|
|
899
|
+
"linear-system"?: boolean | undefined;
|
|
877
900
|
} & {
|
|
878
901
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
902
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
879
903
|
}) | undefined;
|
|
880
904
|
} | undefined;
|
|
881
905
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -920,7 +944,9 @@ declare const InteractiveGraph: {
|
|
|
920
944
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
921
945
|
showAlignmentOptions?: boolean | undefined;
|
|
922
946
|
readOnly?: boolean | undefined;
|
|
923
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
947
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
948
|
+
* Whether to show the ruler on the graph.
|
|
949
|
+
*/
|
|
924
950
|
getAnotherHint?: (() => unknown) | undefined;
|
|
925
951
|
interactionCallback?: ((widgetData: {
|
|
926
952
|
[widgetId: string]: any;
|
|
@@ -952,11 +978,12 @@ declare const InteractiveGraph: {
|
|
|
952
978
|
linear?: boolean | undefined;
|
|
953
979
|
quadratic?: boolean | undefined;
|
|
954
980
|
sinusoid?: boolean | undefined;
|
|
955
|
-
"linear-system"?: boolean | undefined;
|
|
956
|
-
segment?: boolean | undefined;
|
|
957
981
|
ray?: boolean | undefined;
|
|
982
|
+
segment?: boolean | undefined;
|
|
983
|
+
"linear-system"?: boolean | undefined;
|
|
958
984
|
} & {
|
|
959
985
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
986
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
960
987
|
}) | undefined;
|
|
961
988
|
} | undefined;
|
|
962
989
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1001,7 +1028,9 @@ declare const InteractiveGraph: {
|
|
|
1001
1028
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1002
1029
|
showAlignmentOptions?: boolean | undefined;
|
|
1003
1030
|
readOnly?: boolean | undefined;
|
|
1004
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1031
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1032
|
+
* Whether to show the ruler on the graph.
|
|
1033
|
+
*/
|
|
1005
1034
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1006
1035
|
interactionCallback?: ((widgetData: {
|
|
1007
1036
|
[widgetId: string]: any;
|
|
@@ -1033,11 +1062,12 @@ declare const InteractiveGraph: {
|
|
|
1033
1062
|
linear?: boolean | undefined;
|
|
1034
1063
|
quadratic?: boolean | undefined;
|
|
1035
1064
|
sinusoid?: boolean | undefined;
|
|
1036
|
-
"linear-system"?: boolean | undefined;
|
|
1037
|
-
segment?: boolean | undefined;
|
|
1038
1065
|
ray?: boolean | undefined;
|
|
1066
|
+
segment?: boolean | undefined;
|
|
1067
|
+
"linear-system"?: boolean | undefined;
|
|
1039
1068
|
} & {
|
|
1040
1069
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1070
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1041
1071
|
}) | undefined;
|
|
1042
1072
|
} | undefined;
|
|
1043
1073
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1090,7 +1120,9 @@ declare const InteractiveGraph: {
|
|
|
1090
1120
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1091
1121
|
showAlignmentOptions?: boolean | undefined;
|
|
1092
1122
|
readOnly?: boolean | undefined;
|
|
1093
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1123
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1124
|
+
* Whether to show the ruler on the graph.
|
|
1125
|
+
*/
|
|
1094
1126
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1095
1127
|
interactionCallback?: ((widgetData: {
|
|
1096
1128
|
[widgetId: string]: any;
|
|
@@ -1122,11 +1154,12 @@ declare const InteractiveGraph: {
|
|
|
1122
1154
|
linear?: boolean | undefined;
|
|
1123
1155
|
quadratic?: boolean | undefined;
|
|
1124
1156
|
sinusoid?: boolean | undefined;
|
|
1125
|
-
"linear-system"?: boolean | undefined;
|
|
1126
|
-
segment?: boolean | undefined;
|
|
1127
1157
|
ray?: boolean | undefined;
|
|
1158
|
+
segment?: boolean | undefined;
|
|
1159
|
+
"linear-system"?: boolean | undefined;
|
|
1128
1160
|
} & {
|
|
1129
1161
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1162
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1130
1163
|
}) | undefined;
|
|
1131
1164
|
} | undefined;
|
|
1132
1165
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1178,7 +1211,9 @@ declare const InteractiveGraph: {
|
|
|
1178
1211
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1179
1212
|
showAlignmentOptions?: boolean | undefined;
|
|
1180
1213
|
readOnly?: boolean | undefined;
|
|
1181
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1214
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1215
|
+
* Whether to show the ruler on the graph.
|
|
1216
|
+
*/
|
|
1182
1217
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1183
1218
|
interactionCallback?: ((widgetData: {
|
|
1184
1219
|
[widgetId: string]: any;
|
|
@@ -1210,11 +1245,12 @@ declare const InteractiveGraph: {
|
|
|
1210
1245
|
linear?: boolean | undefined;
|
|
1211
1246
|
quadratic?: boolean | undefined;
|
|
1212
1247
|
sinusoid?: boolean | undefined;
|
|
1213
|
-
"linear-system"?: boolean | undefined;
|
|
1214
|
-
segment?: boolean | undefined;
|
|
1215
1248
|
ray?: boolean | undefined;
|
|
1249
|
+
segment?: boolean | undefined;
|
|
1250
|
+
"linear-system"?: boolean | undefined;
|
|
1216
1251
|
} & {
|
|
1217
1252
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1253
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1218
1254
|
}) | undefined;
|
|
1219
1255
|
} | undefined;
|
|
1220
1256
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1261,7 +1297,9 @@ declare const InteractiveGraph: {
|
|
|
1261
1297
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1262
1298
|
showAlignmentOptions?: boolean | undefined;
|
|
1263
1299
|
readOnly?: boolean | undefined;
|
|
1264
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1300
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1301
|
+
* Whether to show the ruler on the graph.
|
|
1302
|
+
*/
|
|
1265
1303
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1266
1304
|
interactionCallback?: ((widgetData: {
|
|
1267
1305
|
[widgetId: string]: any;
|
|
@@ -1293,11 +1331,12 @@ declare const InteractiveGraph: {
|
|
|
1293
1331
|
linear?: boolean | undefined;
|
|
1294
1332
|
quadratic?: boolean | undefined;
|
|
1295
1333
|
sinusoid?: boolean | undefined;
|
|
1296
|
-
"linear-system"?: boolean | undefined;
|
|
1297
|
-
segment?: boolean | undefined;
|
|
1298
1334
|
ray?: boolean | undefined;
|
|
1335
|
+
segment?: boolean | undefined;
|
|
1336
|
+
"linear-system"?: boolean | undefined;
|
|
1299
1337
|
} & {
|
|
1300
1338
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1339
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1301
1340
|
}) | undefined;
|
|
1302
1341
|
} | undefined;
|
|
1303
1342
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1342,7 +1381,9 @@ declare const InteractiveGraph: {
|
|
|
1342
1381
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1343
1382
|
showAlignmentOptions?: boolean | undefined;
|
|
1344
1383
|
readOnly?: boolean | undefined;
|
|
1345
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1384
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1385
|
+
* Whether to show the ruler on the graph.
|
|
1386
|
+
*/
|
|
1346
1387
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1347
1388
|
interactionCallback?: ((widgetData: {
|
|
1348
1389
|
[widgetId: string]: any;
|
|
@@ -1374,11 +1415,12 @@ declare const InteractiveGraph: {
|
|
|
1374
1415
|
linear?: boolean | undefined;
|
|
1375
1416
|
quadratic?: boolean | undefined;
|
|
1376
1417
|
sinusoid?: boolean | undefined;
|
|
1377
|
-
"linear-system"?: boolean | undefined;
|
|
1378
|
-
segment?: boolean | undefined;
|
|
1379
1418
|
ray?: boolean | undefined;
|
|
1419
|
+
segment?: boolean | undefined;
|
|
1420
|
+
"linear-system"?: boolean | undefined;
|
|
1380
1421
|
} & {
|
|
1381
1422
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1423
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1382
1424
|
}) | undefined;
|
|
1383
1425
|
} | undefined;
|
|
1384
1426
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1425,7 +1467,9 @@ declare const InteractiveGraph: {
|
|
|
1425
1467
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1426
1468
|
showAlignmentOptions?: boolean | undefined;
|
|
1427
1469
|
readOnly?: boolean | undefined;
|
|
1428
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1470
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1471
|
+
* Whether to show the ruler on the graph.
|
|
1472
|
+
*/
|
|
1429
1473
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1430
1474
|
interactionCallback?: ((widgetData: {
|
|
1431
1475
|
[widgetId: string]: any;
|
|
@@ -1457,11 +1501,12 @@ declare const InteractiveGraph: {
|
|
|
1457
1501
|
linear?: boolean | undefined;
|
|
1458
1502
|
quadratic?: boolean | undefined;
|
|
1459
1503
|
sinusoid?: boolean | undefined;
|
|
1460
|
-
"linear-system"?: boolean | undefined;
|
|
1461
|
-
segment?: boolean | undefined;
|
|
1462
1504
|
ray?: boolean | undefined;
|
|
1505
|
+
segment?: boolean | undefined;
|
|
1506
|
+
"linear-system"?: boolean | undefined;
|
|
1463
1507
|
} & {
|
|
1464
1508
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1509
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1465
1510
|
}) | undefined;
|
|
1466
1511
|
} | undefined;
|
|
1467
1512
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1506,7 +1551,9 @@ declare const InteractiveGraph: {
|
|
|
1506
1551
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1507
1552
|
showAlignmentOptions?: boolean | undefined;
|
|
1508
1553
|
readOnly?: boolean | undefined;
|
|
1509
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1554
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1555
|
+
* Whether to show the ruler on the graph.
|
|
1556
|
+
*/
|
|
1510
1557
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1511
1558
|
interactionCallback?: ((widgetData: {
|
|
1512
1559
|
[widgetId: string]: any;
|
|
@@ -1538,11 +1585,12 @@ declare const InteractiveGraph: {
|
|
|
1538
1585
|
linear?: boolean | undefined;
|
|
1539
1586
|
quadratic?: boolean | undefined;
|
|
1540
1587
|
sinusoid?: boolean | undefined;
|
|
1541
|
-
"linear-system"?: boolean | undefined;
|
|
1542
|
-
segment?: boolean | undefined;
|
|
1543
1588
|
ray?: boolean | undefined;
|
|
1589
|
+
segment?: boolean | undefined;
|
|
1590
|
+
"linear-system"?: boolean | undefined;
|
|
1544
1591
|
} & {
|
|
1545
1592
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1593
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1546
1594
|
}) | undefined;
|
|
1547
1595
|
} | undefined;
|
|
1548
1596
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1587,7 +1635,9 @@ declare const InteractiveGraph: {
|
|
|
1587
1635
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1588
1636
|
showAlignmentOptions?: boolean | undefined;
|
|
1589
1637
|
readOnly?: boolean | undefined;
|
|
1590
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1638
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1639
|
+
* Whether to show the ruler on the graph.
|
|
1640
|
+
*/
|
|
1591
1641
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1592
1642
|
interactionCallback?: ((widgetData: {
|
|
1593
1643
|
[widgetId: string]: any;
|
|
@@ -1619,11 +1669,12 @@ declare const InteractiveGraph: {
|
|
|
1619
1669
|
linear?: boolean | undefined;
|
|
1620
1670
|
quadratic?: boolean | undefined;
|
|
1621
1671
|
sinusoid?: boolean | undefined;
|
|
1622
|
-
"linear-system"?: boolean | undefined;
|
|
1623
|
-
segment?: boolean | undefined;
|
|
1624
1672
|
ray?: boolean | undefined;
|
|
1673
|
+
segment?: boolean | undefined;
|
|
1674
|
+
"linear-system"?: boolean | undefined;
|
|
1625
1675
|
} & {
|
|
1626
1676
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1677
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1627
1678
|
}) | undefined;
|
|
1628
1679
|
} | undefined;
|
|
1629
1680
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1668,7 +1719,9 @@ declare const InteractiveGraph: {
|
|
|
1668
1719
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1669
1720
|
showAlignmentOptions?: boolean | undefined;
|
|
1670
1721
|
readOnly?: boolean | undefined;
|
|
1671
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1722
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1723
|
+
* Whether to show the ruler on the graph.
|
|
1724
|
+
*/
|
|
1672
1725
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1673
1726
|
interactionCallback?: ((widgetData: {
|
|
1674
1727
|
[widgetId: string]: any;
|
|
@@ -1700,11 +1753,12 @@ declare const InteractiveGraph: {
|
|
|
1700
1753
|
linear?: boolean | undefined;
|
|
1701
1754
|
quadratic?: boolean | undefined;
|
|
1702
1755
|
sinusoid?: boolean | undefined;
|
|
1703
|
-
"linear-system"?: boolean | undefined;
|
|
1704
|
-
segment?: boolean | undefined;
|
|
1705
1756
|
ray?: boolean | undefined;
|
|
1757
|
+
segment?: boolean | undefined;
|
|
1758
|
+
"linear-system"?: boolean | undefined;
|
|
1706
1759
|
} & {
|
|
1707
1760
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1761
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1708
1762
|
}) | undefined;
|
|
1709
1763
|
} | undefined;
|
|
1710
1764
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1750,7 +1804,9 @@ declare const InteractiveGraph: {
|
|
|
1750
1804
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1751
1805
|
showAlignmentOptions?: boolean | undefined;
|
|
1752
1806
|
readOnly?: boolean | undefined;
|
|
1753
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1807
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1808
|
+
* Whether to show the ruler on the graph.
|
|
1809
|
+
*/
|
|
1754
1810
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1755
1811
|
interactionCallback?: ((widgetData: {
|
|
1756
1812
|
[widgetId: string]: any;
|
|
@@ -1782,11 +1838,12 @@ declare const InteractiveGraph: {
|
|
|
1782
1838
|
linear?: boolean | undefined;
|
|
1783
1839
|
quadratic?: boolean | undefined;
|
|
1784
1840
|
sinusoid?: boolean | undefined;
|
|
1785
|
-
"linear-system"?: boolean | undefined;
|
|
1786
|
-
segment?: boolean | undefined;
|
|
1787
1841
|
ray?: boolean | undefined;
|
|
1842
|
+
segment?: boolean | undefined;
|
|
1843
|
+
"linear-system"?: boolean | undefined;
|
|
1788
1844
|
} & {
|
|
1789
1845
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1846
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1790
1847
|
}) | undefined;
|
|
1791
1848
|
} | undefined;
|
|
1792
1849
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1855,7 +1912,9 @@ declare const InteractiveGraph: {
|
|
|
1855
1912
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1856
1913
|
showAlignmentOptions?: boolean | undefined;
|
|
1857
1914
|
readOnly?: boolean | undefined;
|
|
1858
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1915
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
1916
|
+
* Whether to show the ruler on the graph.
|
|
1917
|
+
*/
|
|
1859
1918
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1860
1919
|
interactionCallback?: ((widgetData: {
|
|
1861
1920
|
[widgetId: string]: any;
|
|
@@ -1887,11 +1946,12 @@ declare const InteractiveGraph: {
|
|
|
1887
1946
|
linear?: boolean | undefined;
|
|
1888
1947
|
quadratic?: boolean | undefined;
|
|
1889
1948
|
sinusoid?: boolean | undefined;
|
|
1890
|
-
"linear-system"?: boolean | undefined;
|
|
1891
|
-
segment?: boolean | undefined;
|
|
1892
1949
|
ray?: boolean | undefined;
|
|
1950
|
+
segment?: boolean | undefined;
|
|
1951
|
+
"linear-system"?: boolean | undefined;
|
|
1893
1952
|
} & {
|
|
1894
1953
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1954
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1895
1955
|
}) | undefined;
|
|
1896
1956
|
} | undefined;
|
|
1897
1957
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1936,7 +1996,9 @@ declare const InteractiveGraph: {
|
|
|
1936
1996
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1937
1997
|
showAlignmentOptions?: boolean | undefined;
|
|
1938
1998
|
readOnly?: boolean | undefined;
|
|
1939
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1999
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2000
|
+
* Whether to show the ruler on the graph.
|
|
2001
|
+
*/
|
|
1940
2002
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1941
2003
|
interactionCallback?: ((widgetData: {
|
|
1942
2004
|
[widgetId: string]: any;
|
|
@@ -1968,11 +2030,12 @@ declare const InteractiveGraph: {
|
|
|
1968
2030
|
linear?: boolean | undefined;
|
|
1969
2031
|
quadratic?: boolean | undefined;
|
|
1970
2032
|
sinusoid?: boolean | undefined;
|
|
1971
|
-
"linear-system"?: boolean | undefined;
|
|
1972
|
-
segment?: boolean | undefined;
|
|
1973
2033
|
ray?: boolean | undefined;
|
|
2034
|
+
segment?: boolean | undefined;
|
|
2035
|
+
"linear-system"?: boolean | undefined;
|
|
1974
2036
|
} & {
|
|
1975
2037
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2038
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1976
2039
|
}) | undefined;
|
|
1977
2040
|
} | undefined;
|
|
1978
2041
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2017,7 +2080,9 @@ declare const InteractiveGraph: {
|
|
|
2017
2080
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2018
2081
|
showAlignmentOptions?: boolean | undefined;
|
|
2019
2082
|
readOnly?: boolean | undefined;
|
|
2020
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2083
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2084
|
+
* Whether to show the ruler on the graph.
|
|
2085
|
+
*/
|
|
2021
2086
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2022
2087
|
interactionCallback?: ((widgetData: {
|
|
2023
2088
|
[widgetId: string]: any;
|
|
@@ -2049,11 +2114,12 @@ declare const InteractiveGraph: {
|
|
|
2049
2114
|
linear?: boolean | undefined;
|
|
2050
2115
|
quadratic?: boolean | undefined;
|
|
2051
2116
|
sinusoid?: boolean | undefined;
|
|
2052
|
-
"linear-system"?: boolean | undefined;
|
|
2053
|
-
segment?: boolean | undefined;
|
|
2054
2117
|
ray?: boolean | undefined;
|
|
2118
|
+
segment?: boolean | undefined;
|
|
2119
|
+
"linear-system"?: boolean | undefined;
|
|
2055
2120
|
} & {
|
|
2056
2121
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2122
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2057
2123
|
}) | undefined;
|
|
2058
2124
|
} | undefined;
|
|
2059
2125
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2106,7 +2172,9 @@ declare const InteractiveGraph: {
|
|
|
2106
2172
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2107
2173
|
showAlignmentOptions?: boolean | undefined;
|
|
2108
2174
|
readOnly?: boolean | undefined;
|
|
2109
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2175
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2176
|
+
* Whether to show the ruler on the graph.
|
|
2177
|
+
*/
|
|
2110
2178
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2111
2179
|
interactionCallback?: ((widgetData: {
|
|
2112
2180
|
[widgetId: string]: any;
|
|
@@ -2138,11 +2206,12 @@ declare const InteractiveGraph: {
|
|
|
2138
2206
|
linear?: boolean | undefined;
|
|
2139
2207
|
quadratic?: boolean | undefined;
|
|
2140
2208
|
sinusoid?: boolean | undefined;
|
|
2141
|
-
"linear-system"?: boolean | undefined;
|
|
2142
|
-
segment?: boolean | undefined;
|
|
2143
2209
|
ray?: boolean | undefined;
|
|
2210
|
+
segment?: boolean | undefined;
|
|
2211
|
+
"linear-system"?: boolean | undefined;
|
|
2144
2212
|
} & {
|
|
2145
2213
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2214
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2146
2215
|
}) | undefined;
|
|
2147
2216
|
} | undefined;
|
|
2148
2217
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2176,9 +2245,7 @@ declare const InteractiveGraph: {
|
|
|
2176
2245
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2177
2246
|
}) | null | undefined) => boolean;
|
|
2178
2247
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
2179
|
-
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
2180
|
-
* The background image to display in the graph area and its properties.
|
|
2181
|
-
*/
|
|
2248
|
+
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
2182
2249
|
arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
2183
2250
|
areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
2184
2251
|
_lineStroke: () => {
|
|
@@ -2188,9 +2255,7 @@ declare const InteractiveGraph: {
|
|
|
2188
2255
|
removeLine: () => void;
|
|
2189
2256
|
addLinearControls: () => void;
|
|
2190
2257
|
removeLinearControls: () => void;
|
|
2191
|
-
addQuadraticControls: () => void;
|
|
2192
|
-
* Whether to show the ruler on the graph.
|
|
2193
|
-
*/
|
|
2258
|
+
addQuadraticControls: () => void;
|
|
2194
2259
|
updateQuadratic: () => void;
|
|
2195
2260
|
removeQuadraticControls: () => void;
|
|
2196
2261
|
addSinusoidControls: () => void;
|
|
@@ -2198,9 +2263,13 @@ declare const InteractiveGraph: {
|
|
|
2198
2263
|
removeSinusoidControls: () => void;
|
|
2199
2264
|
addCircleControls: () => void;
|
|
2200
2265
|
removeCircleControls: () => void;
|
|
2201
|
-
addLinearSystemControls: () => void;
|
|
2266
|
+
addLinearSystemControls: () => void; /**
|
|
2267
|
+
* The label to display on the ruler, if any.
|
|
2268
|
+
*/
|
|
2202
2269
|
removeLinearSystemControls: () => void;
|
|
2203
|
-
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
2270
|
+
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean; /**
|
|
2271
|
+
* The number of ticks to display on the ruler.
|
|
2272
|
+
*/
|
|
2204
2273
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
2205
2274
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
2206
2275
|
createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
@@ -2210,22 +2279,16 @@ declare const InteractiveGraph: {
|
|
|
2210
2279
|
addPointControls: () => void;
|
|
2211
2280
|
removePointControls: () => void;
|
|
2212
2281
|
addSegmentControls: () => void;
|
|
2213
|
-
removeSegmentControls: () => void;
|
|
2214
|
-
* The locked figures to display in the graph area.
|
|
2215
|
-
* Locked figures are graph elements (points, lines, line segmeents,
|
|
2216
|
-
* etc.) that are locked in place and not interactive.
|
|
2217
|
-
*/
|
|
2282
|
+
removeSegmentControls: () => void;
|
|
2218
2283
|
addRayControls: () => void;
|
|
2219
2284
|
removeRayControls: () => void;
|
|
2220
2285
|
addPolygonControls: () => void;
|
|
2221
2286
|
updatePolygon: () => void;
|
|
2222
2287
|
removePolygonControls: () => void;
|
|
2223
2288
|
addAngleControls: () => void;
|
|
2224
|
-
removeAngleControls: () => void;
|
|
2225
|
-
* The graph to display in the graph area.
|
|
2226
|
-
*/
|
|
2289
|
+
removeAngleControls: () => void;
|
|
2227
2290
|
toggleShowSides: () => void;
|
|
2228
|
-
getUserInput():
|
|
2291
|
+
getUserInput(): PerseusGraphType;
|
|
2229
2292
|
simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
2230
2293
|
focus: () => void;
|
|
2231
2294
|
render(): React.ReactNode;
|
|
@@ -2243,7 +2306,9 @@ declare const InteractiveGraph: {
|
|
|
2243
2306
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2244
2307
|
showAlignmentOptions?: boolean | undefined;
|
|
2245
2308
|
readOnly?: boolean | undefined;
|
|
2246
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2309
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2310
|
+
* Whether to show the ruler on the graph.
|
|
2311
|
+
*/
|
|
2247
2312
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2248
2313
|
interactionCallback?: ((widgetData: {
|
|
2249
2314
|
[widgetId: string]: any;
|
|
@@ -2275,11 +2340,12 @@ declare const InteractiveGraph: {
|
|
|
2275
2340
|
linear?: boolean | undefined;
|
|
2276
2341
|
quadratic?: boolean | undefined;
|
|
2277
2342
|
sinusoid?: boolean | undefined;
|
|
2278
|
-
"linear-system"?: boolean | undefined;
|
|
2279
|
-
segment?: boolean | undefined;
|
|
2280
2343
|
ray?: boolean | undefined;
|
|
2344
|
+
segment?: boolean | undefined;
|
|
2345
|
+
"linear-system"?: boolean | undefined;
|
|
2281
2346
|
} & {
|
|
2282
2347
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2348
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2283
2349
|
}) | undefined;
|
|
2284
2350
|
} | undefined;
|
|
2285
2351
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2329,7 +2395,9 @@ declare const InteractiveGraph: {
|
|
|
2329
2395
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2330
2396
|
showAlignmentOptions?: boolean | undefined;
|
|
2331
2397
|
readOnly?: boolean | undefined;
|
|
2332
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2398
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2399
|
+
* Whether to show the ruler on the graph.
|
|
2400
|
+
*/
|
|
2333
2401
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2334
2402
|
interactionCallback?: ((widgetData: {
|
|
2335
2403
|
[widgetId: string]: any;
|
|
@@ -2361,11 +2429,12 @@ declare const InteractiveGraph: {
|
|
|
2361
2429
|
linear?: boolean | undefined;
|
|
2362
2430
|
quadratic?: boolean | undefined;
|
|
2363
2431
|
sinusoid?: boolean | undefined;
|
|
2364
|
-
"linear-system"?: boolean | undefined;
|
|
2365
|
-
segment?: boolean | undefined;
|
|
2366
2432
|
ray?: boolean | undefined;
|
|
2433
|
+
segment?: boolean | undefined;
|
|
2434
|
+
"linear-system"?: boolean | undefined;
|
|
2367
2435
|
} & {
|
|
2368
2436
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2437
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2369
2438
|
}) | undefined;
|
|
2370
2439
|
} | undefined;
|
|
2371
2440
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2412,7 +2481,9 @@ declare const InteractiveGraph: {
|
|
|
2412
2481
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2413
2482
|
showAlignmentOptions?: boolean | undefined;
|
|
2414
2483
|
readOnly?: boolean | undefined;
|
|
2415
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2484
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2485
|
+
* Whether to show the ruler on the graph.
|
|
2486
|
+
*/
|
|
2416
2487
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2417
2488
|
interactionCallback?: ((widgetData: {
|
|
2418
2489
|
[widgetId: string]: any;
|
|
@@ -2444,11 +2515,12 @@ declare const InteractiveGraph: {
|
|
|
2444
2515
|
linear?: boolean | undefined;
|
|
2445
2516
|
quadratic?: boolean | undefined;
|
|
2446
2517
|
sinusoid?: boolean | undefined;
|
|
2447
|
-
"linear-system"?: boolean | undefined;
|
|
2448
|
-
segment?: boolean | undefined;
|
|
2449
2518
|
ray?: boolean | undefined;
|
|
2519
|
+
segment?: boolean | undefined;
|
|
2520
|
+
"linear-system"?: boolean | undefined;
|
|
2450
2521
|
} & {
|
|
2451
2522
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2523
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2452
2524
|
}) | undefined;
|
|
2453
2525
|
} | undefined;
|
|
2454
2526
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2494,7 +2566,9 @@ declare const InteractiveGraph: {
|
|
|
2494
2566
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2495
2567
|
showAlignmentOptions?: boolean | undefined;
|
|
2496
2568
|
readOnly?: boolean | undefined;
|
|
2497
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2569
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2570
|
+
* Whether to show the ruler on the graph.
|
|
2571
|
+
*/
|
|
2498
2572
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2499
2573
|
interactionCallback?: ((widgetData: {
|
|
2500
2574
|
[widgetId: string]: any;
|
|
@@ -2526,11 +2600,12 @@ declare const InteractiveGraph: {
|
|
|
2526
2600
|
linear?: boolean | undefined;
|
|
2527
2601
|
quadratic?: boolean | undefined;
|
|
2528
2602
|
sinusoid?: boolean | undefined;
|
|
2529
|
-
"linear-system"?: boolean | undefined;
|
|
2530
|
-
segment?: boolean | undefined;
|
|
2531
2603
|
ray?: boolean | undefined;
|
|
2604
|
+
segment?: boolean | undefined;
|
|
2605
|
+
"linear-system"?: boolean | undefined;
|
|
2532
2606
|
} & {
|
|
2533
2607
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2608
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2534
2609
|
}) | undefined;
|
|
2535
2610
|
} | undefined;
|
|
2536
2611
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2575,7 +2650,9 @@ declare const InteractiveGraph: {
|
|
|
2575
2650
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2576
2651
|
showAlignmentOptions?: boolean | undefined;
|
|
2577
2652
|
readOnly?: boolean | undefined;
|
|
2578
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2653
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2654
|
+
* Whether to show the ruler on the graph.
|
|
2655
|
+
*/
|
|
2579
2656
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2580
2657
|
interactionCallback?: ((widgetData: {
|
|
2581
2658
|
[widgetId: string]: any;
|
|
@@ -2607,11 +2684,12 @@ declare const InteractiveGraph: {
|
|
|
2607
2684
|
linear?: boolean | undefined;
|
|
2608
2685
|
quadratic?: boolean | undefined;
|
|
2609
2686
|
sinusoid?: boolean | undefined;
|
|
2610
|
-
"linear-system"?: boolean | undefined;
|
|
2611
|
-
segment?: boolean | undefined;
|
|
2612
2687
|
ray?: boolean | undefined;
|
|
2688
|
+
segment?: boolean | undefined;
|
|
2689
|
+
"linear-system"?: boolean | undefined;
|
|
2613
2690
|
} & {
|
|
2614
2691
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2692
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2615
2693
|
}) | undefined;
|
|
2616
2694
|
} | undefined;
|
|
2617
2695
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2656,7 +2734,9 @@ declare const InteractiveGraph: {
|
|
|
2656
2734
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2657
2735
|
showAlignmentOptions?: boolean | undefined;
|
|
2658
2736
|
readOnly?: boolean | undefined;
|
|
2659
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2737
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2738
|
+
* Whether to show the ruler on the graph.
|
|
2739
|
+
*/
|
|
2660
2740
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2661
2741
|
interactionCallback?: ((widgetData: {
|
|
2662
2742
|
[widgetId: string]: any;
|
|
@@ -2688,11 +2768,12 @@ declare const InteractiveGraph: {
|
|
|
2688
2768
|
linear?: boolean | undefined;
|
|
2689
2769
|
quadratic?: boolean | undefined;
|
|
2690
2770
|
sinusoid?: boolean | undefined;
|
|
2691
|
-
"linear-system"?: boolean | undefined;
|
|
2692
|
-
segment?: boolean | undefined;
|
|
2693
2771
|
ray?: boolean | undefined;
|
|
2772
|
+
segment?: boolean | undefined;
|
|
2773
|
+
"linear-system"?: boolean | undefined;
|
|
2694
2774
|
} & {
|
|
2695
2775
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2776
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2696
2777
|
}) | undefined;
|
|
2697
2778
|
} | undefined;
|
|
2698
2779
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2745,7 +2826,9 @@ declare const InteractiveGraph: {
|
|
|
2745
2826
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2746
2827
|
showAlignmentOptions?: boolean | undefined;
|
|
2747
2828
|
readOnly?: boolean | undefined;
|
|
2748
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2829
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2830
|
+
* Whether to show the ruler on the graph.
|
|
2831
|
+
*/
|
|
2749
2832
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2750
2833
|
interactionCallback?: ((widgetData: {
|
|
2751
2834
|
[widgetId: string]: any;
|
|
@@ -2777,11 +2860,12 @@ declare const InteractiveGraph: {
|
|
|
2777
2860
|
linear?: boolean | undefined;
|
|
2778
2861
|
quadratic?: boolean | undefined;
|
|
2779
2862
|
sinusoid?: boolean | undefined;
|
|
2780
|
-
"linear-system"?: boolean | undefined;
|
|
2781
|
-
segment?: boolean | undefined;
|
|
2782
2863
|
ray?: boolean | undefined;
|
|
2864
|
+
segment?: boolean | undefined;
|
|
2865
|
+
"linear-system"?: boolean | undefined;
|
|
2783
2866
|
} & {
|
|
2784
2867
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2868
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2785
2869
|
}) | undefined;
|
|
2786
2870
|
} | undefined;
|
|
2787
2871
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2833,7 +2917,9 @@ declare const InteractiveGraph: {
|
|
|
2833
2917
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2834
2918
|
showAlignmentOptions?: boolean | undefined;
|
|
2835
2919
|
readOnly?: boolean | undefined;
|
|
2836
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2920
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
2921
|
+
* Whether to show the ruler on the graph.
|
|
2922
|
+
*/
|
|
2837
2923
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2838
2924
|
interactionCallback?: ((widgetData: {
|
|
2839
2925
|
[widgetId: string]: any;
|
|
@@ -2865,11 +2951,12 @@ declare const InteractiveGraph: {
|
|
|
2865
2951
|
linear?: boolean | undefined;
|
|
2866
2952
|
quadratic?: boolean | undefined;
|
|
2867
2953
|
sinusoid?: boolean | undefined;
|
|
2868
|
-
"linear-system"?: boolean | undefined;
|
|
2869
|
-
segment?: boolean | undefined;
|
|
2870
2954
|
ray?: boolean | undefined;
|
|
2955
|
+
segment?: boolean | undefined;
|
|
2956
|
+
"linear-system"?: boolean | undefined;
|
|
2871
2957
|
} & {
|
|
2872
2958
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2959
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2873
2960
|
}) | undefined;
|
|
2874
2961
|
} | undefined;
|
|
2875
2962
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2916,7 +3003,9 @@ declare const InteractiveGraph: {
|
|
|
2916
3003
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2917
3004
|
showAlignmentOptions?: boolean | undefined;
|
|
2918
3005
|
readOnly?: boolean | undefined;
|
|
2919
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3006
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3007
|
+
* Whether to show the ruler on the graph.
|
|
3008
|
+
*/
|
|
2920
3009
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2921
3010
|
interactionCallback?: ((widgetData: {
|
|
2922
3011
|
[widgetId: string]: any;
|
|
@@ -2948,11 +3037,12 @@ declare const InteractiveGraph: {
|
|
|
2948
3037
|
linear?: boolean | undefined;
|
|
2949
3038
|
quadratic?: boolean | undefined;
|
|
2950
3039
|
sinusoid?: boolean | undefined;
|
|
2951
|
-
"linear-system"?: boolean | undefined;
|
|
2952
|
-
segment?: boolean | undefined;
|
|
2953
3040
|
ray?: boolean | undefined;
|
|
3041
|
+
segment?: boolean | undefined;
|
|
3042
|
+
"linear-system"?: boolean | undefined;
|
|
2954
3043
|
} & {
|
|
2955
3044
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3045
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2956
3046
|
}) | undefined;
|
|
2957
3047
|
} | undefined;
|
|
2958
3048
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2997,7 +3087,9 @@ declare const InteractiveGraph: {
|
|
|
2997
3087
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2998
3088
|
showAlignmentOptions?: boolean | undefined;
|
|
2999
3089
|
readOnly?: boolean | undefined;
|
|
3000
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3090
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3091
|
+
* Whether to show the ruler on the graph.
|
|
3092
|
+
*/
|
|
3001
3093
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3002
3094
|
interactionCallback?: ((widgetData: {
|
|
3003
3095
|
[widgetId: string]: any;
|
|
@@ -3029,11 +3121,12 @@ declare const InteractiveGraph: {
|
|
|
3029
3121
|
linear?: boolean | undefined;
|
|
3030
3122
|
quadratic?: boolean | undefined;
|
|
3031
3123
|
sinusoid?: boolean | undefined;
|
|
3032
|
-
"linear-system"?: boolean | undefined;
|
|
3033
|
-
segment?: boolean | undefined;
|
|
3034
3124
|
ray?: boolean | undefined;
|
|
3125
|
+
segment?: boolean | undefined;
|
|
3126
|
+
"linear-system"?: boolean | undefined;
|
|
3035
3127
|
} & {
|
|
3036
3128
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3129
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3037
3130
|
}) | undefined;
|
|
3038
3131
|
} | undefined;
|
|
3039
3132
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3080,7 +3173,9 @@ declare const InteractiveGraph: {
|
|
|
3080
3173
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3081
3174
|
showAlignmentOptions?: boolean | undefined;
|
|
3082
3175
|
readOnly?: boolean | undefined;
|
|
3083
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3176
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3177
|
+
* Whether to show the ruler on the graph.
|
|
3178
|
+
*/
|
|
3084
3179
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3085
3180
|
interactionCallback?: ((widgetData: {
|
|
3086
3181
|
[widgetId: string]: any;
|
|
@@ -3112,11 +3207,12 @@ declare const InteractiveGraph: {
|
|
|
3112
3207
|
linear?: boolean | undefined;
|
|
3113
3208
|
quadratic?: boolean | undefined;
|
|
3114
3209
|
sinusoid?: boolean | undefined;
|
|
3115
|
-
"linear-system"?: boolean | undefined;
|
|
3116
|
-
segment?: boolean | undefined;
|
|
3117
3210
|
ray?: boolean | undefined;
|
|
3211
|
+
segment?: boolean | undefined;
|
|
3212
|
+
"linear-system"?: boolean | undefined;
|
|
3118
3213
|
} & {
|
|
3119
3214
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3215
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3120
3216
|
}) | undefined;
|
|
3121
3217
|
} | undefined;
|
|
3122
3218
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3161,7 +3257,9 @@ declare const InteractiveGraph: {
|
|
|
3161
3257
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3162
3258
|
showAlignmentOptions?: boolean | undefined;
|
|
3163
3259
|
readOnly?: boolean | undefined;
|
|
3164
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3260
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3261
|
+
* Whether to show the ruler on the graph.
|
|
3262
|
+
*/
|
|
3165
3263
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3166
3264
|
interactionCallback?: ((widgetData: {
|
|
3167
3265
|
[widgetId: string]: any;
|
|
@@ -3193,11 +3291,12 @@ declare const InteractiveGraph: {
|
|
|
3193
3291
|
linear?: boolean | undefined;
|
|
3194
3292
|
quadratic?: boolean | undefined;
|
|
3195
3293
|
sinusoid?: boolean | undefined;
|
|
3196
|
-
"linear-system"?: boolean | undefined;
|
|
3197
|
-
segment?: boolean | undefined;
|
|
3198
3294
|
ray?: boolean | undefined;
|
|
3295
|
+
segment?: boolean | undefined;
|
|
3296
|
+
"linear-system"?: boolean | undefined;
|
|
3199
3297
|
} & {
|
|
3200
3298
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3299
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3201
3300
|
}) | undefined;
|
|
3202
3301
|
} | undefined;
|
|
3203
3302
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3242,7 +3341,9 @@ declare const InteractiveGraph: {
|
|
|
3242
3341
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3243
3342
|
showAlignmentOptions?: boolean | undefined;
|
|
3244
3343
|
readOnly?: boolean | undefined;
|
|
3245
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3344
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3345
|
+
* Whether to show the ruler on the graph.
|
|
3346
|
+
*/
|
|
3246
3347
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3247
3348
|
interactionCallback?: ((widgetData: {
|
|
3248
3349
|
[widgetId: string]: any;
|
|
@@ -3274,11 +3375,12 @@ declare const InteractiveGraph: {
|
|
|
3274
3375
|
linear?: boolean | undefined;
|
|
3275
3376
|
quadratic?: boolean | undefined;
|
|
3276
3377
|
sinusoid?: boolean | undefined;
|
|
3277
|
-
"linear-system"?: boolean | undefined;
|
|
3278
|
-
segment?: boolean | undefined;
|
|
3279
3378
|
ray?: boolean | undefined;
|
|
3379
|
+
segment?: boolean | undefined;
|
|
3380
|
+
"linear-system"?: boolean | undefined;
|
|
3280
3381
|
} & {
|
|
3281
3382
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3383
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3282
3384
|
}) | undefined;
|
|
3283
3385
|
} | undefined;
|
|
3284
3386
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3323,7 +3425,9 @@ declare const InteractiveGraph: {
|
|
|
3323
3425
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3324
3426
|
showAlignmentOptions?: boolean | undefined;
|
|
3325
3427
|
readOnly?: boolean | undefined;
|
|
3326
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3428
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3429
|
+
* Whether to show the ruler on the graph.
|
|
3430
|
+
*/
|
|
3327
3431
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3328
3432
|
interactionCallback?: ((widgetData: {
|
|
3329
3433
|
[widgetId: string]: any;
|
|
@@ -3355,11 +3459,12 @@ declare const InteractiveGraph: {
|
|
|
3355
3459
|
linear?: boolean | undefined;
|
|
3356
3460
|
quadratic?: boolean | undefined;
|
|
3357
3461
|
sinusoid?: boolean | undefined;
|
|
3358
|
-
"linear-system"?: boolean | undefined;
|
|
3359
|
-
segment?: boolean | undefined;
|
|
3360
3462
|
ray?: boolean | undefined;
|
|
3463
|
+
segment?: boolean | undefined;
|
|
3464
|
+
"linear-system"?: boolean | undefined;
|
|
3361
3465
|
} & {
|
|
3362
3466
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3467
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3363
3468
|
}) | undefined;
|
|
3364
3469
|
} | undefined;
|
|
3365
3470
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3404,17 +3509,11 @@ declare const InteractiveGraph: {
|
|
|
3404
3509
|
showRuler: boolean;
|
|
3405
3510
|
rulerLabel: string;
|
|
3406
3511
|
rulerTicks: number;
|
|
3407
|
-
graph:
|
|
3512
|
+
graph: PerseusGraphType;
|
|
3408
3513
|
};
|
|
3409
3514
|
getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").QuadraticCoefficient;
|
|
3410
|
-
/**
|
|
3411
|
-
* An editor for the InteractiveGraph widget, which allows the user to
|
|
3412
|
-
* specify the graph's properties and the correct answer.
|
|
3413
|
-
*
|
|
3414
|
-
* Used in the exercise editor.
|
|
3415
|
-
*/
|
|
3416
3515
|
getSinusoidCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").SineCoefficient;
|
|
3417
|
-
getLineCoords(graph:
|
|
3516
|
+
getLineCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3418
3517
|
widgetId: string;
|
|
3419
3518
|
alignment: string | null | undefined;
|
|
3420
3519
|
static: boolean | null | undefined;
|
|
@@ -3426,7 +3525,9 @@ declare const InteractiveGraph: {
|
|
|
3426
3525
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3427
3526
|
showAlignmentOptions?: boolean | undefined;
|
|
3428
3527
|
readOnly?: boolean | undefined;
|
|
3429
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3528
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3529
|
+
* Whether to show the ruler on the graph.
|
|
3530
|
+
*/
|
|
3430
3531
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3431
3532
|
interactionCallback?: ((widgetData: {
|
|
3432
3533
|
[widgetId: string]: any;
|
|
@@ -3458,11 +3559,12 @@ declare const InteractiveGraph: {
|
|
|
3458
3559
|
linear?: boolean | undefined;
|
|
3459
3560
|
quadratic?: boolean | undefined;
|
|
3460
3561
|
sinusoid?: boolean | undefined;
|
|
3461
|
-
"linear-system"?: boolean | undefined;
|
|
3462
|
-
segment?: boolean | undefined;
|
|
3463
3562
|
ray?: boolean | undefined;
|
|
3563
|
+
segment?: boolean | undefined;
|
|
3564
|
+
"linear-system"?: boolean | undefined;
|
|
3464
3565
|
} & {
|
|
3465
3566
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3567
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3466
3568
|
}) | undefined;
|
|
3467
3569
|
} | undefined;
|
|
3468
3570
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3507,7 +3609,9 @@ declare const InteractiveGraph: {
|
|
|
3507
3609
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3508
3610
|
showAlignmentOptions?: boolean | undefined;
|
|
3509
3611
|
readOnly?: boolean | undefined;
|
|
3510
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3612
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3613
|
+
* Whether to show the ruler on the graph.
|
|
3614
|
+
*/
|
|
3511
3615
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3512
3616
|
interactionCallback?: ((widgetData: {
|
|
3513
3617
|
[widgetId: string]: any;
|
|
@@ -3539,11 +3643,12 @@ declare const InteractiveGraph: {
|
|
|
3539
3643
|
linear?: boolean | undefined;
|
|
3540
3644
|
quadratic?: boolean | undefined;
|
|
3541
3645
|
sinusoid?: boolean | undefined;
|
|
3542
|
-
"linear-system"?: boolean | undefined;
|
|
3543
|
-
segment?: boolean | undefined;
|
|
3544
3646
|
ray?: boolean | undefined;
|
|
3647
|
+
segment?: boolean | undefined;
|
|
3648
|
+
"linear-system"?: boolean | undefined;
|
|
3545
3649
|
} & {
|
|
3546
3650
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3651
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3547
3652
|
}) | undefined;
|
|
3548
3653
|
} | undefined;
|
|
3549
3654
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3576,7 +3681,7 @@ declare const InteractiveGraph: {
|
|
|
3576
3681
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3577
3682
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3578
3683
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
3579
|
-
getLinearSystemCoords(graph:
|
|
3684
|
+
getLinearSystemCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3580
3685
|
widgetId: string;
|
|
3581
3686
|
alignment: string | null | undefined;
|
|
3582
3687
|
static: boolean | null | undefined;
|
|
@@ -3588,7 +3693,9 @@ declare const InteractiveGraph: {
|
|
|
3588
3693
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3589
3694
|
showAlignmentOptions?: boolean | undefined;
|
|
3590
3695
|
readOnly?: boolean | undefined;
|
|
3591
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3696
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3697
|
+
* Whether to show the ruler on the graph.
|
|
3698
|
+
*/
|
|
3592
3699
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3593
3700
|
interactionCallback?: ((widgetData: {
|
|
3594
3701
|
[widgetId: string]: any;
|
|
@@ -3620,11 +3727,12 @@ declare const InteractiveGraph: {
|
|
|
3620
3727
|
linear?: boolean | undefined;
|
|
3621
3728
|
quadratic?: boolean | undefined;
|
|
3622
3729
|
sinusoid?: boolean | undefined;
|
|
3623
|
-
"linear-system"?: boolean | undefined;
|
|
3624
|
-
segment?: boolean | undefined;
|
|
3625
3730
|
ray?: boolean | undefined;
|
|
3731
|
+
segment?: boolean | undefined;
|
|
3732
|
+
"linear-system"?: boolean | undefined;
|
|
3626
3733
|
} & {
|
|
3627
3734
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3735
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3628
3736
|
}) | undefined;
|
|
3629
3737
|
} | undefined;
|
|
3630
3738
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3657,7 +3765,7 @@ declare const InteractiveGraph: {
|
|
|
3657
3765
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3658
3766
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3659
3767
|
}): readonly (readonly import("@khanacademy/perseus").Coord[])[];
|
|
3660
|
-
getPolygonCoords(graph:
|
|
3768
|
+
getPolygonCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3661
3769
|
widgetId: string;
|
|
3662
3770
|
alignment: string | null | undefined;
|
|
3663
3771
|
static: boolean | null | undefined;
|
|
@@ -3669,7 +3777,9 @@ declare const InteractiveGraph: {
|
|
|
3669
3777
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3670
3778
|
showAlignmentOptions?: boolean | undefined;
|
|
3671
3779
|
readOnly?: boolean | undefined;
|
|
3672
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3780
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3781
|
+
* Whether to show the ruler on the graph.
|
|
3782
|
+
*/
|
|
3673
3783
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3674
3784
|
interactionCallback?: ((widgetData: {
|
|
3675
3785
|
[widgetId: string]: any;
|
|
@@ -3701,11 +3811,12 @@ declare const InteractiveGraph: {
|
|
|
3701
3811
|
linear?: boolean | undefined;
|
|
3702
3812
|
quadratic?: boolean | undefined;
|
|
3703
3813
|
sinusoid?: boolean | undefined;
|
|
3704
|
-
"linear-system"?: boolean | undefined;
|
|
3705
|
-
segment?: boolean | undefined;
|
|
3706
3814
|
ray?: boolean | undefined;
|
|
3815
|
+
segment?: boolean | undefined;
|
|
3816
|
+
"linear-system"?: boolean | undefined;
|
|
3707
3817
|
} & {
|
|
3708
3818
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3819
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3709
3820
|
}) | undefined;
|
|
3710
3821
|
} | undefined;
|
|
3711
3822
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3750,7 +3861,9 @@ declare const InteractiveGraph: {
|
|
|
3750
3861
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3751
3862
|
showAlignmentOptions?: boolean | undefined;
|
|
3752
3863
|
readOnly?: boolean | undefined;
|
|
3753
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3864
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3865
|
+
* Whether to show the ruler on the graph.
|
|
3866
|
+
*/
|
|
3754
3867
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3755
3868
|
interactionCallback?: ((widgetData: {
|
|
3756
3869
|
[widgetId: string]: any;
|
|
@@ -3782,11 +3895,12 @@ declare const InteractiveGraph: {
|
|
|
3782
3895
|
linear?: boolean | undefined;
|
|
3783
3896
|
quadratic?: boolean | undefined;
|
|
3784
3897
|
sinusoid?: boolean | undefined;
|
|
3785
|
-
"linear-system"?: boolean | undefined;
|
|
3786
|
-
segment?: boolean | undefined;
|
|
3787
3898
|
ray?: boolean | undefined;
|
|
3899
|
+
segment?: boolean | undefined;
|
|
3900
|
+
"linear-system"?: boolean | undefined;
|
|
3788
3901
|
} & {
|
|
3789
3902
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3903
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3790
3904
|
}) | undefined;
|
|
3791
3905
|
} | undefined;
|
|
3792
3906
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3831,7 +3945,9 @@ declare const InteractiveGraph: {
|
|
|
3831
3945
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3832
3946
|
showAlignmentOptions?: boolean | undefined;
|
|
3833
3947
|
readOnly?: boolean | undefined;
|
|
3834
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3948
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
3949
|
+
* Whether to show the ruler on the graph.
|
|
3950
|
+
*/
|
|
3835
3951
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3836
3952
|
interactionCallback?: ((widgetData: {
|
|
3837
3953
|
[widgetId: string]: any;
|
|
@@ -3863,11 +3979,12 @@ declare const InteractiveGraph: {
|
|
|
3863
3979
|
linear?: boolean | undefined;
|
|
3864
3980
|
quadratic?: boolean | undefined;
|
|
3865
3981
|
sinusoid?: boolean | undefined;
|
|
3866
|
-
"linear-system"?: boolean | undefined;
|
|
3867
|
-
segment?: boolean | undefined;
|
|
3868
3982
|
ray?: boolean | undefined;
|
|
3983
|
+
segment?: boolean | undefined;
|
|
3984
|
+
"linear-system"?: boolean | undefined;
|
|
3869
3985
|
} & {
|
|
3870
3986
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3987
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3871
3988
|
}) | undefined;
|
|
3872
3989
|
} | undefined;
|
|
3873
3990
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3913,7 +4030,9 @@ declare const InteractiveGraph: {
|
|
|
3913
4030
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3914
4031
|
showAlignmentOptions?: boolean | undefined;
|
|
3915
4032
|
readOnly?: boolean | undefined;
|
|
3916
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4033
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4034
|
+
* Whether to show the ruler on the graph.
|
|
4035
|
+
*/
|
|
3917
4036
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3918
4037
|
interactionCallback?: ((widgetData: {
|
|
3919
4038
|
[widgetId: string]: any;
|
|
@@ -3945,11 +4064,12 @@ declare const InteractiveGraph: {
|
|
|
3945
4064
|
linear?: boolean | undefined;
|
|
3946
4065
|
quadratic?: boolean | undefined;
|
|
3947
4066
|
sinusoid?: boolean | undefined;
|
|
3948
|
-
"linear-system"?: boolean | undefined;
|
|
3949
|
-
segment?: boolean | undefined;
|
|
3950
4067
|
ray?: boolean | undefined;
|
|
4068
|
+
segment?: boolean | undefined;
|
|
4069
|
+
"linear-system"?: boolean | undefined;
|
|
3951
4070
|
} & {
|
|
3952
4071
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4072
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3953
4073
|
}) | undefined;
|
|
3954
4074
|
} | undefined;
|
|
3955
4075
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3994,7 +4114,9 @@ declare const InteractiveGraph: {
|
|
|
3994
4114
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3995
4115
|
showAlignmentOptions?: boolean | undefined;
|
|
3996
4116
|
readOnly?: boolean | undefined;
|
|
3997
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4117
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4118
|
+
* Whether to show the ruler on the graph.
|
|
4119
|
+
*/
|
|
3998
4120
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3999
4121
|
interactionCallback?: ((widgetData: {
|
|
4000
4122
|
[widgetId: string]: any;
|
|
@@ -4026,11 +4148,12 @@ declare const InteractiveGraph: {
|
|
|
4026
4148
|
linear?: boolean | undefined;
|
|
4027
4149
|
quadratic?: boolean | undefined;
|
|
4028
4150
|
sinusoid?: boolean | undefined;
|
|
4029
|
-
"linear-system"?: boolean | undefined;
|
|
4030
|
-
segment?: boolean | undefined;
|
|
4031
4151
|
ray?: boolean | undefined;
|
|
4152
|
+
segment?: boolean | undefined;
|
|
4153
|
+
"linear-system"?: boolean | undefined;
|
|
4032
4154
|
} & {
|
|
4033
4155
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4156
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4034
4157
|
}) | undefined;
|
|
4035
4158
|
} | undefined;
|
|
4036
4159
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4075,7 +4198,9 @@ declare const InteractiveGraph: {
|
|
|
4075
4198
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4076
4199
|
showAlignmentOptions?: boolean | undefined;
|
|
4077
4200
|
readOnly?: boolean | undefined;
|
|
4078
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4201
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4202
|
+
* Whether to show the ruler on the graph.
|
|
4203
|
+
*/
|
|
4079
4204
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4080
4205
|
interactionCallback?: ((widgetData: {
|
|
4081
4206
|
[widgetId: string]: any;
|
|
@@ -4107,11 +4232,12 @@ declare const InteractiveGraph: {
|
|
|
4107
4232
|
linear?: boolean | undefined;
|
|
4108
4233
|
quadratic?: boolean | undefined;
|
|
4109
4234
|
sinusoid?: boolean | undefined;
|
|
4110
|
-
"linear-system"?: boolean | undefined;
|
|
4111
|
-
segment?: boolean | undefined;
|
|
4112
4235
|
ray?: boolean | undefined;
|
|
4236
|
+
segment?: boolean | undefined;
|
|
4237
|
+
"linear-system"?: boolean | undefined;
|
|
4113
4238
|
} & {
|
|
4114
4239
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4240
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4115
4241
|
}) | undefined;
|
|
4116
4242
|
} | undefined;
|
|
4117
4243
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4156,7 +4282,9 @@ declare const InteractiveGraph: {
|
|
|
4156
4282
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4157
4283
|
showAlignmentOptions?: boolean | undefined;
|
|
4158
4284
|
readOnly?: boolean | undefined;
|
|
4159
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4285
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4286
|
+
* Whether to show the ruler on the graph.
|
|
4287
|
+
*/
|
|
4160
4288
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4161
4289
|
interactionCallback?: ((widgetData: {
|
|
4162
4290
|
[widgetId: string]: any;
|
|
@@ -4188,11 +4316,12 @@ declare const InteractiveGraph: {
|
|
|
4188
4316
|
linear?: boolean | undefined;
|
|
4189
4317
|
quadratic?: boolean | undefined;
|
|
4190
4318
|
sinusoid?: boolean | undefined;
|
|
4191
|
-
"linear-system"?: boolean | undefined;
|
|
4192
|
-
segment?: boolean | undefined;
|
|
4193
4319
|
ray?: boolean | undefined;
|
|
4320
|
+
segment?: boolean | undefined;
|
|
4321
|
+
"linear-system"?: boolean | undefined;
|
|
4194
4322
|
} & {
|
|
4195
4323
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4324
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4196
4325
|
}) | undefined;
|
|
4197
4326
|
} | undefined;
|
|
4198
4327
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4237,7 +4366,9 @@ declare const InteractiveGraph: {
|
|
|
4237
4366
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4238
4367
|
showAlignmentOptions?: boolean | undefined;
|
|
4239
4368
|
readOnly?: boolean | undefined;
|
|
4240
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4369
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4370
|
+
* Whether to show the ruler on the graph.
|
|
4371
|
+
*/
|
|
4241
4372
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4242
4373
|
interactionCallback?: ((widgetData: {
|
|
4243
4374
|
[widgetId: string]: any;
|
|
@@ -4269,11 +4400,12 @@ declare const InteractiveGraph: {
|
|
|
4269
4400
|
linear?: boolean | undefined;
|
|
4270
4401
|
quadratic?: boolean | undefined;
|
|
4271
4402
|
sinusoid?: boolean | undefined;
|
|
4272
|
-
"linear-system"?: boolean | undefined;
|
|
4273
|
-
segment?: boolean | undefined;
|
|
4274
4403
|
ray?: boolean | undefined;
|
|
4404
|
+
segment?: boolean | undefined;
|
|
4405
|
+
"linear-system"?: boolean | undefined;
|
|
4275
4406
|
} & {
|
|
4276
4407
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4408
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4277
4409
|
}) | undefined;
|
|
4278
4410
|
} | undefined;
|
|
4279
4411
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4318,7 +4450,9 @@ declare const InteractiveGraph: {
|
|
|
4318
4450
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4319
4451
|
showAlignmentOptions?: boolean | undefined;
|
|
4320
4452
|
readOnly?: boolean | undefined;
|
|
4321
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4453
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4454
|
+
* Whether to show the ruler on the graph.
|
|
4455
|
+
*/
|
|
4322
4456
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4323
4457
|
interactionCallback?: ((widgetData: {
|
|
4324
4458
|
[widgetId: string]: any;
|
|
@@ -4350,11 +4484,12 @@ declare const InteractiveGraph: {
|
|
|
4350
4484
|
linear?: boolean | undefined;
|
|
4351
4485
|
quadratic?: boolean | undefined;
|
|
4352
4486
|
sinusoid?: boolean | undefined;
|
|
4353
|
-
"linear-system"?: boolean | undefined;
|
|
4354
|
-
segment?: boolean | undefined;
|
|
4355
4487
|
ray?: boolean | undefined;
|
|
4488
|
+
segment?: boolean | undefined;
|
|
4489
|
+
"linear-system"?: boolean | undefined;
|
|
4356
4490
|
} & {
|
|
4357
4491
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4492
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4358
4493
|
}) | undefined;
|
|
4359
4494
|
} | undefined;
|
|
4360
4495
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4399,7 +4534,9 @@ declare const InteractiveGraph: {
|
|
|
4399
4534
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4400
4535
|
showAlignmentOptions?: boolean | undefined;
|
|
4401
4536
|
readOnly?: boolean | undefined;
|
|
4402
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4537
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4538
|
+
* Whether to show the ruler on the graph.
|
|
4539
|
+
*/
|
|
4403
4540
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4404
4541
|
interactionCallback?: ((widgetData: {
|
|
4405
4542
|
[widgetId: string]: any;
|
|
@@ -4431,11 +4568,12 @@ declare const InteractiveGraph: {
|
|
|
4431
4568
|
linear?: boolean | undefined;
|
|
4432
4569
|
quadratic?: boolean | undefined;
|
|
4433
4570
|
sinusoid?: boolean | undefined;
|
|
4434
|
-
"linear-system"?: boolean | undefined;
|
|
4435
|
-
segment?: boolean | undefined;
|
|
4436
4571
|
ray?: boolean | undefined;
|
|
4572
|
+
segment?: boolean | undefined;
|
|
4573
|
+
"linear-system"?: boolean | undefined;
|
|
4437
4574
|
} & {
|
|
4438
4575
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4576
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4439
4577
|
}) | undefined;
|
|
4440
4578
|
} | undefined;
|
|
4441
4579
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4480,7 +4618,9 @@ declare const InteractiveGraph: {
|
|
|
4480
4618
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4481
4619
|
showAlignmentOptions?: boolean | undefined;
|
|
4482
4620
|
readOnly?: boolean | undefined;
|
|
4483
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4621
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4622
|
+
* Whether to show the ruler on the graph.
|
|
4623
|
+
*/
|
|
4484
4624
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4485
4625
|
interactionCallback?: ((widgetData: {
|
|
4486
4626
|
[widgetId: string]: any;
|
|
@@ -4512,11 +4652,12 @@ declare const InteractiveGraph: {
|
|
|
4512
4652
|
linear?: boolean | undefined;
|
|
4513
4653
|
quadratic?: boolean | undefined;
|
|
4514
4654
|
sinusoid?: boolean | undefined;
|
|
4515
|
-
"linear-system"?: boolean | undefined;
|
|
4516
|
-
segment?: boolean | undefined;
|
|
4517
4655
|
ray?: boolean | undefined;
|
|
4656
|
+
segment?: boolean | undefined;
|
|
4657
|
+
"linear-system"?: boolean | undefined;
|
|
4518
4658
|
} & {
|
|
4519
4659
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4660
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4520
4661
|
}) | undefined;
|
|
4521
4662
|
} | undefined;
|
|
4522
4663
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4561,7 +4702,9 @@ declare const InteractiveGraph: {
|
|
|
4561
4702
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4562
4703
|
showAlignmentOptions?: boolean | undefined;
|
|
4563
4704
|
readOnly?: boolean | undefined;
|
|
4564
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4705
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4706
|
+
* Whether to show the ruler on the graph.
|
|
4707
|
+
*/
|
|
4565
4708
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4566
4709
|
interactionCallback?: ((widgetData: {
|
|
4567
4710
|
[widgetId: string]: any;
|
|
@@ -4593,11 +4736,12 @@ declare const InteractiveGraph: {
|
|
|
4593
4736
|
linear?: boolean | undefined;
|
|
4594
4737
|
quadratic?: boolean | undefined;
|
|
4595
4738
|
sinusoid?: boolean | undefined;
|
|
4596
|
-
"linear-system"?: boolean | undefined;
|
|
4597
|
-
segment?: boolean | undefined;
|
|
4598
4739
|
ray?: boolean | undefined;
|
|
4740
|
+
segment?: boolean | undefined;
|
|
4741
|
+
"linear-system"?: boolean | undefined;
|
|
4599
4742
|
} & {
|
|
4600
4743
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4744
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4601
4745
|
}) | undefined;
|
|
4602
4746
|
} | undefined;
|
|
4603
4747
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4642,7 +4786,9 @@ declare const InteractiveGraph: {
|
|
|
4642
4786
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4643
4787
|
showAlignmentOptions?: boolean | undefined;
|
|
4644
4788
|
readOnly?: boolean | undefined;
|
|
4645
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4789
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4790
|
+
* Whether to show the ruler on the graph.
|
|
4791
|
+
*/
|
|
4646
4792
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4647
4793
|
interactionCallback?: ((widgetData: {
|
|
4648
4794
|
[widgetId: string]: any;
|
|
@@ -4674,11 +4820,12 @@ declare const InteractiveGraph: {
|
|
|
4674
4820
|
linear?: boolean | undefined;
|
|
4675
4821
|
quadratic?: boolean | undefined;
|
|
4676
4822
|
sinusoid?: boolean | undefined;
|
|
4677
|
-
"linear-system"?: boolean | undefined;
|
|
4678
|
-
segment?: boolean | undefined;
|
|
4679
4823
|
ray?: boolean | undefined;
|
|
4824
|
+
segment?: boolean | undefined;
|
|
4825
|
+
"linear-system"?: boolean | undefined;
|
|
4680
4826
|
} & {
|
|
4681
4827
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4828
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4682
4829
|
}) | undefined;
|
|
4683
4830
|
} | undefined;
|
|
4684
4831
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4723,7 +4870,9 @@ declare const InteractiveGraph: {
|
|
|
4723
4870
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4724
4871
|
showAlignmentOptions?: boolean | undefined;
|
|
4725
4872
|
readOnly?: boolean | undefined;
|
|
4726
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4873
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4874
|
+
* Whether to show the ruler on the graph.
|
|
4875
|
+
*/
|
|
4727
4876
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4728
4877
|
interactionCallback?: ((widgetData: {
|
|
4729
4878
|
[widgetId: string]: any;
|
|
@@ -4755,11 +4904,12 @@ declare const InteractiveGraph: {
|
|
|
4755
4904
|
linear?: boolean | undefined;
|
|
4756
4905
|
quadratic?: boolean | undefined;
|
|
4757
4906
|
sinusoid?: boolean | undefined;
|
|
4758
|
-
"linear-system"?: boolean | undefined;
|
|
4759
|
-
segment?: boolean | undefined;
|
|
4760
4907
|
ray?: boolean | undefined;
|
|
4908
|
+
segment?: boolean | undefined;
|
|
4909
|
+
"linear-system"?: boolean | undefined;
|
|
4761
4910
|
} & {
|
|
4762
4911
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4912
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4763
4913
|
}) | undefined;
|
|
4764
4914
|
} | undefined;
|
|
4765
4915
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4804,7 +4954,9 @@ declare const InteractiveGraph: {
|
|
|
4804
4954
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4805
4955
|
showAlignmentOptions?: boolean | undefined;
|
|
4806
4956
|
readOnly?: boolean | undefined;
|
|
4807
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4957
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
4958
|
+
* Whether to show the ruler on the graph.
|
|
4959
|
+
*/
|
|
4808
4960
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4809
4961
|
interactionCallback?: ((widgetData: {
|
|
4810
4962
|
[widgetId: string]: any;
|
|
@@ -4836,11 +4988,12 @@ declare const InteractiveGraph: {
|
|
|
4836
4988
|
linear?: boolean | undefined;
|
|
4837
4989
|
quadratic?: boolean | undefined;
|
|
4838
4990
|
sinusoid?: boolean | undefined;
|
|
4839
|
-
"linear-system"?: boolean | undefined;
|
|
4840
|
-
segment?: boolean | undefined;
|
|
4841
4991
|
ray?: boolean | undefined;
|
|
4992
|
+
segment?: boolean | undefined;
|
|
4993
|
+
"linear-system"?: boolean | undefined;
|
|
4842
4994
|
} & {
|
|
4843
4995
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4996
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4844
4997
|
}) | undefined;
|
|
4845
4998
|
} | undefined;
|
|
4846
4999
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4885,7 +5038,9 @@ declare const InteractiveGraph: {
|
|
|
4885
5038
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4886
5039
|
showAlignmentOptions?: boolean | undefined;
|
|
4887
5040
|
readOnly?: boolean | undefined;
|
|
4888
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5041
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
5042
|
+
* Whether to show the ruler on the graph.
|
|
5043
|
+
*/
|
|
4889
5044
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4890
5045
|
interactionCallback?: ((widgetData: {
|
|
4891
5046
|
[widgetId: string]: any;
|
|
@@ -4917,11 +5072,12 @@ declare const InteractiveGraph: {
|
|
|
4917
5072
|
linear?: boolean | undefined;
|
|
4918
5073
|
quadratic?: boolean | undefined;
|
|
4919
5074
|
sinusoid?: boolean | undefined;
|
|
4920
|
-
"linear-system"?: boolean | undefined;
|
|
4921
|
-
segment?: boolean | undefined;
|
|
4922
5075
|
ray?: boolean | undefined;
|
|
5076
|
+
segment?: boolean | undefined;
|
|
5077
|
+
"linear-system"?: boolean | undefined;
|
|
4923
5078
|
} & {
|
|
4924
5079
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5080
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4925
5081
|
}) | undefined;
|
|
4926
5082
|
} | undefined;
|
|
4927
5083
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4966,7 +5122,9 @@ declare const InteractiveGraph: {
|
|
|
4966
5122
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4967
5123
|
showAlignmentOptions?: boolean | undefined;
|
|
4968
5124
|
readOnly?: boolean | undefined;
|
|
4969
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5125
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
5126
|
+
* Whether to show the ruler on the graph.
|
|
5127
|
+
*/
|
|
4970
5128
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4971
5129
|
interactionCallback?: ((widgetData: {
|
|
4972
5130
|
[widgetId: string]: any;
|
|
@@ -4998,11 +5156,12 @@ declare const InteractiveGraph: {
|
|
|
4998
5156
|
linear?: boolean | undefined;
|
|
4999
5157
|
quadratic?: boolean | undefined;
|
|
5000
5158
|
sinusoid?: boolean | undefined;
|
|
5001
|
-
"linear-system"?: boolean | undefined;
|
|
5002
|
-
segment?: boolean | undefined;
|
|
5003
5159
|
ray?: boolean | undefined;
|
|
5160
|
+
segment?: boolean | undefined;
|
|
5161
|
+
"linear-system"?: boolean | undefined;
|
|
5004
5162
|
} & {
|
|
5005
5163
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5164
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5006
5165
|
}) | undefined;
|
|
5007
5166
|
} | undefined;
|
|
5008
5167
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5047,7 +5206,9 @@ declare const InteractiveGraph: {
|
|
|
5047
5206
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5048
5207
|
showAlignmentOptions?: boolean | undefined;
|
|
5049
5208
|
readOnly?: boolean | undefined;
|
|
5050
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5209
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
5210
|
+
* Whether to show the ruler on the graph.
|
|
5211
|
+
*/
|
|
5051
5212
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5052
5213
|
interactionCallback?: ((widgetData: {
|
|
5053
5214
|
[widgetId: string]: any;
|
|
@@ -5079,11 +5240,12 @@ declare const InteractiveGraph: {
|
|
|
5079
5240
|
linear?: boolean | undefined;
|
|
5080
5241
|
quadratic?: boolean | undefined;
|
|
5081
5242
|
sinusoid?: boolean | undefined;
|
|
5082
|
-
"linear-system"?: boolean | undefined;
|
|
5083
|
-
segment?: boolean | undefined;
|
|
5084
5243
|
ray?: boolean | undefined;
|
|
5244
|
+
segment?: boolean | undefined;
|
|
5245
|
+
"linear-system"?: boolean | undefined;
|
|
5085
5246
|
} & {
|
|
5086
5247
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5248
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5087
5249
|
}) | undefined;
|
|
5088
5250
|
} | undefined;
|
|
5089
5251
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5128,7 +5290,9 @@ declare const InteractiveGraph: {
|
|
|
5128
5290
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5129
5291
|
showAlignmentOptions?: boolean | undefined;
|
|
5130
5292
|
readOnly?: boolean | undefined;
|
|
5131
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5293
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
5294
|
+
* Whether to show the ruler on the graph.
|
|
5295
|
+
*/
|
|
5132
5296
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5133
5297
|
interactionCallback?: ((widgetData: {
|
|
5134
5298
|
[widgetId: string]: any;
|
|
@@ -5160,11 +5324,12 @@ declare const InteractiveGraph: {
|
|
|
5160
5324
|
linear?: boolean | undefined;
|
|
5161
5325
|
quadratic?: boolean | undefined;
|
|
5162
5326
|
sinusoid?: boolean | undefined;
|
|
5163
|
-
"linear-system"?: boolean | undefined;
|
|
5164
|
-
segment?: boolean | undefined;
|
|
5165
5327
|
ray?: boolean | undefined;
|
|
5328
|
+
segment?: boolean | undefined;
|
|
5329
|
+
"linear-system"?: boolean | undefined;
|
|
5166
5330
|
} & {
|
|
5167
5331
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5332
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5168
5333
|
}) | undefined;
|
|
5169
5334
|
} | undefined;
|
|
5170
5335
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5197,7 +5362,7 @@ declare const InteractiveGraph: {
|
|
|
5197
5362
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5198
5363
|
containerSizeClass: SizingUtils.SizeClass;
|
|
5199
5364
|
}): string;
|
|
5200
|
-
validate(userInput:
|
|
5365
|
+
validate(userInput: PerseusGraphType, rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric, component: any): import("@khanacademy/perseus").PerseusScore;
|
|
5201
5366
|
getUserInputFromProps(props: PerseusInteractiveGraphWidgetOptions & {
|
|
5202
5367
|
widgetId: string;
|
|
5203
5368
|
alignment: string | null | undefined;
|
|
@@ -5210,7 +5375,9 @@ declare const InteractiveGraph: {
|
|
|
5210
5375
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5211
5376
|
showAlignmentOptions?: boolean | undefined;
|
|
5212
5377
|
readOnly?: boolean | undefined;
|
|
5213
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5378
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined; /**
|
|
5379
|
+
* Whether to show the ruler on the graph.
|
|
5380
|
+
*/
|
|
5214
5381
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5215
5382
|
interactionCallback?: ((widgetData: {
|
|
5216
5383
|
[widgetId: string]: any;
|
|
@@ -5242,11 +5409,12 @@ declare const InteractiveGraph: {
|
|
|
5242
5409
|
linear?: boolean | undefined;
|
|
5243
5410
|
quadratic?: boolean | undefined;
|
|
5244
5411
|
sinusoid?: boolean | undefined;
|
|
5245
|
-
"linear-system"?: boolean | undefined;
|
|
5246
|
-
segment?: boolean | undefined;
|
|
5247
5412
|
ray?: boolean | undefined;
|
|
5413
|
+
segment?: boolean | undefined;
|
|
5414
|
+
"linear-system"?: boolean | undefined;
|
|
5248
5415
|
} & {
|
|
5249
5416
|
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5417
|
+
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5250
5418
|
}) | undefined;
|
|
5251
5419
|
} | undefined;
|
|
5252
5420
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5278,7 +5446,7 @@ declare const InteractiveGraph: {
|
|
|
5278
5446
|
isLastUsedWidget: boolean;
|
|
5279
5447
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5280
5448
|
containerSizeClass: SizingUtils.SizeClass;
|
|
5281
|
-
}):
|
|
5449
|
+
}): PerseusGraphType;
|
|
5282
5450
|
contextType?: React.Context<any> | undefined;
|
|
5283
5451
|
};
|
|
5284
5452
|
type InteractiveGraphProps = PropsFor<typeof InteractiveGraph>;
|
|
@@ -5400,6 +5568,7 @@ declare class InteractiveGraphEditor extends React.Component<Props> {
|
|
|
5400
5568
|
};
|
|
5401
5569
|
};
|
|
5402
5570
|
UNSAFE_componentWillMount(): void;
|
|
5571
|
+
static buildGraphKey(correct: PerseusGraphType): string;
|
|
5403
5572
|
render(): JSX.Element;
|
|
5404
5573
|
changeMatchType: (newValue: any) => void;
|
|
5405
5574
|
serialize(): PerseusInteractiveGraphWidgetOptions;
|