@khanacademy/perseus-editor 14.0.1 → 14.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/all-editors.d.ts +1 -1
- package/dist/components/graph-locked-figures/locked-figure-select.d.ts +0 -1
- package/dist/components/graph-locked-figures/locked-figure-settings.d.ts +0 -1
- package/dist/components/graph-locked-figures/locked-figures-section.d.ts +1 -2
- package/dist/components/graph-locked-figures/locked-function-examples.d.ts +4 -0
- package/dist/components/interactive-graph-description.d.ts +9 -0
- package/dist/components/util.d.ts +1 -1
- package/dist/es/index.js +682 -323
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +736 -337
- package/dist/index.js.map +1 -1
- package/dist/widgets/interaction-editor/arrow-picker.d.ts +12 -0
- package/dist/widgets/interaction-editor/color-picker.d.ts +14 -0
- package/dist/widgets/interaction-editor/dash-picker.d.ts +12 -0
- package/dist/widgets/interaction-editor/element-container.d.ts +22 -0
- package/dist/widgets/{interactive-graph-editor.d.ts → interactive-graph-editor/interactive-graph-editor.d.ts} +288 -729
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SizingUtils } from "@khanacademy/perseus";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import type { PerseusImageBackground, PerseusInteractiveGraphWidgetOptions,
|
|
3
|
+
import type { APIOptionsWithDefaults, LockedFigure, PerseusImageBackground, PerseusInteractiveGraphWidgetOptions, PerseusGraphType } from "@khanacademy/perseus";
|
|
4
4
|
import type { PropsFor } from "@khanacademy/wonder-blocks-core";
|
|
5
5
|
declare const InteractiveGraph: {
|
|
6
6
|
new (props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -26,12 +26,12 @@ declare const InteractiveGraph: {
|
|
|
26
26
|
baseElements?: {
|
|
27
27
|
Link: React.ComponentType<any>;
|
|
28
28
|
} | undefined;
|
|
29
|
-
imagePreloader?: ((dimensions: import("
|
|
29
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
30
30
|
trackInteraction?: ((args: {
|
|
31
31
|
type: string;
|
|
32
32
|
id: string;
|
|
33
33
|
correct?: boolean | undefined;
|
|
34
|
-
} & Partial<import("
|
|
34
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
35
35
|
customKeypad?: boolean | undefined;
|
|
36
36
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
37
37
|
isMobile?: boolean | undefined;
|
|
@@ -54,14 +54,7 @@ declare const InteractiveGraph: {
|
|
|
54
54
|
"linear-system"?: boolean | undefined;
|
|
55
55
|
"unlimited-point"?: boolean | undefined;
|
|
56
56
|
} & {
|
|
57
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
58
57
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
59
|
-
} & {
|
|
60
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
61
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
62
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
63
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
64
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
65
58
|
}) | undefined;
|
|
66
59
|
} | undefined;
|
|
67
60
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -86,8 +79,8 @@ declare const InteractiveGraph: {
|
|
|
86
79
|
questionCompleted?: boolean | undefined;
|
|
87
80
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
88
81
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
89
|
-
findWidgets: (arg1: import("
|
|
90
|
-
reviewModeRubric: import("
|
|
82
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
83
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
91
84
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
92
85
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
93
86
|
isLastUsedWidget: boolean;
|
|
@@ -96,7 +89,7 @@ declare const InteractiveGraph: {
|
|
|
96
89
|
}): {
|
|
97
90
|
legacyGraphRef: React.RefObject<{
|
|
98
91
|
context: {
|
|
99
|
-
strings: import("
|
|
92
|
+
strings: import("../../../../perseus/src/strings").PerseusStrings;
|
|
100
93
|
locale: string;
|
|
101
94
|
};
|
|
102
95
|
angle: any;
|
|
@@ -140,12 +133,12 @@ declare const InteractiveGraph: {
|
|
|
140
133
|
baseElements?: {
|
|
141
134
|
Link: React.ComponentType<any>;
|
|
142
135
|
} | undefined;
|
|
143
|
-
imagePreloader?: ((dimensions: import("
|
|
136
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
144
137
|
trackInteraction?: ((args: {
|
|
145
138
|
type: string;
|
|
146
139
|
id: string;
|
|
147
140
|
correct?: boolean | undefined;
|
|
148
|
-
} & Partial<import("
|
|
141
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
149
142
|
customKeypad?: boolean | undefined;
|
|
150
143
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
151
144
|
isMobile?: boolean | undefined;
|
|
@@ -168,14 +161,7 @@ declare const InteractiveGraph: {
|
|
|
168
161
|
"linear-system"?: boolean | undefined;
|
|
169
162
|
"unlimited-point"?: boolean | undefined;
|
|
170
163
|
} & {
|
|
171
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
172
164
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
173
|
-
} & {
|
|
174
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
175
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
176
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
177
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
178
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
179
165
|
}) | undefined;
|
|
180
166
|
} | undefined;
|
|
181
167
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -200,8 +186,8 @@ declare const InteractiveGraph: {
|
|
|
200
186
|
questionCompleted?: boolean | undefined;
|
|
201
187
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
202
188
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
203
|
-
findWidgets: (arg1: import("
|
|
204
|
-
reviewModeRubric: import("
|
|
189
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
190
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
205
191
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
206
192
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
207
193
|
isLastUsedWidget: boolean;
|
|
@@ -231,12 +217,12 @@ declare const InteractiveGraph: {
|
|
|
231
217
|
baseElements?: {
|
|
232
218
|
Link: React.ComponentType<any>;
|
|
233
219
|
} | undefined;
|
|
234
|
-
imagePreloader?: ((dimensions: import("
|
|
220
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
235
221
|
trackInteraction?: ((args: {
|
|
236
222
|
type: string;
|
|
237
223
|
id: string;
|
|
238
224
|
correct?: boolean | undefined;
|
|
239
|
-
} & Partial<import("
|
|
225
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
240
226
|
customKeypad?: boolean | undefined;
|
|
241
227
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
242
228
|
isMobile?: boolean | undefined;
|
|
@@ -259,14 +245,7 @@ declare const InteractiveGraph: {
|
|
|
259
245
|
"linear-system"?: boolean | undefined;
|
|
260
246
|
"unlimited-point"?: boolean | undefined;
|
|
261
247
|
} & {
|
|
262
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
263
248
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
264
|
-
} & {
|
|
265
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
266
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
267
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
268
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
269
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
270
249
|
}) | undefined;
|
|
271
250
|
} | undefined;
|
|
272
251
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -291,8 +270,8 @@ declare const InteractiveGraph: {
|
|
|
291
270
|
questionCompleted?: boolean | undefined;
|
|
292
271
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
293
272
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
294
|
-
findWidgets: (arg1: import("
|
|
295
|
-
reviewModeRubric: import("
|
|
273
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
274
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
296
275
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
297
276
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
298
277
|
isLastUsedWidget: boolean;
|
|
@@ -322,12 +301,12 @@ declare const InteractiveGraph: {
|
|
|
322
301
|
baseElements?: {
|
|
323
302
|
Link: React.ComponentType<any>;
|
|
324
303
|
} | undefined;
|
|
325
|
-
imagePreloader?: ((dimensions: import("
|
|
304
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
326
305
|
trackInteraction?: ((args: {
|
|
327
306
|
type: string;
|
|
328
307
|
id: string;
|
|
329
308
|
correct?: boolean | undefined;
|
|
330
|
-
} & Partial<import("
|
|
309
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
331
310
|
customKeypad?: boolean | undefined;
|
|
332
311
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
333
312
|
isMobile?: boolean | undefined;
|
|
@@ -350,14 +329,7 @@ declare const InteractiveGraph: {
|
|
|
350
329
|
"linear-system"?: boolean | undefined;
|
|
351
330
|
"unlimited-point"?: boolean | undefined;
|
|
352
331
|
} & {
|
|
353
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
354
332
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
355
|
-
} & {
|
|
356
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
357
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
358
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
359
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
360
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
361
333
|
}) | undefined;
|
|
362
334
|
} | undefined;
|
|
363
335
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -382,16 +354,14 @@ declare const InteractiveGraph: {
|
|
|
382
354
|
questionCompleted?: boolean | undefined;
|
|
383
355
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
384
356
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
385
|
-
findWidgets: (arg1: import("
|
|
386
|
-
reviewModeRubric: import("
|
|
357
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
358
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
387
359
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
388
360
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
389
361
|
isLastUsedWidget: boolean;
|
|
390
362
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
391
363
|
containerSizeClass: SizingUtils.SizeClass;
|
|
392
|
-
}) | null | undefined) => boolean;
|
|
393
|
-
* The range of the graph in the x and y directions.
|
|
394
|
-
*/
|
|
364
|
+
}) | null | undefined) => boolean;
|
|
395
365
|
setGraphie: (arg1: any) => void;
|
|
396
366
|
handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
397
367
|
resetGraphie: () => void;
|
|
@@ -422,12 +392,12 @@ declare const InteractiveGraph: {
|
|
|
422
392
|
baseElements?: {
|
|
423
393
|
Link: React.ComponentType<any>;
|
|
424
394
|
} | undefined;
|
|
425
|
-
imagePreloader?: ((dimensions: import("
|
|
395
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
426
396
|
trackInteraction?: ((args: {
|
|
427
397
|
type: string;
|
|
428
398
|
id: string;
|
|
429
399
|
correct?: boolean | undefined;
|
|
430
|
-
} & Partial<import("
|
|
400
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
431
401
|
customKeypad?: boolean | undefined;
|
|
432
402
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
433
403
|
isMobile?: boolean | undefined;
|
|
@@ -450,14 +420,7 @@ declare const InteractiveGraph: {
|
|
|
450
420
|
"linear-system"?: boolean | undefined;
|
|
451
421
|
"unlimited-point"?: boolean | undefined;
|
|
452
422
|
} & {
|
|
453
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
454
423
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
455
|
-
} & {
|
|
456
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
457
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
458
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
459
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
460
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
461
424
|
}) | undefined;
|
|
462
425
|
} | undefined;
|
|
463
426
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -482,18 +445,18 @@ declare const InteractiveGraph: {
|
|
|
482
445
|
questionCompleted?: boolean | undefined;
|
|
483
446
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
484
447
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
485
|
-
findWidgets: (arg1: import("
|
|
486
|
-
reviewModeRubric: import("
|
|
448
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
449
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
487
450
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
488
451
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
489
452
|
isLastUsedWidget: boolean;
|
|
490
453
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
491
454
|
containerSizeClass: SizingUtils.SizeClass;
|
|
492
455
|
}) | null | undefined) => boolean;
|
|
493
|
-
areAngleGraphsEqual(prevGraph: import("
|
|
494
|
-
arePointGraphsEqual(prevGraph: import("
|
|
495
|
-
arePolygonGraphsEqual(prevGraph: import("
|
|
496
|
-
areSegmentGraphsEqual(prevGraph: import("
|
|
456
|
+
areAngleGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
457
|
+
arePointGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
458
|
+
arePolygonGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
459
|
+
areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
497
460
|
_lineStroke: () => {
|
|
498
461
|
"stroke-width"?: number | undefined;
|
|
499
462
|
};
|
|
@@ -518,26 +481,20 @@ declare const InteractiveGraph: {
|
|
|
518
481
|
updateCoordsFromPoints: () => void;
|
|
519
482
|
clearCoords: () => void;
|
|
520
483
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
521
|
-
addPointControls: () => void;
|
|
522
|
-
* The locked figures to display in the graph area.
|
|
523
|
-
* Locked figures are graph elements (points, lines, line segmeents,
|
|
524
|
-
* etc.) that are locked in place and not interactive.
|
|
525
|
-
*/
|
|
484
|
+
addPointControls: () => void;
|
|
526
485
|
removePointControls: () => void;
|
|
527
486
|
addSegmentControls: () => void;
|
|
528
487
|
removeSegmentControls: () => void;
|
|
529
488
|
addRayControls: () => void;
|
|
530
489
|
removeRayControls: () => void;
|
|
531
490
|
addPolygonControls: () => void;
|
|
532
|
-
updatePolygon: () => void;
|
|
533
|
-
* The graph to display in the graph area.
|
|
534
|
-
*/
|
|
491
|
+
updatePolygon: () => void;
|
|
535
492
|
removePolygonControls: () => void;
|
|
536
493
|
addAngleControls: () => void;
|
|
537
494
|
removeAngleControls: () => void;
|
|
538
495
|
toggleShowSides: () => void;
|
|
539
|
-
getUserInput():
|
|
540
|
-
simpleValidate(rubric: import("
|
|
496
|
+
getUserInput(): PerseusGraphType;
|
|
497
|
+
simpleValidate(rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
541
498
|
focus: () => void;
|
|
542
499
|
render(): React.ReactNode;
|
|
543
500
|
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -565,12 +522,12 @@ declare const InteractiveGraph: {
|
|
|
565
522
|
baseElements?: {
|
|
566
523
|
Link: React.ComponentType<any>;
|
|
567
524
|
} | undefined;
|
|
568
|
-
imagePreloader?: ((dimensions: import("
|
|
525
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
569
526
|
trackInteraction?: ((args: {
|
|
570
527
|
type: string;
|
|
571
528
|
id: string;
|
|
572
529
|
correct?: boolean | undefined;
|
|
573
|
-
} & Partial<import("
|
|
530
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
574
531
|
customKeypad?: boolean | undefined;
|
|
575
532
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
576
533
|
isMobile?: boolean | undefined;
|
|
@@ -593,14 +550,7 @@ declare const InteractiveGraph: {
|
|
|
593
550
|
"linear-system"?: boolean | undefined;
|
|
594
551
|
"unlimited-point"?: boolean | undefined;
|
|
595
552
|
} & {
|
|
596
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
597
553
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
598
|
-
} & {
|
|
599
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
600
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
601
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
602
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
603
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
604
554
|
}) | undefined;
|
|
605
555
|
} | undefined;
|
|
606
556
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -625,8 +575,8 @@ declare const InteractiveGraph: {
|
|
|
625
575
|
questionCompleted?: boolean | undefined;
|
|
626
576
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
627
577
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
628
|
-
findWidgets: (arg1: import("
|
|
629
|
-
reviewModeRubric: import("
|
|
578
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
579
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
630
580
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
631
581
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
632
582
|
isLastUsedWidget: boolean;
|
|
@@ -659,12 +609,12 @@ declare const InteractiveGraph: {
|
|
|
659
609
|
baseElements?: {
|
|
660
610
|
Link: React.ComponentType<any>;
|
|
661
611
|
} | undefined;
|
|
662
|
-
imagePreloader?: ((dimensions: import("
|
|
612
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
663
613
|
trackInteraction?: ((args: {
|
|
664
614
|
type: string;
|
|
665
615
|
id: string;
|
|
666
616
|
correct?: boolean | undefined;
|
|
667
|
-
} & Partial<import("
|
|
617
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
668
618
|
customKeypad?: boolean | undefined;
|
|
669
619
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
670
620
|
isMobile?: boolean | undefined;
|
|
@@ -687,14 +637,7 @@ declare const InteractiveGraph: {
|
|
|
687
637
|
"linear-system"?: boolean | undefined;
|
|
688
638
|
"unlimited-point"?: boolean | undefined;
|
|
689
639
|
} & {
|
|
690
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
691
640
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
692
|
-
} & {
|
|
693
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
694
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
695
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
696
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
697
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
698
641
|
}) | undefined;
|
|
699
642
|
} | undefined;
|
|
700
643
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -719,8 +662,8 @@ declare const InteractiveGraph: {
|
|
|
719
662
|
questionCompleted?: boolean | undefined;
|
|
720
663
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
721
664
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
722
|
-
findWidgets: (arg1: import("
|
|
723
|
-
reviewModeRubric: import("
|
|
665
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
666
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
724
667
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
725
668
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
726
669
|
isLastUsedWidget: boolean;
|
|
@@ -752,12 +695,12 @@ declare const InteractiveGraph: {
|
|
|
752
695
|
baseElements?: {
|
|
753
696
|
Link: React.ComponentType<any>;
|
|
754
697
|
} | undefined;
|
|
755
|
-
imagePreloader?: ((dimensions: import("
|
|
698
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
756
699
|
trackInteraction?: ((args: {
|
|
757
700
|
type: string;
|
|
758
701
|
id: string;
|
|
759
702
|
correct?: boolean | undefined;
|
|
760
|
-
} & Partial<import("
|
|
703
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
761
704
|
customKeypad?: boolean | undefined;
|
|
762
705
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
763
706
|
isMobile?: boolean | undefined;
|
|
@@ -780,14 +723,7 @@ declare const InteractiveGraph: {
|
|
|
780
723
|
"linear-system"?: boolean | undefined;
|
|
781
724
|
"unlimited-point"?: boolean | undefined;
|
|
782
725
|
} & {
|
|
783
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
784
726
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
785
|
-
} & {
|
|
786
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
787
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
788
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
789
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
790
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
791
727
|
}) | undefined;
|
|
792
728
|
} | undefined;
|
|
793
729
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -812,8 +748,8 @@ declare const InteractiveGraph: {
|
|
|
812
748
|
questionCompleted?: boolean | undefined;
|
|
813
749
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
814
750
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
815
|
-
findWidgets: (arg1: import("
|
|
816
|
-
reviewModeRubric: import("
|
|
751
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
752
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
817
753
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
818
754
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
819
755
|
isLastUsedWidget: boolean;
|
|
@@ -845,12 +781,12 @@ declare const InteractiveGraph: {
|
|
|
845
781
|
baseElements?: {
|
|
846
782
|
Link: React.ComponentType<any>;
|
|
847
783
|
} | undefined;
|
|
848
|
-
imagePreloader?: ((dimensions: import("
|
|
784
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
849
785
|
trackInteraction?: ((args: {
|
|
850
786
|
type: string;
|
|
851
787
|
id: string;
|
|
852
788
|
correct?: boolean | undefined;
|
|
853
|
-
} & Partial<import("
|
|
789
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
854
790
|
customKeypad?: boolean | undefined;
|
|
855
791
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
856
792
|
isMobile?: boolean | undefined;
|
|
@@ -873,14 +809,7 @@ declare const InteractiveGraph: {
|
|
|
873
809
|
"linear-system"?: boolean | undefined;
|
|
874
810
|
"unlimited-point"?: boolean | undefined;
|
|
875
811
|
} & {
|
|
876
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
877
812
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
878
|
-
} & {
|
|
879
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
880
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
881
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
882
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
883
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
884
813
|
}) | undefined;
|
|
885
814
|
} | undefined;
|
|
886
815
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -905,8 +834,8 @@ declare const InteractiveGraph: {
|
|
|
905
834
|
questionCompleted?: boolean | undefined;
|
|
906
835
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
907
836
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
908
|
-
findWidgets: (arg1: import("
|
|
909
|
-
reviewModeRubric: import("
|
|
837
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
838
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
910
839
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
911
840
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
912
841
|
isLastUsedWidget: boolean;
|
|
@@ -936,12 +865,12 @@ declare const InteractiveGraph: {
|
|
|
936
865
|
baseElements?: {
|
|
937
866
|
Link: React.ComponentType<any>;
|
|
938
867
|
} | undefined;
|
|
939
|
-
imagePreloader?: ((dimensions: import("
|
|
868
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
940
869
|
trackInteraction?: ((args: {
|
|
941
870
|
type: string;
|
|
942
871
|
id: string;
|
|
943
872
|
correct?: boolean | undefined;
|
|
944
|
-
} & Partial<import("
|
|
873
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
945
874
|
customKeypad?: boolean | undefined;
|
|
946
875
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
947
876
|
isMobile?: boolean | undefined;
|
|
@@ -964,14 +893,7 @@ declare const InteractiveGraph: {
|
|
|
964
893
|
"linear-system"?: boolean | undefined;
|
|
965
894
|
"unlimited-point"?: boolean | undefined;
|
|
966
895
|
} & {
|
|
967
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
968
896
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
969
|
-
} & {
|
|
970
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
971
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
972
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
973
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
974
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
975
897
|
}) | undefined;
|
|
976
898
|
} | undefined;
|
|
977
899
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -996,8 +918,8 @@ declare const InteractiveGraph: {
|
|
|
996
918
|
questionCompleted?: boolean | undefined;
|
|
997
919
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
998
920
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
999
|
-
findWidgets: (arg1: import("
|
|
1000
|
-
reviewModeRubric: import("
|
|
921
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
922
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1001
923
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1002
924
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1003
925
|
isLastUsedWidget: boolean;
|
|
@@ -1027,12 +949,12 @@ declare const InteractiveGraph: {
|
|
|
1027
949
|
baseElements?: {
|
|
1028
950
|
Link: React.ComponentType<any>;
|
|
1029
951
|
} | undefined;
|
|
1030
|
-
imagePreloader?: ((dimensions: import("
|
|
952
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1031
953
|
trackInteraction?: ((args: {
|
|
1032
954
|
type: string;
|
|
1033
955
|
id: string;
|
|
1034
956
|
correct?: boolean | undefined;
|
|
1035
|
-
} & Partial<import("
|
|
957
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1036
958
|
customKeypad?: boolean | undefined;
|
|
1037
959
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1038
960
|
isMobile?: boolean | undefined;
|
|
@@ -1055,14 +977,7 @@ declare const InteractiveGraph: {
|
|
|
1055
977
|
"linear-system"?: boolean | undefined;
|
|
1056
978
|
"unlimited-point"?: boolean | undefined;
|
|
1057
979
|
} & {
|
|
1058
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1059
980
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1060
|
-
} & {
|
|
1061
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1062
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1063
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1064
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1065
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1066
981
|
}) | undefined;
|
|
1067
982
|
} | undefined;
|
|
1068
983
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1087,8 +1002,8 @@ declare const InteractiveGraph: {
|
|
|
1087
1002
|
questionCompleted?: boolean | undefined;
|
|
1088
1003
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1089
1004
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1090
|
-
findWidgets: (arg1: import("
|
|
1091
|
-
reviewModeRubric: import("
|
|
1005
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1006
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1092
1007
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1093
1008
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1094
1009
|
isLastUsedWidget: boolean;
|
|
@@ -1096,9 +1011,9 @@ declare const InteractiveGraph: {
|
|
|
1096
1011
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1097
1012
|
}>, nextState: Readonly<any>, nextContext: any): void;
|
|
1098
1013
|
}>;
|
|
1099
|
-
mafsRef: React.RefObject<import("
|
|
1014
|
+
mafsRef: React.RefObject<import("../../../../perseus/src/renderer").Widget>;
|
|
1100
1015
|
getUserInput: (() => any) | undefined;
|
|
1101
|
-
simpleValidate(rubric: import("
|
|
1016
|
+
simpleValidate(rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
1102
1017
|
render(): React.JSX.Element;
|
|
1103
1018
|
context: unknown;
|
|
1104
1019
|
setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -1126,12 +1041,12 @@ declare const InteractiveGraph: {
|
|
|
1126
1041
|
baseElements?: {
|
|
1127
1042
|
Link: React.ComponentType<any>;
|
|
1128
1043
|
} | undefined;
|
|
1129
|
-
imagePreloader?: ((dimensions: import("
|
|
1044
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1130
1045
|
trackInteraction?: ((args: {
|
|
1131
1046
|
type: string;
|
|
1132
1047
|
id: string;
|
|
1133
1048
|
correct?: boolean | undefined;
|
|
1134
|
-
} & Partial<import("
|
|
1049
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1135
1050
|
customKeypad?: boolean | undefined;
|
|
1136
1051
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1137
1052
|
isMobile?: boolean | undefined;
|
|
@@ -1154,14 +1069,7 @@ declare const InteractiveGraph: {
|
|
|
1154
1069
|
"linear-system"?: boolean | undefined;
|
|
1155
1070
|
"unlimited-point"?: boolean | undefined;
|
|
1156
1071
|
} & {
|
|
1157
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1158
1072
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1159
|
-
} & {
|
|
1160
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1161
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1162
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1163
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1164
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1165
1073
|
}) | undefined;
|
|
1166
1074
|
} | undefined;
|
|
1167
1075
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1186,8 +1094,8 @@ declare const InteractiveGraph: {
|
|
|
1186
1094
|
questionCompleted?: boolean | undefined;
|
|
1187
1095
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1188
1096
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1189
|
-
findWidgets: (arg1: import("
|
|
1190
|
-
reviewModeRubric: import("
|
|
1097
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1098
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1191
1099
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1192
1100
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1193
1101
|
isLastUsedWidget: boolean;
|
|
@@ -1222,12 +1130,12 @@ declare const InteractiveGraph: {
|
|
|
1222
1130
|
baseElements?: {
|
|
1223
1131
|
Link: React.ComponentType<any>;
|
|
1224
1132
|
} | undefined;
|
|
1225
|
-
imagePreloader?: ((dimensions: import("
|
|
1133
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1226
1134
|
trackInteraction?: ((args: {
|
|
1227
1135
|
type: string;
|
|
1228
1136
|
id: string;
|
|
1229
1137
|
correct?: boolean | undefined;
|
|
1230
|
-
} & Partial<import("
|
|
1138
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1231
1139
|
customKeypad?: boolean | undefined;
|
|
1232
1140
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1233
1141
|
isMobile?: boolean | undefined;
|
|
@@ -1250,14 +1158,7 @@ declare const InteractiveGraph: {
|
|
|
1250
1158
|
"linear-system"?: boolean | undefined;
|
|
1251
1159
|
"unlimited-point"?: boolean | undefined;
|
|
1252
1160
|
} & {
|
|
1253
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1254
1161
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1255
|
-
} & {
|
|
1256
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1257
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1258
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1259
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1260
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1261
1162
|
}) | undefined;
|
|
1262
1163
|
} | undefined;
|
|
1263
1164
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1282,8 +1183,8 @@ declare const InteractiveGraph: {
|
|
|
1282
1183
|
questionCompleted?: boolean | undefined;
|
|
1283
1184
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1284
1185
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1285
|
-
findWidgets: (arg1: import("
|
|
1286
|
-
reviewModeRubric: import("
|
|
1186
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1187
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1287
1188
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1288
1189
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1289
1190
|
isLastUsedWidget: boolean;
|
|
@@ -1315,12 +1216,12 @@ declare const InteractiveGraph: {
|
|
|
1315
1216
|
baseElements?: {
|
|
1316
1217
|
Link: React.ComponentType<any>;
|
|
1317
1218
|
} | undefined;
|
|
1318
|
-
imagePreloader?: ((dimensions: import("
|
|
1219
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1319
1220
|
trackInteraction?: ((args: {
|
|
1320
1221
|
type: string;
|
|
1321
1222
|
id: string;
|
|
1322
1223
|
correct?: boolean | undefined;
|
|
1323
|
-
} & Partial<import("
|
|
1224
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1324
1225
|
customKeypad?: boolean | undefined;
|
|
1325
1226
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1326
1227
|
isMobile?: boolean | undefined;
|
|
@@ -1343,14 +1244,7 @@ declare const InteractiveGraph: {
|
|
|
1343
1244
|
"linear-system"?: boolean | undefined;
|
|
1344
1245
|
"unlimited-point"?: boolean | undefined;
|
|
1345
1246
|
} & {
|
|
1346
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1347
1247
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1348
|
-
} & {
|
|
1349
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1350
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1351
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1352
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1353
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1354
1248
|
}) | undefined;
|
|
1355
1249
|
} | undefined;
|
|
1356
1250
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1375,8 +1269,8 @@ declare const InteractiveGraph: {
|
|
|
1375
1269
|
questionCompleted?: boolean | undefined;
|
|
1376
1270
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1377
1271
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1378
|
-
findWidgets: (arg1: import("
|
|
1379
|
-
reviewModeRubric: import("
|
|
1272
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1273
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1380
1274
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1381
1275
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1382
1276
|
isLastUsedWidget: boolean;
|
|
@@ -1406,12 +1300,12 @@ declare const InteractiveGraph: {
|
|
|
1406
1300
|
baseElements?: {
|
|
1407
1301
|
Link: React.ComponentType<any>;
|
|
1408
1302
|
} | undefined;
|
|
1409
|
-
imagePreloader?: ((dimensions: import("
|
|
1303
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1410
1304
|
trackInteraction?: ((args: {
|
|
1411
1305
|
type: string;
|
|
1412
1306
|
id: string;
|
|
1413
1307
|
correct?: boolean | undefined;
|
|
1414
|
-
} & Partial<import("
|
|
1308
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1415
1309
|
customKeypad?: boolean | undefined;
|
|
1416
1310
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1417
1311
|
isMobile?: boolean | undefined;
|
|
@@ -1434,14 +1328,7 @@ declare const InteractiveGraph: {
|
|
|
1434
1328
|
"linear-system"?: boolean | undefined;
|
|
1435
1329
|
"unlimited-point"?: boolean | undefined;
|
|
1436
1330
|
} & {
|
|
1437
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1438
1331
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1439
|
-
} & {
|
|
1440
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1441
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1442
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1443
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1444
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1445
1332
|
}) | undefined;
|
|
1446
1333
|
} | undefined;
|
|
1447
1334
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1466,8 +1353,8 @@ declare const InteractiveGraph: {
|
|
|
1466
1353
|
questionCompleted?: boolean | undefined;
|
|
1467
1354
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1468
1355
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1469
|
-
findWidgets: (arg1: import("
|
|
1470
|
-
reviewModeRubric: import("
|
|
1356
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1357
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1471
1358
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1472
1359
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1473
1360
|
isLastUsedWidget: boolean;
|
|
@@ -1499,12 +1386,12 @@ declare const InteractiveGraph: {
|
|
|
1499
1386
|
baseElements?: {
|
|
1500
1387
|
Link: React.ComponentType<any>;
|
|
1501
1388
|
} | undefined;
|
|
1502
|
-
imagePreloader?: ((dimensions: import("
|
|
1389
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1503
1390
|
trackInteraction?: ((args: {
|
|
1504
1391
|
type: string;
|
|
1505
1392
|
id: string;
|
|
1506
1393
|
correct?: boolean | undefined;
|
|
1507
|
-
} & Partial<import("
|
|
1394
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1508
1395
|
customKeypad?: boolean | undefined;
|
|
1509
1396
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1510
1397
|
isMobile?: boolean | undefined;
|
|
@@ -1527,14 +1414,7 @@ declare const InteractiveGraph: {
|
|
|
1527
1414
|
"linear-system"?: boolean | undefined;
|
|
1528
1415
|
"unlimited-point"?: boolean | undefined;
|
|
1529
1416
|
} & {
|
|
1530
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1531
1417
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1532
|
-
} & {
|
|
1533
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1534
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1535
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1536
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1537
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1538
1418
|
}) | undefined;
|
|
1539
1419
|
} | undefined;
|
|
1540
1420
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1559,8 +1439,8 @@ declare const InteractiveGraph: {
|
|
|
1559
1439
|
questionCompleted?: boolean | undefined;
|
|
1560
1440
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1561
1441
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1562
|
-
findWidgets: (arg1: import("
|
|
1563
|
-
reviewModeRubric: import("
|
|
1442
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1443
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1564
1444
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1565
1445
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1566
1446
|
isLastUsedWidget: boolean;
|
|
@@ -1590,12 +1470,12 @@ declare const InteractiveGraph: {
|
|
|
1590
1470
|
baseElements?: {
|
|
1591
1471
|
Link: React.ComponentType<any>;
|
|
1592
1472
|
} | undefined;
|
|
1593
|
-
imagePreloader?: ((dimensions: import("
|
|
1473
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1594
1474
|
trackInteraction?: ((args: {
|
|
1595
1475
|
type: string;
|
|
1596
1476
|
id: string;
|
|
1597
1477
|
correct?: boolean | undefined;
|
|
1598
|
-
} & Partial<import("
|
|
1478
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1599
1479
|
customKeypad?: boolean | undefined;
|
|
1600
1480
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1601
1481
|
isMobile?: boolean | undefined;
|
|
@@ -1618,14 +1498,7 @@ declare const InteractiveGraph: {
|
|
|
1618
1498
|
"linear-system"?: boolean | undefined;
|
|
1619
1499
|
"unlimited-point"?: boolean | undefined;
|
|
1620
1500
|
} & {
|
|
1621
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1622
1501
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1623
|
-
} & {
|
|
1624
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1625
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1626
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1627
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1628
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1629
1502
|
}) | undefined;
|
|
1630
1503
|
} | undefined;
|
|
1631
1504
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1650,8 +1523,8 @@ declare const InteractiveGraph: {
|
|
|
1650
1523
|
questionCompleted?: boolean | undefined;
|
|
1651
1524
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1652
1525
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1653
|
-
findWidgets: (arg1: import("
|
|
1654
|
-
reviewModeRubric: import("
|
|
1526
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1527
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1655
1528
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1656
1529
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1657
1530
|
isLastUsedWidget: boolean;
|
|
@@ -1681,12 +1554,12 @@ declare const InteractiveGraph: {
|
|
|
1681
1554
|
baseElements?: {
|
|
1682
1555
|
Link: React.ComponentType<any>;
|
|
1683
1556
|
} | undefined;
|
|
1684
|
-
imagePreloader?: ((dimensions: import("
|
|
1557
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1685
1558
|
trackInteraction?: ((args: {
|
|
1686
1559
|
type: string;
|
|
1687
1560
|
id: string;
|
|
1688
1561
|
correct?: boolean | undefined;
|
|
1689
|
-
} & Partial<import("
|
|
1562
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1690
1563
|
customKeypad?: boolean | undefined;
|
|
1691
1564
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1692
1565
|
isMobile?: boolean | undefined;
|
|
@@ -1709,14 +1582,7 @@ declare const InteractiveGraph: {
|
|
|
1709
1582
|
"linear-system"?: boolean | undefined;
|
|
1710
1583
|
"unlimited-point"?: boolean | undefined;
|
|
1711
1584
|
} & {
|
|
1712
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1713
1585
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1714
|
-
} & {
|
|
1715
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1716
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1717
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1718
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1719
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1720
1586
|
}) | undefined;
|
|
1721
1587
|
} | undefined;
|
|
1722
1588
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1741,8 +1607,8 @@ declare const InteractiveGraph: {
|
|
|
1741
1607
|
questionCompleted?: boolean | undefined;
|
|
1742
1608
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1743
1609
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1744
|
-
findWidgets: (arg1: import("
|
|
1745
|
-
reviewModeRubric: import("
|
|
1610
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1611
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1746
1612
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1747
1613
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1748
1614
|
isLastUsedWidget: boolean;
|
|
@@ -1772,12 +1638,12 @@ declare const InteractiveGraph: {
|
|
|
1772
1638
|
baseElements?: {
|
|
1773
1639
|
Link: React.ComponentType<any>;
|
|
1774
1640
|
} | undefined;
|
|
1775
|
-
imagePreloader?: ((dimensions: import("
|
|
1641
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1776
1642
|
trackInteraction?: ((args: {
|
|
1777
1643
|
type: string;
|
|
1778
1644
|
id: string;
|
|
1779
1645
|
correct?: boolean | undefined;
|
|
1780
|
-
} & Partial<import("
|
|
1646
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1781
1647
|
customKeypad?: boolean | undefined;
|
|
1782
1648
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1783
1649
|
isMobile?: boolean | undefined;
|
|
@@ -1800,14 +1666,7 @@ declare const InteractiveGraph: {
|
|
|
1800
1666
|
"linear-system"?: boolean | undefined;
|
|
1801
1667
|
"unlimited-point"?: boolean | undefined;
|
|
1802
1668
|
} & {
|
|
1803
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1804
1669
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1805
|
-
} & {
|
|
1806
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1807
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1808
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1809
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1810
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1811
1670
|
}) | undefined;
|
|
1812
1671
|
} | undefined;
|
|
1813
1672
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1832,8 +1691,8 @@ declare const InteractiveGraph: {
|
|
|
1832
1691
|
questionCompleted?: boolean | undefined;
|
|
1833
1692
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1834
1693
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1835
|
-
findWidgets: (arg1: import("
|
|
1836
|
-
reviewModeRubric: import("
|
|
1694
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1695
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1837
1696
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1838
1697
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1839
1698
|
isLastUsedWidget: boolean;
|
|
@@ -1864,12 +1723,12 @@ declare const InteractiveGraph: {
|
|
|
1864
1723
|
baseElements?: {
|
|
1865
1724
|
Link: React.ComponentType<any>;
|
|
1866
1725
|
} | undefined;
|
|
1867
|
-
imagePreloader?: ((dimensions: import("
|
|
1726
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1868
1727
|
trackInteraction?: ((args: {
|
|
1869
1728
|
type: string;
|
|
1870
1729
|
id: string;
|
|
1871
1730
|
correct?: boolean | undefined;
|
|
1872
|
-
} & Partial<import("
|
|
1731
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1873
1732
|
customKeypad?: boolean | undefined;
|
|
1874
1733
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1875
1734
|
isMobile?: boolean | undefined;
|
|
@@ -1892,14 +1751,7 @@ declare const InteractiveGraph: {
|
|
|
1892
1751
|
"linear-system"?: boolean | undefined;
|
|
1893
1752
|
"unlimited-point"?: boolean | undefined;
|
|
1894
1753
|
} & {
|
|
1895
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
1896
1754
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
1897
|
-
} & {
|
|
1898
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
1899
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
1900
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
1901
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
1902
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
1903
1755
|
}) | undefined;
|
|
1904
1756
|
} | undefined;
|
|
1905
1757
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1924,8 +1776,8 @@ declare const InteractiveGraph: {
|
|
|
1924
1776
|
questionCompleted?: boolean | undefined;
|
|
1925
1777
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1926
1778
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1927
|
-
findWidgets: (arg1: import("
|
|
1928
|
-
reviewModeRubric: import("
|
|
1779
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1780
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1929
1781
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1930
1782
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1931
1783
|
isLastUsedWidget: boolean;
|
|
@@ -1934,7 +1786,7 @@ declare const InteractiveGraph: {
|
|
|
1934
1786
|
}, context: any): {
|
|
1935
1787
|
legacyGraphRef: React.RefObject<{
|
|
1936
1788
|
context: {
|
|
1937
|
-
strings: import("
|
|
1789
|
+
strings: import("../../../../perseus/src/strings").PerseusStrings;
|
|
1938
1790
|
locale: string;
|
|
1939
1791
|
};
|
|
1940
1792
|
angle: any;
|
|
@@ -1978,12 +1830,12 @@ declare const InteractiveGraph: {
|
|
|
1978
1830
|
baseElements?: {
|
|
1979
1831
|
Link: React.ComponentType<any>;
|
|
1980
1832
|
} | undefined;
|
|
1981
|
-
imagePreloader?: ((dimensions: import("
|
|
1833
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
1982
1834
|
trackInteraction?: ((args: {
|
|
1983
1835
|
type: string;
|
|
1984
1836
|
id: string;
|
|
1985
1837
|
correct?: boolean | undefined;
|
|
1986
|
-
} & Partial<import("
|
|
1838
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1987
1839
|
customKeypad?: boolean | undefined;
|
|
1988
1840
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1989
1841
|
isMobile?: boolean | undefined;
|
|
@@ -2006,14 +1858,7 @@ declare const InteractiveGraph: {
|
|
|
2006
1858
|
"linear-system"?: boolean | undefined;
|
|
2007
1859
|
"unlimited-point"?: boolean | undefined;
|
|
2008
1860
|
} & {
|
|
2009
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2010
1861
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2011
|
-
} & {
|
|
2012
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2013
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2014
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2015
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2016
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2017
1862
|
}) | undefined;
|
|
2018
1863
|
} | undefined;
|
|
2019
1864
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2038,8 +1883,8 @@ declare const InteractiveGraph: {
|
|
|
2038
1883
|
questionCompleted?: boolean | undefined;
|
|
2039
1884
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2040
1885
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2041
|
-
findWidgets: (arg1: import("
|
|
2042
|
-
reviewModeRubric: import("
|
|
1886
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1887
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2043
1888
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2044
1889
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2045
1890
|
isLastUsedWidget: boolean;
|
|
@@ -2069,12 +1914,12 @@ declare const InteractiveGraph: {
|
|
|
2069
1914
|
baseElements?: {
|
|
2070
1915
|
Link: React.ComponentType<any>;
|
|
2071
1916
|
} | undefined;
|
|
2072
|
-
imagePreloader?: ((dimensions: import("
|
|
1917
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2073
1918
|
trackInteraction?: ((args: {
|
|
2074
1919
|
type: string;
|
|
2075
1920
|
id: string;
|
|
2076
1921
|
correct?: boolean | undefined;
|
|
2077
|
-
} & Partial<import("
|
|
1922
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2078
1923
|
customKeypad?: boolean | undefined;
|
|
2079
1924
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2080
1925
|
isMobile?: boolean | undefined;
|
|
@@ -2097,14 +1942,7 @@ declare const InteractiveGraph: {
|
|
|
2097
1942
|
"linear-system"?: boolean | undefined;
|
|
2098
1943
|
"unlimited-point"?: boolean | undefined;
|
|
2099
1944
|
} & {
|
|
2100
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2101
1945
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2102
|
-
} & {
|
|
2103
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2104
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2105
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2106
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2107
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2108
1946
|
}) | undefined;
|
|
2109
1947
|
} | undefined;
|
|
2110
1948
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2129,8 +1967,8 @@ declare const InteractiveGraph: {
|
|
|
2129
1967
|
questionCompleted?: boolean | undefined;
|
|
2130
1968
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2131
1969
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2132
|
-
findWidgets: (arg1: import("
|
|
2133
|
-
reviewModeRubric: import("
|
|
1970
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1971
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2134
1972
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2135
1973
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2136
1974
|
isLastUsedWidget: boolean;
|
|
@@ -2160,12 +1998,12 @@ declare const InteractiveGraph: {
|
|
|
2160
1998
|
baseElements?: {
|
|
2161
1999
|
Link: React.ComponentType<any>;
|
|
2162
2000
|
} | undefined;
|
|
2163
|
-
imagePreloader?: ((dimensions: import("
|
|
2001
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2164
2002
|
trackInteraction?: ((args: {
|
|
2165
2003
|
type: string;
|
|
2166
2004
|
id: string;
|
|
2167
2005
|
correct?: boolean | undefined;
|
|
2168
|
-
} & Partial<import("
|
|
2006
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2169
2007
|
customKeypad?: boolean | undefined;
|
|
2170
2008
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2171
2009
|
isMobile?: boolean | undefined;
|
|
@@ -2188,14 +2026,7 @@ declare const InteractiveGraph: {
|
|
|
2188
2026
|
"linear-system"?: boolean | undefined;
|
|
2189
2027
|
"unlimited-point"?: boolean | undefined;
|
|
2190
2028
|
} & {
|
|
2191
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2192
2029
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2193
|
-
} & {
|
|
2194
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2195
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2196
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2197
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2198
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2199
2030
|
}) | undefined;
|
|
2200
2031
|
} | undefined;
|
|
2201
2032
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2220,16 +2051,14 @@ declare const InteractiveGraph: {
|
|
|
2220
2051
|
questionCompleted?: boolean | undefined;
|
|
2221
2052
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2222
2053
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2223
|
-
findWidgets: (arg1: import("
|
|
2224
|
-
reviewModeRubric: import("
|
|
2054
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2055
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2225
2056
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2226
2057
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2227
2058
|
isLastUsedWidget: boolean;
|
|
2228
2059
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2229
2060
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2230
|
-
}) | null | undefined) => boolean;
|
|
2231
|
-
* The range of the graph in the x and y directions.
|
|
2232
|
-
*/
|
|
2061
|
+
}) | null | undefined) => boolean;
|
|
2233
2062
|
setGraphie: (arg1: any) => void;
|
|
2234
2063
|
handleAddPointsMouseDown: (arg1: import("@khanacademy/perseus").Coord) => void;
|
|
2235
2064
|
resetGraphie: () => void;
|
|
@@ -2260,12 +2089,12 @@ declare const InteractiveGraph: {
|
|
|
2260
2089
|
baseElements?: {
|
|
2261
2090
|
Link: React.ComponentType<any>;
|
|
2262
2091
|
} | undefined;
|
|
2263
|
-
imagePreloader?: ((dimensions: import("
|
|
2092
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2264
2093
|
trackInteraction?: ((args: {
|
|
2265
2094
|
type: string;
|
|
2266
2095
|
id: string;
|
|
2267
2096
|
correct?: boolean | undefined;
|
|
2268
|
-
} & Partial<import("
|
|
2097
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2269
2098
|
customKeypad?: boolean | undefined;
|
|
2270
2099
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2271
2100
|
isMobile?: boolean | undefined;
|
|
@@ -2288,14 +2117,7 @@ declare const InteractiveGraph: {
|
|
|
2288
2117
|
"linear-system"?: boolean | undefined;
|
|
2289
2118
|
"unlimited-point"?: boolean | undefined;
|
|
2290
2119
|
} & {
|
|
2291
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2292
2120
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2293
|
-
} & {
|
|
2294
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2295
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2296
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2297
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2298
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2299
2121
|
}) | undefined;
|
|
2300
2122
|
} | undefined;
|
|
2301
2123
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2320,18 +2142,18 @@ declare const InteractiveGraph: {
|
|
|
2320
2142
|
questionCompleted?: boolean | undefined;
|
|
2321
2143
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2322
2144
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2323
|
-
findWidgets: (arg1: import("
|
|
2324
|
-
reviewModeRubric: import("
|
|
2145
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2146
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2325
2147
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2326
2148
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2327
2149
|
isLastUsedWidget: boolean;
|
|
2328
2150
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2329
2151
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2330
2152
|
}) | null | undefined) => boolean;
|
|
2331
|
-
areAngleGraphsEqual(prevGraph: import("
|
|
2332
|
-
arePointGraphsEqual(prevGraph: import("
|
|
2333
|
-
arePolygonGraphsEqual(prevGraph: import("
|
|
2334
|
-
areSegmentGraphsEqual(prevGraph: import("
|
|
2153
|
+
areAngleGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
2154
|
+
arePointGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
2155
|
+
arePolygonGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
2156
|
+
areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
2335
2157
|
_lineStroke: () => {
|
|
2336
2158
|
"stroke-width"?: number | undefined;
|
|
2337
2159
|
};
|
|
@@ -2356,26 +2178,20 @@ declare const InteractiveGraph: {
|
|
|
2356
2178
|
updateCoordsFromPoints: () => void;
|
|
2357
2179
|
clearCoords: () => void;
|
|
2358
2180
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2359
|
-
addPointControls: () => void;
|
|
2360
|
-
* The locked figures to display in the graph area.
|
|
2361
|
-
* Locked figures are graph elements (points, lines, line segmeents,
|
|
2362
|
-
* etc.) that are locked in place and not interactive.
|
|
2363
|
-
*/
|
|
2181
|
+
addPointControls: () => void;
|
|
2364
2182
|
removePointControls: () => void;
|
|
2365
2183
|
addSegmentControls: () => void;
|
|
2366
2184
|
removeSegmentControls: () => void;
|
|
2367
2185
|
addRayControls: () => void;
|
|
2368
2186
|
removeRayControls: () => void;
|
|
2369
2187
|
addPolygonControls: () => void;
|
|
2370
|
-
updatePolygon: () => void;
|
|
2371
|
-
* The graph to display in the graph area.
|
|
2372
|
-
*/
|
|
2188
|
+
updatePolygon: () => void;
|
|
2373
2189
|
removePolygonControls: () => void;
|
|
2374
2190
|
addAngleControls: () => void;
|
|
2375
2191
|
removeAngleControls: () => void;
|
|
2376
2192
|
toggleShowSides: () => void;
|
|
2377
|
-
getUserInput():
|
|
2378
|
-
simpleValidate(rubric: import("
|
|
2193
|
+
getUserInput(): PerseusGraphType;
|
|
2194
|
+
simpleValidate(rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
2379
2195
|
focus: () => void;
|
|
2380
2196
|
render(): React.ReactNode;
|
|
2381
2197
|
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -2403,12 +2219,12 @@ declare const InteractiveGraph: {
|
|
|
2403
2219
|
baseElements?: {
|
|
2404
2220
|
Link: React.ComponentType<any>;
|
|
2405
2221
|
} | undefined;
|
|
2406
|
-
imagePreloader?: ((dimensions: import("
|
|
2222
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2407
2223
|
trackInteraction?: ((args: {
|
|
2408
2224
|
type: string;
|
|
2409
2225
|
id: string;
|
|
2410
2226
|
correct?: boolean | undefined;
|
|
2411
|
-
} & Partial<import("
|
|
2227
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2412
2228
|
customKeypad?: boolean | undefined;
|
|
2413
2229
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2414
2230
|
isMobile?: boolean | undefined;
|
|
@@ -2431,14 +2247,7 @@ declare const InteractiveGraph: {
|
|
|
2431
2247
|
"linear-system"?: boolean | undefined;
|
|
2432
2248
|
"unlimited-point"?: boolean | undefined;
|
|
2433
2249
|
} & {
|
|
2434
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2435
2250
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2436
|
-
} & {
|
|
2437
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2438
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2439
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2440
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2441
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2442
2251
|
}) | undefined;
|
|
2443
2252
|
} | undefined;
|
|
2444
2253
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2463,8 +2272,8 @@ declare const InteractiveGraph: {
|
|
|
2463
2272
|
questionCompleted?: boolean | undefined;
|
|
2464
2273
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2465
2274
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2466
|
-
findWidgets: (arg1: import("
|
|
2467
|
-
reviewModeRubric: import("
|
|
2275
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2276
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2468
2277
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2469
2278
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2470
2279
|
isLastUsedWidget: boolean;
|
|
@@ -2497,12 +2306,12 @@ declare const InteractiveGraph: {
|
|
|
2497
2306
|
baseElements?: {
|
|
2498
2307
|
Link: React.ComponentType<any>;
|
|
2499
2308
|
} | undefined;
|
|
2500
|
-
imagePreloader?: ((dimensions: import("
|
|
2309
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2501
2310
|
trackInteraction?: ((args: {
|
|
2502
2311
|
type: string;
|
|
2503
2312
|
id: string;
|
|
2504
2313
|
correct?: boolean | undefined;
|
|
2505
|
-
} & Partial<import("
|
|
2314
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2506
2315
|
customKeypad?: boolean | undefined;
|
|
2507
2316
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2508
2317
|
isMobile?: boolean | undefined;
|
|
@@ -2525,14 +2334,7 @@ declare const InteractiveGraph: {
|
|
|
2525
2334
|
"linear-system"?: boolean | undefined;
|
|
2526
2335
|
"unlimited-point"?: boolean | undefined;
|
|
2527
2336
|
} & {
|
|
2528
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2529
2337
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2530
|
-
} & {
|
|
2531
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2532
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2533
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2534
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2535
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2536
2338
|
}) | undefined;
|
|
2537
2339
|
} | undefined;
|
|
2538
2340
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2557,8 +2359,8 @@ declare const InteractiveGraph: {
|
|
|
2557
2359
|
questionCompleted?: boolean | undefined;
|
|
2558
2360
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2559
2361
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2560
|
-
findWidgets: (arg1: import("
|
|
2561
|
-
reviewModeRubric: import("
|
|
2362
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2363
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2562
2364
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2563
2365
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2564
2366
|
isLastUsedWidget: boolean;
|
|
@@ -2590,12 +2392,12 @@ declare const InteractiveGraph: {
|
|
|
2590
2392
|
baseElements?: {
|
|
2591
2393
|
Link: React.ComponentType<any>;
|
|
2592
2394
|
} | undefined;
|
|
2593
|
-
imagePreloader?: ((dimensions: import("
|
|
2395
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2594
2396
|
trackInteraction?: ((args: {
|
|
2595
2397
|
type: string;
|
|
2596
2398
|
id: string;
|
|
2597
2399
|
correct?: boolean | undefined;
|
|
2598
|
-
} & Partial<import("
|
|
2400
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2599
2401
|
customKeypad?: boolean | undefined;
|
|
2600
2402
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2601
2403
|
isMobile?: boolean | undefined;
|
|
@@ -2618,14 +2420,7 @@ declare const InteractiveGraph: {
|
|
|
2618
2420
|
"linear-system"?: boolean | undefined;
|
|
2619
2421
|
"unlimited-point"?: boolean | undefined;
|
|
2620
2422
|
} & {
|
|
2621
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2622
2423
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2623
|
-
} & {
|
|
2624
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2625
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2626
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2627
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2628
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2629
2424
|
}) | undefined;
|
|
2630
2425
|
} | undefined;
|
|
2631
2426
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2650,8 +2445,8 @@ declare const InteractiveGraph: {
|
|
|
2650
2445
|
questionCompleted?: boolean | undefined;
|
|
2651
2446
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2652
2447
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2653
|
-
findWidgets: (arg1: import("
|
|
2654
|
-
reviewModeRubric: import("
|
|
2448
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2449
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2655
2450
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2656
2451
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2657
2452
|
isLastUsedWidget: boolean;
|
|
@@ -2683,12 +2478,12 @@ declare const InteractiveGraph: {
|
|
|
2683
2478
|
baseElements?: {
|
|
2684
2479
|
Link: React.ComponentType<any>;
|
|
2685
2480
|
} | undefined;
|
|
2686
|
-
imagePreloader?: ((dimensions: import("
|
|
2481
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2687
2482
|
trackInteraction?: ((args: {
|
|
2688
2483
|
type: string;
|
|
2689
2484
|
id: string;
|
|
2690
2485
|
correct?: boolean | undefined;
|
|
2691
|
-
} & Partial<import("
|
|
2486
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2692
2487
|
customKeypad?: boolean | undefined;
|
|
2693
2488
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2694
2489
|
isMobile?: boolean | undefined;
|
|
@@ -2711,14 +2506,7 @@ declare const InteractiveGraph: {
|
|
|
2711
2506
|
"linear-system"?: boolean | undefined;
|
|
2712
2507
|
"unlimited-point"?: boolean | undefined;
|
|
2713
2508
|
} & {
|
|
2714
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2715
2509
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2716
|
-
} & {
|
|
2717
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2718
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2719
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2720
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2721
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2722
2510
|
}) | undefined;
|
|
2723
2511
|
} | undefined;
|
|
2724
2512
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2743,8 +2531,8 @@ declare const InteractiveGraph: {
|
|
|
2743
2531
|
questionCompleted?: boolean | undefined;
|
|
2744
2532
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2745
2533
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2746
|
-
findWidgets: (arg1: import("
|
|
2747
|
-
reviewModeRubric: import("
|
|
2534
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2535
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2748
2536
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2749
2537
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2750
2538
|
isLastUsedWidget: boolean;
|
|
@@ -2774,12 +2562,12 @@ declare const InteractiveGraph: {
|
|
|
2774
2562
|
baseElements?: {
|
|
2775
2563
|
Link: React.ComponentType<any>;
|
|
2776
2564
|
} | undefined;
|
|
2777
|
-
imagePreloader?: ((dimensions: import("
|
|
2565
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2778
2566
|
trackInteraction?: ((args: {
|
|
2779
2567
|
type: string;
|
|
2780
2568
|
id: string;
|
|
2781
2569
|
correct?: boolean | undefined;
|
|
2782
|
-
} & Partial<import("
|
|
2570
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2783
2571
|
customKeypad?: boolean | undefined;
|
|
2784
2572
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2785
2573
|
isMobile?: boolean | undefined;
|
|
@@ -2802,14 +2590,7 @@ declare const InteractiveGraph: {
|
|
|
2802
2590
|
"linear-system"?: boolean | undefined;
|
|
2803
2591
|
"unlimited-point"?: boolean | undefined;
|
|
2804
2592
|
} & {
|
|
2805
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2806
2593
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2807
|
-
} & {
|
|
2808
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2809
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2810
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2811
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2812
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2813
2594
|
}) | undefined;
|
|
2814
2595
|
} | undefined;
|
|
2815
2596
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2834,8 +2615,8 @@ declare const InteractiveGraph: {
|
|
|
2834
2615
|
questionCompleted?: boolean | undefined;
|
|
2835
2616
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2836
2617
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2837
|
-
findWidgets: (arg1: import("
|
|
2838
|
-
reviewModeRubric: import("
|
|
2618
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2619
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2839
2620
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2840
2621
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2841
2622
|
isLastUsedWidget: boolean;
|
|
@@ -2865,12 +2646,12 @@ declare const InteractiveGraph: {
|
|
|
2865
2646
|
baseElements?: {
|
|
2866
2647
|
Link: React.ComponentType<any>;
|
|
2867
2648
|
} | undefined;
|
|
2868
|
-
imagePreloader?: ((dimensions: import("
|
|
2649
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2869
2650
|
trackInteraction?: ((args: {
|
|
2870
2651
|
type: string;
|
|
2871
2652
|
id: string;
|
|
2872
2653
|
correct?: boolean | undefined;
|
|
2873
|
-
} & Partial<import("
|
|
2654
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2874
2655
|
customKeypad?: boolean | undefined;
|
|
2875
2656
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2876
2657
|
isMobile?: boolean | undefined;
|
|
@@ -2893,14 +2674,7 @@ declare const InteractiveGraph: {
|
|
|
2893
2674
|
"linear-system"?: boolean | undefined;
|
|
2894
2675
|
"unlimited-point"?: boolean | undefined;
|
|
2895
2676
|
} & {
|
|
2896
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2897
2677
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2898
|
-
} & {
|
|
2899
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2900
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
2901
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
2902
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
2903
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
2904
2678
|
}) | undefined;
|
|
2905
2679
|
} | undefined;
|
|
2906
2680
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2925,8 +2699,8 @@ declare const InteractiveGraph: {
|
|
|
2925
2699
|
questionCompleted?: boolean | undefined;
|
|
2926
2700
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2927
2701
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2928
|
-
findWidgets: (arg1: import("
|
|
2929
|
-
reviewModeRubric: import("
|
|
2702
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2703
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2930
2704
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2931
2705
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2932
2706
|
isLastUsedWidget: boolean;
|
|
@@ -2934,9 +2708,9 @@ declare const InteractiveGraph: {
|
|
|
2934
2708
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2935
2709
|
}>, nextState: Readonly<any>, nextContext: any): void;
|
|
2936
2710
|
}>;
|
|
2937
|
-
mafsRef: React.RefObject<import("
|
|
2711
|
+
mafsRef: React.RefObject<import("../../../../perseus/src/renderer").Widget>;
|
|
2938
2712
|
getUserInput: (() => any) | undefined;
|
|
2939
|
-
simpleValidate(rubric: import("
|
|
2713
|
+
simpleValidate(rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
2940
2714
|
render(): React.JSX.Element;
|
|
2941
2715
|
context: unknown;
|
|
2942
2716
|
setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -2964,12 +2738,12 @@ declare const InteractiveGraph: {
|
|
|
2964
2738
|
baseElements?: {
|
|
2965
2739
|
Link: React.ComponentType<any>;
|
|
2966
2740
|
} | undefined;
|
|
2967
|
-
imagePreloader?: ((dimensions: import("
|
|
2741
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
2968
2742
|
trackInteraction?: ((args: {
|
|
2969
2743
|
type: string;
|
|
2970
2744
|
id: string;
|
|
2971
2745
|
correct?: boolean | undefined;
|
|
2972
|
-
} & Partial<import("
|
|
2746
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2973
2747
|
customKeypad?: boolean | undefined;
|
|
2974
2748
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2975
2749
|
isMobile?: boolean | undefined;
|
|
@@ -2992,14 +2766,7 @@ declare const InteractiveGraph: {
|
|
|
2992
2766
|
"linear-system"?: boolean | undefined;
|
|
2993
2767
|
"unlimited-point"?: boolean | undefined;
|
|
2994
2768
|
} & {
|
|
2995
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
2996
2769
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
2997
|
-
} & {
|
|
2998
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
2999
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3000
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3001
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3002
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3003
2770
|
}) | undefined;
|
|
3004
2771
|
} | undefined;
|
|
3005
2772
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3024,8 +2791,8 @@ declare const InteractiveGraph: {
|
|
|
3024
2791
|
questionCompleted?: boolean | undefined;
|
|
3025
2792
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3026
2793
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3027
|
-
findWidgets: (arg1: import("
|
|
3028
|
-
reviewModeRubric: import("
|
|
2794
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2795
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3029
2796
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3030
2797
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3031
2798
|
isLastUsedWidget: boolean;
|
|
@@ -3060,12 +2827,12 @@ declare const InteractiveGraph: {
|
|
|
3060
2827
|
baseElements?: {
|
|
3061
2828
|
Link: React.ComponentType<any>;
|
|
3062
2829
|
} | undefined;
|
|
3063
|
-
imagePreloader?: ((dimensions: import("
|
|
2830
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3064
2831
|
trackInteraction?: ((args: {
|
|
3065
2832
|
type: string;
|
|
3066
2833
|
id: string;
|
|
3067
2834
|
correct?: boolean | undefined;
|
|
3068
|
-
} & Partial<import("
|
|
2835
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3069
2836
|
customKeypad?: boolean | undefined;
|
|
3070
2837
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3071
2838
|
isMobile?: boolean | undefined;
|
|
@@ -3088,14 +2855,7 @@ declare const InteractiveGraph: {
|
|
|
3088
2855
|
"linear-system"?: boolean | undefined;
|
|
3089
2856
|
"unlimited-point"?: boolean | undefined;
|
|
3090
2857
|
} & {
|
|
3091
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3092
2858
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3093
|
-
} & {
|
|
3094
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3095
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3096
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3097
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3098
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3099
2859
|
}) | undefined;
|
|
3100
2860
|
} | undefined;
|
|
3101
2861
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3120,8 +2880,8 @@ declare const InteractiveGraph: {
|
|
|
3120
2880
|
questionCompleted?: boolean | undefined;
|
|
3121
2881
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3122
2882
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3123
|
-
findWidgets: (arg1: import("
|
|
3124
|
-
reviewModeRubric: import("
|
|
2883
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2884
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3125
2885
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3126
2886
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3127
2887
|
isLastUsedWidget: boolean;
|
|
@@ -3153,12 +2913,12 @@ declare const InteractiveGraph: {
|
|
|
3153
2913
|
baseElements?: {
|
|
3154
2914
|
Link: React.ComponentType<any>;
|
|
3155
2915
|
} | undefined;
|
|
3156
|
-
imagePreloader?: ((dimensions: import("
|
|
2916
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3157
2917
|
trackInteraction?: ((args: {
|
|
3158
2918
|
type: string;
|
|
3159
2919
|
id: string;
|
|
3160
2920
|
correct?: boolean | undefined;
|
|
3161
|
-
} & Partial<import("
|
|
2921
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3162
2922
|
customKeypad?: boolean | undefined;
|
|
3163
2923
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3164
2924
|
isMobile?: boolean | undefined;
|
|
@@ -3181,14 +2941,7 @@ declare const InteractiveGraph: {
|
|
|
3181
2941
|
"linear-system"?: boolean | undefined;
|
|
3182
2942
|
"unlimited-point"?: boolean | undefined;
|
|
3183
2943
|
} & {
|
|
3184
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3185
2944
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3186
|
-
} & {
|
|
3187
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3188
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3189
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3190
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3191
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3192
2945
|
}) | undefined;
|
|
3193
2946
|
} | undefined;
|
|
3194
2947
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3213,8 +2966,8 @@ declare const InteractiveGraph: {
|
|
|
3213
2966
|
questionCompleted?: boolean | undefined;
|
|
3214
2967
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3215
2968
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3216
|
-
findWidgets: (arg1: import("
|
|
3217
|
-
reviewModeRubric: import("
|
|
2969
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2970
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3218
2971
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3219
2972
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3220
2973
|
isLastUsedWidget: boolean;
|
|
@@ -3244,12 +2997,12 @@ declare const InteractiveGraph: {
|
|
|
3244
2997
|
baseElements?: {
|
|
3245
2998
|
Link: React.ComponentType<any>;
|
|
3246
2999
|
} | undefined;
|
|
3247
|
-
imagePreloader?: ((dimensions: import("
|
|
3000
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3248
3001
|
trackInteraction?: ((args: {
|
|
3249
3002
|
type: string;
|
|
3250
3003
|
id: string;
|
|
3251
3004
|
correct?: boolean | undefined;
|
|
3252
|
-
} & Partial<import("
|
|
3005
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3253
3006
|
customKeypad?: boolean | undefined;
|
|
3254
3007
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3255
3008
|
isMobile?: boolean | undefined;
|
|
@@ -3272,14 +3025,7 @@ declare const InteractiveGraph: {
|
|
|
3272
3025
|
"linear-system"?: boolean | undefined;
|
|
3273
3026
|
"unlimited-point"?: boolean | undefined;
|
|
3274
3027
|
} & {
|
|
3275
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3276
3028
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3277
|
-
} & {
|
|
3278
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3279
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3280
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3281
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3282
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3283
3029
|
}) | undefined;
|
|
3284
3030
|
} | undefined;
|
|
3285
3031
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3304,8 +3050,8 @@ declare const InteractiveGraph: {
|
|
|
3304
3050
|
questionCompleted?: boolean | undefined;
|
|
3305
3051
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3306
3052
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3307
|
-
findWidgets: (arg1: import("
|
|
3308
|
-
reviewModeRubric: import("
|
|
3053
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3054
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3309
3055
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3310
3056
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3311
3057
|
isLastUsedWidget: boolean;
|
|
@@ -3337,12 +3083,12 @@ declare const InteractiveGraph: {
|
|
|
3337
3083
|
baseElements?: {
|
|
3338
3084
|
Link: React.ComponentType<any>;
|
|
3339
3085
|
} | undefined;
|
|
3340
|
-
imagePreloader?: ((dimensions: import("
|
|
3086
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3341
3087
|
trackInteraction?: ((args: {
|
|
3342
3088
|
type: string;
|
|
3343
3089
|
id: string;
|
|
3344
3090
|
correct?: boolean | undefined;
|
|
3345
|
-
} & Partial<import("
|
|
3091
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3346
3092
|
customKeypad?: boolean | undefined;
|
|
3347
3093
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3348
3094
|
isMobile?: boolean | undefined;
|
|
@@ -3365,14 +3111,7 @@ declare const InteractiveGraph: {
|
|
|
3365
3111
|
"linear-system"?: boolean | undefined;
|
|
3366
3112
|
"unlimited-point"?: boolean | undefined;
|
|
3367
3113
|
} & {
|
|
3368
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3369
3114
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3370
|
-
} & {
|
|
3371
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3372
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3373
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3374
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3375
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3376
3115
|
}) | undefined;
|
|
3377
3116
|
} | undefined;
|
|
3378
3117
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3397,8 +3136,8 @@ declare const InteractiveGraph: {
|
|
|
3397
3136
|
questionCompleted?: boolean | undefined;
|
|
3398
3137
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3399
3138
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3400
|
-
findWidgets: (arg1: import("
|
|
3401
|
-
reviewModeRubric: import("
|
|
3139
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3140
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3402
3141
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3403
3142
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3404
3143
|
isLastUsedWidget: boolean;
|
|
@@ -3428,12 +3167,12 @@ declare const InteractiveGraph: {
|
|
|
3428
3167
|
baseElements?: {
|
|
3429
3168
|
Link: React.ComponentType<any>;
|
|
3430
3169
|
} | undefined;
|
|
3431
|
-
imagePreloader?: ((dimensions: import("
|
|
3170
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3432
3171
|
trackInteraction?: ((args: {
|
|
3433
3172
|
type: string;
|
|
3434
3173
|
id: string;
|
|
3435
3174
|
correct?: boolean | undefined;
|
|
3436
|
-
} & Partial<import("
|
|
3175
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3437
3176
|
customKeypad?: boolean | undefined;
|
|
3438
3177
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3439
3178
|
isMobile?: boolean | undefined;
|
|
@@ -3456,14 +3195,7 @@ declare const InteractiveGraph: {
|
|
|
3456
3195
|
"linear-system"?: boolean | undefined;
|
|
3457
3196
|
"unlimited-point"?: boolean | undefined;
|
|
3458
3197
|
} & {
|
|
3459
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3460
3198
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3461
|
-
} & {
|
|
3462
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3463
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3464
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3465
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3466
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3467
3199
|
}) | undefined;
|
|
3468
3200
|
} | undefined;
|
|
3469
3201
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3488,8 +3220,8 @@ declare const InteractiveGraph: {
|
|
|
3488
3220
|
questionCompleted?: boolean | undefined;
|
|
3489
3221
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3490
3222
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3491
|
-
findWidgets: (arg1: import("
|
|
3492
|
-
reviewModeRubric: import("
|
|
3223
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3224
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3493
3225
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3494
3226
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3495
3227
|
isLastUsedWidget: boolean;
|
|
@@ -3519,12 +3251,12 @@ declare const InteractiveGraph: {
|
|
|
3519
3251
|
baseElements?: {
|
|
3520
3252
|
Link: React.ComponentType<any>;
|
|
3521
3253
|
} | undefined;
|
|
3522
|
-
imagePreloader?: ((dimensions: import("
|
|
3254
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3523
3255
|
trackInteraction?: ((args: {
|
|
3524
3256
|
type: string;
|
|
3525
3257
|
id: string;
|
|
3526
3258
|
correct?: boolean | undefined;
|
|
3527
|
-
} & Partial<import("
|
|
3259
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3528
3260
|
customKeypad?: boolean | undefined;
|
|
3529
3261
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3530
3262
|
isMobile?: boolean | undefined;
|
|
@@ -3547,14 +3279,7 @@ declare const InteractiveGraph: {
|
|
|
3547
3279
|
"linear-system"?: boolean | undefined;
|
|
3548
3280
|
"unlimited-point"?: boolean | undefined;
|
|
3549
3281
|
} & {
|
|
3550
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3551
3282
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3552
|
-
} & {
|
|
3553
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3554
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3555
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3556
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3557
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3558
3283
|
}) | undefined;
|
|
3559
3284
|
} | undefined;
|
|
3560
3285
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3579,8 +3304,8 @@ declare const InteractiveGraph: {
|
|
|
3579
3304
|
questionCompleted?: boolean | undefined;
|
|
3580
3305
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3581
3306
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3582
|
-
findWidgets: (arg1: import("
|
|
3583
|
-
reviewModeRubric: import("
|
|
3307
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3308
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3584
3309
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3585
3310
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3586
3311
|
isLastUsedWidget: boolean;
|
|
@@ -3610,12 +3335,12 @@ declare const InteractiveGraph: {
|
|
|
3610
3335
|
baseElements?: {
|
|
3611
3336
|
Link: React.ComponentType<any>;
|
|
3612
3337
|
} | undefined;
|
|
3613
|
-
imagePreloader?: ((dimensions: import("
|
|
3338
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3614
3339
|
trackInteraction?: ((args: {
|
|
3615
3340
|
type: string;
|
|
3616
3341
|
id: string;
|
|
3617
3342
|
correct?: boolean | undefined;
|
|
3618
|
-
} & Partial<import("
|
|
3343
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3619
3344
|
customKeypad?: boolean | undefined;
|
|
3620
3345
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3621
3346
|
isMobile?: boolean | undefined;
|
|
@@ -3638,14 +3363,7 @@ declare const InteractiveGraph: {
|
|
|
3638
3363
|
"linear-system"?: boolean | undefined;
|
|
3639
3364
|
"unlimited-point"?: boolean | undefined;
|
|
3640
3365
|
} & {
|
|
3641
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3642
3366
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3643
|
-
} & {
|
|
3644
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3645
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3646
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3647
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3648
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3649
3367
|
}) | undefined;
|
|
3650
3368
|
} | undefined;
|
|
3651
3369
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3670,8 +3388,8 @@ declare const InteractiveGraph: {
|
|
|
3670
3388
|
questionCompleted?: boolean | undefined;
|
|
3671
3389
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3672
3390
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3673
|
-
findWidgets: (arg1: import("
|
|
3674
|
-
reviewModeRubric: import("
|
|
3391
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3392
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3675
3393
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3676
3394
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3677
3395
|
isLastUsedWidget: boolean;
|
|
@@ -3681,17 +3399,17 @@ declare const InteractiveGraph: {
|
|
|
3681
3399
|
};
|
|
3682
3400
|
defaultProps: {
|
|
3683
3401
|
labels: readonly string[];
|
|
3684
|
-
range: import("
|
|
3402
|
+
range: import("../../../../perseus/src/perseus-types").GraphRange;
|
|
3685
3403
|
step: [number, number];
|
|
3686
3404
|
backgroundImage: PerseusImageBackground | undefined;
|
|
3687
3405
|
markings: "none" | "grid" | "graph";
|
|
3688
3406
|
showTooltips: boolean | undefined;
|
|
3689
3407
|
showProtractor: boolean;
|
|
3690
|
-
graph:
|
|
3408
|
+
graph: PerseusGraphType;
|
|
3691
3409
|
};
|
|
3692
|
-
getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("
|
|
3693
|
-
getSinusoidCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("
|
|
3694
|
-
getLineCoords(graph:
|
|
3410
|
+
getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../../perseus/src/util/geometry").QuadraticCoefficient;
|
|
3411
|
+
getSinusoidCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../../perseus/src/util/geometry").SineCoefficient;
|
|
3412
|
+
getLineCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3695
3413
|
widgetId: string;
|
|
3696
3414
|
alignment: string | null | undefined;
|
|
3697
3415
|
static: boolean | null | undefined;
|
|
@@ -3714,12 +3432,12 @@ declare const InteractiveGraph: {
|
|
|
3714
3432
|
baseElements?: {
|
|
3715
3433
|
Link: React.ComponentType<any>;
|
|
3716
3434
|
} | undefined;
|
|
3717
|
-
imagePreloader?: ((dimensions: import("
|
|
3435
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3718
3436
|
trackInteraction?: ((args: {
|
|
3719
3437
|
type: string;
|
|
3720
3438
|
id: string;
|
|
3721
3439
|
correct?: boolean | undefined;
|
|
3722
|
-
} & Partial<import("
|
|
3440
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3723
3441
|
customKeypad?: boolean | undefined;
|
|
3724
3442
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3725
3443
|
isMobile?: boolean | undefined;
|
|
@@ -3742,14 +3460,7 @@ declare const InteractiveGraph: {
|
|
|
3742
3460
|
"linear-system"?: boolean | undefined;
|
|
3743
3461
|
"unlimited-point"?: boolean | undefined;
|
|
3744
3462
|
} & {
|
|
3745
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3746
3463
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3747
|
-
} & {
|
|
3748
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3749
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3750
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3751
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3752
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3753
3464
|
}) | undefined;
|
|
3754
3465
|
} | undefined;
|
|
3755
3466
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3774,15 +3485,15 @@ declare const InteractiveGraph: {
|
|
|
3774
3485
|
questionCompleted?: boolean | undefined;
|
|
3775
3486
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3776
3487
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3777
|
-
findWidgets: (arg1: import("
|
|
3778
|
-
reviewModeRubric: import("
|
|
3488
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3489
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3779
3490
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3780
3491
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3781
3492
|
isLastUsedWidget: boolean;
|
|
3782
3493
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3783
3494
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3784
3495
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
3785
|
-
getPointCoords(graph: import("
|
|
3496
|
+
getPointCoords(graph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3786
3497
|
widgetId: string;
|
|
3787
3498
|
alignment: string | null | undefined;
|
|
3788
3499
|
static: boolean | null | undefined;
|
|
@@ -3805,12 +3516,12 @@ declare const InteractiveGraph: {
|
|
|
3805
3516
|
baseElements?: {
|
|
3806
3517
|
Link: React.ComponentType<any>;
|
|
3807
3518
|
} | undefined;
|
|
3808
|
-
imagePreloader?: ((dimensions: import("
|
|
3519
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3809
3520
|
trackInteraction?: ((args: {
|
|
3810
3521
|
type: string;
|
|
3811
3522
|
id: string;
|
|
3812
3523
|
correct?: boolean | undefined;
|
|
3813
|
-
} & Partial<import("
|
|
3524
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3814
3525
|
customKeypad?: boolean | undefined;
|
|
3815
3526
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3816
3527
|
isMobile?: boolean | undefined;
|
|
@@ -3833,14 +3544,7 @@ declare const InteractiveGraph: {
|
|
|
3833
3544
|
"linear-system"?: boolean | undefined;
|
|
3834
3545
|
"unlimited-point"?: boolean | undefined;
|
|
3835
3546
|
} & {
|
|
3836
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3837
3547
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3838
|
-
} & {
|
|
3839
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3840
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3841
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3842
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3843
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3844
3548
|
}) | undefined;
|
|
3845
3549
|
} | undefined;
|
|
3846
3550
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3865,15 +3569,15 @@ declare const InteractiveGraph: {
|
|
|
3865
3569
|
questionCompleted?: boolean | undefined;
|
|
3866
3570
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3867
3571
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3868
|
-
findWidgets: (arg1: import("
|
|
3869
|
-
reviewModeRubric: import("
|
|
3572
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3573
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3870
3574
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3871
3575
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3872
3576
|
isLastUsedWidget: boolean;
|
|
3873
3577
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3874
3578
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3875
3579
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
3876
|
-
getLinearSystemCoords(graph:
|
|
3580
|
+
getLinearSystemCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3877
3581
|
widgetId: string;
|
|
3878
3582
|
alignment: string | null | undefined;
|
|
3879
3583
|
static: boolean | null | undefined;
|
|
@@ -3896,12 +3600,12 @@ declare const InteractiveGraph: {
|
|
|
3896
3600
|
baseElements?: {
|
|
3897
3601
|
Link: React.ComponentType<any>;
|
|
3898
3602
|
} | undefined;
|
|
3899
|
-
imagePreloader?: ((dimensions: import("
|
|
3603
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3900
3604
|
trackInteraction?: ((args: {
|
|
3901
3605
|
type: string;
|
|
3902
3606
|
id: string;
|
|
3903
3607
|
correct?: boolean | undefined;
|
|
3904
|
-
} & Partial<import("
|
|
3608
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3905
3609
|
customKeypad?: boolean | undefined;
|
|
3906
3610
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3907
3611
|
isMobile?: boolean | undefined;
|
|
@@ -3924,14 +3628,7 @@ declare const InteractiveGraph: {
|
|
|
3924
3628
|
"linear-system"?: boolean | undefined;
|
|
3925
3629
|
"unlimited-point"?: boolean | undefined;
|
|
3926
3630
|
} & {
|
|
3927
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
3928
3631
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
3929
|
-
} & {
|
|
3930
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
3931
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
3932
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
3933
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
3934
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
3935
3632
|
}) | undefined;
|
|
3936
3633
|
} | undefined;
|
|
3937
3634
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3956,15 +3653,15 @@ declare const InteractiveGraph: {
|
|
|
3956
3653
|
questionCompleted?: boolean | undefined;
|
|
3957
3654
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3958
3655
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3959
|
-
findWidgets: (arg1: import("
|
|
3960
|
-
reviewModeRubric: import("
|
|
3656
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3657
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3961
3658
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3962
3659
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3963
3660
|
isLastUsedWidget: boolean;
|
|
3964
3661
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3965
3662
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3966
3663
|
}): readonly (readonly import("@khanacademy/perseus").Coord[])[];
|
|
3967
|
-
getPolygonCoords(graph:
|
|
3664
|
+
getPolygonCoords(graph: PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3968
3665
|
widgetId: string;
|
|
3969
3666
|
alignment: string | null | undefined;
|
|
3970
3667
|
static: boolean | null | undefined;
|
|
@@ -3987,12 +3684,12 @@ declare const InteractiveGraph: {
|
|
|
3987
3684
|
baseElements?: {
|
|
3988
3685
|
Link: React.ComponentType<any>;
|
|
3989
3686
|
} | undefined;
|
|
3990
|
-
imagePreloader?: ((dimensions: import("
|
|
3687
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
3991
3688
|
trackInteraction?: ((args: {
|
|
3992
3689
|
type: string;
|
|
3993
3690
|
id: string;
|
|
3994
3691
|
correct?: boolean | undefined;
|
|
3995
|
-
} & Partial<import("
|
|
3692
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3996
3693
|
customKeypad?: boolean | undefined;
|
|
3997
3694
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3998
3695
|
isMobile?: boolean | undefined;
|
|
@@ -4015,14 +3712,7 @@ declare const InteractiveGraph: {
|
|
|
4015
3712
|
"linear-system"?: boolean | undefined;
|
|
4016
3713
|
"unlimited-point"?: boolean | undefined;
|
|
4017
3714
|
} & {
|
|
4018
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4019
3715
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4020
|
-
} & {
|
|
4021
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4022
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4023
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4024
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4025
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4026
3716
|
}) | undefined;
|
|
4027
3717
|
} | undefined;
|
|
4028
3718
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4047,15 +3737,15 @@ declare const InteractiveGraph: {
|
|
|
4047
3737
|
questionCompleted?: boolean | undefined;
|
|
4048
3738
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4049
3739
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4050
|
-
findWidgets: (arg1: import("
|
|
4051
|
-
reviewModeRubric: import("
|
|
3740
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3741
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4052
3742
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4053
3743
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4054
3744
|
isLastUsedWidget: boolean;
|
|
4055
3745
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4056
3746
|
containerSizeClass: SizingUtils.SizeClass;
|
|
4057
3747
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
4058
|
-
getSegmentCoords(graph: import("
|
|
3748
|
+
getSegmentCoords(graph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, props: PerseusInteractiveGraphWidgetOptions & {
|
|
4059
3749
|
widgetId: string;
|
|
4060
3750
|
alignment: string | null | undefined;
|
|
4061
3751
|
static: boolean | null | undefined;
|
|
@@ -4078,12 +3768,12 @@ declare const InteractiveGraph: {
|
|
|
4078
3768
|
baseElements?: {
|
|
4079
3769
|
Link: React.ComponentType<any>;
|
|
4080
3770
|
} | undefined;
|
|
4081
|
-
imagePreloader?: ((dimensions: import("
|
|
3771
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4082
3772
|
trackInteraction?: ((args: {
|
|
4083
3773
|
type: string;
|
|
4084
3774
|
id: string;
|
|
4085
3775
|
correct?: boolean | undefined;
|
|
4086
|
-
} & Partial<import("
|
|
3776
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4087
3777
|
customKeypad?: boolean | undefined;
|
|
4088
3778
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4089
3779
|
isMobile?: boolean | undefined;
|
|
@@ -4106,14 +3796,7 @@ declare const InteractiveGraph: {
|
|
|
4106
3796
|
"linear-system"?: boolean | undefined;
|
|
4107
3797
|
"unlimited-point"?: boolean | undefined;
|
|
4108
3798
|
} & {
|
|
4109
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4110
3799
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4111
|
-
} & {
|
|
4112
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4113
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4114
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4115
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4116
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4117
3800
|
}) | undefined;
|
|
4118
3801
|
} | undefined;
|
|
4119
3802
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4138,15 +3821,15 @@ declare const InteractiveGraph: {
|
|
|
4138
3821
|
questionCompleted?: boolean | undefined;
|
|
4139
3822
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4140
3823
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4141
|
-
findWidgets: (arg1: import("
|
|
4142
|
-
reviewModeRubric: import("
|
|
3824
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3825
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4143
3826
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4144
3827
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4145
3828
|
isLastUsedWidget: boolean;
|
|
4146
3829
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4147
3830
|
containerSizeClass: SizingUtils.SizeClass;
|
|
4148
3831
|
}): readonly (readonly import("@khanacademy/perseus").Coord[])[];
|
|
4149
|
-
getAngleCoords(graph: import("
|
|
3832
|
+
getAngleCoords(graph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, props: PerseusInteractiveGraphWidgetOptions & {
|
|
4150
3833
|
widgetId: string;
|
|
4151
3834
|
alignment: string | null | undefined;
|
|
4152
3835
|
static: boolean | null | undefined;
|
|
@@ -4169,12 +3852,12 @@ declare const InteractiveGraph: {
|
|
|
4169
3852
|
baseElements?: {
|
|
4170
3853
|
Link: React.ComponentType<any>;
|
|
4171
3854
|
} | undefined;
|
|
4172
|
-
imagePreloader?: ((dimensions: import("
|
|
3855
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4173
3856
|
trackInteraction?: ((args: {
|
|
4174
3857
|
type: string;
|
|
4175
3858
|
id: string;
|
|
4176
3859
|
correct?: boolean | undefined;
|
|
4177
|
-
} & Partial<import("
|
|
3860
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4178
3861
|
customKeypad?: boolean | undefined;
|
|
4179
3862
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4180
3863
|
isMobile?: boolean | undefined;
|
|
@@ -4197,14 +3880,7 @@ declare const InteractiveGraph: {
|
|
|
4197
3880
|
"linear-system"?: boolean | undefined;
|
|
4198
3881
|
"unlimited-point"?: boolean | undefined;
|
|
4199
3882
|
} & {
|
|
4200
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4201
3883
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4202
|
-
} & {
|
|
4203
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4204
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4205
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4206
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4207
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4208
3884
|
}) | undefined;
|
|
4209
3885
|
} | undefined;
|
|
4210
3886
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4229,15 +3905,15 @@ declare const InteractiveGraph: {
|
|
|
4229
3905
|
questionCompleted?: boolean | undefined;
|
|
4230
3906
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4231
3907
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4232
|
-
findWidgets: (arg1: import("
|
|
4233
|
-
reviewModeRubric: import("
|
|
3908
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3909
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4234
3910
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4235
3911
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4236
3912
|
isLastUsedWidget: boolean;
|
|
4237
3913
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4238
3914
|
containerSizeClass: SizingUtils.SizeClass;
|
|
4239
3915
|
}): [import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord];
|
|
4240
|
-
normalizeCoords(coordsList: readonly import("@khanacademy/perseus").Coord[], ranges: [import("
|
|
3916
|
+
normalizeCoords(coordsList: readonly import("@khanacademy/perseus").Coord[], ranges: [import("../../../../perseus/src/util/geometry").Range, import("../../../../perseus/src/util/geometry").Range]): readonly import("@khanacademy/perseus").Coord[];
|
|
4241
3917
|
getEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
4242
3918
|
widgetId: string;
|
|
4243
3919
|
alignment: string | null | undefined;
|
|
@@ -4261,12 +3937,12 @@ declare const InteractiveGraph: {
|
|
|
4261
3937
|
baseElements?: {
|
|
4262
3938
|
Link: React.ComponentType<any>;
|
|
4263
3939
|
} | undefined;
|
|
4264
|
-
imagePreloader?: ((dimensions: import("
|
|
3940
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4265
3941
|
trackInteraction?: ((args: {
|
|
4266
3942
|
type: string;
|
|
4267
3943
|
id: string;
|
|
4268
3944
|
correct?: boolean | undefined;
|
|
4269
|
-
} & Partial<import("
|
|
3945
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4270
3946
|
customKeypad?: boolean | undefined;
|
|
4271
3947
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4272
3948
|
isMobile?: boolean | undefined;
|
|
@@ -4289,14 +3965,7 @@ declare const InteractiveGraph: {
|
|
|
4289
3965
|
"linear-system"?: boolean | undefined;
|
|
4290
3966
|
"unlimited-point"?: boolean | undefined;
|
|
4291
3967
|
} & {
|
|
4292
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4293
3968
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4294
|
-
} & {
|
|
4295
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4296
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4297
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4298
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4299
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4300
3969
|
}) | undefined;
|
|
4301
3970
|
} | undefined;
|
|
4302
3971
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4321,8 +3990,8 @@ declare const InteractiveGraph: {
|
|
|
4321
3990
|
questionCompleted?: boolean | undefined;
|
|
4322
3991
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4323
3992
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4324
|
-
findWidgets: (arg1: import("
|
|
4325
|
-
reviewModeRubric: import("
|
|
3993
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3994
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4326
3995
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4327
3996
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4328
3997
|
isLastUsedWidget: boolean;
|
|
@@ -4352,12 +4021,12 @@ declare const InteractiveGraph: {
|
|
|
4352
4021
|
baseElements?: {
|
|
4353
4022
|
Link: React.ComponentType<any>;
|
|
4354
4023
|
} | undefined;
|
|
4355
|
-
imagePreloader?: ((dimensions: import("
|
|
4024
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4356
4025
|
trackInteraction?: ((args: {
|
|
4357
4026
|
type: string;
|
|
4358
4027
|
id: string;
|
|
4359
4028
|
correct?: boolean | undefined;
|
|
4360
|
-
} & Partial<import("
|
|
4029
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4361
4030
|
customKeypad?: boolean | undefined;
|
|
4362
4031
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4363
4032
|
isMobile?: boolean | undefined;
|
|
@@ -4380,14 +4049,7 @@ declare const InteractiveGraph: {
|
|
|
4380
4049
|
"linear-system"?: boolean | undefined;
|
|
4381
4050
|
"unlimited-point"?: boolean | undefined;
|
|
4382
4051
|
} & {
|
|
4383
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4384
4052
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4385
|
-
} & {
|
|
4386
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4387
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4388
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4389
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4390
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4391
4053
|
}) | undefined;
|
|
4392
4054
|
} | undefined;
|
|
4393
4055
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4412,8 +4074,8 @@ declare const InteractiveGraph: {
|
|
|
4412
4074
|
questionCompleted?: boolean | undefined;
|
|
4413
4075
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4414
4076
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4415
|
-
findWidgets: (arg1: import("
|
|
4416
|
-
reviewModeRubric: import("
|
|
4077
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4078
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4417
4079
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4418
4080
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4419
4081
|
isLastUsedWidget: boolean;
|
|
@@ -4443,12 +4105,12 @@ declare const InteractiveGraph: {
|
|
|
4443
4105
|
baseElements?: {
|
|
4444
4106
|
Link: React.ComponentType<any>;
|
|
4445
4107
|
} | undefined;
|
|
4446
|
-
imagePreloader?: ((dimensions: import("
|
|
4108
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4447
4109
|
trackInteraction?: ((args: {
|
|
4448
4110
|
type: string;
|
|
4449
4111
|
id: string;
|
|
4450
4112
|
correct?: boolean | undefined;
|
|
4451
|
-
} & Partial<import("
|
|
4113
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4452
4114
|
customKeypad?: boolean | undefined;
|
|
4453
4115
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4454
4116
|
isMobile?: boolean | undefined;
|
|
@@ -4471,14 +4133,7 @@ declare const InteractiveGraph: {
|
|
|
4471
4133
|
"linear-system"?: boolean | undefined;
|
|
4472
4134
|
"unlimited-point"?: boolean | undefined;
|
|
4473
4135
|
} & {
|
|
4474
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4475
4136
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4476
|
-
} & {
|
|
4477
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4478
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4479
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4480
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4481
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4482
4137
|
}) | undefined;
|
|
4483
4138
|
} | undefined;
|
|
4484
4139
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4503,8 +4158,8 @@ declare const InteractiveGraph: {
|
|
|
4503
4158
|
questionCompleted?: boolean | undefined;
|
|
4504
4159
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4505
4160
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4506
|
-
findWidgets: (arg1: import("
|
|
4507
|
-
reviewModeRubric: import("
|
|
4161
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4162
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4508
4163
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4509
4164
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4510
4165
|
isLastUsedWidget: boolean;
|
|
@@ -4534,12 +4189,12 @@ declare const InteractiveGraph: {
|
|
|
4534
4189
|
baseElements?: {
|
|
4535
4190
|
Link: React.ComponentType<any>;
|
|
4536
4191
|
} | undefined;
|
|
4537
|
-
imagePreloader?: ((dimensions: import("
|
|
4192
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4538
4193
|
trackInteraction?: ((args: {
|
|
4539
4194
|
type: string;
|
|
4540
4195
|
id: string;
|
|
4541
4196
|
correct?: boolean | undefined;
|
|
4542
|
-
} & Partial<import("
|
|
4197
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4543
4198
|
customKeypad?: boolean | undefined;
|
|
4544
4199
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4545
4200
|
isMobile?: boolean | undefined;
|
|
@@ -4562,14 +4217,7 @@ declare const InteractiveGraph: {
|
|
|
4562
4217
|
"linear-system"?: boolean | undefined;
|
|
4563
4218
|
"unlimited-point"?: boolean | undefined;
|
|
4564
4219
|
} & {
|
|
4565
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4566
4220
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4567
|
-
} & {
|
|
4568
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4569
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4570
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4571
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4572
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4573
4221
|
}) | undefined;
|
|
4574
4222
|
} | undefined;
|
|
4575
4223
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4594,14 +4242,14 @@ declare const InteractiveGraph: {
|
|
|
4594
4242
|
questionCompleted?: boolean | undefined;
|
|
4595
4243
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4596
4244
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4597
|
-
findWidgets: (arg1: import("
|
|
4598
|
-
reviewModeRubric: import("
|
|
4245
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4246
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4599
4247
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4600
4248
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4601
4249
|
isLastUsedWidget: boolean;
|
|
4602
4250
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4603
4251
|
containerSizeClass: SizingUtils.SizeClass;
|
|
4604
|
-
}): import("
|
|
4252
|
+
}): import("../../../../perseus/src/util/geometry").QuadraticCoefficient;
|
|
4605
4253
|
defaultQuadraticCoords(props: PerseusInteractiveGraphWidgetOptions & {
|
|
4606
4254
|
widgetId: string;
|
|
4607
4255
|
alignment: string | null | undefined;
|
|
@@ -4625,12 +4273,12 @@ declare const InteractiveGraph: {
|
|
|
4625
4273
|
baseElements?: {
|
|
4626
4274
|
Link: React.ComponentType<any>;
|
|
4627
4275
|
} | undefined;
|
|
4628
|
-
imagePreloader?: ((dimensions: import("
|
|
4276
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4629
4277
|
trackInteraction?: ((args: {
|
|
4630
4278
|
type: string;
|
|
4631
4279
|
id: string;
|
|
4632
4280
|
correct?: boolean | undefined;
|
|
4633
|
-
} & Partial<import("
|
|
4281
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4634
4282
|
customKeypad?: boolean | undefined;
|
|
4635
4283
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4636
4284
|
isMobile?: boolean | undefined;
|
|
@@ -4653,14 +4301,7 @@ declare const InteractiveGraph: {
|
|
|
4653
4301
|
"linear-system"?: boolean | undefined;
|
|
4654
4302
|
"unlimited-point"?: boolean | undefined;
|
|
4655
4303
|
} & {
|
|
4656
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4657
4304
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4658
|
-
} & {
|
|
4659
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4660
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4661
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4662
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4663
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4664
4305
|
}) | undefined;
|
|
4665
4306
|
} | undefined;
|
|
4666
4307
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4685,8 +4326,8 @@ declare const InteractiveGraph: {
|
|
|
4685
4326
|
questionCompleted?: boolean | undefined;
|
|
4686
4327
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4687
4328
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4688
|
-
findWidgets: (arg1: import("
|
|
4689
|
-
reviewModeRubric: import("
|
|
4329
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4330
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4690
4331
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4691
4332
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4692
4333
|
isLastUsedWidget: boolean;
|
|
@@ -4716,12 +4357,12 @@ declare const InteractiveGraph: {
|
|
|
4716
4357
|
baseElements?: {
|
|
4717
4358
|
Link: React.ComponentType<any>;
|
|
4718
4359
|
} | undefined;
|
|
4719
|
-
imagePreloader?: ((dimensions: import("
|
|
4360
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4720
4361
|
trackInteraction?: ((args: {
|
|
4721
4362
|
type: string;
|
|
4722
4363
|
id: string;
|
|
4723
4364
|
correct?: boolean | undefined;
|
|
4724
|
-
} & Partial<import("
|
|
4365
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4725
4366
|
customKeypad?: boolean | undefined;
|
|
4726
4367
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4727
4368
|
isMobile?: boolean | undefined;
|
|
@@ -4744,14 +4385,7 @@ declare const InteractiveGraph: {
|
|
|
4744
4385
|
"linear-system"?: boolean | undefined;
|
|
4745
4386
|
"unlimited-point"?: boolean | undefined;
|
|
4746
4387
|
} & {
|
|
4747
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4748
4388
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4749
|
-
} & {
|
|
4750
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4751
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4752
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4753
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4754
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4755
4389
|
}) | undefined;
|
|
4756
4390
|
} | undefined;
|
|
4757
4391
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4776,8 +4410,8 @@ declare const InteractiveGraph: {
|
|
|
4776
4410
|
questionCompleted?: boolean | undefined;
|
|
4777
4411
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4778
4412
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4779
|
-
findWidgets: (arg1: import("
|
|
4780
|
-
reviewModeRubric: import("
|
|
4413
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4414
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4781
4415
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4782
4416
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4783
4417
|
isLastUsedWidget: boolean;
|
|
@@ -4807,12 +4441,12 @@ declare const InteractiveGraph: {
|
|
|
4807
4441
|
baseElements?: {
|
|
4808
4442
|
Link: React.ComponentType<any>;
|
|
4809
4443
|
} | undefined;
|
|
4810
|
-
imagePreloader?: ((dimensions: import("
|
|
4444
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4811
4445
|
trackInteraction?: ((args: {
|
|
4812
4446
|
type: string;
|
|
4813
4447
|
id: string;
|
|
4814
4448
|
correct?: boolean | undefined;
|
|
4815
|
-
} & Partial<import("
|
|
4449
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4816
4450
|
customKeypad?: boolean | undefined;
|
|
4817
4451
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4818
4452
|
isMobile?: boolean | undefined;
|
|
@@ -4835,14 +4469,7 @@ declare const InteractiveGraph: {
|
|
|
4835
4469
|
"linear-system"?: boolean | undefined;
|
|
4836
4470
|
"unlimited-point"?: boolean | undefined;
|
|
4837
4471
|
} & {
|
|
4838
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4839
4472
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4840
|
-
} & {
|
|
4841
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4842
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4843
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4844
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4845
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4846
4473
|
}) | undefined;
|
|
4847
4474
|
} | undefined;
|
|
4848
4475
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4867,14 +4494,14 @@ declare const InteractiveGraph: {
|
|
|
4867
4494
|
questionCompleted?: boolean | undefined;
|
|
4868
4495
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4869
4496
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4870
|
-
findWidgets: (arg1: import("
|
|
4871
|
-
reviewModeRubric: import("
|
|
4497
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4498
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4872
4499
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4873
4500
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4874
4501
|
isLastUsedWidget: boolean;
|
|
4875
4502
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4876
4503
|
containerSizeClass: SizingUtils.SizeClass;
|
|
4877
|
-
}): import("
|
|
4504
|
+
}): import("../../../../perseus/src/util/geometry").SineCoefficient;
|
|
4878
4505
|
defaultSinusoidCoords(props: PerseusInteractiveGraphWidgetOptions & {
|
|
4879
4506
|
widgetId: string;
|
|
4880
4507
|
alignment: string | null | undefined;
|
|
@@ -4898,12 +4525,12 @@ declare const InteractiveGraph: {
|
|
|
4898
4525
|
baseElements?: {
|
|
4899
4526
|
Link: React.ComponentType<any>;
|
|
4900
4527
|
} | undefined;
|
|
4901
|
-
imagePreloader?: ((dimensions: import("
|
|
4528
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4902
4529
|
trackInteraction?: ((args: {
|
|
4903
4530
|
type: string;
|
|
4904
4531
|
id: string;
|
|
4905
4532
|
correct?: boolean | undefined;
|
|
4906
|
-
} & Partial<import("
|
|
4533
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4907
4534
|
customKeypad?: boolean | undefined;
|
|
4908
4535
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4909
4536
|
isMobile?: boolean | undefined;
|
|
@@ -4926,14 +4553,7 @@ declare const InteractiveGraph: {
|
|
|
4926
4553
|
"linear-system"?: boolean | undefined;
|
|
4927
4554
|
"unlimited-point"?: boolean | undefined;
|
|
4928
4555
|
} & {
|
|
4929
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
4930
4556
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
4931
|
-
} & {
|
|
4932
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
4933
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
4934
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
4935
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
4936
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
4937
4557
|
}) | undefined;
|
|
4938
4558
|
} | undefined;
|
|
4939
4559
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4958,8 +4578,8 @@ declare const InteractiveGraph: {
|
|
|
4958
4578
|
questionCompleted?: boolean | undefined;
|
|
4959
4579
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4960
4580
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4961
|
-
findWidgets: (arg1: import("
|
|
4962
|
-
reviewModeRubric: import("
|
|
4581
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4582
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4963
4583
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4964
4584
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4965
4585
|
isLastUsedWidget: boolean;
|
|
@@ -4989,12 +4609,12 @@ declare const InteractiveGraph: {
|
|
|
4989
4609
|
baseElements?: {
|
|
4990
4610
|
Link: React.ComponentType<any>;
|
|
4991
4611
|
} | undefined;
|
|
4992
|
-
imagePreloader?: ((dimensions: import("
|
|
4612
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
4993
4613
|
trackInteraction?: ((args: {
|
|
4994
4614
|
type: string;
|
|
4995
4615
|
id: string;
|
|
4996
4616
|
correct?: boolean | undefined;
|
|
4997
|
-
} & Partial<import("
|
|
4617
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
4998
4618
|
customKeypad?: boolean | undefined;
|
|
4999
4619
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5000
4620
|
isMobile?: boolean | undefined;
|
|
@@ -5017,14 +4637,7 @@ declare const InteractiveGraph: {
|
|
|
5017
4637
|
"linear-system"?: boolean | undefined;
|
|
5018
4638
|
"unlimited-point"?: boolean | undefined;
|
|
5019
4639
|
} & {
|
|
5020
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5021
4640
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
5022
|
-
} & {
|
|
5023
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
5024
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
5025
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
5026
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
5027
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
5028
4641
|
}) | undefined;
|
|
5029
4642
|
} | undefined;
|
|
5030
4643
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5049,8 +4662,8 @@ declare const InteractiveGraph: {
|
|
|
5049
4662
|
questionCompleted?: boolean | undefined;
|
|
5050
4663
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5051
4664
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5052
|
-
findWidgets: (arg1: import("
|
|
5053
|
-
reviewModeRubric: import("
|
|
4665
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4666
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5054
4667
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5055
4668
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5056
4669
|
isLastUsedWidget: boolean;
|
|
@@ -5080,12 +4693,12 @@ declare const InteractiveGraph: {
|
|
|
5080
4693
|
baseElements?: {
|
|
5081
4694
|
Link: React.ComponentType<any>;
|
|
5082
4695
|
} | undefined;
|
|
5083
|
-
imagePreloader?: ((dimensions: import("
|
|
4696
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
5084
4697
|
trackInteraction?: ((args: {
|
|
5085
4698
|
type: string;
|
|
5086
4699
|
id: string;
|
|
5087
4700
|
correct?: boolean | undefined;
|
|
5088
|
-
} & Partial<import("
|
|
4701
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
5089
4702
|
customKeypad?: boolean | undefined;
|
|
5090
4703
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5091
4704
|
isMobile?: boolean | undefined;
|
|
@@ -5108,14 +4721,7 @@ declare const InteractiveGraph: {
|
|
|
5108
4721
|
"linear-system"?: boolean | undefined;
|
|
5109
4722
|
"unlimited-point"?: boolean | undefined;
|
|
5110
4723
|
} & {
|
|
5111
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5112
4724
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
5113
|
-
} & {
|
|
5114
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
5115
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
5116
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
5117
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
5118
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
5119
4725
|
}) | undefined;
|
|
5120
4726
|
} | undefined;
|
|
5121
4727
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5140,8 +4746,8 @@ declare const InteractiveGraph: {
|
|
|
5140
4746
|
questionCompleted?: boolean | undefined;
|
|
5141
4747
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5142
4748
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5143
|
-
findWidgets: (arg1: import("
|
|
5144
|
-
reviewModeRubric: import("
|
|
4749
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4750
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5145
4751
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5146
4752
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5147
4753
|
isLastUsedWidget: boolean;
|
|
@@ -5171,12 +4777,12 @@ declare const InteractiveGraph: {
|
|
|
5171
4777
|
baseElements?: {
|
|
5172
4778
|
Link: React.ComponentType<any>;
|
|
5173
4779
|
} | undefined;
|
|
5174
|
-
imagePreloader?: ((dimensions: import("
|
|
4780
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
5175
4781
|
trackInteraction?: ((args: {
|
|
5176
4782
|
type: string;
|
|
5177
4783
|
id: string;
|
|
5178
4784
|
correct?: boolean | undefined;
|
|
5179
|
-
} & Partial<import("
|
|
4785
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
5180
4786
|
customKeypad?: boolean | undefined;
|
|
5181
4787
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5182
4788
|
isMobile?: boolean | undefined;
|
|
@@ -5199,14 +4805,7 @@ declare const InteractiveGraph: {
|
|
|
5199
4805
|
"linear-system"?: boolean | undefined;
|
|
5200
4806
|
"unlimited-point"?: boolean | undefined;
|
|
5201
4807
|
} & {
|
|
5202
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5203
4808
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
5204
|
-
} & {
|
|
5205
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
5206
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
5207
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
5208
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
5209
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
5210
4809
|
}) | undefined;
|
|
5211
4810
|
} | undefined;
|
|
5212
4811
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5231,8 +4830,8 @@ declare const InteractiveGraph: {
|
|
|
5231
4830
|
questionCompleted?: boolean | undefined;
|
|
5232
4831
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5233
4832
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5234
|
-
findWidgets: (arg1: import("
|
|
5235
|
-
reviewModeRubric: import("
|
|
4833
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4834
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5236
4835
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5237
4836
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5238
4837
|
isLastUsedWidget: boolean;
|
|
@@ -5262,12 +4861,12 @@ declare const InteractiveGraph: {
|
|
|
5262
4861
|
baseElements?: {
|
|
5263
4862
|
Link: React.ComponentType<any>;
|
|
5264
4863
|
} | undefined;
|
|
5265
|
-
imagePreloader?: ((dimensions: import("
|
|
4864
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
5266
4865
|
trackInteraction?: ((args: {
|
|
5267
4866
|
type: string;
|
|
5268
4867
|
id: string;
|
|
5269
4868
|
correct?: boolean | undefined;
|
|
5270
|
-
} & Partial<import("
|
|
4869
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
5271
4870
|
customKeypad?: boolean | undefined;
|
|
5272
4871
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5273
4872
|
isMobile?: boolean | undefined;
|
|
@@ -5290,14 +4889,7 @@ declare const InteractiveGraph: {
|
|
|
5290
4889
|
"linear-system"?: boolean | undefined;
|
|
5291
4890
|
"unlimited-point"?: boolean | undefined;
|
|
5292
4891
|
} & {
|
|
5293
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5294
4892
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
5295
|
-
} & {
|
|
5296
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
5297
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
5298
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
5299
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
5300
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
5301
4893
|
}) | undefined;
|
|
5302
4894
|
} | undefined;
|
|
5303
4895
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5322,8 +4914,8 @@ declare const InteractiveGraph: {
|
|
|
5322
4914
|
questionCompleted?: boolean | undefined;
|
|
5323
4915
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5324
4916
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5325
|
-
findWidgets: (arg1: import("
|
|
5326
|
-
reviewModeRubric: import("
|
|
4917
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4918
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5327
4919
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5328
4920
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5329
4921
|
isLastUsedWidget: boolean;
|
|
@@ -5353,12 +4945,12 @@ declare const InteractiveGraph: {
|
|
|
5353
4945
|
baseElements?: {
|
|
5354
4946
|
Link: React.ComponentType<any>;
|
|
5355
4947
|
} | undefined;
|
|
5356
|
-
imagePreloader?: ((dimensions: import("
|
|
4948
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
5357
4949
|
trackInteraction?: ((args: {
|
|
5358
4950
|
type: string;
|
|
5359
4951
|
id: string;
|
|
5360
4952
|
correct?: boolean | undefined;
|
|
5361
|
-
} & Partial<import("
|
|
4953
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
5362
4954
|
customKeypad?: boolean | undefined;
|
|
5363
4955
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5364
4956
|
isMobile?: boolean | undefined;
|
|
@@ -5381,14 +4973,7 @@ declare const InteractiveGraph: {
|
|
|
5381
4973
|
"linear-system"?: boolean | undefined;
|
|
5382
4974
|
"unlimited-point"?: boolean | undefined;
|
|
5383
4975
|
} & {
|
|
5384
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5385
4976
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
5386
|
-
} & {
|
|
5387
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
5388
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
5389
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
5390
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
5391
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
5392
4977
|
}) | undefined;
|
|
5393
4978
|
} | undefined;
|
|
5394
4979
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5413,8 +4998,8 @@ declare const InteractiveGraph: {
|
|
|
5413
4998
|
questionCompleted?: boolean | undefined;
|
|
5414
4999
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5415
5000
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5416
|
-
findWidgets: (arg1: import("
|
|
5417
|
-
reviewModeRubric: import("
|
|
5001
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5002
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5418
5003
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5419
5004
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5420
5005
|
isLastUsedWidget: boolean;
|
|
@@ -5444,12 +5029,12 @@ declare const InteractiveGraph: {
|
|
|
5444
5029
|
baseElements?: {
|
|
5445
5030
|
Link: React.ComponentType<any>;
|
|
5446
5031
|
} | undefined;
|
|
5447
|
-
imagePreloader?: ((dimensions: import("
|
|
5032
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
5448
5033
|
trackInteraction?: ((args: {
|
|
5449
5034
|
type: string;
|
|
5450
5035
|
id: string;
|
|
5451
5036
|
correct?: boolean | undefined;
|
|
5452
|
-
} & Partial<import("
|
|
5037
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
5453
5038
|
customKeypad?: boolean | undefined;
|
|
5454
5039
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5455
5040
|
isMobile?: boolean | undefined;
|
|
@@ -5472,14 +5057,7 @@ declare const InteractiveGraph: {
|
|
|
5472
5057
|
"linear-system"?: boolean | undefined;
|
|
5473
5058
|
"unlimited-point"?: boolean | undefined;
|
|
5474
5059
|
} & {
|
|
5475
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5476
5060
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
5477
|
-
} & {
|
|
5478
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
5479
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
5480
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
5481
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
5482
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
5483
5061
|
}) | undefined;
|
|
5484
5062
|
} | undefined;
|
|
5485
5063
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5504,8 +5082,8 @@ declare const InteractiveGraph: {
|
|
|
5504
5082
|
questionCompleted?: boolean | undefined;
|
|
5505
5083
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5506
5084
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5507
|
-
findWidgets: (arg1: import("
|
|
5508
|
-
reviewModeRubric: import("
|
|
5085
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5086
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5509
5087
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5510
5088
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5511
5089
|
isLastUsedWidget: boolean;
|
|
@@ -5535,12 +5113,12 @@ declare const InteractiveGraph: {
|
|
|
5535
5113
|
baseElements?: {
|
|
5536
5114
|
Link: React.ComponentType<any>;
|
|
5537
5115
|
} | undefined;
|
|
5538
|
-
imagePreloader?: ((dimensions: import("
|
|
5116
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
5539
5117
|
trackInteraction?: ((args: {
|
|
5540
5118
|
type: string;
|
|
5541
5119
|
id: string;
|
|
5542
5120
|
correct?: boolean | undefined;
|
|
5543
|
-
} & Partial<import("
|
|
5121
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
5544
5122
|
customKeypad?: boolean | undefined;
|
|
5545
5123
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5546
5124
|
isMobile?: boolean | undefined;
|
|
@@ -5563,14 +5141,7 @@ declare const InteractiveGraph: {
|
|
|
5563
5141
|
"linear-system"?: boolean | undefined;
|
|
5564
5142
|
"unlimited-point"?: boolean | undefined;
|
|
5565
5143
|
} & {
|
|
5566
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5567
5144
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
5568
|
-
} & {
|
|
5569
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
5570
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
5571
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
5572
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
5573
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
5574
5145
|
}) | undefined;
|
|
5575
5146
|
} | undefined;
|
|
5576
5147
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5595,8 +5166,8 @@ declare const InteractiveGraph: {
|
|
|
5595
5166
|
questionCompleted?: boolean | undefined;
|
|
5596
5167
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5597
5168
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5598
|
-
findWidgets: (arg1: import("
|
|
5599
|
-
reviewModeRubric: import("
|
|
5169
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5170
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5600
5171
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5601
5172
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5602
5173
|
isLastUsedWidget: boolean;
|
|
@@ -5626,12 +5197,12 @@ declare const InteractiveGraph: {
|
|
|
5626
5197
|
baseElements?: {
|
|
5627
5198
|
Link: React.ComponentType<any>;
|
|
5628
5199
|
} | undefined;
|
|
5629
|
-
imagePreloader?: ((dimensions: import("
|
|
5200
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
5630
5201
|
trackInteraction?: ((args: {
|
|
5631
5202
|
type: string;
|
|
5632
5203
|
id: string;
|
|
5633
5204
|
correct?: boolean | undefined;
|
|
5634
|
-
} & Partial<import("
|
|
5205
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
5635
5206
|
customKeypad?: boolean | undefined;
|
|
5636
5207
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5637
5208
|
isMobile?: boolean | undefined;
|
|
@@ -5654,14 +5225,7 @@ declare const InteractiveGraph: {
|
|
|
5654
5225
|
"linear-system"?: boolean | undefined;
|
|
5655
5226
|
"unlimited-point"?: boolean | undefined;
|
|
5656
5227
|
} & {
|
|
5657
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5658
5228
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
5659
|
-
} & {
|
|
5660
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
5661
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
5662
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
5663
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
5664
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
5665
5229
|
}) | undefined;
|
|
5666
5230
|
} | undefined;
|
|
5667
5231
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5686,15 +5250,15 @@ declare const InteractiveGraph: {
|
|
|
5686
5250
|
questionCompleted?: boolean | undefined;
|
|
5687
5251
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5688
5252
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5689
|
-
findWidgets: (arg1: import("
|
|
5690
|
-
reviewModeRubric: import("
|
|
5253
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5254
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5691
5255
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5692
5256
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5693
5257
|
isLastUsedWidget: boolean;
|
|
5694
5258
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5695
5259
|
containerSizeClass: SizingUtils.SizeClass;
|
|
5696
5260
|
}): string;
|
|
5697
|
-
validate(userInput:
|
|
5261
|
+
validate(userInput: PerseusGraphType, rubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric, component: any): import("@khanacademy/perseus").PerseusScore;
|
|
5698
5262
|
getUserInputFromProps(props: PerseusInteractiveGraphWidgetOptions & {
|
|
5699
5263
|
widgetId: string;
|
|
5700
5264
|
alignment: string | null | undefined;
|
|
@@ -5718,12 +5282,12 @@ declare const InteractiveGraph: {
|
|
|
5718
5282
|
baseElements?: {
|
|
5719
5283
|
Link: React.ComponentType<any>;
|
|
5720
5284
|
} | undefined;
|
|
5721
|
-
imagePreloader?: ((dimensions: import("
|
|
5285
|
+
imagePreloader?: ((dimensions: import("../../../../perseus/src/types").Dimensions) => React.ReactNode) | undefined;
|
|
5722
5286
|
trackInteraction?: ((args: {
|
|
5723
5287
|
type: string;
|
|
5724
5288
|
id: string;
|
|
5725
5289
|
correct?: boolean | undefined;
|
|
5726
|
-
} & Partial<import("
|
|
5290
|
+
} & Partial<import("../../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
5727
5291
|
customKeypad?: boolean | undefined;
|
|
5728
5292
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5729
5293
|
isMobile?: boolean | undefined;
|
|
@@ -5746,14 +5310,7 @@ declare const InteractiveGraph: {
|
|
|
5746
5310
|
"linear-system"?: boolean | undefined;
|
|
5747
5311
|
"unlimited-point"?: boolean | undefined;
|
|
5748
5312
|
} & {
|
|
5749
|
-
"interactive-graph-locked-features-m2b"?: boolean | undefined;
|
|
5750
5313
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
5751
|
-
} & {
|
|
5752
|
-
"start-coords-ui-phase-1"?: boolean | undefined;
|
|
5753
|
-
"start-coords-ui-phase-2"?: boolean | undefined;
|
|
5754
|
-
"start-coords-ui-point"?: boolean | undefined;
|
|
5755
|
-
"start-coords-ui-polygon"?: boolean | undefined;
|
|
5756
|
-
"start-coords-ui-angle"?: boolean | undefined;
|
|
5757
5314
|
}) | undefined;
|
|
5758
5315
|
} | undefined;
|
|
5759
5316
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5778,14 +5335,14 @@ declare const InteractiveGraph: {
|
|
|
5778
5335
|
questionCompleted?: boolean | undefined;
|
|
5779
5336
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5780
5337
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
5781
|
-
findWidgets: (arg1: import("
|
|
5782
|
-
reviewModeRubric: import("
|
|
5338
|
+
findWidgets: (arg1: import("../../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5339
|
+
reviewModeRubric: import("../../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5783
5340
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5784
5341
|
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5785
5342
|
isLastUsedWidget: boolean;
|
|
5786
5343
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5787
5344
|
containerSizeClass: SizingUtils.SizeClass;
|
|
5788
|
-
}):
|
|
5345
|
+
}): PerseusGraphType;
|
|
5789
5346
|
contextType?: React.Context<any> | undefined;
|
|
5790
5347
|
};
|
|
5791
5348
|
type InteractiveGraphProps = PropsFor<typeof InteractiveGraph>;
|
|
@@ -5851,18 +5408,21 @@ export type Props = {
|
|
|
5851
5408
|
* on the state of the interactive graph previewed at the bottom of the
|
|
5852
5409
|
* editor page.
|
|
5853
5410
|
*/
|
|
5854
|
-
correct:
|
|
5411
|
+
correct: PerseusGraphType;
|
|
5855
5412
|
/**
|
|
5856
5413
|
* The locked figures to display in the graph area.
|
|
5857
5414
|
* Locked figures are graph elements (points, lines, line segmeents,
|
|
5858
5415
|
* etc.) that are locked in place and not interactive.
|
|
5859
5416
|
*/
|
|
5860
5417
|
lockedFigures?: Array<LockedFigure>;
|
|
5418
|
+
fullGraphAriaLabel?: string;
|
|
5419
|
+
fullGraphAriaDescription?: string;
|
|
5861
5420
|
/**
|
|
5862
5421
|
* The graph to display in the graph area.
|
|
5863
5422
|
*/
|
|
5864
5423
|
graph: InteractiveGraphProps["graph"];
|
|
5865
5424
|
onChange: (props: Partial<Props>) => void;
|
|
5425
|
+
static?: boolean;
|
|
5866
5426
|
};
|
|
5867
5427
|
type DefaultProps = {
|
|
5868
5428
|
labels: Props["labels"];
|
|
@@ -5886,7 +5446,6 @@ declare class InteractiveGraphEditor extends React.Component<Props> {
|
|
|
5886
5446
|
displayName: string;
|
|
5887
5447
|
className: string;
|
|
5888
5448
|
static defaultProps: DefaultProps;
|
|
5889
|
-
changeMatchType: (newValue: any) => void;
|
|
5890
5449
|
changeStartCoords: (coords: any) => void;
|
|
5891
5450
|
serialize(): PerseusInteractiveGraphWidgetOptions;
|
|
5892
5451
|
getSaveWarnings: () => any[];
|