@khanacademy/perseus-editor 20.0.3 → 20.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editor-page.d.ts +2 -2
- package/dist/es/index.js +8 -12
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +8 -12
- package/dist/index.js.map +1 -1
- package/dist/widgets/expression-editor.d.ts +11 -12
- package/dist/widgets/interactive-graph-editor/interactive-graph-editor.d.ts +125 -412
- package/package.json +8 -8
- package/dist/components/sortable.d.ts +0 -42
|
@@ -28,15 +28,7 @@ declare const InteractiveGraph: {
|
|
|
28
28
|
problemNum: number | null | undefined;
|
|
29
29
|
apiOptions: Readonly<Readonly<{
|
|
30
30
|
isArticle?: boolean;
|
|
31
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
32
|
-
* The current correct answer for the graph. Updated by this component
|
|
33
|
-
* when the graph is changed.
|
|
34
|
-
*
|
|
35
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
36
|
-
* element. Instead, it is a representation of the correct answer based
|
|
37
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
38
|
-
* editor page.
|
|
39
|
-
*/: HTMLElement) => unknown;
|
|
31
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
40
32
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
41
33
|
showAlignmentOptions?: boolean;
|
|
42
34
|
readOnly?: boolean;
|
|
@@ -67,6 +59,7 @@ declare const InteractiveGraph: {
|
|
|
67
59
|
canScrollPage?: boolean;
|
|
68
60
|
crossOutEnabled?: boolean;
|
|
69
61
|
editorChangeDelay?: number;
|
|
62
|
+
flags?: Record<string, boolean>;
|
|
70
63
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
71
64
|
}> & {
|
|
72
65
|
baseElements: NonNullable<{
|
|
@@ -88,7 +81,7 @@ declare const InteractiveGraph: {
|
|
|
88
81
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
89
82
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
90
83
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
91
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
84
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
92
85
|
reviewMode: boolean;
|
|
93
86
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
94
87
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -97,7 +90,7 @@ declare const InteractiveGraph: {
|
|
|
97
90
|
containerSizeClass: import("../../../../perseus/src/util/sizing-utils").SizeClass;
|
|
98
91
|
}): {
|
|
99
92
|
mafsRef: React.RefObject<import("../../../../perseus/src/widgets/interactive-graphs/stateful-mafs-graph").StatefulMafsGraphType>;
|
|
100
|
-
getUserInput(): import("@khanacademy/perseus-
|
|
93
|
+
getUserInput(): import("@khanacademy/perseus-core").PerseusInteractiveGraphUserInput;
|
|
101
94
|
getPromptJSON(): import("../../../../perseus/src/widget-ai-utils/interactive-graph/interactive-graph-ai-utils").InteractiveGraphPromptJSON | import("../../../../perseus/src/widget-ai-utils/unsupported-widget").UnsupportedWidgetPromptJSON;
|
|
102
95
|
render(): React.JSX.Element;
|
|
103
96
|
context: unknown;
|
|
@@ -128,15 +121,7 @@ declare const InteractiveGraph: {
|
|
|
128
121
|
problemNum: number | null | undefined;
|
|
129
122
|
apiOptions: Readonly<Readonly<{
|
|
130
123
|
isArticle?: boolean;
|
|
131
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
132
|
-
* The current correct answer for the graph. Updated by this component
|
|
133
|
-
* when the graph is changed.
|
|
134
|
-
*
|
|
135
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
136
|
-
* element. Instead, it is a representation of the correct answer based
|
|
137
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
138
|
-
* editor page.
|
|
139
|
-
*/: HTMLElement) => unknown;
|
|
124
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
140
125
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
141
126
|
showAlignmentOptions?: boolean;
|
|
142
127
|
readOnly?: boolean;
|
|
@@ -167,6 +152,7 @@ declare const InteractiveGraph: {
|
|
|
167
152
|
canScrollPage?: boolean;
|
|
168
153
|
crossOutEnabled?: boolean;
|
|
169
154
|
editorChangeDelay?: number;
|
|
155
|
+
flags?: Record<string, boolean>;
|
|
170
156
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
171
157
|
}> & {
|
|
172
158
|
baseElements: NonNullable<{
|
|
@@ -188,7 +174,7 @@ declare const InteractiveGraph: {
|
|
|
188
174
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
189
175
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
190
176
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
191
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
177
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
192
178
|
reviewMode: boolean;
|
|
193
179
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
194
180
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -226,15 +212,7 @@ declare const InteractiveGraph: {
|
|
|
226
212
|
problemNum: number | null | undefined;
|
|
227
213
|
apiOptions: Readonly<Readonly<{
|
|
228
214
|
isArticle?: boolean;
|
|
229
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
230
|
-
* The current correct answer for the graph. Updated by this component
|
|
231
|
-
* when the graph is changed.
|
|
232
|
-
*
|
|
233
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
234
|
-
* element. Instead, it is a representation of the correct answer based
|
|
235
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
236
|
-
* editor page.
|
|
237
|
-
*/: HTMLElement) => unknown;
|
|
215
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
238
216
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
239
217
|
showAlignmentOptions?: boolean;
|
|
240
218
|
readOnly?: boolean;
|
|
@@ -265,6 +243,7 @@ declare const InteractiveGraph: {
|
|
|
265
243
|
canScrollPage?: boolean;
|
|
266
244
|
crossOutEnabled?: boolean;
|
|
267
245
|
editorChangeDelay?: number;
|
|
246
|
+
flags?: Record<string, boolean>;
|
|
268
247
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
269
248
|
}> & {
|
|
270
249
|
baseElements: NonNullable<{
|
|
@@ -286,7 +265,7 @@ declare const InteractiveGraph: {
|
|
|
286
265
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
287
266
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
288
267
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
289
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
268
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
290
269
|
reviewMode: boolean;
|
|
291
270
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
292
271
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -321,15 +300,7 @@ declare const InteractiveGraph: {
|
|
|
321
300
|
problemNum: number | null | undefined;
|
|
322
301
|
apiOptions: Readonly<Readonly<{
|
|
323
302
|
isArticle?: boolean;
|
|
324
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
325
|
-
* The current correct answer for the graph. Updated by this component
|
|
326
|
-
* when the graph is changed.
|
|
327
|
-
*
|
|
328
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
329
|
-
* element. Instead, it is a representation of the correct answer based
|
|
330
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
331
|
-
* editor page.
|
|
332
|
-
*/: HTMLElement) => unknown;
|
|
303
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
333
304
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
334
305
|
showAlignmentOptions?: boolean;
|
|
335
306
|
readOnly?: boolean;
|
|
@@ -360,6 +331,7 @@ declare const InteractiveGraph: {
|
|
|
360
331
|
canScrollPage?: boolean;
|
|
361
332
|
crossOutEnabled?: boolean;
|
|
362
333
|
editorChangeDelay?: number;
|
|
334
|
+
flags?: Record<string, boolean>;
|
|
363
335
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
364
336
|
}> & {
|
|
365
337
|
baseElements: NonNullable<{
|
|
@@ -381,7 +353,7 @@ declare const InteractiveGraph: {
|
|
|
381
353
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
382
354
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
383
355
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
384
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
356
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
385
357
|
reviewMode: boolean;
|
|
386
358
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
387
359
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -414,15 +386,7 @@ declare const InteractiveGraph: {
|
|
|
414
386
|
problemNum: number | null | undefined;
|
|
415
387
|
apiOptions: Readonly<Readonly<{
|
|
416
388
|
isArticle?: boolean;
|
|
417
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
418
|
-
* The current correct answer for the graph. Updated by this component
|
|
419
|
-
* when the graph is changed.
|
|
420
|
-
*
|
|
421
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
422
|
-
* element. Instead, it is a representation of the correct answer based
|
|
423
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
424
|
-
* editor page.
|
|
425
|
-
*/: HTMLElement) => unknown;
|
|
389
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
426
390
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
427
391
|
showAlignmentOptions?: boolean;
|
|
428
392
|
readOnly?: boolean;
|
|
@@ -453,6 +417,7 @@ declare const InteractiveGraph: {
|
|
|
453
417
|
canScrollPage?: boolean;
|
|
454
418
|
crossOutEnabled?: boolean;
|
|
455
419
|
editorChangeDelay?: number;
|
|
420
|
+
flags?: Record<string, boolean>;
|
|
456
421
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
457
422
|
}> & {
|
|
458
423
|
baseElements: NonNullable<{
|
|
@@ -474,7 +439,7 @@ declare const InteractiveGraph: {
|
|
|
474
439
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
475
440
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
476
441
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
477
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
442
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
478
443
|
reviewMode: boolean;
|
|
479
444
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
480
445
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -509,15 +474,7 @@ declare const InteractiveGraph: {
|
|
|
509
474
|
problemNum: number | null | undefined;
|
|
510
475
|
apiOptions: Readonly<Readonly<{
|
|
511
476
|
isArticle?: boolean;
|
|
512
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
513
|
-
* The current correct answer for the graph. Updated by this component
|
|
514
|
-
* when the graph is changed.
|
|
515
|
-
*
|
|
516
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
517
|
-
* element. Instead, it is a representation of the correct answer based
|
|
518
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
519
|
-
* editor page.
|
|
520
|
-
*/: HTMLElement) => unknown;
|
|
477
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
521
478
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
522
479
|
showAlignmentOptions?: boolean;
|
|
523
480
|
readOnly?: boolean;
|
|
@@ -548,6 +505,7 @@ declare const InteractiveGraph: {
|
|
|
548
505
|
canScrollPage?: boolean;
|
|
549
506
|
crossOutEnabled?: boolean;
|
|
550
507
|
editorChangeDelay?: number;
|
|
508
|
+
flags?: Record<string, boolean>;
|
|
551
509
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
552
510
|
}> & {
|
|
553
511
|
baseElements: NonNullable<{
|
|
@@ -569,7 +527,7 @@ declare const InteractiveGraph: {
|
|
|
569
527
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
570
528
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
571
529
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
572
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
530
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
573
531
|
reviewMode: boolean;
|
|
574
532
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
575
533
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -602,15 +560,7 @@ declare const InteractiveGraph: {
|
|
|
602
560
|
problemNum: number | null | undefined;
|
|
603
561
|
apiOptions: Readonly<Readonly<{
|
|
604
562
|
isArticle?: boolean;
|
|
605
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
606
|
-
* The current correct answer for the graph. Updated by this component
|
|
607
|
-
* when the graph is changed.
|
|
608
|
-
*
|
|
609
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
610
|
-
* element. Instead, it is a representation of the correct answer based
|
|
611
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
612
|
-
* editor page.
|
|
613
|
-
*/: HTMLElement) => unknown;
|
|
563
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
614
564
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
615
565
|
showAlignmentOptions?: boolean;
|
|
616
566
|
readOnly?: boolean;
|
|
@@ -641,6 +591,7 @@ declare const InteractiveGraph: {
|
|
|
641
591
|
canScrollPage?: boolean;
|
|
642
592
|
crossOutEnabled?: boolean;
|
|
643
593
|
editorChangeDelay?: number;
|
|
594
|
+
flags?: Record<string, boolean>;
|
|
644
595
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
645
596
|
}> & {
|
|
646
597
|
baseElements: NonNullable<{
|
|
@@ -662,7 +613,7 @@ declare const InteractiveGraph: {
|
|
|
662
613
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
663
614
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
664
615
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
665
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
616
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
666
617
|
reviewMode: boolean;
|
|
667
618
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
668
619
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -695,15 +646,7 @@ declare const InteractiveGraph: {
|
|
|
695
646
|
problemNum: number | null | undefined;
|
|
696
647
|
apiOptions: Readonly<Readonly<{
|
|
697
648
|
isArticle?: boolean;
|
|
698
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
699
|
-
* The current correct answer for the graph. Updated by this component
|
|
700
|
-
* when the graph is changed.
|
|
701
|
-
*
|
|
702
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
703
|
-
* element. Instead, it is a representation of the correct answer based
|
|
704
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
705
|
-
* editor page.
|
|
706
|
-
*/: HTMLElement) => unknown;
|
|
649
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
707
650
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
708
651
|
showAlignmentOptions?: boolean;
|
|
709
652
|
readOnly?: boolean;
|
|
@@ -734,6 +677,7 @@ declare const InteractiveGraph: {
|
|
|
734
677
|
canScrollPage?: boolean;
|
|
735
678
|
crossOutEnabled?: boolean;
|
|
736
679
|
editorChangeDelay?: number;
|
|
680
|
+
flags?: Record<string, boolean>;
|
|
737
681
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
738
682
|
}> & {
|
|
739
683
|
baseElements: NonNullable<{
|
|
@@ -755,7 +699,7 @@ declare const InteractiveGraph: {
|
|
|
755
699
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
756
700
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
757
701
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
758
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
702
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
759
703
|
reviewMode: boolean;
|
|
760
704
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
761
705
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -788,15 +732,7 @@ declare const InteractiveGraph: {
|
|
|
788
732
|
problemNum: number | null | undefined;
|
|
789
733
|
apiOptions: Readonly<Readonly<{
|
|
790
734
|
isArticle?: boolean;
|
|
791
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
792
|
-
* The current correct answer for the graph. Updated by this component
|
|
793
|
-
* when the graph is changed.
|
|
794
|
-
*
|
|
795
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
796
|
-
* element. Instead, it is a representation of the correct answer based
|
|
797
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
798
|
-
* editor page.
|
|
799
|
-
*/: HTMLElement) => unknown;
|
|
735
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
800
736
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
801
737
|
showAlignmentOptions?: boolean;
|
|
802
738
|
readOnly?: boolean;
|
|
@@ -827,6 +763,7 @@ declare const InteractiveGraph: {
|
|
|
827
763
|
canScrollPage?: boolean;
|
|
828
764
|
crossOutEnabled?: boolean;
|
|
829
765
|
editorChangeDelay?: number;
|
|
766
|
+
flags?: Record<string, boolean>;
|
|
830
767
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
831
768
|
}> & {
|
|
832
769
|
baseElements: NonNullable<{
|
|
@@ -848,7 +785,7 @@ declare const InteractiveGraph: {
|
|
|
848
785
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
849
786
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
850
787
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
851
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
788
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
852
789
|
reviewMode: boolean;
|
|
853
790
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
854
791
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -882,15 +819,7 @@ declare const InteractiveGraph: {
|
|
|
882
819
|
problemNum: number | null | undefined;
|
|
883
820
|
apiOptions: Readonly<Readonly<{
|
|
884
821
|
isArticle?: boolean;
|
|
885
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
886
|
-
* The current correct answer for the graph. Updated by this component
|
|
887
|
-
* when the graph is changed.
|
|
888
|
-
*
|
|
889
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
890
|
-
* element. Instead, it is a representation of the correct answer based
|
|
891
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
892
|
-
* editor page.
|
|
893
|
-
*/: HTMLElement) => unknown;
|
|
822
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
894
823
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
895
824
|
showAlignmentOptions?: boolean;
|
|
896
825
|
readOnly?: boolean;
|
|
@@ -921,6 +850,7 @@ declare const InteractiveGraph: {
|
|
|
921
850
|
canScrollPage?: boolean;
|
|
922
851
|
crossOutEnabled?: boolean;
|
|
923
852
|
editorChangeDelay?: number;
|
|
853
|
+
flags?: Record<string, boolean>;
|
|
924
854
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
925
855
|
}> & {
|
|
926
856
|
baseElements: NonNullable<{
|
|
@@ -942,7 +872,7 @@ declare const InteractiveGraph: {
|
|
|
942
872
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
943
873
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
944
874
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
945
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
875
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
946
876
|
reviewMode: boolean;
|
|
947
877
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
948
878
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -951,7 +881,7 @@ declare const InteractiveGraph: {
|
|
|
951
881
|
containerSizeClass: import("../../../../perseus/src/util/sizing-utils").SizeClass;
|
|
952
882
|
}, context: any): {
|
|
953
883
|
mafsRef: React.RefObject<import("../../../../perseus/src/widgets/interactive-graphs/stateful-mafs-graph").StatefulMafsGraphType>;
|
|
954
|
-
getUserInput(): import("@khanacademy/perseus-
|
|
884
|
+
getUserInput(): import("@khanacademy/perseus-core").PerseusInteractiveGraphUserInput;
|
|
955
885
|
getPromptJSON(): import("../../../../perseus/src/widget-ai-utils/interactive-graph/interactive-graph-ai-utils").InteractiveGraphPromptJSON | import("../../../../perseus/src/widget-ai-utils/unsupported-widget").UnsupportedWidgetPromptJSON;
|
|
956
886
|
render(): React.JSX.Element;
|
|
957
887
|
context: unknown;
|
|
@@ -982,15 +912,7 @@ declare const InteractiveGraph: {
|
|
|
982
912
|
problemNum: number | null | undefined;
|
|
983
913
|
apiOptions: Readonly<Readonly<{
|
|
984
914
|
isArticle?: boolean;
|
|
985
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
986
|
-
* The current correct answer for the graph. Updated by this component
|
|
987
|
-
* when the graph is changed.
|
|
988
|
-
*
|
|
989
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
990
|
-
* element. Instead, it is a representation of the correct answer based
|
|
991
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
992
|
-
* editor page.
|
|
993
|
-
*/: HTMLElement) => unknown;
|
|
915
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
994
916
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
995
917
|
showAlignmentOptions?: boolean;
|
|
996
918
|
readOnly?: boolean;
|
|
@@ -1021,6 +943,7 @@ declare const InteractiveGraph: {
|
|
|
1021
943
|
canScrollPage?: boolean;
|
|
1022
944
|
crossOutEnabled?: boolean;
|
|
1023
945
|
editorChangeDelay?: number;
|
|
946
|
+
flags?: Record<string, boolean>;
|
|
1024
947
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1025
948
|
}> & {
|
|
1026
949
|
baseElements: NonNullable<{
|
|
@@ -1042,7 +965,7 @@ declare const InteractiveGraph: {
|
|
|
1042
965
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1043
966
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1044
967
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1045
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
968
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1046
969
|
reviewMode: boolean;
|
|
1047
970
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1048
971
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1080,15 +1003,7 @@ declare const InteractiveGraph: {
|
|
|
1080
1003
|
problemNum: number | null | undefined;
|
|
1081
1004
|
apiOptions: Readonly<Readonly<{
|
|
1082
1005
|
isArticle?: boolean;
|
|
1083
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1084
|
-
* The current correct answer for the graph. Updated by this component
|
|
1085
|
-
* when the graph is changed.
|
|
1086
|
-
*
|
|
1087
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1088
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1089
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1090
|
-
* editor page.
|
|
1091
|
-
*/: HTMLElement) => unknown;
|
|
1006
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1092
1007
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1093
1008
|
showAlignmentOptions?: boolean;
|
|
1094
1009
|
readOnly?: boolean;
|
|
@@ -1119,6 +1034,7 @@ declare const InteractiveGraph: {
|
|
|
1119
1034
|
canScrollPage?: boolean;
|
|
1120
1035
|
crossOutEnabled?: boolean;
|
|
1121
1036
|
editorChangeDelay?: number;
|
|
1037
|
+
flags?: Record<string, boolean>;
|
|
1122
1038
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1123
1039
|
}> & {
|
|
1124
1040
|
baseElements: NonNullable<{
|
|
@@ -1140,7 +1056,7 @@ declare const InteractiveGraph: {
|
|
|
1140
1056
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1141
1057
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1142
1058
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1143
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1059
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1144
1060
|
reviewMode: boolean;
|
|
1145
1061
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1146
1062
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1175,15 +1091,7 @@ declare const InteractiveGraph: {
|
|
|
1175
1091
|
problemNum: number | null | undefined;
|
|
1176
1092
|
apiOptions: Readonly<Readonly<{
|
|
1177
1093
|
isArticle?: boolean;
|
|
1178
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1179
|
-
* The current correct answer for the graph. Updated by this component
|
|
1180
|
-
* when the graph is changed.
|
|
1181
|
-
*
|
|
1182
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1183
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1184
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1185
|
-
* editor page.
|
|
1186
|
-
*/: HTMLElement) => unknown;
|
|
1094
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1187
1095
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1188
1096
|
showAlignmentOptions?: boolean;
|
|
1189
1097
|
readOnly?: boolean;
|
|
@@ -1214,6 +1122,7 @@ declare const InteractiveGraph: {
|
|
|
1214
1122
|
canScrollPage?: boolean;
|
|
1215
1123
|
crossOutEnabled?: boolean;
|
|
1216
1124
|
editorChangeDelay?: number;
|
|
1125
|
+
flags?: Record<string, boolean>;
|
|
1217
1126
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1218
1127
|
}> & {
|
|
1219
1128
|
baseElements: NonNullable<{
|
|
@@ -1235,7 +1144,7 @@ declare const InteractiveGraph: {
|
|
|
1235
1144
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1236
1145
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1237
1146
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1238
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1147
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1239
1148
|
reviewMode: boolean;
|
|
1240
1149
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1241
1150
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1268,15 +1177,7 @@ declare const InteractiveGraph: {
|
|
|
1268
1177
|
problemNum: number | null | undefined;
|
|
1269
1178
|
apiOptions: Readonly<Readonly<{
|
|
1270
1179
|
isArticle?: boolean;
|
|
1271
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1272
|
-
* The current correct answer for the graph. Updated by this component
|
|
1273
|
-
* when the graph is changed.
|
|
1274
|
-
*
|
|
1275
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1276
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1277
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1278
|
-
* editor page.
|
|
1279
|
-
*/: HTMLElement) => unknown;
|
|
1180
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1280
1181
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1281
1182
|
showAlignmentOptions?: boolean;
|
|
1282
1183
|
readOnly?: boolean;
|
|
@@ -1307,6 +1208,7 @@ declare const InteractiveGraph: {
|
|
|
1307
1208
|
canScrollPage?: boolean;
|
|
1308
1209
|
crossOutEnabled?: boolean;
|
|
1309
1210
|
editorChangeDelay?: number;
|
|
1211
|
+
flags?: Record<string, boolean>;
|
|
1310
1212
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1311
1213
|
}> & {
|
|
1312
1214
|
baseElements: NonNullable<{
|
|
@@ -1328,7 +1230,7 @@ declare const InteractiveGraph: {
|
|
|
1328
1230
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1329
1231
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1330
1232
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1331
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1233
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1332
1234
|
reviewMode: boolean;
|
|
1333
1235
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1334
1236
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1363,15 +1265,7 @@ declare const InteractiveGraph: {
|
|
|
1363
1265
|
problemNum: number | null | undefined;
|
|
1364
1266
|
apiOptions: Readonly<Readonly<{
|
|
1365
1267
|
isArticle?: boolean;
|
|
1366
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1367
|
-
* The current correct answer for the graph. Updated by this component
|
|
1368
|
-
* when the graph is changed.
|
|
1369
|
-
*
|
|
1370
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1371
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1372
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1373
|
-
* editor page.
|
|
1374
|
-
*/: HTMLElement) => unknown;
|
|
1268
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1375
1269
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1376
1270
|
showAlignmentOptions?: boolean;
|
|
1377
1271
|
readOnly?: boolean;
|
|
@@ -1402,6 +1296,7 @@ declare const InteractiveGraph: {
|
|
|
1402
1296
|
canScrollPage?: boolean;
|
|
1403
1297
|
crossOutEnabled?: boolean;
|
|
1404
1298
|
editorChangeDelay?: number;
|
|
1299
|
+
flags?: Record<string, boolean>;
|
|
1405
1300
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1406
1301
|
}> & {
|
|
1407
1302
|
baseElements: NonNullable<{
|
|
@@ -1423,7 +1318,7 @@ declare const InteractiveGraph: {
|
|
|
1423
1318
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1424
1319
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1425
1320
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1426
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1321
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1427
1322
|
reviewMode: boolean;
|
|
1428
1323
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1429
1324
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1456,15 +1351,7 @@ declare const InteractiveGraph: {
|
|
|
1456
1351
|
problemNum: number | null | undefined;
|
|
1457
1352
|
apiOptions: Readonly<Readonly<{
|
|
1458
1353
|
isArticle?: boolean;
|
|
1459
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1460
|
-
* The current correct answer for the graph. Updated by this component
|
|
1461
|
-
* when the graph is changed.
|
|
1462
|
-
*
|
|
1463
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1464
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1465
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1466
|
-
* editor page.
|
|
1467
|
-
*/: HTMLElement) => unknown;
|
|
1354
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1468
1355
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1469
1356
|
showAlignmentOptions?: boolean;
|
|
1470
1357
|
readOnly?: boolean;
|
|
@@ -1495,6 +1382,7 @@ declare const InteractiveGraph: {
|
|
|
1495
1382
|
canScrollPage?: boolean;
|
|
1496
1383
|
crossOutEnabled?: boolean;
|
|
1497
1384
|
editorChangeDelay?: number;
|
|
1385
|
+
flags?: Record<string, boolean>;
|
|
1498
1386
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1499
1387
|
}> & {
|
|
1500
1388
|
baseElements: NonNullable<{
|
|
@@ -1516,7 +1404,7 @@ declare const InteractiveGraph: {
|
|
|
1516
1404
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1517
1405
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1518
1406
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1519
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1407
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1520
1408
|
reviewMode: boolean;
|
|
1521
1409
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1522
1410
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1549,15 +1437,7 @@ declare const InteractiveGraph: {
|
|
|
1549
1437
|
problemNum: number | null | undefined;
|
|
1550
1438
|
apiOptions: Readonly<Readonly<{
|
|
1551
1439
|
isArticle?: boolean;
|
|
1552
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1553
|
-
* The current correct answer for the graph. Updated by this component
|
|
1554
|
-
* when the graph is changed.
|
|
1555
|
-
*
|
|
1556
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1557
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1558
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1559
|
-
* editor page.
|
|
1560
|
-
*/: HTMLElement) => unknown;
|
|
1440
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1561
1441
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1562
1442
|
showAlignmentOptions?: boolean;
|
|
1563
1443
|
readOnly?: boolean;
|
|
@@ -1588,6 +1468,7 @@ declare const InteractiveGraph: {
|
|
|
1588
1468
|
canScrollPage?: boolean;
|
|
1589
1469
|
crossOutEnabled?: boolean;
|
|
1590
1470
|
editorChangeDelay?: number;
|
|
1471
|
+
flags?: Record<string, boolean>;
|
|
1591
1472
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1592
1473
|
}> & {
|
|
1593
1474
|
baseElements: NonNullable<{
|
|
@@ -1609,7 +1490,7 @@ declare const InteractiveGraph: {
|
|
|
1609
1490
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1610
1491
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1611
1492
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1612
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1493
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1613
1494
|
reviewMode: boolean;
|
|
1614
1495
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1615
1496
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1642,15 +1523,7 @@ declare const InteractiveGraph: {
|
|
|
1642
1523
|
problemNum: number | null | undefined;
|
|
1643
1524
|
apiOptions: Readonly<Readonly<{
|
|
1644
1525
|
isArticle?: boolean;
|
|
1645
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1646
|
-
* The current correct answer for the graph. Updated by this component
|
|
1647
|
-
* when the graph is changed.
|
|
1648
|
-
*
|
|
1649
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1650
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1651
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1652
|
-
* editor page.
|
|
1653
|
-
*/: HTMLElement) => unknown;
|
|
1526
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1654
1527
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1655
1528
|
showAlignmentOptions?: boolean;
|
|
1656
1529
|
readOnly?: boolean;
|
|
@@ -1681,6 +1554,7 @@ declare const InteractiveGraph: {
|
|
|
1681
1554
|
canScrollPage?: boolean;
|
|
1682
1555
|
crossOutEnabled?: boolean;
|
|
1683
1556
|
editorChangeDelay?: number;
|
|
1557
|
+
flags?: Record<string, boolean>;
|
|
1684
1558
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1685
1559
|
}> & {
|
|
1686
1560
|
baseElements: NonNullable<{
|
|
@@ -1702,7 +1576,7 @@ declare const InteractiveGraph: {
|
|
|
1702
1576
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1703
1577
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1704
1578
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1705
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1579
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1706
1580
|
reviewMode: boolean;
|
|
1707
1581
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1708
1582
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1746,15 +1620,7 @@ declare const InteractiveGraph: {
|
|
|
1746
1620
|
problemNum: number | null | undefined;
|
|
1747
1621
|
apiOptions: Readonly<Readonly<{
|
|
1748
1622
|
isArticle?: boolean;
|
|
1749
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1750
|
-
* The current correct answer for the graph. Updated by this component
|
|
1751
|
-
* when the graph is changed.
|
|
1752
|
-
*
|
|
1753
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1754
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1755
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1756
|
-
* editor page.
|
|
1757
|
-
*/: HTMLElement) => unknown;
|
|
1623
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1758
1624
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1759
1625
|
showAlignmentOptions?: boolean;
|
|
1760
1626
|
readOnly?: boolean;
|
|
@@ -1785,6 +1651,7 @@ declare const InteractiveGraph: {
|
|
|
1785
1651
|
canScrollPage?: boolean;
|
|
1786
1652
|
crossOutEnabled?: boolean;
|
|
1787
1653
|
editorChangeDelay?: number;
|
|
1654
|
+
flags?: Record<string, boolean>;
|
|
1788
1655
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1789
1656
|
}> & {
|
|
1790
1657
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -1804,7 +1671,7 @@ declare const InteractiveGraph: {
|
|
|
1804
1671
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1805
1672
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1806
1673
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1807
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1674
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1808
1675
|
reviewMode: boolean;
|
|
1809
1676
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1810
1677
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1837,15 +1704,7 @@ declare const InteractiveGraph: {
|
|
|
1837
1704
|
problemNum: number | null | undefined;
|
|
1838
1705
|
apiOptions: Readonly<Readonly<{
|
|
1839
1706
|
isArticle?: boolean;
|
|
1840
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1841
|
-
* The current correct answer for the graph. Updated by this component
|
|
1842
|
-
* when the graph is changed.
|
|
1843
|
-
*
|
|
1844
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1845
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1846
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1847
|
-
* editor page.
|
|
1848
|
-
*/: HTMLElement) => unknown;
|
|
1707
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1849
1708
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1850
1709
|
showAlignmentOptions?: boolean;
|
|
1851
1710
|
readOnly?: boolean;
|
|
@@ -1876,6 +1735,7 @@ declare const InteractiveGraph: {
|
|
|
1876
1735
|
canScrollPage?: boolean;
|
|
1877
1736
|
crossOutEnabled?: boolean;
|
|
1878
1737
|
editorChangeDelay?: number;
|
|
1738
|
+
flags?: Record<string, boolean>;
|
|
1879
1739
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1880
1740
|
}> & {
|
|
1881
1741
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -1895,7 +1755,7 @@ declare const InteractiveGraph: {
|
|
|
1895
1755
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1896
1756
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1897
1757
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1898
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1758
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1899
1759
|
reviewMode: boolean;
|
|
1900
1760
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1901
1761
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -1928,15 +1788,7 @@ declare const InteractiveGraph: {
|
|
|
1928
1788
|
problemNum: number | null | undefined;
|
|
1929
1789
|
apiOptions: Readonly<Readonly<{
|
|
1930
1790
|
isArticle?: boolean;
|
|
1931
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
1932
|
-
* The current correct answer for the graph. Updated by this component
|
|
1933
|
-
* when the graph is changed.
|
|
1934
|
-
*
|
|
1935
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
1936
|
-
* element. Instead, it is a representation of the correct answer based
|
|
1937
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
1938
|
-
* editor page.
|
|
1939
|
-
*/: HTMLElement) => unknown;
|
|
1791
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
1940
1792
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
1941
1793
|
showAlignmentOptions?: boolean;
|
|
1942
1794
|
readOnly?: boolean;
|
|
@@ -1967,6 +1819,7 @@ declare const InteractiveGraph: {
|
|
|
1967
1819
|
canScrollPage?: boolean;
|
|
1968
1820
|
crossOutEnabled?: boolean;
|
|
1969
1821
|
editorChangeDelay?: number;
|
|
1822
|
+
flags?: Record<string, boolean>;
|
|
1970
1823
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
1971
1824
|
}> & {
|
|
1972
1825
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -1986,7 +1839,7 @@ declare const InteractiveGraph: {
|
|
|
1986
1839
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1987
1840
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1988
1841
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
1989
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1842
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
1990
1843
|
reviewMode: boolean;
|
|
1991
1844
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1992
1845
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2019,15 +1872,7 @@ declare const InteractiveGraph: {
|
|
|
2019
1872
|
problemNum: number | null | undefined;
|
|
2020
1873
|
apiOptions: Readonly<Readonly<{
|
|
2021
1874
|
isArticle?: boolean;
|
|
2022
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2023
|
-
* The current correct answer for the graph. Updated by this component
|
|
2024
|
-
* when the graph is changed.
|
|
2025
|
-
*
|
|
2026
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2027
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2028
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2029
|
-
* editor page.
|
|
2030
|
-
*/: HTMLElement) => unknown;
|
|
1875
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2031
1876
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2032
1877
|
showAlignmentOptions?: boolean;
|
|
2033
1878
|
readOnly?: boolean;
|
|
@@ -2058,6 +1903,7 @@ declare const InteractiveGraph: {
|
|
|
2058
1903
|
canScrollPage?: boolean;
|
|
2059
1904
|
crossOutEnabled?: boolean;
|
|
2060
1905
|
editorChangeDelay?: number;
|
|
1906
|
+
flags?: Record<string, boolean>;
|
|
2061
1907
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2062
1908
|
}> & {
|
|
2063
1909
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2077,7 +1923,7 @@ declare const InteractiveGraph: {
|
|
|
2077
1923
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2078
1924
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2079
1925
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2080
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
1926
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2081
1927
|
reviewMode: boolean;
|
|
2082
1928
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2083
1929
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2110,15 +1956,7 @@ declare const InteractiveGraph: {
|
|
|
2110
1956
|
problemNum: number | null | undefined;
|
|
2111
1957
|
apiOptions: Readonly<Readonly<{
|
|
2112
1958
|
isArticle?: boolean;
|
|
2113
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2114
|
-
* The current correct answer for the graph. Updated by this component
|
|
2115
|
-
* when the graph is changed.
|
|
2116
|
-
*
|
|
2117
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2118
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2119
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2120
|
-
* editor page.
|
|
2121
|
-
*/: HTMLElement) => unknown;
|
|
1959
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2122
1960
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2123
1961
|
showAlignmentOptions?: boolean;
|
|
2124
1962
|
readOnly?: boolean;
|
|
@@ -2149,6 +1987,7 @@ declare const InteractiveGraph: {
|
|
|
2149
1987
|
canScrollPage?: boolean;
|
|
2150
1988
|
crossOutEnabled?: boolean;
|
|
2151
1989
|
editorChangeDelay?: number;
|
|
1990
|
+
flags?: Record<string, boolean>;
|
|
2152
1991
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2153
1992
|
}> & {
|
|
2154
1993
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2168,7 +2007,7 @@ declare const InteractiveGraph: {
|
|
|
2168
2007
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2169
2008
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2170
2009
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2171
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2010
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2172
2011
|
reviewMode: boolean;
|
|
2173
2012
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2174
2013
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2201,15 +2040,7 @@ declare const InteractiveGraph: {
|
|
|
2201
2040
|
problemNum: number | null | undefined;
|
|
2202
2041
|
apiOptions: Readonly<Readonly<{
|
|
2203
2042
|
isArticle?: boolean;
|
|
2204
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2205
|
-
* The current correct answer for the graph. Updated by this component
|
|
2206
|
-
* when the graph is changed.
|
|
2207
|
-
*
|
|
2208
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2209
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2210
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2211
|
-
* editor page.
|
|
2212
|
-
*/: HTMLElement) => unknown;
|
|
2043
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2213
2044
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2214
2045
|
showAlignmentOptions?: boolean;
|
|
2215
2046
|
readOnly?: boolean;
|
|
@@ -2240,6 +2071,7 @@ declare const InteractiveGraph: {
|
|
|
2240
2071
|
canScrollPage?: boolean;
|
|
2241
2072
|
crossOutEnabled?: boolean;
|
|
2242
2073
|
editorChangeDelay?: number;
|
|
2074
|
+
flags?: Record<string, boolean>;
|
|
2243
2075
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2244
2076
|
}> & {
|
|
2245
2077
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2259,7 +2091,7 @@ declare const InteractiveGraph: {
|
|
|
2259
2091
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2260
2092
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2261
2093
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2262
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2094
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2263
2095
|
reviewMode: boolean;
|
|
2264
2096
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2265
2097
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2293,15 +2125,7 @@ declare const InteractiveGraph: {
|
|
|
2293
2125
|
problemNum: number | null | undefined;
|
|
2294
2126
|
apiOptions: Readonly<Readonly<{
|
|
2295
2127
|
isArticle?: boolean;
|
|
2296
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2297
|
-
* The current correct answer for the graph. Updated by this component
|
|
2298
|
-
* when the graph is changed.
|
|
2299
|
-
*
|
|
2300
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2301
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2302
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2303
|
-
* editor page.
|
|
2304
|
-
*/: HTMLElement) => unknown;
|
|
2128
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2305
2129
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2306
2130
|
showAlignmentOptions?: boolean;
|
|
2307
2131
|
readOnly?: boolean;
|
|
@@ -2332,6 +2156,7 @@ declare const InteractiveGraph: {
|
|
|
2332
2156
|
canScrollPage?: boolean;
|
|
2333
2157
|
crossOutEnabled?: boolean;
|
|
2334
2158
|
editorChangeDelay?: number;
|
|
2159
|
+
flags?: Record<string, boolean>;
|
|
2335
2160
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2336
2161
|
}> & {
|
|
2337
2162
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2351,7 +2176,7 @@ declare const InteractiveGraph: {
|
|
|
2351
2176
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2352
2177
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2353
2178
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2354
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2179
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2355
2180
|
reviewMode: boolean;
|
|
2356
2181
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2357
2182
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2384,15 +2209,7 @@ declare const InteractiveGraph: {
|
|
|
2384
2209
|
problemNum: number | null | undefined;
|
|
2385
2210
|
apiOptions: Readonly<Readonly<{
|
|
2386
2211
|
isArticle?: boolean;
|
|
2387
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2388
|
-
* The current correct answer for the graph. Updated by this component
|
|
2389
|
-
* when the graph is changed.
|
|
2390
|
-
*
|
|
2391
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2392
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2393
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2394
|
-
* editor page.
|
|
2395
|
-
*/: HTMLElement) => unknown;
|
|
2212
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2396
2213
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2397
2214
|
showAlignmentOptions?: boolean;
|
|
2398
2215
|
readOnly?: boolean;
|
|
@@ -2423,6 +2240,7 @@ declare const InteractiveGraph: {
|
|
|
2423
2240
|
canScrollPage?: boolean;
|
|
2424
2241
|
crossOutEnabled?: boolean;
|
|
2425
2242
|
editorChangeDelay?: number;
|
|
2243
|
+
flags?: Record<string, boolean>;
|
|
2426
2244
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2427
2245
|
}> & {
|
|
2428
2246
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2442,7 +2260,7 @@ declare const InteractiveGraph: {
|
|
|
2442
2260
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2443
2261
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2444
2262
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2445
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2263
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2446
2264
|
reviewMode: boolean;
|
|
2447
2265
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2448
2266
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2476,15 +2294,7 @@ declare const InteractiveGraph: {
|
|
|
2476
2294
|
problemNum: number | null | undefined;
|
|
2477
2295
|
apiOptions: Readonly<Readonly<{
|
|
2478
2296
|
isArticle?: boolean;
|
|
2479
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2480
|
-
* The current correct answer for the graph. Updated by this component
|
|
2481
|
-
* when the graph is changed.
|
|
2482
|
-
*
|
|
2483
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2484
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2485
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2486
|
-
* editor page.
|
|
2487
|
-
*/: HTMLElement) => unknown;
|
|
2297
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2488
2298
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2489
2299
|
showAlignmentOptions?: boolean;
|
|
2490
2300
|
readOnly?: boolean;
|
|
@@ -2515,6 +2325,7 @@ declare const InteractiveGraph: {
|
|
|
2515
2325
|
canScrollPage?: boolean;
|
|
2516
2326
|
crossOutEnabled?: boolean;
|
|
2517
2327
|
editorChangeDelay?: number;
|
|
2328
|
+
flags?: Record<string, boolean>;
|
|
2518
2329
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2519
2330
|
}> & {
|
|
2520
2331
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2534,7 +2345,7 @@ declare const InteractiveGraph: {
|
|
|
2534
2345
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2535
2346
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2536
2347
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2537
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2348
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2538
2349
|
reviewMode: boolean;
|
|
2539
2350
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2540
2351
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2567,15 +2378,7 @@ declare const InteractiveGraph: {
|
|
|
2567
2378
|
problemNum: number | null | undefined;
|
|
2568
2379
|
apiOptions: Readonly<Readonly<{
|
|
2569
2380
|
isArticle?: boolean;
|
|
2570
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2571
|
-
* The current correct answer for the graph. Updated by this component
|
|
2572
|
-
* when the graph is changed.
|
|
2573
|
-
*
|
|
2574
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2575
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2576
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2577
|
-
* editor page.
|
|
2578
|
-
*/: HTMLElement) => unknown;
|
|
2381
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2579
2382
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2580
2383
|
showAlignmentOptions?: boolean;
|
|
2581
2384
|
readOnly?: boolean;
|
|
@@ -2606,6 +2409,7 @@ declare const InteractiveGraph: {
|
|
|
2606
2409
|
canScrollPage?: boolean;
|
|
2607
2410
|
crossOutEnabled?: boolean;
|
|
2608
2411
|
editorChangeDelay?: number;
|
|
2412
|
+
flags?: Record<string, boolean>;
|
|
2609
2413
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2610
2414
|
}> & {
|
|
2611
2415
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2625,7 +2429,7 @@ declare const InteractiveGraph: {
|
|
|
2625
2429
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2626
2430
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2627
2431
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2628
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2432
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2629
2433
|
reviewMode: boolean;
|
|
2630
2434
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2631
2435
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2658,15 +2462,7 @@ declare const InteractiveGraph: {
|
|
|
2658
2462
|
problemNum: number | null | undefined;
|
|
2659
2463
|
apiOptions: Readonly<Readonly<{
|
|
2660
2464
|
isArticle?: boolean;
|
|
2661
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2662
|
-
* The current correct answer for the graph. Updated by this component
|
|
2663
|
-
* when the graph is changed.
|
|
2664
|
-
*
|
|
2665
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2666
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2667
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2668
|
-
* editor page.
|
|
2669
|
-
*/: HTMLElement) => unknown;
|
|
2465
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2670
2466
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2671
2467
|
showAlignmentOptions?: boolean;
|
|
2672
2468
|
readOnly?: boolean;
|
|
@@ -2697,6 +2493,7 @@ declare const InteractiveGraph: {
|
|
|
2697
2493
|
canScrollPage?: boolean;
|
|
2698
2494
|
crossOutEnabled?: boolean;
|
|
2699
2495
|
editorChangeDelay?: number;
|
|
2496
|
+
flags?: Record<string, boolean>;
|
|
2700
2497
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2701
2498
|
}> & {
|
|
2702
2499
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2716,7 +2513,7 @@ declare const InteractiveGraph: {
|
|
|
2716
2513
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2717
2514
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2718
2515
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2719
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2516
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2720
2517
|
reviewMode: boolean;
|
|
2721
2518
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2722
2519
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2749,15 +2546,7 @@ declare const InteractiveGraph: {
|
|
|
2749
2546
|
problemNum: number | null | undefined;
|
|
2750
2547
|
apiOptions: Readonly<Readonly<{
|
|
2751
2548
|
isArticle?: boolean;
|
|
2752
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2753
|
-
* The current correct answer for the graph. Updated by this component
|
|
2754
|
-
* when the graph is changed.
|
|
2755
|
-
*
|
|
2756
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2757
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2758
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2759
|
-
* editor page.
|
|
2760
|
-
*/: HTMLElement) => unknown;
|
|
2549
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2761
2550
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2762
2551
|
showAlignmentOptions?: boolean;
|
|
2763
2552
|
readOnly?: boolean;
|
|
@@ -2788,6 +2577,7 @@ declare const InteractiveGraph: {
|
|
|
2788
2577
|
canScrollPage?: boolean;
|
|
2789
2578
|
crossOutEnabled?: boolean;
|
|
2790
2579
|
editorChangeDelay?: number;
|
|
2580
|
+
flags?: Record<string, boolean>;
|
|
2791
2581
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2792
2582
|
}> & {
|
|
2793
2583
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2807,7 +2597,7 @@ declare const InteractiveGraph: {
|
|
|
2807
2597
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2808
2598
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2809
2599
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2810
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2600
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2811
2601
|
reviewMode: boolean;
|
|
2812
2602
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2813
2603
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2840,15 +2630,7 @@ declare const InteractiveGraph: {
|
|
|
2840
2630
|
problemNum: number | null | undefined;
|
|
2841
2631
|
apiOptions: Readonly<Readonly<{
|
|
2842
2632
|
isArticle?: boolean;
|
|
2843
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2844
|
-
* The current correct answer for the graph. Updated by this component
|
|
2845
|
-
* when the graph is changed.
|
|
2846
|
-
*
|
|
2847
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2848
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2849
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2850
|
-
* editor page.
|
|
2851
|
-
*/: HTMLElement) => unknown;
|
|
2633
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2852
2634
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2853
2635
|
showAlignmentOptions?: boolean;
|
|
2854
2636
|
readOnly?: boolean;
|
|
@@ -2879,6 +2661,7 @@ declare const InteractiveGraph: {
|
|
|
2879
2661
|
canScrollPage?: boolean;
|
|
2880
2662
|
crossOutEnabled?: boolean;
|
|
2881
2663
|
editorChangeDelay?: number;
|
|
2664
|
+
flags?: Record<string, boolean>;
|
|
2882
2665
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2883
2666
|
}> & {
|
|
2884
2667
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2898,7 +2681,7 @@ declare const InteractiveGraph: {
|
|
|
2898
2681
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2899
2682
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2900
2683
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2901
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2684
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2902
2685
|
reviewMode: boolean;
|
|
2903
2686
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2904
2687
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -2931,15 +2714,7 @@ declare const InteractiveGraph: {
|
|
|
2931
2714
|
problemNum: number | null | undefined;
|
|
2932
2715
|
apiOptions: Readonly<Readonly<{
|
|
2933
2716
|
isArticle?: boolean;
|
|
2934
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
2935
|
-
* The current correct answer for the graph. Updated by this component
|
|
2936
|
-
* when the graph is changed.
|
|
2937
|
-
*
|
|
2938
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2939
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2940
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2941
|
-
* editor page.
|
|
2942
|
-
*/: HTMLElement) => unknown;
|
|
2717
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
2943
2718
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
2944
2719
|
showAlignmentOptions?: boolean;
|
|
2945
2720
|
readOnly?: boolean;
|
|
@@ -2970,6 +2745,7 @@ declare const InteractiveGraph: {
|
|
|
2970
2745
|
canScrollPage?: boolean;
|
|
2971
2746
|
crossOutEnabled?: boolean;
|
|
2972
2747
|
editorChangeDelay?: number;
|
|
2748
|
+
flags?: Record<string, boolean>;
|
|
2973
2749
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
2974
2750
|
}> & {
|
|
2975
2751
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -2989,7 +2765,7 @@ declare const InteractiveGraph: {
|
|
|
2989
2765
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2990
2766
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2991
2767
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
2992
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2768
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
2993
2769
|
reviewMode: boolean;
|
|
2994
2770
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2995
2771
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -3022,15 +2798,7 @@ declare const InteractiveGraph: {
|
|
|
3022
2798
|
problemNum: number | null | undefined;
|
|
3023
2799
|
apiOptions: Readonly<Readonly<{
|
|
3024
2800
|
isArticle?: boolean;
|
|
3025
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3026
|
-
* The current correct answer for the graph. Updated by this component
|
|
3027
|
-
* when the graph is changed.
|
|
3028
|
-
*
|
|
3029
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3030
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3031
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3032
|
-
* editor page.
|
|
3033
|
-
*/: HTMLElement) => unknown;
|
|
2801
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3034
2802
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3035
2803
|
showAlignmentOptions?: boolean;
|
|
3036
2804
|
readOnly?: boolean;
|
|
@@ -3061,6 +2829,7 @@ declare const InteractiveGraph: {
|
|
|
3061
2829
|
canScrollPage?: boolean;
|
|
3062
2830
|
crossOutEnabled?: boolean;
|
|
3063
2831
|
editorChangeDelay?: number;
|
|
2832
|
+
flags?: Record<string, boolean>;
|
|
3064
2833
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
3065
2834
|
}> & {
|
|
3066
2835
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -3080,7 +2849,7 @@ declare const InteractiveGraph: {
|
|
|
3080
2849
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3081
2850
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3082
2851
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
3083
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2852
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
3084
2853
|
reviewMode: boolean;
|
|
3085
2854
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3086
2855
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -3113,15 +2882,7 @@ declare const InteractiveGraph: {
|
|
|
3113
2882
|
problemNum: number | null | undefined;
|
|
3114
2883
|
apiOptions: Readonly<Readonly<{
|
|
3115
2884
|
isArticle?: boolean;
|
|
3116
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3117
|
-
* The current correct answer for the graph. Updated by this component
|
|
3118
|
-
* when the graph is changed.
|
|
3119
|
-
*
|
|
3120
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3121
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3122
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3123
|
-
* editor page.
|
|
3124
|
-
*/: HTMLElement) => unknown;
|
|
2885
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3125
2886
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3126
2887
|
showAlignmentOptions?: boolean;
|
|
3127
2888
|
readOnly?: boolean;
|
|
@@ -3152,6 +2913,7 @@ declare const InteractiveGraph: {
|
|
|
3152
2913
|
canScrollPage?: boolean;
|
|
3153
2914
|
crossOutEnabled?: boolean;
|
|
3154
2915
|
editorChangeDelay?: number;
|
|
2916
|
+
flags?: Record<string, boolean>;
|
|
3155
2917
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
3156
2918
|
}> & {
|
|
3157
2919
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -3171,7 +2933,7 @@ declare const InteractiveGraph: {
|
|
|
3171
2933
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3172
2934
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3173
2935
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
3174
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
2936
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
3175
2937
|
reviewMode: boolean;
|
|
3176
2938
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3177
2939
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -3204,15 +2966,7 @@ declare const InteractiveGraph: {
|
|
|
3204
2966
|
problemNum: number | null | undefined;
|
|
3205
2967
|
apiOptions: Readonly<Readonly<{
|
|
3206
2968
|
isArticle?: boolean;
|
|
3207
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3208
|
-
* The current correct answer for the graph. Updated by this component
|
|
3209
|
-
* when the graph is changed.
|
|
3210
|
-
*
|
|
3211
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3212
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3213
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3214
|
-
* editor page.
|
|
3215
|
-
*/: HTMLElement) => unknown;
|
|
2969
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3216
2970
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3217
2971
|
showAlignmentOptions?: boolean;
|
|
3218
2972
|
readOnly?: boolean;
|
|
@@ -3243,6 +2997,7 @@ declare const InteractiveGraph: {
|
|
|
3243
2997
|
canScrollPage?: boolean;
|
|
3244
2998
|
crossOutEnabled?: boolean;
|
|
3245
2999
|
editorChangeDelay?: number;
|
|
3000
|
+
flags?: Record<string, boolean>;
|
|
3246
3001
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
3247
3002
|
}> & {
|
|
3248
3003
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -3262,7 +3017,7 @@ declare const InteractiveGraph: {
|
|
|
3262
3017
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3263
3018
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3264
3019
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
3265
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
3020
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
3266
3021
|
reviewMode: boolean;
|
|
3267
3022
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3268
3023
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -3295,15 +3050,7 @@ declare const InteractiveGraph: {
|
|
|
3295
3050
|
problemNum: number | null | undefined;
|
|
3296
3051
|
apiOptions: Readonly<Readonly<{
|
|
3297
3052
|
isArticle?: boolean;
|
|
3298
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3299
|
-
* The current correct answer for the graph. Updated by this component
|
|
3300
|
-
* when the graph is changed.
|
|
3301
|
-
*
|
|
3302
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3303
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3304
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3305
|
-
* editor page.
|
|
3306
|
-
*/: HTMLElement) => unknown;
|
|
3053
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3307
3054
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3308
3055
|
showAlignmentOptions?: boolean;
|
|
3309
3056
|
readOnly?: boolean;
|
|
@@ -3334,6 +3081,7 @@ declare const InteractiveGraph: {
|
|
|
3334
3081
|
canScrollPage?: boolean;
|
|
3335
3082
|
crossOutEnabled?: boolean;
|
|
3336
3083
|
editorChangeDelay?: number;
|
|
3084
|
+
flags?: Record<string, boolean>;
|
|
3337
3085
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
3338
3086
|
}> & {
|
|
3339
3087
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -3353,7 +3101,7 @@ declare const InteractiveGraph: {
|
|
|
3353
3101
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3354
3102
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3355
3103
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
3356
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
3104
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
3357
3105
|
reviewMode: boolean;
|
|
3358
3106
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3359
3107
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -3386,15 +3134,7 @@ declare const InteractiveGraph: {
|
|
|
3386
3134
|
problemNum: number | null | undefined;
|
|
3387
3135
|
apiOptions: Readonly<Readonly<{
|
|
3388
3136
|
isArticle?: boolean;
|
|
3389
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3390
|
-
* The current correct answer for the graph. Updated by this component
|
|
3391
|
-
* when the graph is changed.
|
|
3392
|
-
*
|
|
3393
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3394
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3395
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3396
|
-
* editor page.
|
|
3397
|
-
*/: HTMLElement) => unknown;
|
|
3137
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3398
3138
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3399
3139
|
showAlignmentOptions?: boolean;
|
|
3400
3140
|
readOnly?: boolean;
|
|
@@ -3425,6 +3165,7 @@ declare const InteractiveGraph: {
|
|
|
3425
3165
|
canScrollPage?: boolean;
|
|
3426
3166
|
crossOutEnabled?: boolean;
|
|
3427
3167
|
editorChangeDelay?: number;
|
|
3168
|
+
flags?: Record<string, boolean>;
|
|
3428
3169
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
3429
3170
|
}> & {
|
|
3430
3171
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -3444,7 +3185,7 @@ declare const InteractiveGraph: {
|
|
|
3444
3185
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3445
3186
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3446
3187
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
3447
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
3188
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
3448
3189
|
reviewMode: boolean;
|
|
3449
3190
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3450
3191
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -3477,15 +3218,7 @@ declare const InteractiveGraph: {
|
|
|
3477
3218
|
problemNum: number | null | undefined;
|
|
3478
3219
|
apiOptions: Readonly<Readonly<{
|
|
3479
3220
|
isArticle?: boolean;
|
|
3480
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3481
|
-
* The current correct answer for the graph. Updated by this component
|
|
3482
|
-
* when the graph is changed.
|
|
3483
|
-
*
|
|
3484
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3485
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3486
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3487
|
-
* editor page.
|
|
3488
|
-
*/: HTMLElement) => unknown;
|
|
3221
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3489
3222
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3490
3223
|
showAlignmentOptions?: boolean;
|
|
3491
3224
|
readOnly?: boolean;
|
|
@@ -3516,6 +3249,7 @@ declare const InteractiveGraph: {
|
|
|
3516
3249
|
canScrollPage?: boolean;
|
|
3517
3250
|
crossOutEnabled?: boolean;
|
|
3518
3251
|
editorChangeDelay?: number;
|
|
3252
|
+
flags?: Record<string, boolean>;
|
|
3519
3253
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
3520
3254
|
}> & {
|
|
3521
3255
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -3535,7 +3269,7 @@ declare const InteractiveGraph: {
|
|
|
3535
3269
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3536
3270
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3537
3271
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
3538
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
3272
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
3539
3273
|
reviewMode: boolean;
|
|
3540
3274
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3541
3275
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -3568,15 +3302,7 @@ declare const InteractiveGraph: {
|
|
|
3568
3302
|
problemNum: number | null | undefined;
|
|
3569
3303
|
apiOptions: Readonly<Readonly<{
|
|
3570
3304
|
isArticle?: boolean;
|
|
3571
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3572
|
-
* The current correct answer for the graph. Updated by this component
|
|
3573
|
-
* when the graph is changed.
|
|
3574
|
-
*
|
|
3575
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3576
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3577
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3578
|
-
* editor page.
|
|
3579
|
-
*/: HTMLElement) => unknown;
|
|
3305
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3580
3306
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3581
3307
|
showAlignmentOptions?: boolean;
|
|
3582
3308
|
readOnly?: boolean;
|
|
@@ -3607,6 +3333,7 @@ declare const InteractiveGraph: {
|
|
|
3607
3333
|
canScrollPage?: boolean;
|
|
3608
3334
|
crossOutEnabled?: boolean;
|
|
3609
3335
|
editorChangeDelay?: number;
|
|
3336
|
+
flags?: Record<string, boolean>;
|
|
3610
3337
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
3611
3338
|
}> & {
|
|
3612
3339
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -3626,7 +3353,7 @@ declare const InteractiveGraph: {
|
|
|
3626
3353
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3627
3354
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3628
3355
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
3629
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
3356
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
3630
3357
|
reviewMode: boolean;
|
|
3631
3358
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3632
3359
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -3659,15 +3386,7 @@ declare const InteractiveGraph: {
|
|
|
3659
3386
|
problemNum: number | null | undefined;
|
|
3660
3387
|
apiOptions: Readonly<Readonly<{
|
|
3661
3388
|
isArticle?: boolean;
|
|
3662
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3663
|
-
* The current correct answer for the graph. Updated by this component
|
|
3664
|
-
* when the graph is changed.
|
|
3665
|
-
*
|
|
3666
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3667
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3668
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3669
|
-
* editor page.
|
|
3670
|
-
*/: HTMLElement) => unknown;
|
|
3389
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3671
3390
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3672
3391
|
showAlignmentOptions?: boolean;
|
|
3673
3392
|
readOnly?: boolean;
|
|
@@ -3698,6 +3417,7 @@ declare const InteractiveGraph: {
|
|
|
3698
3417
|
canScrollPage?: boolean;
|
|
3699
3418
|
crossOutEnabled?: boolean;
|
|
3700
3419
|
editorChangeDelay?: number;
|
|
3420
|
+
flags?: Record<string, boolean>;
|
|
3701
3421
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
3702
3422
|
}> & {
|
|
3703
3423
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -3717,7 +3437,7 @@ declare const InteractiveGraph: {
|
|
|
3717
3437
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3718
3438
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3719
3439
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
3720
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
3440
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
3721
3441
|
reviewMode: boolean;
|
|
3722
3442
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3723
3443
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
@@ -3750,15 +3470,7 @@ declare const InteractiveGraph: {
|
|
|
3750
3470
|
problemNum: number | null | undefined;
|
|
3751
3471
|
apiOptions: Readonly<Readonly<{
|
|
3752
3472
|
isArticle?: boolean;
|
|
3753
|
-
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement
|
|
3754
|
-
* The current correct answer for the graph. Updated by this component
|
|
3755
|
-
* when the graph is changed.
|
|
3756
|
-
*
|
|
3757
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
3758
|
-
* element. Instead, it is a representation of the correct answer based
|
|
3759
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
3760
|
-
* editor page.
|
|
3761
|
-
*/: HTMLElement) => unknown;
|
|
3473
|
+
onFocusChange?: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number, focusedElement?: HTMLElement) => unknown;
|
|
3762
3474
|
GroupMetadataEditor?: React.ComponentType<any>;
|
|
3763
3475
|
showAlignmentOptions?: boolean;
|
|
3764
3476
|
readOnly?: boolean;
|
|
@@ -3789,6 +3501,7 @@ declare const InteractiveGraph: {
|
|
|
3789
3501
|
canScrollPage?: boolean;
|
|
3790
3502
|
crossOutEnabled?: boolean;
|
|
3791
3503
|
editorChangeDelay?: number;
|
|
3504
|
+
flags?: Record<string, boolean>;
|
|
3792
3505
|
onWidgetStartProps?: (widgets: import("@khanacademy/perseus-core").PerseusWidgetsMap) => void;
|
|
3793
3506
|
}> & {
|
|
3794
3507
|
baseElements: NonNullable<import("@khanacademy/perseus").APIOptions["baseElements"]>;
|
|
@@ -3808,7 +3521,7 @@ declare const InteractiveGraph: {
|
|
|
3808
3521
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3809
3522
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3810
3523
|
findWidgets: (criterion: import("../../../../perseus/src/types").FilterCriterion) => ReadonlyArray<import("../../../../perseus/src/types").Widget>;
|
|
3811
|
-
reviewModeRubric?: import("@khanacademy/perseus-
|
|
3524
|
+
reviewModeRubric?: import("@khanacademy/perseus-core").PerseusInteractiveGraphRubric | null | undefined;
|
|
3812
3525
|
reviewMode: boolean;
|
|
3813
3526
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3814
3527
|
trackInteraction: (extraData?: Empty | undefined) => void;
|