@khanacademy/perseus-editor 14.11.2 → 14.12.1
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/article-editor.d.ts +9 -12
- package/dist/editor-page.d.ts +3 -1
- package/dist/es/index.js +65131 -453
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +65137 -450
- package/dist/index.js.map +1 -1
- package/dist/util/deprecated-widgets/input-number.d.ts +8 -0
- package/dist/util/deprecated-widgets/modernize-widgets-utils.d.ts +3 -0
- package/dist/widgets/interactive-graph-editor/interactive-graph-editor.d.ts +28 -207
- package/dist/widgets/interactive-graph-editor/locked-figures/locked-figure-aria.d.ts +5 -1
- package/dist/widgets/interactive-graph-editor/locked-figures/util.d.ts +1 -0
- package/package.json +3 -2
|
@@ -9,9 +9,6 @@ declare const InteractiveGraph: {
|
|
|
9
9
|
problemNum: number | null | undefined;
|
|
10
10
|
apiOptions: Readonly<Readonly<{
|
|
11
11
|
isArticle?: boolean | undefined;
|
|
12
|
-
/**
|
|
13
|
-
* The graph to display in the graph area.
|
|
14
|
-
*/
|
|
15
12
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
16
13
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
17
14
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -118,7 +115,9 @@ declare const InteractiveGraph: {
|
|
|
118
115
|
polygon: any;
|
|
119
116
|
shouldResetGraphie: boolean;
|
|
120
117
|
sinusoid: any;
|
|
121
|
-
trashCan: any;
|
|
118
|
+
trashCan: any; /**
|
|
119
|
+
* The labels for the x and y axes.
|
|
120
|
+
*/
|
|
122
121
|
vertHairline: any;
|
|
123
122
|
state: any;
|
|
124
123
|
componentDidMount(): void;
|
|
@@ -129,9 +128,6 @@ declare const InteractiveGraph: {
|
|
|
129
128
|
problemNum: number | null | undefined;
|
|
130
129
|
apiOptions: Readonly<Readonly<{
|
|
131
130
|
isArticle?: boolean | undefined;
|
|
132
|
-
/**
|
|
133
|
-
* The graph to display in the graph area.
|
|
134
|
-
*/
|
|
135
131
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
136
132
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
137
133
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -226,9 +222,6 @@ declare const InteractiveGraph: {
|
|
|
226
222
|
problemNum: number | null | undefined;
|
|
227
223
|
apiOptions: Readonly<Readonly<{
|
|
228
224
|
isArticle?: boolean | undefined;
|
|
229
|
-
/**
|
|
230
|
-
* The graph to display in the graph area.
|
|
231
|
-
*/
|
|
232
225
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
233
226
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
234
227
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -323,9 +316,6 @@ declare const InteractiveGraph: {
|
|
|
323
316
|
problemNum: number | null | undefined;
|
|
324
317
|
apiOptions: Readonly<Readonly<{
|
|
325
318
|
isArticle?: boolean | undefined;
|
|
326
|
-
/**
|
|
327
|
-
* The graph to display in the graph area.
|
|
328
|
-
*/
|
|
329
319
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
330
320
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
331
321
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -415,7 +405,9 @@ declare const InteractiveGraph: {
|
|
|
415
405
|
}) | null | undefined) => boolean;
|
|
416
406
|
setGraphie: (arg1: any) => void;
|
|
417
407
|
handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
418
|
-
resetGraphie: () => void;
|
|
408
|
+
resetGraphie: () => void; /**
|
|
409
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
410
|
+
*/
|
|
419
411
|
setupGraphie: () => void;
|
|
420
412
|
showHairlines: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
421
413
|
hideHairlines: () => void;
|
|
@@ -427,9 +419,6 @@ declare const InteractiveGraph: {
|
|
|
427
419
|
problemNum: number | null | undefined;
|
|
428
420
|
apiOptions: Readonly<Readonly<{
|
|
429
421
|
isArticle?: boolean | undefined;
|
|
430
|
-
/**
|
|
431
|
-
* The graph to display in the graph area.
|
|
432
|
-
*/
|
|
433
422
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
434
423
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
435
424
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -517,20 +506,21 @@ declare const InteractiveGraph: {
|
|
|
517
506
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
518
507
|
containerSizeClass: import("../../../../perseus/src/util/sizing-utils").SizeClass;
|
|
519
508
|
}) | null | undefined) => boolean;
|
|
520
|
-
/**
|
|
521
|
-
* An error message to display in the graph area, or true if the
|
|
522
|
-
* graph is valid.
|
|
523
|
-
*/
|
|
524
509
|
areAngleGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
525
510
|
arePointGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
526
511
|
arePolygonGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
527
512
|
areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
528
513
|
_lineStroke: () => {
|
|
529
514
|
"stroke-width"?: number | undefined;
|
|
530
|
-
};
|
|
515
|
+
}; /**
|
|
516
|
+
* Whether to show the protractor on the graph.
|
|
517
|
+
*/
|
|
531
518
|
addLine: (arg1: string) => void;
|
|
532
519
|
removeLine: () => void;
|
|
533
|
-
addNoneControls: () => void;
|
|
520
|
+
addNoneControls: () => void; /**
|
|
521
|
+
* Whether to show tooltips on the graph.
|
|
522
|
+
* (Currently not used, but will be in the future.)
|
|
523
|
+
*/
|
|
534
524
|
removeNoneControls: () => void;
|
|
535
525
|
addLinearControls: () => void;
|
|
536
526
|
removeLinearControls: () => void;
|
|
@@ -564,9 +554,6 @@ declare const InteractiveGraph: {
|
|
|
564
554
|
removeAngleControls: () => void;
|
|
565
555
|
toggleShowSides: () => void;
|
|
566
556
|
getUserInput(): PerseusGraphType;
|
|
567
|
-
/**
|
|
568
|
-
* The graph to display in the graph area.
|
|
569
|
-
*/
|
|
570
557
|
focus: () => void;
|
|
571
558
|
render(): React.ReactNode;
|
|
572
559
|
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -578,9 +565,6 @@ declare const InteractiveGraph: {
|
|
|
578
565
|
problemNum: number | null | undefined;
|
|
579
566
|
apiOptions: Readonly<Readonly<{
|
|
580
567
|
isArticle?: boolean | undefined;
|
|
581
|
-
/**
|
|
582
|
-
* The graph to display in the graph area.
|
|
583
|
-
*/
|
|
584
568
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
585
569
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
586
570
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -678,9 +662,6 @@ declare const InteractiveGraph: {
|
|
|
678
662
|
problemNum: number | null | undefined;
|
|
679
663
|
apiOptions: Readonly<Readonly<{
|
|
680
664
|
isArticle?: boolean | undefined;
|
|
681
|
-
/**
|
|
682
|
-
* The graph to display in the graph area.
|
|
683
|
-
*/
|
|
684
665
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
685
666
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
686
667
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -777,9 +758,6 @@ declare const InteractiveGraph: {
|
|
|
777
758
|
problemNum: number | null | undefined;
|
|
778
759
|
apiOptions: Readonly<Readonly<{
|
|
779
760
|
isArticle?: boolean | undefined;
|
|
780
|
-
/**
|
|
781
|
-
* The graph to display in the graph area.
|
|
782
|
-
*/
|
|
783
761
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
784
762
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
785
763
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -876,9 +854,6 @@ declare const InteractiveGraph: {
|
|
|
876
854
|
problemNum: number | null | undefined;
|
|
877
855
|
apiOptions: Readonly<Readonly<{
|
|
878
856
|
isArticle?: boolean | undefined;
|
|
879
|
-
/**
|
|
880
|
-
* The graph to display in the graph area.
|
|
881
|
-
*/
|
|
882
857
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
883
858
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
884
859
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -973,9 +948,6 @@ declare const InteractiveGraph: {
|
|
|
973
948
|
problemNum: number | null | undefined;
|
|
974
949
|
apiOptions: Readonly<Readonly<{
|
|
975
950
|
isArticle?: boolean | undefined;
|
|
976
|
-
/**
|
|
977
|
-
* The graph to display in the graph area.
|
|
978
|
-
*/
|
|
979
951
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
980
952
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
981
953
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1070,9 +1042,6 @@ declare const InteractiveGraph: {
|
|
|
1070
1042
|
problemNum: number | null | undefined;
|
|
1071
1043
|
apiOptions: Readonly<Readonly<{
|
|
1072
1044
|
isArticle?: boolean | undefined;
|
|
1073
|
-
/**
|
|
1074
|
-
* The graph to display in the graph area.
|
|
1075
|
-
*/
|
|
1076
1045
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1077
1046
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1078
1047
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1163,7 +1132,7 @@ declare const InteractiveGraph: {
|
|
|
1163
1132
|
}>;
|
|
1164
1133
|
mafsRef: React.RefObject<import("../../../../perseus/src/widgets/interactive-graphs/stateful-mafs-graph").StatefulMafsGraphType>;
|
|
1165
1134
|
getUserInput(): PerseusGraphType;
|
|
1166
|
-
getPromptJSON(): import("../../../../perseus/src/widget-ai-utils/unsupported-widget").UnsupportedWidgetPromptJSON | import("../../../../perseus/src/widget-ai-utils/interactive-graph/
|
|
1135
|
+
getPromptJSON(): import("../../../../perseus/src/widget-ai-utils/unsupported-widget").UnsupportedWidgetPromptJSON | import("../../../../perseus/src/widget-ai-utils/interactive-graph/interactive-graph-ai-utils").InteractiveGraphPromptJSON;
|
|
1167
1136
|
render(): React.JSX.Element;
|
|
1168
1137
|
context: unknown;
|
|
1169
1138
|
setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -1175,9 +1144,6 @@ declare const InteractiveGraph: {
|
|
|
1175
1144
|
problemNum: number | null | undefined;
|
|
1176
1145
|
apiOptions: Readonly<Readonly<{
|
|
1177
1146
|
isArticle?: boolean | undefined;
|
|
1178
|
-
/**
|
|
1179
|
-
* The graph to display in the graph area.
|
|
1180
|
-
*/
|
|
1181
1147
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1182
1148
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1183
1149
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1277,9 +1243,6 @@ declare const InteractiveGraph: {
|
|
|
1277
1243
|
problemNum: number | null | undefined;
|
|
1278
1244
|
apiOptions: Readonly<Readonly<{
|
|
1279
1245
|
isArticle?: boolean | undefined;
|
|
1280
|
-
/**
|
|
1281
|
-
* The graph to display in the graph area.
|
|
1282
|
-
*/
|
|
1283
1246
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1284
1247
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1285
1248
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1376,9 +1339,6 @@ declare const InteractiveGraph: {
|
|
|
1376
1339
|
problemNum: number | null | undefined;
|
|
1377
1340
|
apiOptions: Readonly<Readonly<{
|
|
1378
1341
|
isArticle?: boolean | undefined;
|
|
1379
|
-
/**
|
|
1380
|
-
* The graph to display in the graph area.
|
|
1381
|
-
*/
|
|
1382
1342
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1383
1343
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1384
1344
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1473,9 +1433,6 @@ declare const InteractiveGraph: {
|
|
|
1473
1433
|
problemNum: number | null | undefined;
|
|
1474
1434
|
apiOptions: Readonly<Readonly<{
|
|
1475
1435
|
isArticle?: boolean | undefined;
|
|
1476
|
-
/**
|
|
1477
|
-
* The graph to display in the graph area.
|
|
1478
|
-
*/
|
|
1479
1436
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1480
1437
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1481
1438
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1572,9 +1529,6 @@ declare const InteractiveGraph: {
|
|
|
1572
1529
|
problemNum: number | null | undefined;
|
|
1573
1530
|
apiOptions: Readonly<Readonly<{
|
|
1574
1531
|
isArticle?: boolean | undefined;
|
|
1575
|
-
/**
|
|
1576
|
-
* The graph to display in the graph area.
|
|
1577
|
-
*/
|
|
1578
1532
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1579
1533
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1580
1534
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1669,9 +1623,6 @@ declare const InteractiveGraph: {
|
|
|
1669
1623
|
problemNum: number | null | undefined;
|
|
1670
1624
|
apiOptions: Readonly<Readonly<{
|
|
1671
1625
|
isArticle?: boolean | undefined;
|
|
1672
|
-
/**
|
|
1673
|
-
* The graph to display in the graph area.
|
|
1674
|
-
*/
|
|
1675
1626
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1676
1627
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1677
1628
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1766,9 +1717,6 @@ declare const InteractiveGraph: {
|
|
|
1766
1717
|
problemNum: number | null | undefined;
|
|
1767
1718
|
apiOptions: Readonly<Readonly<{
|
|
1768
1719
|
isArticle?: boolean | undefined;
|
|
1769
|
-
/**
|
|
1770
|
-
* The graph to display in the graph area.
|
|
1771
|
-
*/
|
|
1772
1720
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1773
1721
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1774
1722
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1863,9 +1811,6 @@ declare const InteractiveGraph: {
|
|
|
1863
1811
|
problemNum: number | null | undefined;
|
|
1864
1812
|
apiOptions: Readonly<Readonly<{
|
|
1865
1813
|
isArticle?: boolean | undefined;
|
|
1866
|
-
/**
|
|
1867
|
-
* The graph to display in the graph area.
|
|
1868
|
-
*/
|
|
1869
1814
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1870
1815
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1871
1816
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -1961,9 +1906,6 @@ declare const InteractiveGraph: {
|
|
|
1961
1906
|
problemNum: number | null | undefined;
|
|
1962
1907
|
apiOptions: Readonly<Readonly<{
|
|
1963
1908
|
isArticle?: boolean | undefined;
|
|
1964
|
-
/**
|
|
1965
|
-
* The graph to display in the graph area.
|
|
1966
|
-
*/
|
|
1967
1909
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1968
1910
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1969
1911
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -2070,7 +2012,9 @@ declare const InteractiveGraph: {
|
|
|
2070
2012
|
polygon: any;
|
|
2071
2013
|
shouldResetGraphie: boolean;
|
|
2072
2014
|
sinusoid: any;
|
|
2073
|
-
trashCan: any;
|
|
2015
|
+
trashCan: any; /**
|
|
2016
|
+
* The labels for the x and y axes.
|
|
2017
|
+
*/
|
|
2074
2018
|
vertHairline: any;
|
|
2075
2019
|
state: any;
|
|
2076
2020
|
componentDidMount(): void;
|
|
@@ -2081,9 +2025,6 @@ declare const InteractiveGraph: {
|
|
|
2081
2025
|
problemNum: number | null | undefined;
|
|
2082
2026
|
apiOptions: Readonly<Readonly<{
|
|
2083
2027
|
isArticle?: boolean | undefined;
|
|
2084
|
-
/**
|
|
2085
|
-
* The graph to display in the graph area.
|
|
2086
|
-
*/
|
|
2087
2028
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2088
2029
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2089
2030
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -2178,9 +2119,6 @@ declare const InteractiveGraph: {
|
|
|
2178
2119
|
problemNum: number | null | undefined;
|
|
2179
2120
|
apiOptions: Readonly<Readonly<{
|
|
2180
2121
|
isArticle?: boolean | undefined;
|
|
2181
|
-
/**
|
|
2182
|
-
* The graph to display in the graph area.
|
|
2183
|
-
*/
|
|
2184
2122
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2185
2123
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2186
2124
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -2275,9 +2213,6 @@ declare const InteractiveGraph: {
|
|
|
2275
2213
|
problemNum: number | null | undefined;
|
|
2276
2214
|
apiOptions: Readonly<Readonly<{
|
|
2277
2215
|
isArticle?: boolean | undefined;
|
|
2278
|
-
/**
|
|
2279
|
-
* The graph to display in the graph area.
|
|
2280
|
-
*/
|
|
2281
2216
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2282
2217
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2283
2218
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -2367,7 +2302,9 @@ declare const InteractiveGraph: {
|
|
|
2367
2302
|
}) | null | undefined) => boolean;
|
|
2368
2303
|
setGraphie: (arg1: any) => void;
|
|
2369
2304
|
handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
2370
|
-
resetGraphie: () => void;
|
|
2305
|
+
resetGraphie: () => void; /**
|
|
2306
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2307
|
+
*/
|
|
2371
2308
|
setupGraphie: () => void;
|
|
2372
2309
|
showHairlines: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
2373
2310
|
hideHairlines: () => void;
|
|
@@ -2379,9 +2316,6 @@ declare const InteractiveGraph: {
|
|
|
2379
2316
|
problemNum: number | null | undefined;
|
|
2380
2317
|
apiOptions: Readonly<Readonly<{
|
|
2381
2318
|
isArticle?: boolean | undefined;
|
|
2382
|
-
/**
|
|
2383
|
-
* The graph to display in the graph area.
|
|
2384
|
-
*/
|
|
2385
2319
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2386
2320
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2387
2321
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -2469,20 +2403,21 @@ declare const InteractiveGraph: {
|
|
|
2469
2403
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2470
2404
|
containerSizeClass: import("../../../../perseus/src/util/sizing-utils").SizeClass;
|
|
2471
2405
|
}) | null | undefined) => boolean;
|
|
2472
|
-
/**
|
|
2473
|
-
* An error message to display in the graph area, or true if the
|
|
2474
|
-
* graph is valid.
|
|
2475
|
-
*/
|
|
2476
2406
|
areAngleGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
2477
2407
|
arePointGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
2478
2408
|
arePolygonGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
2479
2409
|
areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
2480
2410
|
_lineStroke: () => {
|
|
2481
2411
|
"stroke-width"?: number | undefined;
|
|
2482
|
-
};
|
|
2412
|
+
}; /**
|
|
2413
|
+
* Whether to show the protractor on the graph.
|
|
2414
|
+
*/
|
|
2483
2415
|
addLine: (arg1: string) => void;
|
|
2484
2416
|
removeLine: () => void;
|
|
2485
|
-
addNoneControls: () => void;
|
|
2417
|
+
addNoneControls: () => void; /**
|
|
2418
|
+
* Whether to show tooltips on the graph.
|
|
2419
|
+
* (Currently not used, but will be in the future.)
|
|
2420
|
+
*/
|
|
2486
2421
|
removeNoneControls: () => void;
|
|
2487
2422
|
addLinearControls: () => void;
|
|
2488
2423
|
removeLinearControls: () => void;
|
|
@@ -2516,9 +2451,6 @@ declare const InteractiveGraph: {
|
|
|
2516
2451
|
removeAngleControls: () => void;
|
|
2517
2452
|
toggleShowSides: () => void;
|
|
2518
2453
|
getUserInput(): PerseusGraphType;
|
|
2519
|
-
/**
|
|
2520
|
-
* The graph to display in the graph area.
|
|
2521
|
-
*/
|
|
2522
2454
|
focus: () => void;
|
|
2523
2455
|
render(): React.ReactNode;
|
|
2524
2456
|
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -2530,9 +2462,6 @@ declare const InteractiveGraph: {
|
|
|
2530
2462
|
problemNum: number | null | undefined;
|
|
2531
2463
|
apiOptions: Readonly<Readonly<{
|
|
2532
2464
|
isArticle?: boolean | undefined;
|
|
2533
|
-
/**
|
|
2534
|
-
* The graph to display in the graph area.
|
|
2535
|
-
*/
|
|
2536
2465
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2537
2466
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2538
2467
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -2630,9 +2559,6 @@ declare const InteractiveGraph: {
|
|
|
2630
2559
|
problemNum: number | null | undefined;
|
|
2631
2560
|
apiOptions: Readonly<Readonly<{
|
|
2632
2561
|
isArticle?: boolean | undefined;
|
|
2633
|
-
/**
|
|
2634
|
-
* The graph to display in the graph area.
|
|
2635
|
-
*/
|
|
2636
2562
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2637
2563
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2638
2564
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -2729,9 +2655,6 @@ declare const InteractiveGraph: {
|
|
|
2729
2655
|
problemNum: number | null | undefined;
|
|
2730
2656
|
apiOptions: Readonly<Readonly<{
|
|
2731
2657
|
isArticle?: boolean | undefined;
|
|
2732
|
-
/**
|
|
2733
|
-
* The graph to display in the graph area.
|
|
2734
|
-
*/
|
|
2735
2658
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2736
2659
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2737
2660
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -2828,9 +2751,6 @@ declare const InteractiveGraph: {
|
|
|
2828
2751
|
problemNum: number | null | undefined;
|
|
2829
2752
|
apiOptions: Readonly<Readonly<{
|
|
2830
2753
|
isArticle?: boolean | undefined;
|
|
2831
|
-
/**
|
|
2832
|
-
* The graph to display in the graph area.
|
|
2833
|
-
*/
|
|
2834
2754
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2835
2755
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2836
2756
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -2925,9 +2845,6 @@ declare const InteractiveGraph: {
|
|
|
2925
2845
|
problemNum: number | null | undefined;
|
|
2926
2846
|
apiOptions: Readonly<Readonly<{
|
|
2927
2847
|
isArticle?: boolean | undefined;
|
|
2928
|
-
/**
|
|
2929
|
-
* The graph to display in the graph area.
|
|
2930
|
-
*/
|
|
2931
2848
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2932
2849
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2933
2850
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3022,9 +2939,6 @@ declare const InteractiveGraph: {
|
|
|
3022
2939
|
problemNum: number | null | undefined;
|
|
3023
2940
|
apiOptions: Readonly<Readonly<{
|
|
3024
2941
|
isArticle?: boolean | undefined;
|
|
3025
|
-
/**
|
|
3026
|
-
* The graph to display in the graph area.
|
|
3027
|
-
*/
|
|
3028
2942
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3029
2943
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3030
2944
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3115,7 +3029,7 @@ declare const InteractiveGraph: {
|
|
|
3115
3029
|
}>;
|
|
3116
3030
|
mafsRef: React.RefObject<import("../../../../perseus/src/widgets/interactive-graphs/stateful-mafs-graph").StatefulMafsGraphType>;
|
|
3117
3031
|
getUserInput(): PerseusGraphType;
|
|
3118
|
-
getPromptJSON(): import("../../../../perseus/src/widget-ai-utils/unsupported-widget").UnsupportedWidgetPromptJSON | import("../../../../perseus/src/widget-ai-utils/interactive-graph/
|
|
3032
|
+
getPromptJSON(): import("../../../../perseus/src/widget-ai-utils/unsupported-widget").UnsupportedWidgetPromptJSON | import("../../../../perseus/src/widget-ai-utils/interactive-graph/interactive-graph-ai-utils").InteractiveGraphPromptJSON;
|
|
3119
3033
|
render(): React.JSX.Element;
|
|
3120
3034
|
context: unknown;
|
|
3121
3035
|
setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -3127,9 +3041,6 @@ declare const InteractiveGraph: {
|
|
|
3127
3041
|
problemNum: number | null | undefined;
|
|
3128
3042
|
apiOptions: Readonly<Readonly<{
|
|
3129
3043
|
isArticle?: boolean | undefined;
|
|
3130
|
-
/**
|
|
3131
|
-
* The graph to display in the graph area.
|
|
3132
|
-
*/
|
|
3133
3044
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3134
3045
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3135
3046
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3229,9 +3140,6 @@ declare const InteractiveGraph: {
|
|
|
3229
3140
|
problemNum: number | null | undefined;
|
|
3230
3141
|
apiOptions: Readonly<Readonly<{
|
|
3231
3142
|
isArticle?: boolean | undefined;
|
|
3232
|
-
/**
|
|
3233
|
-
* The graph to display in the graph area.
|
|
3234
|
-
*/
|
|
3235
3143
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3236
3144
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3237
3145
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3328,9 +3236,6 @@ declare const InteractiveGraph: {
|
|
|
3328
3236
|
problemNum: number | null | undefined;
|
|
3329
3237
|
apiOptions: Readonly<Readonly<{
|
|
3330
3238
|
isArticle?: boolean | undefined;
|
|
3331
|
-
/**
|
|
3332
|
-
* The graph to display in the graph area.
|
|
3333
|
-
*/
|
|
3334
3239
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3335
3240
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3336
3241
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3425,9 +3330,6 @@ declare const InteractiveGraph: {
|
|
|
3425
3330
|
problemNum: number | null | undefined;
|
|
3426
3331
|
apiOptions: Readonly<Readonly<{
|
|
3427
3332
|
isArticle?: boolean | undefined;
|
|
3428
|
-
/**
|
|
3429
|
-
* The graph to display in the graph area.
|
|
3430
|
-
*/
|
|
3431
3333
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3432
3334
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3433
3335
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3524,9 +3426,6 @@ declare const InteractiveGraph: {
|
|
|
3524
3426
|
problemNum: number | null | undefined;
|
|
3525
3427
|
apiOptions: Readonly<Readonly<{
|
|
3526
3428
|
isArticle?: boolean | undefined;
|
|
3527
|
-
/**
|
|
3528
|
-
* The graph to display in the graph area.
|
|
3529
|
-
*/
|
|
3530
3429
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3531
3430
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3532
3431
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3621,9 +3520,6 @@ declare const InteractiveGraph: {
|
|
|
3621
3520
|
problemNum: number | null | undefined;
|
|
3622
3521
|
apiOptions: Readonly<Readonly<{
|
|
3623
3522
|
isArticle?: boolean | undefined;
|
|
3624
|
-
/**
|
|
3625
|
-
* The graph to display in the graph area.
|
|
3626
|
-
*/
|
|
3627
3523
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3628
3524
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3629
3525
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3718,9 +3614,6 @@ declare const InteractiveGraph: {
|
|
|
3718
3614
|
problemNum: number | null | undefined;
|
|
3719
3615
|
apiOptions: Readonly<Readonly<{
|
|
3720
3616
|
isArticle?: boolean | undefined;
|
|
3721
|
-
/**
|
|
3722
|
-
* The graph to display in the graph area.
|
|
3723
|
-
*/
|
|
3724
3617
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3725
3618
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3726
3619
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3815,9 +3708,6 @@ declare const InteractiveGraph: {
|
|
|
3815
3708
|
problemNum: number | null | undefined;
|
|
3816
3709
|
apiOptions: Readonly<Readonly<{
|
|
3817
3710
|
isArticle?: boolean | undefined;
|
|
3818
|
-
/**
|
|
3819
|
-
* The graph to display in the graph area.
|
|
3820
|
-
*/
|
|
3821
3711
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3822
3712
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3823
3713
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -3923,9 +3813,6 @@ declare const InteractiveGraph: {
|
|
|
3923
3813
|
problemNum: number | null | undefined;
|
|
3924
3814
|
apiOptions: Readonly<Readonly<{
|
|
3925
3815
|
isArticle?: boolean | undefined;
|
|
3926
|
-
/**
|
|
3927
|
-
* The graph to display in the graph area.
|
|
3928
|
-
*/
|
|
3929
3816
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3930
3817
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3931
3818
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4020,9 +3907,6 @@ declare const InteractiveGraph: {
|
|
|
4020
3907
|
problemNum: number | null | undefined;
|
|
4021
3908
|
apiOptions: Readonly<Readonly<{
|
|
4022
3909
|
isArticle?: boolean | undefined;
|
|
4023
|
-
/**
|
|
4024
|
-
* The graph to display in the graph area.
|
|
4025
|
-
*/
|
|
4026
3910
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4027
3911
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4028
3912
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4117,9 +4001,6 @@ declare const InteractiveGraph: {
|
|
|
4117
4001
|
problemNum: number | null | undefined;
|
|
4118
4002
|
apiOptions: Readonly<Readonly<{
|
|
4119
4003
|
isArticle?: boolean | undefined;
|
|
4120
|
-
/**
|
|
4121
|
-
* The graph to display in the graph area.
|
|
4122
|
-
*/
|
|
4123
4004
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4124
4005
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4125
4006
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4214,9 +4095,6 @@ declare const InteractiveGraph: {
|
|
|
4214
4095
|
problemNum: number | null | undefined;
|
|
4215
4096
|
apiOptions: Readonly<Readonly<{
|
|
4216
4097
|
isArticle?: boolean | undefined;
|
|
4217
|
-
/**
|
|
4218
|
-
* The graph to display in the graph area.
|
|
4219
|
-
*/
|
|
4220
4098
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4221
4099
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4222
4100
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4311,9 +4189,6 @@ declare const InteractiveGraph: {
|
|
|
4311
4189
|
problemNum: number | null | undefined;
|
|
4312
4190
|
apiOptions: Readonly<Readonly<{
|
|
4313
4191
|
isArticle?: boolean | undefined;
|
|
4314
|
-
/**
|
|
4315
|
-
* The graph to display in the graph area.
|
|
4316
|
-
*/
|
|
4317
4192
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4318
4193
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4319
4194
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4408,9 +4283,6 @@ declare const InteractiveGraph: {
|
|
|
4408
4283
|
problemNum: number | null | undefined;
|
|
4409
4284
|
apiOptions: Readonly<Readonly<{
|
|
4410
4285
|
isArticle?: boolean | undefined;
|
|
4411
|
-
/**
|
|
4412
|
-
* The graph to display in the graph area.
|
|
4413
|
-
*/
|
|
4414
4286
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4415
4287
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4416
4288
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4506,9 +4378,6 @@ declare const InteractiveGraph: {
|
|
|
4506
4378
|
problemNum: number | null | undefined;
|
|
4507
4379
|
apiOptions: Readonly<Readonly<{
|
|
4508
4380
|
isArticle?: boolean | undefined;
|
|
4509
|
-
/**
|
|
4510
|
-
* The graph to display in the graph area.
|
|
4511
|
-
*/
|
|
4512
4381
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4513
4382
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4514
4383
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4603,9 +4472,6 @@ declare const InteractiveGraph: {
|
|
|
4603
4472
|
problemNum: number | null | undefined;
|
|
4604
4473
|
apiOptions: Readonly<Readonly<{
|
|
4605
4474
|
isArticle?: boolean | undefined;
|
|
4606
|
-
/**
|
|
4607
|
-
* The graph to display in the graph area.
|
|
4608
|
-
*/
|
|
4609
4475
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4610
4476
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4611
4477
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4701,9 +4567,6 @@ declare const InteractiveGraph: {
|
|
|
4701
4567
|
problemNum: number | null | undefined;
|
|
4702
4568
|
apiOptions: Readonly<Readonly<{
|
|
4703
4569
|
isArticle?: boolean | undefined;
|
|
4704
|
-
/**
|
|
4705
|
-
* The graph to display in the graph area.
|
|
4706
|
-
*/
|
|
4707
4570
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4708
4571
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4709
4572
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4798,9 +4661,6 @@ declare const InteractiveGraph: {
|
|
|
4798
4661
|
problemNum: number | null | undefined;
|
|
4799
4662
|
apiOptions: Readonly<Readonly<{
|
|
4800
4663
|
isArticle?: boolean | undefined;
|
|
4801
|
-
/**
|
|
4802
|
-
* The graph to display in the graph area.
|
|
4803
|
-
*/
|
|
4804
4664
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4805
4665
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4806
4666
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4895,9 +4755,6 @@ declare const InteractiveGraph: {
|
|
|
4895
4755
|
problemNum: number | null | undefined;
|
|
4896
4756
|
apiOptions: Readonly<Readonly<{
|
|
4897
4757
|
isArticle?: boolean | undefined;
|
|
4898
|
-
/**
|
|
4899
|
-
* The graph to display in the graph area.
|
|
4900
|
-
*/
|
|
4901
4758
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4902
4759
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4903
4760
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -4992,9 +4849,6 @@ declare const InteractiveGraph: {
|
|
|
4992
4849
|
problemNum: number | null | undefined;
|
|
4993
4850
|
apiOptions: Readonly<Readonly<{
|
|
4994
4851
|
isArticle?: boolean | undefined;
|
|
4995
|
-
/**
|
|
4996
|
-
* The graph to display in the graph area.
|
|
4997
|
-
*/
|
|
4998
4852
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4999
4853
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5000
4854
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5089,9 +4943,6 @@ declare const InteractiveGraph: {
|
|
|
5089
4943
|
problemNum: number | null | undefined;
|
|
5090
4944
|
apiOptions: Readonly<Readonly<{
|
|
5091
4945
|
isArticle?: boolean | undefined;
|
|
5092
|
-
/**
|
|
5093
|
-
* The graph to display in the graph area.
|
|
5094
|
-
*/
|
|
5095
4946
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5096
4947
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5097
4948
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5186,9 +5037,6 @@ declare const InteractiveGraph: {
|
|
|
5186
5037
|
problemNum: number | null | undefined;
|
|
5187
5038
|
apiOptions: Readonly<Readonly<{
|
|
5188
5039
|
isArticle?: boolean | undefined;
|
|
5189
|
-
/**
|
|
5190
|
-
* The graph to display in the graph area.
|
|
5191
|
-
*/
|
|
5192
5040
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5193
5041
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5194
5042
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5283,9 +5131,6 @@ declare const InteractiveGraph: {
|
|
|
5283
5131
|
problemNum: number | null | undefined;
|
|
5284
5132
|
apiOptions: Readonly<Readonly<{
|
|
5285
5133
|
isArticle?: boolean | undefined;
|
|
5286
|
-
/**
|
|
5287
|
-
* The graph to display in the graph area.
|
|
5288
|
-
*/
|
|
5289
5134
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5290
5135
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5291
5136
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5380,9 +5225,6 @@ declare const InteractiveGraph: {
|
|
|
5380
5225
|
problemNum: number | null | undefined;
|
|
5381
5226
|
apiOptions: Readonly<Readonly<{
|
|
5382
5227
|
isArticle?: boolean | undefined;
|
|
5383
|
-
/**
|
|
5384
|
-
* The graph to display in the graph area.
|
|
5385
|
-
*/
|
|
5386
5228
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5387
5229
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5388
5230
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5477,9 +5319,6 @@ declare const InteractiveGraph: {
|
|
|
5477
5319
|
problemNum: number | null | undefined;
|
|
5478
5320
|
apiOptions: Readonly<Readonly<{
|
|
5479
5321
|
isArticle?: boolean | undefined;
|
|
5480
|
-
/**
|
|
5481
|
-
* The graph to display in the graph area.
|
|
5482
|
-
*/
|
|
5483
5322
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5484
5323
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5485
5324
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5574,9 +5413,6 @@ declare const InteractiveGraph: {
|
|
|
5574
5413
|
problemNum: number | null | undefined;
|
|
5575
5414
|
apiOptions: Readonly<Readonly<{
|
|
5576
5415
|
isArticle?: boolean | undefined;
|
|
5577
|
-
/**
|
|
5578
|
-
* The graph to display in the graph area.
|
|
5579
|
-
*/
|
|
5580
5416
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5581
5417
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5582
5418
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5671,9 +5507,6 @@ declare const InteractiveGraph: {
|
|
|
5671
5507
|
problemNum: number | null | undefined;
|
|
5672
5508
|
apiOptions: Readonly<Readonly<{
|
|
5673
5509
|
isArticle?: boolean | undefined;
|
|
5674
|
-
/**
|
|
5675
|
-
* The graph to display in the graph area.
|
|
5676
|
-
*/
|
|
5677
5510
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5678
5511
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5679
5512
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5768,9 +5601,6 @@ declare const InteractiveGraph: {
|
|
|
5768
5601
|
problemNum: number | null | undefined;
|
|
5769
5602
|
apiOptions: Readonly<Readonly<{
|
|
5770
5603
|
isArticle?: boolean | undefined;
|
|
5771
|
-
/**
|
|
5772
|
-
* The graph to display in the graph area.
|
|
5773
|
-
*/
|
|
5774
5604
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5775
5605
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5776
5606
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5865,9 +5695,6 @@ declare const InteractiveGraph: {
|
|
|
5865
5695
|
problemNum: number | null | undefined;
|
|
5866
5696
|
apiOptions: Readonly<Readonly<{
|
|
5867
5697
|
isArticle?: boolean | undefined;
|
|
5868
|
-
/**
|
|
5869
|
-
* The graph to display in the graph area.
|
|
5870
|
-
*/
|
|
5871
5698
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5872
5699
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5873
5700
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -5962,9 +5789,6 @@ declare const InteractiveGraph: {
|
|
|
5962
5789
|
problemNum: number | null | undefined;
|
|
5963
5790
|
apiOptions: Readonly<Readonly<{
|
|
5964
5791
|
isArticle?: boolean | undefined;
|
|
5965
|
-
/**
|
|
5966
|
-
* The graph to display in the graph area.
|
|
5967
|
-
*/
|
|
5968
5792
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5969
5793
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5970
5794
|
showAlignmentOptions?: boolean | undefined;
|
|
@@ -6059,9 +5883,6 @@ declare const InteractiveGraph: {
|
|
|
6059
5883
|
problemNum: number | null | undefined;
|
|
6060
5884
|
apiOptions: Readonly<Readonly<{
|
|
6061
5885
|
isArticle?: boolean | undefined;
|
|
6062
|
-
/**
|
|
6063
|
-
* The graph to display in the graph area.
|
|
6064
|
-
*/
|
|
6065
5886
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
6066
5887
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
6067
5888
|
showAlignmentOptions?: boolean | undefined;
|