@khanacademy/perseus-editor 5.2.5 → 5.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +320 -634
- package/package.json +2 -2
|
@@ -9,7 +9,10 @@ declare const InteractiveGraph: {
|
|
|
9
9
|
static: boolean | null | undefined;
|
|
10
10
|
problemNum: number | null | undefined;
|
|
11
11
|
apiOptions: Readonly<Readonly<{
|
|
12
|
-
isArticle?: boolean | undefined;
|
|
12
|
+
isArticle?: boolean | undefined; /**
|
|
13
|
+
* An error message to display in the graph area, or true if the
|
|
14
|
+
* graph is valid.
|
|
15
|
+
*/
|
|
13
16
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
14
17
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
15
18
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -21,15 +24,7 @@ declare const InteractiveGraph: {
|
|
|
21
24
|
[widgetId: string]: any;
|
|
22
25
|
}) => void) | undefined;
|
|
23
26
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
24
|
-
imagePlaceholder?: React.ReactNode;
|
|
25
|
-
* The current correct answer for the graph. Updated by this component
|
|
26
|
-
* when the graph is changed.
|
|
27
|
-
*
|
|
28
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
29
|
-
* element. Instead, it is a representation of the correct answer based
|
|
30
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
31
|
-
* editor page.
|
|
32
|
-
*/
|
|
27
|
+
imagePlaceholder?: React.ReactNode;
|
|
33
28
|
widgetPlaceholder?: React.ReactNode;
|
|
34
29
|
baseElements?: {
|
|
35
30
|
Link: React.ComponentType<any>;
|
|
@@ -88,7 +83,10 @@ declare const InteractiveGraph: {
|
|
|
88
83
|
static: boolean | null | undefined;
|
|
89
84
|
problemNum: number | null | undefined;
|
|
90
85
|
apiOptions: Readonly<Readonly<{
|
|
91
|
-
isArticle?: boolean | undefined;
|
|
86
|
+
isArticle?: boolean | undefined; /**
|
|
87
|
+
* An error message to display in the graph area, or true if the
|
|
88
|
+
* graph is valid.
|
|
89
|
+
*/
|
|
92
90
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
93
91
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
94
92
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -100,15 +98,7 @@ declare const InteractiveGraph: {
|
|
|
100
98
|
[widgetId: string]: any;
|
|
101
99
|
}) => void) | undefined;
|
|
102
100
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
103
|
-
imagePlaceholder?: React.ReactNode;
|
|
104
|
-
* The current correct answer for the graph. Updated by this component
|
|
105
|
-
* when the graph is changed.
|
|
106
|
-
*
|
|
107
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
108
|
-
* element. Instead, it is a representation of the correct answer based
|
|
109
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
110
|
-
* editor page.
|
|
111
|
-
*/
|
|
101
|
+
imagePlaceholder?: React.ReactNode;
|
|
112
102
|
widgetPlaceholder?: React.ReactNode;
|
|
113
103
|
baseElements?: {
|
|
114
104
|
Link: React.ComponentType<any>;
|
|
@@ -188,7 +178,10 @@ declare const InteractiveGraph: {
|
|
|
188
178
|
static: boolean | null | undefined;
|
|
189
179
|
problemNum: number | null | undefined;
|
|
190
180
|
apiOptions: Readonly<Readonly<{
|
|
191
|
-
isArticle?: boolean | undefined;
|
|
181
|
+
isArticle?: boolean | undefined; /**
|
|
182
|
+
* An error message to display in the graph area, or true if the
|
|
183
|
+
* graph is valid.
|
|
184
|
+
*/
|
|
192
185
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
193
186
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
194
187
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -200,15 +193,7 @@ declare const InteractiveGraph: {
|
|
|
200
193
|
[widgetId: string]: any;
|
|
201
194
|
}) => void) | undefined;
|
|
202
195
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
203
|
-
imagePlaceholder?: React.ReactNode;
|
|
204
|
-
* The current correct answer for the graph. Updated by this component
|
|
205
|
-
* when the graph is changed.
|
|
206
|
-
*
|
|
207
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
208
|
-
* element. Instead, it is a representation of the correct answer based
|
|
209
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
210
|
-
* editor page.
|
|
211
|
-
*/
|
|
196
|
+
imagePlaceholder?: React.ReactNode;
|
|
212
197
|
widgetPlaceholder?: React.ReactNode;
|
|
213
198
|
baseElements?: {
|
|
214
199
|
Link: React.ComponentType<any>;
|
|
@@ -268,7 +253,10 @@ declare const InteractiveGraph: {
|
|
|
268
253
|
static: boolean | null | undefined;
|
|
269
254
|
problemNum: number | null | undefined;
|
|
270
255
|
apiOptions: Readonly<Readonly<{
|
|
271
|
-
isArticle?: boolean | undefined;
|
|
256
|
+
isArticle?: boolean | undefined; /**
|
|
257
|
+
* An error message to display in the graph area, or true if the
|
|
258
|
+
* graph is valid.
|
|
259
|
+
*/
|
|
272
260
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
273
261
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
274
262
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -280,15 +268,7 @@ declare const InteractiveGraph: {
|
|
|
280
268
|
[widgetId: string]: any;
|
|
281
269
|
}) => void) | undefined;
|
|
282
270
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
283
|
-
imagePlaceholder?: React.ReactNode;
|
|
284
|
-
* The current correct answer for the graph. Updated by this component
|
|
285
|
-
* when the graph is changed.
|
|
286
|
-
*
|
|
287
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
288
|
-
* element. Instead, it is a representation of the correct answer based
|
|
289
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
290
|
-
* editor page.
|
|
291
|
-
*/
|
|
271
|
+
imagePlaceholder?: React.ReactNode;
|
|
292
272
|
widgetPlaceholder?: React.ReactNode;
|
|
293
273
|
baseElements?: {
|
|
294
274
|
Link: React.ComponentType<any>;
|
|
@@ -348,7 +328,10 @@ declare const InteractiveGraph: {
|
|
|
348
328
|
static: boolean | null | undefined;
|
|
349
329
|
problemNum: number | null | undefined;
|
|
350
330
|
apiOptions: Readonly<Readonly<{
|
|
351
|
-
isArticle?: boolean | undefined;
|
|
331
|
+
isArticle?: boolean | undefined; /**
|
|
332
|
+
* An error message to display in the graph area, or true if the
|
|
333
|
+
* graph is valid.
|
|
334
|
+
*/
|
|
352
335
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
353
336
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
354
337
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -360,15 +343,7 @@ declare const InteractiveGraph: {
|
|
|
360
343
|
[widgetId: string]: any;
|
|
361
344
|
}) => void) | undefined;
|
|
362
345
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
363
|
-
imagePlaceholder?: React.ReactNode;
|
|
364
|
-
* The current correct answer for the graph. Updated by this component
|
|
365
|
-
* when the graph is changed.
|
|
366
|
-
*
|
|
367
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
368
|
-
* element. Instead, it is a representation of the correct answer based
|
|
369
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
370
|
-
* editor page.
|
|
371
|
-
*/
|
|
346
|
+
imagePlaceholder?: React.ReactNode;
|
|
372
347
|
widgetPlaceholder?: React.ReactNode;
|
|
373
348
|
baseElements?: {
|
|
374
349
|
Link: React.ComponentType<any>;
|
|
@@ -427,9 +402,6 @@ declare const InteractiveGraph: {
|
|
|
427
402
|
handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
428
403
|
resetGraphie: () => void;
|
|
429
404
|
setupGraphie: () => void;
|
|
430
|
-
/**
|
|
431
|
-
* The range of the graph in the x and y directions.
|
|
432
|
-
*/
|
|
433
405
|
showHairlines: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
434
406
|
hideHairlines: () => void;
|
|
435
407
|
setTrashCanVisibility: (arg1: number) => void;
|
|
@@ -439,7 +411,10 @@ declare const InteractiveGraph: {
|
|
|
439
411
|
static: boolean | null | undefined;
|
|
440
412
|
problemNum: number | null | undefined;
|
|
441
413
|
apiOptions: Readonly<Readonly<{
|
|
442
|
-
isArticle?: boolean | undefined;
|
|
414
|
+
isArticle?: boolean | undefined; /**
|
|
415
|
+
* An error message to display in the graph area, or true if the
|
|
416
|
+
* graph is valid.
|
|
417
|
+
*/
|
|
443
418
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
444
419
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
445
420
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -451,15 +426,7 @@ declare const InteractiveGraph: {
|
|
|
451
426
|
[widgetId: string]: any;
|
|
452
427
|
}) => void) | undefined;
|
|
453
428
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
454
|
-
imagePlaceholder?: React.ReactNode;
|
|
455
|
-
* The current correct answer for the graph. Updated by this component
|
|
456
|
-
* when the graph is changed.
|
|
457
|
-
*
|
|
458
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
459
|
-
* element. Instead, it is a representation of the correct answer based
|
|
460
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
461
|
-
* editor page.
|
|
462
|
-
*/
|
|
429
|
+
imagePlaceholder?: React.ReactNode;
|
|
463
430
|
widgetPlaceholder?: React.ReactNode;
|
|
464
431
|
baseElements?: {
|
|
465
432
|
Link: React.ComponentType<any>;
|
|
@@ -531,19 +498,20 @@ declare const InteractiveGraph: {
|
|
|
531
498
|
updateSinusoid: () => void;
|
|
532
499
|
removeSinusoidControls: () => void;
|
|
533
500
|
addCircleControls: () => void;
|
|
534
|
-
/**
|
|
535
|
-
* Whether to show the protractor on the graph.
|
|
536
|
-
*/
|
|
537
501
|
removeCircleControls: () => void;
|
|
538
502
|
addLinearSystemControls: () => void;
|
|
539
503
|
removeLinearSystemControls: () => void;
|
|
540
504
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
505
|
+
/**
|
|
506
|
+
* Whether to show tooltips on the graph.
|
|
507
|
+
* (Currently not used, but will be in the future.)
|
|
508
|
+
*/
|
|
541
509
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
542
510
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
543
511
|
createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
544
512
|
updateCoordsFromPoints: () => void;
|
|
545
513
|
clearCoords: () => void;
|
|
546
|
-
onChange: (
|
|
514
|
+
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
547
515
|
addPointControls: () => void;
|
|
548
516
|
removePointControls: () => void;
|
|
549
517
|
addSegmentControls: () => void;
|
|
@@ -569,7 +537,10 @@ declare const InteractiveGraph: {
|
|
|
569
537
|
static: boolean | null | undefined;
|
|
570
538
|
problemNum: number | null | undefined;
|
|
571
539
|
apiOptions: Readonly<Readonly<{
|
|
572
|
-
isArticle?: boolean | undefined;
|
|
540
|
+
isArticle?: boolean | undefined; /**
|
|
541
|
+
* An error message to display in the graph area, or true if the
|
|
542
|
+
* graph is valid.
|
|
543
|
+
*/
|
|
573
544
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
574
545
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
575
546
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -581,15 +552,7 @@ declare const InteractiveGraph: {
|
|
|
581
552
|
[widgetId: string]: any;
|
|
582
553
|
}) => void) | undefined;
|
|
583
554
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
584
|
-
imagePlaceholder?: React.ReactNode;
|
|
585
|
-
* The current correct answer for the graph. Updated by this component
|
|
586
|
-
* when the graph is changed.
|
|
587
|
-
*
|
|
588
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
589
|
-
* element. Instead, it is a representation of the correct answer based
|
|
590
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
591
|
-
* editor page.
|
|
592
|
-
*/
|
|
555
|
+
imagePlaceholder?: React.ReactNode;
|
|
593
556
|
widgetPlaceholder?: React.ReactNode;
|
|
594
557
|
baseElements?: {
|
|
595
558
|
Link: React.ComponentType<any>;
|
|
@@ -654,7 +617,10 @@ declare const InteractiveGraph: {
|
|
|
654
617
|
static: boolean | null | undefined;
|
|
655
618
|
problemNum: number | null | undefined;
|
|
656
619
|
apiOptions: Readonly<Readonly<{
|
|
657
|
-
isArticle?: boolean | undefined;
|
|
620
|
+
isArticle?: boolean | undefined; /**
|
|
621
|
+
* An error message to display in the graph area, or true if the
|
|
622
|
+
* graph is valid.
|
|
623
|
+
*/
|
|
658
624
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
659
625
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
660
626
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -666,15 +632,7 @@ declare const InteractiveGraph: {
|
|
|
666
632
|
[widgetId: string]: any;
|
|
667
633
|
}) => void) | undefined;
|
|
668
634
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
669
|
-
imagePlaceholder?: React.ReactNode;
|
|
670
|
-
* The current correct answer for the graph. Updated by this component
|
|
671
|
-
* when the graph is changed.
|
|
672
|
-
*
|
|
673
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
674
|
-
* element. Instead, it is a representation of the correct answer based
|
|
675
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
676
|
-
* editor page.
|
|
677
|
-
*/
|
|
635
|
+
imagePlaceholder?: React.ReactNode;
|
|
678
636
|
widgetPlaceholder?: React.ReactNode;
|
|
679
637
|
baseElements?: {
|
|
680
638
|
Link: React.ComponentType<any>;
|
|
@@ -736,7 +694,10 @@ declare const InteractiveGraph: {
|
|
|
736
694
|
static: boolean | null | undefined;
|
|
737
695
|
problemNum: number | null | undefined;
|
|
738
696
|
apiOptions: Readonly<Readonly<{
|
|
739
|
-
isArticle?: boolean | undefined;
|
|
697
|
+
isArticle?: boolean | undefined; /**
|
|
698
|
+
* An error message to display in the graph area, or true if the
|
|
699
|
+
* graph is valid.
|
|
700
|
+
*/
|
|
740
701
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
741
702
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
742
703
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -748,15 +709,7 @@ declare const InteractiveGraph: {
|
|
|
748
709
|
[widgetId: string]: any;
|
|
749
710
|
}) => void) | undefined;
|
|
750
711
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
751
|
-
imagePlaceholder?: React.ReactNode;
|
|
752
|
-
* The current correct answer for the graph. Updated by this component
|
|
753
|
-
* when the graph is changed.
|
|
754
|
-
*
|
|
755
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
756
|
-
* element. Instead, it is a representation of the correct answer based
|
|
757
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
758
|
-
* editor page.
|
|
759
|
-
*/
|
|
712
|
+
imagePlaceholder?: React.ReactNode;
|
|
760
713
|
widgetPlaceholder?: React.ReactNode;
|
|
761
714
|
baseElements?: {
|
|
762
715
|
Link: React.ComponentType<any>;
|
|
@@ -817,7 +770,10 @@ declare const InteractiveGraph: {
|
|
|
817
770
|
static: boolean | null | undefined;
|
|
818
771
|
problemNum: number | null | undefined;
|
|
819
772
|
apiOptions: Readonly<Readonly<{
|
|
820
|
-
isArticle?: boolean | undefined;
|
|
773
|
+
isArticle?: boolean | undefined; /**
|
|
774
|
+
* An error message to display in the graph area, or true if the
|
|
775
|
+
* graph is valid.
|
|
776
|
+
*/
|
|
821
777
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
822
778
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
823
779
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -829,15 +785,7 @@ declare const InteractiveGraph: {
|
|
|
829
785
|
[widgetId: string]: any;
|
|
830
786
|
}) => void) | undefined;
|
|
831
787
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
832
|
-
imagePlaceholder?: React.ReactNode;
|
|
833
|
-
* The current correct answer for the graph. Updated by this component
|
|
834
|
-
* when the graph is changed.
|
|
835
|
-
*
|
|
836
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
837
|
-
* element. Instead, it is a representation of the correct answer based
|
|
838
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
839
|
-
* editor page.
|
|
840
|
-
*/
|
|
788
|
+
imagePlaceholder?: React.ReactNode;
|
|
841
789
|
widgetPlaceholder?: React.ReactNode;
|
|
842
790
|
baseElements?: {
|
|
843
791
|
Link: React.ComponentType<any>;
|
|
@@ -897,7 +845,10 @@ declare const InteractiveGraph: {
|
|
|
897
845
|
static: boolean | null | undefined;
|
|
898
846
|
problemNum: number | null | undefined;
|
|
899
847
|
apiOptions: Readonly<Readonly<{
|
|
900
|
-
isArticle?: boolean | undefined;
|
|
848
|
+
isArticle?: boolean | undefined; /**
|
|
849
|
+
* An error message to display in the graph area, or true if the
|
|
850
|
+
* graph is valid.
|
|
851
|
+
*/
|
|
901
852
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
902
853
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
903
854
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -909,15 +860,7 @@ declare const InteractiveGraph: {
|
|
|
909
860
|
[widgetId: string]: any;
|
|
910
861
|
}) => void) | undefined;
|
|
911
862
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
912
|
-
imagePlaceholder?: React.ReactNode;
|
|
913
|
-
* The current correct answer for the graph. Updated by this component
|
|
914
|
-
* when the graph is changed.
|
|
915
|
-
*
|
|
916
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
917
|
-
* element. Instead, it is a representation of the correct answer based
|
|
918
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
919
|
-
* editor page.
|
|
920
|
-
*/
|
|
863
|
+
imagePlaceholder?: React.ReactNode;
|
|
921
864
|
widgetPlaceholder?: React.ReactNode;
|
|
922
865
|
baseElements?: {
|
|
923
866
|
Link: React.ComponentType<any>;
|
|
@@ -977,7 +920,10 @@ declare const InteractiveGraph: {
|
|
|
977
920
|
static: boolean | null | undefined;
|
|
978
921
|
problemNum: number | null | undefined;
|
|
979
922
|
apiOptions: Readonly<Readonly<{
|
|
980
|
-
isArticle?: boolean | undefined;
|
|
923
|
+
isArticle?: boolean | undefined; /**
|
|
924
|
+
* An error message to display in the graph area, or true if the
|
|
925
|
+
* graph is valid.
|
|
926
|
+
*/
|
|
981
927
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
982
928
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
983
929
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -989,15 +935,7 @@ declare const InteractiveGraph: {
|
|
|
989
935
|
[widgetId: string]: any;
|
|
990
936
|
}) => void) | undefined;
|
|
991
937
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
992
|
-
imagePlaceholder?: React.ReactNode;
|
|
993
|
-
* The current correct answer for the graph. Updated by this component
|
|
994
|
-
* when the graph is changed.
|
|
995
|
-
*
|
|
996
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
997
|
-
* element. Instead, it is a representation of the correct answer based
|
|
998
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
999
|
-
* editor page.
|
|
1000
|
-
*/
|
|
938
|
+
imagePlaceholder?: React.ReactNode;
|
|
1001
939
|
widgetPlaceholder?: React.ReactNode;
|
|
1002
940
|
baseElements?: {
|
|
1003
941
|
Link: React.ComponentType<any>;
|
|
@@ -1065,7 +1003,10 @@ declare const InteractiveGraph: {
|
|
|
1065
1003
|
static: boolean | null | undefined;
|
|
1066
1004
|
problemNum: number | null | undefined;
|
|
1067
1005
|
apiOptions: Readonly<Readonly<{
|
|
1068
|
-
isArticle?: boolean | undefined;
|
|
1006
|
+
isArticle?: boolean | undefined; /**
|
|
1007
|
+
* An error message to display in the graph area, or true if the
|
|
1008
|
+
* graph is valid.
|
|
1009
|
+
*/
|
|
1069
1010
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1070
1011
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1071
1012
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1077,15 +1018,7 @@ declare const InteractiveGraph: {
|
|
|
1077
1018
|
[widgetId: string]: any;
|
|
1078
1019
|
}) => void) | undefined;
|
|
1079
1020
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1080
|
-
imagePlaceholder?: React.ReactNode;
|
|
1081
|
-
* The current correct answer for the graph. Updated by this component
|
|
1082
|
-
* when the graph is changed.
|
|
1083
|
-
*
|
|
1084
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1085
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1086
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1087
|
-
* editor page.
|
|
1088
|
-
*/
|
|
1021
|
+
imagePlaceholder?: React.ReactNode;
|
|
1089
1022
|
widgetPlaceholder?: React.ReactNode;
|
|
1090
1023
|
baseElements?: {
|
|
1091
1024
|
Link: React.ComponentType<any>;
|
|
@@ -1152,7 +1085,10 @@ declare const InteractiveGraph: {
|
|
|
1152
1085
|
static: boolean | null | undefined;
|
|
1153
1086
|
problemNum: number | null | undefined;
|
|
1154
1087
|
apiOptions: Readonly<Readonly<{
|
|
1155
|
-
isArticle?: boolean | undefined;
|
|
1088
|
+
isArticle?: boolean | undefined; /**
|
|
1089
|
+
* An error message to display in the graph area, or true if the
|
|
1090
|
+
* graph is valid.
|
|
1091
|
+
*/
|
|
1156
1092
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1157
1093
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1158
1094
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1164,15 +1100,7 @@ declare const InteractiveGraph: {
|
|
|
1164
1100
|
[widgetId: string]: any;
|
|
1165
1101
|
}) => void) | undefined;
|
|
1166
1102
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1167
|
-
imagePlaceholder?: React.ReactNode;
|
|
1168
|
-
* The current correct answer for the graph. Updated by this component
|
|
1169
|
-
* when the graph is changed.
|
|
1170
|
-
*
|
|
1171
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1172
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1173
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1174
|
-
* editor page.
|
|
1175
|
-
*/
|
|
1103
|
+
imagePlaceholder?: React.ReactNode;
|
|
1176
1104
|
widgetPlaceholder?: React.ReactNode;
|
|
1177
1105
|
baseElements?: {
|
|
1178
1106
|
Link: React.ComponentType<any>;
|
|
@@ -1234,7 +1162,10 @@ declare const InteractiveGraph: {
|
|
|
1234
1162
|
static: boolean | null | undefined;
|
|
1235
1163
|
problemNum: number | null | undefined;
|
|
1236
1164
|
apiOptions: Readonly<Readonly<{
|
|
1237
|
-
isArticle?: boolean | undefined;
|
|
1165
|
+
isArticle?: boolean | undefined; /**
|
|
1166
|
+
* An error message to display in the graph area, or true if the
|
|
1167
|
+
* graph is valid.
|
|
1168
|
+
*/
|
|
1238
1169
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1239
1170
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1240
1171
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1246,15 +1177,7 @@ declare const InteractiveGraph: {
|
|
|
1246
1177
|
[widgetId: string]: any;
|
|
1247
1178
|
}) => void) | undefined;
|
|
1248
1179
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1249
|
-
imagePlaceholder?: React.ReactNode;
|
|
1250
|
-
* The current correct answer for the graph. Updated by this component
|
|
1251
|
-
* when the graph is changed.
|
|
1252
|
-
*
|
|
1253
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1254
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1255
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1256
|
-
* editor page.
|
|
1257
|
-
*/
|
|
1180
|
+
imagePlaceholder?: React.ReactNode;
|
|
1258
1181
|
widgetPlaceholder?: React.ReactNode;
|
|
1259
1182
|
baseElements?: {
|
|
1260
1183
|
Link: React.ComponentType<any>;
|
|
@@ -1314,7 +1237,10 @@ declare const InteractiveGraph: {
|
|
|
1314
1237
|
static: boolean | null | undefined;
|
|
1315
1238
|
problemNum: number | null | undefined;
|
|
1316
1239
|
apiOptions: Readonly<Readonly<{
|
|
1317
|
-
isArticle?: boolean | undefined;
|
|
1240
|
+
isArticle?: boolean | undefined; /**
|
|
1241
|
+
* An error message to display in the graph area, or true if the
|
|
1242
|
+
* graph is valid.
|
|
1243
|
+
*/
|
|
1318
1244
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1319
1245
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1320
1246
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1326,15 +1252,7 @@ declare const InteractiveGraph: {
|
|
|
1326
1252
|
[widgetId: string]: any;
|
|
1327
1253
|
}) => void) | undefined;
|
|
1328
1254
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1329
|
-
imagePlaceholder?: React.ReactNode;
|
|
1330
|
-
* The current correct answer for the graph. Updated by this component
|
|
1331
|
-
* when the graph is changed.
|
|
1332
|
-
*
|
|
1333
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1334
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1335
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1336
|
-
* editor page.
|
|
1337
|
-
*/
|
|
1255
|
+
imagePlaceholder?: React.ReactNode;
|
|
1338
1256
|
widgetPlaceholder?: React.ReactNode;
|
|
1339
1257
|
baseElements?: {
|
|
1340
1258
|
Link: React.ComponentType<any>;
|
|
@@ -1396,7 +1314,10 @@ declare const InteractiveGraph: {
|
|
|
1396
1314
|
static: boolean | null | undefined;
|
|
1397
1315
|
problemNum: number | null | undefined;
|
|
1398
1316
|
apiOptions: Readonly<Readonly<{
|
|
1399
|
-
isArticle?: boolean | undefined;
|
|
1317
|
+
isArticle?: boolean | undefined; /**
|
|
1318
|
+
* An error message to display in the graph area, or true if the
|
|
1319
|
+
* graph is valid.
|
|
1320
|
+
*/
|
|
1400
1321
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1401
1322
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1402
1323
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1408,15 +1329,7 @@ declare const InteractiveGraph: {
|
|
|
1408
1329
|
[widgetId: string]: any;
|
|
1409
1330
|
}) => void) | undefined;
|
|
1410
1331
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1411
|
-
imagePlaceholder?: React.ReactNode;
|
|
1412
|
-
* The current correct answer for the graph. Updated by this component
|
|
1413
|
-
* when the graph is changed.
|
|
1414
|
-
*
|
|
1415
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1416
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1417
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1418
|
-
* editor page.
|
|
1419
|
-
*/
|
|
1332
|
+
imagePlaceholder?: React.ReactNode;
|
|
1420
1333
|
widgetPlaceholder?: React.ReactNode;
|
|
1421
1334
|
baseElements?: {
|
|
1422
1335
|
Link: React.ComponentType<any>;
|
|
@@ -1476,7 +1389,10 @@ declare const InteractiveGraph: {
|
|
|
1476
1389
|
static: boolean | null | undefined;
|
|
1477
1390
|
problemNum: number | null | undefined;
|
|
1478
1391
|
apiOptions: Readonly<Readonly<{
|
|
1479
|
-
isArticle?: boolean | undefined;
|
|
1392
|
+
isArticle?: boolean | undefined; /**
|
|
1393
|
+
* An error message to display in the graph area, or true if the
|
|
1394
|
+
* graph is valid.
|
|
1395
|
+
*/
|
|
1480
1396
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1481
1397
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1482
1398
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1488,15 +1404,7 @@ declare const InteractiveGraph: {
|
|
|
1488
1404
|
[widgetId: string]: any;
|
|
1489
1405
|
}) => void) | undefined;
|
|
1490
1406
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1491
|
-
imagePlaceholder?: React.ReactNode;
|
|
1492
|
-
* The current correct answer for the graph. Updated by this component
|
|
1493
|
-
* when the graph is changed.
|
|
1494
|
-
*
|
|
1495
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1496
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1497
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1498
|
-
* editor page.
|
|
1499
|
-
*/
|
|
1407
|
+
imagePlaceholder?: React.ReactNode;
|
|
1500
1408
|
widgetPlaceholder?: React.ReactNode;
|
|
1501
1409
|
baseElements?: {
|
|
1502
1410
|
Link: React.ComponentType<any>;
|
|
@@ -1556,7 +1464,10 @@ declare const InteractiveGraph: {
|
|
|
1556
1464
|
static: boolean | null | undefined;
|
|
1557
1465
|
problemNum: number | null | undefined;
|
|
1558
1466
|
apiOptions: Readonly<Readonly<{
|
|
1559
|
-
isArticle?: boolean | undefined;
|
|
1467
|
+
isArticle?: boolean | undefined; /**
|
|
1468
|
+
* An error message to display in the graph area, or true if the
|
|
1469
|
+
* graph is valid.
|
|
1470
|
+
*/
|
|
1560
1471
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1561
1472
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1562
1473
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1568,15 +1479,7 @@ declare const InteractiveGraph: {
|
|
|
1568
1479
|
[widgetId: string]: any;
|
|
1569
1480
|
}) => void) | undefined;
|
|
1570
1481
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1571
|
-
imagePlaceholder?: React.ReactNode;
|
|
1572
|
-
* The current correct answer for the graph. Updated by this component
|
|
1573
|
-
* when the graph is changed.
|
|
1574
|
-
*
|
|
1575
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1576
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1577
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1578
|
-
* editor page.
|
|
1579
|
-
*/
|
|
1482
|
+
imagePlaceholder?: React.ReactNode;
|
|
1580
1483
|
widgetPlaceholder?: React.ReactNode;
|
|
1581
1484
|
baseElements?: {
|
|
1582
1485
|
Link: React.ComponentType<any>;
|
|
@@ -1636,7 +1539,10 @@ declare const InteractiveGraph: {
|
|
|
1636
1539
|
static: boolean | null | undefined;
|
|
1637
1540
|
problemNum: number | null | undefined;
|
|
1638
1541
|
apiOptions: Readonly<Readonly<{
|
|
1639
|
-
isArticle?: boolean | undefined;
|
|
1542
|
+
isArticle?: boolean | undefined; /**
|
|
1543
|
+
* An error message to display in the graph area, or true if the
|
|
1544
|
+
* graph is valid.
|
|
1545
|
+
*/
|
|
1640
1546
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1641
1547
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1642
1548
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1648,15 +1554,7 @@ declare const InteractiveGraph: {
|
|
|
1648
1554
|
[widgetId: string]: any;
|
|
1649
1555
|
}) => void) | undefined;
|
|
1650
1556
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1651
|
-
imagePlaceholder?: React.ReactNode;
|
|
1652
|
-
* The current correct answer for the graph. Updated by this component
|
|
1653
|
-
* when the graph is changed.
|
|
1654
|
-
*
|
|
1655
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1656
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1657
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1658
|
-
* editor page.
|
|
1659
|
-
*/
|
|
1557
|
+
imagePlaceholder?: React.ReactNode;
|
|
1660
1558
|
widgetPlaceholder?: React.ReactNode;
|
|
1661
1559
|
baseElements?: {
|
|
1662
1560
|
Link: React.ComponentType<any>;
|
|
@@ -1717,7 +1615,10 @@ declare const InteractiveGraph: {
|
|
|
1717
1615
|
static: boolean | null | undefined;
|
|
1718
1616
|
problemNum: number | null | undefined;
|
|
1719
1617
|
apiOptions: Readonly<Readonly<{
|
|
1720
|
-
isArticle?: boolean | undefined;
|
|
1618
|
+
isArticle?: boolean | undefined; /**
|
|
1619
|
+
* An error message to display in the graph area, or true if the
|
|
1620
|
+
* graph is valid.
|
|
1621
|
+
*/
|
|
1721
1622
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1722
1623
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1723
1624
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1729,15 +1630,7 @@ declare const InteractiveGraph: {
|
|
|
1729
1630
|
[widgetId: string]: any;
|
|
1730
1631
|
}) => void) | undefined;
|
|
1731
1632
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1732
|
-
imagePlaceholder?: React.ReactNode;
|
|
1733
|
-
* The current correct answer for the graph. Updated by this component
|
|
1734
|
-
* when the graph is changed.
|
|
1735
|
-
*
|
|
1736
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1737
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1738
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1739
|
-
* editor page.
|
|
1740
|
-
*/
|
|
1633
|
+
imagePlaceholder?: React.ReactNode;
|
|
1741
1634
|
widgetPlaceholder?: React.ReactNode;
|
|
1742
1635
|
baseElements?: {
|
|
1743
1636
|
Link: React.ComponentType<any>;
|
|
@@ -1817,7 +1710,10 @@ declare const InteractiveGraph: {
|
|
|
1817
1710
|
static: boolean | null | undefined;
|
|
1818
1711
|
problemNum: number | null | undefined;
|
|
1819
1712
|
apiOptions: Readonly<Readonly<{
|
|
1820
|
-
isArticle?: boolean | undefined;
|
|
1713
|
+
isArticle?: boolean | undefined; /**
|
|
1714
|
+
* An error message to display in the graph area, or true if the
|
|
1715
|
+
* graph is valid.
|
|
1716
|
+
*/
|
|
1821
1717
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1822
1718
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1823
1719
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1829,15 +1725,7 @@ declare const InteractiveGraph: {
|
|
|
1829
1725
|
[widgetId: string]: any;
|
|
1830
1726
|
}) => void) | undefined;
|
|
1831
1727
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1832
|
-
imagePlaceholder?: React.ReactNode;
|
|
1833
|
-
* The current correct answer for the graph. Updated by this component
|
|
1834
|
-
* when the graph is changed.
|
|
1835
|
-
*
|
|
1836
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1837
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1838
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1839
|
-
* editor page.
|
|
1840
|
-
*/
|
|
1728
|
+
imagePlaceholder?: React.ReactNode;
|
|
1841
1729
|
widgetPlaceholder?: React.ReactNode;
|
|
1842
1730
|
baseElements?: {
|
|
1843
1731
|
Link: React.ComponentType<any>;
|
|
@@ -1897,7 +1785,10 @@ declare const InteractiveGraph: {
|
|
|
1897
1785
|
static: boolean | null | undefined;
|
|
1898
1786
|
problemNum: number | null | undefined;
|
|
1899
1787
|
apiOptions: Readonly<Readonly<{
|
|
1900
|
-
isArticle?: boolean | undefined;
|
|
1788
|
+
isArticle?: boolean | undefined; /**
|
|
1789
|
+
* An error message to display in the graph area, or true if the
|
|
1790
|
+
* graph is valid.
|
|
1791
|
+
*/
|
|
1901
1792
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1902
1793
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1903
1794
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1909,15 +1800,7 @@ declare const InteractiveGraph: {
|
|
|
1909
1800
|
[widgetId: string]: any;
|
|
1910
1801
|
}) => void) | undefined;
|
|
1911
1802
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1912
|
-
imagePlaceholder?: React.ReactNode;
|
|
1913
|
-
* The current correct answer for the graph. Updated by this component
|
|
1914
|
-
* when the graph is changed.
|
|
1915
|
-
*
|
|
1916
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1917
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1918
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1919
|
-
* editor page.
|
|
1920
|
-
*/
|
|
1803
|
+
imagePlaceholder?: React.ReactNode;
|
|
1921
1804
|
widgetPlaceholder?: React.ReactNode;
|
|
1922
1805
|
baseElements?: {
|
|
1923
1806
|
Link: React.ComponentType<any>;
|
|
@@ -1977,7 +1860,10 @@ declare const InteractiveGraph: {
|
|
|
1977
1860
|
static: boolean | null | undefined;
|
|
1978
1861
|
problemNum: number | null | undefined;
|
|
1979
1862
|
apiOptions: Readonly<Readonly<{
|
|
1980
|
-
isArticle?: boolean | undefined;
|
|
1863
|
+
isArticle?: boolean | undefined; /**
|
|
1864
|
+
* An error message to display in the graph area, or true if the
|
|
1865
|
+
* graph is valid.
|
|
1866
|
+
*/
|
|
1981
1867
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
1982
1868
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
1983
1869
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -1989,15 +1875,7 @@ declare const InteractiveGraph: {
|
|
|
1989
1875
|
[widgetId: string]: any;
|
|
1990
1876
|
}) => void) | undefined;
|
|
1991
1877
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
1992
|
-
imagePlaceholder?: React.ReactNode;
|
|
1993
|
-
* The current correct answer for the graph. Updated by this component
|
|
1994
|
-
* when the graph is changed.
|
|
1995
|
-
*
|
|
1996
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1997
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1998
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1999
|
-
* editor page.
|
|
2000
|
-
*/
|
|
1878
|
+
imagePlaceholder?: React.ReactNode;
|
|
2001
1879
|
widgetPlaceholder?: React.ReactNode;
|
|
2002
1880
|
baseElements?: {
|
|
2003
1881
|
Link: React.ComponentType<any>;
|
|
@@ -2056,9 +1934,6 @@ declare const InteractiveGraph: {
|
|
|
2056
1934
|
handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
2057
1935
|
resetGraphie: () => void;
|
|
2058
1936
|
setupGraphie: () => void;
|
|
2059
|
-
/**
|
|
2060
|
-
* The range of the graph in the x and y directions.
|
|
2061
|
-
*/
|
|
2062
1937
|
showHairlines: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
2063
1938
|
hideHairlines: () => void;
|
|
2064
1939
|
setTrashCanVisibility: (arg1: number) => void;
|
|
@@ -2068,7 +1943,10 @@ declare const InteractiveGraph: {
|
|
|
2068
1943
|
static: boolean | null | undefined;
|
|
2069
1944
|
problemNum: number | null | undefined;
|
|
2070
1945
|
apiOptions: Readonly<Readonly<{
|
|
2071
|
-
isArticle?: boolean | undefined;
|
|
1946
|
+
isArticle?: boolean | undefined; /**
|
|
1947
|
+
* An error message to display in the graph area, or true if the
|
|
1948
|
+
* graph is valid.
|
|
1949
|
+
*/
|
|
2072
1950
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2073
1951
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2074
1952
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2080,15 +1958,7 @@ declare const InteractiveGraph: {
|
|
|
2080
1958
|
[widgetId: string]: any;
|
|
2081
1959
|
}) => void) | undefined;
|
|
2082
1960
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2083
|
-
imagePlaceholder?: React.ReactNode;
|
|
2084
|
-
* The current correct answer for the graph. Updated by this component
|
|
2085
|
-
* when the graph is changed.
|
|
2086
|
-
*
|
|
2087
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2088
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2089
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2090
|
-
* editor page.
|
|
2091
|
-
*/
|
|
1961
|
+
imagePlaceholder?: React.ReactNode;
|
|
2092
1962
|
widgetPlaceholder?: React.ReactNode;
|
|
2093
1963
|
baseElements?: {
|
|
2094
1964
|
Link: React.ComponentType<any>;
|
|
@@ -2160,19 +2030,20 @@ declare const InteractiveGraph: {
|
|
|
2160
2030
|
updateSinusoid: () => void;
|
|
2161
2031
|
removeSinusoidControls: () => void;
|
|
2162
2032
|
addCircleControls: () => void;
|
|
2163
|
-
/**
|
|
2164
|
-
* Whether to show the protractor on the graph.
|
|
2165
|
-
*/
|
|
2166
2033
|
removeCircleControls: () => void;
|
|
2167
2034
|
addLinearSystemControls: () => void;
|
|
2168
2035
|
removeLinearSystemControls: () => void;
|
|
2169
2036
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
2037
|
+
/**
|
|
2038
|
+
* Whether to show tooltips on the graph.
|
|
2039
|
+
* (Currently not used, but will be in the future.)
|
|
2040
|
+
*/
|
|
2170
2041
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
2171
2042
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
2172
2043
|
createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
2173
2044
|
updateCoordsFromPoints: () => void;
|
|
2174
2045
|
clearCoords: () => void;
|
|
2175
|
-
onChange: (
|
|
2046
|
+
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2176
2047
|
addPointControls: () => void;
|
|
2177
2048
|
removePointControls: () => void;
|
|
2178
2049
|
addSegmentControls: () => void;
|
|
@@ -2198,7 +2069,10 @@ declare const InteractiveGraph: {
|
|
|
2198
2069
|
static: boolean | null | undefined;
|
|
2199
2070
|
problemNum: number | null | undefined;
|
|
2200
2071
|
apiOptions: Readonly<Readonly<{
|
|
2201
|
-
isArticle?: boolean | undefined;
|
|
2072
|
+
isArticle?: boolean | undefined; /**
|
|
2073
|
+
* An error message to display in the graph area, or true if the
|
|
2074
|
+
* graph is valid.
|
|
2075
|
+
*/
|
|
2202
2076
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2203
2077
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2204
2078
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2210,15 +2084,7 @@ declare const InteractiveGraph: {
|
|
|
2210
2084
|
[widgetId: string]: any;
|
|
2211
2085
|
}) => void) | undefined;
|
|
2212
2086
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2213
|
-
imagePlaceholder?: React.ReactNode;
|
|
2214
|
-
* The current correct answer for the graph. Updated by this component
|
|
2215
|
-
* when the graph is changed.
|
|
2216
|
-
*
|
|
2217
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2218
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2219
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2220
|
-
* editor page.
|
|
2221
|
-
*/
|
|
2087
|
+
imagePlaceholder?: React.ReactNode;
|
|
2222
2088
|
widgetPlaceholder?: React.ReactNode;
|
|
2223
2089
|
baseElements?: {
|
|
2224
2090
|
Link: React.ComponentType<any>;
|
|
@@ -2283,7 +2149,10 @@ declare const InteractiveGraph: {
|
|
|
2283
2149
|
static: boolean | null | undefined;
|
|
2284
2150
|
problemNum: number | null | undefined;
|
|
2285
2151
|
apiOptions: Readonly<Readonly<{
|
|
2286
|
-
isArticle?: boolean | undefined;
|
|
2152
|
+
isArticle?: boolean | undefined; /**
|
|
2153
|
+
* An error message to display in the graph area, or true if the
|
|
2154
|
+
* graph is valid.
|
|
2155
|
+
*/
|
|
2287
2156
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2288
2157
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2289
2158
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2295,15 +2164,7 @@ declare const InteractiveGraph: {
|
|
|
2295
2164
|
[widgetId: string]: any;
|
|
2296
2165
|
}) => void) | undefined;
|
|
2297
2166
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2298
|
-
imagePlaceholder?: React.ReactNode;
|
|
2299
|
-
* The current correct answer for the graph. Updated by this component
|
|
2300
|
-
* when the graph is changed.
|
|
2301
|
-
*
|
|
2302
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2303
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2304
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2305
|
-
* editor page.
|
|
2306
|
-
*/
|
|
2167
|
+
imagePlaceholder?: React.ReactNode;
|
|
2307
2168
|
widgetPlaceholder?: React.ReactNode;
|
|
2308
2169
|
baseElements?: {
|
|
2309
2170
|
Link: React.ComponentType<any>;
|
|
@@ -2365,7 +2226,10 @@ declare const InteractiveGraph: {
|
|
|
2365
2226
|
static: boolean | null | undefined;
|
|
2366
2227
|
problemNum: number | null | undefined;
|
|
2367
2228
|
apiOptions: Readonly<Readonly<{
|
|
2368
|
-
isArticle?: boolean | undefined;
|
|
2229
|
+
isArticle?: boolean | undefined; /**
|
|
2230
|
+
* An error message to display in the graph area, or true if the
|
|
2231
|
+
* graph is valid.
|
|
2232
|
+
*/
|
|
2369
2233
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2370
2234
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2371
2235
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2377,15 +2241,7 @@ declare const InteractiveGraph: {
|
|
|
2377
2241
|
[widgetId: string]: any;
|
|
2378
2242
|
}) => void) | undefined;
|
|
2379
2243
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2380
|
-
imagePlaceholder?: React.ReactNode;
|
|
2381
|
-
* The current correct answer for the graph. Updated by this component
|
|
2382
|
-
* when the graph is changed.
|
|
2383
|
-
*
|
|
2384
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2385
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2386
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2387
|
-
* editor page.
|
|
2388
|
-
*/
|
|
2244
|
+
imagePlaceholder?: React.ReactNode;
|
|
2389
2245
|
widgetPlaceholder?: React.ReactNode;
|
|
2390
2246
|
baseElements?: {
|
|
2391
2247
|
Link: React.ComponentType<any>;
|
|
@@ -2446,7 +2302,10 @@ declare const InteractiveGraph: {
|
|
|
2446
2302
|
static: boolean | null | undefined;
|
|
2447
2303
|
problemNum: number | null | undefined;
|
|
2448
2304
|
apiOptions: Readonly<Readonly<{
|
|
2449
|
-
isArticle?: boolean | undefined;
|
|
2305
|
+
isArticle?: boolean | undefined; /**
|
|
2306
|
+
* An error message to display in the graph area, or true if the
|
|
2307
|
+
* graph is valid.
|
|
2308
|
+
*/
|
|
2450
2309
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2451
2310
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2452
2311
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2458,15 +2317,7 @@ declare const InteractiveGraph: {
|
|
|
2458
2317
|
[widgetId: string]: any;
|
|
2459
2318
|
}) => void) | undefined;
|
|
2460
2319
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2461
|
-
imagePlaceholder?: React.ReactNode;
|
|
2462
|
-
* The current correct answer for the graph. Updated by this component
|
|
2463
|
-
* when the graph is changed.
|
|
2464
|
-
*
|
|
2465
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2466
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2467
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2468
|
-
* editor page.
|
|
2469
|
-
*/
|
|
2320
|
+
imagePlaceholder?: React.ReactNode;
|
|
2470
2321
|
widgetPlaceholder?: React.ReactNode;
|
|
2471
2322
|
baseElements?: {
|
|
2472
2323
|
Link: React.ComponentType<any>;
|
|
@@ -2526,7 +2377,10 @@ declare const InteractiveGraph: {
|
|
|
2526
2377
|
static: boolean | null | undefined;
|
|
2527
2378
|
problemNum: number | null | undefined;
|
|
2528
2379
|
apiOptions: Readonly<Readonly<{
|
|
2529
|
-
isArticle?: boolean | undefined;
|
|
2380
|
+
isArticle?: boolean | undefined; /**
|
|
2381
|
+
* An error message to display in the graph area, or true if the
|
|
2382
|
+
* graph is valid.
|
|
2383
|
+
*/
|
|
2530
2384
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2531
2385
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2532
2386
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2538,15 +2392,7 @@ declare const InteractiveGraph: {
|
|
|
2538
2392
|
[widgetId: string]: any;
|
|
2539
2393
|
}) => void) | undefined;
|
|
2540
2394
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2541
|
-
imagePlaceholder?: React.ReactNode;
|
|
2542
|
-
* The current correct answer for the graph. Updated by this component
|
|
2543
|
-
* when the graph is changed.
|
|
2544
|
-
*
|
|
2545
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2546
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2547
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2548
|
-
* editor page.
|
|
2549
|
-
*/
|
|
2395
|
+
imagePlaceholder?: React.ReactNode;
|
|
2550
2396
|
widgetPlaceholder?: React.ReactNode;
|
|
2551
2397
|
baseElements?: {
|
|
2552
2398
|
Link: React.ComponentType<any>;
|
|
@@ -2606,7 +2452,10 @@ declare const InteractiveGraph: {
|
|
|
2606
2452
|
static: boolean | null | undefined;
|
|
2607
2453
|
problemNum: number | null | undefined;
|
|
2608
2454
|
apiOptions: Readonly<Readonly<{
|
|
2609
|
-
isArticle?: boolean | undefined;
|
|
2455
|
+
isArticle?: boolean | undefined; /**
|
|
2456
|
+
* An error message to display in the graph area, or true if the
|
|
2457
|
+
* graph is valid.
|
|
2458
|
+
*/
|
|
2610
2459
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2611
2460
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2612
2461
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2618,15 +2467,7 @@ declare const InteractiveGraph: {
|
|
|
2618
2467
|
[widgetId: string]: any;
|
|
2619
2468
|
}) => void) | undefined;
|
|
2620
2469
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2621
|
-
imagePlaceholder?: React.ReactNode;
|
|
2622
|
-
* The current correct answer for the graph. Updated by this component
|
|
2623
|
-
* when the graph is changed.
|
|
2624
|
-
*
|
|
2625
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2626
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2627
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2628
|
-
* editor page.
|
|
2629
|
-
*/
|
|
2470
|
+
imagePlaceholder?: React.ReactNode;
|
|
2630
2471
|
widgetPlaceholder?: React.ReactNode;
|
|
2631
2472
|
baseElements?: {
|
|
2632
2473
|
Link: React.ComponentType<any>;
|
|
@@ -2694,7 +2535,10 @@ declare const InteractiveGraph: {
|
|
|
2694
2535
|
static: boolean | null | undefined;
|
|
2695
2536
|
problemNum: number | null | undefined;
|
|
2696
2537
|
apiOptions: Readonly<Readonly<{
|
|
2697
|
-
isArticle?: boolean | undefined;
|
|
2538
|
+
isArticle?: boolean | undefined; /**
|
|
2539
|
+
* An error message to display in the graph area, or true if the
|
|
2540
|
+
* graph is valid.
|
|
2541
|
+
*/
|
|
2698
2542
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2699
2543
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2700
2544
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2706,15 +2550,7 @@ declare const InteractiveGraph: {
|
|
|
2706
2550
|
[widgetId: string]: any;
|
|
2707
2551
|
}) => void) | undefined;
|
|
2708
2552
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2709
|
-
imagePlaceholder?: React.ReactNode;
|
|
2710
|
-
* The current correct answer for the graph. Updated by this component
|
|
2711
|
-
* when the graph is changed.
|
|
2712
|
-
*
|
|
2713
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2714
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2715
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2716
|
-
* editor page.
|
|
2717
|
-
*/
|
|
2553
|
+
imagePlaceholder?: React.ReactNode;
|
|
2718
2554
|
widgetPlaceholder?: React.ReactNode;
|
|
2719
2555
|
baseElements?: {
|
|
2720
2556
|
Link: React.ComponentType<any>;
|
|
@@ -2781,7 +2617,10 @@ declare const InteractiveGraph: {
|
|
|
2781
2617
|
static: boolean | null | undefined;
|
|
2782
2618
|
problemNum: number | null | undefined;
|
|
2783
2619
|
apiOptions: Readonly<Readonly<{
|
|
2784
|
-
isArticle?: boolean | undefined;
|
|
2620
|
+
isArticle?: boolean | undefined; /**
|
|
2621
|
+
* An error message to display in the graph area, or true if the
|
|
2622
|
+
* graph is valid.
|
|
2623
|
+
*/
|
|
2785
2624
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2786
2625
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2787
2626
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2793,15 +2632,7 @@ declare const InteractiveGraph: {
|
|
|
2793
2632
|
[widgetId: string]: any;
|
|
2794
2633
|
}) => void) | undefined;
|
|
2795
2634
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2796
|
-
imagePlaceholder?: React.ReactNode;
|
|
2797
|
-
* The current correct answer for the graph. Updated by this component
|
|
2798
|
-
* when the graph is changed.
|
|
2799
|
-
*
|
|
2800
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2801
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2802
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2803
|
-
* editor page.
|
|
2804
|
-
*/
|
|
2635
|
+
imagePlaceholder?: React.ReactNode;
|
|
2805
2636
|
widgetPlaceholder?: React.ReactNode;
|
|
2806
2637
|
baseElements?: {
|
|
2807
2638
|
Link: React.ComponentType<any>;
|
|
@@ -2863,7 +2694,10 @@ declare const InteractiveGraph: {
|
|
|
2863
2694
|
static: boolean | null | undefined;
|
|
2864
2695
|
problemNum: number | null | undefined;
|
|
2865
2696
|
apiOptions: Readonly<Readonly<{
|
|
2866
|
-
isArticle?: boolean | undefined;
|
|
2697
|
+
isArticle?: boolean | undefined; /**
|
|
2698
|
+
* An error message to display in the graph area, or true if the
|
|
2699
|
+
* graph is valid.
|
|
2700
|
+
*/
|
|
2867
2701
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2868
2702
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2869
2703
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2875,15 +2709,7 @@ declare const InteractiveGraph: {
|
|
|
2875
2709
|
[widgetId: string]: any;
|
|
2876
2710
|
}) => void) | undefined;
|
|
2877
2711
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2878
|
-
imagePlaceholder?: React.ReactNode;
|
|
2879
|
-
* The current correct answer for the graph. Updated by this component
|
|
2880
|
-
* when the graph is changed.
|
|
2881
|
-
*
|
|
2882
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2883
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2884
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2885
|
-
* editor page.
|
|
2886
|
-
*/
|
|
2712
|
+
imagePlaceholder?: React.ReactNode;
|
|
2887
2713
|
widgetPlaceholder?: React.ReactNode;
|
|
2888
2714
|
baseElements?: {
|
|
2889
2715
|
Link: React.ComponentType<any>;
|
|
@@ -2943,7 +2769,10 @@ declare const InteractiveGraph: {
|
|
|
2943
2769
|
static: boolean | null | undefined;
|
|
2944
2770
|
problemNum: number | null | undefined;
|
|
2945
2771
|
apiOptions: Readonly<Readonly<{
|
|
2946
|
-
isArticle?: boolean | undefined;
|
|
2772
|
+
isArticle?: boolean | undefined; /**
|
|
2773
|
+
* An error message to display in the graph area, or true if the
|
|
2774
|
+
* graph is valid.
|
|
2775
|
+
*/
|
|
2947
2776
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
2948
2777
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
2949
2778
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -2955,15 +2784,7 @@ declare const InteractiveGraph: {
|
|
|
2955
2784
|
[widgetId: string]: any;
|
|
2956
2785
|
}) => void) | undefined;
|
|
2957
2786
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
2958
|
-
imagePlaceholder?: React.ReactNode;
|
|
2959
|
-
* The current correct answer for the graph. Updated by this component
|
|
2960
|
-
* when the graph is changed.
|
|
2961
|
-
*
|
|
2962
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2963
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2964
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2965
|
-
* editor page.
|
|
2966
|
-
*/
|
|
2787
|
+
imagePlaceholder?: React.ReactNode;
|
|
2967
2788
|
widgetPlaceholder?: React.ReactNode;
|
|
2968
2789
|
baseElements?: {
|
|
2969
2790
|
Link: React.ComponentType<any>;
|
|
@@ -3025,7 +2846,10 @@ declare const InteractiveGraph: {
|
|
|
3025
2846
|
static: boolean | null | undefined;
|
|
3026
2847
|
problemNum: number | null | undefined;
|
|
3027
2848
|
apiOptions: Readonly<Readonly<{
|
|
3028
|
-
isArticle?: boolean | undefined;
|
|
2849
|
+
isArticle?: boolean | undefined; /**
|
|
2850
|
+
* An error message to display in the graph area, or true if the
|
|
2851
|
+
* graph is valid.
|
|
2852
|
+
*/
|
|
3029
2853
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3030
2854
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3031
2855
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3037,15 +2861,7 @@ declare const InteractiveGraph: {
|
|
|
3037
2861
|
[widgetId: string]: any;
|
|
3038
2862
|
}) => void) | undefined;
|
|
3039
2863
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3040
|
-
imagePlaceholder?: React.ReactNode;
|
|
3041
|
-
* The current correct answer for the graph. Updated by this component
|
|
3042
|
-
* when the graph is changed.
|
|
3043
|
-
*
|
|
3044
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3045
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3046
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3047
|
-
* editor page.
|
|
3048
|
-
*/
|
|
2864
|
+
imagePlaceholder?: React.ReactNode;
|
|
3049
2865
|
widgetPlaceholder?: React.ReactNode;
|
|
3050
2866
|
baseElements?: {
|
|
3051
2867
|
Link: React.ComponentType<any>;
|
|
@@ -3105,7 +2921,10 @@ declare const InteractiveGraph: {
|
|
|
3105
2921
|
static: boolean | null | undefined;
|
|
3106
2922
|
problemNum: number | null | undefined;
|
|
3107
2923
|
apiOptions: Readonly<Readonly<{
|
|
3108
|
-
isArticle?: boolean | undefined;
|
|
2924
|
+
isArticle?: boolean | undefined; /**
|
|
2925
|
+
* An error message to display in the graph area, or true if the
|
|
2926
|
+
* graph is valid.
|
|
2927
|
+
*/
|
|
3109
2928
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3110
2929
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3111
2930
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3117,15 +2936,7 @@ declare const InteractiveGraph: {
|
|
|
3117
2936
|
[widgetId: string]: any;
|
|
3118
2937
|
}) => void) | undefined;
|
|
3119
2938
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3120
|
-
imagePlaceholder?: React.ReactNode;
|
|
3121
|
-
* The current correct answer for the graph. Updated by this component
|
|
3122
|
-
* when the graph is changed.
|
|
3123
|
-
*
|
|
3124
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3125
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3126
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3127
|
-
* editor page.
|
|
3128
|
-
*/
|
|
2939
|
+
imagePlaceholder?: React.ReactNode;
|
|
3129
2940
|
widgetPlaceholder?: React.ReactNode;
|
|
3130
2941
|
baseElements?: {
|
|
3131
2942
|
Link: React.ComponentType<any>;
|
|
@@ -3185,7 +2996,10 @@ declare const InteractiveGraph: {
|
|
|
3185
2996
|
static: boolean | null | undefined;
|
|
3186
2997
|
problemNum: number | null | undefined;
|
|
3187
2998
|
apiOptions: Readonly<Readonly<{
|
|
3188
|
-
isArticle?: boolean | undefined;
|
|
2999
|
+
isArticle?: boolean | undefined; /**
|
|
3000
|
+
* An error message to display in the graph area, or true if the
|
|
3001
|
+
* graph is valid.
|
|
3002
|
+
*/
|
|
3189
3003
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3190
3004
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3191
3005
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3197,15 +3011,7 @@ declare const InteractiveGraph: {
|
|
|
3197
3011
|
[widgetId: string]: any;
|
|
3198
3012
|
}) => void) | undefined;
|
|
3199
3013
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3200
|
-
imagePlaceholder?: React.ReactNode;
|
|
3201
|
-
* The current correct answer for the graph. Updated by this component
|
|
3202
|
-
* when the graph is changed.
|
|
3203
|
-
*
|
|
3204
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3205
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3206
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3207
|
-
* editor page.
|
|
3208
|
-
*/
|
|
3014
|
+
imagePlaceholder?: React.ReactNode;
|
|
3209
3015
|
widgetPlaceholder?: React.ReactNode;
|
|
3210
3016
|
baseElements?: {
|
|
3211
3017
|
Link: React.ComponentType<any>;
|
|
@@ -3265,7 +3071,10 @@ declare const InteractiveGraph: {
|
|
|
3265
3071
|
static: boolean | null | undefined;
|
|
3266
3072
|
problemNum: number | null | undefined;
|
|
3267
3073
|
apiOptions: Readonly<Readonly<{
|
|
3268
|
-
isArticle?: boolean | undefined;
|
|
3074
|
+
isArticle?: boolean | undefined; /**
|
|
3075
|
+
* An error message to display in the graph area, or true if the
|
|
3076
|
+
* graph is valid.
|
|
3077
|
+
*/
|
|
3269
3078
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3270
3079
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3271
3080
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3277,15 +3086,7 @@ declare const InteractiveGraph: {
|
|
|
3277
3086
|
[widgetId: string]: any;
|
|
3278
3087
|
}) => void) | undefined;
|
|
3279
3088
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3280
|
-
imagePlaceholder?: React.ReactNode;
|
|
3281
|
-
* The current correct answer for the graph. Updated by this component
|
|
3282
|
-
* when the graph is changed.
|
|
3283
|
-
*
|
|
3284
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3285
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3286
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3287
|
-
* editor page.
|
|
3288
|
-
*/
|
|
3089
|
+
imagePlaceholder?: React.ReactNode;
|
|
3289
3090
|
widgetPlaceholder?: React.ReactNode;
|
|
3290
3091
|
baseElements?: {
|
|
3291
3092
|
Link: React.ComponentType<any>;
|
|
@@ -3361,7 +3162,10 @@ declare const InteractiveGraph: {
|
|
|
3361
3162
|
static: boolean | null | undefined;
|
|
3362
3163
|
problemNum: number | null | undefined;
|
|
3363
3164
|
apiOptions: Readonly<Readonly<{
|
|
3364
|
-
isArticle?: boolean | undefined;
|
|
3165
|
+
isArticle?: boolean | undefined; /**
|
|
3166
|
+
* An error message to display in the graph area, or true if the
|
|
3167
|
+
* graph is valid.
|
|
3168
|
+
*/
|
|
3365
3169
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3366
3170
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3367
3171
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3373,15 +3177,7 @@ declare const InteractiveGraph: {
|
|
|
3373
3177
|
[widgetId: string]: any;
|
|
3374
3178
|
}) => void) | undefined;
|
|
3375
3179
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3376
|
-
imagePlaceholder?: React.ReactNode;
|
|
3377
|
-
* The current correct answer for the graph. Updated by this component
|
|
3378
|
-
* when the graph is changed.
|
|
3379
|
-
*
|
|
3380
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3381
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3382
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3383
|
-
* editor page.
|
|
3384
|
-
*/
|
|
3180
|
+
imagePlaceholder?: React.ReactNode;
|
|
3385
3181
|
widgetPlaceholder?: React.ReactNode;
|
|
3386
3182
|
baseElements?: {
|
|
3387
3183
|
Link: React.ComponentType<any>;
|
|
@@ -3441,7 +3237,10 @@ declare const InteractiveGraph: {
|
|
|
3441
3237
|
static: boolean | null | undefined;
|
|
3442
3238
|
problemNum: number | null | undefined;
|
|
3443
3239
|
apiOptions: Readonly<Readonly<{
|
|
3444
|
-
isArticle?: boolean | undefined;
|
|
3240
|
+
isArticle?: boolean | undefined; /**
|
|
3241
|
+
* An error message to display in the graph area, or true if the
|
|
3242
|
+
* graph is valid.
|
|
3243
|
+
*/
|
|
3445
3244
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3446
3245
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3447
3246
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3453,15 +3252,7 @@ declare const InteractiveGraph: {
|
|
|
3453
3252
|
[widgetId: string]: any;
|
|
3454
3253
|
}) => void) | undefined;
|
|
3455
3254
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3456
|
-
imagePlaceholder?: React.ReactNode;
|
|
3457
|
-
* The current correct answer for the graph. Updated by this component
|
|
3458
|
-
* when the graph is changed.
|
|
3459
|
-
*
|
|
3460
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3461
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3462
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3463
|
-
* editor page.
|
|
3464
|
-
*/
|
|
3255
|
+
imagePlaceholder?: React.ReactNode;
|
|
3465
3256
|
widgetPlaceholder?: React.ReactNode;
|
|
3466
3257
|
baseElements?: {
|
|
3467
3258
|
Link: React.ComponentType<any>;
|
|
@@ -3521,7 +3312,10 @@ declare const InteractiveGraph: {
|
|
|
3521
3312
|
static: boolean | null | undefined;
|
|
3522
3313
|
problemNum: number | null | undefined;
|
|
3523
3314
|
apiOptions: Readonly<Readonly<{
|
|
3524
|
-
isArticle?: boolean | undefined;
|
|
3315
|
+
isArticle?: boolean | undefined; /**
|
|
3316
|
+
* An error message to display in the graph area, or true if the
|
|
3317
|
+
* graph is valid.
|
|
3318
|
+
*/
|
|
3525
3319
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3526
3320
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3527
3321
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3533,15 +3327,7 @@ declare const InteractiveGraph: {
|
|
|
3533
3327
|
[widgetId: string]: any;
|
|
3534
3328
|
}) => void) | undefined;
|
|
3535
3329
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3536
|
-
imagePlaceholder?: React.ReactNode;
|
|
3537
|
-
* The current correct answer for the graph. Updated by this component
|
|
3538
|
-
* when the graph is changed.
|
|
3539
|
-
*
|
|
3540
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3541
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3542
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3543
|
-
* editor page.
|
|
3544
|
-
*/
|
|
3330
|
+
imagePlaceholder?: React.ReactNode;
|
|
3545
3331
|
widgetPlaceholder?: React.ReactNode;
|
|
3546
3332
|
baseElements?: {
|
|
3547
3333
|
Link: React.ComponentType<any>;
|
|
@@ -3601,7 +3387,10 @@ declare const InteractiveGraph: {
|
|
|
3601
3387
|
static: boolean | null | undefined;
|
|
3602
3388
|
problemNum: number | null | undefined;
|
|
3603
3389
|
apiOptions: Readonly<Readonly<{
|
|
3604
|
-
isArticle?: boolean | undefined;
|
|
3390
|
+
isArticle?: boolean | undefined; /**
|
|
3391
|
+
* An error message to display in the graph area, or true if the
|
|
3392
|
+
* graph is valid.
|
|
3393
|
+
*/
|
|
3605
3394
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3606
3395
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3607
3396
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3613,15 +3402,7 @@ declare const InteractiveGraph: {
|
|
|
3613
3402
|
[widgetId: string]: any;
|
|
3614
3403
|
}) => void) | undefined;
|
|
3615
3404
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3616
|
-
imagePlaceholder?: React.ReactNode;
|
|
3617
|
-
* The current correct answer for the graph. Updated by this component
|
|
3618
|
-
* when the graph is changed.
|
|
3619
|
-
*
|
|
3620
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3621
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3622
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3623
|
-
* editor page.
|
|
3624
|
-
*/
|
|
3405
|
+
imagePlaceholder?: React.ReactNode;
|
|
3625
3406
|
widgetPlaceholder?: React.ReactNode;
|
|
3626
3407
|
baseElements?: {
|
|
3627
3408
|
Link: React.ComponentType<any>;
|
|
@@ -3681,7 +3462,10 @@ declare const InteractiveGraph: {
|
|
|
3681
3462
|
static: boolean | null | undefined;
|
|
3682
3463
|
problemNum: number | null | undefined;
|
|
3683
3464
|
apiOptions: Readonly<Readonly<{
|
|
3684
|
-
isArticle?: boolean | undefined;
|
|
3465
|
+
isArticle?: boolean | undefined; /**
|
|
3466
|
+
* An error message to display in the graph area, or true if the
|
|
3467
|
+
* graph is valid.
|
|
3468
|
+
*/
|
|
3685
3469
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3686
3470
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3687
3471
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3693,15 +3477,7 @@ declare const InteractiveGraph: {
|
|
|
3693
3477
|
[widgetId: string]: any;
|
|
3694
3478
|
}) => void) | undefined;
|
|
3695
3479
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3696
|
-
imagePlaceholder?: React.ReactNode;
|
|
3697
|
-
* The current correct answer for the graph. Updated by this component
|
|
3698
|
-
* when the graph is changed.
|
|
3699
|
-
*
|
|
3700
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3701
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3702
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3703
|
-
* editor page.
|
|
3704
|
-
*/
|
|
3480
|
+
imagePlaceholder?: React.ReactNode;
|
|
3705
3481
|
widgetPlaceholder?: React.ReactNode;
|
|
3706
3482
|
baseElements?: {
|
|
3707
3483
|
Link: React.ComponentType<any>;
|
|
@@ -3761,7 +3537,10 @@ declare const InteractiveGraph: {
|
|
|
3761
3537
|
static: boolean | null | undefined;
|
|
3762
3538
|
problemNum: number | null | undefined;
|
|
3763
3539
|
apiOptions: Readonly<Readonly<{
|
|
3764
|
-
isArticle?: boolean | undefined;
|
|
3540
|
+
isArticle?: boolean | undefined; /**
|
|
3541
|
+
* An error message to display in the graph area, or true if the
|
|
3542
|
+
* graph is valid.
|
|
3543
|
+
*/
|
|
3765
3544
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3766
3545
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3767
3546
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3773,15 +3552,7 @@ declare const InteractiveGraph: {
|
|
|
3773
3552
|
[widgetId: string]: any;
|
|
3774
3553
|
}) => void) | undefined;
|
|
3775
3554
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3776
|
-
imagePlaceholder?: React.ReactNode;
|
|
3777
|
-
* The current correct answer for the graph. Updated by this component
|
|
3778
|
-
* when the graph is changed.
|
|
3779
|
-
*
|
|
3780
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3781
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3782
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3783
|
-
* editor page.
|
|
3784
|
-
*/
|
|
3555
|
+
imagePlaceholder?: React.ReactNode;
|
|
3785
3556
|
widgetPlaceholder?: React.ReactNode;
|
|
3786
3557
|
baseElements?: {
|
|
3787
3558
|
Link: React.ComponentType<any>;
|
|
@@ -3842,7 +3613,10 @@ declare const InteractiveGraph: {
|
|
|
3842
3613
|
static: boolean | null | undefined;
|
|
3843
3614
|
problemNum: number | null | undefined;
|
|
3844
3615
|
apiOptions: Readonly<Readonly<{
|
|
3845
|
-
isArticle?: boolean | undefined;
|
|
3616
|
+
isArticle?: boolean | undefined; /**
|
|
3617
|
+
* An error message to display in the graph area, or true if the
|
|
3618
|
+
* graph is valid.
|
|
3619
|
+
*/
|
|
3846
3620
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3847
3621
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3848
3622
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3854,15 +3628,7 @@ declare const InteractiveGraph: {
|
|
|
3854
3628
|
[widgetId: string]: any;
|
|
3855
3629
|
}) => void) | undefined;
|
|
3856
3630
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3857
|
-
imagePlaceholder?: React.ReactNode;
|
|
3858
|
-
* The current correct answer for the graph. Updated by this component
|
|
3859
|
-
* when the graph is changed.
|
|
3860
|
-
*
|
|
3861
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3862
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3863
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3864
|
-
* editor page.
|
|
3865
|
-
*/
|
|
3631
|
+
imagePlaceholder?: React.ReactNode;
|
|
3866
3632
|
widgetPlaceholder?: React.ReactNode;
|
|
3867
3633
|
baseElements?: {
|
|
3868
3634
|
Link: React.ComponentType<any>;
|
|
@@ -3922,7 +3688,10 @@ declare const InteractiveGraph: {
|
|
|
3922
3688
|
static: boolean | null | undefined;
|
|
3923
3689
|
problemNum: number | null | undefined;
|
|
3924
3690
|
apiOptions: Readonly<Readonly<{
|
|
3925
|
-
isArticle?: boolean | undefined;
|
|
3691
|
+
isArticle?: boolean | undefined; /**
|
|
3692
|
+
* An error message to display in the graph area, or true if the
|
|
3693
|
+
* graph is valid.
|
|
3694
|
+
*/
|
|
3926
3695
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
3927
3696
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
3928
3697
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -3934,15 +3703,7 @@ declare const InteractiveGraph: {
|
|
|
3934
3703
|
[widgetId: string]: any;
|
|
3935
3704
|
}) => void) | undefined;
|
|
3936
3705
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
3937
|
-
imagePlaceholder?: React.ReactNode;
|
|
3938
|
-
* The current correct answer for the graph. Updated by this component
|
|
3939
|
-
* when the graph is changed.
|
|
3940
|
-
*
|
|
3941
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3942
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3943
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3944
|
-
* editor page.
|
|
3945
|
-
*/
|
|
3706
|
+
imagePlaceholder?: React.ReactNode;
|
|
3946
3707
|
widgetPlaceholder?: React.ReactNode;
|
|
3947
3708
|
baseElements?: {
|
|
3948
3709
|
Link: React.ComponentType<any>;
|
|
@@ -4002,7 +3763,10 @@ declare const InteractiveGraph: {
|
|
|
4002
3763
|
static: boolean | null | undefined;
|
|
4003
3764
|
problemNum: number | null | undefined;
|
|
4004
3765
|
apiOptions: Readonly<Readonly<{
|
|
4005
|
-
isArticle?: boolean | undefined;
|
|
3766
|
+
isArticle?: boolean | undefined; /**
|
|
3767
|
+
* An error message to display in the graph area, or true if the
|
|
3768
|
+
* graph is valid.
|
|
3769
|
+
*/
|
|
4006
3770
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4007
3771
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4008
3772
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4014,15 +3778,7 @@ declare const InteractiveGraph: {
|
|
|
4014
3778
|
[widgetId: string]: any;
|
|
4015
3779
|
}) => void) | undefined;
|
|
4016
3780
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4017
|
-
imagePlaceholder?: React.ReactNode;
|
|
4018
|
-
* The current correct answer for the graph. Updated by this component
|
|
4019
|
-
* when the graph is changed.
|
|
4020
|
-
*
|
|
4021
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4022
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4023
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4024
|
-
* editor page.
|
|
4025
|
-
*/
|
|
3781
|
+
imagePlaceholder?: React.ReactNode;
|
|
4026
3782
|
widgetPlaceholder?: React.ReactNode;
|
|
4027
3783
|
baseElements?: {
|
|
4028
3784
|
Link: React.ComponentType<any>;
|
|
@@ -4082,7 +3838,10 @@ declare const InteractiveGraph: {
|
|
|
4082
3838
|
static: boolean | null | undefined;
|
|
4083
3839
|
problemNum: number | null | undefined;
|
|
4084
3840
|
apiOptions: Readonly<Readonly<{
|
|
4085
|
-
isArticle?: boolean | undefined;
|
|
3841
|
+
isArticle?: boolean | undefined; /**
|
|
3842
|
+
* An error message to display in the graph area, or true if the
|
|
3843
|
+
* graph is valid.
|
|
3844
|
+
*/
|
|
4086
3845
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4087
3846
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4088
3847
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4094,15 +3853,7 @@ declare const InteractiveGraph: {
|
|
|
4094
3853
|
[widgetId: string]: any;
|
|
4095
3854
|
}) => void) | undefined;
|
|
4096
3855
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4097
|
-
imagePlaceholder?: React.ReactNode;
|
|
4098
|
-
* The current correct answer for the graph. Updated by this component
|
|
4099
|
-
* when the graph is changed.
|
|
4100
|
-
*
|
|
4101
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4102
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4103
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4104
|
-
* editor page.
|
|
4105
|
-
*/
|
|
3856
|
+
imagePlaceholder?: React.ReactNode;
|
|
4106
3857
|
widgetPlaceholder?: React.ReactNode;
|
|
4107
3858
|
baseElements?: {
|
|
4108
3859
|
Link: React.ComponentType<any>;
|
|
@@ -4162,7 +3913,10 @@ declare const InteractiveGraph: {
|
|
|
4162
3913
|
static: boolean | null | undefined;
|
|
4163
3914
|
problemNum: number | null | undefined;
|
|
4164
3915
|
apiOptions: Readonly<Readonly<{
|
|
4165
|
-
isArticle?: boolean | undefined;
|
|
3916
|
+
isArticle?: boolean | undefined; /**
|
|
3917
|
+
* An error message to display in the graph area, or true if the
|
|
3918
|
+
* graph is valid.
|
|
3919
|
+
*/
|
|
4166
3920
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4167
3921
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4168
3922
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4174,15 +3928,7 @@ declare const InteractiveGraph: {
|
|
|
4174
3928
|
[widgetId: string]: any;
|
|
4175
3929
|
}) => void) | undefined;
|
|
4176
3930
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4177
|
-
imagePlaceholder?: React.ReactNode;
|
|
4178
|
-
* The current correct answer for the graph. Updated by this component
|
|
4179
|
-
* when the graph is changed.
|
|
4180
|
-
*
|
|
4181
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4182
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4183
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4184
|
-
* editor page.
|
|
4185
|
-
*/
|
|
3931
|
+
imagePlaceholder?: React.ReactNode;
|
|
4186
3932
|
widgetPlaceholder?: React.ReactNode;
|
|
4187
3933
|
baseElements?: {
|
|
4188
3934
|
Link: React.ComponentType<any>;
|
|
@@ -4242,7 +3988,10 @@ declare const InteractiveGraph: {
|
|
|
4242
3988
|
static: boolean | null | undefined;
|
|
4243
3989
|
problemNum: number | null | undefined;
|
|
4244
3990
|
apiOptions: Readonly<Readonly<{
|
|
4245
|
-
isArticle?: boolean | undefined;
|
|
3991
|
+
isArticle?: boolean | undefined; /**
|
|
3992
|
+
* An error message to display in the graph area, or true if the
|
|
3993
|
+
* graph is valid.
|
|
3994
|
+
*/
|
|
4246
3995
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4247
3996
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4248
3997
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4254,15 +4003,7 @@ declare const InteractiveGraph: {
|
|
|
4254
4003
|
[widgetId: string]: any;
|
|
4255
4004
|
}) => void) | undefined;
|
|
4256
4005
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4257
|
-
imagePlaceholder?: React.ReactNode;
|
|
4258
|
-
* The current correct answer for the graph. Updated by this component
|
|
4259
|
-
* when the graph is changed.
|
|
4260
|
-
*
|
|
4261
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4262
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4263
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4264
|
-
* editor page.
|
|
4265
|
-
*/
|
|
4006
|
+
imagePlaceholder?: React.ReactNode;
|
|
4266
4007
|
widgetPlaceholder?: React.ReactNode;
|
|
4267
4008
|
baseElements?: {
|
|
4268
4009
|
Link: React.ComponentType<any>;
|
|
@@ -4322,7 +4063,10 @@ declare const InteractiveGraph: {
|
|
|
4322
4063
|
static: boolean | null | undefined;
|
|
4323
4064
|
problemNum: number | null | undefined;
|
|
4324
4065
|
apiOptions: Readonly<Readonly<{
|
|
4325
|
-
isArticle?: boolean | undefined;
|
|
4066
|
+
isArticle?: boolean | undefined; /**
|
|
4067
|
+
* An error message to display in the graph area, or true if the
|
|
4068
|
+
* graph is valid.
|
|
4069
|
+
*/
|
|
4326
4070
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4327
4071
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4328
4072
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4334,15 +4078,7 @@ declare const InteractiveGraph: {
|
|
|
4334
4078
|
[widgetId: string]: any;
|
|
4335
4079
|
}) => void) | undefined;
|
|
4336
4080
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4337
|
-
imagePlaceholder?: React.ReactNode;
|
|
4338
|
-
* The current correct answer for the graph. Updated by this component
|
|
4339
|
-
* when the graph is changed.
|
|
4340
|
-
*
|
|
4341
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4342
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4343
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4344
|
-
* editor page.
|
|
4345
|
-
*/
|
|
4081
|
+
imagePlaceholder?: React.ReactNode;
|
|
4346
4082
|
widgetPlaceholder?: React.ReactNode;
|
|
4347
4083
|
baseElements?: {
|
|
4348
4084
|
Link: React.ComponentType<any>;
|
|
@@ -4402,7 +4138,10 @@ declare const InteractiveGraph: {
|
|
|
4402
4138
|
static: boolean | null | undefined;
|
|
4403
4139
|
problemNum: number | null | undefined;
|
|
4404
4140
|
apiOptions: Readonly<Readonly<{
|
|
4405
|
-
isArticle?: boolean | undefined;
|
|
4141
|
+
isArticle?: boolean | undefined; /**
|
|
4142
|
+
* An error message to display in the graph area, or true if the
|
|
4143
|
+
* graph is valid.
|
|
4144
|
+
*/
|
|
4406
4145
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4407
4146
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4408
4147
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4414,15 +4153,7 @@ declare const InteractiveGraph: {
|
|
|
4414
4153
|
[widgetId: string]: any;
|
|
4415
4154
|
}) => void) | undefined;
|
|
4416
4155
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4417
|
-
imagePlaceholder?: React.ReactNode;
|
|
4418
|
-
* The current correct answer for the graph. Updated by this component
|
|
4419
|
-
* when the graph is changed.
|
|
4420
|
-
*
|
|
4421
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4422
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4423
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4424
|
-
* editor page.
|
|
4425
|
-
*/
|
|
4156
|
+
imagePlaceholder?: React.ReactNode;
|
|
4426
4157
|
widgetPlaceholder?: React.ReactNode;
|
|
4427
4158
|
baseElements?: {
|
|
4428
4159
|
Link: React.ComponentType<any>;
|
|
@@ -4482,7 +4213,10 @@ declare const InteractiveGraph: {
|
|
|
4482
4213
|
static: boolean | null | undefined;
|
|
4483
4214
|
problemNum: number | null | undefined;
|
|
4484
4215
|
apiOptions: Readonly<Readonly<{
|
|
4485
|
-
isArticle?: boolean | undefined;
|
|
4216
|
+
isArticle?: boolean | undefined; /**
|
|
4217
|
+
* An error message to display in the graph area, or true if the
|
|
4218
|
+
* graph is valid.
|
|
4219
|
+
*/
|
|
4486
4220
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4487
4221
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4488
4222
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4494,15 +4228,7 @@ declare const InteractiveGraph: {
|
|
|
4494
4228
|
[widgetId: string]: any;
|
|
4495
4229
|
}) => void) | undefined;
|
|
4496
4230
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4497
|
-
imagePlaceholder?: React.ReactNode;
|
|
4498
|
-
* The current correct answer for the graph. Updated by this component
|
|
4499
|
-
* when the graph is changed.
|
|
4500
|
-
*
|
|
4501
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4502
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4503
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4504
|
-
* editor page.
|
|
4505
|
-
*/
|
|
4231
|
+
imagePlaceholder?: React.ReactNode;
|
|
4506
4232
|
widgetPlaceholder?: React.ReactNode;
|
|
4507
4233
|
baseElements?: {
|
|
4508
4234
|
Link: React.ComponentType<any>;
|
|
@@ -4562,7 +4288,10 @@ declare const InteractiveGraph: {
|
|
|
4562
4288
|
static: boolean | null | undefined;
|
|
4563
4289
|
problemNum: number | null | undefined;
|
|
4564
4290
|
apiOptions: Readonly<Readonly<{
|
|
4565
|
-
isArticle?: boolean | undefined;
|
|
4291
|
+
isArticle?: boolean | undefined; /**
|
|
4292
|
+
* An error message to display in the graph area, or true if the
|
|
4293
|
+
* graph is valid.
|
|
4294
|
+
*/
|
|
4566
4295
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4567
4296
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4568
4297
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4574,15 +4303,7 @@ declare const InteractiveGraph: {
|
|
|
4574
4303
|
[widgetId: string]: any;
|
|
4575
4304
|
}) => void) | undefined;
|
|
4576
4305
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4577
|
-
imagePlaceholder?: React.ReactNode;
|
|
4578
|
-
* The current correct answer for the graph. Updated by this component
|
|
4579
|
-
* when the graph is changed.
|
|
4580
|
-
*
|
|
4581
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4582
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4583
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4584
|
-
* editor page.
|
|
4585
|
-
*/
|
|
4306
|
+
imagePlaceholder?: React.ReactNode;
|
|
4586
4307
|
widgetPlaceholder?: React.ReactNode;
|
|
4587
4308
|
baseElements?: {
|
|
4588
4309
|
Link: React.ComponentType<any>;
|
|
@@ -4642,7 +4363,10 @@ declare const InteractiveGraph: {
|
|
|
4642
4363
|
static: boolean | null | undefined;
|
|
4643
4364
|
problemNum: number | null | undefined;
|
|
4644
4365
|
apiOptions: Readonly<Readonly<{
|
|
4645
|
-
isArticle?: boolean | undefined;
|
|
4366
|
+
isArticle?: boolean | undefined; /**
|
|
4367
|
+
* An error message to display in the graph area, or true if the
|
|
4368
|
+
* graph is valid.
|
|
4369
|
+
*/
|
|
4646
4370
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4647
4371
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4648
4372
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4654,15 +4378,7 @@ declare const InteractiveGraph: {
|
|
|
4654
4378
|
[widgetId: string]: any;
|
|
4655
4379
|
}) => void) | undefined;
|
|
4656
4380
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4657
|
-
imagePlaceholder?: React.ReactNode;
|
|
4658
|
-
* The current correct answer for the graph. Updated by this component
|
|
4659
|
-
* when the graph is changed.
|
|
4660
|
-
*
|
|
4661
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4662
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4663
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4664
|
-
* editor page.
|
|
4665
|
-
*/
|
|
4381
|
+
imagePlaceholder?: React.ReactNode;
|
|
4666
4382
|
widgetPlaceholder?: React.ReactNode;
|
|
4667
4383
|
baseElements?: {
|
|
4668
4384
|
Link: React.ComponentType<any>;
|
|
@@ -4722,7 +4438,10 @@ declare const InteractiveGraph: {
|
|
|
4722
4438
|
static: boolean | null | undefined;
|
|
4723
4439
|
problemNum: number | null | undefined;
|
|
4724
4440
|
apiOptions: Readonly<Readonly<{
|
|
4725
|
-
isArticle?: boolean | undefined;
|
|
4441
|
+
isArticle?: boolean | undefined; /**
|
|
4442
|
+
* An error message to display in the graph area, or true if the
|
|
4443
|
+
* graph is valid.
|
|
4444
|
+
*/
|
|
4726
4445
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4727
4446
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4728
4447
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4734,15 +4453,7 @@ declare const InteractiveGraph: {
|
|
|
4734
4453
|
[widgetId: string]: any;
|
|
4735
4454
|
}) => void) | undefined;
|
|
4736
4455
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4737
|
-
imagePlaceholder?: React.ReactNode;
|
|
4738
|
-
* The current correct answer for the graph. Updated by this component
|
|
4739
|
-
* when the graph is changed.
|
|
4740
|
-
*
|
|
4741
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4742
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4743
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4744
|
-
* editor page.
|
|
4745
|
-
*/
|
|
4456
|
+
imagePlaceholder?: React.ReactNode;
|
|
4746
4457
|
widgetPlaceholder?: React.ReactNode;
|
|
4747
4458
|
baseElements?: {
|
|
4748
4459
|
Link: React.ComponentType<any>;
|
|
@@ -4802,7 +4513,10 @@ declare const InteractiveGraph: {
|
|
|
4802
4513
|
static: boolean | null | undefined;
|
|
4803
4514
|
problemNum: number | null | undefined;
|
|
4804
4515
|
apiOptions: Readonly<Readonly<{
|
|
4805
|
-
isArticle?: boolean | undefined;
|
|
4516
|
+
isArticle?: boolean | undefined; /**
|
|
4517
|
+
* An error message to display in the graph area, or true if the
|
|
4518
|
+
* graph is valid.
|
|
4519
|
+
*/
|
|
4806
4520
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4807
4521
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4808
4522
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4814,15 +4528,7 @@ declare const InteractiveGraph: {
|
|
|
4814
4528
|
[widgetId: string]: any;
|
|
4815
4529
|
}) => void) | undefined;
|
|
4816
4530
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4817
|
-
imagePlaceholder?: React.ReactNode;
|
|
4818
|
-
* The current correct answer for the graph. Updated by this component
|
|
4819
|
-
* when the graph is changed.
|
|
4820
|
-
*
|
|
4821
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4822
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4823
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4824
|
-
* editor page.
|
|
4825
|
-
*/
|
|
4531
|
+
imagePlaceholder?: React.ReactNode;
|
|
4826
4532
|
widgetPlaceholder?: React.ReactNode;
|
|
4827
4533
|
baseElements?: {
|
|
4828
4534
|
Link: React.ComponentType<any>;
|
|
@@ -4882,7 +4588,10 @@ declare const InteractiveGraph: {
|
|
|
4882
4588
|
static: boolean | null | undefined;
|
|
4883
4589
|
problemNum: number | null | undefined;
|
|
4884
4590
|
apiOptions: Readonly<Readonly<{
|
|
4885
|
-
isArticle?: boolean | undefined;
|
|
4591
|
+
isArticle?: boolean | undefined; /**
|
|
4592
|
+
* An error message to display in the graph area, or true if the
|
|
4593
|
+
* graph is valid.
|
|
4594
|
+
*/
|
|
4886
4595
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4887
4596
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4888
4597
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4894,15 +4603,7 @@ declare const InteractiveGraph: {
|
|
|
4894
4603
|
[widgetId: string]: any;
|
|
4895
4604
|
}) => void) | undefined;
|
|
4896
4605
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4897
|
-
imagePlaceholder?: React.ReactNode;
|
|
4898
|
-
* The current correct answer for the graph. Updated by this component
|
|
4899
|
-
* when the graph is changed.
|
|
4900
|
-
*
|
|
4901
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4902
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4903
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4904
|
-
* editor page.
|
|
4905
|
-
*/
|
|
4606
|
+
imagePlaceholder?: React.ReactNode;
|
|
4906
4607
|
widgetPlaceholder?: React.ReactNode;
|
|
4907
4608
|
baseElements?: {
|
|
4908
4609
|
Link: React.ComponentType<any>;
|
|
@@ -4962,7 +4663,10 @@ declare const InteractiveGraph: {
|
|
|
4962
4663
|
static: boolean | null | undefined;
|
|
4963
4664
|
problemNum: number | null | undefined;
|
|
4964
4665
|
apiOptions: Readonly<Readonly<{
|
|
4965
|
-
isArticle?: boolean | undefined;
|
|
4666
|
+
isArticle?: boolean | undefined; /**
|
|
4667
|
+
* An error message to display in the graph area, or true if the
|
|
4668
|
+
* graph is valid.
|
|
4669
|
+
*/
|
|
4966
4670
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
4967
4671
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
4968
4672
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -4974,15 +4678,7 @@ declare const InteractiveGraph: {
|
|
|
4974
4678
|
[widgetId: string]: any;
|
|
4975
4679
|
}) => void) | undefined;
|
|
4976
4680
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
4977
|
-
imagePlaceholder?: React.ReactNode;
|
|
4978
|
-
* The current correct answer for the graph. Updated by this component
|
|
4979
|
-
* when the graph is changed.
|
|
4980
|
-
*
|
|
4981
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
4982
|
-
* element. Instead, it is a representation of the correct answer based
|
|
4983
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
4984
|
-
* editor page.
|
|
4985
|
-
*/
|
|
4681
|
+
imagePlaceholder?: React.ReactNode;
|
|
4986
4682
|
widgetPlaceholder?: React.ReactNode;
|
|
4987
4683
|
baseElements?: {
|
|
4988
4684
|
Link: React.ComponentType<any>;
|
|
@@ -5042,7 +4738,10 @@ declare const InteractiveGraph: {
|
|
|
5042
4738
|
static: boolean | null | undefined;
|
|
5043
4739
|
problemNum: number | null | undefined;
|
|
5044
4740
|
apiOptions: Readonly<Readonly<{
|
|
5045
|
-
isArticle?: boolean | undefined;
|
|
4741
|
+
isArticle?: boolean | undefined; /**
|
|
4742
|
+
* An error message to display in the graph area, or true if the
|
|
4743
|
+
* graph is valid.
|
|
4744
|
+
*/
|
|
5046
4745
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
5047
4746
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5048
4747
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -5054,15 +4753,7 @@ declare const InteractiveGraph: {
|
|
|
5054
4753
|
[widgetId: string]: any;
|
|
5055
4754
|
}) => void) | undefined;
|
|
5056
4755
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
5057
|
-
imagePlaceholder?: React.ReactNode;
|
|
5058
|
-
* The current correct answer for the graph. Updated by this component
|
|
5059
|
-
* when the graph is changed.
|
|
5060
|
-
*
|
|
5061
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
5062
|
-
* element. Instead, it is a representation of the correct answer based
|
|
5063
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
5064
|
-
* editor page.
|
|
5065
|
-
*/
|
|
4756
|
+
imagePlaceholder?: React.ReactNode;
|
|
5066
4757
|
widgetPlaceholder?: React.ReactNode;
|
|
5067
4758
|
baseElements?: {
|
|
5068
4759
|
Link: React.ComponentType<any>;
|
|
@@ -5123,7 +4814,10 @@ declare const InteractiveGraph: {
|
|
|
5123
4814
|
static: boolean | null | undefined;
|
|
5124
4815
|
problemNum: number | null | undefined;
|
|
5125
4816
|
apiOptions: Readonly<Readonly<{
|
|
5126
|
-
isArticle?: boolean | undefined;
|
|
4817
|
+
isArticle?: boolean | undefined; /**
|
|
4818
|
+
* An error message to display in the graph area, or true if the
|
|
4819
|
+
* graph is valid.
|
|
4820
|
+
*/
|
|
5127
4821
|
onInputError?: ((widgetId: any, value: string, message?: string | null | undefined) => unknown) | undefined;
|
|
5128
4822
|
onFocusChange?: ((newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown) | undefined;
|
|
5129
4823
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
@@ -5135,15 +4829,7 @@ declare const InteractiveGraph: {
|
|
|
5135
4829
|
[widgetId: string]: any;
|
|
5136
4830
|
}) => void) | undefined;
|
|
5137
4831
|
groupAnnotator?: ((groupNumber: number, widgetId: string) => React.ReactNode) | undefined;
|
|
5138
|
-
imagePlaceholder?: React.ReactNode;
|
|
5139
|
-
* The current correct answer for the graph. Updated by this component
|
|
5140
|
-
* when the graph is changed.
|
|
5141
|
-
*
|
|
5142
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
5143
|
-
* element. Instead, it is a representation of the correct answer based
|
|
5144
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
5145
|
-
* editor page.
|
|
5146
|
-
*/
|
|
4832
|
+
imagePlaceholder?: React.ReactNode;
|
|
5147
4833
|
widgetPlaceholder?: React.ReactNode;
|
|
5148
4834
|
baseElements?: {
|
|
5149
4835
|
Link: React.ComponentType<any>;
|