@khanacademy/perseus-editor 5.3.0 → 6.0.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/all-editors.d.ts +38 -1
- package/dist/components/color-swatch.d.ts +9 -0
- package/dist/components/locked-figure-settings.d.ts +2 -1
- package/dist/components/locked-line-settings.d.ts +8 -0
- package/dist/es/index.css +1 -1
- package/dist/es/index.js +385 -198
- package/dist/es/index.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +410 -209
- package/dist/index.js.map +1 -1
- package/dist/widgets/input-number-editor.d.ts +6 -0
- package/dist/widgets/interactive-graph-editor.d.ts +208 -70
- package/dist/widgets/numeric-input-editor.d.ts +69 -1
- package/package.json +4 -6
- package/dist/components/color-circle.d.ts +0 -9
- package/dist/strings.js +0 -9
|
@@ -13,7 +13,9 @@ declare const InteractiveGraph: {
|
|
|
13
13
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
14
14
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
15
15
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
16
|
-
showAlignmentOptions?: boolean | undefined;
|
|
16
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
17
|
+
* Whether to show the ruler on the graph.
|
|
18
|
+
*/
|
|
17
19
|
readOnly?: boolean | undefined;
|
|
18
20
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
19
21
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -94,7 +96,9 @@ declare const InteractiveGraph: {
|
|
|
94
96
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
95
97
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
96
98
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
97
|
-
showAlignmentOptions?: boolean | undefined;
|
|
99
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
100
|
+
* Whether to show the ruler on the graph.
|
|
101
|
+
*/
|
|
98
102
|
readOnly?: boolean | undefined;
|
|
99
103
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
100
104
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -167,6 +171,10 @@ declare const InteractiveGraph: {
|
|
|
167
171
|
containerSizeClass: SizingUtils.SizeClass;
|
|
168
172
|
}>): {
|
|
169
173
|
legacyGraphRef: React.RefObject<{
|
|
174
|
+
context: {
|
|
175
|
+
strings: import("../../../perseus/src/strings").PerseusStrings;
|
|
176
|
+
locale: string;
|
|
177
|
+
};
|
|
170
178
|
angle: any;
|
|
171
179
|
circle: any;
|
|
172
180
|
graphie: any;
|
|
@@ -196,7 +204,9 @@ declare const InteractiveGraph: {
|
|
|
196
204
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
197
205
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
198
206
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
199
|
-
showAlignmentOptions?: boolean | undefined;
|
|
207
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
208
|
+
* Whether to show the ruler on the graph.
|
|
209
|
+
*/
|
|
200
210
|
readOnly?: boolean | undefined;
|
|
201
211
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
202
212
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -278,7 +288,9 @@ declare const InteractiveGraph: {
|
|
|
278
288
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
279
289
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
280
290
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
281
|
-
showAlignmentOptions?: boolean | undefined;
|
|
291
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
292
|
+
* Whether to show the ruler on the graph.
|
|
293
|
+
*/
|
|
282
294
|
readOnly?: boolean | undefined;
|
|
283
295
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
284
296
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -360,7 +372,9 @@ declare const InteractiveGraph: {
|
|
|
360
372
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
361
373
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
362
374
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
363
|
-
showAlignmentOptions?: boolean | undefined;
|
|
375
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
376
|
+
* Whether to show the ruler on the graph.
|
|
377
|
+
*/
|
|
364
378
|
readOnly?: boolean | undefined;
|
|
365
379
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
366
380
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -450,7 +464,9 @@ declare const InteractiveGraph: {
|
|
|
450
464
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
451
465
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
452
466
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
453
|
-
showAlignmentOptions?: boolean | undefined;
|
|
467
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
468
|
+
* Whether to show the ruler on the graph.
|
|
469
|
+
*/
|
|
454
470
|
readOnly?: boolean | undefined;
|
|
455
471
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
456
472
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -522,7 +538,7 @@ declare const InteractiveGraph: {
|
|
|
522
538
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
523
539
|
containerSizeClass: SizingUtils.SizeClass;
|
|
524
540
|
}) | null | undefined) => boolean; /**
|
|
525
|
-
*
|
|
541
|
+
* The size of the graph in pixels.
|
|
526
542
|
*/
|
|
527
543
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
528
544
|
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
@@ -533,7 +549,9 @@ declare const InteractiveGraph: {
|
|
|
533
549
|
};
|
|
534
550
|
addLine: (arg1: string) => void;
|
|
535
551
|
removeLine: () => void;
|
|
536
|
-
addLinearControls: () => void;
|
|
552
|
+
addLinearControls: () => void; /**
|
|
553
|
+
* Whether to show the protractor on the graph.
|
|
554
|
+
*/
|
|
537
555
|
removeLinearControls: () => void;
|
|
538
556
|
addQuadraticControls: () => void;
|
|
539
557
|
updateQuadratic: () => void;
|
|
@@ -544,7 +562,9 @@ declare const InteractiveGraph: {
|
|
|
544
562
|
addCircleControls: () => void;
|
|
545
563
|
removeCircleControls: () => void;
|
|
546
564
|
addLinearSystemControls: () => void;
|
|
547
|
-
removeLinearSystemControls: () => void;
|
|
565
|
+
removeLinearSystemControls: () => void; /**
|
|
566
|
+
* The number of ticks to display on the ruler.
|
|
567
|
+
*/
|
|
548
568
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
549
569
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
550
570
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
@@ -568,7 +588,6 @@ declare const InteractiveGraph: {
|
|
|
568
588
|
simpleValidate: (rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric) => import("@khanacademy/perseus").PerseusScore;
|
|
569
589
|
focus: () => void;
|
|
570
590
|
render(): React.ReactNode;
|
|
571
|
-
context: any;
|
|
572
591
|
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
573
592
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
574
593
|
readonly props: Readonly<PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -581,7 +600,9 @@ declare const InteractiveGraph: {
|
|
|
581
600
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
582
601
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
583
602
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
584
|
-
showAlignmentOptions?: boolean | undefined;
|
|
603
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
604
|
+
* Whether to show the ruler on the graph.
|
|
605
|
+
*/
|
|
585
606
|
readOnly?: boolean | undefined;
|
|
586
607
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
587
608
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -668,7 +689,9 @@ declare const InteractiveGraph: {
|
|
|
668
689
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
669
690
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
670
691
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
671
|
-
showAlignmentOptions?: boolean | undefined;
|
|
692
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
693
|
+
* Whether to show the ruler on the graph.
|
|
694
|
+
*/
|
|
672
695
|
readOnly?: boolean | undefined;
|
|
673
696
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
674
697
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -752,7 +775,9 @@ declare const InteractiveGraph: {
|
|
|
752
775
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
753
776
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
754
777
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
755
|
-
showAlignmentOptions?: boolean | undefined;
|
|
778
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
779
|
+
* Whether to show the ruler on the graph.
|
|
780
|
+
*/
|
|
756
781
|
readOnly?: boolean | undefined;
|
|
757
782
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
758
783
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -835,7 +860,9 @@ declare const InteractiveGraph: {
|
|
|
835
860
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
836
861
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
837
862
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
838
|
-
showAlignmentOptions?: boolean | undefined;
|
|
863
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
864
|
+
* Whether to show the ruler on the graph.
|
|
865
|
+
*/
|
|
839
866
|
readOnly?: boolean | undefined;
|
|
840
867
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
841
868
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -917,7 +944,9 @@ declare const InteractiveGraph: {
|
|
|
917
944
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
918
945
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
919
946
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
920
|
-
showAlignmentOptions?: boolean | undefined;
|
|
947
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
948
|
+
* Whether to show the ruler on the graph.
|
|
949
|
+
*/
|
|
921
950
|
readOnly?: boolean | undefined;
|
|
922
951
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
923
952
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -999,7 +1028,9 @@ declare const InteractiveGraph: {
|
|
|
999
1028
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1000
1029
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1001
1030
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1002
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1031
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1032
|
+
* Whether to show the ruler on the graph.
|
|
1033
|
+
*/
|
|
1003
1034
|
readOnly?: boolean | undefined;
|
|
1004
1035
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1005
1036
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1089,7 +1120,9 @@ declare const InteractiveGraph: {
|
|
|
1089
1120
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1090
1121
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1091
1122
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1092
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1123
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1124
|
+
* Whether to show the ruler on the graph.
|
|
1125
|
+
*/
|
|
1093
1126
|
readOnly?: boolean | undefined;
|
|
1094
1127
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1095
1128
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1178,7 +1211,9 @@ declare const InteractiveGraph: {
|
|
|
1178
1211
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1179
1212
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1180
1213
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1181
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1214
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1215
|
+
* Whether to show the ruler on the graph.
|
|
1216
|
+
*/
|
|
1182
1217
|
readOnly?: boolean | undefined;
|
|
1183
1218
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1184
1219
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1262,7 +1297,9 @@ declare const InteractiveGraph: {
|
|
|
1262
1297
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1263
1298
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1264
1299
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1265
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1300
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1301
|
+
* Whether to show the ruler on the graph.
|
|
1302
|
+
*/
|
|
1266
1303
|
readOnly?: boolean | undefined;
|
|
1267
1304
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1268
1305
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1344,7 +1381,9 @@ declare const InteractiveGraph: {
|
|
|
1344
1381
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1345
1382
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1346
1383
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1347
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1384
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1385
|
+
* Whether to show the ruler on the graph.
|
|
1386
|
+
*/
|
|
1348
1387
|
readOnly?: boolean | undefined;
|
|
1349
1388
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1350
1389
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1428,7 +1467,9 @@ declare const InteractiveGraph: {
|
|
|
1428
1467
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1429
1468
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1430
1469
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1431
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1470
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1471
|
+
* Whether to show the ruler on the graph.
|
|
1472
|
+
*/
|
|
1432
1473
|
readOnly?: boolean | undefined;
|
|
1433
1474
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1434
1475
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1510,7 +1551,9 @@ declare const InteractiveGraph: {
|
|
|
1510
1551
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1511
1552
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1512
1553
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1513
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1554
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1555
|
+
* Whether to show the ruler on the graph.
|
|
1556
|
+
*/
|
|
1514
1557
|
readOnly?: boolean | undefined;
|
|
1515
1558
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1516
1559
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1592,7 +1635,9 @@ declare const InteractiveGraph: {
|
|
|
1592
1635
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1593
1636
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1594
1637
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1595
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1638
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1639
|
+
* Whether to show the ruler on the graph.
|
|
1640
|
+
*/
|
|
1596
1641
|
readOnly?: boolean | undefined;
|
|
1597
1642
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1598
1643
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1674,7 +1719,9 @@ declare const InteractiveGraph: {
|
|
|
1674
1719
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1675
1720
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1676
1721
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1677
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1722
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1723
|
+
* Whether to show the ruler on the graph.
|
|
1724
|
+
*/
|
|
1678
1725
|
readOnly?: boolean | undefined;
|
|
1679
1726
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1680
1727
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1757,7 +1804,9 @@ declare const InteractiveGraph: {
|
|
|
1757
1804
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1758
1805
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1759
1806
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1760
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1807
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1808
|
+
* Whether to show the ruler on the graph.
|
|
1809
|
+
*/
|
|
1761
1810
|
readOnly?: boolean | undefined;
|
|
1762
1811
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1763
1812
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1830,6 +1879,10 @@ declare const InteractiveGraph: {
|
|
|
1830
1879
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1831
1880
|
}, context: any): {
|
|
1832
1881
|
legacyGraphRef: React.RefObject<{
|
|
1882
|
+
context: {
|
|
1883
|
+
strings: import("../../../perseus/src/strings").PerseusStrings;
|
|
1884
|
+
locale: string;
|
|
1885
|
+
};
|
|
1833
1886
|
angle: any;
|
|
1834
1887
|
circle: any;
|
|
1835
1888
|
graphie: any;
|
|
@@ -1859,7 +1912,9 @@ declare const InteractiveGraph: {
|
|
|
1859
1912
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1860
1913
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1861
1914
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1862
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1915
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
1916
|
+
* Whether to show the ruler on the graph.
|
|
1917
|
+
*/
|
|
1863
1918
|
readOnly?: boolean | undefined;
|
|
1864
1919
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1865
1920
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -1941,7 +1996,9 @@ declare const InteractiveGraph: {
|
|
|
1941
1996
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1942
1997
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1943
1998
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1944
|
-
showAlignmentOptions?: boolean | undefined;
|
|
1999
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2000
|
+
* Whether to show the ruler on the graph.
|
|
2001
|
+
*/
|
|
1945
2002
|
readOnly?: boolean | undefined;
|
|
1946
2003
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1947
2004
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2023,7 +2080,9 @@ declare const InteractiveGraph: {
|
|
|
2023
2080
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2024
2081
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2025
2082
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2026
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2083
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2084
|
+
* Whether to show the ruler on the graph.
|
|
2085
|
+
*/
|
|
2027
2086
|
readOnly?: boolean | undefined;
|
|
2028
2087
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2029
2088
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2113,7 +2172,9 @@ declare const InteractiveGraph: {
|
|
|
2113
2172
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2114
2173
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2115
2174
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2116
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2175
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2176
|
+
* Whether to show the ruler on the graph.
|
|
2177
|
+
*/
|
|
2117
2178
|
readOnly?: boolean | undefined;
|
|
2118
2179
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2119
2180
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2185,7 +2246,7 @@ declare const InteractiveGraph: {
|
|
|
2185
2246
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2186
2247
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2187
2248
|
}) | null | undefined) => boolean; /**
|
|
2188
|
-
*
|
|
2249
|
+
* The size of the graph in pixels.
|
|
2189
2250
|
*/
|
|
2190
2251
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
2191
2252
|
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
@@ -2196,7 +2257,9 @@ declare const InteractiveGraph: {
|
|
|
2196
2257
|
};
|
|
2197
2258
|
addLine: (arg1: string) => void;
|
|
2198
2259
|
removeLine: () => void;
|
|
2199
|
-
addLinearControls: () => void;
|
|
2260
|
+
addLinearControls: () => void; /**
|
|
2261
|
+
* Whether to show the protractor on the graph.
|
|
2262
|
+
*/
|
|
2200
2263
|
removeLinearControls: () => void;
|
|
2201
2264
|
addQuadraticControls: () => void;
|
|
2202
2265
|
updateQuadratic: () => void;
|
|
@@ -2207,7 +2270,9 @@ declare const InteractiveGraph: {
|
|
|
2207
2270
|
addCircleControls: () => void;
|
|
2208
2271
|
removeCircleControls: () => void;
|
|
2209
2272
|
addLinearSystemControls: () => void;
|
|
2210
|
-
removeLinearSystemControls: () => void;
|
|
2273
|
+
removeLinearSystemControls: () => void; /**
|
|
2274
|
+
* The number of ticks to display on the ruler.
|
|
2275
|
+
*/
|
|
2211
2276
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
2212
2277
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
2213
2278
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
@@ -2231,7 +2296,6 @@ declare const InteractiveGraph: {
|
|
|
2231
2296
|
simpleValidate: (rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric) => import("@khanacademy/perseus").PerseusScore;
|
|
2232
2297
|
focus: () => void;
|
|
2233
2298
|
render(): React.ReactNode;
|
|
2234
|
-
context: any;
|
|
2235
2299
|
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
2236
2300
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
2237
2301
|
readonly props: Readonly<PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2244,7 +2308,9 @@ declare const InteractiveGraph: {
|
|
|
2244
2308
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2245
2309
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2246
2310
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2247
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2311
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2312
|
+
* Whether to show the ruler on the graph.
|
|
2313
|
+
*/
|
|
2248
2314
|
readOnly?: boolean | undefined;
|
|
2249
2315
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2250
2316
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2331,7 +2397,9 @@ declare const InteractiveGraph: {
|
|
|
2331
2397
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2332
2398
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2333
2399
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2334
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2400
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2401
|
+
* Whether to show the ruler on the graph.
|
|
2402
|
+
*/
|
|
2335
2403
|
readOnly?: boolean | undefined;
|
|
2336
2404
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2337
2405
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2415,7 +2483,9 @@ declare const InteractiveGraph: {
|
|
|
2415
2483
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2416
2484
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2417
2485
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2418
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2486
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2487
|
+
* Whether to show the ruler on the graph.
|
|
2488
|
+
*/
|
|
2419
2489
|
readOnly?: boolean | undefined;
|
|
2420
2490
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2421
2491
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2498,7 +2568,9 @@ declare const InteractiveGraph: {
|
|
|
2498
2568
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2499
2569
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2500
2570
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2501
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2571
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2572
|
+
* Whether to show the ruler on the graph.
|
|
2573
|
+
*/
|
|
2502
2574
|
readOnly?: boolean | undefined;
|
|
2503
2575
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2504
2576
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2580,7 +2652,9 @@ declare const InteractiveGraph: {
|
|
|
2580
2652
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2581
2653
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2582
2654
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2583
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2655
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2656
|
+
* Whether to show the ruler on the graph.
|
|
2657
|
+
*/
|
|
2584
2658
|
readOnly?: boolean | undefined;
|
|
2585
2659
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2586
2660
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2662,7 +2736,9 @@ declare const InteractiveGraph: {
|
|
|
2662
2736
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2663
2737
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2664
2738
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2665
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2739
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2740
|
+
* Whether to show the ruler on the graph.
|
|
2741
|
+
*/
|
|
2666
2742
|
readOnly?: boolean | undefined;
|
|
2667
2743
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2668
2744
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2752,7 +2828,9 @@ declare const InteractiveGraph: {
|
|
|
2752
2828
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2753
2829
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2754
2830
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2755
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2831
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2832
|
+
* Whether to show the ruler on the graph.
|
|
2833
|
+
*/
|
|
2756
2834
|
readOnly?: boolean | undefined;
|
|
2757
2835
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2758
2836
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2841,7 +2919,9 @@ declare const InteractiveGraph: {
|
|
|
2841
2919
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2842
2920
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2843
2921
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2844
|
-
showAlignmentOptions?: boolean | undefined;
|
|
2922
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
2923
|
+
* Whether to show the ruler on the graph.
|
|
2924
|
+
*/
|
|
2845
2925
|
readOnly?: boolean | undefined;
|
|
2846
2926
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2847
2927
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -2925,7 +3005,9 @@ declare const InteractiveGraph: {
|
|
|
2925
3005
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2926
3006
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2927
3007
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2928
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3008
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3009
|
+
* Whether to show the ruler on the graph.
|
|
3010
|
+
*/
|
|
2929
3011
|
readOnly?: boolean | undefined;
|
|
2930
3012
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2931
3013
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3007,7 +3089,9 @@ declare const InteractiveGraph: {
|
|
|
3007
3089
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3008
3090
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3009
3091
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3010
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3092
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3093
|
+
* Whether to show the ruler on the graph.
|
|
3094
|
+
*/
|
|
3011
3095
|
readOnly?: boolean | undefined;
|
|
3012
3096
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3013
3097
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3091,7 +3175,9 @@ declare const InteractiveGraph: {
|
|
|
3091
3175
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3092
3176
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3093
3177
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3094
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3178
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3179
|
+
* Whether to show the ruler on the graph.
|
|
3180
|
+
*/
|
|
3095
3181
|
readOnly?: boolean | undefined;
|
|
3096
3182
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3097
3183
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3173,7 +3259,9 @@ declare const InteractiveGraph: {
|
|
|
3173
3259
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3174
3260
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3175
3261
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3176
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3262
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3263
|
+
* Whether to show the ruler on the graph.
|
|
3264
|
+
*/
|
|
3177
3265
|
readOnly?: boolean | undefined;
|
|
3178
3266
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3179
3267
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3255,7 +3343,9 @@ declare const InteractiveGraph: {
|
|
|
3255
3343
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3256
3344
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3257
3345
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3258
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3346
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3347
|
+
* Whether to show the ruler on the graph.
|
|
3348
|
+
*/
|
|
3259
3349
|
readOnly?: boolean | undefined;
|
|
3260
3350
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3261
3351
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3337,7 +3427,9 @@ declare const InteractiveGraph: {
|
|
|
3337
3427
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3338
3428
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3339
3429
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3340
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3430
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3431
|
+
* Whether to show the ruler on the graph.
|
|
3432
|
+
*/
|
|
3341
3433
|
readOnly?: boolean | undefined;
|
|
3342
3434
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3343
3435
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3435,7 +3527,9 @@ declare const InteractiveGraph: {
|
|
|
3435
3527
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3436
3528
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3437
3529
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3438
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3530
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3531
|
+
* Whether to show the ruler on the graph.
|
|
3532
|
+
*/
|
|
3439
3533
|
readOnly?: boolean | undefined;
|
|
3440
3534
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3441
3535
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3517,7 +3611,9 @@ declare const InteractiveGraph: {
|
|
|
3517
3611
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3518
3612
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3519
3613
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3520
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3614
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3615
|
+
* Whether to show the ruler on the graph.
|
|
3616
|
+
*/
|
|
3521
3617
|
readOnly?: boolean | undefined;
|
|
3522
3618
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3523
3619
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3599,7 +3695,9 @@ declare const InteractiveGraph: {
|
|
|
3599
3695
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3600
3696
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3601
3697
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3602
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3698
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3699
|
+
* Whether to show the ruler on the graph.
|
|
3700
|
+
*/
|
|
3603
3701
|
readOnly?: boolean | undefined;
|
|
3604
3702
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3605
3703
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3681,7 +3779,9 @@ declare const InteractiveGraph: {
|
|
|
3681
3779
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3682
3780
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3683
3781
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3684
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3782
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3783
|
+
* Whether to show the ruler on the graph.
|
|
3784
|
+
*/
|
|
3685
3785
|
readOnly?: boolean | undefined;
|
|
3686
3786
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3687
3787
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3763,7 +3863,9 @@ declare const InteractiveGraph: {
|
|
|
3763
3863
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3764
3864
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3765
3865
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3766
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3866
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3867
|
+
* Whether to show the ruler on the graph.
|
|
3868
|
+
*/
|
|
3767
3869
|
readOnly?: boolean | undefined;
|
|
3768
3870
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3769
3871
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3845,7 +3947,9 @@ declare const InteractiveGraph: {
|
|
|
3845
3947
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3846
3948
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3847
3949
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3848
|
-
showAlignmentOptions?: boolean | undefined;
|
|
3950
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
3951
|
+
* Whether to show the ruler on the graph.
|
|
3952
|
+
*/
|
|
3849
3953
|
readOnly?: boolean | undefined;
|
|
3850
3954
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3851
3955
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -3928,7 +4032,9 @@ declare const InteractiveGraph: {
|
|
|
3928
4032
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3929
4033
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3930
4034
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3931
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4035
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4036
|
+
* Whether to show the ruler on the graph.
|
|
4037
|
+
*/
|
|
3932
4038
|
readOnly?: boolean | undefined;
|
|
3933
4039
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3934
4040
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4010,7 +4116,9 @@ declare const InteractiveGraph: {
|
|
|
4010
4116
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4011
4117
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4012
4118
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4013
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4119
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4120
|
+
* Whether to show the ruler on the graph.
|
|
4121
|
+
*/
|
|
4014
4122
|
readOnly?: boolean | undefined;
|
|
4015
4123
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4016
4124
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4092,7 +4200,9 @@ declare const InteractiveGraph: {
|
|
|
4092
4200
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4093
4201
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4094
4202
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4095
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4203
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4204
|
+
* Whether to show the ruler on the graph.
|
|
4205
|
+
*/
|
|
4096
4206
|
readOnly?: boolean | undefined;
|
|
4097
4207
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4098
4208
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4174,7 +4284,9 @@ declare const InteractiveGraph: {
|
|
|
4174
4284
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4175
4285
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4176
4286
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4177
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4287
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4288
|
+
* Whether to show the ruler on the graph.
|
|
4289
|
+
*/
|
|
4178
4290
|
readOnly?: boolean | undefined;
|
|
4179
4291
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4180
4292
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4256,7 +4368,9 @@ declare const InteractiveGraph: {
|
|
|
4256
4368
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4257
4369
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4258
4370
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4259
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4371
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4372
|
+
* Whether to show the ruler on the graph.
|
|
4373
|
+
*/
|
|
4260
4374
|
readOnly?: boolean | undefined;
|
|
4261
4375
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4262
4376
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4338,7 +4452,9 @@ declare const InteractiveGraph: {
|
|
|
4338
4452
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4339
4453
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4340
4454
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4341
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4455
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4456
|
+
* Whether to show the ruler on the graph.
|
|
4457
|
+
*/
|
|
4342
4458
|
readOnly?: boolean | undefined;
|
|
4343
4459
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4344
4460
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4420,7 +4536,9 @@ declare const InteractiveGraph: {
|
|
|
4420
4536
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4421
4537
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4422
4538
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4423
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4539
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4540
|
+
* Whether to show the ruler on the graph.
|
|
4541
|
+
*/
|
|
4424
4542
|
readOnly?: boolean | undefined;
|
|
4425
4543
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4426
4544
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4502,7 +4620,9 @@ declare const InteractiveGraph: {
|
|
|
4502
4620
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4503
4621
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4504
4622
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4505
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4623
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4624
|
+
* Whether to show the ruler on the graph.
|
|
4625
|
+
*/
|
|
4506
4626
|
readOnly?: boolean | undefined;
|
|
4507
4627
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4508
4628
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4584,7 +4704,9 @@ declare const InteractiveGraph: {
|
|
|
4584
4704
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4585
4705
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4586
4706
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4587
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4707
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4708
|
+
* Whether to show the ruler on the graph.
|
|
4709
|
+
*/
|
|
4588
4710
|
readOnly?: boolean | undefined;
|
|
4589
4711
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4590
4712
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4666,7 +4788,9 @@ declare const InteractiveGraph: {
|
|
|
4666
4788
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4667
4789
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4668
4790
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4669
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4791
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4792
|
+
* Whether to show the ruler on the graph.
|
|
4793
|
+
*/
|
|
4670
4794
|
readOnly?: boolean | undefined;
|
|
4671
4795
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4672
4796
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4748,7 +4872,9 @@ declare const InteractiveGraph: {
|
|
|
4748
4872
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4749
4873
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4750
4874
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4751
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4875
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4876
|
+
* Whether to show the ruler on the graph.
|
|
4877
|
+
*/
|
|
4752
4878
|
readOnly?: boolean | undefined;
|
|
4753
4879
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4754
4880
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4830,7 +4956,9 @@ declare const InteractiveGraph: {
|
|
|
4830
4956
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4831
4957
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4832
4958
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4833
|
-
showAlignmentOptions?: boolean | undefined;
|
|
4959
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
4960
|
+
* Whether to show the ruler on the graph.
|
|
4961
|
+
*/
|
|
4834
4962
|
readOnly?: boolean | undefined;
|
|
4835
4963
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4836
4964
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4912,7 +5040,9 @@ declare const InteractiveGraph: {
|
|
|
4912
5040
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4913
5041
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4914
5042
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4915
|
-
showAlignmentOptions?: boolean | undefined;
|
|
5043
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
5044
|
+
* Whether to show the ruler on the graph.
|
|
5045
|
+
*/
|
|
4916
5046
|
readOnly?: boolean | undefined;
|
|
4917
5047
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4918
5048
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -4994,7 +5124,9 @@ declare const InteractiveGraph: {
|
|
|
4994
5124
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4995
5125
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4996
5126
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4997
|
-
showAlignmentOptions?: boolean | undefined;
|
|
5127
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
5128
|
+
* Whether to show the ruler on the graph.
|
|
5129
|
+
*/
|
|
4998
5130
|
readOnly?: boolean | undefined;
|
|
4999
5131
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5000
5132
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -5076,7 +5208,9 @@ declare const InteractiveGraph: {
|
|
|
5076
5208
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
5077
5209
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5078
5210
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5079
|
-
showAlignmentOptions?: boolean | undefined;
|
|
5211
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
5212
|
+
* Whether to show the ruler on the graph.
|
|
5213
|
+
*/
|
|
5080
5214
|
readOnly?: boolean | undefined;
|
|
5081
5215
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5082
5216
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -5158,7 +5292,9 @@ declare const InteractiveGraph: {
|
|
|
5158
5292
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
5159
5293
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5160
5294
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5161
|
-
showAlignmentOptions?: boolean | undefined;
|
|
5295
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
5296
|
+
* Whether to show the ruler on the graph.
|
|
5297
|
+
*/
|
|
5162
5298
|
readOnly?: boolean | undefined;
|
|
5163
5299
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5164
5300
|
getAnotherHint?: (() => unknown) | undefined;
|
|
@@ -5241,7 +5377,9 @@ declare const InteractiveGraph: {
|
|
|
5241
5377
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
5242
5378
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5243
5379
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5244
|
-
showAlignmentOptions?: boolean | undefined;
|
|
5380
|
+
showAlignmentOptions?: boolean | undefined; /**
|
|
5381
|
+
* Whether to show the ruler on the graph.
|
|
5382
|
+
*/
|
|
5245
5383
|
readOnly?: boolean | undefined;
|
|
5246
5384
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5247
5385
|
getAnotherHint?: (() => unknown) | undefined;
|