@khanacademy/perseus-editor 4.2.7 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/interactive-graph-settings.d.ts +2 -0
- package/dist/es/index.js +995 -482
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +999 -481
- package/dist/index.js.map +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +480 -99
- package/package.json +3 -3
|
@@ -10,13 +10,17 @@ declare const InteractiveGraph: {
|
|
|
10
10
|
problemNum: number | null | undefined;
|
|
11
11
|
apiOptions: Readonly<Readonly<{
|
|
12
12
|
isArticle?: boolean | undefined;
|
|
13
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
13
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
14
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
15
|
+
*/
|
|
14
16
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
15
17
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
16
18
|
showAlignmentOptions?: boolean | undefined;
|
|
17
19
|
readOnly?: boolean | undefined;
|
|
18
20
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
19
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
21
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
22
|
+
* The background image to display in the graph area and its properties.
|
|
23
|
+
*/
|
|
20
24
|
interactionCallback?: ((widgetData: {
|
|
21
25
|
[widgetId: string]: any;
|
|
22
26
|
}) => void) | undefined;
|
|
@@ -40,6 +44,9 @@ declare const InteractiveGraph: {
|
|
|
40
44
|
hintProgressColor?: string | undefined;
|
|
41
45
|
canScrollPage?: boolean | undefined;
|
|
42
46
|
inModal?: boolean | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* The number of ticks to display on the ruler.
|
|
49
|
+
*/
|
|
43
50
|
crossOutEnabled?: boolean | undefined;
|
|
44
51
|
editorChangeDelay?: number | undefined;
|
|
45
52
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -80,13 +87,17 @@ declare const InteractiveGraph: {
|
|
|
80
87
|
problemNum: number | null | undefined;
|
|
81
88
|
apiOptions: Readonly<Readonly<{
|
|
82
89
|
isArticle?: boolean | undefined;
|
|
83
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
90
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
91
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
92
|
+
*/
|
|
84
93
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
85
94
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
86
95
|
showAlignmentOptions?: boolean | undefined;
|
|
87
96
|
readOnly?: boolean | undefined;
|
|
88
97
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
89
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
98
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
99
|
+
* The background image to display in the graph area and its properties.
|
|
100
|
+
*/
|
|
90
101
|
interactionCallback?: ((widgetData: {
|
|
91
102
|
[widgetId: string]: any;
|
|
92
103
|
}) => void) | undefined;
|
|
@@ -110,6 +121,9 @@ declare const InteractiveGraph: {
|
|
|
110
121
|
hintProgressColor?: string | undefined;
|
|
111
122
|
canScrollPage?: boolean | undefined;
|
|
112
123
|
inModal?: boolean | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* The number of ticks to display on the ruler.
|
|
126
|
+
*/
|
|
113
127
|
crossOutEnabled?: boolean | undefined;
|
|
114
128
|
editorChangeDelay?: number | undefined;
|
|
115
129
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -170,13 +184,17 @@ declare const InteractiveGraph: {
|
|
|
170
184
|
problemNum: number | null | undefined;
|
|
171
185
|
apiOptions: Readonly<Readonly<{
|
|
172
186
|
isArticle?: boolean | undefined;
|
|
173
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
187
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
188
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
189
|
+
*/
|
|
174
190
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
175
191
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
176
192
|
showAlignmentOptions?: boolean | undefined;
|
|
177
193
|
readOnly?: boolean | undefined;
|
|
178
194
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
179
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
195
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
196
|
+
* The background image to display in the graph area and its properties.
|
|
197
|
+
*/
|
|
180
198
|
interactionCallback?: ((widgetData: {
|
|
181
199
|
[widgetId: string]: any;
|
|
182
200
|
}) => void) | undefined;
|
|
@@ -200,6 +218,9 @@ declare const InteractiveGraph: {
|
|
|
200
218
|
hintProgressColor?: string | undefined;
|
|
201
219
|
canScrollPage?: boolean | undefined;
|
|
202
220
|
inModal?: boolean | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* The number of ticks to display on the ruler.
|
|
223
|
+
*/
|
|
203
224
|
crossOutEnabled?: boolean | undefined;
|
|
204
225
|
editorChangeDelay?: number | undefined;
|
|
205
226
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -241,13 +262,17 @@ declare const InteractiveGraph: {
|
|
|
241
262
|
problemNum: number | null | undefined;
|
|
242
263
|
apiOptions: Readonly<Readonly<{
|
|
243
264
|
isArticle?: boolean | undefined;
|
|
244
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
265
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
266
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
267
|
+
*/
|
|
245
268
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
246
269
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
247
270
|
showAlignmentOptions?: boolean | undefined;
|
|
248
271
|
readOnly?: boolean | undefined;
|
|
249
272
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
250
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
273
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
274
|
+
* The background image to display in the graph area and its properties.
|
|
275
|
+
*/
|
|
251
276
|
interactionCallback?: ((widgetData: {
|
|
252
277
|
[widgetId: string]: any;
|
|
253
278
|
}) => void) | undefined;
|
|
@@ -271,6 +296,9 @@ declare const InteractiveGraph: {
|
|
|
271
296
|
hintProgressColor?: string | undefined;
|
|
272
297
|
canScrollPage?: boolean | undefined;
|
|
273
298
|
inModal?: boolean | undefined;
|
|
299
|
+
/**
|
|
300
|
+
* The number of ticks to display on the ruler.
|
|
301
|
+
*/
|
|
274
302
|
crossOutEnabled?: boolean | undefined;
|
|
275
303
|
editorChangeDelay?: number | undefined;
|
|
276
304
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -312,13 +340,17 @@ declare const InteractiveGraph: {
|
|
|
312
340
|
problemNum: number | null | undefined;
|
|
313
341
|
apiOptions: Readonly<Readonly<{
|
|
314
342
|
isArticle?: boolean | undefined;
|
|
315
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
343
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
344
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
345
|
+
*/
|
|
316
346
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
317
347
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
318
348
|
showAlignmentOptions?: boolean | undefined;
|
|
319
349
|
readOnly?: boolean | undefined;
|
|
320
350
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
321
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
351
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
352
|
+
* The background image to display in the graph area and its properties.
|
|
353
|
+
*/
|
|
322
354
|
interactionCallback?: ((widgetData: {
|
|
323
355
|
[widgetId: string]: any;
|
|
324
356
|
}) => void) | undefined;
|
|
@@ -342,6 +374,9 @@ declare const InteractiveGraph: {
|
|
|
342
374
|
hintProgressColor?: string | undefined;
|
|
343
375
|
canScrollPage?: boolean | undefined;
|
|
344
376
|
inModal?: boolean | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* The number of ticks to display on the ruler.
|
|
379
|
+
*/
|
|
345
380
|
crossOutEnabled?: boolean | undefined;
|
|
346
381
|
editorChangeDelay?: number | undefined;
|
|
347
382
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -391,13 +426,17 @@ declare const InteractiveGraph: {
|
|
|
391
426
|
problemNum: number | null | undefined;
|
|
392
427
|
apiOptions: Readonly<Readonly<{
|
|
393
428
|
isArticle?: boolean | undefined;
|
|
394
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
429
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
430
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
431
|
+
*/
|
|
395
432
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
396
433
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
397
434
|
showAlignmentOptions?: boolean | undefined;
|
|
398
435
|
readOnly?: boolean | undefined;
|
|
399
436
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
400
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
437
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
438
|
+
* The background image to display in the graph area and its properties.
|
|
439
|
+
*/
|
|
401
440
|
interactionCallback?: ((widgetData: {
|
|
402
441
|
[widgetId: string]: any;
|
|
403
442
|
}) => void) | undefined;
|
|
@@ -421,6 +460,9 @@ declare const InteractiveGraph: {
|
|
|
421
460
|
hintProgressColor?: string | undefined;
|
|
422
461
|
canScrollPage?: boolean | undefined;
|
|
423
462
|
inModal?: boolean | undefined;
|
|
463
|
+
/**
|
|
464
|
+
* The number of ticks to display on the ruler.
|
|
465
|
+
*/
|
|
424
466
|
crossOutEnabled?: boolean | undefined;
|
|
425
467
|
editorChangeDelay?: number | undefined;
|
|
426
468
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -509,13 +551,17 @@ declare const InteractiveGraph: {
|
|
|
509
551
|
problemNum: number | null | undefined;
|
|
510
552
|
apiOptions: Readonly<Readonly<{
|
|
511
553
|
isArticle?: boolean | undefined;
|
|
512
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
554
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
555
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
556
|
+
*/
|
|
513
557
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
514
558
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
515
559
|
showAlignmentOptions?: boolean | undefined;
|
|
516
560
|
readOnly?: boolean | undefined;
|
|
517
561
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
518
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
562
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
563
|
+
* The background image to display in the graph area and its properties.
|
|
564
|
+
*/
|
|
519
565
|
interactionCallback?: ((widgetData: {
|
|
520
566
|
[widgetId: string]: any;
|
|
521
567
|
}) => void) | undefined;
|
|
@@ -539,6 +585,9 @@ declare const InteractiveGraph: {
|
|
|
539
585
|
hintProgressColor?: string | undefined;
|
|
540
586
|
canScrollPage?: boolean | undefined;
|
|
541
587
|
inModal?: boolean | undefined;
|
|
588
|
+
/**
|
|
589
|
+
* The number of ticks to display on the ruler.
|
|
590
|
+
*/
|
|
542
591
|
crossOutEnabled?: boolean | undefined;
|
|
543
592
|
editorChangeDelay?: number | undefined;
|
|
544
593
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -585,13 +634,17 @@ declare const InteractiveGraph: {
|
|
|
585
634
|
problemNum: number | null | undefined;
|
|
586
635
|
apiOptions: Readonly<Readonly<{
|
|
587
636
|
isArticle?: boolean | undefined;
|
|
588
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
637
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
638
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
639
|
+
*/
|
|
589
640
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
590
641
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
591
642
|
showAlignmentOptions?: boolean | undefined;
|
|
592
643
|
readOnly?: boolean | undefined;
|
|
593
644
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
594
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
645
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
646
|
+
* The background image to display in the graph area and its properties.
|
|
647
|
+
*/
|
|
595
648
|
interactionCallback?: ((widgetData: {
|
|
596
649
|
[widgetId: string]: any;
|
|
597
650
|
}) => void) | undefined;
|
|
@@ -615,6 +668,9 @@ declare const InteractiveGraph: {
|
|
|
615
668
|
hintProgressColor?: string | undefined;
|
|
616
669
|
canScrollPage?: boolean | undefined;
|
|
617
670
|
inModal?: boolean | undefined;
|
|
671
|
+
/**
|
|
672
|
+
* The number of ticks to display on the ruler.
|
|
673
|
+
*/
|
|
618
674
|
crossOutEnabled?: boolean | undefined;
|
|
619
675
|
editorChangeDelay?: number | undefined;
|
|
620
676
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -658,13 +714,17 @@ declare const InteractiveGraph: {
|
|
|
658
714
|
problemNum: number | null | undefined;
|
|
659
715
|
apiOptions: Readonly<Readonly<{
|
|
660
716
|
isArticle?: boolean | undefined;
|
|
661
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
717
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
718
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
719
|
+
*/
|
|
662
720
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
663
721
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
664
722
|
showAlignmentOptions?: boolean | undefined;
|
|
665
723
|
readOnly?: boolean | undefined;
|
|
666
724
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
667
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
725
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
726
|
+
* The background image to display in the graph area and its properties.
|
|
727
|
+
*/
|
|
668
728
|
interactionCallback?: ((widgetData: {
|
|
669
729
|
[widgetId: string]: any;
|
|
670
730
|
}) => void) | undefined;
|
|
@@ -688,6 +748,9 @@ declare const InteractiveGraph: {
|
|
|
688
748
|
hintProgressColor?: string | undefined;
|
|
689
749
|
canScrollPage?: boolean | undefined;
|
|
690
750
|
inModal?: boolean | undefined;
|
|
751
|
+
/**
|
|
752
|
+
* The number of ticks to display on the ruler.
|
|
753
|
+
*/
|
|
691
754
|
crossOutEnabled?: boolean | undefined;
|
|
692
755
|
editorChangeDelay?: number | undefined;
|
|
693
756
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -730,13 +793,17 @@ declare const InteractiveGraph: {
|
|
|
730
793
|
problemNum: number | null | undefined;
|
|
731
794
|
apiOptions: Readonly<Readonly<{
|
|
732
795
|
isArticle?: boolean | undefined;
|
|
733
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
796
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
797
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
798
|
+
*/
|
|
734
799
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
735
800
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
736
801
|
showAlignmentOptions?: boolean | undefined;
|
|
737
802
|
readOnly?: boolean | undefined;
|
|
738
803
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
739
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
804
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
805
|
+
* The background image to display in the graph area and its properties.
|
|
806
|
+
*/
|
|
740
807
|
interactionCallback?: ((widgetData: {
|
|
741
808
|
[widgetId: string]: any;
|
|
742
809
|
}) => void) | undefined;
|
|
@@ -760,6 +827,9 @@ declare const InteractiveGraph: {
|
|
|
760
827
|
hintProgressColor?: string | undefined;
|
|
761
828
|
canScrollPage?: boolean | undefined;
|
|
762
829
|
inModal?: boolean | undefined;
|
|
830
|
+
/**
|
|
831
|
+
* The number of ticks to display on the ruler.
|
|
832
|
+
*/
|
|
763
833
|
crossOutEnabled?: boolean | undefined;
|
|
764
834
|
editorChangeDelay?: number | undefined;
|
|
765
835
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -801,13 +871,17 @@ declare const InteractiveGraph: {
|
|
|
801
871
|
problemNum: number | null | undefined;
|
|
802
872
|
apiOptions: Readonly<Readonly<{
|
|
803
873
|
isArticle?: boolean | undefined;
|
|
804
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
874
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
875
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
876
|
+
*/
|
|
805
877
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
806
878
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
807
879
|
showAlignmentOptions?: boolean | undefined;
|
|
808
880
|
readOnly?: boolean | undefined;
|
|
809
881
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
810
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
882
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
883
|
+
* The background image to display in the graph area and its properties.
|
|
884
|
+
*/
|
|
811
885
|
interactionCallback?: ((widgetData: {
|
|
812
886
|
[widgetId: string]: any;
|
|
813
887
|
}) => void) | undefined;
|
|
@@ -831,6 +905,9 @@ declare const InteractiveGraph: {
|
|
|
831
905
|
hintProgressColor?: string | undefined;
|
|
832
906
|
canScrollPage?: boolean | undefined;
|
|
833
907
|
inModal?: boolean | undefined;
|
|
908
|
+
/**
|
|
909
|
+
* The number of ticks to display on the ruler.
|
|
910
|
+
*/
|
|
834
911
|
crossOutEnabled?: boolean | undefined;
|
|
835
912
|
editorChangeDelay?: number | undefined;
|
|
836
913
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -872,13 +949,17 @@ declare const InteractiveGraph: {
|
|
|
872
949
|
problemNum: number | null | undefined;
|
|
873
950
|
apiOptions: Readonly<Readonly<{
|
|
874
951
|
isArticle?: boolean | undefined;
|
|
875
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
952
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
953
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
954
|
+
*/
|
|
876
955
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
877
956
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
878
957
|
showAlignmentOptions?: boolean | undefined;
|
|
879
958
|
readOnly?: boolean | undefined;
|
|
880
959
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
881
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
960
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
961
|
+
* The background image to display in the graph area and its properties.
|
|
962
|
+
*/
|
|
882
963
|
interactionCallback?: ((widgetData: {
|
|
883
964
|
[widgetId: string]: any;
|
|
884
965
|
}) => void) | undefined;
|
|
@@ -902,6 +983,9 @@ declare const InteractiveGraph: {
|
|
|
902
983
|
hintProgressColor?: string | undefined;
|
|
903
984
|
canScrollPage?: boolean | undefined;
|
|
904
985
|
inModal?: boolean | undefined;
|
|
986
|
+
/**
|
|
987
|
+
* The number of ticks to display on the ruler.
|
|
988
|
+
*/
|
|
905
989
|
crossOutEnabled?: boolean | undefined;
|
|
906
990
|
editorChangeDelay?: number | undefined;
|
|
907
991
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -944,13 +1028,17 @@ declare const InteractiveGraph: {
|
|
|
944
1028
|
problemNum: number | null | undefined;
|
|
945
1029
|
apiOptions: Readonly<Readonly<{
|
|
946
1030
|
isArticle?: boolean | undefined;
|
|
947
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1031
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1032
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1033
|
+
*/
|
|
948
1034
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
949
1035
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
950
1036
|
showAlignmentOptions?: boolean | undefined;
|
|
951
1037
|
readOnly?: boolean | undefined;
|
|
952
1038
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
953
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1039
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1040
|
+
* The background image to display in the graph area and its properties.
|
|
1041
|
+
*/
|
|
954
1042
|
interactionCallback?: ((widgetData: {
|
|
955
1043
|
[widgetId: string]: any;
|
|
956
1044
|
}) => void) | undefined;
|
|
@@ -974,6 +1062,9 @@ declare const InteractiveGraph: {
|
|
|
974
1062
|
hintProgressColor?: string | undefined;
|
|
975
1063
|
canScrollPage?: boolean | undefined;
|
|
976
1064
|
inModal?: boolean | undefined;
|
|
1065
|
+
/**
|
|
1066
|
+
* The number of ticks to display on the ruler.
|
|
1067
|
+
*/
|
|
977
1068
|
crossOutEnabled?: boolean | undefined;
|
|
978
1069
|
editorChangeDelay?: number | undefined;
|
|
979
1070
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1034,13 +1125,17 @@ declare const InteractiveGraph: {
|
|
|
1034
1125
|
problemNum: number | null | undefined;
|
|
1035
1126
|
apiOptions: Readonly<Readonly<{
|
|
1036
1127
|
isArticle?: boolean | undefined;
|
|
1037
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1128
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1129
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1130
|
+
*/
|
|
1038
1131
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1039
1132
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1040
1133
|
showAlignmentOptions?: boolean | undefined;
|
|
1041
1134
|
readOnly?: boolean | undefined;
|
|
1042
1135
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1043
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1136
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1137
|
+
* The background image to display in the graph area and its properties.
|
|
1138
|
+
*/
|
|
1044
1139
|
interactionCallback?: ((widgetData: {
|
|
1045
1140
|
[widgetId: string]: any;
|
|
1046
1141
|
}) => void) | undefined;
|
|
@@ -1064,6 +1159,9 @@ declare const InteractiveGraph: {
|
|
|
1064
1159
|
hintProgressColor?: string | undefined;
|
|
1065
1160
|
canScrollPage?: boolean | undefined;
|
|
1066
1161
|
inModal?: boolean | undefined;
|
|
1162
|
+
/**
|
|
1163
|
+
* The number of ticks to display on the ruler.
|
|
1164
|
+
*/
|
|
1067
1165
|
crossOutEnabled?: boolean | undefined;
|
|
1068
1166
|
editorChangeDelay?: number | undefined;
|
|
1069
1167
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1105,13 +1203,17 @@ declare const InteractiveGraph: {
|
|
|
1105
1203
|
problemNum: number | null | undefined;
|
|
1106
1204
|
apiOptions: Readonly<Readonly<{
|
|
1107
1205
|
isArticle?: boolean | undefined;
|
|
1108
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1206
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1207
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1208
|
+
*/
|
|
1109
1209
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1110
1210
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1111
1211
|
showAlignmentOptions?: boolean | undefined;
|
|
1112
1212
|
readOnly?: boolean | undefined;
|
|
1113
1213
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1114
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1214
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1215
|
+
* The background image to display in the graph area and its properties.
|
|
1216
|
+
*/
|
|
1115
1217
|
interactionCallback?: ((widgetData: {
|
|
1116
1218
|
[widgetId: string]: any;
|
|
1117
1219
|
}) => void) | undefined;
|
|
@@ -1135,6 +1237,9 @@ declare const InteractiveGraph: {
|
|
|
1135
1237
|
hintProgressColor?: string | undefined;
|
|
1136
1238
|
canScrollPage?: boolean | undefined;
|
|
1137
1239
|
inModal?: boolean | undefined;
|
|
1240
|
+
/**
|
|
1241
|
+
* The number of ticks to display on the ruler.
|
|
1242
|
+
*/
|
|
1138
1243
|
crossOutEnabled?: boolean | undefined;
|
|
1139
1244
|
editorChangeDelay?: number | undefined;
|
|
1140
1245
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1176,13 +1281,17 @@ declare const InteractiveGraph: {
|
|
|
1176
1281
|
problemNum: number | null | undefined;
|
|
1177
1282
|
apiOptions: Readonly<Readonly<{
|
|
1178
1283
|
isArticle?: boolean | undefined;
|
|
1179
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1284
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1285
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1286
|
+
*/
|
|
1180
1287
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1181
1288
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1182
1289
|
showAlignmentOptions?: boolean | undefined;
|
|
1183
1290
|
readOnly?: boolean | undefined;
|
|
1184
1291
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1185
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1292
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1293
|
+
* The background image to display in the graph area and its properties.
|
|
1294
|
+
*/
|
|
1186
1295
|
interactionCallback?: ((widgetData: {
|
|
1187
1296
|
[widgetId: string]: any;
|
|
1188
1297
|
}) => void) | undefined;
|
|
@@ -1206,6 +1315,9 @@ declare const InteractiveGraph: {
|
|
|
1206
1315
|
hintProgressColor?: string | undefined;
|
|
1207
1316
|
canScrollPage?: boolean | undefined;
|
|
1208
1317
|
inModal?: boolean | undefined;
|
|
1318
|
+
/**
|
|
1319
|
+
* The number of ticks to display on the ruler.
|
|
1320
|
+
*/
|
|
1209
1321
|
crossOutEnabled?: boolean | undefined;
|
|
1210
1322
|
editorChangeDelay?: number | undefined;
|
|
1211
1323
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1255,13 +1367,17 @@ declare const InteractiveGraph: {
|
|
|
1255
1367
|
problemNum: number | null | undefined;
|
|
1256
1368
|
apiOptions: Readonly<Readonly<{
|
|
1257
1369
|
isArticle?: boolean | undefined;
|
|
1258
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1370
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1371
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1372
|
+
*/
|
|
1259
1373
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1260
1374
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1261
1375
|
showAlignmentOptions?: boolean | undefined;
|
|
1262
1376
|
readOnly?: boolean | undefined;
|
|
1263
1377
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1264
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1378
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1379
|
+
* The background image to display in the graph area and its properties.
|
|
1380
|
+
*/
|
|
1265
1381
|
interactionCallback?: ((widgetData: {
|
|
1266
1382
|
[widgetId: string]: any;
|
|
1267
1383
|
}) => void) | undefined;
|
|
@@ -1285,6 +1401,9 @@ declare const InteractiveGraph: {
|
|
|
1285
1401
|
hintProgressColor?: string | undefined;
|
|
1286
1402
|
canScrollPage?: boolean | undefined;
|
|
1287
1403
|
inModal?: boolean | undefined;
|
|
1404
|
+
/**
|
|
1405
|
+
* The number of ticks to display on the ruler.
|
|
1406
|
+
*/
|
|
1288
1407
|
crossOutEnabled?: boolean | undefined;
|
|
1289
1408
|
editorChangeDelay?: number | undefined;
|
|
1290
1409
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1373,13 +1492,17 @@ declare const InteractiveGraph: {
|
|
|
1373
1492
|
problemNum: number | null | undefined;
|
|
1374
1493
|
apiOptions: Readonly<Readonly<{
|
|
1375
1494
|
isArticle?: boolean | undefined;
|
|
1376
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1495
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1496
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1497
|
+
*/
|
|
1377
1498
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1378
1499
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1379
1500
|
showAlignmentOptions?: boolean | undefined;
|
|
1380
1501
|
readOnly?: boolean | undefined;
|
|
1381
1502
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1382
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1503
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1504
|
+
* The background image to display in the graph area and its properties.
|
|
1505
|
+
*/
|
|
1383
1506
|
interactionCallback?: ((widgetData: {
|
|
1384
1507
|
[widgetId: string]: any;
|
|
1385
1508
|
}) => void) | undefined;
|
|
@@ -1403,6 +1526,9 @@ declare const InteractiveGraph: {
|
|
|
1403
1526
|
hintProgressColor?: string | undefined;
|
|
1404
1527
|
canScrollPage?: boolean | undefined;
|
|
1405
1528
|
inModal?: boolean | undefined;
|
|
1529
|
+
/**
|
|
1530
|
+
* The number of ticks to display on the ruler.
|
|
1531
|
+
*/
|
|
1406
1532
|
crossOutEnabled?: boolean | undefined;
|
|
1407
1533
|
editorChangeDelay?: number | undefined;
|
|
1408
1534
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1449,13 +1575,17 @@ declare const InteractiveGraph: {
|
|
|
1449
1575
|
problemNum: number | null | undefined;
|
|
1450
1576
|
apiOptions: Readonly<Readonly<{
|
|
1451
1577
|
isArticle?: boolean | undefined;
|
|
1452
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1578
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1579
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1580
|
+
*/
|
|
1453
1581
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1454
1582
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1455
1583
|
showAlignmentOptions?: boolean | undefined;
|
|
1456
1584
|
readOnly?: boolean | undefined;
|
|
1457
1585
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1458
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1586
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1587
|
+
* The background image to display in the graph area and its properties.
|
|
1588
|
+
*/
|
|
1459
1589
|
interactionCallback?: ((widgetData: {
|
|
1460
1590
|
[widgetId: string]: any;
|
|
1461
1591
|
}) => void) | undefined;
|
|
@@ -1479,6 +1609,9 @@ declare const InteractiveGraph: {
|
|
|
1479
1609
|
hintProgressColor?: string | undefined;
|
|
1480
1610
|
canScrollPage?: boolean | undefined;
|
|
1481
1611
|
inModal?: boolean | undefined;
|
|
1612
|
+
/**
|
|
1613
|
+
* The number of ticks to display on the ruler.
|
|
1614
|
+
*/
|
|
1482
1615
|
crossOutEnabled?: boolean | undefined;
|
|
1483
1616
|
editorChangeDelay?: number | undefined;
|
|
1484
1617
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1522,13 +1655,17 @@ declare const InteractiveGraph: {
|
|
|
1522
1655
|
problemNum: number | null | undefined;
|
|
1523
1656
|
apiOptions: Readonly<Readonly<{
|
|
1524
1657
|
isArticle?: boolean | undefined;
|
|
1525
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1658
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1659
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1660
|
+
*/
|
|
1526
1661
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1527
1662
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1528
1663
|
showAlignmentOptions?: boolean | undefined;
|
|
1529
1664
|
readOnly?: boolean | undefined;
|
|
1530
1665
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1531
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1666
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1667
|
+
* The background image to display in the graph area and its properties.
|
|
1668
|
+
*/
|
|
1532
1669
|
interactionCallback?: ((widgetData: {
|
|
1533
1670
|
[widgetId: string]: any;
|
|
1534
1671
|
}) => void) | undefined;
|
|
@@ -1552,6 +1689,9 @@ declare const InteractiveGraph: {
|
|
|
1552
1689
|
hintProgressColor?: string | undefined;
|
|
1553
1690
|
canScrollPage?: boolean | undefined;
|
|
1554
1691
|
inModal?: boolean | undefined;
|
|
1692
|
+
/**
|
|
1693
|
+
* The number of ticks to display on the ruler.
|
|
1694
|
+
*/
|
|
1555
1695
|
crossOutEnabled?: boolean | undefined;
|
|
1556
1696
|
editorChangeDelay?: number | undefined;
|
|
1557
1697
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1594,13 +1734,17 @@ declare const InteractiveGraph: {
|
|
|
1594
1734
|
problemNum: number | null | undefined;
|
|
1595
1735
|
apiOptions: Readonly<Readonly<{
|
|
1596
1736
|
isArticle?: boolean | undefined;
|
|
1597
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1737
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1738
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1739
|
+
*/
|
|
1598
1740
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1599
1741
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1600
1742
|
showAlignmentOptions?: boolean | undefined;
|
|
1601
1743
|
readOnly?: boolean | undefined;
|
|
1602
1744
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1603
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1745
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1746
|
+
* The background image to display in the graph area and its properties.
|
|
1747
|
+
*/
|
|
1604
1748
|
interactionCallback?: ((widgetData: {
|
|
1605
1749
|
[widgetId: string]: any;
|
|
1606
1750
|
}) => void) | undefined;
|
|
@@ -1624,6 +1768,9 @@ declare const InteractiveGraph: {
|
|
|
1624
1768
|
hintProgressColor?: string | undefined;
|
|
1625
1769
|
canScrollPage?: boolean | undefined;
|
|
1626
1770
|
inModal?: boolean | undefined;
|
|
1771
|
+
/**
|
|
1772
|
+
* The number of ticks to display on the ruler.
|
|
1773
|
+
*/
|
|
1627
1774
|
crossOutEnabled?: boolean | undefined;
|
|
1628
1775
|
editorChangeDelay?: number | undefined;
|
|
1629
1776
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1665,13 +1812,17 @@ declare const InteractiveGraph: {
|
|
|
1665
1812
|
problemNum: number | null | undefined;
|
|
1666
1813
|
apiOptions: Readonly<Readonly<{
|
|
1667
1814
|
isArticle?: boolean | undefined;
|
|
1668
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1815
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1816
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1817
|
+
*/
|
|
1669
1818
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1670
1819
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1671
1820
|
showAlignmentOptions?: boolean | undefined;
|
|
1672
1821
|
readOnly?: boolean | undefined;
|
|
1673
1822
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1674
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1823
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1824
|
+
* The background image to display in the graph area and its properties.
|
|
1825
|
+
*/
|
|
1675
1826
|
interactionCallback?: ((widgetData: {
|
|
1676
1827
|
[widgetId: string]: any;
|
|
1677
1828
|
}) => void) | undefined;
|
|
@@ -1695,6 +1846,9 @@ declare const InteractiveGraph: {
|
|
|
1695
1846
|
hintProgressColor?: string | undefined;
|
|
1696
1847
|
canScrollPage?: boolean | undefined;
|
|
1697
1848
|
inModal?: boolean | undefined;
|
|
1849
|
+
/**
|
|
1850
|
+
* The number of ticks to display on the ruler.
|
|
1851
|
+
*/
|
|
1698
1852
|
crossOutEnabled?: boolean | undefined;
|
|
1699
1853
|
editorChangeDelay?: number | undefined;
|
|
1700
1854
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1736,13 +1890,17 @@ declare const InteractiveGraph: {
|
|
|
1736
1890
|
problemNum: number | null | undefined;
|
|
1737
1891
|
apiOptions: Readonly<Readonly<{
|
|
1738
1892
|
isArticle?: boolean | undefined;
|
|
1739
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1893
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1894
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1895
|
+
*/
|
|
1740
1896
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1741
1897
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1742
1898
|
showAlignmentOptions?: boolean | undefined;
|
|
1743
1899
|
readOnly?: boolean | undefined;
|
|
1744
1900
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1745
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1901
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1902
|
+
* The background image to display in the graph area and its properties.
|
|
1903
|
+
*/
|
|
1746
1904
|
interactionCallback?: ((widgetData: {
|
|
1747
1905
|
[widgetId: string]: any;
|
|
1748
1906
|
}) => void) | undefined;
|
|
@@ -1766,6 +1924,9 @@ declare const InteractiveGraph: {
|
|
|
1766
1924
|
hintProgressColor?: string | undefined;
|
|
1767
1925
|
canScrollPage?: boolean | undefined;
|
|
1768
1926
|
inModal?: boolean | undefined;
|
|
1927
|
+
/**
|
|
1928
|
+
* The number of ticks to display on the ruler.
|
|
1929
|
+
*/
|
|
1769
1930
|
crossOutEnabled?: boolean | undefined;
|
|
1770
1931
|
editorChangeDelay?: number | undefined;
|
|
1771
1932
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1823,13 +1984,17 @@ declare const InteractiveGraph: {
|
|
|
1823
1984
|
problemNum: number | null | undefined;
|
|
1824
1985
|
apiOptions: Readonly<Readonly<{
|
|
1825
1986
|
isArticle?: boolean | undefined;
|
|
1826
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1987
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
1988
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
1989
|
+
*/
|
|
1827
1990
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1828
1991
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1829
1992
|
showAlignmentOptions?: boolean | undefined;
|
|
1830
1993
|
readOnly?: boolean | undefined;
|
|
1831
1994
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1832
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
1995
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
1996
|
+
* The background image to display in the graph area and its properties.
|
|
1997
|
+
*/
|
|
1833
1998
|
interactionCallback?: ((widgetData: {
|
|
1834
1999
|
[widgetId: string]: any;
|
|
1835
2000
|
}) => void) | undefined;
|
|
@@ -1853,6 +2018,9 @@ declare const InteractiveGraph: {
|
|
|
1853
2018
|
hintProgressColor?: string | undefined;
|
|
1854
2019
|
canScrollPage?: boolean | undefined;
|
|
1855
2020
|
inModal?: boolean | undefined;
|
|
2021
|
+
/**
|
|
2022
|
+
* The number of ticks to display on the ruler.
|
|
2023
|
+
*/
|
|
1856
2024
|
crossOutEnabled?: boolean | undefined;
|
|
1857
2025
|
editorChangeDelay?: number | undefined;
|
|
1858
2026
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1894,13 +2062,17 @@ declare const InteractiveGraph: {
|
|
|
1894
2062
|
problemNum: number | null | undefined;
|
|
1895
2063
|
apiOptions: Readonly<Readonly<{
|
|
1896
2064
|
isArticle?: boolean | undefined;
|
|
1897
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2065
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2066
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2067
|
+
*/
|
|
1898
2068
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1899
2069
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1900
2070
|
showAlignmentOptions?: boolean | undefined;
|
|
1901
2071
|
readOnly?: boolean | undefined;
|
|
1902
2072
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1903
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2073
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2074
|
+
* The background image to display in the graph area and its properties.
|
|
2075
|
+
*/
|
|
1904
2076
|
interactionCallback?: ((widgetData: {
|
|
1905
2077
|
[widgetId: string]: any;
|
|
1906
2078
|
}) => void) | undefined;
|
|
@@ -1924,6 +2096,9 @@ declare const InteractiveGraph: {
|
|
|
1924
2096
|
hintProgressColor?: string | undefined;
|
|
1925
2097
|
canScrollPage?: boolean | undefined;
|
|
1926
2098
|
inModal?: boolean | undefined;
|
|
2099
|
+
/**
|
|
2100
|
+
* The number of ticks to display on the ruler.
|
|
2101
|
+
*/
|
|
1927
2102
|
crossOutEnabled?: boolean | undefined;
|
|
1928
2103
|
editorChangeDelay?: number | undefined;
|
|
1929
2104
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -1965,13 +2140,17 @@ declare const InteractiveGraph: {
|
|
|
1965
2140
|
problemNum: number | null | undefined;
|
|
1966
2141
|
apiOptions: Readonly<Readonly<{
|
|
1967
2142
|
isArticle?: boolean | undefined;
|
|
1968
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2143
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2144
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2145
|
+
*/
|
|
1969
2146
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1970
2147
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1971
2148
|
showAlignmentOptions?: boolean | undefined;
|
|
1972
2149
|
readOnly?: boolean | undefined;
|
|
1973
2150
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1974
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2151
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2152
|
+
* The background image to display in the graph area and its properties.
|
|
2153
|
+
*/
|
|
1975
2154
|
interactionCallback?: ((widgetData: {
|
|
1976
2155
|
[widgetId: string]: any;
|
|
1977
2156
|
}) => void) | undefined;
|
|
@@ -1995,6 +2174,9 @@ declare const InteractiveGraph: {
|
|
|
1995
2174
|
hintProgressColor?: string | undefined;
|
|
1996
2175
|
canScrollPage?: boolean | undefined;
|
|
1997
2176
|
inModal?: boolean | undefined;
|
|
2177
|
+
/**
|
|
2178
|
+
* The number of ticks to display on the ruler.
|
|
2179
|
+
*/
|
|
1998
2180
|
crossOutEnabled?: boolean | undefined;
|
|
1999
2181
|
editorChangeDelay?: number | undefined;
|
|
2000
2182
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2036,13 +2218,17 @@ declare const InteractiveGraph: {
|
|
|
2036
2218
|
problemNum: number | null | undefined;
|
|
2037
2219
|
apiOptions: Readonly<Readonly<{
|
|
2038
2220
|
isArticle?: boolean | undefined;
|
|
2039
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2221
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2222
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2223
|
+
*/
|
|
2040
2224
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2041
2225
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2042
2226
|
showAlignmentOptions?: boolean | undefined;
|
|
2043
2227
|
readOnly?: boolean | undefined;
|
|
2044
2228
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2045
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2229
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2230
|
+
* The background image to display in the graph area and its properties.
|
|
2231
|
+
*/
|
|
2046
2232
|
interactionCallback?: ((widgetData: {
|
|
2047
2233
|
[widgetId: string]: any;
|
|
2048
2234
|
}) => void) | undefined;
|
|
@@ -2066,6 +2252,9 @@ declare const InteractiveGraph: {
|
|
|
2066
2252
|
hintProgressColor?: string | undefined;
|
|
2067
2253
|
canScrollPage?: boolean | undefined;
|
|
2068
2254
|
inModal?: boolean | undefined;
|
|
2255
|
+
/**
|
|
2256
|
+
* The number of ticks to display on the ruler.
|
|
2257
|
+
*/
|
|
2069
2258
|
crossOutEnabled?: boolean | undefined;
|
|
2070
2259
|
editorChangeDelay?: number | undefined;
|
|
2071
2260
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2107,13 +2296,17 @@ declare const InteractiveGraph: {
|
|
|
2107
2296
|
problemNum: number | null | undefined;
|
|
2108
2297
|
apiOptions: Readonly<Readonly<{
|
|
2109
2298
|
isArticle?: boolean | undefined;
|
|
2110
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2299
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2300
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2301
|
+
*/
|
|
2111
2302
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2112
2303
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2113
2304
|
showAlignmentOptions?: boolean | undefined;
|
|
2114
2305
|
readOnly?: boolean | undefined;
|
|
2115
2306
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2116
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2307
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2308
|
+
* The background image to display in the graph area and its properties.
|
|
2309
|
+
*/
|
|
2117
2310
|
interactionCallback?: ((widgetData: {
|
|
2118
2311
|
[widgetId: string]: any;
|
|
2119
2312
|
}) => void) | undefined;
|
|
@@ -2137,6 +2330,9 @@ declare const InteractiveGraph: {
|
|
|
2137
2330
|
hintProgressColor?: string | undefined;
|
|
2138
2331
|
canScrollPage?: boolean | undefined;
|
|
2139
2332
|
inModal?: boolean | undefined;
|
|
2333
|
+
/**
|
|
2334
|
+
* The number of ticks to display on the ruler.
|
|
2335
|
+
*/
|
|
2140
2336
|
crossOutEnabled?: boolean | undefined;
|
|
2141
2337
|
editorChangeDelay?: number | undefined;
|
|
2142
2338
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2178,13 +2374,17 @@ declare const InteractiveGraph: {
|
|
|
2178
2374
|
problemNum: number | null | undefined;
|
|
2179
2375
|
apiOptions: Readonly<Readonly<{
|
|
2180
2376
|
isArticle?: boolean | undefined;
|
|
2181
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2377
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2378
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2379
|
+
*/
|
|
2182
2380
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2183
2381
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2184
2382
|
showAlignmentOptions?: boolean | undefined;
|
|
2185
2383
|
readOnly?: boolean | undefined;
|
|
2186
2384
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2187
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2385
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2386
|
+
* The background image to display in the graph area and its properties.
|
|
2387
|
+
*/
|
|
2188
2388
|
interactionCallback?: ((widgetData: {
|
|
2189
2389
|
[widgetId: string]: any;
|
|
2190
2390
|
}) => void) | undefined;
|
|
@@ -2208,6 +2408,9 @@ declare const InteractiveGraph: {
|
|
|
2208
2408
|
hintProgressColor?: string | undefined;
|
|
2209
2409
|
canScrollPage?: boolean | undefined;
|
|
2210
2410
|
inModal?: boolean | undefined;
|
|
2411
|
+
/**
|
|
2412
|
+
* The number of ticks to display on the ruler.
|
|
2413
|
+
*/
|
|
2211
2414
|
crossOutEnabled?: boolean | undefined;
|
|
2212
2415
|
editorChangeDelay?: number | undefined;
|
|
2213
2416
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2250,13 +2453,17 @@ declare const InteractiveGraph: {
|
|
|
2250
2453
|
problemNum: number | null | undefined;
|
|
2251
2454
|
apiOptions: Readonly<Readonly<{
|
|
2252
2455
|
isArticle?: boolean | undefined;
|
|
2253
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2456
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2457
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2458
|
+
*/
|
|
2254
2459
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2255
2460
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2256
2461
|
showAlignmentOptions?: boolean | undefined;
|
|
2257
2462
|
readOnly?: boolean | undefined;
|
|
2258
2463
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2259
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2464
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2465
|
+
* The background image to display in the graph area and its properties.
|
|
2466
|
+
*/
|
|
2260
2467
|
interactionCallback?: ((widgetData: {
|
|
2261
2468
|
[widgetId: string]: any;
|
|
2262
2469
|
}) => void) | undefined;
|
|
@@ -2280,6 +2487,9 @@ declare const InteractiveGraph: {
|
|
|
2280
2487
|
hintProgressColor?: string | undefined;
|
|
2281
2488
|
canScrollPage?: boolean | undefined;
|
|
2282
2489
|
inModal?: boolean | undefined;
|
|
2490
|
+
/**
|
|
2491
|
+
* The number of ticks to display on the ruler.
|
|
2492
|
+
*/
|
|
2283
2493
|
crossOutEnabled?: boolean | undefined;
|
|
2284
2494
|
editorChangeDelay?: number | undefined;
|
|
2285
2495
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2321,13 +2531,17 @@ declare const InteractiveGraph: {
|
|
|
2321
2531
|
problemNum: number | null | undefined;
|
|
2322
2532
|
apiOptions: Readonly<Readonly<{
|
|
2323
2533
|
isArticle?: boolean | undefined;
|
|
2324
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2534
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2535
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2536
|
+
*/
|
|
2325
2537
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2326
2538
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2327
2539
|
showAlignmentOptions?: boolean | undefined;
|
|
2328
2540
|
readOnly?: boolean | undefined;
|
|
2329
2541
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2330
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2542
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2543
|
+
* The background image to display in the graph area and its properties.
|
|
2544
|
+
*/
|
|
2331
2545
|
interactionCallback?: ((widgetData: {
|
|
2332
2546
|
[widgetId: string]: any;
|
|
2333
2547
|
}) => void) | undefined;
|
|
@@ -2351,6 +2565,9 @@ declare const InteractiveGraph: {
|
|
|
2351
2565
|
hintProgressColor?: string | undefined;
|
|
2352
2566
|
canScrollPage?: boolean | undefined;
|
|
2353
2567
|
inModal?: boolean | undefined;
|
|
2568
|
+
/**
|
|
2569
|
+
* The number of ticks to display on the ruler.
|
|
2570
|
+
*/
|
|
2354
2571
|
crossOutEnabled?: boolean | undefined;
|
|
2355
2572
|
editorChangeDelay?: number | undefined;
|
|
2356
2573
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2392,13 +2609,17 @@ declare const InteractiveGraph: {
|
|
|
2392
2609
|
problemNum: number | null | undefined;
|
|
2393
2610
|
apiOptions: Readonly<Readonly<{
|
|
2394
2611
|
isArticle?: boolean | undefined;
|
|
2395
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2612
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2613
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2614
|
+
*/
|
|
2396
2615
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2397
2616
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2398
2617
|
showAlignmentOptions?: boolean | undefined;
|
|
2399
2618
|
readOnly?: boolean | undefined;
|
|
2400
2619
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2401
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2620
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2621
|
+
* The background image to display in the graph area and its properties.
|
|
2622
|
+
*/
|
|
2402
2623
|
interactionCallback?: ((widgetData: {
|
|
2403
2624
|
[widgetId: string]: any;
|
|
2404
2625
|
}) => void) | undefined;
|
|
@@ -2422,6 +2643,9 @@ declare const InteractiveGraph: {
|
|
|
2422
2643
|
hintProgressColor?: string | undefined;
|
|
2423
2644
|
canScrollPage?: boolean | undefined;
|
|
2424
2645
|
inModal?: boolean | undefined;
|
|
2646
|
+
/**
|
|
2647
|
+
* The number of ticks to display on the ruler.
|
|
2648
|
+
*/
|
|
2425
2649
|
crossOutEnabled?: boolean | undefined;
|
|
2426
2650
|
editorChangeDelay?: number | undefined;
|
|
2427
2651
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2463,13 +2687,17 @@ declare const InteractiveGraph: {
|
|
|
2463
2687
|
problemNum: number | null | undefined;
|
|
2464
2688
|
apiOptions: Readonly<Readonly<{
|
|
2465
2689
|
isArticle?: boolean | undefined;
|
|
2466
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2690
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2691
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2692
|
+
*/
|
|
2467
2693
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2468
2694
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2469
2695
|
showAlignmentOptions?: boolean | undefined;
|
|
2470
2696
|
readOnly?: boolean | undefined;
|
|
2471
2697
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2472
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2698
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2699
|
+
* The background image to display in the graph area and its properties.
|
|
2700
|
+
*/
|
|
2473
2701
|
interactionCallback?: ((widgetData: {
|
|
2474
2702
|
[widgetId: string]: any;
|
|
2475
2703
|
}) => void) | undefined;
|
|
@@ -2493,6 +2721,9 @@ declare const InteractiveGraph: {
|
|
|
2493
2721
|
hintProgressColor?: string | undefined;
|
|
2494
2722
|
canScrollPage?: boolean | undefined;
|
|
2495
2723
|
inModal?: boolean | undefined;
|
|
2724
|
+
/**
|
|
2725
|
+
* The number of ticks to display on the ruler.
|
|
2726
|
+
*/
|
|
2496
2727
|
crossOutEnabled?: boolean | undefined;
|
|
2497
2728
|
editorChangeDelay?: number | undefined;
|
|
2498
2729
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2534,13 +2765,17 @@ declare const InteractiveGraph: {
|
|
|
2534
2765
|
problemNum: number | null | undefined;
|
|
2535
2766
|
apiOptions: Readonly<Readonly<{
|
|
2536
2767
|
isArticle?: boolean | undefined;
|
|
2537
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2768
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2769
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2770
|
+
*/
|
|
2538
2771
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2539
2772
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2540
2773
|
showAlignmentOptions?: boolean | undefined;
|
|
2541
2774
|
readOnly?: boolean | undefined;
|
|
2542
2775
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2543
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2776
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2777
|
+
* The background image to display in the graph area and its properties.
|
|
2778
|
+
*/
|
|
2544
2779
|
interactionCallback?: ((widgetData: {
|
|
2545
2780
|
[widgetId: string]: any;
|
|
2546
2781
|
}) => void) | undefined;
|
|
@@ -2564,6 +2799,9 @@ declare const InteractiveGraph: {
|
|
|
2564
2799
|
hintProgressColor?: string | undefined;
|
|
2565
2800
|
canScrollPage?: boolean | undefined;
|
|
2566
2801
|
inModal?: boolean | undefined;
|
|
2802
|
+
/**
|
|
2803
|
+
* The number of ticks to display on the ruler.
|
|
2804
|
+
*/
|
|
2567
2805
|
crossOutEnabled?: boolean | undefined;
|
|
2568
2806
|
editorChangeDelay?: number | undefined;
|
|
2569
2807
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2605,13 +2843,17 @@ declare const InteractiveGraph: {
|
|
|
2605
2843
|
problemNum: number | null | undefined;
|
|
2606
2844
|
apiOptions: Readonly<Readonly<{
|
|
2607
2845
|
isArticle?: boolean | undefined;
|
|
2608
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2846
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2847
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2848
|
+
*/
|
|
2609
2849
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2610
2850
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2611
2851
|
showAlignmentOptions?: boolean | undefined;
|
|
2612
2852
|
readOnly?: boolean | undefined;
|
|
2613
2853
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2614
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2854
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2855
|
+
* The background image to display in the graph area and its properties.
|
|
2856
|
+
*/
|
|
2615
2857
|
interactionCallback?: ((widgetData: {
|
|
2616
2858
|
[widgetId: string]: any;
|
|
2617
2859
|
}) => void) | undefined;
|
|
@@ -2635,6 +2877,9 @@ declare const InteractiveGraph: {
|
|
|
2635
2877
|
hintProgressColor?: string | undefined;
|
|
2636
2878
|
canScrollPage?: boolean | undefined;
|
|
2637
2879
|
inModal?: boolean | undefined;
|
|
2880
|
+
/**
|
|
2881
|
+
* The number of ticks to display on the ruler.
|
|
2882
|
+
*/
|
|
2638
2883
|
crossOutEnabled?: boolean | undefined;
|
|
2639
2884
|
editorChangeDelay?: number | undefined;
|
|
2640
2885
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2676,13 +2921,17 @@ declare const InteractiveGraph: {
|
|
|
2676
2921
|
problemNum: number | null | undefined;
|
|
2677
2922
|
apiOptions: Readonly<Readonly<{
|
|
2678
2923
|
isArticle?: boolean | undefined;
|
|
2679
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2924
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
2925
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
2926
|
+
*/
|
|
2680
2927
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2681
2928
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2682
2929
|
showAlignmentOptions?: boolean | undefined;
|
|
2683
2930
|
readOnly?: boolean | undefined;
|
|
2684
2931
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2685
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
2932
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
2933
|
+
* The background image to display in the graph area and its properties.
|
|
2934
|
+
*/
|
|
2686
2935
|
interactionCallback?: ((widgetData: {
|
|
2687
2936
|
[widgetId: string]: any;
|
|
2688
2937
|
}) => void) | undefined;
|
|
@@ -2706,6 +2955,9 @@ declare const InteractiveGraph: {
|
|
|
2706
2955
|
hintProgressColor?: string | undefined;
|
|
2707
2956
|
canScrollPage?: boolean | undefined;
|
|
2708
2957
|
inModal?: boolean | undefined;
|
|
2958
|
+
/**
|
|
2959
|
+
* The number of ticks to display on the ruler.
|
|
2960
|
+
*/
|
|
2709
2961
|
crossOutEnabled?: boolean | undefined;
|
|
2710
2962
|
editorChangeDelay?: number | undefined;
|
|
2711
2963
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2747,13 +2999,17 @@ declare const InteractiveGraph: {
|
|
|
2747
2999
|
problemNum: number | null | undefined;
|
|
2748
3000
|
apiOptions: Readonly<Readonly<{
|
|
2749
3001
|
isArticle?: boolean | undefined;
|
|
2750
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3002
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3003
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3004
|
+
*/
|
|
2751
3005
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2752
3006
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2753
3007
|
showAlignmentOptions?: boolean | undefined;
|
|
2754
3008
|
readOnly?: boolean | undefined;
|
|
2755
3009
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2756
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3010
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3011
|
+
* The background image to display in the graph area and its properties.
|
|
3012
|
+
*/
|
|
2757
3013
|
interactionCallback?: ((widgetData: {
|
|
2758
3014
|
[widgetId: string]: any;
|
|
2759
3015
|
}) => void) | undefined;
|
|
@@ -2777,6 +3033,9 @@ declare const InteractiveGraph: {
|
|
|
2777
3033
|
hintProgressColor?: string | undefined;
|
|
2778
3034
|
canScrollPage?: boolean | undefined;
|
|
2779
3035
|
inModal?: boolean | undefined;
|
|
3036
|
+
/**
|
|
3037
|
+
* The number of ticks to display on the ruler.
|
|
3038
|
+
*/
|
|
2780
3039
|
crossOutEnabled?: boolean | undefined;
|
|
2781
3040
|
editorChangeDelay?: number | undefined;
|
|
2782
3041
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2818,13 +3077,17 @@ declare const InteractiveGraph: {
|
|
|
2818
3077
|
problemNum: number | null | undefined;
|
|
2819
3078
|
apiOptions: Readonly<Readonly<{
|
|
2820
3079
|
isArticle?: boolean | undefined;
|
|
2821
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3080
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3081
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3082
|
+
*/
|
|
2822
3083
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2823
3084
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2824
3085
|
showAlignmentOptions?: boolean | undefined;
|
|
2825
3086
|
readOnly?: boolean | undefined;
|
|
2826
3087
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2827
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3088
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3089
|
+
* The background image to display in the graph area and its properties.
|
|
3090
|
+
*/
|
|
2828
3091
|
interactionCallback?: ((widgetData: {
|
|
2829
3092
|
[widgetId: string]: any;
|
|
2830
3093
|
}) => void) | undefined;
|
|
@@ -2848,6 +3111,9 @@ declare const InteractiveGraph: {
|
|
|
2848
3111
|
hintProgressColor?: string | undefined;
|
|
2849
3112
|
canScrollPage?: boolean | undefined;
|
|
2850
3113
|
inModal?: boolean | undefined;
|
|
3114
|
+
/**
|
|
3115
|
+
* The number of ticks to display on the ruler.
|
|
3116
|
+
*/
|
|
2851
3117
|
crossOutEnabled?: boolean | undefined;
|
|
2852
3118
|
editorChangeDelay?: number | undefined;
|
|
2853
3119
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2889,13 +3155,17 @@ declare const InteractiveGraph: {
|
|
|
2889
3155
|
problemNum: number | null | undefined;
|
|
2890
3156
|
apiOptions: Readonly<Readonly<{
|
|
2891
3157
|
isArticle?: boolean | undefined;
|
|
2892
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3158
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3159
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3160
|
+
*/
|
|
2893
3161
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2894
3162
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2895
3163
|
showAlignmentOptions?: boolean | undefined;
|
|
2896
3164
|
readOnly?: boolean | undefined;
|
|
2897
3165
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2898
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3166
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3167
|
+
* The background image to display in the graph area and its properties.
|
|
3168
|
+
*/
|
|
2899
3169
|
interactionCallback?: ((widgetData: {
|
|
2900
3170
|
[widgetId: string]: any;
|
|
2901
3171
|
}) => void) | undefined;
|
|
@@ -2919,6 +3189,9 @@ declare const InteractiveGraph: {
|
|
|
2919
3189
|
hintProgressColor?: string | undefined;
|
|
2920
3190
|
canScrollPage?: boolean | undefined;
|
|
2921
3191
|
inModal?: boolean | undefined;
|
|
3192
|
+
/**
|
|
3193
|
+
* The number of ticks to display on the ruler.
|
|
3194
|
+
*/
|
|
2922
3195
|
crossOutEnabled?: boolean | undefined;
|
|
2923
3196
|
editorChangeDelay?: number | undefined;
|
|
2924
3197
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -2960,13 +3233,17 @@ declare const InteractiveGraph: {
|
|
|
2960
3233
|
problemNum: number | null | undefined;
|
|
2961
3234
|
apiOptions: Readonly<Readonly<{
|
|
2962
3235
|
isArticle?: boolean | undefined;
|
|
2963
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3236
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3237
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3238
|
+
*/
|
|
2964
3239
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2965
3240
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2966
3241
|
showAlignmentOptions?: boolean | undefined;
|
|
2967
3242
|
readOnly?: boolean | undefined;
|
|
2968
3243
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2969
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3244
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3245
|
+
* The background image to display in the graph area and its properties.
|
|
3246
|
+
*/
|
|
2970
3247
|
interactionCallback?: ((widgetData: {
|
|
2971
3248
|
[widgetId: string]: any;
|
|
2972
3249
|
}) => void) | undefined;
|
|
@@ -2990,6 +3267,9 @@ declare const InteractiveGraph: {
|
|
|
2990
3267
|
hintProgressColor?: string | undefined;
|
|
2991
3268
|
canScrollPage?: boolean | undefined;
|
|
2992
3269
|
inModal?: boolean | undefined;
|
|
3270
|
+
/**
|
|
3271
|
+
* The number of ticks to display on the ruler.
|
|
3272
|
+
*/
|
|
2993
3273
|
crossOutEnabled?: boolean | undefined;
|
|
2994
3274
|
editorChangeDelay?: number | undefined;
|
|
2995
3275
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -3031,13 +3311,17 @@ declare const InteractiveGraph: {
|
|
|
3031
3311
|
problemNum: number | null | undefined;
|
|
3032
3312
|
apiOptions: Readonly<Readonly<{
|
|
3033
3313
|
isArticle?: boolean | undefined;
|
|
3034
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3314
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3315
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3316
|
+
*/
|
|
3035
3317
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3036
3318
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3037
3319
|
showAlignmentOptions?: boolean | undefined;
|
|
3038
3320
|
readOnly?: boolean | undefined;
|
|
3039
3321
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3040
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3322
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3323
|
+
* The background image to display in the graph area and its properties.
|
|
3324
|
+
*/
|
|
3041
3325
|
interactionCallback?: ((widgetData: {
|
|
3042
3326
|
[widgetId: string]: any;
|
|
3043
3327
|
}) => void) | undefined;
|
|
@@ -3061,6 +3345,9 @@ declare const InteractiveGraph: {
|
|
|
3061
3345
|
hintProgressColor?: string | undefined;
|
|
3062
3346
|
canScrollPage?: boolean | undefined;
|
|
3063
3347
|
inModal?: boolean | undefined;
|
|
3348
|
+
/**
|
|
3349
|
+
* The number of ticks to display on the ruler.
|
|
3350
|
+
*/
|
|
3064
3351
|
crossOutEnabled?: boolean | undefined;
|
|
3065
3352
|
editorChangeDelay?: number | undefined;
|
|
3066
3353
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -3102,13 +3389,17 @@ declare const InteractiveGraph: {
|
|
|
3102
3389
|
problemNum: number | null | undefined;
|
|
3103
3390
|
apiOptions: Readonly<Readonly<{
|
|
3104
3391
|
isArticle?: boolean | undefined;
|
|
3105
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3392
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3393
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3394
|
+
*/
|
|
3106
3395
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3107
3396
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3108
3397
|
showAlignmentOptions?: boolean | undefined;
|
|
3109
3398
|
readOnly?: boolean | undefined;
|
|
3110
3399
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3111
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3400
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3401
|
+
* The background image to display in the graph area and its properties.
|
|
3402
|
+
*/
|
|
3112
3403
|
interactionCallback?: ((widgetData: {
|
|
3113
3404
|
[widgetId: string]: any;
|
|
3114
3405
|
}) => void) | undefined;
|
|
@@ -3132,6 +3423,9 @@ declare const InteractiveGraph: {
|
|
|
3132
3423
|
hintProgressColor?: string | undefined;
|
|
3133
3424
|
canScrollPage?: boolean | undefined;
|
|
3134
3425
|
inModal?: boolean | undefined;
|
|
3426
|
+
/**
|
|
3427
|
+
* The number of ticks to display on the ruler.
|
|
3428
|
+
*/
|
|
3135
3429
|
crossOutEnabled?: boolean | undefined;
|
|
3136
3430
|
editorChangeDelay?: number | undefined;
|
|
3137
3431
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -3173,13 +3467,17 @@ declare const InteractiveGraph: {
|
|
|
3173
3467
|
problemNum: number | null | undefined;
|
|
3174
3468
|
apiOptions: Readonly<Readonly<{
|
|
3175
3469
|
isArticle?: boolean | undefined;
|
|
3176
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3470
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3471
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3472
|
+
*/
|
|
3177
3473
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3178
3474
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3179
3475
|
showAlignmentOptions?: boolean | undefined;
|
|
3180
3476
|
readOnly?: boolean | undefined;
|
|
3181
3477
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3182
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3478
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3479
|
+
* The background image to display in the graph area and its properties.
|
|
3480
|
+
*/
|
|
3183
3481
|
interactionCallback?: ((widgetData: {
|
|
3184
3482
|
[widgetId: string]: any;
|
|
3185
3483
|
}) => void) | undefined;
|
|
@@ -3203,6 +3501,9 @@ declare const InteractiveGraph: {
|
|
|
3203
3501
|
hintProgressColor?: string | undefined;
|
|
3204
3502
|
canScrollPage?: boolean | undefined;
|
|
3205
3503
|
inModal?: boolean | undefined;
|
|
3504
|
+
/**
|
|
3505
|
+
* The number of ticks to display on the ruler.
|
|
3506
|
+
*/
|
|
3206
3507
|
crossOutEnabled?: boolean | undefined;
|
|
3207
3508
|
editorChangeDelay?: number | undefined;
|
|
3208
3509
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -3244,13 +3545,17 @@ declare const InteractiveGraph: {
|
|
|
3244
3545
|
problemNum: number | null | undefined;
|
|
3245
3546
|
apiOptions: Readonly<Readonly<{
|
|
3246
3547
|
isArticle?: boolean | undefined;
|
|
3247
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3548
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3549
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3550
|
+
*/
|
|
3248
3551
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3249
3552
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3250
3553
|
showAlignmentOptions?: boolean | undefined;
|
|
3251
3554
|
readOnly?: boolean | undefined;
|
|
3252
3555
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3253
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3556
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3557
|
+
* The background image to display in the graph area and its properties.
|
|
3558
|
+
*/
|
|
3254
3559
|
interactionCallback?: ((widgetData: {
|
|
3255
3560
|
[widgetId: string]: any;
|
|
3256
3561
|
}) => void) | undefined;
|
|
@@ -3274,6 +3579,9 @@ declare const InteractiveGraph: {
|
|
|
3274
3579
|
hintProgressColor?: string | undefined;
|
|
3275
3580
|
canScrollPage?: boolean | undefined;
|
|
3276
3581
|
inModal?: boolean | undefined;
|
|
3582
|
+
/**
|
|
3583
|
+
* The number of ticks to display on the ruler.
|
|
3584
|
+
*/
|
|
3277
3585
|
crossOutEnabled?: boolean | undefined;
|
|
3278
3586
|
editorChangeDelay?: number | undefined;
|
|
3279
3587
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -3315,13 +3623,17 @@ declare const InteractiveGraph: {
|
|
|
3315
3623
|
problemNum: number | null | undefined;
|
|
3316
3624
|
apiOptions: Readonly<Readonly<{
|
|
3317
3625
|
isArticle?: boolean | undefined;
|
|
3318
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3626
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3627
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3628
|
+
*/
|
|
3319
3629
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3320
3630
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3321
3631
|
showAlignmentOptions?: boolean | undefined;
|
|
3322
3632
|
readOnly?: boolean | undefined;
|
|
3323
3633
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3324
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3634
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3635
|
+
* The background image to display in the graph area and its properties.
|
|
3636
|
+
*/
|
|
3325
3637
|
interactionCallback?: ((widgetData: {
|
|
3326
3638
|
[widgetId: string]: any;
|
|
3327
3639
|
}) => void) | undefined;
|
|
@@ -3345,6 +3657,9 @@ declare const InteractiveGraph: {
|
|
|
3345
3657
|
hintProgressColor?: string | undefined;
|
|
3346
3658
|
canScrollPage?: boolean | undefined;
|
|
3347
3659
|
inModal?: boolean | undefined;
|
|
3660
|
+
/**
|
|
3661
|
+
* The number of ticks to display on the ruler.
|
|
3662
|
+
*/
|
|
3348
3663
|
crossOutEnabled?: boolean | undefined;
|
|
3349
3664
|
editorChangeDelay?: number | undefined;
|
|
3350
3665
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -3387,13 +3702,17 @@ declare const InteractiveGraph: {
|
|
|
3387
3702
|
problemNum: number | null | undefined;
|
|
3388
3703
|
apiOptions: Readonly<Readonly<{
|
|
3389
3704
|
isArticle?: boolean | undefined;
|
|
3390
|
-
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3705
|
+
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined; /**
|
|
3706
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3707
|
+
*/
|
|
3391
3708
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3392
3709
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3393
3710
|
showAlignmentOptions?: boolean | undefined;
|
|
3394
3711
|
readOnly?: boolean | undefined;
|
|
3395
3712
|
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3396
|
-
getAnotherHint?: (() => unknown) | undefined;
|
|
3713
|
+
getAnotherHint?: (() => unknown) | undefined; /**
|
|
3714
|
+
* The background image to display in the graph area and its properties.
|
|
3715
|
+
*/
|
|
3397
3716
|
interactionCallback?: ((widgetData: {
|
|
3398
3717
|
[widgetId: string]: any;
|
|
3399
3718
|
}) => void) | undefined;
|
|
@@ -3417,6 +3736,9 @@ declare const InteractiveGraph: {
|
|
|
3417
3736
|
hintProgressColor?: string | undefined;
|
|
3418
3737
|
canScrollPage?: boolean | undefined;
|
|
3419
3738
|
inModal?: boolean | undefined;
|
|
3739
|
+
/**
|
|
3740
|
+
* The number of ticks to display on the ruler.
|
|
3741
|
+
*/
|
|
3420
3742
|
crossOutEnabled?: boolean | undefined;
|
|
3421
3743
|
editorChangeDelay?: number | undefined;
|
|
3422
3744
|
onWidgetStartProps?: ((widgets: import("../../../perseus/src/types").PerseusWidgetMap) => import("../../../perseus/src/types").PerseusWidgetMap) | undefined;
|
|
@@ -3454,24 +3776,77 @@ declare const InteractiveGraph: {
|
|
|
3454
3776
|
contextType?: React.Context<any> | undefined;
|
|
3455
3777
|
};
|
|
3456
3778
|
type InteractiveGraphProps = PropsFor<typeof InteractiveGraph>;
|
|
3457
|
-
type Range = [number, number];
|
|
3779
|
+
type Range = [min: number, max: number];
|
|
3458
3780
|
type Props = {
|
|
3459
3781
|
apiOptions: APIOptionsWithDefaults;
|
|
3782
|
+
/**
|
|
3783
|
+
* The labels for the x and y axes.
|
|
3784
|
+
*/
|
|
3460
3785
|
labels: ReadonlyArray<string>;
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3786
|
+
/**
|
|
3787
|
+
* The range of the graph in the x and y directions.
|
|
3788
|
+
*/
|
|
3789
|
+
range: [x: Range, y: Range];
|
|
3790
|
+
/**
|
|
3791
|
+
* How far apart the tick marks on the axes are in the x and y
|
|
3792
|
+
* directions.
|
|
3793
|
+
*/
|
|
3794
|
+
step: [x: number, y: number];
|
|
3795
|
+
/**
|
|
3796
|
+
* How far apart the grid lines are in the x and y directions.
|
|
3797
|
+
*/
|
|
3798
|
+
gridStep: [x: number, y: number];
|
|
3799
|
+
/**
|
|
3800
|
+
* How far apart the snap-to points are in the x and y directions.
|
|
3801
|
+
*/
|
|
3802
|
+
snapStep: [x: number, y: number];
|
|
3803
|
+
/**
|
|
3804
|
+
* The size of the graph in pixels.
|
|
3805
|
+
*/
|
|
3806
|
+
box: [x: number, y: number];
|
|
3807
|
+
/**
|
|
3808
|
+
* An error message to display in the graph area, or true if the
|
|
3809
|
+
* graph is valid.
|
|
3810
|
+
*/
|
|
3811
|
+
valid: string | boolean;
|
|
3812
|
+
/**
|
|
3813
|
+
* The background image to display in the graph area and its properties.
|
|
3814
|
+
*/
|
|
3467
3815
|
backgroundImage: PerseusImageBackground;
|
|
3816
|
+
/**
|
|
3817
|
+
* The type of markings to display on the graph.
|
|
3818
|
+
* - graph: shows the axes and the grid lines
|
|
3819
|
+
* - grid: shows only the grid lines
|
|
3820
|
+
* - none: shows no markings
|
|
3821
|
+
*/
|
|
3468
3822
|
markings: string;
|
|
3823
|
+
/**
|
|
3824
|
+
* Whether to show the protractor on the graph.
|
|
3825
|
+
*/
|
|
3469
3826
|
showProtractor: boolean;
|
|
3827
|
+
/**
|
|
3828
|
+
* Whether to show the ruler on the graph.
|
|
3829
|
+
*/
|
|
3470
3830
|
showRuler: boolean;
|
|
3831
|
+
/**
|
|
3832
|
+
* Whether to show tooltips on the graph.
|
|
3833
|
+
*/
|
|
3471
3834
|
showTooltips: boolean;
|
|
3835
|
+
/**
|
|
3836
|
+
* The label to display on the ruler, if any.
|
|
3837
|
+
*/
|
|
3472
3838
|
rulerLabel: string;
|
|
3839
|
+
/**
|
|
3840
|
+
* The number of ticks to display on the ruler.
|
|
3841
|
+
*/
|
|
3473
3842
|
rulerTicks: number;
|
|
3843
|
+
/**
|
|
3844
|
+
* The data for checking if an answer is correct.
|
|
3845
|
+
*/
|
|
3474
3846
|
correct: any;
|
|
3847
|
+
/**
|
|
3848
|
+
* The graph to display in the graph area.
|
|
3849
|
+
*/
|
|
3475
3850
|
graph: InteractiveGraphProps["graph"];
|
|
3476
3851
|
onChange: (props: Partial<Props>) => void;
|
|
3477
3852
|
};
|
|
@@ -3489,6 +3864,12 @@ type DefaultProps = {
|
|
|
3489
3864
|
rulerTicks: Props["rulerTicks"];
|
|
3490
3865
|
correct: Props["correct"];
|
|
3491
3866
|
};
|
|
3867
|
+
/**
|
|
3868
|
+
* An editor for the InteractiveGraph widget, which allows the user to
|
|
3869
|
+
* specify the graph's properties and the correct answer.
|
|
3870
|
+
*
|
|
3871
|
+
* Used in the exercise editor.
|
|
3872
|
+
*/
|
|
3492
3873
|
declare class InteractiveGraphEditor extends React.Component<Props> {
|
|
3493
3874
|
displayName: string;
|
|
3494
3875
|
className: string;
|