@khanacademy/perseus-editor 6.5.1 → 6.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.js +17 -3
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/widgets/categorizer-editor.d.ts +0 -2
- package/dist/widgets/graded-group-editor.d.ts +0 -2
- package/dist/widgets/graded-group-set-editor.d.ts +0 -2
- package/dist/widgets/group-editor.d.ts +0 -2
- package/dist/widgets/interactive-graph-editor.d.ts +228 -585
- package/dist/widgets/radio/editor.d.ts +0 -2
- package/package.json +2 -2
|
@@ -15,10 +15,7 @@ declare const InteractiveGraph: {
|
|
|
15
15
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
16
16
|
showAlignmentOptions?: boolean | undefined;
|
|
17
17
|
readOnly?: boolean | undefined;
|
|
18
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
19
|
-
* Whether to show tooltips on the graph.
|
|
20
|
-
* (Currently not used, but will be in the future.)
|
|
21
|
-
*/
|
|
18
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
22
19
|
getAnotherHint?: (() => unknown) | undefined;
|
|
23
20
|
interactionCallback?: ((widgetData: {
|
|
24
21
|
[widgetId: string]: any;
|
|
@@ -39,10 +36,8 @@ declare const InteractiveGraph: {
|
|
|
39
36
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
40
37
|
isMobile?: boolean | undefined;
|
|
41
38
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
42
|
-
useDraftEditor?: boolean | undefined;
|
|
43
39
|
hintProgressColor?: string | undefined;
|
|
44
40
|
canScrollPage?: boolean | undefined;
|
|
45
|
-
inModal?: boolean | undefined;
|
|
46
41
|
crossOutEnabled?: boolean | undefined;
|
|
47
42
|
editorChangeDelay?: number | undefined;
|
|
48
43
|
flags?: {
|
|
@@ -50,6 +45,7 @@ declare const InteractiveGraph: {
|
|
|
50
45
|
circle?: boolean | undefined;
|
|
51
46
|
polygon?: boolean | undefined;
|
|
52
47
|
linear?: boolean | undefined;
|
|
48
|
+
quadratic?: boolean | undefined;
|
|
53
49
|
"linear-system"?: boolean | undefined;
|
|
54
50
|
segment?: boolean | undefined;
|
|
55
51
|
ray?: boolean | undefined;
|
|
@@ -67,7 +63,6 @@ declare const InteractiveGraph: {
|
|
|
67
63
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
68
64
|
editorChangeDelay: number;
|
|
69
65
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
70
|
-
inModal: NonNullable<boolean | undefined>;
|
|
71
66
|
isArticle: NonNullable<boolean | undefined>;
|
|
72
67
|
isMobile: NonNullable<boolean | undefined>;
|
|
73
68
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -75,7 +70,6 @@ declare const InteractiveGraph: {
|
|
|
75
70
|
readOnly: NonNullable<boolean | undefined>;
|
|
76
71
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
77
72
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
78
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
79
73
|
}>;
|
|
80
74
|
keypadElement?: any;
|
|
81
75
|
questionCompleted?: boolean | undefined;
|
|
@@ -84,7 +78,7 @@ declare const InteractiveGraph: {
|
|
|
84
78
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
85
79
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
86
80
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
87
|
-
trackInteraction: (extraData?:
|
|
81
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
88
82
|
isLastUsedWidget: boolean;
|
|
89
83
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
90
84
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -100,10 +94,7 @@ declare const InteractiveGraph: {
|
|
|
100
94
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
101
95
|
showAlignmentOptions?: boolean | undefined;
|
|
102
96
|
readOnly?: boolean | undefined;
|
|
103
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
104
|
-
* Whether to show tooltips on the graph.
|
|
105
|
-
* (Currently not used, but will be in the future.)
|
|
106
|
-
*/
|
|
97
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
107
98
|
getAnotherHint?: (() => unknown) | undefined;
|
|
108
99
|
interactionCallback?: ((widgetData: {
|
|
109
100
|
[widgetId: string]: any;
|
|
@@ -124,10 +115,8 @@ declare const InteractiveGraph: {
|
|
|
124
115
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
125
116
|
isMobile?: boolean | undefined;
|
|
126
117
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
127
|
-
useDraftEditor?: boolean | undefined;
|
|
128
118
|
hintProgressColor?: string | undefined;
|
|
129
119
|
canScrollPage?: boolean | undefined;
|
|
130
|
-
inModal?: boolean | undefined;
|
|
131
120
|
crossOutEnabled?: boolean | undefined;
|
|
132
121
|
editorChangeDelay?: number | undefined;
|
|
133
122
|
flags?: {
|
|
@@ -135,6 +124,7 @@ declare const InteractiveGraph: {
|
|
|
135
124
|
circle?: boolean | undefined;
|
|
136
125
|
polygon?: boolean | undefined;
|
|
137
126
|
linear?: boolean | undefined;
|
|
127
|
+
quadratic?: boolean | undefined;
|
|
138
128
|
"linear-system"?: boolean | undefined;
|
|
139
129
|
segment?: boolean | undefined;
|
|
140
130
|
ray?: boolean | undefined;
|
|
@@ -152,7 +142,6 @@ declare const InteractiveGraph: {
|
|
|
152
142
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
153
143
|
editorChangeDelay: number;
|
|
154
144
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
155
|
-
inModal: NonNullable<boolean | undefined>;
|
|
156
145
|
isArticle: NonNullable<boolean | undefined>;
|
|
157
146
|
isMobile: NonNullable<boolean | undefined>;
|
|
158
147
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -160,7 +149,6 @@ declare const InteractiveGraph: {
|
|
|
160
149
|
readOnly: NonNullable<boolean | undefined>;
|
|
161
150
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
162
151
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
163
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
164
152
|
}>;
|
|
165
153
|
keypadElement?: any;
|
|
166
154
|
questionCompleted?: boolean | undefined;
|
|
@@ -169,7 +157,7 @@ declare const InteractiveGraph: {
|
|
|
169
157
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
170
158
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
171
159
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
172
|
-
trackInteraction: (extraData?:
|
|
160
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
173
161
|
isLastUsedWidget: boolean;
|
|
174
162
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
175
163
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -210,10 +198,7 @@ declare const InteractiveGraph: {
|
|
|
210
198
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
211
199
|
showAlignmentOptions?: boolean | undefined;
|
|
212
200
|
readOnly?: boolean | undefined;
|
|
213
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
214
|
-
* Whether to show tooltips on the graph.
|
|
215
|
-
* (Currently not used, but will be in the future.)
|
|
216
|
-
*/
|
|
201
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
217
202
|
getAnotherHint?: (() => unknown) | undefined;
|
|
218
203
|
interactionCallback?: ((widgetData: {
|
|
219
204
|
[widgetId: string]: any;
|
|
@@ -234,10 +219,8 @@ declare const InteractiveGraph: {
|
|
|
234
219
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
235
220
|
isMobile?: boolean | undefined;
|
|
236
221
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
237
|
-
useDraftEditor?: boolean | undefined;
|
|
238
222
|
hintProgressColor?: string | undefined;
|
|
239
223
|
canScrollPage?: boolean | undefined;
|
|
240
|
-
inModal?: boolean | undefined;
|
|
241
224
|
crossOutEnabled?: boolean | undefined;
|
|
242
225
|
editorChangeDelay?: number | undefined;
|
|
243
226
|
flags?: {
|
|
@@ -245,6 +228,7 @@ declare const InteractiveGraph: {
|
|
|
245
228
|
circle?: boolean | undefined;
|
|
246
229
|
polygon?: boolean | undefined;
|
|
247
230
|
linear?: boolean | undefined;
|
|
231
|
+
quadratic?: boolean | undefined;
|
|
248
232
|
"linear-system"?: boolean | undefined;
|
|
249
233
|
segment?: boolean | undefined;
|
|
250
234
|
ray?: boolean | undefined;
|
|
@@ -262,7 +246,6 @@ declare const InteractiveGraph: {
|
|
|
262
246
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
263
247
|
editorChangeDelay: number;
|
|
264
248
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
265
|
-
inModal: NonNullable<boolean | undefined>;
|
|
266
249
|
isArticle: NonNullable<boolean | undefined>;
|
|
267
250
|
isMobile: NonNullable<boolean | undefined>;
|
|
268
251
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -270,7 +253,6 @@ declare const InteractiveGraph: {
|
|
|
270
253
|
readOnly: NonNullable<boolean | undefined>;
|
|
271
254
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
272
255
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
273
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
274
256
|
}>;
|
|
275
257
|
keypadElement?: any;
|
|
276
258
|
questionCompleted?: boolean | undefined;
|
|
@@ -279,7 +261,7 @@ declare const InteractiveGraph: {
|
|
|
279
261
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
280
262
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
281
263
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
282
|
-
trackInteraction: (extraData?:
|
|
264
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
283
265
|
isLastUsedWidget: boolean;
|
|
284
266
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
285
267
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -296,10 +278,7 @@ declare const InteractiveGraph: {
|
|
|
296
278
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
297
279
|
showAlignmentOptions?: boolean | undefined;
|
|
298
280
|
readOnly?: boolean | undefined;
|
|
299
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
300
|
-
* Whether to show tooltips on the graph.
|
|
301
|
-
* (Currently not used, but will be in the future.)
|
|
302
|
-
*/
|
|
281
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
303
282
|
getAnotherHint?: (() => unknown) | undefined;
|
|
304
283
|
interactionCallback?: ((widgetData: {
|
|
305
284
|
[widgetId: string]: any;
|
|
@@ -320,10 +299,8 @@ declare const InteractiveGraph: {
|
|
|
320
299
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
321
300
|
isMobile?: boolean | undefined;
|
|
322
301
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
323
|
-
useDraftEditor?: boolean | undefined;
|
|
324
302
|
hintProgressColor?: string | undefined;
|
|
325
303
|
canScrollPage?: boolean | undefined;
|
|
326
|
-
inModal?: boolean | undefined;
|
|
327
304
|
crossOutEnabled?: boolean | undefined;
|
|
328
305
|
editorChangeDelay?: number | undefined;
|
|
329
306
|
flags?: {
|
|
@@ -331,6 +308,7 @@ declare const InteractiveGraph: {
|
|
|
331
308
|
circle?: boolean | undefined;
|
|
332
309
|
polygon?: boolean | undefined;
|
|
333
310
|
linear?: boolean | undefined;
|
|
311
|
+
quadratic?: boolean | undefined;
|
|
334
312
|
"linear-system"?: boolean | undefined;
|
|
335
313
|
segment?: boolean | undefined;
|
|
336
314
|
ray?: boolean | undefined;
|
|
@@ -348,7 +326,6 @@ declare const InteractiveGraph: {
|
|
|
348
326
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
349
327
|
editorChangeDelay: number;
|
|
350
328
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
351
|
-
inModal: NonNullable<boolean | undefined>;
|
|
352
329
|
isArticle: NonNullable<boolean | undefined>;
|
|
353
330
|
isMobile: NonNullable<boolean | undefined>;
|
|
354
331
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -356,7 +333,6 @@ declare const InteractiveGraph: {
|
|
|
356
333
|
readOnly: NonNullable<boolean | undefined>;
|
|
357
334
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
358
335
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
359
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
360
336
|
}>;
|
|
361
337
|
keypadElement?: any;
|
|
362
338
|
questionCompleted?: boolean | undefined;
|
|
@@ -365,7 +341,7 @@ declare const InteractiveGraph: {
|
|
|
365
341
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
366
342
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
367
343
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
368
|
-
trackInteraction: (extraData?:
|
|
344
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
369
345
|
isLastUsedWidget: boolean;
|
|
370
346
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
371
347
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -382,10 +358,7 @@ declare const InteractiveGraph: {
|
|
|
382
358
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
383
359
|
showAlignmentOptions?: boolean | undefined;
|
|
384
360
|
readOnly?: boolean | undefined;
|
|
385
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
386
|
-
* Whether to show tooltips on the graph.
|
|
387
|
-
* (Currently not used, but will be in the future.)
|
|
388
|
-
*/
|
|
361
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
389
362
|
getAnotherHint?: (() => unknown) | undefined;
|
|
390
363
|
interactionCallback?: ((widgetData: {
|
|
391
364
|
[widgetId: string]: any;
|
|
@@ -406,10 +379,8 @@ declare const InteractiveGraph: {
|
|
|
406
379
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
407
380
|
isMobile?: boolean | undefined;
|
|
408
381
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
409
|
-
useDraftEditor?: boolean | undefined;
|
|
410
382
|
hintProgressColor?: string | undefined;
|
|
411
383
|
canScrollPage?: boolean | undefined;
|
|
412
|
-
inModal?: boolean | undefined;
|
|
413
384
|
crossOutEnabled?: boolean | undefined;
|
|
414
385
|
editorChangeDelay?: number | undefined;
|
|
415
386
|
flags?: {
|
|
@@ -417,6 +388,7 @@ declare const InteractiveGraph: {
|
|
|
417
388
|
circle?: boolean | undefined;
|
|
418
389
|
polygon?: boolean | undefined;
|
|
419
390
|
linear?: boolean | undefined;
|
|
391
|
+
quadratic?: boolean | undefined;
|
|
420
392
|
"linear-system"?: boolean | undefined;
|
|
421
393
|
segment?: boolean | undefined;
|
|
422
394
|
ray?: boolean | undefined;
|
|
@@ -434,7 +406,6 @@ declare const InteractiveGraph: {
|
|
|
434
406
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
435
407
|
editorChangeDelay: number;
|
|
436
408
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
437
|
-
inModal: NonNullable<boolean | undefined>;
|
|
438
409
|
isArticle: NonNullable<boolean | undefined>;
|
|
439
410
|
isMobile: NonNullable<boolean | undefined>;
|
|
440
411
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -442,7 +413,6 @@ declare const InteractiveGraph: {
|
|
|
442
413
|
readOnly: NonNullable<boolean | undefined>;
|
|
443
414
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
444
415
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
445
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
446
416
|
}>;
|
|
447
417
|
keypadElement?: any;
|
|
448
418
|
questionCompleted?: boolean | undefined;
|
|
@@ -451,7 +421,7 @@ declare const InteractiveGraph: {
|
|
|
451
421
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
452
422
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
453
423
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
454
|
-
trackInteraction: (extraData?:
|
|
424
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
455
425
|
isLastUsedWidget: boolean;
|
|
456
426
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
457
427
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -476,10 +446,7 @@ declare const InteractiveGraph: {
|
|
|
476
446
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
477
447
|
showAlignmentOptions?: boolean | undefined;
|
|
478
448
|
readOnly?: boolean | undefined;
|
|
479
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
480
|
-
* Whether to show tooltips on the graph.
|
|
481
|
-
* (Currently not used, but will be in the future.)
|
|
482
|
-
*/
|
|
449
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
483
450
|
getAnotherHint?: (() => unknown) | undefined;
|
|
484
451
|
interactionCallback?: ((widgetData: {
|
|
485
452
|
[widgetId: string]: any;
|
|
@@ -500,10 +467,8 @@ declare const InteractiveGraph: {
|
|
|
500
467
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
501
468
|
isMobile?: boolean | undefined;
|
|
502
469
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
503
|
-
useDraftEditor?: boolean | undefined;
|
|
504
470
|
hintProgressColor?: string | undefined;
|
|
505
471
|
canScrollPage?: boolean | undefined;
|
|
506
|
-
inModal?: boolean | undefined;
|
|
507
472
|
crossOutEnabled?: boolean | undefined;
|
|
508
473
|
editorChangeDelay?: number | undefined;
|
|
509
474
|
flags?: {
|
|
@@ -511,6 +476,7 @@ declare const InteractiveGraph: {
|
|
|
511
476
|
circle?: boolean | undefined;
|
|
512
477
|
polygon?: boolean | undefined;
|
|
513
478
|
linear?: boolean | undefined;
|
|
479
|
+
quadratic?: boolean | undefined;
|
|
514
480
|
"linear-system"?: boolean | undefined;
|
|
515
481
|
segment?: boolean | undefined;
|
|
516
482
|
ray?: boolean | undefined;
|
|
@@ -528,7 +494,6 @@ declare const InteractiveGraph: {
|
|
|
528
494
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
529
495
|
editorChangeDelay: number;
|
|
530
496
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
531
|
-
inModal: NonNullable<boolean | undefined>;
|
|
532
497
|
isArticle: NonNullable<boolean | undefined>;
|
|
533
498
|
isMobile: NonNullable<boolean | undefined>;
|
|
534
499
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -536,7 +501,6 @@ declare const InteractiveGraph: {
|
|
|
536
501
|
readOnly: NonNullable<boolean | undefined>;
|
|
537
502
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
538
503
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
539
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
540
504
|
}>;
|
|
541
505
|
keypadElement?: any;
|
|
542
506
|
questionCompleted?: boolean | undefined;
|
|
@@ -545,15 +509,15 @@ declare const InteractiveGraph: {
|
|
|
545
509
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
546
510
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
547
511
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
548
|
-
trackInteraction: (extraData?:
|
|
512
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
549
513
|
isLastUsedWidget: boolean;
|
|
550
514
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
551
515
|
containerSizeClass: SizingUtils.SizeClass;
|
|
552
|
-
}) | null | undefined) => boolean;
|
|
553
|
-
* The size of the graph in pixels.
|
|
554
|
-
*/
|
|
516
|
+
}) | null | undefined) => boolean;
|
|
555
517
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
556
|
-
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
518
|
+
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean; /**
|
|
519
|
+
* The background image to display in the graph area and its properties.
|
|
520
|
+
*/
|
|
557
521
|
arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
558
522
|
areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
559
523
|
_lineStroke: () => {
|
|
@@ -561,11 +525,11 @@ declare const InteractiveGraph: {
|
|
|
561
525
|
};
|
|
562
526
|
addLine: (arg1: string) => void;
|
|
563
527
|
removeLine: () => void;
|
|
564
|
-
addLinearControls: () => void;
|
|
565
|
-
* Whether to show the protractor on the graph.
|
|
566
|
-
*/
|
|
528
|
+
addLinearControls: () => void;
|
|
567
529
|
removeLinearControls: () => void;
|
|
568
|
-
addQuadraticControls: () => void;
|
|
530
|
+
addQuadraticControls: () => void; /**
|
|
531
|
+
* Whether to show the ruler on the graph.
|
|
532
|
+
*/
|
|
569
533
|
updateQuadratic: () => void;
|
|
570
534
|
removeQuadraticControls: () => void;
|
|
571
535
|
addSinusoidControls: () => void;
|
|
@@ -574,9 +538,7 @@ declare const InteractiveGraph: {
|
|
|
574
538
|
addCircleControls: () => void;
|
|
575
539
|
removeCircleControls: () => void;
|
|
576
540
|
addLinearSystemControls: () => void;
|
|
577
|
-
removeLinearSystemControls: () => void;
|
|
578
|
-
* The number of ticks to display on the ruler.
|
|
579
|
-
*/
|
|
541
|
+
removeLinearSystemControls: () => void;
|
|
580
542
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
581
543
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
582
544
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
@@ -587,14 +549,20 @@ declare const InteractiveGraph: {
|
|
|
587
549
|
addPointControls: () => void;
|
|
588
550
|
removePointControls: () => void;
|
|
589
551
|
addSegmentControls: () => void;
|
|
590
|
-
removeSegmentControls: () => void;
|
|
552
|
+
removeSegmentControls: () => void; /**
|
|
553
|
+
* The locked figures to display in the graph area.
|
|
554
|
+
* Locked figures are graph elements (points, lines, line segmeents,
|
|
555
|
+
* etc.) that are locked in place and not interactive.
|
|
556
|
+
*/
|
|
591
557
|
addRayControls: () => void;
|
|
592
558
|
removeRayControls: () => void;
|
|
593
559
|
addPolygonControls: () => void;
|
|
594
560
|
updatePolygon: () => void;
|
|
595
561
|
removePolygonControls: () => void;
|
|
596
562
|
addAngleControls: () => void;
|
|
597
|
-
removeAngleControls: () => void;
|
|
563
|
+
removeAngleControls: () => void; /**
|
|
564
|
+
* The graph to display in the graph area.
|
|
565
|
+
*/
|
|
598
566
|
toggleShowSides: () => void;
|
|
599
567
|
getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
|
|
600
568
|
simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
@@ -614,10 +582,7 @@ declare const InteractiveGraph: {
|
|
|
614
582
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
615
583
|
showAlignmentOptions?: boolean | undefined;
|
|
616
584
|
readOnly?: boolean | undefined;
|
|
617
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
618
|
-
* Whether to show tooltips on the graph.
|
|
619
|
-
* (Currently not used, but will be in the future.)
|
|
620
|
-
*/
|
|
585
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
621
586
|
getAnotherHint?: (() => unknown) | undefined;
|
|
622
587
|
interactionCallback?: ((widgetData: {
|
|
623
588
|
[widgetId: string]: any;
|
|
@@ -638,10 +603,8 @@ declare const InteractiveGraph: {
|
|
|
638
603
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
639
604
|
isMobile?: boolean | undefined;
|
|
640
605
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
641
|
-
useDraftEditor?: boolean | undefined;
|
|
642
606
|
hintProgressColor?: string | undefined;
|
|
643
607
|
canScrollPage?: boolean | undefined;
|
|
644
|
-
inModal?: boolean | undefined;
|
|
645
608
|
crossOutEnabled?: boolean | undefined;
|
|
646
609
|
editorChangeDelay?: number | undefined;
|
|
647
610
|
flags?: {
|
|
@@ -649,6 +612,7 @@ declare const InteractiveGraph: {
|
|
|
649
612
|
circle?: boolean | undefined;
|
|
650
613
|
polygon?: boolean | undefined;
|
|
651
614
|
linear?: boolean | undefined;
|
|
615
|
+
quadratic?: boolean | undefined;
|
|
652
616
|
"linear-system"?: boolean | undefined;
|
|
653
617
|
segment?: boolean | undefined;
|
|
654
618
|
ray?: boolean | undefined;
|
|
@@ -666,7 +630,6 @@ declare const InteractiveGraph: {
|
|
|
666
630
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
667
631
|
editorChangeDelay: number;
|
|
668
632
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
669
|
-
inModal: NonNullable<boolean | undefined>;
|
|
670
633
|
isArticle: NonNullable<boolean | undefined>;
|
|
671
634
|
isMobile: NonNullable<boolean | undefined>;
|
|
672
635
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -674,7 +637,6 @@ declare const InteractiveGraph: {
|
|
|
674
637
|
readOnly: NonNullable<boolean | undefined>;
|
|
675
638
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
676
639
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
677
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
678
640
|
}>;
|
|
679
641
|
keypadElement?: any;
|
|
680
642
|
questionCompleted?: boolean | undefined;
|
|
@@ -683,7 +645,7 @@ declare const InteractiveGraph: {
|
|
|
683
645
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
684
646
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
685
647
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
686
|
-
trackInteraction: (extraData?:
|
|
648
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
687
649
|
isLastUsedWidget: boolean;
|
|
688
650
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
689
651
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -705,10 +667,7 @@ declare const InteractiveGraph: {
|
|
|
705
667
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
706
668
|
showAlignmentOptions?: boolean | undefined;
|
|
707
669
|
readOnly?: boolean | undefined;
|
|
708
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
709
|
-
* Whether to show tooltips on the graph.
|
|
710
|
-
* (Currently not used, but will be in the future.)
|
|
711
|
-
*/
|
|
670
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
712
671
|
getAnotherHint?: (() => unknown) | undefined;
|
|
713
672
|
interactionCallback?: ((widgetData: {
|
|
714
673
|
[widgetId: string]: any;
|
|
@@ -729,10 +688,8 @@ declare const InteractiveGraph: {
|
|
|
729
688
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
730
689
|
isMobile?: boolean | undefined;
|
|
731
690
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
732
|
-
useDraftEditor?: boolean | undefined;
|
|
733
691
|
hintProgressColor?: string | undefined;
|
|
734
692
|
canScrollPage?: boolean | undefined;
|
|
735
|
-
inModal?: boolean | undefined;
|
|
736
693
|
crossOutEnabled?: boolean | undefined;
|
|
737
694
|
editorChangeDelay?: number | undefined;
|
|
738
695
|
flags?: {
|
|
@@ -740,6 +697,7 @@ declare const InteractiveGraph: {
|
|
|
740
697
|
circle?: boolean | undefined;
|
|
741
698
|
polygon?: boolean | undefined;
|
|
742
699
|
linear?: boolean | undefined;
|
|
700
|
+
quadratic?: boolean | undefined;
|
|
743
701
|
"linear-system"?: boolean | undefined;
|
|
744
702
|
segment?: boolean | undefined;
|
|
745
703
|
ray?: boolean | undefined;
|
|
@@ -757,7 +715,6 @@ declare const InteractiveGraph: {
|
|
|
757
715
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
758
716
|
editorChangeDelay: number;
|
|
759
717
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
760
|
-
inModal: NonNullable<boolean | undefined>;
|
|
761
718
|
isArticle: NonNullable<boolean | undefined>;
|
|
762
719
|
isMobile: NonNullable<boolean | undefined>;
|
|
763
720
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -765,7 +722,6 @@ declare const InteractiveGraph: {
|
|
|
765
722
|
readOnly: NonNullable<boolean | undefined>;
|
|
766
723
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
767
724
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
768
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
769
725
|
}>;
|
|
770
726
|
keypadElement?: any;
|
|
771
727
|
questionCompleted?: boolean | undefined;
|
|
@@ -774,7 +730,7 @@ declare const InteractiveGraph: {
|
|
|
774
730
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
775
731
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
776
732
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
777
|
-
trackInteraction: (extraData?:
|
|
733
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
778
734
|
isLastUsedWidget: boolean;
|
|
779
735
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
780
736
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -793,10 +749,7 @@ declare const InteractiveGraph: {
|
|
|
793
749
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
794
750
|
showAlignmentOptions?: boolean | undefined;
|
|
795
751
|
readOnly?: boolean | undefined;
|
|
796
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
797
|
-
* Whether to show tooltips on the graph.
|
|
798
|
-
* (Currently not used, but will be in the future.)
|
|
799
|
-
*/
|
|
752
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
800
753
|
getAnotherHint?: (() => unknown) | undefined;
|
|
801
754
|
interactionCallback?: ((widgetData: {
|
|
802
755
|
[widgetId: string]: any;
|
|
@@ -817,10 +770,8 @@ declare const InteractiveGraph: {
|
|
|
817
770
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
818
771
|
isMobile?: boolean | undefined;
|
|
819
772
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
820
|
-
useDraftEditor?: boolean | undefined;
|
|
821
773
|
hintProgressColor?: string | undefined;
|
|
822
774
|
canScrollPage?: boolean | undefined;
|
|
823
|
-
inModal?: boolean | undefined;
|
|
824
775
|
crossOutEnabled?: boolean | undefined;
|
|
825
776
|
editorChangeDelay?: number | undefined;
|
|
826
777
|
flags?: {
|
|
@@ -828,6 +779,7 @@ declare const InteractiveGraph: {
|
|
|
828
779
|
circle?: boolean | undefined;
|
|
829
780
|
polygon?: boolean | undefined;
|
|
830
781
|
linear?: boolean | undefined;
|
|
782
|
+
quadratic?: boolean | undefined;
|
|
831
783
|
"linear-system"?: boolean | undefined;
|
|
832
784
|
segment?: boolean | undefined;
|
|
833
785
|
ray?: boolean | undefined;
|
|
@@ -845,7 +797,6 @@ declare const InteractiveGraph: {
|
|
|
845
797
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
846
798
|
editorChangeDelay: number;
|
|
847
799
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
848
|
-
inModal: NonNullable<boolean | undefined>;
|
|
849
800
|
isArticle: NonNullable<boolean | undefined>;
|
|
850
801
|
isMobile: NonNullable<boolean | undefined>;
|
|
851
802
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -853,7 +804,6 @@ declare const InteractiveGraph: {
|
|
|
853
804
|
readOnly: NonNullable<boolean | undefined>;
|
|
854
805
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
855
806
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
856
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
857
807
|
}>;
|
|
858
808
|
keypadElement?: any;
|
|
859
809
|
questionCompleted?: boolean | undefined;
|
|
@@ -862,7 +812,7 @@ declare const InteractiveGraph: {
|
|
|
862
812
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
863
813
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
864
814
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
865
|
-
trackInteraction: (extraData?:
|
|
815
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
866
816
|
isLastUsedWidget: boolean;
|
|
867
817
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
868
818
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -880,10 +830,7 @@ declare const InteractiveGraph: {
|
|
|
880
830
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
881
831
|
showAlignmentOptions?: boolean | undefined;
|
|
882
832
|
readOnly?: boolean | undefined;
|
|
883
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
884
|
-
* Whether to show tooltips on the graph.
|
|
885
|
-
* (Currently not used, but will be in the future.)
|
|
886
|
-
*/
|
|
833
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
887
834
|
getAnotherHint?: (() => unknown) | undefined;
|
|
888
835
|
interactionCallback?: ((widgetData: {
|
|
889
836
|
[widgetId: string]: any;
|
|
@@ -904,10 +851,8 @@ declare const InteractiveGraph: {
|
|
|
904
851
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
905
852
|
isMobile?: boolean | undefined;
|
|
906
853
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
907
|
-
useDraftEditor?: boolean | undefined;
|
|
908
854
|
hintProgressColor?: string | undefined;
|
|
909
855
|
canScrollPage?: boolean | undefined;
|
|
910
|
-
inModal?: boolean | undefined;
|
|
911
856
|
crossOutEnabled?: boolean | undefined;
|
|
912
857
|
editorChangeDelay?: number | undefined;
|
|
913
858
|
flags?: {
|
|
@@ -915,6 +860,7 @@ declare const InteractiveGraph: {
|
|
|
915
860
|
circle?: boolean | undefined;
|
|
916
861
|
polygon?: boolean | undefined;
|
|
917
862
|
linear?: boolean | undefined;
|
|
863
|
+
quadratic?: boolean | undefined;
|
|
918
864
|
"linear-system"?: boolean | undefined;
|
|
919
865
|
segment?: boolean | undefined;
|
|
920
866
|
ray?: boolean | undefined;
|
|
@@ -932,7 +878,6 @@ declare const InteractiveGraph: {
|
|
|
932
878
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
933
879
|
editorChangeDelay: number;
|
|
934
880
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
935
|
-
inModal: NonNullable<boolean | undefined>;
|
|
936
881
|
isArticle: NonNullable<boolean | undefined>;
|
|
937
882
|
isMobile: NonNullable<boolean | undefined>;
|
|
938
883
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -940,7 +885,6 @@ declare const InteractiveGraph: {
|
|
|
940
885
|
readOnly: NonNullable<boolean | undefined>;
|
|
941
886
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
942
887
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
943
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
944
888
|
}>;
|
|
945
889
|
keypadElement?: any;
|
|
946
890
|
questionCompleted?: boolean | undefined;
|
|
@@ -949,7 +893,7 @@ declare const InteractiveGraph: {
|
|
|
949
893
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
950
894
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
951
895
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
952
|
-
trackInteraction: (extraData?:
|
|
896
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
953
897
|
isLastUsedWidget: boolean;
|
|
954
898
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
955
899
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -966,10 +910,7 @@ declare const InteractiveGraph: {
|
|
|
966
910
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
967
911
|
showAlignmentOptions?: boolean | undefined;
|
|
968
912
|
readOnly?: boolean | undefined;
|
|
969
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
970
|
-
* Whether to show tooltips on the graph.
|
|
971
|
-
* (Currently not used, but will be in the future.)
|
|
972
|
-
*/
|
|
913
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
973
914
|
getAnotherHint?: (() => unknown) | undefined;
|
|
974
915
|
interactionCallback?: ((widgetData: {
|
|
975
916
|
[widgetId: string]: any;
|
|
@@ -990,10 +931,8 @@ declare const InteractiveGraph: {
|
|
|
990
931
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
991
932
|
isMobile?: boolean | undefined;
|
|
992
933
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
993
|
-
useDraftEditor?: boolean | undefined;
|
|
994
934
|
hintProgressColor?: string | undefined;
|
|
995
935
|
canScrollPage?: boolean | undefined;
|
|
996
|
-
inModal?: boolean | undefined;
|
|
997
936
|
crossOutEnabled?: boolean | undefined;
|
|
998
937
|
editorChangeDelay?: number | undefined;
|
|
999
938
|
flags?: {
|
|
@@ -1001,6 +940,7 @@ declare const InteractiveGraph: {
|
|
|
1001
940
|
circle?: boolean | undefined;
|
|
1002
941
|
polygon?: boolean | undefined;
|
|
1003
942
|
linear?: boolean | undefined;
|
|
943
|
+
quadratic?: boolean | undefined;
|
|
1004
944
|
"linear-system"?: boolean | undefined;
|
|
1005
945
|
segment?: boolean | undefined;
|
|
1006
946
|
ray?: boolean | undefined;
|
|
@@ -1018,7 +958,6 @@ declare const InteractiveGraph: {
|
|
|
1018
958
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1019
959
|
editorChangeDelay: number;
|
|
1020
960
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1021
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1022
961
|
isArticle: NonNullable<boolean | undefined>;
|
|
1023
962
|
isMobile: NonNullable<boolean | undefined>;
|
|
1024
963
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1026,7 +965,6 @@ declare const InteractiveGraph: {
|
|
|
1026
965
|
readOnly: NonNullable<boolean | undefined>;
|
|
1027
966
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1028
967
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1029
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1030
968
|
}>;
|
|
1031
969
|
keypadElement?: any;
|
|
1032
970
|
questionCompleted?: boolean | undefined;
|
|
@@ -1035,7 +973,7 @@ declare const InteractiveGraph: {
|
|
|
1035
973
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1036
974
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1037
975
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1038
|
-
trackInteraction: (extraData?:
|
|
976
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1039
977
|
isLastUsedWidget: boolean;
|
|
1040
978
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1041
979
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1052,10 +990,7 @@ declare const InteractiveGraph: {
|
|
|
1052
990
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1053
991
|
showAlignmentOptions?: boolean | undefined;
|
|
1054
992
|
readOnly?: boolean | undefined;
|
|
1055
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1056
|
-
* Whether to show tooltips on the graph.
|
|
1057
|
-
* (Currently not used, but will be in the future.)
|
|
1058
|
-
*/
|
|
993
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1059
994
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1060
995
|
interactionCallback?: ((widgetData: {
|
|
1061
996
|
[widgetId: string]: any;
|
|
@@ -1076,10 +1011,8 @@ declare const InteractiveGraph: {
|
|
|
1076
1011
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1077
1012
|
isMobile?: boolean | undefined;
|
|
1078
1013
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1079
|
-
useDraftEditor?: boolean | undefined;
|
|
1080
1014
|
hintProgressColor?: string | undefined;
|
|
1081
1015
|
canScrollPage?: boolean | undefined;
|
|
1082
|
-
inModal?: boolean | undefined;
|
|
1083
1016
|
crossOutEnabled?: boolean | undefined;
|
|
1084
1017
|
editorChangeDelay?: number | undefined;
|
|
1085
1018
|
flags?: {
|
|
@@ -1087,6 +1020,7 @@ declare const InteractiveGraph: {
|
|
|
1087
1020
|
circle?: boolean | undefined;
|
|
1088
1021
|
polygon?: boolean | undefined;
|
|
1089
1022
|
linear?: boolean | undefined;
|
|
1023
|
+
quadratic?: boolean | undefined;
|
|
1090
1024
|
"linear-system"?: boolean | undefined;
|
|
1091
1025
|
segment?: boolean | undefined;
|
|
1092
1026
|
ray?: boolean | undefined;
|
|
@@ -1104,7 +1038,6 @@ declare const InteractiveGraph: {
|
|
|
1104
1038
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1105
1039
|
editorChangeDelay: number;
|
|
1106
1040
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1107
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1108
1041
|
isArticle: NonNullable<boolean | undefined>;
|
|
1109
1042
|
isMobile: NonNullable<boolean | undefined>;
|
|
1110
1043
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1112,7 +1045,6 @@ declare const InteractiveGraph: {
|
|
|
1112
1045
|
readOnly: NonNullable<boolean | undefined>;
|
|
1113
1046
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1114
1047
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1115
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1116
1048
|
}>;
|
|
1117
1049
|
keypadElement?: any;
|
|
1118
1050
|
questionCompleted?: boolean | undefined;
|
|
@@ -1121,7 +1053,7 @@ declare const InteractiveGraph: {
|
|
|
1121
1053
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1122
1054
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1123
1055
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1124
|
-
trackInteraction: (extraData?:
|
|
1056
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1125
1057
|
isLastUsedWidget: boolean;
|
|
1126
1058
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1127
1059
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1146,10 +1078,7 @@ declare const InteractiveGraph: {
|
|
|
1146
1078
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1147
1079
|
showAlignmentOptions?: boolean | undefined;
|
|
1148
1080
|
readOnly?: boolean | undefined;
|
|
1149
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1150
|
-
* Whether to show tooltips on the graph.
|
|
1151
|
-
* (Currently not used, but will be in the future.)
|
|
1152
|
-
*/
|
|
1081
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1153
1082
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1154
1083
|
interactionCallback?: ((widgetData: {
|
|
1155
1084
|
[widgetId: string]: any;
|
|
@@ -1170,10 +1099,8 @@ declare const InteractiveGraph: {
|
|
|
1170
1099
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1171
1100
|
isMobile?: boolean | undefined;
|
|
1172
1101
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1173
|
-
useDraftEditor?: boolean | undefined;
|
|
1174
1102
|
hintProgressColor?: string | undefined;
|
|
1175
1103
|
canScrollPage?: boolean | undefined;
|
|
1176
|
-
inModal?: boolean | undefined;
|
|
1177
1104
|
crossOutEnabled?: boolean | undefined;
|
|
1178
1105
|
editorChangeDelay?: number | undefined;
|
|
1179
1106
|
flags?: {
|
|
@@ -1181,6 +1108,7 @@ declare const InteractiveGraph: {
|
|
|
1181
1108
|
circle?: boolean | undefined;
|
|
1182
1109
|
polygon?: boolean | undefined;
|
|
1183
1110
|
linear?: boolean | undefined;
|
|
1111
|
+
quadratic?: boolean | undefined;
|
|
1184
1112
|
"linear-system"?: boolean | undefined;
|
|
1185
1113
|
segment?: boolean | undefined;
|
|
1186
1114
|
ray?: boolean | undefined;
|
|
@@ -1198,7 +1126,6 @@ declare const InteractiveGraph: {
|
|
|
1198
1126
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1199
1127
|
editorChangeDelay: number;
|
|
1200
1128
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1201
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1202
1129
|
isArticle: NonNullable<boolean | undefined>;
|
|
1203
1130
|
isMobile: NonNullable<boolean | undefined>;
|
|
1204
1131
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1206,7 +1133,6 @@ declare const InteractiveGraph: {
|
|
|
1206
1133
|
readOnly: NonNullable<boolean | undefined>;
|
|
1207
1134
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1208
1135
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1209
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1210
1136
|
}>;
|
|
1211
1137
|
keypadElement?: any;
|
|
1212
1138
|
questionCompleted?: boolean | undefined;
|
|
@@ -1215,7 +1141,7 @@ declare const InteractiveGraph: {
|
|
|
1215
1141
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1216
1142
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1217
1143
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1218
|
-
trackInteraction: (extraData?:
|
|
1144
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1219
1145
|
isLastUsedWidget: boolean;
|
|
1220
1146
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1221
1147
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1239,10 +1165,7 @@ declare const InteractiveGraph: {
|
|
|
1239
1165
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1240
1166
|
showAlignmentOptions?: boolean | undefined;
|
|
1241
1167
|
readOnly?: boolean | undefined;
|
|
1242
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1243
|
-
* Whether to show tooltips on the graph.
|
|
1244
|
-
* (Currently not used, but will be in the future.)
|
|
1245
|
-
*/
|
|
1168
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1246
1169
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1247
1170
|
interactionCallback?: ((widgetData: {
|
|
1248
1171
|
[widgetId: string]: any;
|
|
@@ -1263,10 +1186,8 @@ declare const InteractiveGraph: {
|
|
|
1263
1186
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1264
1187
|
isMobile?: boolean | undefined;
|
|
1265
1188
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1266
|
-
useDraftEditor?: boolean | undefined;
|
|
1267
1189
|
hintProgressColor?: string | undefined;
|
|
1268
1190
|
canScrollPage?: boolean | undefined;
|
|
1269
|
-
inModal?: boolean | undefined;
|
|
1270
1191
|
crossOutEnabled?: boolean | undefined;
|
|
1271
1192
|
editorChangeDelay?: number | undefined;
|
|
1272
1193
|
flags?: {
|
|
@@ -1274,6 +1195,7 @@ declare const InteractiveGraph: {
|
|
|
1274
1195
|
circle?: boolean | undefined;
|
|
1275
1196
|
polygon?: boolean | undefined;
|
|
1276
1197
|
linear?: boolean | undefined;
|
|
1198
|
+
quadratic?: boolean | undefined;
|
|
1277
1199
|
"linear-system"?: boolean | undefined;
|
|
1278
1200
|
segment?: boolean | undefined;
|
|
1279
1201
|
ray?: boolean | undefined;
|
|
@@ -1291,7 +1213,6 @@ declare const InteractiveGraph: {
|
|
|
1291
1213
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1292
1214
|
editorChangeDelay: number;
|
|
1293
1215
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1294
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1295
1216
|
isArticle: NonNullable<boolean | undefined>;
|
|
1296
1217
|
isMobile: NonNullable<boolean | undefined>;
|
|
1297
1218
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1299,7 +1220,6 @@ declare const InteractiveGraph: {
|
|
|
1299
1220
|
readOnly: NonNullable<boolean | undefined>;
|
|
1300
1221
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1301
1222
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1302
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1303
1223
|
}>;
|
|
1304
1224
|
keypadElement?: any;
|
|
1305
1225
|
questionCompleted?: boolean | undefined;
|
|
@@ -1308,7 +1228,7 @@ declare const InteractiveGraph: {
|
|
|
1308
1228
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1309
1229
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1310
1230
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1311
|
-
trackInteraction: (extraData?:
|
|
1231
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1312
1232
|
isLastUsedWidget: boolean;
|
|
1313
1233
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1314
1234
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1327,10 +1247,7 @@ declare const InteractiveGraph: {
|
|
|
1327
1247
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1328
1248
|
showAlignmentOptions?: boolean | undefined;
|
|
1329
1249
|
readOnly?: boolean | undefined;
|
|
1330
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1331
|
-
* Whether to show tooltips on the graph.
|
|
1332
|
-
* (Currently not used, but will be in the future.)
|
|
1333
|
-
*/
|
|
1250
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1334
1251
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1335
1252
|
interactionCallback?: ((widgetData: {
|
|
1336
1253
|
[widgetId: string]: any;
|
|
@@ -1351,10 +1268,8 @@ declare const InteractiveGraph: {
|
|
|
1351
1268
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1352
1269
|
isMobile?: boolean | undefined;
|
|
1353
1270
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1354
|
-
useDraftEditor?: boolean | undefined;
|
|
1355
1271
|
hintProgressColor?: string | undefined;
|
|
1356
1272
|
canScrollPage?: boolean | undefined;
|
|
1357
|
-
inModal?: boolean | undefined;
|
|
1358
1273
|
crossOutEnabled?: boolean | undefined;
|
|
1359
1274
|
editorChangeDelay?: number | undefined;
|
|
1360
1275
|
flags?: {
|
|
@@ -1362,6 +1277,7 @@ declare const InteractiveGraph: {
|
|
|
1362
1277
|
circle?: boolean | undefined;
|
|
1363
1278
|
polygon?: boolean | undefined;
|
|
1364
1279
|
linear?: boolean | undefined;
|
|
1280
|
+
quadratic?: boolean | undefined;
|
|
1365
1281
|
"linear-system"?: boolean | undefined;
|
|
1366
1282
|
segment?: boolean | undefined;
|
|
1367
1283
|
ray?: boolean | undefined;
|
|
@@ -1379,7 +1295,6 @@ declare const InteractiveGraph: {
|
|
|
1379
1295
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1380
1296
|
editorChangeDelay: number;
|
|
1381
1297
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1382
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1383
1298
|
isArticle: NonNullable<boolean | undefined>;
|
|
1384
1299
|
isMobile: NonNullable<boolean | undefined>;
|
|
1385
1300
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1387,7 +1302,6 @@ declare const InteractiveGraph: {
|
|
|
1387
1302
|
readOnly: NonNullable<boolean | undefined>;
|
|
1388
1303
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1389
1304
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1390
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1391
1305
|
}>;
|
|
1392
1306
|
keypadElement?: any;
|
|
1393
1307
|
questionCompleted?: boolean | undefined;
|
|
@@ -1396,7 +1310,7 @@ declare const InteractiveGraph: {
|
|
|
1396
1310
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1397
1311
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1398
1312
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1399
|
-
trackInteraction: (extraData?:
|
|
1313
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1400
1314
|
isLastUsedWidget: boolean;
|
|
1401
1315
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1402
1316
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1413,10 +1327,7 @@ declare const InteractiveGraph: {
|
|
|
1413
1327
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1414
1328
|
showAlignmentOptions?: boolean | undefined;
|
|
1415
1329
|
readOnly?: boolean | undefined;
|
|
1416
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1417
|
-
* Whether to show tooltips on the graph.
|
|
1418
|
-
* (Currently not used, but will be in the future.)
|
|
1419
|
-
*/
|
|
1330
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1420
1331
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1421
1332
|
interactionCallback?: ((widgetData: {
|
|
1422
1333
|
[widgetId: string]: any;
|
|
@@ -1437,10 +1348,8 @@ declare const InteractiveGraph: {
|
|
|
1437
1348
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1438
1349
|
isMobile?: boolean | undefined;
|
|
1439
1350
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1440
|
-
useDraftEditor?: boolean | undefined;
|
|
1441
1351
|
hintProgressColor?: string | undefined;
|
|
1442
1352
|
canScrollPage?: boolean | undefined;
|
|
1443
|
-
inModal?: boolean | undefined;
|
|
1444
1353
|
crossOutEnabled?: boolean | undefined;
|
|
1445
1354
|
editorChangeDelay?: number | undefined;
|
|
1446
1355
|
flags?: {
|
|
@@ -1448,6 +1357,7 @@ declare const InteractiveGraph: {
|
|
|
1448
1357
|
circle?: boolean | undefined;
|
|
1449
1358
|
polygon?: boolean | undefined;
|
|
1450
1359
|
linear?: boolean | undefined;
|
|
1360
|
+
quadratic?: boolean | undefined;
|
|
1451
1361
|
"linear-system"?: boolean | undefined;
|
|
1452
1362
|
segment?: boolean | undefined;
|
|
1453
1363
|
ray?: boolean | undefined;
|
|
@@ -1465,7 +1375,6 @@ declare const InteractiveGraph: {
|
|
|
1465
1375
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1466
1376
|
editorChangeDelay: number;
|
|
1467
1377
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1468
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1469
1378
|
isArticle: NonNullable<boolean | undefined>;
|
|
1470
1379
|
isMobile: NonNullable<boolean | undefined>;
|
|
1471
1380
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1473,7 +1382,6 @@ declare const InteractiveGraph: {
|
|
|
1473
1382
|
readOnly: NonNullable<boolean | undefined>;
|
|
1474
1383
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1475
1384
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1476
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1477
1385
|
}>;
|
|
1478
1386
|
keypadElement?: any;
|
|
1479
1387
|
questionCompleted?: boolean | undefined;
|
|
@@ -1482,7 +1390,7 @@ declare const InteractiveGraph: {
|
|
|
1482
1390
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1483
1391
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1484
1392
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1485
|
-
trackInteraction: (extraData?:
|
|
1393
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1486
1394
|
isLastUsedWidget: boolean;
|
|
1487
1395
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1488
1396
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1501,10 +1409,7 @@ declare const InteractiveGraph: {
|
|
|
1501
1409
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1502
1410
|
showAlignmentOptions?: boolean | undefined;
|
|
1503
1411
|
readOnly?: boolean | undefined;
|
|
1504
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1505
|
-
* Whether to show tooltips on the graph.
|
|
1506
|
-
* (Currently not used, but will be in the future.)
|
|
1507
|
-
*/
|
|
1412
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1508
1413
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1509
1414
|
interactionCallback?: ((widgetData: {
|
|
1510
1415
|
[widgetId: string]: any;
|
|
@@ -1525,10 +1430,8 @@ declare const InteractiveGraph: {
|
|
|
1525
1430
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1526
1431
|
isMobile?: boolean | undefined;
|
|
1527
1432
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1528
|
-
useDraftEditor?: boolean | undefined;
|
|
1529
1433
|
hintProgressColor?: string | undefined;
|
|
1530
1434
|
canScrollPage?: boolean | undefined;
|
|
1531
|
-
inModal?: boolean | undefined;
|
|
1532
1435
|
crossOutEnabled?: boolean | undefined;
|
|
1533
1436
|
editorChangeDelay?: number | undefined;
|
|
1534
1437
|
flags?: {
|
|
@@ -1536,6 +1439,7 @@ declare const InteractiveGraph: {
|
|
|
1536
1439
|
circle?: boolean | undefined;
|
|
1537
1440
|
polygon?: boolean | undefined;
|
|
1538
1441
|
linear?: boolean | undefined;
|
|
1442
|
+
quadratic?: boolean | undefined;
|
|
1539
1443
|
"linear-system"?: boolean | undefined;
|
|
1540
1444
|
segment?: boolean | undefined;
|
|
1541
1445
|
ray?: boolean | undefined;
|
|
@@ -1553,7 +1457,6 @@ declare const InteractiveGraph: {
|
|
|
1553
1457
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1554
1458
|
editorChangeDelay: number;
|
|
1555
1459
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1556
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1557
1460
|
isArticle: NonNullable<boolean | undefined>;
|
|
1558
1461
|
isMobile: NonNullable<boolean | undefined>;
|
|
1559
1462
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1561,7 +1464,6 @@ declare const InteractiveGraph: {
|
|
|
1561
1464
|
readOnly: NonNullable<boolean | undefined>;
|
|
1562
1465
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1563
1466
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1564
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1565
1467
|
}>;
|
|
1566
1468
|
keypadElement?: any;
|
|
1567
1469
|
questionCompleted?: boolean | undefined;
|
|
@@ -1570,7 +1472,7 @@ declare const InteractiveGraph: {
|
|
|
1570
1472
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1571
1473
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1572
1474
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1573
|
-
trackInteraction: (extraData?:
|
|
1475
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1574
1476
|
isLastUsedWidget: boolean;
|
|
1575
1477
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1576
1478
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1587,10 +1489,7 @@ declare const InteractiveGraph: {
|
|
|
1587
1489
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1588
1490
|
showAlignmentOptions?: boolean | undefined;
|
|
1589
1491
|
readOnly?: boolean | undefined;
|
|
1590
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1591
|
-
* Whether to show tooltips on the graph.
|
|
1592
|
-
* (Currently not used, but will be in the future.)
|
|
1593
|
-
*/
|
|
1492
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1594
1493
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1595
1494
|
interactionCallback?: ((widgetData: {
|
|
1596
1495
|
[widgetId: string]: any;
|
|
@@ -1611,10 +1510,8 @@ declare const InteractiveGraph: {
|
|
|
1611
1510
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1612
1511
|
isMobile?: boolean | undefined;
|
|
1613
1512
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1614
|
-
useDraftEditor?: boolean | undefined;
|
|
1615
1513
|
hintProgressColor?: string | undefined;
|
|
1616
1514
|
canScrollPage?: boolean | undefined;
|
|
1617
|
-
inModal?: boolean | undefined;
|
|
1618
1515
|
crossOutEnabled?: boolean | undefined;
|
|
1619
1516
|
editorChangeDelay?: number | undefined;
|
|
1620
1517
|
flags?: {
|
|
@@ -1622,6 +1519,7 @@ declare const InteractiveGraph: {
|
|
|
1622
1519
|
circle?: boolean | undefined;
|
|
1623
1520
|
polygon?: boolean | undefined;
|
|
1624
1521
|
linear?: boolean | undefined;
|
|
1522
|
+
quadratic?: boolean | undefined;
|
|
1625
1523
|
"linear-system"?: boolean | undefined;
|
|
1626
1524
|
segment?: boolean | undefined;
|
|
1627
1525
|
ray?: boolean | undefined;
|
|
@@ -1639,7 +1537,6 @@ declare const InteractiveGraph: {
|
|
|
1639
1537
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1640
1538
|
editorChangeDelay: number;
|
|
1641
1539
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1642
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1643
1540
|
isArticle: NonNullable<boolean | undefined>;
|
|
1644
1541
|
isMobile: NonNullable<boolean | undefined>;
|
|
1645
1542
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1647,7 +1544,6 @@ declare const InteractiveGraph: {
|
|
|
1647
1544
|
readOnly: NonNullable<boolean | undefined>;
|
|
1648
1545
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1649
1546
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1650
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1651
1547
|
}>;
|
|
1652
1548
|
keypadElement?: any;
|
|
1653
1549
|
questionCompleted?: boolean | undefined;
|
|
@@ -1656,7 +1552,7 @@ declare const InteractiveGraph: {
|
|
|
1656
1552
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1657
1553
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1658
1554
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1659
|
-
trackInteraction: (extraData?:
|
|
1555
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1660
1556
|
isLastUsedWidget: boolean;
|
|
1661
1557
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1662
1558
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1673,10 +1569,7 @@ declare const InteractiveGraph: {
|
|
|
1673
1569
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1674
1570
|
showAlignmentOptions?: boolean | undefined;
|
|
1675
1571
|
readOnly?: boolean | undefined;
|
|
1676
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1677
|
-
* Whether to show tooltips on the graph.
|
|
1678
|
-
* (Currently not used, but will be in the future.)
|
|
1679
|
-
*/
|
|
1572
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1680
1573
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1681
1574
|
interactionCallback?: ((widgetData: {
|
|
1682
1575
|
[widgetId: string]: any;
|
|
@@ -1697,10 +1590,8 @@ declare const InteractiveGraph: {
|
|
|
1697
1590
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1698
1591
|
isMobile?: boolean | undefined;
|
|
1699
1592
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1700
|
-
useDraftEditor?: boolean | undefined;
|
|
1701
1593
|
hintProgressColor?: string | undefined;
|
|
1702
1594
|
canScrollPage?: boolean | undefined;
|
|
1703
|
-
inModal?: boolean | undefined;
|
|
1704
1595
|
crossOutEnabled?: boolean | undefined;
|
|
1705
1596
|
editorChangeDelay?: number | undefined;
|
|
1706
1597
|
flags?: {
|
|
@@ -1708,6 +1599,7 @@ declare const InteractiveGraph: {
|
|
|
1708
1599
|
circle?: boolean | undefined;
|
|
1709
1600
|
polygon?: boolean | undefined;
|
|
1710
1601
|
linear?: boolean | undefined;
|
|
1602
|
+
quadratic?: boolean | undefined;
|
|
1711
1603
|
"linear-system"?: boolean | undefined;
|
|
1712
1604
|
segment?: boolean | undefined;
|
|
1713
1605
|
ray?: boolean | undefined;
|
|
@@ -1725,7 +1617,6 @@ declare const InteractiveGraph: {
|
|
|
1725
1617
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1726
1618
|
editorChangeDelay: number;
|
|
1727
1619
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1728
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1729
1620
|
isArticle: NonNullable<boolean | undefined>;
|
|
1730
1621
|
isMobile: NonNullable<boolean | undefined>;
|
|
1731
1622
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1733,7 +1624,6 @@ declare const InteractiveGraph: {
|
|
|
1733
1624
|
readOnly: NonNullable<boolean | undefined>;
|
|
1734
1625
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1735
1626
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1736
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1737
1627
|
}>;
|
|
1738
1628
|
keypadElement?: any;
|
|
1739
1629
|
questionCompleted?: boolean | undefined;
|
|
@@ -1742,7 +1632,7 @@ declare const InteractiveGraph: {
|
|
|
1742
1632
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1743
1633
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1744
1634
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1745
|
-
trackInteraction: (extraData?:
|
|
1635
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1746
1636
|
isLastUsedWidget: boolean;
|
|
1747
1637
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1748
1638
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1759,10 +1649,7 @@ declare const InteractiveGraph: {
|
|
|
1759
1649
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1760
1650
|
showAlignmentOptions?: boolean | undefined;
|
|
1761
1651
|
readOnly?: boolean | undefined;
|
|
1762
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1763
|
-
* Whether to show tooltips on the graph.
|
|
1764
|
-
* (Currently not used, but will be in the future.)
|
|
1765
|
-
*/
|
|
1652
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1766
1653
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1767
1654
|
interactionCallback?: ((widgetData: {
|
|
1768
1655
|
[widgetId: string]: any;
|
|
@@ -1783,10 +1670,8 @@ declare const InteractiveGraph: {
|
|
|
1783
1670
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1784
1671
|
isMobile?: boolean | undefined;
|
|
1785
1672
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1786
|
-
useDraftEditor?: boolean | undefined;
|
|
1787
1673
|
hintProgressColor?: string | undefined;
|
|
1788
1674
|
canScrollPage?: boolean | undefined;
|
|
1789
|
-
inModal?: boolean | undefined;
|
|
1790
1675
|
crossOutEnabled?: boolean | undefined;
|
|
1791
1676
|
editorChangeDelay?: number | undefined;
|
|
1792
1677
|
flags?: {
|
|
@@ -1794,6 +1679,7 @@ declare const InteractiveGraph: {
|
|
|
1794
1679
|
circle?: boolean | undefined;
|
|
1795
1680
|
polygon?: boolean | undefined;
|
|
1796
1681
|
linear?: boolean | undefined;
|
|
1682
|
+
quadratic?: boolean | undefined;
|
|
1797
1683
|
"linear-system"?: boolean | undefined;
|
|
1798
1684
|
segment?: boolean | undefined;
|
|
1799
1685
|
ray?: boolean | undefined;
|
|
@@ -1811,7 +1697,6 @@ declare const InteractiveGraph: {
|
|
|
1811
1697
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1812
1698
|
editorChangeDelay: number;
|
|
1813
1699
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1814
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1815
1700
|
isArticle: NonNullable<boolean | undefined>;
|
|
1816
1701
|
isMobile: NonNullable<boolean | undefined>;
|
|
1817
1702
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1819,7 +1704,6 @@ declare const InteractiveGraph: {
|
|
|
1819
1704
|
readOnly: NonNullable<boolean | undefined>;
|
|
1820
1705
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1821
1706
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1822
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1823
1707
|
}>;
|
|
1824
1708
|
keypadElement?: any;
|
|
1825
1709
|
questionCompleted?: boolean | undefined;
|
|
@@ -1828,7 +1712,7 @@ declare const InteractiveGraph: {
|
|
|
1828
1712
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1829
1713
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1830
1714
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1831
|
-
trackInteraction: (extraData?:
|
|
1715
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1832
1716
|
isLastUsedWidget: boolean;
|
|
1833
1717
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1834
1718
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1846,10 +1730,7 @@ declare const InteractiveGraph: {
|
|
|
1846
1730
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1847
1731
|
showAlignmentOptions?: boolean | undefined;
|
|
1848
1732
|
readOnly?: boolean | undefined;
|
|
1849
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1850
|
-
* Whether to show tooltips on the graph.
|
|
1851
|
-
* (Currently not used, but will be in the future.)
|
|
1852
|
-
*/
|
|
1733
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1853
1734
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1854
1735
|
interactionCallback?: ((widgetData: {
|
|
1855
1736
|
[widgetId: string]: any;
|
|
@@ -1870,10 +1751,8 @@ declare const InteractiveGraph: {
|
|
|
1870
1751
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1871
1752
|
isMobile?: boolean | undefined;
|
|
1872
1753
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1873
|
-
useDraftEditor?: boolean | undefined;
|
|
1874
1754
|
hintProgressColor?: string | undefined;
|
|
1875
1755
|
canScrollPage?: boolean | undefined;
|
|
1876
|
-
inModal?: boolean | undefined;
|
|
1877
1756
|
crossOutEnabled?: boolean | undefined;
|
|
1878
1757
|
editorChangeDelay?: number | undefined;
|
|
1879
1758
|
flags?: {
|
|
@@ -1881,6 +1760,7 @@ declare const InteractiveGraph: {
|
|
|
1881
1760
|
circle?: boolean | undefined;
|
|
1882
1761
|
polygon?: boolean | undefined;
|
|
1883
1762
|
linear?: boolean | undefined;
|
|
1763
|
+
quadratic?: boolean | undefined;
|
|
1884
1764
|
"linear-system"?: boolean | undefined;
|
|
1885
1765
|
segment?: boolean | undefined;
|
|
1886
1766
|
ray?: boolean | undefined;
|
|
@@ -1898,7 +1778,6 @@ declare const InteractiveGraph: {
|
|
|
1898
1778
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1899
1779
|
editorChangeDelay: number;
|
|
1900
1780
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1901
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1902
1781
|
isArticle: NonNullable<boolean | undefined>;
|
|
1903
1782
|
isMobile: NonNullable<boolean | undefined>;
|
|
1904
1783
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1906,7 +1785,6 @@ declare const InteractiveGraph: {
|
|
|
1906
1785
|
readOnly: NonNullable<boolean | undefined>;
|
|
1907
1786
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1908
1787
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1909
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1910
1788
|
}>;
|
|
1911
1789
|
keypadElement?: any;
|
|
1912
1790
|
questionCompleted?: boolean | undefined;
|
|
@@ -1915,7 +1793,7 @@ declare const InteractiveGraph: {
|
|
|
1915
1793
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1916
1794
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1917
1795
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1918
|
-
trackInteraction: (extraData?:
|
|
1796
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1919
1797
|
isLastUsedWidget: boolean;
|
|
1920
1798
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1921
1799
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1956,10 +1834,7 @@ declare const InteractiveGraph: {
|
|
|
1956
1834
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1957
1835
|
showAlignmentOptions?: boolean | undefined;
|
|
1958
1836
|
readOnly?: boolean | undefined;
|
|
1959
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1960
|
-
* Whether to show tooltips on the graph.
|
|
1961
|
-
* (Currently not used, but will be in the future.)
|
|
1962
|
-
*/
|
|
1837
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1963
1838
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1964
1839
|
interactionCallback?: ((widgetData: {
|
|
1965
1840
|
[widgetId: string]: any;
|
|
@@ -1980,10 +1855,8 @@ declare const InteractiveGraph: {
|
|
|
1980
1855
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1981
1856
|
isMobile?: boolean | undefined;
|
|
1982
1857
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1983
|
-
useDraftEditor?: boolean | undefined;
|
|
1984
1858
|
hintProgressColor?: string | undefined;
|
|
1985
1859
|
canScrollPage?: boolean | undefined;
|
|
1986
|
-
inModal?: boolean | undefined;
|
|
1987
1860
|
crossOutEnabled?: boolean | undefined;
|
|
1988
1861
|
editorChangeDelay?: number | undefined;
|
|
1989
1862
|
flags?: {
|
|
@@ -1991,6 +1864,7 @@ declare const InteractiveGraph: {
|
|
|
1991
1864
|
circle?: boolean | undefined;
|
|
1992
1865
|
polygon?: boolean | undefined;
|
|
1993
1866
|
linear?: boolean | undefined;
|
|
1867
|
+
quadratic?: boolean | undefined;
|
|
1994
1868
|
"linear-system"?: boolean | undefined;
|
|
1995
1869
|
segment?: boolean | undefined;
|
|
1996
1870
|
ray?: boolean | undefined;
|
|
@@ -2008,7 +1882,6 @@ declare const InteractiveGraph: {
|
|
|
2008
1882
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2009
1883
|
editorChangeDelay: number;
|
|
2010
1884
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2011
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2012
1885
|
isArticle: NonNullable<boolean | undefined>;
|
|
2013
1886
|
isMobile: NonNullable<boolean | undefined>;
|
|
2014
1887
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2016,7 +1889,6 @@ declare const InteractiveGraph: {
|
|
|
2016
1889
|
readOnly: NonNullable<boolean | undefined>;
|
|
2017
1890
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2018
1891
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2019
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2020
1892
|
}>;
|
|
2021
1893
|
keypadElement?: any;
|
|
2022
1894
|
questionCompleted?: boolean | undefined;
|
|
@@ -2025,7 +1897,7 @@ declare const InteractiveGraph: {
|
|
|
2025
1897
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2026
1898
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2027
1899
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2028
|
-
trackInteraction: (extraData?:
|
|
1900
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2029
1901
|
isLastUsedWidget: boolean;
|
|
2030
1902
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2031
1903
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2042,10 +1914,7 @@ declare const InteractiveGraph: {
|
|
|
2042
1914
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2043
1915
|
showAlignmentOptions?: boolean | undefined;
|
|
2044
1916
|
readOnly?: boolean | undefined;
|
|
2045
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2046
|
-
* Whether to show tooltips on the graph.
|
|
2047
|
-
* (Currently not used, but will be in the future.)
|
|
2048
|
-
*/
|
|
1917
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2049
1918
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2050
1919
|
interactionCallback?: ((widgetData: {
|
|
2051
1920
|
[widgetId: string]: any;
|
|
@@ -2066,10 +1935,8 @@ declare const InteractiveGraph: {
|
|
|
2066
1935
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2067
1936
|
isMobile?: boolean | undefined;
|
|
2068
1937
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2069
|
-
useDraftEditor?: boolean | undefined;
|
|
2070
1938
|
hintProgressColor?: string | undefined;
|
|
2071
1939
|
canScrollPage?: boolean | undefined;
|
|
2072
|
-
inModal?: boolean | undefined;
|
|
2073
1940
|
crossOutEnabled?: boolean | undefined;
|
|
2074
1941
|
editorChangeDelay?: number | undefined;
|
|
2075
1942
|
flags?: {
|
|
@@ -2077,6 +1944,7 @@ declare const InteractiveGraph: {
|
|
|
2077
1944
|
circle?: boolean | undefined;
|
|
2078
1945
|
polygon?: boolean | undefined;
|
|
2079
1946
|
linear?: boolean | undefined;
|
|
1947
|
+
quadratic?: boolean | undefined;
|
|
2080
1948
|
"linear-system"?: boolean | undefined;
|
|
2081
1949
|
segment?: boolean | undefined;
|
|
2082
1950
|
ray?: boolean | undefined;
|
|
@@ -2094,7 +1962,6 @@ declare const InteractiveGraph: {
|
|
|
2094
1962
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2095
1963
|
editorChangeDelay: number;
|
|
2096
1964
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2097
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2098
1965
|
isArticle: NonNullable<boolean | undefined>;
|
|
2099
1966
|
isMobile: NonNullable<boolean | undefined>;
|
|
2100
1967
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2102,7 +1969,6 @@ declare const InteractiveGraph: {
|
|
|
2102
1969
|
readOnly: NonNullable<boolean | undefined>;
|
|
2103
1970
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2104
1971
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2105
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2106
1972
|
}>;
|
|
2107
1973
|
keypadElement?: any;
|
|
2108
1974
|
questionCompleted?: boolean | undefined;
|
|
@@ -2111,7 +1977,7 @@ declare const InteractiveGraph: {
|
|
|
2111
1977
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2112
1978
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2113
1979
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2114
|
-
trackInteraction: (extraData?:
|
|
1980
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2115
1981
|
isLastUsedWidget: boolean;
|
|
2116
1982
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2117
1983
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2128,10 +1994,7 @@ declare const InteractiveGraph: {
|
|
|
2128
1994
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2129
1995
|
showAlignmentOptions?: boolean | undefined;
|
|
2130
1996
|
readOnly?: boolean | undefined;
|
|
2131
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2132
|
-
* Whether to show tooltips on the graph.
|
|
2133
|
-
* (Currently not used, but will be in the future.)
|
|
2134
|
-
*/
|
|
1997
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2135
1998
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2136
1999
|
interactionCallback?: ((widgetData: {
|
|
2137
2000
|
[widgetId: string]: any;
|
|
@@ -2152,10 +2015,8 @@ declare const InteractiveGraph: {
|
|
|
2152
2015
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2153
2016
|
isMobile?: boolean | undefined;
|
|
2154
2017
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2155
|
-
useDraftEditor?: boolean | undefined;
|
|
2156
2018
|
hintProgressColor?: string | undefined;
|
|
2157
2019
|
canScrollPage?: boolean | undefined;
|
|
2158
|
-
inModal?: boolean | undefined;
|
|
2159
2020
|
crossOutEnabled?: boolean | undefined;
|
|
2160
2021
|
editorChangeDelay?: number | undefined;
|
|
2161
2022
|
flags?: {
|
|
@@ -2163,6 +2024,7 @@ declare const InteractiveGraph: {
|
|
|
2163
2024
|
circle?: boolean | undefined;
|
|
2164
2025
|
polygon?: boolean | undefined;
|
|
2165
2026
|
linear?: boolean | undefined;
|
|
2027
|
+
quadratic?: boolean | undefined;
|
|
2166
2028
|
"linear-system"?: boolean | undefined;
|
|
2167
2029
|
segment?: boolean | undefined;
|
|
2168
2030
|
ray?: boolean | undefined;
|
|
@@ -2180,7 +2042,6 @@ declare const InteractiveGraph: {
|
|
|
2180
2042
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2181
2043
|
editorChangeDelay: number;
|
|
2182
2044
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2183
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2184
2045
|
isArticle: NonNullable<boolean | undefined>;
|
|
2185
2046
|
isMobile: NonNullable<boolean | undefined>;
|
|
2186
2047
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2188,7 +2049,6 @@ declare const InteractiveGraph: {
|
|
|
2188
2049
|
readOnly: NonNullable<boolean | undefined>;
|
|
2189
2050
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2190
2051
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2191
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2192
2052
|
}>;
|
|
2193
2053
|
keypadElement?: any;
|
|
2194
2054
|
questionCompleted?: boolean | undefined;
|
|
@@ -2197,7 +2057,7 @@ declare const InteractiveGraph: {
|
|
|
2197
2057
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2198
2058
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2199
2059
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2200
|
-
trackInteraction: (extraData?:
|
|
2060
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2201
2061
|
isLastUsedWidget: boolean;
|
|
2202
2062
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2203
2063
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2222,10 +2082,7 @@ declare const InteractiveGraph: {
|
|
|
2222
2082
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2223
2083
|
showAlignmentOptions?: boolean | undefined;
|
|
2224
2084
|
readOnly?: boolean | undefined;
|
|
2225
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2226
|
-
* Whether to show tooltips on the graph.
|
|
2227
|
-
* (Currently not used, but will be in the future.)
|
|
2228
|
-
*/
|
|
2085
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2229
2086
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2230
2087
|
interactionCallback?: ((widgetData: {
|
|
2231
2088
|
[widgetId: string]: any;
|
|
@@ -2246,10 +2103,8 @@ declare const InteractiveGraph: {
|
|
|
2246
2103
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2247
2104
|
isMobile?: boolean | undefined;
|
|
2248
2105
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2249
|
-
useDraftEditor?: boolean | undefined;
|
|
2250
2106
|
hintProgressColor?: string | undefined;
|
|
2251
2107
|
canScrollPage?: boolean | undefined;
|
|
2252
|
-
inModal?: boolean | undefined;
|
|
2253
2108
|
crossOutEnabled?: boolean | undefined;
|
|
2254
2109
|
editorChangeDelay?: number | undefined;
|
|
2255
2110
|
flags?: {
|
|
@@ -2257,6 +2112,7 @@ declare const InteractiveGraph: {
|
|
|
2257
2112
|
circle?: boolean | undefined;
|
|
2258
2113
|
polygon?: boolean | undefined;
|
|
2259
2114
|
linear?: boolean | undefined;
|
|
2115
|
+
quadratic?: boolean | undefined;
|
|
2260
2116
|
"linear-system"?: boolean | undefined;
|
|
2261
2117
|
segment?: boolean | undefined;
|
|
2262
2118
|
ray?: boolean | undefined;
|
|
@@ -2274,7 +2130,6 @@ declare const InteractiveGraph: {
|
|
|
2274
2130
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2275
2131
|
editorChangeDelay: number;
|
|
2276
2132
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2277
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2278
2133
|
isArticle: NonNullable<boolean | undefined>;
|
|
2279
2134
|
isMobile: NonNullable<boolean | undefined>;
|
|
2280
2135
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2282,7 +2137,6 @@ declare const InteractiveGraph: {
|
|
|
2282
2137
|
readOnly: NonNullable<boolean | undefined>;
|
|
2283
2138
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2284
2139
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2285
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2286
2140
|
}>;
|
|
2287
2141
|
keypadElement?: any;
|
|
2288
2142
|
questionCompleted?: boolean | undefined;
|
|
@@ -2291,15 +2145,15 @@ declare const InteractiveGraph: {
|
|
|
2291
2145
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2292
2146
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2293
2147
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2294
|
-
trackInteraction: (extraData?:
|
|
2148
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2295
2149
|
isLastUsedWidget: boolean;
|
|
2296
2150
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2297
2151
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2298
|
-
}) | null | undefined) => boolean;
|
|
2299
|
-
* The size of the graph in pixels.
|
|
2300
|
-
*/
|
|
2152
|
+
}) | null | undefined) => boolean;
|
|
2301
2153
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
2302
|
-
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
2154
|
+
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean; /**
|
|
2155
|
+
* The background image to display in the graph area and its properties.
|
|
2156
|
+
*/
|
|
2303
2157
|
arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
2304
2158
|
areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
2305
2159
|
_lineStroke: () => {
|
|
@@ -2307,11 +2161,11 @@ declare const InteractiveGraph: {
|
|
|
2307
2161
|
};
|
|
2308
2162
|
addLine: (arg1: string) => void;
|
|
2309
2163
|
removeLine: () => void;
|
|
2310
|
-
addLinearControls: () => void;
|
|
2311
|
-
* Whether to show the protractor on the graph.
|
|
2312
|
-
*/
|
|
2164
|
+
addLinearControls: () => void;
|
|
2313
2165
|
removeLinearControls: () => void;
|
|
2314
|
-
addQuadraticControls: () => void;
|
|
2166
|
+
addQuadraticControls: () => void; /**
|
|
2167
|
+
* Whether to show the ruler on the graph.
|
|
2168
|
+
*/
|
|
2315
2169
|
updateQuadratic: () => void;
|
|
2316
2170
|
removeQuadraticControls: () => void;
|
|
2317
2171
|
addSinusoidControls: () => void;
|
|
@@ -2320,9 +2174,7 @@ declare const InteractiveGraph: {
|
|
|
2320
2174
|
addCircleControls: () => void;
|
|
2321
2175
|
removeCircleControls: () => void;
|
|
2322
2176
|
addLinearSystemControls: () => void;
|
|
2323
|
-
removeLinearSystemControls: () => void;
|
|
2324
|
-
* The number of ticks to display on the ruler.
|
|
2325
|
-
*/
|
|
2177
|
+
removeLinearSystemControls: () => void;
|
|
2326
2178
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
2327
2179
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
2328
2180
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
@@ -2333,14 +2185,20 @@ declare const InteractiveGraph: {
|
|
|
2333
2185
|
addPointControls: () => void;
|
|
2334
2186
|
removePointControls: () => void;
|
|
2335
2187
|
addSegmentControls: () => void;
|
|
2336
|
-
removeSegmentControls: () => void;
|
|
2188
|
+
removeSegmentControls: () => void; /**
|
|
2189
|
+
* The locked figures to display in the graph area.
|
|
2190
|
+
* Locked figures are graph elements (points, lines, line segmeents,
|
|
2191
|
+
* etc.) that are locked in place and not interactive.
|
|
2192
|
+
*/
|
|
2337
2193
|
addRayControls: () => void;
|
|
2338
2194
|
removeRayControls: () => void;
|
|
2339
2195
|
addPolygonControls: () => void;
|
|
2340
2196
|
updatePolygon: () => void;
|
|
2341
2197
|
removePolygonControls: () => void;
|
|
2342
2198
|
addAngleControls: () => void;
|
|
2343
|
-
removeAngleControls: () => void;
|
|
2199
|
+
removeAngleControls: () => void; /**
|
|
2200
|
+
* The graph to display in the graph area.
|
|
2201
|
+
*/
|
|
2344
2202
|
toggleShowSides: () => void;
|
|
2345
2203
|
getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
|
|
2346
2204
|
simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
@@ -2360,10 +2218,7 @@ declare const InteractiveGraph: {
|
|
|
2360
2218
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2361
2219
|
showAlignmentOptions?: boolean | undefined;
|
|
2362
2220
|
readOnly?: boolean | undefined;
|
|
2363
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2364
|
-
* Whether to show tooltips on the graph.
|
|
2365
|
-
* (Currently not used, but will be in the future.)
|
|
2366
|
-
*/
|
|
2221
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2367
2222
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2368
2223
|
interactionCallback?: ((widgetData: {
|
|
2369
2224
|
[widgetId: string]: any;
|
|
@@ -2384,10 +2239,8 @@ declare const InteractiveGraph: {
|
|
|
2384
2239
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2385
2240
|
isMobile?: boolean | undefined;
|
|
2386
2241
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2387
|
-
useDraftEditor?: boolean | undefined;
|
|
2388
2242
|
hintProgressColor?: string | undefined;
|
|
2389
2243
|
canScrollPage?: boolean | undefined;
|
|
2390
|
-
inModal?: boolean | undefined;
|
|
2391
2244
|
crossOutEnabled?: boolean | undefined;
|
|
2392
2245
|
editorChangeDelay?: number | undefined;
|
|
2393
2246
|
flags?: {
|
|
@@ -2395,6 +2248,7 @@ declare const InteractiveGraph: {
|
|
|
2395
2248
|
circle?: boolean | undefined;
|
|
2396
2249
|
polygon?: boolean | undefined;
|
|
2397
2250
|
linear?: boolean | undefined;
|
|
2251
|
+
quadratic?: boolean | undefined;
|
|
2398
2252
|
"linear-system"?: boolean | undefined;
|
|
2399
2253
|
segment?: boolean | undefined;
|
|
2400
2254
|
ray?: boolean | undefined;
|
|
@@ -2412,7 +2266,6 @@ declare const InteractiveGraph: {
|
|
|
2412
2266
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2413
2267
|
editorChangeDelay: number;
|
|
2414
2268
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2415
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2416
2269
|
isArticle: NonNullable<boolean | undefined>;
|
|
2417
2270
|
isMobile: NonNullable<boolean | undefined>;
|
|
2418
2271
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2420,7 +2273,6 @@ declare const InteractiveGraph: {
|
|
|
2420
2273
|
readOnly: NonNullable<boolean | undefined>;
|
|
2421
2274
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2422
2275
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2423
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2424
2276
|
}>;
|
|
2425
2277
|
keypadElement?: any;
|
|
2426
2278
|
questionCompleted?: boolean | undefined;
|
|
@@ -2429,7 +2281,7 @@ declare const InteractiveGraph: {
|
|
|
2429
2281
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2430
2282
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2431
2283
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2432
|
-
trackInteraction: (extraData?:
|
|
2284
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2433
2285
|
isLastUsedWidget: boolean;
|
|
2434
2286
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2435
2287
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2451,10 +2303,7 @@ declare const InteractiveGraph: {
|
|
|
2451
2303
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2452
2304
|
showAlignmentOptions?: boolean | undefined;
|
|
2453
2305
|
readOnly?: boolean | undefined;
|
|
2454
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2455
|
-
* Whether to show tooltips on the graph.
|
|
2456
|
-
* (Currently not used, but will be in the future.)
|
|
2457
|
-
*/
|
|
2306
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2458
2307
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2459
2308
|
interactionCallback?: ((widgetData: {
|
|
2460
2309
|
[widgetId: string]: any;
|
|
@@ -2475,10 +2324,8 @@ declare const InteractiveGraph: {
|
|
|
2475
2324
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2476
2325
|
isMobile?: boolean | undefined;
|
|
2477
2326
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2478
|
-
useDraftEditor?: boolean | undefined;
|
|
2479
2327
|
hintProgressColor?: string | undefined;
|
|
2480
2328
|
canScrollPage?: boolean | undefined;
|
|
2481
|
-
inModal?: boolean | undefined;
|
|
2482
2329
|
crossOutEnabled?: boolean | undefined;
|
|
2483
2330
|
editorChangeDelay?: number | undefined;
|
|
2484
2331
|
flags?: {
|
|
@@ -2486,6 +2333,7 @@ declare const InteractiveGraph: {
|
|
|
2486
2333
|
circle?: boolean | undefined;
|
|
2487
2334
|
polygon?: boolean | undefined;
|
|
2488
2335
|
linear?: boolean | undefined;
|
|
2336
|
+
quadratic?: boolean | undefined;
|
|
2489
2337
|
"linear-system"?: boolean | undefined;
|
|
2490
2338
|
segment?: boolean | undefined;
|
|
2491
2339
|
ray?: boolean | undefined;
|
|
@@ -2503,7 +2351,6 @@ declare const InteractiveGraph: {
|
|
|
2503
2351
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2504
2352
|
editorChangeDelay: number;
|
|
2505
2353
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2506
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2507
2354
|
isArticle: NonNullable<boolean | undefined>;
|
|
2508
2355
|
isMobile: NonNullable<boolean | undefined>;
|
|
2509
2356
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2511,7 +2358,6 @@ declare const InteractiveGraph: {
|
|
|
2511
2358
|
readOnly: NonNullable<boolean | undefined>;
|
|
2512
2359
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2513
2360
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2514
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2515
2361
|
}>;
|
|
2516
2362
|
keypadElement?: any;
|
|
2517
2363
|
questionCompleted?: boolean | undefined;
|
|
@@ -2520,7 +2366,7 @@ declare const InteractiveGraph: {
|
|
|
2520
2366
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2521
2367
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2522
2368
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2523
|
-
trackInteraction: (extraData?:
|
|
2369
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2524
2370
|
isLastUsedWidget: boolean;
|
|
2525
2371
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2526
2372
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2539,10 +2385,7 @@ declare const InteractiveGraph: {
|
|
|
2539
2385
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2540
2386
|
showAlignmentOptions?: boolean | undefined;
|
|
2541
2387
|
readOnly?: boolean | undefined;
|
|
2542
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2543
|
-
* Whether to show tooltips on the graph.
|
|
2544
|
-
* (Currently not used, but will be in the future.)
|
|
2545
|
-
*/
|
|
2388
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2546
2389
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2547
2390
|
interactionCallback?: ((widgetData: {
|
|
2548
2391
|
[widgetId: string]: any;
|
|
@@ -2563,10 +2406,8 @@ declare const InteractiveGraph: {
|
|
|
2563
2406
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2564
2407
|
isMobile?: boolean | undefined;
|
|
2565
2408
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2566
|
-
useDraftEditor?: boolean | undefined;
|
|
2567
2409
|
hintProgressColor?: string | undefined;
|
|
2568
2410
|
canScrollPage?: boolean | undefined;
|
|
2569
|
-
inModal?: boolean | undefined;
|
|
2570
2411
|
crossOutEnabled?: boolean | undefined;
|
|
2571
2412
|
editorChangeDelay?: number | undefined;
|
|
2572
2413
|
flags?: {
|
|
@@ -2574,6 +2415,7 @@ declare const InteractiveGraph: {
|
|
|
2574
2415
|
circle?: boolean | undefined;
|
|
2575
2416
|
polygon?: boolean | undefined;
|
|
2576
2417
|
linear?: boolean | undefined;
|
|
2418
|
+
quadratic?: boolean | undefined;
|
|
2577
2419
|
"linear-system"?: boolean | undefined;
|
|
2578
2420
|
segment?: boolean | undefined;
|
|
2579
2421
|
ray?: boolean | undefined;
|
|
@@ -2591,7 +2433,6 @@ declare const InteractiveGraph: {
|
|
|
2591
2433
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2592
2434
|
editorChangeDelay: number;
|
|
2593
2435
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2594
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2595
2436
|
isArticle: NonNullable<boolean | undefined>;
|
|
2596
2437
|
isMobile: NonNullable<boolean | undefined>;
|
|
2597
2438
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2599,7 +2440,6 @@ declare const InteractiveGraph: {
|
|
|
2599
2440
|
readOnly: NonNullable<boolean | undefined>;
|
|
2600
2441
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2601
2442
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2602
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2603
2443
|
}>;
|
|
2604
2444
|
keypadElement?: any;
|
|
2605
2445
|
questionCompleted?: boolean | undefined;
|
|
@@ -2608,7 +2448,7 @@ declare const InteractiveGraph: {
|
|
|
2608
2448
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2609
2449
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2610
2450
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2611
|
-
trackInteraction: (extraData?:
|
|
2451
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2612
2452
|
isLastUsedWidget: boolean;
|
|
2613
2453
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2614
2454
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2626,10 +2466,7 @@ declare const InteractiveGraph: {
|
|
|
2626
2466
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2627
2467
|
showAlignmentOptions?: boolean | undefined;
|
|
2628
2468
|
readOnly?: boolean | undefined;
|
|
2629
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2630
|
-
* Whether to show tooltips on the graph.
|
|
2631
|
-
* (Currently not used, but will be in the future.)
|
|
2632
|
-
*/
|
|
2469
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2633
2470
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2634
2471
|
interactionCallback?: ((widgetData: {
|
|
2635
2472
|
[widgetId: string]: any;
|
|
@@ -2650,10 +2487,8 @@ declare const InteractiveGraph: {
|
|
|
2650
2487
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2651
2488
|
isMobile?: boolean | undefined;
|
|
2652
2489
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2653
|
-
useDraftEditor?: boolean | undefined;
|
|
2654
2490
|
hintProgressColor?: string | undefined;
|
|
2655
2491
|
canScrollPage?: boolean | undefined;
|
|
2656
|
-
inModal?: boolean | undefined;
|
|
2657
2492
|
crossOutEnabled?: boolean | undefined;
|
|
2658
2493
|
editorChangeDelay?: number | undefined;
|
|
2659
2494
|
flags?: {
|
|
@@ -2661,6 +2496,7 @@ declare const InteractiveGraph: {
|
|
|
2661
2496
|
circle?: boolean | undefined;
|
|
2662
2497
|
polygon?: boolean | undefined;
|
|
2663
2498
|
linear?: boolean | undefined;
|
|
2499
|
+
quadratic?: boolean | undefined;
|
|
2664
2500
|
"linear-system"?: boolean | undefined;
|
|
2665
2501
|
segment?: boolean | undefined;
|
|
2666
2502
|
ray?: boolean | undefined;
|
|
@@ -2678,7 +2514,6 @@ declare const InteractiveGraph: {
|
|
|
2678
2514
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2679
2515
|
editorChangeDelay: number;
|
|
2680
2516
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2681
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2682
2517
|
isArticle: NonNullable<boolean | undefined>;
|
|
2683
2518
|
isMobile: NonNullable<boolean | undefined>;
|
|
2684
2519
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2686,7 +2521,6 @@ declare const InteractiveGraph: {
|
|
|
2686
2521
|
readOnly: NonNullable<boolean | undefined>;
|
|
2687
2522
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2688
2523
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2689
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2690
2524
|
}>;
|
|
2691
2525
|
keypadElement?: any;
|
|
2692
2526
|
questionCompleted?: boolean | undefined;
|
|
@@ -2695,7 +2529,7 @@ declare const InteractiveGraph: {
|
|
|
2695
2529
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2696
2530
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2697
2531
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2698
|
-
trackInteraction: (extraData?:
|
|
2532
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2699
2533
|
isLastUsedWidget: boolean;
|
|
2700
2534
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2701
2535
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2712,10 +2546,7 @@ declare const InteractiveGraph: {
|
|
|
2712
2546
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2713
2547
|
showAlignmentOptions?: boolean | undefined;
|
|
2714
2548
|
readOnly?: boolean | undefined;
|
|
2715
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2716
|
-
* Whether to show tooltips on the graph.
|
|
2717
|
-
* (Currently not used, but will be in the future.)
|
|
2718
|
-
*/
|
|
2549
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2719
2550
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2720
2551
|
interactionCallback?: ((widgetData: {
|
|
2721
2552
|
[widgetId: string]: any;
|
|
@@ -2736,10 +2567,8 @@ declare const InteractiveGraph: {
|
|
|
2736
2567
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2737
2568
|
isMobile?: boolean | undefined;
|
|
2738
2569
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2739
|
-
useDraftEditor?: boolean | undefined;
|
|
2740
2570
|
hintProgressColor?: string | undefined;
|
|
2741
2571
|
canScrollPage?: boolean | undefined;
|
|
2742
|
-
inModal?: boolean | undefined;
|
|
2743
2572
|
crossOutEnabled?: boolean | undefined;
|
|
2744
2573
|
editorChangeDelay?: number | undefined;
|
|
2745
2574
|
flags?: {
|
|
@@ -2747,6 +2576,7 @@ declare const InteractiveGraph: {
|
|
|
2747
2576
|
circle?: boolean | undefined;
|
|
2748
2577
|
polygon?: boolean | undefined;
|
|
2749
2578
|
linear?: boolean | undefined;
|
|
2579
|
+
quadratic?: boolean | undefined;
|
|
2750
2580
|
"linear-system"?: boolean | undefined;
|
|
2751
2581
|
segment?: boolean | undefined;
|
|
2752
2582
|
ray?: boolean | undefined;
|
|
@@ -2764,7 +2594,6 @@ declare const InteractiveGraph: {
|
|
|
2764
2594
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2765
2595
|
editorChangeDelay: number;
|
|
2766
2596
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2767
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2768
2597
|
isArticle: NonNullable<boolean | undefined>;
|
|
2769
2598
|
isMobile: NonNullable<boolean | undefined>;
|
|
2770
2599
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2772,7 +2601,6 @@ declare const InteractiveGraph: {
|
|
|
2772
2601
|
readOnly: NonNullable<boolean | undefined>;
|
|
2773
2602
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2774
2603
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2775
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2776
2604
|
}>;
|
|
2777
2605
|
keypadElement?: any;
|
|
2778
2606
|
questionCompleted?: boolean | undefined;
|
|
@@ -2781,7 +2609,7 @@ declare const InteractiveGraph: {
|
|
|
2781
2609
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2782
2610
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2783
2611
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2784
|
-
trackInteraction: (extraData?:
|
|
2612
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2785
2613
|
isLastUsedWidget: boolean;
|
|
2786
2614
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2787
2615
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2798,10 +2626,7 @@ declare const InteractiveGraph: {
|
|
|
2798
2626
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2799
2627
|
showAlignmentOptions?: boolean | undefined;
|
|
2800
2628
|
readOnly?: boolean | undefined;
|
|
2801
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2802
|
-
* Whether to show tooltips on the graph.
|
|
2803
|
-
* (Currently not used, but will be in the future.)
|
|
2804
|
-
*/
|
|
2629
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2805
2630
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2806
2631
|
interactionCallback?: ((widgetData: {
|
|
2807
2632
|
[widgetId: string]: any;
|
|
@@ -2822,10 +2647,8 @@ declare const InteractiveGraph: {
|
|
|
2822
2647
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2823
2648
|
isMobile?: boolean | undefined;
|
|
2824
2649
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2825
|
-
useDraftEditor?: boolean | undefined;
|
|
2826
2650
|
hintProgressColor?: string | undefined;
|
|
2827
2651
|
canScrollPage?: boolean | undefined;
|
|
2828
|
-
inModal?: boolean | undefined;
|
|
2829
2652
|
crossOutEnabled?: boolean | undefined;
|
|
2830
2653
|
editorChangeDelay?: number | undefined;
|
|
2831
2654
|
flags?: {
|
|
@@ -2833,6 +2656,7 @@ declare const InteractiveGraph: {
|
|
|
2833
2656
|
circle?: boolean | undefined;
|
|
2834
2657
|
polygon?: boolean | undefined;
|
|
2835
2658
|
linear?: boolean | undefined;
|
|
2659
|
+
quadratic?: boolean | undefined;
|
|
2836
2660
|
"linear-system"?: boolean | undefined;
|
|
2837
2661
|
segment?: boolean | undefined;
|
|
2838
2662
|
ray?: boolean | undefined;
|
|
@@ -2850,7 +2674,6 @@ declare const InteractiveGraph: {
|
|
|
2850
2674
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2851
2675
|
editorChangeDelay: number;
|
|
2852
2676
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2853
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2854
2677
|
isArticle: NonNullable<boolean | undefined>;
|
|
2855
2678
|
isMobile: NonNullable<boolean | undefined>;
|
|
2856
2679
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2858,7 +2681,6 @@ declare const InteractiveGraph: {
|
|
|
2858
2681
|
readOnly: NonNullable<boolean | undefined>;
|
|
2859
2682
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2860
2683
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2861
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2862
2684
|
}>;
|
|
2863
2685
|
keypadElement?: any;
|
|
2864
2686
|
questionCompleted?: boolean | undefined;
|
|
@@ -2867,7 +2689,7 @@ declare const InteractiveGraph: {
|
|
|
2867
2689
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2868
2690
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2869
2691
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2870
|
-
trackInteraction: (extraData?:
|
|
2692
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2871
2693
|
isLastUsedWidget: boolean;
|
|
2872
2694
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2873
2695
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2892,10 +2714,7 @@ declare const InteractiveGraph: {
|
|
|
2892
2714
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2893
2715
|
showAlignmentOptions?: boolean | undefined;
|
|
2894
2716
|
readOnly?: boolean | undefined;
|
|
2895
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2896
|
-
* Whether to show tooltips on the graph.
|
|
2897
|
-
* (Currently not used, but will be in the future.)
|
|
2898
|
-
*/
|
|
2717
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2899
2718
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2900
2719
|
interactionCallback?: ((widgetData: {
|
|
2901
2720
|
[widgetId: string]: any;
|
|
@@ -2916,10 +2735,8 @@ declare const InteractiveGraph: {
|
|
|
2916
2735
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2917
2736
|
isMobile?: boolean | undefined;
|
|
2918
2737
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2919
|
-
useDraftEditor?: boolean | undefined;
|
|
2920
2738
|
hintProgressColor?: string | undefined;
|
|
2921
2739
|
canScrollPage?: boolean | undefined;
|
|
2922
|
-
inModal?: boolean | undefined;
|
|
2923
2740
|
crossOutEnabled?: boolean | undefined;
|
|
2924
2741
|
editorChangeDelay?: number | undefined;
|
|
2925
2742
|
flags?: {
|
|
@@ -2927,6 +2744,7 @@ declare const InteractiveGraph: {
|
|
|
2927
2744
|
circle?: boolean | undefined;
|
|
2928
2745
|
polygon?: boolean | undefined;
|
|
2929
2746
|
linear?: boolean | undefined;
|
|
2747
|
+
quadratic?: boolean | undefined;
|
|
2930
2748
|
"linear-system"?: boolean | undefined;
|
|
2931
2749
|
segment?: boolean | undefined;
|
|
2932
2750
|
ray?: boolean | undefined;
|
|
@@ -2944,7 +2762,6 @@ declare const InteractiveGraph: {
|
|
|
2944
2762
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2945
2763
|
editorChangeDelay: number;
|
|
2946
2764
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2947
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2948
2765
|
isArticle: NonNullable<boolean | undefined>;
|
|
2949
2766
|
isMobile: NonNullable<boolean | undefined>;
|
|
2950
2767
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2952,7 +2769,6 @@ declare const InteractiveGraph: {
|
|
|
2952
2769
|
readOnly: NonNullable<boolean | undefined>;
|
|
2953
2770
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2954
2771
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2955
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2956
2772
|
}>;
|
|
2957
2773
|
keypadElement?: any;
|
|
2958
2774
|
questionCompleted?: boolean | undefined;
|
|
@@ -2961,7 +2777,7 @@ declare const InteractiveGraph: {
|
|
|
2961
2777
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2962
2778
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2963
2779
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2964
|
-
trackInteraction: (extraData?:
|
|
2780
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2965
2781
|
isLastUsedWidget: boolean;
|
|
2966
2782
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2967
2783
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2985,10 +2801,7 @@ declare const InteractiveGraph: {
|
|
|
2985
2801
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2986
2802
|
showAlignmentOptions?: boolean | undefined;
|
|
2987
2803
|
readOnly?: boolean | undefined;
|
|
2988
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2989
|
-
* Whether to show tooltips on the graph.
|
|
2990
|
-
* (Currently not used, but will be in the future.)
|
|
2991
|
-
*/
|
|
2804
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2992
2805
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2993
2806
|
interactionCallback?: ((widgetData: {
|
|
2994
2807
|
[widgetId: string]: any;
|
|
@@ -3009,10 +2822,8 @@ declare const InteractiveGraph: {
|
|
|
3009
2822
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3010
2823
|
isMobile?: boolean | undefined;
|
|
3011
2824
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3012
|
-
useDraftEditor?: boolean | undefined;
|
|
3013
2825
|
hintProgressColor?: string | undefined;
|
|
3014
2826
|
canScrollPage?: boolean | undefined;
|
|
3015
|
-
inModal?: boolean | undefined;
|
|
3016
2827
|
crossOutEnabled?: boolean | undefined;
|
|
3017
2828
|
editorChangeDelay?: number | undefined;
|
|
3018
2829
|
flags?: {
|
|
@@ -3020,6 +2831,7 @@ declare const InteractiveGraph: {
|
|
|
3020
2831
|
circle?: boolean | undefined;
|
|
3021
2832
|
polygon?: boolean | undefined;
|
|
3022
2833
|
linear?: boolean | undefined;
|
|
2834
|
+
quadratic?: boolean | undefined;
|
|
3023
2835
|
"linear-system"?: boolean | undefined;
|
|
3024
2836
|
segment?: boolean | undefined;
|
|
3025
2837
|
ray?: boolean | undefined;
|
|
@@ -3037,7 +2849,6 @@ declare const InteractiveGraph: {
|
|
|
3037
2849
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3038
2850
|
editorChangeDelay: number;
|
|
3039
2851
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3040
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3041
2852
|
isArticle: NonNullable<boolean | undefined>;
|
|
3042
2853
|
isMobile: NonNullable<boolean | undefined>;
|
|
3043
2854
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3045,7 +2856,6 @@ declare const InteractiveGraph: {
|
|
|
3045
2856
|
readOnly: NonNullable<boolean | undefined>;
|
|
3046
2857
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3047
2858
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3048
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3049
2859
|
}>;
|
|
3050
2860
|
keypadElement?: any;
|
|
3051
2861
|
questionCompleted?: boolean | undefined;
|
|
@@ -3054,7 +2864,7 @@ declare const InteractiveGraph: {
|
|
|
3054
2864
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3055
2865
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3056
2866
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3057
|
-
trackInteraction: (extraData?:
|
|
2867
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3058
2868
|
isLastUsedWidget: boolean;
|
|
3059
2869
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3060
2870
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3073,10 +2883,7 @@ declare const InteractiveGraph: {
|
|
|
3073
2883
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3074
2884
|
showAlignmentOptions?: boolean | undefined;
|
|
3075
2885
|
readOnly?: boolean | undefined;
|
|
3076
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3077
|
-
* Whether to show tooltips on the graph.
|
|
3078
|
-
* (Currently not used, but will be in the future.)
|
|
3079
|
-
*/
|
|
2886
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3080
2887
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3081
2888
|
interactionCallback?: ((widgetData: {
|
|
3082
2889
|
[widgetId: string]: any;
|
|
@@ -3097,10 +2904,8 @@ declare const InteractiveGraph: {
|
|
|
3097
2904
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3098
2905
|
isMobile?: boolean | undefined;
|
|
3099
2906
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3100
|
-
useDraftEditor?: boolean | undefined;
|
|
3101
2907
|
hintProgressColor?: string | undefined;
|
|
3102
2908
|
canScrollPage?: boolean | undefined;
|
|
3103
|
-
inModal?: boolean | undefined;
|
|
3104
2909
|
crossOutEnabled?: boolean | undefined;
|
|
3105
2910
|
editorChangeDelay?: number | undefined;
|
|
3106
2911
|
flags?: {
|
|
@@ -3108,6 +2913,7 @@ declare const InteractiveGraph: {
|
|
|
3108
2913
|
circle?: boolean | undefined;
|
|
3109
2914
|
polygon?: boolean | undefined;
|
|
3110
2915
|
linear?: boolean | undefined;
|
|
2916
|
+
quadratic?: boolean | undefined;
|
|
3111
2917
|
"linear-system"?: boolean | undefined;
|
|
3112
2918
|
segment?: boolean | undefined;
|
|
3113
2919
|
ray?: boolean | undefined;
|
|
@@ -3125,7 +2931,6 @@ declare const InteractiveGraph: {
|
|
|
3125
2931
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3126
2932
|
editorChangeDelay: number;
|
|
3127
2933
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3128
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3129
2934
|
isArticle: NonNullable<boolean | undefined>;
|
|
3130
2935
|
isMobile: NonNullable<boolean | undefined>;
|
|
3131
2936
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3133,7 +2938,6 @@ declare const InteractiveGraph: {
|
|
|
3133
2938
|
readOnly: NonNullable<boolean | undefined>;
|
|
3134
2939
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3135
2940
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3136
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3137
2941
|
}>;
|
|
3138
2942
|
keypadElement?: any;
|
|
3139
2943
|
questionCompleted?: boolean | undefined;
|
|
@@ -3142,7 +2946,7 @@ declare const InteractiveGraph: {
|
|
|
3142
2946
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3143
2947
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3144
2948
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3145
|
-
trackInteraction: (extraData?:
|
|
2949
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3146
2950
|
isLastUsedWidget: boolean;
|
|
3147
2951
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3148
2952
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3159,10 +2963,7 @@ declare const InteractiveGraph: {
|
|
|
3159
2963
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3160
2964
|
showAlignmentOptions?: boolean | undefined;
|
|
3161
2965
|
readOnly?: boolean | undefined;
|
|
3162
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3163
|
-
* Whether to show tooltips on the graph.
|
|
3164
|
-
* (Currently not used, but will be in the future.)
|
|
3165
|
-
*/
|
|
2966
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3166
2967
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3167
2968
|
interactionCallback?: ((widgetData: {
|
|
3168
2969
|
[widgetId: string]: any;
|
|
@@ -3183,10 +2984,8 @@ declare const InteractiveGraph: {
|
|
|
3183
2984
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3184
2985
|
isMobile?: boolean | undefined;
|
|
3185
2986
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3186
|
-
useDraftEditor?: boolean | undefined;
|
|
3187
2987
|
hintProgressColor?: string | undefined;
|
|
3188
2988
|
canScrollPage?: boolean | undefined;
|
|
3189
|
-
inModal?: boolean | undefined;
|
|
3190
2989
|
crossOutEnabled?: boolean | undefined;
|
|
3191
2990
|
editorChangeDelay?: number | undefined;
|
|
3192
2991
|
flags?: {
|
|
@@ -3194,6 +2993,7 @@ declare const InteractiveGraph: {
|
|
|
3194
2993
|
circle?: boolean | undefined;
|
|
3195
2994
|
polygon?: boolean | undefined;
|
|
3196
2995
|
linear?: boolean | undefined;
|
|
2996
|
+
quadratic?: boolean | undefined;
|
|
3197
2997
|
"linear-system"?: boolean | undefined;
|
|
3198
2998
|
segment?: boolean | undefined;
|
|
3199
2999
|
ray?: boolean | undefined;
|
|
@@ -3211,7 +3011,6 @@ declare const InteractiveGraph: {
|
|
|
3211
3011
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3212
3012
|
editorChangeDelay: number;
|
|
3213
3013
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3214
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3215
3014
|
isArticle: NonNullable<boolean | undefined>;
|
|
3216
3015
|
isMobile: NonNullable<boolean | undefined>;
|
|
3217
3016
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3219,7 +3018,6 @@ declare const InteractiveGraph: {
|
|
|
3219
3018
|
readOnly: NonNullable<boolean | undefined>;
|
|
3220
3019
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3221
3020
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3222
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3223
3021
|
}>;
|
|
3224
3022
|
keypadElement?: any;
|
|
3225
3023
|
questionCompleted?: boolean | undefined;
|
|
@@ -3228,7 +3026,7 @@ declare const InteractiveGraph: {
|
|
|
3228
3026
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3229
3027
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3230
3028
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3231
|
-
trackInteraction: (extraData?:
|
|
3029
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3232
3030
|
isLastUsedWidget: boolean;
|
|
3233
3031
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3234
3032
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3247,10 +3045,7 @@ declare const InteractiveGraph: {
|
|
|
3247
3045
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3248
3046
|
showAlignmentOptions?: boolean | undefined;
|
|
3249
3047
|
readOnly?: boolean | undefined;
|
|
3250
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3251
|
-
* Whether to show tooltips on the graph.
|
|
3252
|
-
* (Currently not used, but will be in the future.)
|
|
3253
|
-
*/
|
|
3048
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3254
3049
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3255
3050
|
interactionCallback?: ((widgetData: {
|
|
3256
3051
|
[widgetId: string]: any;
|
|
@@ -3271,10 +3066,8 @@ declare const InteractiveGraph: {
|
|
|
3271
3066
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3272
3067
|
isMobile?: boolean | undefined;
|
|
3273
3068
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3274
|
-
useDraftEditor?: boolean | undefined;
|
|
3275
3069
|
hintProgressColor?: string | undefined;
|
|
3276
3070
|
canScrollPage?: boolean | undefined;
|
|
3277
|
-
inModal?: boolean | undefined;
|
|
3278
3071
|
crossOutEnabled?: boolean | undefined;
|
|
3279
3072
|
editorChangeDelay?: number | undefined;
|
|
3280
3073
|
flags?: {
|
|
@@ -3282,6 +3075,7 @@ declare const InteractiveGraph: {
|
|
|
3282
3075
|
circle?: boolean | undefined;
|
|
3283
3076
|
polygon?: boolean | undefined;
|
|
3284
3077
|
linear?: boolean | undefined;
|
|
3078
|
+
quadratic?: boolean | undefined;
|
|
3285
3079
|
"linear-system"?: boolean | undefined;
|
|
3286
3080
|
segment?: boolean | undefined;
|
|
3287
3081
|
ray?: boolean | undefined;
|
|
@@ -3299,7 +3093,6 @@ declare const InteractiveGraph: {
|
|
|
3299
3093
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3300
3094
|
editorChangeDelay: number;
|
|
3301
3095
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3302
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3303
3096
|
isArticle: NonNullable<boolean | undefined>;
|
|
3304
3097
|
isMobile: NonNullable<boolean | undefined>;
|
|
3305
3098
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3307,7 +3100,6 @@ declare const InteractiveGraph: {
|
|
|
3307
3100
|
readOnly: NonNullable<boolean | undefined>;
|
|
3308
3101
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3309
3102
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3310
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3311
3103
|
}>;
|
|
3312
3104
|
keypadElement?: any;
|
|
3313
3105
|
questionCompleted?: boolean | undefined;
|
|
@@ -3316,7 +3108,7 @@ declare const InteractiveGraph: {
|
|
|
3316
3108
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3317
3109
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3318
3110
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3319
|
-
trackInteraction: (extraData?:
|
|
3111
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3320
3112
|
isLastUsedWidget: boolean;
|
|
3321
3113
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3322
3114
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3333,10 +3125,7 @@ declare const InteractiveGraph: {
|
|
|
3333
3125
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3334
3126
|
showAlignmentOptions?: boolean | undefined;
|
|
3335
3127
|
readOnly?: boolean | undefined;
|
|
3336
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3337
|
-
* Whether to show tooltips on the graph.
|
|
3338
|
-
* (Currently not used, but will be in the future.)
|
|
3339
|
-
*/
|
|
3128
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3340
3129
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3341
3130
|
interactionCallback?: ((widgetData: {
|
|
3342
3131
|
[widgetId: string]: any;
|
|
@@ -3357,10 +3146,8 @@ declare const InteractiveGraph: {
|
|
|
3357
3146
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3358
3147
|
isMobile?: boolean | undefined;
|
|
3359
3148
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3360
|
-
useDraftEditor?: boolean | undefined;
|
|
3361
3149
|
hintProgressColor?: string | undefined;
|
|
3362
3150
|
canScrollPage?: boolean | undefined;
|
|
3363
|
-
inModal?: boolean | undefined;
|
|
3364
3151
|
crossOutEnabled?: boolean | undefined;
|
|
3365
3152
|
editorChangeDelay?: number | undefined;
|
|
3366
3153
|
flags?: {
|
|
@@ -3368,6 +3155,7 @@ declare const InteractiveGraph: {
|
|
|
3368
3155
|
circle?: boolean | undefined;
|
|
3369
3156
|
polygon?: boolean | undefined;
|
|
3370
3157
|
linear?: boolean | undefined;
|
|
3158
|
+
quadratic?: boolean | undefined;
|
|
3371
3159
|
"linear-system"?: boolean | undefined;
|
|
3372
3160
|
segment?: boolean | undefined;
|
|
3373
3161
|
ray?: boolean | undefined;
|
|
@@ -3385,7 +3173,6 @@ declare const InteractiveGraph: {
|
|
|
3385
3173
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3386
3174
|
editorChangeDelay: number;
|
|
3387
3175
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3388
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3389
3176
|
isArticle: NonNullable<boolean | undefined>;
|
|
3390
3177
|
isMobile: NonNullable<boolean | undefined>;
|
|
3391
3178
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3393,7 +3180,6 @@ declare const InteractiveGraph: {
|
|
|
3393
3180
|
readOnly: NonNullable<boolean | undefined>;
|
|
3394
3181
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3395
3182
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3396
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3397
3183
|
}>;
|
|
3398
3184
|
keypadElement?: any;
|
|
3399
3185
|
questionCompleted?: boolean | undefined;
|
|
@@ -3402,7 +3188,7 @@ declare const InteractiveGraph: {
|
|
|
3402
3188
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3403
3189
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3404
3190
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3405
|
-
trackInteraction: (extraData?:
|
|
3191
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3406
3192
|
isLastUsedWidget: boolean;
|
|
3407
3193
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3408
3194
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3419,10 +3205,7 @@ declare const InteractiveGraph: {
|
|
|
3419
3205
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3420
3206
|
showAlignmentOptions?: boolean | undefined;
|
|
3421
3207
|
readOnly?: boolean | undefined;
|
|
3422
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3423
|
-
* Whether to show tooltips on the graph.
|
|
3424
|
-
* (Currently not used, but will be in the future.)
|
|
3425
|
-
*/
|
|
3208
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3426
3209
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3427
3210
|
interactionCallback?: ((widgetData: {
|
|
3428
3211
|
[widgetId: string]: any;
|
|
@@ -3443,10 +3226,8 @@ declare const InteractiveGraph: {
|
|
|
3443
3226
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3444
3227
|
isMobile?: boolean | undefined;
|
|
3445
3228
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3446
|
-
useDraftEditor?: boolean | undefined;
|
|
3447
3229
|
hintProgressColor?: string | undefined;
|
|
3448
3230
|
canScrollPage?: boolean | undefined;
|
|
3449
|
-
inModal?: boolean | undefined;
|
|
3450
3231
|
crossOutEnabled?: boolean | undefined;
|
|
3451
3232
|
editorChangeDelay?: number | undefined;
|
|
3452
3233
|
flags?: {
|
|
@@ -3454,6 +3235,7 @@ declare const InteractiveGraph: {
|
|
|
3454
3235
|
circle?: boolean | undefined;
|
|
3455
3236
|
polygon?: boolean | undefined;
|
|
3456
3237
|
linear?: boolean | undefined;
|
|
3238
|
+
quadratic?: boolean | undefined;
|
|
3457
3239
|
"linear-system"?: boolean | undefined;
|
|
3458
3240
|
segment?: boolean | undefined;
|
|
3459
3241
|
ray?: boolean | undefined;
|
|
@@ -3471,7 +3253,6 @@ declare const InteractiveGraph: {
|
|
|
3471
3253
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3472
3254
|
editorChangeDelay: number;
|
|
3473
3255
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3474
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3475
3256
|
isArticle: NonNullable<boolean | undefined>;
|
|
3476
3257
|
isMobile: NonNullable<boolean | undefined>;
|
|
3477
3258
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3479,7 +3260,6 @@ declare const InteractiveGraph: {
|
|
|
3479
3260
|
readOnly: NonNullable<boolean | undefined>;
|
|
3480
3261
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3481
3262
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3482
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3483
3263
|
}>;
|
|
3484
3264
|
keypadElement?: any;
|
|
3485
3265
|
questionCompleted?: boolean | undefined;
|
|
@@ -3488,7 +3268,7 @@ declare const InteractiveGraph: {
|
|
|
3488
3268
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3489
3269
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3490
3270
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3491
|
-
trackInteraction: (extraData?:
|
|
3271
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3492
3272
|
isLastUsedWidget: boolean;
|
|
3493
3273
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3494
3274
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3505,10 +3285,7 @@ declare const InteractiveGraph: {
|
|
|
3505
3285
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3506
3286
|
showAlignmentOptions?: boolean | undefined;
|
|
3507
3287
|
readOnly?: boolean | undefined;
|
|
3508
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3509
|
-
* Whether to show tooltips on the graph.
|
|
3510
|
-
* (Currently not used, but will be in the future.)
|
|
3511
|
-
*/
|
|
3288
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3512
3289
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3513
3290
|
interactionCallback?: ((widgetData: {
|
|
3514
3291
|
[widgetId: string]: any;
|
|
@@ -3529,10 +3306,8 @@ declare const InteractiveGraph: {
|
|
|
3529
3306
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3530
3307
|
isMobile?: boolean | undefined;
|
|
3531
3308
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3532
|
-
useDraftEditor?: boolean | undefined;
|
|
3533
3309
|
hintProgressColor?: string | undefined;
|
|
3534
3310
|
canScrollPage?: boolean | undefined;
|
|
3535
|
-
inModal?: boolean | undefined;
|
|
3536
3311
|
crossOutEnabled?: boolean | undefined;
|
|
3537
3312
|
editorChangeDelay?: number | undefined;
|
|
3538
3313
|
flags?: {
|
|
@@ -3540,6 +3315,7 @@ declare const InteractiveGraph: {
|
|
|
3540
3315
|
circle?: boolean | undefined;
|
|
3541
3316
|
polygon?: boolean | undefined;
|
|
3542
3317
|
linear?: boolean | undefined;
|
|
3318
|
+
quadratic?: boolean | undefined;
|
|
3543
3319
|
"linear-system"?: boolean | undefined;
|
|
3544
3320
|
segment?: boolean | undefined;
|
|
3545
3321
|
ray?: boolean | undefined;
|
|
@@ -3557,7 +3333,6 @@ declare const InteractiveGraph: {
|
|
|
3557
3333
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3558
3334
|
editorChangeDelay: number;
|
|
3559
3335
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3560
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3561
3336
|
isArticle: NonNullable<boolean | undefined>;
|
|
3562
3337
|
isMobile: NonNullable<boolean | undefined>;
|
|
3563
3338
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3565,7 +3340,6 @@ declare const InteractiveGraph: {
|
|
|
3565
3340
|
readOnly: NonNullable<boolean | undefined>;
|
|
3566
3341
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3567
3342
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3568
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3569
3343
|
}>;
|
|
3570
3344
|
keypadElement?: any;
|
|
3571
3345
|
questionCompleted?: boolean | undefined;
|
|
@@ -3574,7 +3348,7 @@ declare const InteractiveGraph: {
|
|
|
3574
3348
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3575
3349
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3576
3350
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3577
|
-
trackInteraction: (extraData?:
|
|
3351
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3578
3352
|
isLastUsedWidget: boolean;
|
|
3579
3353
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3580
3354
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3594,6 +3368,12 @@ declare const InteractiveGraph: {
|
|
|
3594
3368
|
graph: import("@khanacademy/perseus").PerseusGraphType;
|
|
3595
3369
|
};
|
|
3596
3370
|
getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").QuadraticCoefficient;
|
|
3371
|
+
/**
|
|
3372
|
+
* An editor for the InteractiveGraph widget, which allows the user to
|
|
3373
|
+
* specify the graph's properties and the correct answer.
|
|
3374
|
+
*
|
|
3375
|
+
* Used in the exercise editor.
|
|
3376
|
+
*/
|
|
3597
3377
|
getSinusoidCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").SineCoefficient;
|
|
3598
3378
|
getLineCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3599
3379
|
widgetId: string;
|
|
@@ -3607,10 +3387,7 @@ declare const InteractiveGraph: {
|
|
|
3607
3387
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3608
3388
|
showAlignmentOptions?: boolean | undefined;
|
|
3609
3389
|
readOnly?: boolean | undefined;
|
|
3610
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3611
|
-
* Whether to show tooltips on the graph.
|
|
3612
|
-
* (Currently not used, but will be in the future.)
|
|
3613
|
-
*/
|
|
3390
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3614
3391
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3615
3392
|
interactionCallback?: ((widgetData: {
|
|
3616
3393
|
[widgetId: string]: any;
|
|
@@ -3631,10 +3408,8 @@ declare const InteractiveGraph: {
|
|
|
3631
3408
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3632
3409
|
isMobile?: boolean | undefined;
|
|
3633
3410
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3634
|
-
useDraftEditor?: boolean | undefined;
|
|
3635
3411
|
hintProgressColor?: string | undefined;
|
|
3636
3412
|
canScrollPage?: boolean | undefined;
|
|
3637
|
-
inModal?: boolean | undefined;
|
|
3638
3413
|
crossOutEnabled?: boolean | undefined;
|
|
3639
3414
|
editorChangeDelay?: number | undefined;
|
|
3640
3415
|
flags?: {
|
|
@@ -3642,6 +3417,7 @@ declare const InteractiveGraph: {
|
|
|
3642
3417
|
circle?: boolean | undefined;
|
|
3643
3418
|
polygon?: boolean | undefined;
|
|
3644
3419
|
linear?: boolean | undefined;
|
|
3420
|
+
quadratic?: boolean | undefined;
|
|
3645
3421
|
"linear-system"?: boolean | undefined;
|
|
3646
3422
|
segment?: boolean | undefined;
|
|
3647
3423
|
ray?: boolean | undefined;
|
|
@@ -3659,7 +3435,6 @@ declare const InteractiveGraph: {
|
|
|
3659
3435
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3660
3436
|
editorChangeDelay: number;
|
|
3661
3437
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3662
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3663
3438
|
isArticle: NonNullable<boolean | undefined>;
|
|
3664
3439
|
isMobile: NonNullable<boolean | undefined>;
|
|
3665
3440
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3667,7 +3442,6 @@ declare const InteractiveGraph: {
|
|
|
3667
3442
|
readOnly: NonNullable<boolean | undefined>;
|
|
3668
3443
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3669
3444
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3670
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3671
3445
|
}>;
|
|
3672
3446
|
keypadElement?: any;
|
|
3673
3447
|
questionCompleted?: boolean | undefined;
|
|
@@ -3676,7 +3450,7 @@ declare const InteractiveGraph: {
|
|
|
3676
3450
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3677
3451
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3678
3452
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3679
|
-
trackInteraction: (extraData?:
|
|
3453
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3680
3454
|
isLastUsedWidget: boolean;
|
|
3681
3455
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3682
3456
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3693,10 +3467,7 @@ declare const InteractiveGraph: {
|
|
|
3693
3467
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3694
3468
|
showAlignmentOptions?: boolean | undefined;
|
|
3695
3469
|
readOnly?: boolean | undefined;
|
|
3696
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3697
|
-
* Whether to show tooltips on the graph.
|
|
3698
|
-
* (Currently not used, but will be in the future.)
|
|
3699
|
-
*/
|
|
3470
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3700
3471
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3701
3472
|
interactionCallback?: ((widgetData: {
|
|
3702
3473
|
[widgetId: string]: any;
|
|
@@ -3717,10 +3488,8 @@ declare const InteractiveGraph: {
|
|
|
3717
3488
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3718
3489
|
isMobile?: boolean | undefined;
|
|
3719
3490
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3720
|
-
useDraftEditor?: boolean | undefined;
|
|
3721
3491
|
hintProgressColor?: string | undefined;
|
|
3722
3492
|
canScrollPage?: boolean | undefined;
|
|
3723
|
-
inModal?: boolean | undefined;
|
|
3724
3493
|
crossOutEnabled?: boolean | undefined;
|
|
3725
3494
|
editorChangeDelay?: number | undefined;
|
|
3726
3495
|
flags?: {
|
|
@@ -3728,6 +3497,7 @@ declare const InteractiveGraph: {
|
|
|
3728
3497
|
circle?: boolean | undefined;
|
|
3729
3498
|
polygon?: boolean | undefined;
|
|
3730
3499
|
linear?: boolean | undefined;
|
|
3500
|
+
quadratic?: boolean | undefined;
|
|
3731
3501
|
"linear-system"?: boolean | undefined;
|
|
3732
3502
|
segment?: boolean | undefined;
|
|
3733
3503
|
ray?: boolean | undefined;
|
|
@@ -3745,7 +3515,6 @@ declare const InteractiveGraph: {
|
|
|
3745
3515
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3746
3516
|
editorChangeDelay: number;
|
|
3747
3517
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3748
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3749
3518
|
isArticle: NonNullable<boolean | undefined>;
|
|
3750
3519
|
isMobile: NonNullable<boolean | undefined>;
|
|
3751
3520
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3753,7 +3522,6 @@ declare const InteractiveGraph: {
|
|
|
3753
3522
|
readOnly: NonNullable<boolean | undefined>;
|
|
3754
3523
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3755
3524
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3756
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3757
3525
|
}>;
|
|
3758
3526
|
keypadElement?: any;
|
|
3759
3527
|
questionCompleted?: boolean | undefined;
|
|
@@ -3762,7 +3530,7 @@ declare const InteractiveGraph: {
|
|
|
3762
3530
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3763
3531
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3764
3532
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3765
|
-
trackInteraction: (extraData?:
|
|
3533
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3766
3534
|
isLastUsedWidget: boolean;
|
|
3767
3535
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3768
3536
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3779,10 +3547,7 @@ declare const InteractiveGraph: {
|
|
|
3779
3547
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3780
3548
|
showAlignmentOptions?: boolean | undefined;
|
|
3781
3549
|
readOnly?: boolean | undefined;
|
|
3782
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3783
|
-
* Whether to show tooltips on the graph.
|
|
3784
|
-
* (Currently not used, but will be in the future.)
|
|
3785
|
-
*/
|
|
3550
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3786
3551
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3787
3552
|
interactionCallback?: ((widgetData: {
|
|
3788
3553
|
[widgetId: string]: any;
|
|
@@ -3803,10 +3568,8 @@ declare const InteractiveGraph: {
|
|
|
3803
3568
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3804
3569
|
isMobile?: boolean | undefined;
|
|
3805
3570
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3806
|
-
useDraftEditor?: boolean | undefined;
|
|
3807
3571
|
hintProgressColor?: string | undefined;
|
|
3808
3572
|
canScrollPage?: boolean | undefined;
|
|
3809
|
-
inModal?: boolean | undefined;
|
|
3810
3573
|
crossOutEnabled?: boolean | undefined;
|
|
3811
3574
|
editorChangeDelay?: number | undefined;
|
|
3812
3575
|
flags?: {
|
|
@@ -3814,6 +3577,7 @@ declare const InteractiveGraph: {
|
|
|
3814
3577
|
circle?: boolean | undefined;
|
|
3815
3578
|
polygon?: boolean | undefined;
|
|
3816
3579
|
linear?: boolean | undefined;
|
|
3580
|
+
quadratic?: boolean | undefined;
|
|
3817
3581
|
"linear-system"?: boolean | undefined;
|
|
3818
3582
|
segment?: boolean | undefined;
|
|
3819
3583
|
ray?: boolean | undefined;
|
|
@@ -3831,7 +3595,6 @@ declare const InteractiveGraph: {
|
|
|
3831
3595
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3832
3596
|
editorChangeDelay: number;
|
|
3833
3597
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3834
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3835
3598
|
isArticle: NonNullable<boolean | undefined>;
|
|
3836
3599
|
isMobile: NonNullable<boolean | undefined>;
|
|
3837
3600
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3839,7 +3602,6 @@ declare const InteractiveGraph: {
|
|
|
3839
3602
|
readOnly: NonNullable<boolean | undefined>;
|
|
3840
3603
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3841
3604
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3842
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3843
3605
|
}>;
|
|
3844
3606
|
keypadElement?: any;
|
|
3845
3607
|
questionCompleted?: boolean | undefined;
|
|
@@ -3848,7 +3610,7 @@ declare const InteractiveGraph: {
|
|
|
3848
3610
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3849
3611
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3850
3612
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3851
|
-
trackInteraction: (extraData?:
|
|
3613
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3852
3614
|
isLastUsedWidget: boolean;
|
|
3853
3615
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3854
3616
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3865,10 +3627,7 @@ declare const InteractiveGraph: {
|
|
|
3865
3627
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3866
3628
|
showAlignmentOptions?: boolean | undefined;
|
|
3867
3629
|
readOnly?: boolean | undefined;
|
|
3868
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3869
|
-
* Whether to show tooltips on the graph.
|
|
3870
|
-
* (Currently not used, but will be in the future.)
|
|
3871
|
-
*/
|
|
3630
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3872
3631
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3873
3632
|
interactionCallback?: ((widgetData: {
|
|
3874
3633
|
[widgetId: string]: any;
|
|
@@ -3889,10 +3648,8 @@ declare const InteractiveGraph: {
|
|
|
3889
3648
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3890
3649
|
isMobile?: boolean | undefined;
|
|
3891
3650
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3892
|
-
useDraftEditor?: boolean | undefined;
|
|
3893
3651
|
hintProgressColor?: string | undefined;
|
|
3894
3652
|
canScrollPage?: boolean | undefined;
|
|
3895
|
-
inModal?: boolean | undefined;
|
|
3896
3653
|
crossOutEnabled?: boolean | undefined;
|
|
3897
3654
|
editorChangeDelay?: number | undefined;
|
|
3898
3655
|
flags?: {
|
|
@@ -3900,6 +3657,7 @@ declare const InteractiveGraph: {
|
|
|
3900
3657
|
circle?: boolean | undefined;
|
|
3901
3658
|
polygon?: boolean | undefined;
|
|
3902
3659
|
linear?: boolean | undefined;
|
|
3660
|
+
quadratic?: boolean | undefined;
|
|
3903
3661
|
"linear-system"?: boolean | undefined;
|
|
3904
3662
|
segment?: boolean | undefined;
|
|
3905
3663
|
ray?: boolean | undefined;
|
|
@@ -3917,7 +3675,6 @@ declare const InteractiveGraph: {
|
|
|
3917
3675
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3918
3676
|
editorChangeDelay: number;
|
|
3919
3677
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3920
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3921
3678
|
isArticle: NonNullable<boolean | undefined>;
|
|
3922
3679
|
isMobile: NonNullable<boolean | undefined>;
|
|
3923
3680
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3925,7 +3682,6 @@ declare const InteractiveGraph: {
|
|
|
3925
3682
|
readOnly: NonNullable<boolean | undefined>;
|
|
3926
3683
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3927
3684
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3928
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3929
3685
|
}>;
|
|
3930
3686
|
keypadElement?: any;
|
|
3931
3687
|
questionCompleted?: boolean | undefined;
|
|
@@ -3934,7 +3690,7 @@ declare const InteractiveGraph: {
|
|
|
3934
3690
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3935
3691
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3936
3692
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3937
|
-
trackInteraction: (extraData?:
|
|
3693
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3938
3694
|
isLastUsedWidget: boolean;
|
|
3939
3695
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3940
3696
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3951,10 +3707,7 @@ declare const InteractiveGraph: {
|
|
|
3951
3707
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3952
3708
|
showAlignmentOptions?: boolean | undefined;
|
|
3953
3709
|
readOnly?: boolean | undefined;
|
|
3954
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3955
|
-
* Whether to show tooltips on the graph.
|
|
3956
|
-
* (Currently not used, but will be in the future.)
|
|
3957
|
-
*/
|
|
3710
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3958
3711
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3959
3712
|
interactionCallback?: ((widgetData: {
|
|
3960
3713
|
[widgetId: string]: any;
|
|
@@ -3975,10 +3728,8 @@ declare const InteractiveGraph: {
|
|
|
3975
3728
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3976
3729
|
isMobile?: boolean | undefined;
|
|
3977
3730
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3978
|
-
useDraftEditor?: boolean | undefined;
|
|
3979
3731
|
hintProgressColor?: string | undefined;
|
|
3980
3732
|
canScrollPage?: boolean | undefined;
|
|
3981
|
-
inModal?: boolean | undefined;
|
|
3982
3733
|
crossOutEnabled?: boolean | undefined;
|
|
3983
3734
|
editorChangeDelay?: number | undefined;
|
|
3984
3735
|
flags?: {
|
|
@@ -3986,6 +3737,7 @@ declare const InteractiveGraph: {
|
|
|
3986
3737
|
circle?: boolean | undefined;
|
|
3987
3738
|
polygon?: boolean | undefined;
|
|
3988
3739
|
linear?: boolean | undefined;
|
|
3740
|
+
quadratic?: boolean | undefined;
|
|
3989
3741
|
"linear-system"?: boolean | undefined;
|
|
3990
3742
|
segment?: boolean | undefined;
|
|
3991
3743
|
ray?: boolean | undefined;
|
|
@@ -4003,7 +3755,6 @@ declare const InteractiveGraph: {
|
|
|
4003
3755
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4004
3756
|
editorChangeDelay: number;
|
|
4005
3757
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4006
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4007
3758
|
isArticle: NonNullable<boolean | undefined>;
|
|
4008
3759
|
isMobile: NonNullable<boolean | undefined>;
|
|
4009
3760
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4011,7 +3762,6 @@ declare const InteractiveGraph: {
|
|
|
4011
3762
|
readOnly: NonNullable<boolean | undefined>;
|
|
4012
3763
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4013
3764
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4014
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4015
3765
|
}>;
|
|
4016
3766
|
keypadElement?: any;
|
|
4017
3767
|
questionCompleted?: boolean | undefined;
|
|
@@ -4020,7 +3770,7 @@ declare const InteractiveGraph: {
|
|
|
4020
3770
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4021
3771
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4022
3772
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4023
|
-
trackInteraction: (extraData?:
|
|
3773
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4024
3774
|
isLastUsedWidget: boolean;
|
|
4025
3775
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4026
3776
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4037,10 +3787,7 @@ declare const InteractiveGraph: {
|
|
|
4037
3787
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4038
3788
|
showAlignmentOptions?: boolean | undefined;
|
|
4039
3789
|
readOnly?: boolean | undefined;
|
|
4040
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4041
|
-
* Whether to show tooltips on the graph.
|
|
4042
|
-
* (Currently not used, but will be in the future.)
|
|
4043
|
-
*/
|
|
3790
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4044
3791
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4045
3792
|
interactionCallback?: ((widgetData: {
|
|
4046
3793
|
[widgetId: string]: any;
|
|
@@ -4061,10 +3808,8 @@ declare const InteractiveGraph: {
|
|
|
4061
3808
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4062
3809
|
isMobile?: boolean | undefined;
|
|
4063
3810
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4064
|
-
useDraftEditor?: boolean | undefined;
|
|
4065
3811
|
hintProgressColor?: string | undefined;
|
|
4066
3812
|
canScrollPage?: boolean | undefined;
|
|
4067
|
-
inModal?: boolean | undefined;
|
|
4068
3813
|
crossOutEnabled?: boolean | undefined;
|
|
4069
3814
|
editorChangeDelay?: number | undefined;
|
|
4070
3815
|
flags?: {
|
|
@@ -4072,6 +3817,7 @@ declare const InteractiveGraph: {
|
|
|
4072
3817
|
circle?: boolean | undefined;
|
|
4073
3818
|
polygon?: boolean | undefined;
|
|
4074
3819
|
linear?: boolean | undefined;
|
|
3820
|
+
quadratic?: boolean | undefined;
|
|
4075
3821
|
"linear-system"?: boolean | undefined;
|
|
4076
3822
|
segment?: boolean | undefined;
|
|
4077
3823
|
ray?: boolean | undefined;
|
|
@@ -4089,7 +3835,6 @@ declare const InteractiveGraph: {
|
|
|
4089
3835
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4090
3836
|
editorChangeDelay: number;
|
|
4091
3837
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4092
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4093
3838
|
isArticle: NonNullable<boolean | undefined>;
|
|
4094
3839
|
isMobile: NonNullable<boolean | undefined>;
|
|
4095
3840
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4097,7 +3842,6 @@ declare const InteractiveGraph: {
|
|
|
4097
3842
|
readOnly: NonNullable<boolean | undefined>;
|
|
4098
3843
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4099
3844
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4100
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4101
3845
|
}>;
|
|
4102
3846
|
keypadElement?: any;
|
|
4103
3847
|
questionCompleted?: boolean | undefined;
|
|
@@ -4106,7 +3850,7 @@ declare const InteractiveGraph: {
|
|
|
4106
3850
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4107
3851
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4108
3852
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4109
|
-
trackInteraction: (extraData?:
|
|
3853
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4110
3854
|
isLastUsedWidget: boolean;
|
|
4111
3855
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4112
3856
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4124,10 +3868,7 @@ declare const InteractiveGraph: {
|
|
|
4124
3868
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4125
3869
|
showAlignmentOptions?: boolean | undefined;
|
|
4126
3870
|
readOnly?: boolean | undefined;
|
|
4127
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4128
|
-
* Whether to show tooltips on the graph.
|
|
4129
|
-
* (Currently not used, but will be in the future.)
|
|
4130
|
-
*/
|
|
3871
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4131
3872
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4132
3873
|
interactionCallback?: ((widgetData: {
|
|
4133
3874
|
[widgetId: string]: any;
|
|
@@ -4148,10 +3889,8 @@ declare const InteractiveGraph: {
|
|
|
4148
3889
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4149
3890
|
isMobile?: boolean | undefined;
|
|
4150
3891
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4151
|
-
useDraftEditor?: boolean | undefined;
|
|
4152
3892
|
hintProgressColor?: string | undefined;
|
|
4153
3893
|
canScrollPage?: boolean | undefined;
|
|
4154
|
-
inModal?: boolean | undefined;
|
|
4155
3894
|
crossOutEnabled?: boolean | undefined;
|
|
4156
3895
|
editorChangeDelay?: number | undefined;
|
|
4157
3896
|
flags?: {
|
|
@@ -4159,6 +3898,7 @@ declare const InteractiveGraph: {
|
|
|
4159
3898
|
circle?: boolean | undefined;
|
|
4160
3899
|
polygon?: boolean | undefined;
|
|
4161
3900
|
linear?: boolean | undefined;
|
|
3901
|
+
quadratic?: boolean | undefined;
|
|
4162
3902
|
"linear-system"?: boolean | undefined;
|
|
4163
3903
|
segment?: boolean | undefined;
|
|
4164
3904
|
ray?: boolean | undefined;
|
|
@@ -4176,7 +3916,6 @@ declare const InteractiveGraph: {
|
|
|
4176
3916
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4177
3917
|
editorChangeDelay: number;
|
|
4178
3918
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4179
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4180
3919
|
isArticle: NonNullable<boolean | undefined>;
|
|
4181
3920
|
isMobile: NonNullable<boolean | undefined>;
|
|
4182
3921
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4184,7 +3923,6 @@ declare const InteractiveGraph: {
|
|
|
4184
3923
|
readOnly: NonNullable<boolean | undefined>;
|
|
4185
3924
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4186
3925
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4187
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4188
3926
|
}>;
|
|
4189
3927
|
keypadElement?: any;
|
|
4190
3928
|
questionCompleted?: boolean | undefined;
|
|
@@ -4193,7 +3931,7 @@ declare const InteractiveGraph: {
|
|
|
4193
3931
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4194
3932
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4195
3933
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4196
|
-
trackInteraction: (extraData?:
|
|
3934
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4197
3935
|
isLastUsedWidget: boolean;
|
|
4198
3936
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4199
3937
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4210,10 +3948,7 @@ declare const InteractiveGraph: {
|
|
|
4210
3948
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4211
3949
|
showAlignmentOptions?: boolean | undefined;
|
|
4212
3950
|
readOnly?: boolean | undefined;
|
|
4213
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4214
|
-
* Whether to show tooltips on the graph.
|
|
4215
|
-
* (Currently not used, but will be in the future.)
|
|
4216
|
-
*/
|
|
3951
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4217
3952
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4218
3953
|
interactionCallback?: ((widgetData: {
|
|
4219
3954
|
[widgetId: string]: any;
|
|
@@ -4234,10 +3969,8 @@ declare const InteractiveGraph: {
|
|
|
4234
3969
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4235
3970
|
isMobile?: boolean | undefined;
|
|
4236
3971
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4237
|
-
useDraftEditor?: boolean | undefined;
|
|
4238
3972
|
hintProgressColor?: string | undefined;
|
|
4239
3973
|
canScrollPage?: boolean | undefined;
|
|
4240
|
-
inModal?: boolean | undefined;
|
|
4241
3974
|
crossOutEnabled?: boolean | undefined;
|
|
4242
3975
|
editorChangeDelay?: number | undefined;
|
|
4243
3976
|
flags?: {
|
|
@@ -4245,6 +3978,7 @@ declare const InteractiveGraph: {
|
|
|
4245
3978
|
circle?: boolean | undefined;
|
|
4246
3979
|
polygon?: boolean | undefined;
|
|
4247
3980
|
linear?: boolean | undefined;
|
|
3981
|
+
quadratic?: boolean | undefined;
|
|
4248
3982
|
"linear-system"?: boolean | undefined;
|
|
4249
3983
|
segment?: boolean | undefined;
|
|
4250
3984
|
ray?: boolean | undefined;
|
|
@@ -4262,7 +3996,6 @@ declare const InteractiveGraph: {
|
|
|
4262
3996
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4263
3997
|
editorChangeDelay: number;
|
|
4264
3998
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4265
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4266
3999
|
isArticle: NonNullable<boolean | undefined>;
|
|
4267
4000
|
isMobile: NonNullable<boolean | undefined>;
|
|
4268
4001
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4270,7 +4003,6 @@ declare const InteractiveGraph: {
|
|
|
4270
4003
|
readOnly: NonNullable<boolean | undefined>;
|
|
4271
4004
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4272
4005
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4273
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4274
4006
|
}>;
|
|
4275
4007
|
keypadElement?: any;
|
|
4276
4008
|
questionCompleted?: boolean | undefined;
|
|
@@ -4279,7 +4011,7 @@ declare const InteractiveGraph: {
|
|
|
4279
4011
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4280
4012
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4281
4013
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4282
|
-
trackInteraction: (extraData?:
|
|
4014
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4283
4015
|
isLastUsedWidget: boolean;
|
|
4284
4016
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4285
4017
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4296,10 +4028,7 @@ declare const InteractiveGraph: {
|
|
|
4296
4028
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4297
4029
|
showAlignmentOptions?: boolean | undefined;
|
|
4298
4030
|
readOnly?: boolean | undefined;
|
|
4299
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4300
|
-
* Whether to show tooltips on the graph.
|
|
4301
|
-
* (Currently not used, but will be in the future.)
|
|
4302
|
-
*/
|
|
4031
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4303
4032
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4304
4033
|
interactionCallback?: ((widgetData: {
|
|
4305
4034
|
[widgetId: string]: any;
|
|
@@ -4320,10 +4049,8 @@ declare const InteractiveGraph: {
|
|
|
4320
4049
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4321
4050
|
isMobile?: boolean | undefined;
|
|
4322
4051
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4323
|
-
useDraftEditor?: boolean | undefined;
|
|
4324
4052
|
hintProgressColor?: string | undefined;
|
|
4325
4053
|
canScrollPage?: boolean | undefined;
|
|
4326
|
-
inModal?: boolean | undefined;
|
|
4327
4054
|
crossOutEnabled?: boolean | undefined;
|
|
4328
4055
|
editorChangeDelay?: number | undefined;
|
|
4329
4056
|
flags?: {
|
|
@@ -4331,6 +4058,7 @@ declare const InteractiveGraph: {
|
|
|
4331
4058
|
circle?: boolean | undefined;
|
|
4332
4059
|
polygon?: boolean | undefined;
|
|
4333
4060
|
linear?: boolean | undefined;
|
|
4061
|
+
quadratic?: boolean | undefined;
|
|
4334
4062
|
"linear-system"?: boolean | undefined;
|
|
4335
4063
|
segment?: boolean | undefined;
|
|
4336
4064
|
ray?: boolean | undefined;
|
|
@@ -4348,7 +4076,6 @@ declare const InteractiveGraph: {
|
|
|
4348
4076
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4349
4077
|
editorChangeDelay: number;
|
|
4350
4078
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4351
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4352
4079
|
isArticle: NonNullable<boolean | undefined>;
|
|
4353
4080
|
isMobile: NonNullable<boolean | undefined>;
|
|
4354
4081
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4356,7 +4083,6 @@ declare const InteractiveGraph: {
|
|
|
4356
4083
|
readOnly: NonNullable<boolean | undefined>;
|
|
4357
4084
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4358
4085
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4359
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4360
4086
|
}>;
|
|
4361
4087
|
keypadElement?: any;
|
|
4362
4088
|
questionCompleted?: boolean | undefined;
|
|
@@ -4365,7 +4091,7 @@ declare const InteractiveGraph: {
|
|
|
4365
4091
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4366
4092
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4367
4093
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4368
|
-
trackInteraction: (extraData?:
|
|
4094
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4369
4095
|
isLastUsedWidget: boolean;
|
|
4370
4096
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4371
4097
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4382,10 +4108,7 @@ declare const InteractiveGraph: {
|
|
|
4382
4108
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4383
4109
|
showAlignmentOptions?: boolean | undefined;
|
|
4384
4110
|
readOnly?: boolean | undefined;
|
|
4385
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4386
|
-
* Whether to show tooltips on the graph.
|
|
4387
|
-
* (Currently not used, but will be in the future.)
|
|
4388
|
-
*/
|
|
4111
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4389
4112
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4390
4113
|
interactionCallback?: ((widgetData: {
|
|
4391
4114
|
[widgetId: string]: any;
|
|
@@ -4406,10 +4129,8 @@ declare const InteractiveGraph: {
|
|
|
4406
4129
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4407
4130
|
isMobile?: boolean | undefined;
|
|
4408
4131
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4409
|
-
useDraftEditor?: boolean | undefined;
|
|
4410
4132
|
hintProgressColor?: string | undefined;
|
|
4411
4133
|
canScrollPage?: boolean | undefined;
|
|
4412
|
-
inModal?: boolean | undefined;
|
|
4413
4134
|
crossOutEnabled?: boolean | undefined;
|
|
4414
4135
|
editorChangeDelay?: number | undefined;
|
|
4415
4136
|
flags?: {
|
|
@@ -4417,6 +4138,7 @@ declare const InteractiveGraph: {
|
|
|
4417
4138
|
circle?: boolean | undefined;
|
|
4418
4139
|
polygon?: boolean | undefined;
|
|
4419
4140
|
linear?: boolean | undefined;
|
|
4141
|
+
quadratic?: boolean | undefined;
|
|
4420
4142
|
"linear-system"?: boolean | undefined;
|
|
4421
4143
|
segment?: boolean | undefined;
|
|
4422
4144
|
ray?: boolean | undefined;
|
|
@@ -4434,7 +4156,6 @@ declare const InteractiveGraph: {
|
|
|
4434
4156
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4435
4157
|
editorChangeDelay: number;
|
|
4436
4158
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4437
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4438
4159
|
isArticle: NonNullable<boolean | undefined>;
|
|
4439
4160
|
isMobile: NonNullable<boolean | undefined>;
|
|
4440
4161
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4442,7 +4163,6 @@ declare const InteractiveGraph: {
|
|
|
4442
4163
|
readOnly: NonNullable<boolean | undefined>;
|
|
4443
4164
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4444
4165
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4445
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4446
4166
|
}>;
|
|
4447
4167
|
keypadElement?: any;
|
|
4448
4168
|
questionCompleted?: boolean | undefined;
|
|
@@ -4451,7 +4171,7 @@ declare const InteractiveGraph: {
|
|
|
4451
4171
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4452
4172
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4453
4173
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4454
|
-
trackInteraction: (extraData?:
|
|
4174
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4455
4175
|
isLastUsedWidget: boolean;
|
|
4456
4176
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4457
4177
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4468,10 +4188,7 @@ declare const InteractiveGraph: {
|
|
|
4468
4188
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4469
4189
|
showAlignmentOptions?: boolean | undefined;
|
|
4470
4190
|
readOnly?: boolean | undefined;
|
|
4471
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4472
|
-
* Whether to show tooltips on the graph.
|
|
4473
|
-
* (Currently not used, but will be in the future.)
|
|
4474
|
-
*/
|
|
4191
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4475
4192
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4476
4193
|
interactionCallback?: ((widgetData: {
|
|
4477
4194
|
[widgetId: string]: any;
|
|
@@ -4492,10 +4209,8 @@ declare const InteractiveGraph: {
|
|
|
4492
4209
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4493
4210
|
isMobile?: boolean | undefined;
|
|
4494
4211
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4495
|
-
useDraftEditor?: boolean | undefined;
|
|
4496
4212
|
hintProgressColor?: string | undefined;
|
|
4497
4213
|
canScrollPage?: boolean | undefined;
|
|
4498
|
-
inModal?: boolean | undefined;
|
|
4499
4214
|
crossOutEnabled?: boolean | undefined;
|
|
4500
4215
|
editorChangeDelay?: number | undefined;
|
|
4501
4216
|
flags?: {
|
|
@@ -4503,6 +4218,7 @@ declare const InteractiveGraph: {
|
|
|
4503
4218
|
circle?: boolean | undefined;
|
|
4504
4219
|
polygon?: boolean | undefined;
|
|
4505
4220
|
linear?: boolean | undefined;
|
|
4221
|
+
quadratic?: boolean | undefined;
|
|
4506
4222
|
"linear-system"?: boolean | undefined;
|
|
4507
4223
|
segment?: boolean | undefined;
|
|
4508
4224
|
ray?: boolean | undefined;
|
|
@@ -4520,7 +4236,6 @@ declare const InteractiveGraph: {
|
|
|
4520
4236
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4521
4237
|
editorChangeDelay: number;
|
|
4522
4238
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4523
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4524
4239
|
isArticle: NonNullable<boolean | undefined>;
|
|
4525
4240
|
isMobile: NonNullable<boolean | undefined>;
|
|
4526
4241
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4528,7 +4243,6 @@ declare const InteractiveGraph: {
|
|
|
4528
4243
|
readOnly: NonNullable<boolean | undefined>;
|
|
4529
4244
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4530
4245
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4531
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4532
4246
|
}>;
|
|
4533
4247
|
keypadElement?: any;
|
|
4534
4248
|
questionCompleted?: boolean | undefined;
|
|
@@ -4537,11 +4251,11 @@ declare const InteractiveGraph: {
|
|
|
4537
4251
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4538
4252
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4539
4253
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4540
|
-
trackInteraction: (extraData?:
|
|
4254
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4541
4255
|
isLastUsedWidget: boolean;
|
|
4542
4256
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4543
4257
|
containerSizeClass: SizingUtils.SizeClass;
|
|
4544
|
-
}):
|
|
4258
|
+
}): [import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord];
|
|
4545
4259
|
getQuadraticEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
4546
4260
|
widgetId: string;
|
|
4547
4261
|
alignment: string | null | undefined;
|
|
@@ -4554,10 +4268,7 @@ declare const InteractiveGraph: {
|
|
|
4554
4268
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4555
4269
|
showAlignmentOptions?: boolean | undefined;
|
|
4556
4270
|
readOnly?: boolean | undefined;
|
|
4557
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4558
|
-
* Whether to show tooltips on the graph.
|
|
4559
|
-
* (Currently not used, but will be in the future.)
|
|
4560
|
-
*/
|
|
4271
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4561
4272
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4562
4273
|
interactionCallback?: ((widgetData: {
|
|
4563
4274
|
[widgetId: string]: any;
|
|
@@ -4578,10 +4289,8 @@ declare const InteractiveGraph: {
|
|
|
4578
4289
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4579
4290
|
isMobile?: boolean | undefined;
|
|
4580
4291
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4581
|
-
useDraftEditor?: boolean | undefined;
|
|
4582
4292
|
hintProgressColor?: string | undefined;
|
|
4583
4293
|
canScrollPage?: boolean | undefined;
|
|
4584
|
-
inModal?: boolean | undefined;
|
|
4585
4294
|
crossOutEnabled?: boolean | undefined;
|
|
4586
4295
|
editorChangeDelay?: number | undefined;
|
|
4587
4296
|
flags?: {
|
|
@@ -4589,6 +4298,7 @@ declare const InteractiveGraph: {
|
|
|
4589
4298
|
circle?: boolean | undefined;
|
|
4590
4299
|
polygon?: boolean | undefined;
|
|
4591
4300
|
linear?: boolean | undefined;
|
|
4301
|
+
quadratic?: boolean | undefined;
|
|
4592
4302
|
"linear-system"?: boolean | undefined;
|
|
4593
4303
|
segment?: boolean | undefined;
|
|
4594
4304
|
ray?: boolean | undefined;
|
|
@@ -4606,7 +4316,6 @@ declare const InteractiveGraph: {
|
|
|
4606
4316
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4607
4317
|
editorChangeDelay: number;
|
|
4608
4318
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4609
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4610
4319
|
isArticle: NonNullable<boolean | undefined>;
|
|
4611
4320
|
isMobile: NonNullable<boolean | undefined>;
|
|
4612
4321
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4614,7 +4323,6 @@ declare const InteractiveGraph: {
|
|
|
4614
4323
|
readOnly: NonNullable<boolean | undefined>;
|
|
4615
4324
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4616
4325
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4617
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4618
4326
|
}>;
|
|
4619
4327
|
keypadElement?: any;
|
|
4620
4328
|
questionCompleted?: boolean | undefined;
|
|
@@ -4623,7 +4331,7 @@ declare const InteractiveGraph: {
|
|
|
4623
4331
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4624
4332
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4625
4333
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4626
|
-
trackInteraction: (extraData?:
|
|
4334
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4627
4335
|
isLastUsedWidget: boolean;
|
|
4628
4336
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4629
4337
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4640,10 +4348,7 @@ declare const InteractiveGraph: {
|
|
|
4640
4348
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4641
4349
|
showAlignmentOptions?: boolean | undefined;
|
|
4642
4350
|
readOnly?: boolean | undefined;
|
|
4643
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4644
|
-
* Whether to show tooltips on the graph.
|
|
4645
|
-
* (Currently not used, but will be in the future.)
|
|
4646
|
-
*/
|
|
4351
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4647
4352
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4648
4353
|
interactionCallback?: ((widgetData: {
|
|
4649
4354
|
[widgetId: string]: any;
|
|
@@ -4664,10 +4369,8 @@ declare const InteractiveGraph: {
|
|
|
4664
4369
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4665
4370
|
isMobile?: boolean | undefined;
|
|
4666
4371
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4667
|
-
useDraftEditor?: boolean | undefined;
|
|
4668
4372
|
hintProgressColor?: string | undefined;
|
|
4669
4373
|
canScrollPage?: boolean | undefined;
|
|
4670
|
-
inModal?: boolean | undefined;
|
|
4671
4374
|
crossOutEnabled?: boolean | undefined;
|
|
4672
4375
|
editorChangeDelay?: number | undefined;
|
|
4673
4376
|
flags?: {
|
|
@@ -4675,6 +4378,7 @@ declare const InteractiveGraph: {
|
|
|
4675
4378
|
circle?: boolean | undefined;
|
|
4676
4379
|
polygon?: boolean | undefined;
|
|
4677
4380
|
linear?: boolean | undefined;
|
|
4381
|
+
quadratic?: boolean | undefined;
|
|
4678
4382
|
"linear-system"?: boolean | undefined;
|
|
4679
4383
|
segment?: boolean | undefined;
|
|
4680
4384
|
ray?: boolean | undefined;
|
|
@@ -4692,7 +4396,6 @@ declare const InteractiveGraph: {
|
|
|
4692
4396
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4693
4397
|
editorChangeDelay: number;
|
|
4694
4398
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4695
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4696
4399
|
isArticle: NonNullable<boolean | undefined>;
|
|
4697
4400
|
isMobile: NonNullable<boolean | undefined>;
|
|
4698
4401
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4700,7 +4403,6 @@ declare const InteractiveGraph: {
|
|
|
4700
4403
|
readOnly: NonNullable<boolean | undefined>;
|
|
4701
4404
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4702
4405
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4703
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4704
4406
|
}>;
|
|
4705
4407
|
keypadElement?: any;
|
|
4706
4408
|
questionCompleted?: boolean | undefined;
|
|
@@ -4709,7 +4411,7 @@ declare const InteractiveGraph: {
|
|
|
4709
4411
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4710
4412
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4711
4413
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4712
|
-
trackInteraction: (extraData?:
|
|
4414
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4713
4415
|
isLastUsedWidget: boolean;
|
|
4714
4416
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4715
4417
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4726,10 +4428,7 @@ declare const InteractiveGraph: {
|
|
|
4726
4428
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4727
4429
|
showAlignmentOptions?: boolean | undefined;
|
|
4728
4430
|
readOnly?: boolean | undefined;
|
|
4729
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4730
|
-
* Whether to show tooltips on the graph.
|
|
4731
|
-
* (Currently not used, but will be in the future.)
|
|
4732
|
-
*/
|
|
4431
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4733
4432
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4734
4433
|
interactionCallback?: ((widgetData: {
|
|
4735
4434
|
[widgetId: string]: any;
|
|
@@ -4750,10 +4449,8 @@ declare const InteractiveGraph: {
|
|
|
4750
4449
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4751
4450
|
isMobile?: boolean | undefined;
|
|
4752
4451
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4753
|
-
useDraftEditor?: boolean | undefined;
|
|
4754
4452
|
hintProgressColor?: string | undefined;
|
|
4755
4453
|
canScrollPage?: boolean | undefined;
|
|
4756
|
-
inModal?: boolean | undefined;
|
|
4757
4454
|
crossOutEnabled?: boolean | undefined;
|
|
4758
4455
|
editorChangeDelay?: number | undefined;
|
|
4759
4456
|
flags?: {
|
|
@@ -4761,6 +4458,7 @@ declare const InteractiveGraph: {
|
|
|
4761
4458
|
circle?: boolean | undefined;
|
|
4762
4459
|
polygon?: boolean | undefined;
|
|
4763
4460
|
linear?: boolean | undefined;
|
|
4461
|
+
quadratic?: boolean | undefined;
|
|
4764
4462
|
"linear-system"?: boolean | undefined;
|
|
4765
4463
|
segment?: boolean | undefined;
|
|
4766
4464
|
ray?: boolean | undefined;
|
|
@@ -4778,7 +4476,6 @@ declare const InteractiveGraph: {
|
|
|
4778
4476
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4779
4477
|
editorChangeDelay: number;
|
|
4780
4478
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4781
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4782
4479
|
isArticle: NonNullable<boolean | undefined>;
|
|
4783
4480
|
isMobile: NonNullable<boolean | undefined>;
|
|
4784
4481
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4786,7 +4483,6 @@ declare const InteractiveGraph: {
|
|
|
4786
4483
|
readOnly: NonNullable<boolean | undefined>;
|
|
4787
4484
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4788
4485
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4789
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4790
4486
|
}>;
|
|
4791
4487
|
keypadElement?: any;
|
|
4792
4488
|
questionCompleted?: boolean | undefined;
|
|
@@ -4795,7 +4491,7 @@ declare const InteractiveGraph: {
|
|
|
4795
4491
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4796
4492
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4797
4493
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4798
|
-
trackInteraction: (extraData?:
|
|
4494
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4799
4495
|
isLastUsedWidget: boolean;
|
|
4800
4496
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4801
4497
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4812,10 +4508,7 @@ declare const InteractiveGraph: {
|
|
|
4812
4508
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4813
4509
|
showAlignmentOptions?: boolean | undefined;
|
|
4814
4510
|
readOnly?: boolean | undefined;
|
|
4815
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4816
|
-
* Whether to show tooltips on the graph.
|
|
4817
|
-
* (Currently not used, but will be in the future.)
|
|
4818
|
-
*/
|
|
4511
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4819
4512
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4820
4513
|
interactionCallback?: ((widgetData: {
|
|
4821
4514
|
[widgetId: string]: any;
|
|
@@ -4836,10 +4529,8 @@ declare const InteractiveGraph: {
|
|
|
4836
4529
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4837
4530
|
isMobile?: boolean | undefined;
|
|
4838
4531
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4839
|
-
useDraftEditor?: boolean | undefined;
|
|
4840
4532
|
hintProgressColor?: string | undefined;
|
|
4841
4533
|
canScrollPage?: boolean | undefined;
|
|
4842
|
-
inModal?: boolean | undefined;
|
|
4843
4534
|
crossOutEnabled?: boolean | undefined;
|
|
4844
4535
|
editorChangeDelay?: number | undefined;
|
|
4845
4536
|
flags?: {
|
|
@@ -4847,6 +4538,7 @@ declare const InteractiveGraph: {
|
|
|
4847
4538
|
circle?: boolean | undefined;
|
|
4848
4539
|
polygon?: boolean | undefined;
|
|
4849
4540
|
linear?: boolean | undefined;
|
|
4541
|
+
quadratic?: boolean | undefined;
|
|
4850
4542
|
"linear-system"?: boolean | undefined;
|
|
4851
4543
|
segment?: boolean | undefined;
|
|
4852
4544
|
ray?: boolean | undefined;
|
|
@@ -4864,7 +4556,6 @@ declare const InteractiveGraph: {
|
|
|
4864
4556
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4865
4557
|
editorChangeDelay: number;
|
|
4866
4558
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4867
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4868
4559
|
isArticle: NonNullable<boolean | undefined>;
|
|
4869
4560
|
isMobile: NonNullable<boolean | undefined>;
|
|
4870
4561
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4872,7 +4563,6 @@ declare const InteractiveGraph: {
|
|
|
4872
4563
|
readOnly: NonNullable<boolean | undefined>;
|
|
4873
4564
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4874
4565
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4875
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4876
4566
|
}>;
|
|
4877
4567
|
keypadElement?: any;
|
|
4878
4568
|
questionCompleted?: boolean | undefined;
|
|
@@ -4881,7 +4571,7 @@ declare const InteractiveGraph: {
|
|
|
4881
4571
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4882
4572
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4883
4573
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4884
|
-
trackInteraction: (extraData?:
|
|
4574
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4885
4575
|
isLastUsedWidget: boolean;
|
|
4886
4576
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4887
4577
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4898,10 +4588,7 @@ declare const InteractiveGraph: {
|
|
|
4898
4588
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4899
4589
|
showAlignmentOptions?: boolean | undefined;
|
|
4900
4590
|
readOnly?: boolean | undefined;
|
|
4901
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4902
|
-
* Whether to show tooltips on the graph.
|
|
4903
|
-
* (Currently not used, but will be in the future.)
|
|
4904
|
-
*/
|
|
4591
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4905
4592
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4906
4593
|
interactionCallback?: ((widgetData: {
|
|
4907
4594
|
[widgetId: string]: any;
|
|
@@ -4922,10 +4609,8 @@ declare const InteractiveGraph: {
|
|
|
4922
4609
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4923
4610
|
isMobile?: boolean | undefined;
|
|
4924
4611
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4925
|
-
useDraftEditor?: boolean | undefined;
|
|
4926
4612
|
hintProgressColor?: string | undefined;
|
|
4927
4613
|
canScrollPage?: boolean | undefined;
|
|
4928
|
-
inModal?: boolean | undefined;
|
|
4929
4614
|
crossOutEnabled?: boolean | undefined;
|
|
4930
4615
|
editorChangeDelay?: number | undefined;
|
|
4931
4616
|
flags?: {
|
|
@@ -4933,6 +4618,7 @@ declare const InteractiveGraph: {
|
|
|
4933
4618
|
circle?: boolean | undefined;
|
|
4934
4619
|
polygon?: boolean | undefined;
|
|
4935
4620
|
linear?: boolean | undefined;
|
|
4621
|
+
quadratic?: boolean | undefined;
|
|
4936
4622
|
"linear-system"?: boolean | undefined;
|
|
4937
4623
|
segment?: boolean | undefined;
|
|
4938
4624
|
ray?: boolean | undefined;
|
|
@@ -4950,7 +4636,6 @@ declare const InteractiveGraph: {
|
|
|
4950
4636
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4951
4637
|
editorChangeDelay: number;
|
|
4952
4638
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4953
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4954
4639
|
isArticle: NonNullable<boolean | undefined>;
|
|
4955
4640
|
isMobile: NonNullable<boolean | undefined>;
|
|
4956
4641
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4958,7 +4643,6 @@ declare const InteractiveGraph: {
|
|
|
4958
4643
|
readOnly: NonNullable<boolean | undefined>;
|
|
4959
4644
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4960
4645
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4961
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4962
4646
|
}>;
|
|
4963
4647
|
keypadElement?: any;
|
|
4964
4648
|
questionCompleted?: boolean | undefined;
|
|
@@ -4967,7 +4651,7 @@ declare const InteractiveGraph: {
|
|
|
4967
4651
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4968
4652
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4969
4653
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4970
|
-
trackInteraction: (extraData?:
|
|
4654
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4971
4655
|
isLastUsedWidget: boolean;
|
|
4972
4656
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4973
4657
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4984,10 +4668,7 @@ declare const InteractiveGraph: {
|
|
|
4984
4668
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4985
4669
|
showAlignmentOptions?: boolean | undefined;
|
|
4986
4670
|
readOnly?: boolean | undefined;
|
|
4987
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4988
|
-
* Whether to show tooltips on the graph.
|
|
4989
|
-
* (Currently not used, but will be in the future.)
|
|
4990
|
-
*/
|
|
4671
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4991
4672
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4992
4673
|
interactionCallback?: ((widgetData: {
|
|
4993
4674
|
[widgetId: string]: any;
|
|
@@ -5008,10 +4689,8 @@ declare const InteractiveGraph: {
|
|
|
5008
4689
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5009
4690
|
isMobile?: boolean | undefined;
|
|
5010
4691
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5011
|
-
useDraftEditor?: boolean | undefined;
|
|
5012
4692
|
hintProgressColor?: string | undefined;
|
|
5013
4693
|
canScrollPage?: boolean | undefined;
|
|
5014
|
-
inModal?: boolean | undefined;
|
|
5015
4694
|
crossOutEnabled?: boolean | undefined;
|
|
5016
4695
|
editorChangeDelay?: number | undefined;
|
|
5017
4696
|
flags?: {
|
|
@@ -5019,6 +4698,7 @@ declare const InteractiveGraph: {
|
|
|
5019
4698
|
circle?: boolean | undefined;
|
|
5020
4699
|
polygon?: boolean | undefined;
|
|
5021
4700
|
linear?: boolean | undefined;
|
|
4701
|
+
quadratic?: boolean | undefined;
|
|
5022
4702
|
"linear-system"?: boolean | undefined;
|
|
5023
4703
|
segment?: boolean | undefined;
|
|
5024
4704
|
ray?: boolean | undefined;
|
|
@@ -5036,7 +4716,6 @@ declare const InteractiveGraph: {
|
|
|
5036
4716
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5037
4717
|
editorChangeDelay: number;
|
|
5038
4718
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5039
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5040
4719
|
isArticle: NonNullable<boolean | undefined>;
|
|
5041
4720
|
isMobile: NonNullable<boolean | undefined>;
|
|
5042
4721
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5044,7 +4723,6 @@ declare const InteractiveGraph: {
|
|
|
5044
4723
|
readOnly: NonNullable<boolean | undefined>;
|
|
5045
4724
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5046
4725
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5047
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5048
4726
|
}>;
|
|
5049
4727
|
keypadElement?: any;
|
|
5050
4728
|
questionCompleted?: boolean | undefined;
|
|
@@ -5053,7 +4731,7 @@ declare const InteractiveGraph: {
|
|
|
5053
4731
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5054
4732
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5055
4733
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5056
|
-
trackInteraction: (extraData?:
|
|
4734
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5057
4735
|
isLastUsedWidget: boolean;
|
|
5058
4736
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5059
4737
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5070,10 +4748,7 @@ declare const InteractiveGraph: {
|
|
|
5070
4748
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5071
4749
|
showAlignmentOptions?: boolean | undefined;
|
|
5072
4750
|
readOnly?: boolean | undefined;
|
|
5073
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5074
|
-
* Whether to show tooltips on the graph.
|
|
5075
|
-
* (Currently not used, but will be in the future.)
|
|
5076
|
-
*/
|
|
4751
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5077
4752
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5078
4753
|
interactionCallback?: ((widgetData: {
|
|
5079
4754
|
[widgetId: string]: any;
|
|
@@ -5094,10 +4769,8 @@ declare const InteractiveGraph: {
|
|
|
5094
4769
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5095
4770
|
isMobile?: boolean | undefined;
|
|
5096
4771
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5097
|
-
useDraftEditor?: boolean | undefined;
|
|
5098
4772
|
hintProgressColor?: string | undefined;
|
|
5099
4773
|
canScrollPage?: boolean | undefined;
|
|
5100
|
-
inModal?: boolean | undefined;
|
|
5101
4774
|
crossOutEnabled?: boolean | undefined;
|
|
5102
4775
|
editorChangeDelay?: number | undefined;
|
|
5103
4776
|
flags?: {
|
|
@@ -5105,6 +4778,7 @@ declare const InteractiveGraph: {
|
|
|
5105
4778
|
circle?: boolean | undefined;
|
|
5106
4779
|
polygon?: boolean | undefined;
|
|
5107
4780
|
linear?: boolean | undefined;
|
|
4781
|
+
quadratic?: boolean | undefined;
|
|
5108
4782
|
"linear-system"?: boolean | undefined;
|
|
5109
4783
|
segment?: boolean | undefined;
|
|
5110
4784
|
ray?: boolean | undefined;
|
|
@@ -5122,7 +4796,6 @@ declare const InteractiveGraph: {
|
|
|
5122
4796
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5123
4797
|
editorChangeDelay: number;
|
|
5124
4798
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5125
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5126
4799
|
isArticle: NonNullable<boolean | undefined>;
|
|
5127
4800
|
isMobile: NonNullable<boolean | undefined>;
|
|
5128
4801
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5130,7 +4803,6 @@ declare const InteractiveGraph: {
|
|
|
5130
4803
|
readOnly: NonNullable<boolean | undefined>;
|
|
5131
4804
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5132
4805
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5133
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5134
4806
|
}>;
|
|
5135
4807
|
keypadElement?: any;
|
|
5136
4808
|
questionCompleted?: boolean | undefined;
|
|
@@ -5139,7 +4811,7 @@ declare const InteractiveGraph: {
|
|
|
5139
4811
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5140
4812
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5141
4813
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5142
|
-
trackInteraction: (extraData?:
|
|
4814
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5143
4815
|
isLastUsedWidget: boolean;
|
|
5144
4816
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5145
4817
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5156,10 +4828,7 @@ declare const InteractiveGraph: {
|
|
|
5156
4828
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5157
4829
|
showAlignmentOptions?: boolean | undefined;
|
|
5158
4830
|
readOnly?: boolean | undefined;
|
|
5159
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5160
|
-
* Whether to show tooltips on the graph.
|
|
5161
|
-
* (Currently not used, but will be in the future.)
|
|
5162
|
-
*/
|
|
4831
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5163
4832
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5164
4833
|
interactionCallback?: ((widgetData: {
|
|
5165
4834
|
[widgetId: string]: any;
|
|
@@ -5180,10 +4849,8 @@ declare const InteractiveGraph: {
|
|
|
5180
4849
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5181
4850
|
isMobile?: boolean | undefined;
|
|
5182
4851
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5183
|
-
useDraftEditor?: boolean | undefined;
|
|
5184
4852
|
hintProgressColor?: string | undefined;
|
|
5185
4853
|
canScrollPage?: boolean | undefined;
|
|
5186
|
-
inModal?: boolean | undefined;
|
|
5187
4854
|
crossOutEnabled?: boolean | undefined;
|
|
5188
4855
|
editorChangeDelay?: number | undefined;
|
|
5189
4856
|
flags?: {
|
|
@@ -5191,6 +4858,7 @@ declare const InteractiveGraph: {
|
|
|
5191
4858
|
circle?: boolean | undefined;
|
|
5192
4859
|
polygon?: boolean | undefined;
|
|
5193
4860
|
linear?: boolean | undefined;
|
|
4861
|
+
quadratic?: boolean | undefined;
|
|
5194
4862
|
"linear-system"?: boolean | undefined;
|
|
5195
4863
|
segment?: boolean | undefined;
|
|
5196
4864
|
ray?: boolean | undefined;
|
|
@@ -5208,7 +4876,6 @@ declare const InteractiveGraph: {
|
|
|
5208
4876
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5209
4877
|
editorChangeDelay: number;
|
|
5210
4878
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5211
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5212
4879
|
isArticle: NonNullable<boolean | undefined>;
|
|
5213
4880
|
isMobile: NonNullable<boolean | undefined>;
|
|
5214
4881
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5216,7 +4883,6 @@ declare const InteractiveGraph: {
|
|
|
5216
4883
|
readOnly: NonNullable<boolean | undefined>;
|
|
5217
4884
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5218
4885
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5219
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5220
4886
|
}>;
|
|
5221
4887
|
keypadElement?: any;
|
|
5222
4888
|
questionCompleted?: boolean | undefined;
|
|
@@ -5225,7 +4891,7 @@ declare const InteractiveGraph: {
|
|
|
5225
4891
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5226
4892
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5227
4893
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5228
|
-
trackInteraction: (extraData?:
|
|
4894
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5229
4895
|
isLastUsedWidget: boolean;
|
|
5230
4896
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5231
4897
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5242,10 +4908,7 @@ declare const InteractiveGraph: {
|
|
|
5242
4908
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5243
4909
|
showAlignmentOptions?: boolean | undefined;
|
|
5244
4910
|
readOnly?: boolean | undefined;
|
|
5245
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5246
|
-
* Whether to show tooltips on the graph.
|
|
5247
|
-
* (Currently not used, but will be in the future.)
|
|
5248
|
-
*/
|
|
4911
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5249
4912
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5250
4913
|
interactionCallback?: ((widgetData: {
|
|
5251
4914
|
[widgetId: string]: any;
|
|
@@ -5266,10 +4929,8 @@ declare const InteractiveGraph: {
|
|
|
5266
4929
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5267
4930
|
isMobile?: boolean | undefined;
|
|
5268
4931
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5269
|
-
useDraftEditor?: boolean | undefined;
|
|
5270
4932
|
hintProgressColor?: string | undefined;
|
|
5271
4933
|
canScrollPage?: boolean | undefined;
|
|
5272
|
-
inModal?: boolean | undefined;
|
|
5273
4934
|
crossOutEnabled?: boolean | undefined;
|
|
5274
4935
|
editorChangeDelay?: number | undefined;
|
|
5275
4936
|
flags?: {
|
|
@@ -5277,6 +4938,7 @@ declare const InteractiveGraph: {
|
|
|
5277
4938
|
circle?: boolean | undefined;
|
|
5278
4939
|
polygon?: boolean | undefined;
|
|
5279
4940
|
linear?: boolean | undefined;
|
|
4941
|
+
quadratic?: boolean | undefined;
|
|
5280
4942
|
"linear-system"?: boolean | undefined;
|
|
5281
4943
|
segment?: boolean | undefined;
|
|
5282
4944
|
ray?: boolean | undefined;
|
|
@@ -5294,7 +4956,6 @@ declare const InteractiveGraph: {
|
|
|
5294
4956
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5295
4957
|
editorChangeDelay: number;
|
|
5296
4958
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5297
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5298
4959
|
isArticle: NonNullable<boolean | undefined>;
|
|
5299
4960
|
isMobile: NonNullable<boolean | undefined>;
|
|
5300
4961
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5302,7 +4963,6 @@ declare const InteractiveGraph: {
|
|
|
5302
4963
|
readOnly: NonNullable<boolean | undefined>;
|
|
5303
4964
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5304
4965
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5305
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5306
4966
|
}>;
|
|
5307
4967
|
keypadElement?: any;
|
|
5308
4968
|
questionCompleted?: boolean | undefined;
|
|
@@ -5311,7 +4971,7 @@ declare const InteractiveGraph: {
|
|
|
5311
4971
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5312
4972
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5313
4973
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5314
|
-
trackInteraction: (extraData?:
|
|
4974
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5315
4975
|
isLastUsedWidget: boolean;
|
|
5316
4976
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5317
4977
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5328,10 +4988,7 @@ declare const InteractiveGraph: {
|
|
|
5328
4988
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5329
4989
|
showAlignmentOptions?: boolean | undefined;
|
|
5330
4990
|
readOnly?: boolean | undefined;
|
|
5331
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5332
|
-
* Whether to show tooltips on the graph.
|
|
5333
|
-
* (Currently not used, but will be in the future.)
|
|
5334
|
-
*/
|
|
4991
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5335
4992
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5336
4993
|
interactionCallback?: ((widgetData: {
|
|
5337
4994
|
[widgetId: string]: any;
|
|
@@ -5352,10 +5009,8 @@ declare const InteractiveGraph: {
|
|
|
5352
5009
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5353
5010
|
isMobile?: boolean | undefined;
|
|
5354
5011
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5355
|
-
useDraftEditor?: boolean | undefined;
|
|
5356
5012
|
hintProgressColor?: string | undefined;
|
|
5357
5013
|
canScrollPage?: boolean | undefined;
|
|
5358
|
-
inModal?: boolean | undefined;
|
|
5359
5014
|
crossOutEnabled?: boolean | undefined;
|
|
5360
5015
|
editorChangeDelay?: number | undefined;
|
|
5361
5016
|
flags?: {
|
|
@@ -5363,6 +5018,7 @@ declare const InteractiveGraph: {
|
|
|
5363
5018
|
circle?: boolean | undefined;
|
|
5364
5019
|
polygon?: boolean | undefined;
|
|
5365
5020
|
linear?: boolean | undefined;
|
|
5021
|
+
quadratic?: boolean | undefined;
|
|
5366
5022
|
"linear-system"?: boolean | undefined;
|
|
5367
5023
|
segment?: boolean | undefined;
|
|
5368
5024
|
ray?: boolean | undefined;
|
|
@@ -5380,7 +5036,6 @@ declare const InteractiveGraph: {
|
|
|
5380
5036
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5381
5037
|
editorChangeDelay: number;
|
|
5382
5038
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5383
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5384
5039
|
isArticle: NonNullable<boolean | undefined>;
|
|
5385
5040
|
isMobile: NonNullable<boolean | undefined>;
|
|
5386
5041
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5388,7 +5043,6 @@ declare const InteractiveGraph: {
|
|
|
5388
5043
|
readOnly: NonNullable<boolean | undefined>;
|
|
5389
5044
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5390
5045
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5391
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5392
5046
|
}>;
|
|
5393
5047
|
keypadElement?: any;
|
|
5394
5048
|
questionCompleted?: boolean | undefined;
|
|
@@ -5397,7 +5051,7 @@ declare const InteractiveGraph: {
|
|
|
5397
5051
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5398
5052
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5399
5053
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5400
|
-
trackInteraction: (extraData?:
|
|
5054
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5401
5055
|
isLastUsedWidget: boolean;
|
|
5402
5056
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5403
5057
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5414,10 +5068,7 @@ declare const InteractiveGraph: {
|
|
|
5414
5068
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5415
5069
|
showAlignmentOptions?: boolean | undefined;
|
|
5416
5070
|
readOnly?: boolean | undefined;
|
|
5417
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5418
|
-
* Whether to show tooltips on the graph.
|
|
5419
|
-
* (Currently not used, but will be in the future.)
|
|
5420
|
-
*/
|
|
5071
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5421
5072
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5422
5073
|
interactionCallback?: ((widgetData: {
|
|
5423
5074
|
[widgetId: string]: any;
|
|
@@ -5438,10 +5089,8 @@ declare const InteractiveGraph: {
|
|
|
5438
5089
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5439
5090
|
isMobile?: boolean | undefined;
|
|
5440
5091
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5441
|
-
useDraftEditor?: boolean | undefined;
|
|
5442
5092
|
hintProgressColor?: string | undefined;
|
|
5443
5093
|
canScrollPage?: boolean | undefined;
|
|
5444
|
-
inModal?: boolean | undefined;
|
|
5445
5094
|
crossOutEnabled?: boolean | undefined;
|
|
5446
5095
|
editorChangeDelay?: number | undefined;
|
|
5447
5096
|
flags?: {
|
|
@@ -5449,6 +5098,7 @@ declare const InteractiveGraph: {
|
|
|
5449
5098
|
circle?: boolean | undefined;
|
|
5450
5099
|
polygon?: boolean | undefined;
|
|
5451
5100
|
linear?: boolean | undefined;
|
|
5101
|
+
quadratic?: boolean | undefined;
|
|
5452
5102
|
"linear-system"?: boolean | undefined;
|
|
5453
5103
|
segment?: boolean | undefined;
|
|
5454
5104
|
ray?: boolean | undefined;
|
|
@@ -5466,7 +5116,6 @@ declare const InteractiveGraph: {
|
|
|
5466
5116
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5467
5117
|
editorChangeDelay: number;
|
|
5468
5118
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5469
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5470
5119
|
isArticle: NonNullable<boolean | undefined>;
|
|
5471
5120
|
isMobile: NonNullable<boolean | undefined>;
|
|
5472
5121
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5474,7 +5123,6 @@ declare const InteractiveGraph: {
|
|
|
5474
5123
|
readOnly: NonNullable<boolean | undefined>;
|
|
5475
5124
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5476
5125
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5477
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5478
5126
|
}>;
|
|
5479
5127
|
keypadElement?: any;
|
|
5480
5128
|
questionCompleted?: boolean | undefined;
|
|
@@ -5483,7 +5131,7 @@ declare const InteractiveGraph: {
|
|
|
5483
5131
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5484
5132
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5485
5133
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5486
|
-
trackInteraction: (extraData?:
|
|
5134
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5487
5135
|
isLastUsedWidget: boolean;
|
|
5488
5136
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5489
5137
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5501,10 +5149,7 @@ declare const InteractiveGraph: {
|
|
|
5501
5149
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5502
5150
|
showAlignmentOptions?: boolean | undefined;
|
|
5503
5151
|
readOnly?: boolean | undefined;
|
|
5504
|
-
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5505
|
-
* Whether to show tooltips on the graph.
|
|
5506
|
-
* (Currently not used, but will be in the future.)
|
|
5507
|
-
*/
|
|
5152
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5508
5153
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5509
5154
|
interactionCallback?: ((widgetData: {
|
|
5510
5155
|
[widgetId: string]: any;
|
|
@@ -5525,10 +5170,8 @@ declare const InteractiveGraph: {
|
|
|
5525
5170
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5526
5171
|
isMobile?: boolean | undefined;
|
|
5527
5172
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5528
|
-
useDraftEditor?: boolean | undefined;
|
|
5529
5173
|
hintProgressColor?: string | undefined;
|
|
5530
5174
|
canScrollPage?: boolean | undefined;
|
|
5531
|
-
inModal?: boolean | undefined;
|
|
5532
5175
|
crossOutEnabled?: boolean | undefined;
|
|
5533
5176
|
editorChangeDelay?: number | undefined;
|
|
5534
5177
|
flags?: {
|
|
@@ -5536,6 +5179,7 @@ declare const InteractiveGraph: {
|
|
|
5536
5179
|
circle?: boolean | undefined;
|
|
5537
5180
|
polygon?: boolean | undefined;
|
|
5538
5181
|
linear?: boolean | undefined;
|
|
5182
|
+
quadratic?: boolean | undefined;
|
|
5539
5183
|
"linear-system"?: boolean | undefined;
|
|
5540
5184
|
segment?: boolean | undefined;
|
|
5541
5185
|
ray?: boolean | undefined;
|
|
@@ -5553,7 +5197,6 @@ declare const InteractiveGraph: {
|
|
|
5553
5197
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5554
5198
|
editorChangeDelay: number;
|
|
5555
5199
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5556
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5557
5200
|
isArticle: NonNullable<boolean | undefined>;
|
|
5558
5201
|
isMobile: NonNullable<boolean | undefined>;
|
|
5559
5202
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5561,7 +5204,6 @@ declare const InteractiveGraph: {
|
|
|
5561
5204
|
readOnly: NonNullable<boolean | undefined>;
|
|
5562
5205
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5563
5206
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5564
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5565
5207
|
}>;
|
|
5566
5208
|
keypadElement?: any;
|
|
5567
5209
|
questionCompleted?: boolean | undefined;
|
|
@@ -5570,7 +5212,7 @@ declare const InteractiveGraph: {
|
|
|
5570
5212
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5571
5213
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5572
5214
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5573
|
-
trackInteraction: (extraData?:
|
|
5215
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5574
5216
|
isLastUsedWidget: boolean;
|
|
5575
5217
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5576
5218
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5699,5 +5341,6 @@ declare class InteractiveGraphEditor extends React.Component<Props> {
|
|
|
5699
5341
|
render(): JSX.Element;
|
|
5700
5342
|
changeMatchType: (newValue: any) => void;
|
|
5701
5343
|
serialize(): PerseusInteractiveGraphWidgetOptions;
|
|
5344
|
+
getSaveWarnings: () => any[];
|
|
5702
5345
|
}
|
|
5703
5346
|
export default InteractiveGraphEditor;
|