@khanacademy/perseus-editor 6.5.1 → 6.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/locked-figure-settings.d.ts +1 -0
- package/dist/components/locked-figures-section.d.ts +1 -0
- package/dist/es/index.js +49 -16
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +46 -14
- 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 +352 -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,11 +45,14 @@ declare const InteractiveGraph: {
|
|
|
50
45
|
circle?: boolean | undefined;
|
|
51
46
|
polygon?: boolean | undefined;
|
|
52
47
|
linear?: boolean | undefined;
|
|
48
|
+
quadratic?: boolean | undefined;
|
|
49
|
+
sinusoid?: boolean | undefined;
|
|
53
50
|
"linear-system"?: boolean | undefined;
|
|
54
51
|
segment?: boolean | undefined;
|
|
55
52
|
ray?: boolean | undefined;
|
|
56
53
|
} & {
|
|
57
54
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
55
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
58
56
|
}) | undefined;
|
|
59
57
|
} | undefined;
|
|
60
58
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -67,7 +65,6 @@ declare const InteractiveGraph: {
|
|
|
67
65
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
68
66
|
editorChangeDelay: number;
|
|
69
67
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
70
|
-
inModal: NonNullable<boolean | undefined>;
|
|
71
68
|
isArticle: NonNullable<boolean | undefined>;
|
|
72
69
|
isMobile: NonNullable<boolean | undefined>;
|
|
73
70
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -75,7 +72,6 @@ declare const InteractiveGraph: {
|
|
|
75
72
|
readOnly: NonNullable<boolean | undefined>;
|
|
76
73
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
77
74
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
78
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
79
75
|
}>;
|
|
80
76
|
keypadElement?: any;
|
|
81
77
|
questionCompleted?: boolean | undefined;
|
|
@@ -84,7 +80,7 @@ declare const InteractiveGraph: {
|
|
|
84
80
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
85
81
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
86
82
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
87
|
-
trackInteraction: (extraData?:
|
|
83
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
88
84
|
isLastUsedWidget: boolean;
|
|
89
85
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
90
86
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -100,10 +96,7 @@ declare const InteractiveGraph: {
|
|
|
100
96
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
101
97
|
showAlignmentOptions?: boolean | undefined;
|
|
102
98
|
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
|
-
*/
|
|
99
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
107
100
|
getAnotherHint?: (() => unknown) | undefined;
|
|
108
101
|
interactionCallback?: ((widgetData: {
|
|
109
102
|
[widgetId: string]: any;
|
|
@@ -124,10 +117,8 @@ declare const InteractiveGraph: {
|
|
|
124
117
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
125
118
|
isMobile?: boolean | undefined;
|
|
126
119
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
127
|
-
useDraftEditor?: boolean | undefined;
|
|
128
120
|
hintProgressColor?: string | undefined;
|
|
129
121
|
canScrollPage?: boolean | undefined;
|
|
130
|
-
inModal?: boolean | undefined;
|
|
131
122
|
crossOutEnabled?: boolean | undefined;
|
|
132
123
|
editorChangeDelay?: number | undefined;
|
|
133
124
|
flags?: {
|
|
@@ -135,11 +126,14 @@ declare const InteractiveGraph: {
|
|
|
135
126
|
circle?: boolean | undefined;
|
|
136
127
|
polygon?: boolean | undefined;
|
|
137
128
|
linear?: boolean | undefined;
|
|
129
|
+
quadratic?: boolean | undefined;
|
|
130
|
+
sinusoid?: boolean | undefined;
|
|
138
131
|
"linear-system"?: boolean | undefined;
|
|
139
132
|
segment?: boolean | undefined;
|
|
140
133
|
ray?: boolean | undefined;
|
|
141
134
|
} & {
|
|
142
135
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
136
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
143
137
|
}) | undefined;
|
|
144
138
|
} | undefined;
|
|
145
139
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -152,7 +146,6 @@ declare const InteractiveGraph: {
|
|
|
152
146
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
153
147
|
editorChangeDelay: number;
|
|
154
148
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
155
|
-
inModal: NonNullable<boolean | undefined>;
|
|
156
149
|
isArticle: NonNullable<boolean | undefined>;
|
|
157
150
|
isMobile: NonNullable<boolean | undefined>;
|
|
158
151
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -160,7 +153,6 @@ declare const InteractiveGraph: {
|
|
|
160
153
|
readOnly: NonNullable<boolean | undefined>;
|
|
161
154
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
162
155
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
163
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
164
156
|
}>;
|
|
165
157
|
keypadElement?: any;
|
|
166
158
|
questionCompleted?: boolean | undefined;
|
|
@@ -169,7 +161,7 @@ declare const InteractiveGraph: {
|
|
|
169
161
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
170
162
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
171
163
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
172
|
-
trackInteraction: (extraData?:
|
|
164
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
173
165
|
isLastUsedWidget: boolean;
|
|
174
166
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
175
167
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -210,10 +202,7 @@ declare const InteractiveGraph: {
|
|
|
210
202
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
211
203
|
showAlignmentOptions?: boolean | undefined;
|
|
212
204
|
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
|
-
*/
|
|
205
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
217
206
|
getAnotherHint?: (() => unknown) | undefined;
|
|
218
207
|
interactionCallback?: ((widgetData: {
|
|
219
208
|
[widgetId: string]: any;
|
|
@@ -234,10 +223,8 @@ declare const InteractiveGraph: {
|
|
|
234
223
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
235
224
|
isMobile?: boolean | undefined;
|
|
236
225
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
237
|
-
useDraftEditor?: boolean | undefined;
|
|
238
226
|
hintProgressColor?: string | undefined;
|
|
239
227
|
canScrollPage?: boolean | undefined;
|
|
240
|
-
inModal?: boolean | undefined;
|
|
241
228
|
crossOutEnabled?: boolean | undefined;
|
|
242
229
|
editorChangeDelay?: number | undefined;
|
|
243
230
|
flags?: {
|
|
@@ -245,11 +232,14 @@ declare const InteractiveGraph: {
|
|
|
245
232
|
circle?: boolean | undefined;
|
|
246
233
|
polygon?: boolean | undefined;
|
|
247
234
|
linear?: boolean | undefined;
|
|
235
|
+
quadratic?: boolean | undefined;
|
|
236
|
+
sinusoid?: boolean | undefined;
|
|
248
237
|
"linear-system"?: boolean | undefined;
|
|
249
238
|
segment?: boolean | undefined;
|
|
250
239
|
ray?: boolean | undefined;
|
|
251
240
|
} & {
|
|
252
241
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
242
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
253
243
|
}) | undefined;
|
|
254
244
|
} | undefined;
|
|
255
245
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -262,7 +252,6 @@ declare const InteractiveGraph: {
|
|
|
262
252
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
263
253
|
editorChangeDelay: number;
|
|
264
254
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
265
|
-
inModal: NonNullable<boolean | undefined>;
|
|
266
255
|
isArticle: NonNullable<boolean | undefined>;
|
|
267
256
|
isMobile: NonNullable<boolean | undefined>;
|
|
268
257
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -270,7 +259,6 @@ declare const InteractiveGraph: {
|
|
|
270
259
|
readOnly: NonNullable<boolean | undefined>;
|
|
271
260
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
272
261
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
273
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
274
262
|
}>;
|
|
275
263
|
keypadElement?: any;
|
|
276
264
|
questionCompleted?: boolean | undefined;
|
|
@@ -279,7 +267,7 @@ declare const InteractiveGraph: {
|
|
|
279
267
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
280
268
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
281
269
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
282
|
-
trackInteraction: (extraData?:
|
|
270
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
283
271
|
isLastUsedWidget: boolean;
|
|
284
272
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
285
273
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -296,10 +284,7 @@ declare const InteractiveGraph: {
|
|
|
296
284
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
297
285
|
showAlignmentOptions?: boolean | undefined;
|
|
298
286
|
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
|
-
*/
|
|
287
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
303
288
|
getAnotherHint?: (() => unknown) | undefined;
|
|
304
289
|
interactionCallback?: ((widgetData: {
|
|
305
290
|
[widgetId: string]: any;
|
|
@@ -320,10 +305,8 @@ declare const InteractiveGraph: {
|
|
|
320
305
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
321
306
|
isMobile?: boolean | undefined;
|
|
322
307
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
323
|
-
useDraftEditor?: boolean | undefined;
|
|
324
308
|
hintProgressColor?: string | undefined;
|
|
325
309
|
canScrollPage?: boolean | undefined;
|
|
326
|
-
inModal?: boolean | undefined;
|
|
327
310
|
crossOutEnabled?: boolean | undefined;
|
|
328
311
|
editorChangeDelay?: number | undefined;
|
|
329
312
|
flags?: {
|
|
@@ -331,11 +314,14 @@ declare const InteractiveGraph: {
|
|
|
331
314
|
circle?: boolean | undefined;
|
|
332
315
|
polygon?: boolean | undefined;
|
|
333
316
|
linear?: boolean | undefined;
|
|
317
|
+
quadratic?: boolean | undefined;
|
|
318
|
+
sinusoid?: boolean | undefined;
|
|
334
319
|
"linear-system"?: boolean | undefined;
|
|
335
320
|
segment?: boolean | undefined;
|
|
336
321
|
ray?: boolean | undefined;
|
|
337
322
|
} & {
|
|
338
323
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
324
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
339
325
|
}) | undefined;
|
|
340
326
|
} | undefined;
|
|
341
327
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -348,7 +334,6 @@ declare const InteractiveGraph: {
|
|
|
348
334
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
349
335
|
editorChangeDelay: number;
|
|
350
336
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
351
|
-
inModal: NonNullable<boolean | undefined>;
|
|
352
337
|
isArticle: NonNullable<boolean | undefined>;
|
|
353
338
|
isMobile: NonNullable<boolean | undefined>;
|
|
354
339
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -356,7 +341,6 @@ declare const InteractiveGraph: {
|
|
|
356
341
|
readOnly: NonNullable<boolean | undefined>;
|
|
357
342
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
358
343
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
359
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
360
344
|
}>;
|
|
361
345
|
keypadElement?: any;
|
|
362
346
|
questionCompleted?: boolean | undefined;
|
|
@@ -365,7 +349,7 @@ declare const InteractiveGraph: {
|
|
|
365
349
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
366
350
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
367
351
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
368
|
-
trackInteraction: (extraData?:
|
|
352
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
369
353
|
isLastUsedWidget: boolean;
|
|
370
354
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
371
355
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -382,10 +366,7 @@ declare const InteractiveGraph: {
|
|
|
382
366
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
383
367
|
showAlignmentOptions?: boolean | undefined;
|
|
384
368
|
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
|
-
*/
|
|
369
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
389
370
|
getAnotherHint?: (() => unknown) | undefined;
|
|
390
371
|
interactionCallback?: ((widgetData: {
|
|
391
372
|
[widgetId: string]: any;
|
|
@@ -406,10 +387,8 @@ declare const InteractiveGraph: {
|
|
|
406
387
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
407
388
|
isMobile?: boolean | undefined;
|
|
408
389
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
409
|
-
useDraftEditor?: boolean | undefined;
|
|
410
390
|
hintProgressColor?: string | undefined;
|
|
411
391
|
canScrollPage?: boolean | undefined;
|
|
412
|
-
inModal?: boolean | undefined;
|
|
413
392
|
crossOutEnabled?: boolean | undefined;
|
|
414
393
|
editorChangeDelay?: number | undefined;
|
|
415
394
|
flags?: {
|
|
@@ -417,11 +396,14 @@ declare const InteractiveGraph: {
|
|
|
417
396
|
circle?: boolean | undefined;
|
|
418
397
|
polygon?: boolean | undefined;
|
|
419
398
|
linear?: boolean | undefined;
|
|
399
|
+
quadratic?: boolean | undefined;
|
|
400
|
+
sinusoid?: boolean | undefined;
|
|
420
401
|
"linear-system"?: boolean | undefined;
|
|
421
402
|
segment?: boolean | undefined;
|
|
422
403
|
ray?: boolean | undefined;
|
|
423
404
|
} & {
|
|
424
405
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
406
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
425
407
|
}) | undefined;
|
|
426
408
|
} | undefined;
|
|
427
409
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -434,7 +416,6 @@ declare const InteractiveGraph: {
|
|
|
434
416
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
435
417
|
editorChangeDelay: number;
|
|
436
418
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
437
|
-
inModal: NonNullable<boolean | undefined>;
|
|
438
419
|
isArticle: NonNullable<boolean | undefined>;
|
|
439
420
|
isMobile: NonNullable<boolean | undefined>;
|
|
440
421
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -442,7 +423,6 @@ declare const InteractiveGraph: {
|
|
|
442
423
|
readOnly: NonNullable<boolean | undefined>;
|
|
443
424
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
444
425
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
445
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
446
426
|
}>;
|
|
447
427
|
keypadElement?: any;
|
|
448
428
|
questionCompleted?: boolean | undefined;
|
|
@@ -451,7 +431,7 @@ declare const InteractiveGraph: {
|
|
|
451
431
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
452
432
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
453
433
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
454
|
-
trackInteraction: (extraData?:
|
|
434
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
455
435
|
isLastUsedWidget: boolean;
|
|
456
436
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
457
437
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -476,10 +456,7 @@ declare const InteractiveGraph: {
|
|
|
476
456
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
477
457
|
showAlignmentOptions?: boolean | undefined;
|
|
478
458
|
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
|
-
*/
|
|
459
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
483
460
|
getAnotherHint?: (() => unknown) | undefined;
|
|
484
461
|
interactionCallback?: ((widgetData: {
|
|
485
462
|
[widgetId: string]: any;
|
|
@@ -500,10 +477,8 @@ declare const InteractiveGraph: {
|
|
|
500
477
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
501
478
|
isMobile?: boolean | undefined;
|
|
502
479
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
503
|
-
useDraftEditor?: boolean | undefined;
|
|
504
480
|
hintProgressColor?: string | undefined;
|
|
505
481
|
canScrollPage?: boolean | undefined;
|
|
506
|
-
inModal?: boolean | undefined;
|
|
507
482
|
crossOutEnabled?: boolean | undefined;
|
|
508
483
|
editorChangeDelay?: number | undefined;
|
|
509
484
|
flags?: {
|
|
@@ -511,11 +486,14 @@ declare const InteractiveGraph: {
|
|
|
511
486
|
circle?: boolean | undefined;
|
|
512
487
|
polygon?: boolean | undefined;
|
|
513
488
|
linear?: boolean | undefined;
|
|
489
|
+
quadratic?: boolean | undefined;
|
|
490
|
+
sinusoid?: boolean | undefined;
|
|
514
491
|
"linear-system"?: boolean | undefined;
|
|
515
492
|
segment?: boolean | undefined;
|
|
516
493
|
ray?: boolean | undefined;
|
|
517
494
|
} & {
|
|
518
495
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
496
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
519
497
|
}) | undefined;
|
|
520
498
|
} | undefined;
|
|
521
499
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -528,7 +506,6 @@ declare const InteractiveGraph: {
|
|
|
528
506
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
529
507
|
editorChangeDelay: number;
|
|
530
508
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
531
|
-
inModal: NonNullable<boolean | undefined>;
|
|
532
509
|
isArticle: NonNullable<boolean | undefined>;
|
|
533
510
|
isMobile: NonNullable<boolean | undefined>;
|
|
534
511
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -536,7 +513,6 @@ declare const InteractiveGraph: {
|
|
|
536
513
|
readOnly: NonNullable<boolean | undefined>;
|
|
537
514
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
538
515
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
539
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
540
516
|
}>;
|
|
541
517
|
keypadElement?: any;
|
|
542
518
|
questionCompleted?: boolean | undefined;
|
|
@@ -545,15 +521,15 @@ declare const InteractiveGraph: {
|
|
|
545
521
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
546
522
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
547
523
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
548
|
-
trackInteraction: (extraData?:
|
|
524
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
549
525
|
isLastUsedWidget: boolean;
|
|
550
526
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
551
527
|
containerSizeClass: SizingUtils.SizeClass;
|
|
552
|
-
}) | null | undefined) => boolean;
|
|
553
|
-
* The size of the graph in pixels.
|
|
554
|
-
*/
|
|
528
|
+
}) | null | undefined) => boolean;
|
|
555
529
|
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;
|
|
530
|
+
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean; /**
|
|
531
|
+
* The background image to display in the graph area and its properties.
|
|
532
|
+
*/
|
|
557
533
|
arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
558
534
|
areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
559
535
|
_lineStroke: () => {
|
|
@@ -561,11 +537,11 @@ declare const InteractiveGraph: {
|
|
|
561
537
|
};
|
|
562
538
|
addLine: (arg1: string) => void;
|
|
563
539
|
removeLine: () => void;
|
|
564
|
-
addLinearControls: () => void;
|
|
565
|
-
* Whether to show the protractor on the graph.
|
|
566
|
-
*/
|
|
540
|
+
addLinearControls: () => void;
|
|
567
541
|
removeLinearControls: () => void;
|
|
568
|
-
addQuadraticControls: () => void;
|
|
542
|
+
addQuadraticControls: () => void; /**
|
|
543
|
+
* Whether to show the ruler on the graph.
|
|
544
|
+
*/
|
|
569
545
|
updateQuadratic: () => void;
|
|
570
546
|
removeQuadraticControls: () => void;
|
|
571
547
|
addSinusoidControls: () => void;
|
|
@@ -574,9 +550,7 @@ declare const InteractiveGraph: {
|
|
|
574
550
|
addCircleControls: () => void;
|
|
575
551
|
removeCircleControls: () => void;
|
|
576
552
|
addLinearSystemControls: () => void;
|
|
577
|
-
removeLinearSystemControls: () => void;
|
|
578
|
-
* The number of ticks to display on the ruler.
|
|
579
|
-
*/
|
|
553
|
+
removeLinearSystemControls: () => void;
|
|
580
554
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
581
555
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
582
556
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
@@ -587,14 +561,20 @@ declare const InteractiveGraph: {
|
|
|
587
561
|
addPointControls: () => void;
|
|
588
562
|
removePointControls: () => void;
|
|
589
563
|
addSegmentControls: () => void;
|
|
590
|
-
removeSegmentControls: () => void;
|
|
564
|
+
removeSegmentControls: () => void; /**
|
|
565
|
+
* The locked figures to display in the graph area.
|
|
566
|
+
* Locked figures are graph elements (points, lines, line segmeents,
|
|
567
|
+
* etc.) that are locked in place and not interactive.
|
|
568
|
+
*/
|
|
591
569
|
addRayControls: () => void;
|
|
592
570
|
removeRayControls: () => void;
|
|
593
571
|
addPolygonControls: () => void;
|
|
594
572
|
updatePolygon: () => void;
|
|
595
573
|
removePolygonControls: () => void;
|
|
596
574
|
addAngleControls: () => void;
|
|
597
|
-
removeAngleControls: () => void;
|
|
575
|
+
removeAngleControls: () => void; /**
|
|
576
|
+
* The graph to display in the graph area.
|
|
577
|
+
*/
|
|
598
578
|
toggleShowSides: () => void;
|
|
599
579
|
getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
|
|
600
580
|
simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
@@ -614,10 +594,7 @@ declare const InteractiveGraph: {
|
|
|
614
594
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
615
595
|
showAlignmentOptions?: boolean | undefined;
|
|
616
596
|
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
|
-
*/
|
|
597
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
621
598
|
getAnotherHint?: (() => unknown) | undefined;
|
|
622
599
|
interactionCallback?: ((widgetData: {
|
|
623
600
|
[widgetId: string]: any;
|
|
@@ -638,10 +615,8 @@ declare const InteractiveGraph: {
|
|
|
638
615
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
639
616
|
isMobile?: boolean | undefined;
|
|
640
617
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
641
|
-
useDraftEditor?: boolean | undefined;
|
|
642
618
|
hintProgressColor?: string | undefined;
|
|
643
619
|
canScrollPage?: boolean | undefined;
|
|
644
|
-
inModal?: boolean | undefined;
|
|
645
620
|
crossOutEnabled?: boolean | undefined;
|
|
646
621
|
editorChangeDelay?: number | undefined;
|
|
647
622
|
flags?: {
|
|
@@ -649,11 +624,14 @@ declare const InteractiveGraph: {
|
|
|
649
624
|
circle?: boolean | undefined;
|
|
650
625
|
polygon?: boolean | undefined;
|
|
651
626
|
linear?: boolean | undefined;
|
|
627
|
+
quadratic?: boolean | undefined;
|
|
628
|
+
sinusoid?: boolean | undefined;
|
|
652
629
|
"linear-system"?: boolean | undefined;
|
|
653
630
|
segment?: boolean | undefined;
|
|
654
631
|
ray?: boolean | undefined;
|
|
655
632
|
} & {
|
|
656
633
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
634
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
657
635
|
}) | undefined;
|
|
658
636
|
} | undefined;
|
|
659
637
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -666,7 +644,6 @@ declare const InteractiveGraph: {
|
|
|
666
644
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
667
645
|
editorChangeDelay: number;
|
|
668
646
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
669
|
-
inModal: NonNullable<boolean | undefined>;
|
|
670
647
|
isArticle: NonNullable<boolean | undefined>;
|
|
671
648
|
isMobile: NonNullable<boolean | undefined>;
|
|
672
649
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -674,7 +651,6 @@ declare const InteractiveGraph: {
|
|
|
674
651
|
readOnly: NonNullable<boolean | undefined>;
|
|
675
652
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
676
653
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
677
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
678
654
|
}>;
|
|
679
655
|
keypadElement?: any;
|
|
680
656
|
questionCompleted?: boolean | undefined;
|
|
@@ -683,7 +659,7 @@ declare const InteractiveGraph: {
|
|
|
683
659
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
684
660
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
685
661
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
686
|
-
trackInteraction: (extraData?:
|
|
662
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
687
663
|
isLastUsedWidget: boolean;
|
|
688
664
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
689
665
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -705,10 +681,7 @@ declare const InteractiveGraph: {
|
|
|
705
681
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
706
682
|
showAlignmentOptions?: boolean | undefined;
|
|
707
683
|
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
|
-
*/
|
|
684
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
712
685
|
getAnotherHint?: (() => unknown) | undefined;
|
|
713
686
|
interactionCallback?: ((widgetData: {
|
|
714
687
|
[widgetId: string]: any;
|
|
@@ -729,10 +702,8 @@ declare const InteractiveGraph: {
|
|
|
729
702
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
730
703
|
isMobile?: boolean | undefined;
|
|
731
704
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
732
|
-
useDraftEditor?: boolean | undefined;
|
|
733
705
|
hintProgressColor?: string | undefined;
|
|
734
706
|
canScrollPage?: boolean | undefined;
|
|
735
|
-
inModal?: boolean | undefined;
|
|
736
707
|
crossOutEnabled?: boolean | undefined;
|
|
737
708
|
editorChangeDelay?: number | undefined;
|
|
738
709
|
flags?: {
|
|
@@ -740,11 +711,14 @@ declare const InteractiveGraph: {
|
|
|
740
711
|
circle?: boolean | undefined;
|
|
741
712
|
polygon?: boolean | undefined;
|
|
742
713
|
linear?: boolean | undefined;
|
|
714
|
+
quadratic?: boolean | undefined;
|
|
715
|
+
sinusoid?: boolean | undefined;
|
|
743
716
|
"linear-system"?: boolean | undefined;
|
|
744
717
|
segment?: boolean | undefined;
|
|
745
718
|
ray?: boolean | undefined;
|
|
746
719
|
} & {
|
|
747
720
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
721
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
748
722
|
}) | undefined;
|
|
749
723
|
} | undefined;
|
|
750
724
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -757,7 +731,6 @@ declare const InteractiveGraph: {
|
|
|
757
731
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
758
732
|
editorChangeDelay: number;
|
|
759
733
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
760
|
-
inModal: NonNullable<boolean | undefined>;
|
|
761
734
|
isArticle: NonNullable<boolean | undefined>;
|
|
762
735
|
isMobile: NonNullable<boolean | undefined>;
|
|
763
736
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -765,7 +738,6 @@ declare const InteractiveGraph: {
|
|
|
765
738
|
readOnly: NonNullable<boolean | undefined>;
|
|
766
739
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
767
740
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
768
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
769
741
|
}>;
|
|
770
742
|
keypadElement?: any;
|
|
771
743
|
questionCompleted?: boolean | undefined;
|
|
@@ -774,7 +746,7 @@ declare const InteractiveGraph: {
|
|
|
774
746
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
775
747
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
776
748
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
777
|
-
trackInteraction: (extraData?:
|
|
749
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
778
750
|
isLastUsedWidget: boolean;
|
|
779
751
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
780
752
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -793,10 +765,7 @@ declare const InteractiveGraph: {
|
|
|
793
765
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
794
766
|
showAlignmentOptions?: boolean | undefined;
|
|
795
767
|
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
|
-
*/
|
|
768
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
800
769
|
getAnotherHint?: (() => unknown) | undefined;
|
|
801
770
|
interactionCallback?: ((widgetData: {
|
|
802
771
|
[widgetId: string]: any;
|
|
@@ -817,10 +786,8 @@ declare const InteractiveGraph: {
|
|
|
817
786
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
818
787
|
isMobile?: boolean | undefined;
|
|
819
788
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
820
|
-
useDraftEditor?: boolean | undefined;
|
|
821
789
|
hintProgressColor?: string | undefined;
|
|
822
790
|
canScrollPage?: boolean | undefined;
|
|
823
|
-
inModal?: boolean | undefined;
|
|
824
791
|
crossOutEnabled?: boolean | undefined;
|
|
825
792
|
editorChangeDelay?: number | undefined;
|
|
826
793
|
flags?: {
|
|
@@ -828,11 +795,14 @@ declare const InteractiveGraph: {
|
|
|
828
795
|
circle?: boolean | undefined;
|
|
829
796
|
polygon?: boolean | undefined;
|
|
830
797
|
linear?: boolean | undefined;
|
|
798
|
+
quadratic?: boolean | undefined;
|
|
799
|
+
sinusoid?: boolean | undefined;
|
|
831
800
|
"linear-system"?: boolean | undefined;
|
|
832
801
|
segment?: boolean | undefined;
|
|
833
802
|
ray?: boolean | undefined;
|
|
834
803
|
} & {
|
|
835
804
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
805
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
836
806
|
}) | undefined;
|
|
837
807
|
} | undefined;
|
|
838
808
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -845,7 +815,6 @@ declare const InteractiveGraph: {
|
|
|
845
815
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
846
816
|
editorChangeDelay: number;
|
|
847
817
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
848
|
-
inModal: NonNullable<boolean | undefined>;
|
|
849
818
|
isArticle: NonNullable<boolean | undefined>;
|
|
850
819
|
isMobile: NonNullable<boolean | undefined>;
|
|
851
820
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -853,7 +822,6 @@ declare const InteractiveGraph: {
|
|
|
853
822
|
readOnly: NonNullable<boolean | undefined>;
|
|
854
823
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
855
824
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
856
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
857
825
|
}>;
|
|
858
826
|
keypadElement?: any;
|
|
859
827
|
questionCompleted?: boolean | undefined;
|
|
@@ -862,7 +830,7 @@ declare const InteractiveGraph: {
|
|
|
862
830
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
863
831
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
864
832
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
865
|
-
trackInteraction: (extraData?:
|
|
833
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
866
834
|
isLastUsedWidget: boolean;
|
|
867
835
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
868
836
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -880,10 +848,7 @@ declare const InteractiveGraph: {
|
|
|
880
848
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
881
849
|
showAlignmentOptions?: boolean | undefined;
|
|
882
850
|
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
|
-
*/
|
|
851
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
887
852
|
getAnotherHint?: (() => unknown) | undefined;
|
|
888
853
|
interactionCallback?: ((widgetData: {
|
|
889
854
|
[widgetId: string]: any;
|
|
@@ -904,10 +869,8 @@ declare const InteractiveGraph: {
|
|
|
904
869
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
905
870
|
isMobile?: boolean | undefined;
|
|
906
871
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
907
|
-
useDraftEditor?: boolean | undefined;
|
|
908
872
|
hintProgressColor?: string | undefined;
|
|
909
873
|
canScrollPage?: boolean | undefined;
|
|
910
|
-
inModal?: boolean | undefined;
|
|
911
874
|
crossOutEnabled?: boolean | undefined;
|
|
912
875
|
editorChangeDelay?: number | undefined;
|
|
913
876
|
flags?: {
|
|
@@ -915,11 +878,14 @@ declare const InteractiveGraph: {
|
|
|
915
878
|
circle?: boolean | undefined;
|
|
916
879
|
polygon?: boolean | undefined;
|
|
917
880
|
linear?: boolean | undefined;
|
|
881
|
+
quadratic?: boolean | undefined;
|
|
882
|
+
sinusoid?: boolean | undefined;
|
|
918
883
|
"linear-system"?: boolean | undefined;
|
|
919
884
|
segment?: boolean | undefined;
|
|
920
885
|
ray?: boolean | undefined;
|
|
921
886
|
} & {
|
|
922
887
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
888
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
923
889
|
}) | undefined;
|
|
924
890
|
} | undefined;
|
|
925
891
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -932,7 +898,6 @@ declare const InteractiveGraph: {
|
|
|
932
898
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
933
899
|
editorChangeDelay: number;
|
|
934
900
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
935
|
-
inModal: NonNullable<boolean | undefined>;
|
|
936
901
|
isArticle: NonNullable<boolean | undefined>;
|
|
937
902
|
isMobile: NonNullable<boolean | undefined>;
|
|
938
903
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -940,7 +905,6 @@ declare const InteractiveGraph: {
|
|
|
940
905
|
readOnly: NonNullable<boolean | undefined>;
|
|
941
906
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
942
907
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
943
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
944
908
|
}>;
|
|
945
909
|
keypadElement?: any;
|
|
946
910
|
questionCompleted?: boolean | undefined;
|
|
@@ -949,7 +913,7 @@ declare const InteractiveGraph: {
|
|
|
949
913
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
950
914
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
951
915
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
952
|
-
trackInteraction: (extraData?:
|
|
916
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
953
917
|
isLastUsedWidget: boolean;
|
|
954
918
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
955
919
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -966,10 +930,7 @@ declare const InteractiveGraph: {
|
|
|
966
930
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
967
931
|
showAlignmentOptions?: boolean | undefined;
|
|
968
932
|
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
|
-
*/
|
|
933
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
973
934
|
getAnotherHint?: (() => unknown) | undefined;
|
|
974
935
|
interactionCallback?: ((widgetData: {
|
|
975
936
|
[widgetId: string]: any;
|
|
@@ -990,10 +951,8 @@ declare const InteractiveGraph: {
|
|
|
990
951
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
991
952
|
isMobile?: boolean | undefined;
|
|
992
953
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
993
|
-
useDraftEditor?: boolean | undefined;
|
|
994
954
|
hintProgressColor?: string | undefined;
|
|
995
955
|
canScrollPage?: boolean | undefined;
|
|
996
|
-
inModal?: boolean | undefined;
|
|
997
956
|
crossOutEnabled?: boolean | undefined;
|
|
998
957
|
editorChangeDelay?: number | undefined;
|
|
999
958
|
flags?: {
|
|
@@ -1001,11 +960,14 @@ declare const InteractiveGraph: {
|
|
|
1001
960
|
circle?: boolean | undefined;
|
|
1002
961
|
polygon?: boolean | undefined;
|
|
1003
962
|
linear?: boolean | undefined;
|
|
963
|
+
quadratic?: boolean | undefined;
|
|
964
|
+
sinusoid?: boolean | undefined;
|
|
1004
965
|
"linear-system"?: boolean | undefined;
|
|
1005
966
|
segment?: boolean | undefined;
|
|
1006
967
|
ray?: boolean | undefined;
|
|
1007
968
|
} & {
|
|
1008
969
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
970
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1009
971
|
}) | undefined;
|
|
1010
972
|
} | undefined;
|
|
1011
973
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1018,7 +980,6 @@ declare const InteractiveGraph: {
|
|
|
1018
980
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1019
981
|
editorChangeDelay: number;
|
|
1020
982
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1021
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1022
983
|
isArticle: NonNullable<boolean | undefined>;
|
|
1023
984
|
isMobile: NonNullable<boolean | undefined>;
|
|
1024
985
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1026,7 +987,6 @@ declare const InteractiveGraph: {
|
|
|
1026
987
|
readOnly: NonNullable<boolean | undefined>;
|
|
1027
988
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1028
989
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1029
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1030
990
|
}>;
|
|
1031
991
|
keypadElement?: any;
|
|
1032
992
|
questionCompleted?: boolean | undefined;
|
|
@@ -1035,7 +995,7 @@ declare const InteractiveGraph: {
|
|
|
1035
995
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1036
996
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1037
997
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1038
|
-
trackInteraction: (extraData?:
|
|
998
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1039
999
|
isLastUsedWidget: boolean;
|
|
1040
1000
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1041
1001
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1052,10 +1012,7 @@ declare const InteractiveGraph: {
|
|
|
1052
1012
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1053
1013
|
showAlignmentOptions?: boolean | undefined;
|
|
1054
1014
|
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
|
-
*/
|
|
1015
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1059
1016
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1060
1017
|
interactionCallback?: ((widgetData: {
|
|
1061
1018
|
[widgetId: string]: any;
|
|
@@ -1076,10 +1033,8 @@ declare const InteractiveGraph: {
|
|
|
1076
1033
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1077
1034
|
isMobile?: boolean | undefined;
|
|
1078
1035
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1079
|
-
useDraftEditor?: boolean | undefined;
|
|
1080
1036
|
hintProgressColor?: string | undefined;
|
|
1081
1037
|
canScrollPage?: boolean | undefined;
|
|
1082
|
-
inModal?: boolean | undefined;
|
|
1083
1038
|
crossOutEnabled?: boolean | undefined;
|
|
1084
1039
|
editorChangeDelay?: number | undefined;
|
|
1085
1040
|
flags?: {
|
|
@@ -1087,11 +1042,14 @@ declare const InteractiveGraph: {
|
|
|
1087
1042
|
circle?: boolean | undefined;
|
|
1088
1043
|
polygon?: boolean | undefined;
|
|
1089
1044
|
linear?: boolean | undefined;
|
|
1045
|
+
quadratic?: boolean | undefined;
|
|
1046
|
+
sinusoid?: boolean | undefined;
|
|
1090
1047
|
"linear-system"?: boolean | undefined;
|
|
1091
1048
|
segment?: boolean | undefined;
|
|
1092
1049
|
ray?: boolean | undefined;
|
|
1093
1050
|
} & {
|
|
1094
1051
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1052
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1095
1053
|
}) | undefined;
|
|
1096
1054
|
} | undefined;
|
|
1097
1055
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1104,7 +1062,6 @@ declare const InteractiveGraph: {
|
|
|
1104
1062
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1105
1063
|
editorChangeDelay: number;
|
|
1106
1064
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1107
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1108
1065
|
isArticle: NonNullable<boolean | undefined>;
|
|
1109
1066
|
isMobile: NonNullable<boolean | undefined>;
|
|
1110
1067
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1112,7 +1069,6 @@ declare const InteractiveGraph: {
|
|
|
1112
1069
|
readOnly: NonNullable<boolean | undefined>;
|
|
1113
1070
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1114
1071
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1115
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1116
1072
|
}>;
|
|
1117
1073
|
keypadElement?: any;
|
|
1118
1074
|
questionCompleted?: boolean | undefined;
|
|
@@ -1121,7 +1077,7 @@ declare const InteractiveGraph: {
|
|
|
1121
1077
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1122
1078
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1123
1079
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1124
|
-
trackInteraction: (extraData?:
|
|
1080
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1125
1081
|
isLastUsedWidget: boolean;
|
|
1126
1082
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1127
1083
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1146,10 +1102,7 @@ declare const InteractiveGraph: {
|
|
|
1146
1102
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1147
1103
|
showAlignmentOptions?: boolean | undefined;
|
|
1148
1104
|
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
|
-
*/
|
|
1105
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1153
1106
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1154
1107
|
interactionCallback?: ((widgetData: {
|
|
1155
1108
|
[widgetId: string]: any;
|
|
@@ -1170,10 +1123,8 @@ declare const InteractiveGraph: {
|
|
|
1170
1123
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1171
1124
|
isMobile?: boolean | undefined;
|
|
1172
1125
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1173
|
-
useDraftEditor?: boolean | undefined;
|
|
1174
1126
|
hintProgressColor?: string | undefined;
|
|
1175
1127
|
canScrollPage?: boolean | undefined;
|
|
1176
|
-
inModal?: boolean | undefined;
|
|
1177
1128
|
crossOutEnabled?: boolean | undefined;
|
|
1178
1129
|
editorChangeDelay?: number | undefined;
|
|
1179
1130
|
flags?: {
|
|
@@ -1181,11 +1132,14 @@ declare const InteractiveGraph: {
|
|
|
1181
1132
|
circle?: boolean | undefined;
|
|
1182
1133
|
polygon?: boolean | undefined;
|
|
1183
1134
|
linear?: boolean | undefined;
|
|
1135
|
+
quadratic?: boolean | undefined;
|
|
1136
|
+
sinusoid?: boolean | undefined;
|
|
1184
1137
|
"linear-system"?: boolean | undefined;
|
|
1185
1138
|
segment?: boolean | undefined;
|
|
1186
1139
|
ray?: boolean | undefined;
|
|
1187
1140
|
} & {
|
|
1188
1141
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1142
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1189
1143
|
}) | undefined;
|
|
1190
1144
|
} | undefined;
|
|
1191
1145
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1198,7 +1152,6 @@ declare const InteractiveGraph: {
|
|
|
1198
1152
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1199
1153
|
editorChangeDelay: number;
|
|
1200
1154
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1201
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1202
1155
|
isArticle: NonNullable<boolean | undefined>;
|
|
1203
1156
|
isMobile: NonNullable<boolean | undefined>;
|
|
1204
1157
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1206,7 +1159,6 @@ declare const InteractiveGraph: {
|
|
|
1206
1159
|
readOnly: NonNullable<boolean | undefined>;
|
|
1207
1160
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1208
1161
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1209
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1210
1162
|
}>;
|
|
1211
1163
|
keypadElement?: any;
|
|
1212
1164
|
questionCompleted?: boolean | undefined;
|
|
@@ -1215,7 +1167,7 @@ declare const InteractiveGraph: {
|
|
|
1215
1167
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1216
1168
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1217
1169
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1218
|
-
trackInteraction: (extraData?:
|
|
1170
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1219
1171
|
isLastUsedWidget: boolean;
|
|
1220
1172
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1221
1173
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1239,10 +1191,7 @@ declare const InteractiveGraph: {
|
|
|
1239
1191
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1240
1192
|
showAlignmentOptions?: boolean | undefined;
|
|
1241
1193
|
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
|
-
*/
|
|
1194
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1246
1195
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1247
1196
|
interactionCallback?: ((widgetData: {
|
|
1248
1197
|
[widgetId: string]: any;
|
|
@@ -1263,10 +1212,8 @@ declare const InteractiveGraph: {
|
|
|
1263
1212
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1264
1213
|
isMobile?: boolean | undefined;
|
|
1265
1214
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1266
|
-
useDraftEditor?: boolean | undefined;
|
|
1267
1215
|
hintProgressColor?: string | undefined;
|
|
1268
1216
|
canScrollPage?: boolean | undefined;
|
|
1269
|
-
inModal?: boolean | undefined;
|
|
1270
1217
|
crossOutEnabled?: boolean | undefined;
|
|
1271
1218
|
editorChangeDelay?: number | undefined;
|
|
1272
1219
|
flags?: {
|
|
@@ -1274,11 +1221,14 @@ declare const InteractiveGraph: {
|
|
|
1274
1221
|
circle?: boolean | undefined;
|
|
1275
1222
|
polygon?: boolean | undefined;
|
|
1276
1223
|
linear?: boolean | undefined;
|
|
1224
|
+
quadratic?: boolean | undefined;
|
|
1225
|
+
sinusoid?: boolean | undefined;
|
|
1277
1226
|
"linear-system"?: boolean | undefined;
|
|
1278
1227
|
segment?: boolean | undefined;
|
|
1279
1228
|
ray?: boolean | undefined;
|
|
1280
1229
|
} & {
|
|
1281
1230
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1231
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1282
1232
|
}) | undefined;
|
|
1283
1233
|
} | undefined;
|
|
1284
1234
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1291,7 +1241,6 @@ declare const InteractiveGraph: {
|
|
|
1291
1241
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1292
1242
|
editorChangeDelay: number;
|
|
1293
1243
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1294
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1295
1244
|
isArticle: NonNullable<boolean | undefined>;
|
|
1296
1245
|
isMobile: NonNullable<boolean | undefined>;
|
|
1297
1246
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1299,7 +1248,6 @@ declare const InteractiveGraph: {
|
|
|
1299
1248
|
readOnly: NonNullable<boolean | undefined>;
|
|
1300
1249
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1301
1250
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1302
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1303
1251
|
}>;
|
|
1304
1252
|
keypadElement?: any;
|
|
1305
1253
|
questionCompleted?: boolean | undefined;
|
|
@@ -1308,7 +1256,7 @@ declare const InteractiveGraph: {
|
|
|
1308
1256
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1309
1257
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1310
1258
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1311
|
-
trackInteraction: (extraData?:
|
|
1259
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1312
1260
|
isLastUsedWidget: boolean;
|
|
1313
1261
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1314
1262
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1327,10 +1275,7 @@ declare const InteractiveGraph: {
|
|
|
1327
1275
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1328
1276
|
showAlignmentOptions?: boolean | undefined;
|
|
1329
1277
|
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
|
-
*/
|
|
1278
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1334
1279
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1335
1280
|
interactionCallback?: ((widgetData: {
|
|
1336
1281
|
[widgetId: string]: any;
|
|
@@ -1351,10 +1296,8 @@ declare const InteractiveGraph: {
|
|
|
1351
1296
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1352
1297
|
isMobile?: boolean | undefined;
|
|
1353
1298
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1354
|
-
useDraftEditor?: boolean | undefined;
|
|
1355
1299
|
hintProgressColor?: string | undefined;
|
|
1356
1300
|
canScrollPage?: boolean | undefined;
|
|
1357
|
-
inModal?: boolean | undefined;
|
|
1358
1301
|
crossOutEnabled?: boolean | undefined;
|
|
1359
1302
|
editorChangeDelay?: number | undefined;
|
|
1360
1303
|
flags?: {
|
|
@@ -1362,11 +1305,14 @@ declare const InteractiveGraph: {
|
|
|
1362
1305
|
circle?: boolean | undefined;
|
|
1363
1306
|
polygon?: boolean | undefined;
|
|
1364
1307
|
linear?: boolean | undefined;
|
|
1308
|
+
quadratic?: boolean | undefined;
|
|
1309
|
+
sinusoid?: boolean | undefined;
|
|
1365
1310
|
"linear-system"?: boolean | undefined;
|
|
1366
1311
|
segment?: boolean | undefined;
|
|
1367
1312
|
ray?: boolean | undefined;
|
|
1368
1313
|
} & {
|
|
1369
1314
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1315
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1370
1316
|
}) | undefined;
|
|
1371
1317
|
} | undefined;
|
|
1372
1318
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1379,7 +1325,6 @@ declare const InteractiveGraph: {
|
|
|
1379
1325
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1380
1326
|
editorChangeDelay: number;
|
|
1381
1327
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1382
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1383
1328
|
isArticle: NonNullable<boolean | undefined>;
|
|
1384
1329
|
isMobile: NonNullable<boolean | undefined>;
|
|
1385
1330
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1387,7 +1332,6 @@ declare const InteractiveGraph: {
|
|
|
1387
1332
|
readOnly: NonNullable<boolean | undefined>;
|
|
1388
1333
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1389
1334
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1390
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1391
1335
|
}>;
|
|
1392
1336
|
keypadElement?: any;
|
|
1393
1337
|
questionCompleted?: boolean | undefined;
|
|
@@ -1396,7 +1340,7 @@ declare const InteractiveGraph: {
|
|
|
1396
1340
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1397
1341
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1398
1342
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1399
|
-
trackInteraction: (extraData?:
|
|
1343
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1400
1344
|
isLastUsedWidget: boolean;
|
|
1401
1345
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1402
1346
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1413,10 +1357,7 @@ declare const InteractiveGraph: {
|
|
|
1413
1357
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1414
1358
|
showAlignmentOptions?: boolean | undefined;
|
|
1415
1359
|
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
|
-
*/
|
|
1360
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1420
1361
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1421
1362
|
interactionCallback?: ((widgetData: {
|
|
1422
1363
|
[widgetId: string]: any;
|
|
@@ -1437,10 +1378,8 @@ declare const InteractiveGraph: {
|
|
|
1437
1378
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1438
1379
|
isMobile?: boolean | undefined;
|
|
1439
1380
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1440
|
-
useDraftEditor?: boolean | undefined;
|
|
1441
1381
|
hintProgressColor?: string | undefined;
|
|
1442
1382
|
canScrollPage?: boolean | undefined;
|
|
1443
|
-
inModal?: boolean | undefined;
|
|
1444
1383
|
crossOutEnabled?: boolean | undefined;
|
|
1445
1384
|
editorChangeDelay?: number | undefined;
|
|
1446
1385
|
flags?: {
|
|
@@ -1448,11 +1387,14 @@ declare const InteractiveGraph: {
|
|
|
1448
1387
|
circle?: boolean | undefined;
|
|
1449
1388
|
polygon?: boolean | undefined;
|
|
1450
1389
|
linear?: boolean | undefined;
|
|
1390
|
+
quadratic?: boolean | undefined;
|
|
1391
|
+
sinusoid?: boolean | undefined;
|
|
1451
1392
|
"linear-system"?: boolean | undefined;
|
|
1452
1393
|
segment?: boolean | undefined;
|
|
1453
1394
|
ray?: boolean | undefined;
|
|
1454
1395
|
} & {
|
|
1455
1396
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1397
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1456
1398
|
}) | undefined;
|
|
1457
1399
|
} | undefined;
|
|
1458
1400
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1465,7 +1407,6 @@ declare const InteractiveGraph: {
|
|
|
1465
1407
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1466
1408
|
editorChangeDelay: number;
|
|
1467
1409
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1468
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1469
1410
|
isArticle: NonNullable<boolean | undefined>;
|
|
1470
1411
|
isMobile: NonNullable<boolean | undefined>;
|
|
1471
1412
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1473,7 +1414,6 @@ declare const InteractiveGraph: {
|
|
|
1473
1414
|
readOnly: NonNullable<boolean | undefined>;
|
|
1474
1415
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1475
1416
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1476
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1477
1417
|
}>;
|
|
1478
1418
|
keypadElement?: any;
|
|
1479
1419
|
questionCompleted?: boolean | undefined;
|
|
@@ -1482,7 +1422,7 @@ declare const InteractiveGraph: {
|
|
|
1482
1422
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1483
1423
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1484
1424
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1485
|
-
trackInteraction: (extraData?:
|
|
1425
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1486
1426
|
isLastUsedWidget: boolean;
|
|
1487
1427
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1488
1428
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1501,10 +1441,7 @@ declare const InteractiveGraph: {
|
|
|
1501
1441
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1502
1442
|
showAlignmentOptions?: boolean | undefined;
|
|
1503
1443
|
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
|
-
*/
|
|
1444
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1508
1445
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1509
1446
|
interactionCallback?: ((widgetData: {
|
|
1510
1447
|
[widgetId: string]: any;
|
|
@@ -1525,10 +1462,8 @@ declare const InteractiveGraph: {
|
|
|
1525
1462
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1526
1463
|
isMobile?: boolean | undefined;
|
|
1527
1464
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1528
|
-
useDraftEditor?: boolean | undefined;
|
|
1529
1465
|
hintProgressColor?: string | undefined;
|
|
1530
1466
|
canScrollPage?: boolean | undefined;
|
|
1531
|
-
inModal?: boolean | undefined;
|
|
1532
1467
|
crossOutEnabled?: boolean | undefined;
|
|
1533
1468
|
editorChangeDelay?: number | undefined;
|
|
1534
1469
|
flags?: {
|
|
@@ -1536,11 +1471,14 @@ declare const InteractiveGraph: {
|
|
|
1536
1471
|
circle?: boolean | undefined;
|
|
1537
1472
|
polygon?: boolean | undefined;
|
|
1538
1473
|
linear?: boolean | undefined;
|
|
1474
|
+
quadratic?: boolean | undefined;
|
|
1475
|
+
sinusoid?: boolean | undefined;
|
|
1539
1476
|
"linear-system"?: boolean | undefined;
|
|
1540
1477
|
segment?: boolean | undefined;
|
|
1541
1478
|
ray?: boolean | undefined;
|
|
1542
1479
|
} & {
|
|
1543
1480
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1481
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1544
1482
|
}) | undefined;
|
|
1545
1483
|
} | undefined;
|
|
1546
1484
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1553,7 +1491,6 @@ declare const InteractiveGraph: {
|
|
|
1553
1491
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1554
1492
|
editorChangeDelay: number;
|
|
1555
1493
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1556
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1557
1494
|
isArticle: NonNullable<boolean | undefined>;
|
|
1558
1495
|
isMobile: NonNullable<boolean | undefined>;
|
|
1559
1496
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1561,7 +1498,6 @@ declare const InteractiveGraph: {
|
|
|
1561
1498
|
readOnly: NonNullable<boolean | undefined>;
|
|
1562
1499
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1563
1500
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1564
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1565
1501
|
}>;
|
|
1566
1502
|
keypadElement?: any;
|
|
1567
1503
|
questionCompleted?: boolean | undefined;
|
|
@@ -1570,7 +1506,7 @@ declare const InteractiveGraph: {
|
|
|
1570
1506
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1571
1507
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1572
1508
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1573
|
-
trackInteraction: (extraData?:
|
|
1509
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1574
1510
|
isLastUsedWidget: boolean;
|
|
1575
1511
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1576
1512
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1587,10 +1523,7 @@ declare const InteractiveGraph: {
|
|
|
1587
1523
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1588
1524
|
showAlignmentOptions?: boolean | undefined;
|
|
1589
1525
|
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
|
-
*/
|
|
1526
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1594
1527
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1595
1528
|
interactionCallback?: ((widgetData: {
|
|
1596
1529
|
[widgetId: string]: any;
|
|
@@ -1611,10 +1544,8 @@ declare const InteractiveGraph: {
|
|
|
1611
1544
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1612
1545
|
isMobile?: boolean | undefined;
|
|
1613
1546
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1614
|
-
useDraftEditor?: boolean | undefined;
|
|
1615
1547
|
hintProgressColor?: string | undefined;
|
|
1616
1548
|
canScrollPage?: boolean | undefined;
|
|
1617
|
-
inModal?: boolean | undefined;
|
|
1618
1549
|
crossOutEnabled?: boolean | undefined;
|
|
1619
1550
|
editorChangeDelay?: number | undefined;
|
|
1620
1551
|
flags?: {
|
|
@@ -1622,11 +1553,14 @@ declare const InteractiveGraph: {
|
|
|
1622
1553
|
circle?: boolean | undefined;
|
|
1623
1554
|
polygon?: boolean | undefined;
|
|
1624
1555
|
linear?: boolean | undefined;
|
|
1556
|
+
quadratic?: boolean | undefined;
|
|
1557
|
+
sinusoid?: boolean | undefined;
|
|
1625
1558
|
"linear-system"?: boolean | undefined;
|
|
1626
1559
|
segment?: boolean | undefined;
|
|
1627
1560
|
ray?: boolean | undefined;
|
|
1628
1561
|
} & {
|
|
1629
1562
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1563
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1630
1564
|
}) | undefined;
|
|
1631
1565
|
} | undefined;
|
|
1632
1566
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1639,7 +1573,6 @@ declare const InteractiveGraph: {
|
|
|
1639
1573
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1640
1574
|
editorChangeDelay: number;
|
|
1641
1575
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1642
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1643
1576
|
isArticle: NonNullable<boolean | undefined>;
|
|
1644
1577
|
isMobile: NonNullable<boolean | undefined>;
|
|
1645
1578
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1647,7 +1580,6 @@ declare const InteractiveGraph: {
|
|
|
1647
1580
|
readOnly: NonNullable<boolean | undefined>;
|
|
1648
1581
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1649
1582
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1650
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1651
1583
|
}>;
|
|
1652
1584
|
keypadElement?: any;
|
|
1653
1585
|
questionCompleted?: boolean | undefined;
|
|
@@ -1656,7 +1588,7 @@ declare const InteractiveGraph: {
|
|
|
1656
1588
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1657
1589
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1658
1590
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1659
|
-
trackInteraction: (extraData?:
|
|
1591
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1660
1592
|
isLastUsedWidget: boolean;
|
|
1661
1593
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1662
1594
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1673,10 +1605,7 @@ declare const InteractiveGraph: {
|
|
|
1673
1605
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1674
1606
|
showAlignmentOptions?: boolean | undefined;
|
|
1675
1607
|
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
|
-
*/
|
|
1608
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1680
1609
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1681
1610
|
interactionCallback?: ((widgetData: {
|
|
1682
1611
|
[widgetId: string]: any;
|
|
@@ -1697,10 +1626,8 @@ declare const InteractiveGraph: {
|
|
|
1697
1626
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1698
1627
|
isMobile?: boolean | undefined;
|
|
1699
1628
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1700
|
-
useDraftEditor?: boolean | undefined;
|
|
1701
1629
|
hintProgressColor?: string | undefined;
|
|
1702
1630
|
canScrollPage?: boolean | undefined;
|
|
1703
|
-
inModal?: boolean | undefined;
|
|
1704
1631
|
crossOutEnabled?: boolean | undefined;
|
|
1705
1632
|
editorChangeDelay?: number | undefined;
|
|
1706
1633
|
flags?: {
|
|
@@ -1708,11 +1635,14 @@ declare const InteractiveGraph: {
|
|
|
1708
1635
|
circle?: boolean | undefined;
|
|
1709
1636
|
polygon?: boolean | undefined;
|
|
1710
1637
|
linear?: boolean | undefined;
|
|
1638
|
+
quadratic?: boolean | undefined;
|
|
1639
|
+
sinusoid?: boolean | undefined;
|
|
1711
1640
|
"linear-system"?: boolean | undefined;
|
|
1712
1641
|
segment?: boolean | undefined;
|
|
1713
1642
|
ray?: boolean | undefined;
|
|
1714
1643
|
} & {
|
|
1715
1644
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1645
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1716
1646
|
}) | undefined;
|
|
1717
1647
|
} | undefined;
|
|
1718
1648
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1725,7 +1655,6 @@ declare const InteractiveGraph: {
|
|
|
1725
1655
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1726
1656
|
editorChangeDelay: number;
|
|
1727
1657
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1728
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1729
1658
|
isArticle: NonNullable<boolean | undefined>;
|
|
1730
1659
|
isMobile: NonNullable<boolean | undefined>;
|
|
1731
1660
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1733,7 +1662,6 @@ declare const InteractiveGraph: {
|
|
|
1733
1662
|
readOnly: NonNullable<boolean | undefined>;
|
|
1734
1663
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1735
1664
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1736
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1737
1665
|
}>;
|
|
1738
1666
|
keypadElement?: any;
|
|
1739
1667
|
questionCompleted?: boolean | undefined;
|
|
@@ -1742,7 +1670,7 @@ declare const InteractiveGraph: {
|
|
|
1742
1670
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1743
1671
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1744
1672
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1745
|
-
trackInteraction: (extraData?:
|
|
1673
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1746
1674
|
isLastUsedWidget: boolean;
|
|
1747
1675
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1748
1676
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1759,10 +1687,7 @@ declare const InteractiveGraph: {
|
|
|
1759
1687
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1760
1688
|
showAlignmentOptions?: boolean | undefined;
|
|
1761
1689
|
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
|
-
*/
|
|
1690
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1766
1691
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1767
1692
|
interactionCallback?: ((widgetData: {
|
|
1768
1693
|
[widgetId: string]: any;
|
|
@@ -1783,10 +1708,8 @@ declare const InteractiveGraph: {
|
|
|
1783
1708
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1784
1709
|
isMobile?: boolean | undefined;
|
|
1785
1710
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1786
|
-
useDraftEditor?: boolean | undefined;
|
|
1787
1711
|
hintProgressColor?: string | undefined;
|
|
1788
1712
|
canScrollPage?: boolean | undefined;
|
|
1789
|
-
inModal?: boolean | undefined;
|
|
1790
1713
|
crossOutEnabled?: boolean | undefined;
|
|
1791
1714
|
editorChangeDelay?: number | undefined;
|
|
1792
1715
|
flags?: {
|
|
@@ -1794,11 +1717,14 @@ declare const InteractiveGraph: {
|
|
|
1794
1717
|
circle?: boolean | undefined;
|
|
1795
1718
|
polygon?: boolean | undefined;
|
|
1796
1719
|
linear?: boolean | undefined;
|
|
1720
|
+
quadratic?: boolean | undefined;
|
|
1721
|
+
sinusoid?: boolean | undefined;
|
|
1797
1722
|
"linear-system"?: boolean | undefined;
|
|
1798
1723
|
segment?: boolean | undefined;
|
|
1799
1724
|
ray?: boolean | undefined;
|
|
1800
1725
|
} & {
|
|
1801
1726
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1727
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1802
1728
|
}) | undefined;
|
|
1803
1729
|
} | undefined;
|
|
1804
1730
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1811,7 +1737,6 @@ declare const InteractiveGraph: {
|
|
|
1811
1737
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1812
1738
|
editorChangeDelay: number;
|
|
1813
1739
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1814
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1815
1740
|
isArticle: NonNullable<boolean | undefined>;
|
|
1816
1741
|
isMobile: NonNullable<boolean | undefined>;
|
|
1817
1742
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1819,7 +1744,6 @@ declare const InteractiveGraph: {
|
|
|
1819
1744
|
readOnly: NonNullable<boolean | undefined>;
|
|
1820
1745
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1821
1746
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1822
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1823
1747
|
}>;
|
|
1824
1748
|
keypadElement?: any;
|
|
1825
1749
|
questionCompleted?: boolean | undefined;
|
|
@@ -1828,7 +1752,7 @@ declare const InteractiveGraph: {
|
|
|
1828
1752
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1829
1753
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1830
1754
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1831
|
-
trackInteraction: (extraData?:
|
|
1755
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1832
1756
|
isLastUsedWidget: boolean;
|
|
1833
1757
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1834
1758
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1846,10 +1770,7 @@ declare const InteractiveGraph: {
|
|
|
1846
1770
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1847
1771
|
showAlignmentOptions?: boolean | undefined;
|
|
1848
1772
|
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
|
-
*/
|
|
1773
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1853
1774
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1854
1775
|
interactionCallback?: ((widgetData: {
|
|
1855
1776
|
[widgetId: string]: any;
|
|
@@ -1870,10 +1791,8 @@ declare const InteractiveGraph: {
|
|
|
1870
1791
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1871
1792
|
isMobile?: boolean | undefined;
|
|
1872
1793
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1873
|
-
useDraftEditor?: boolean | undefined;
|
|
1874
1794
|
hintProgressColor?: string | undefined;
|
|
1875
1795
|
canScrollPage?: boolean | undefined;
|
|
1876
|
-
inModal?: boolean | undefined;
|
|
1877
1796
|
crossOutEnabled?: boolean | undefined;
|
|
1878
1797
|
editorChangeDelay?: number | undefined;
|
|
1879
1798
|
flags?: {
|
|
@@ -1881,11 +1800,14 @@ declare const InteractiveGraph: {
|
|
|
1881
1800
|
circle?: boolean | undefined;
|
|
1882
1801
|
polygon?: boolean | undefined;
|
|
1883
1802
|
linear?: boolean | undefined;
|
|
1803
|
+
quadratic?: boolean | undefined;
|
|
1804
|
+
sinusoid?: boolean | undefined;
|
|
1884
1805
|
"linear-system"?: boolean | undefined;
|
|
1885
1806
|
segment?: boolean | undefined;
|
|
1886
1807
|
ray?: boolean | undefined;
|
|
1887
1808
|
} & {
|
|
1888
1809
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1810
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1889
1811
|
}) | undefined;
|
|
1890
1812
|
} | undefined;
|
|
1891
1813
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -1898,7 +1820,6 @@ declare const InteractiveGraph: {
|
|
|
1898
1820
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
1899
1821
|
editorChangeDelay: number;
|
|
1900
1822
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
1901
|
-
inModal: NonNullable<boolean | undefined>;
|
|
1902
1823
|
isArticle: NonNullable<boolean | undefined>;
|
|
1903
1824
|
isMobile: NonNullable<boolean | undefined>;
|
|
1904
1825
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -1906,7 +1827,6 @@ declare const InteractiveGraph: {
|
|
|
1906
1827
|
readOnly: NonNullable<boolean | undefined>;
|
|
1907
1828
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
1908
1829
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
1909
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
1910
1830
|
}>;
|
|
1911
1831
|
keypadElement?: any;
|
|
1912
1832
|
questionCompleted?: boolean | undefined;
|
|
@@ -1915,7 +1835,7 @@ declare const InteractiveGraph: {
|
|
|
1915
1835
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1916
1836
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1917
1837
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1918
|
-
trackInteraction: (extraData?:
|
|
1838
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
1919
1839
|
isLastUsedWidget: boolean;
|
|
1920
1840
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1921
1841
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -1956,10 +1876,7 @@ declare const InteractiveGraph: {
|
|
|
1956
1876
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
1957
1877
|
showAlignmentOptions?: boolean | undefined;
|
|
1958
1878
|
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
|
-
*/
|
|
1879
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
1963
1880
|
getAnotherHint?: (() => unknown) | undefined;
|
|
1964
1881
|
interactionCallback?: ((widgetData: {
|
|
1965
1882
|
[widgetId: string]: any;
|
|
@@ -1980,10 +1897,8 @@ declare const InteractiveGraph: {
|
|
|
1980
1897
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
1981
1898
|
isMobile?: boolean | undefined;
|
|
1982
1899
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
1983
|
-
useDraftEditor?: boolean | undefined;
|
|
1984
1900
|
hintProgressColor?: string | undefined;
|
|
1985
1901
|
canScrollPage?: boolean | undefined;
|
|
1986
|
-
inModal?: boolean | undefined;
|
|
1987
1902
|
crossOutEnabled?: boolean | undefined;
|
|
1988
1903
|
editorChangeDelay?: number | undefined;
|
|
1989
1904
|
flags?: {
|
|
@@ -1991,11 +1906,14 @@ declare const InteractiveGraph: {
|
|
|
1991
1906
|
circle?: boolean | undefined;
|
|
1992
1907
|
polygon?: boolean | undefined;
|
|
1993
1908
|
linear?: boolean | undefined;
|
|
1909
|
+
quadratic?: boolean | undefined;
|
|
1910
|
+
sinusoid?: boolean | undefined;
|
|
1994
1911
|
"linear-system"?: boolean | undefined;
|
|
1995
1912
|
segment?: boolean | undefined;
|
|
1996
1913
|
ray?: boolean | undefined;
|
|
1997
1914
|
} & {
|
|
1998
1915
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1916
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
1999
1917
|
}) | undefined;
|
|
2000
1918
|
} | undefined;
|
|
2001
1919
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2008,7 +1926,6 @@ declare const InteractiveGraph: {
|
|
|
2008
1926
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2009
1927
|
editorChangeDelay: number;
|
|
2010
1928
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2011
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2012
1929
|
isArticle: NonNullable<boolean | undefined>;
|
|
2013
1930
|
isMobile: NonNullable<boolean | undefined>;
|
|
2014
1931
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2016,7 +1933,6 @@ declare const InteractiveGraph: {
|
|
|
2016
1933
|
readOnly: NonNullable<boolean | undefined>;
|
|
2017
1934
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2018
1935
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2019
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2020
1936
|
}>;
|
|
2021
1937
|
keypadElement?: any;
|
|
2022
1938
|
questionCompleted?: boolean | undefined;
|
|
@@ -2025,7 +1941,7 @@ declare const InteractiveGraph: {
|
|
|
2025
1941
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2026
1942
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2027
1943
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2028
|
-
trackInteraction: (extraData?:
|
|
1944
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2029
1945
|
isLastUsedWidget: boolean;
|
|
2030
1946
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2031
1947
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2042,10 +1958,7 @@ declare const InteractiveGraph: {
|
|
|
2042
1958
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2043
1959
|
showAlignmentOptions?: boolean | undefined;
|
|
2044
1960
|
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
|
-
*/
|
|
1961
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2049
1962
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2050
1963
|
interactionCallback?: ((widgetData: {
|
|
2051
1964
|
[widgetId: string]: any;
|
|
@@ -2066,10 +1979,8 @@ declare const InteractiveGraph: {
|
|
|
2066
1979
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2067
1980
|
isMobile?: boolean | undefined;
|
|
2068
1981
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2069
|
-
useDraftEditor?: boolean | undefined;
|
|
2070
1982
|
hintProgressColor?: string | undefined;
|
|
2071
1983
|
canScrollPage?: boolean | undefined;
|
|
2072
|
-
inModal?: boolean | undefined;
|
|
2073
1984
|
crossOutEnabled?: boolean | undefined;
|
|
2074
1985
|
editorChangeDelay?: number | undefined;
|
|
2075
1986
|
flags?: {
|
|
@@ -2077,11 +1988,14 @@ declare const InteractiveGraph: {
|
|
|
2077
1988
|
circle?: boolean | undefined;
|
|
2078
1989
|
polygon?: boolean | undefined;
|
|
2079
1990
|
linear?: boolean | undefined;
|
|
1991
|
+
quadratic?: boolean | undefined;
|
|
1992
|
+
sinusoid?: boolean | undefined;
|
|
2080
1993
|
"linear-system"?: boolean | undefined;
|
|
2081
1994
|
segment?: boolean | undefined;
|
|
2082
1995
|
ray?: boolean | undefined;
|
|
2083
1996
|
} & {
|
|
2084
1997
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
1998
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2085
1999
|
}) | undefined;
|
|
2086
2000
|
} | undefined;
|
|
2087
2001
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2094,7 +2008,6 @@ declare const InteractiveGraph: {
|
|
|
2094
2008
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2095
2009
|
editorChangeDelay: number;
|
|
2096
2010
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2097
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2098
2011
|
isArticle: NonNullable<boolean | undefined>;
|
|
2099
2012
|
isMobile: NonNullable<boolean | undefined>;
|
|
2100
2013
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2102,7 +2015,6 @@ declare const InteractiveGraph: {
|
|
|
2102
2015
|
readOnly: NonNullable<boolean | undefined>;
|
|
2103
2016
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2104
2017
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2105
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2106
2018
|
}>;
|
|
2107
2019
|
keypadElement?: any;
|
|
2108
2020
|
questionCompleted?: boolean | undefined;
|
|
@@ -2111,7 +2023,7 @@ declare const InteractiveGraph: {
|
|
|
2111
2023
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2112
2024
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2113
2025
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2114
|
-
trackInteraction: (extraData?:
|
|
2026
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2115
2027
|
isLastUsedWidget: boolean;
|
|
2116
2028
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2117
2029
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2128,10 +2040,7 @@ declare const InteractiveGraph: {
|
|
|
2128
2040
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2129
2041
|
showAlignmentOptions?: boolean | undefined;
|
|
2130
2042
|
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
|
-
*/
|
|
2043
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2135
2044
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2136
2045
|
interactionCallback?: ((widgetData: {
|
|
2137
2046
|
[widgetId: string]: any;
|
|
@@ -2152,10 +2061,8 @@ declare const InteractiveGraph: {
|
|
|
2152
2061
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2153
2062
|
isMobile?: boolean | undefined;
|
|
2154
2063
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2155
|
-
useDraftEditor?: boolean | undefined;
|
|
2156
2064
|
hintProgressColor?: string | undefined;
|
|
2157
2065
|
canScrollPage?: boolean | undefined;
|
|
2158
|
-
inModal?: boolean | undefined;
|
|
2159
2066
|
crossOutEnabled?: boolean | undefined;
|
|
2160
2067
|
editorChangeDelay?: number | undefined;
|
|
2161
2068
|
flags?: {
|
|
@@ -2163,11 +2070,14 @@ declare const InteractiveGraph: {
|
|
|
2163
2070
|
circle?: boolean | undefined;
|
|
2164
2071
|
polygon?: boolean | undefined;
|
|
2165
2072
|
linear?: boolean | undefined;
|
|
2073
|
+
quadratic?: boolean | undefined;
|
|
2074
|
+
sinusoid?: boolean | undefined;
|
|
2166
2075
|
"linear-system"?: boolean | undefined;
|
|
2167
2076
|
segment?: boolean | undefined;
|
|
2168
2077
|
ray?: boolean | undefined;
|
|
2169
2078
|
} & {
|
|
2170
2079
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2080
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2171
2081
|
}) | undefined;
|
|
2172
2082
|
} | undefined;
|
|
2173
2083
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2180,7 +2090,6 @@ declare const InteractiveGraph: {
|
|
|
2180
2090
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2181
2091
|
editorChangeDelay: number;
|
|
2182
2092
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2183
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2184
2093
|
isArticle: NonNullable<boolean | undefined>;
|
|
2185
2094
|
isMobile: NonNullable<boolean | undefined>;
|
|
2186
2095
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2188,7 +2097,6 @@ declare const InteractiveGraph: {
|
|
|
2188
2097
|
readOnly: NonNullable<boolean | undefined>;
|
|
2189
2098
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2190
2099
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2191
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2192
2100
|
}>;
|
|
2193
2101
|
keypadElement?: any;
|
|
2194
2102
|
questionCompleted?: boolean | undefined;
|
|
@@ -2197,7 +2105,7 @@ declare const InteractiveGraph: {
|
|
|
2197
2105
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2198
2106
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2199
2107
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2200
|
-
trackInteraction: (extraData?:
|
|
2108
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2201
2109
|
isLastUsedWidget: boolean;
|
|
2202
2110
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2203
2111
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2222,10 +2130,7 @@ declare const InteractiveGraph: {
|
|
|
2222
2130
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2223
2131
|
showAlignmentOptions?: boolean | undefined;
|
|
2224
2132
|
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
|
-
*/
|
|
2133
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2229
2134
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2230
2135
|
interactionCallback?: ((widgetData: {
|
|
2231
2136
|
[widgetId: string]: any;
|
|
@@ -2246,10 +2151,8 @@ declare const InteractiveGraph: {
|
|
|
2246
2151
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2247
2152
|
isMobile?: boolean | undefined;
|
|
2248
2153
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2249
|
-
useDraftEditor?: boolean | undefined;
|
|
2250
2154
|
hintProgressColor?: string | undefined;
|
|
2251
2155
|
canScrollPage?: boolean | undefined;
|
|
2252
|
-
inModal?: boolean | undefined;
|
|
2253
2156
|
crossOutEnabled?: boolean | undefined;
|
|
2254
2157
|
editorChangeDelay?: number | undefined;
|
|
2255
2158
|
flags?: {
|
|
@@ -2257,11 +2160,14 @@ declare const InteractiveGraph: {
|
|
|
2257
2160
|
circle?: boolean | undefined;
|
|
2258
2161
|
polygon?: boolean | undefined;
|
|
2259
2162
|
linear?: boolean | undefined;
|
|
2163
|
+
quadratic?: boolean | undefined;
|
|
2164
|
+
sinusoid?: boolean | undefined;
|
|
2260
2165
|
"linear-system"?: boolean | undefined;
|
|
2261
2166
|
segment?: boolean | undefined;
|
|
2262
2167
|
ray?: boolean | undefined;
|
|
2263
2168
|
} & {
|
|
2264
2169
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2170
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2265
2171
|
}) | undefined;
|
|
2266
2172
|
} | undefined;
|
|
2267
2173
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2274,7 +2180,6 @@ declare const InteractiveGraph: {
|
|
|
2274
2180
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2275
2181
|
editorChangeDelay: number;
|
|
2276
2182
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2277
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2278
2183
|
isArticle: NonNullable<boolean | undefined>;
|
|
2279
2184
|
isMobile: NonNullable<boolean | undefined>;
|
|
2280
2185
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2282,7 +2187,6 @@ declare const InteractiveGraph: {
|
|
|
2282
2187
|
readOnly: NonNullable<boolean | undefined>;
|
|
2283
2188
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2284
2189
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2285
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2286
2190
|
}>;
|
|
2287
2191
|
keypadElement?: any;
|
|
2288
2192
|
questionCompleted?: boolean | undefined;
|
|
@@ -2291,15 +2195,15 @@ declare const InteractiveGraph: {
|
|
|
2291
2195
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2292
2196
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2293
2197
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2294
|
-
trackInteraction: (extraData?:
|
|
2198
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2295
2199
|
isLastUsedWidget: boolean;
|
|
2296
2200
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2297
2201
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2298
|
-
}) | null | undefined) => boolean;
|
|
2299
|
-
* The size of the graph in pixels.
|
|
2300
|
-
*/
|
|
2202
|
+
}) | null | undefined) => boolean;
|
|
2301
2203
|
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;
|
|
2204
|
+
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean; /**
|
|
2205
|
+
* The background image to display in the graph area and its properties.
|
|
2206
|
+
*/
|
|
2303
2207
|
arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
2304
2208
|
areSegmentGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
2305
2209
|
_lineStroke: () => {
|
|
@@ -2307,11 +2211,11 @@ declare const InteractiveGraph: {
|
|
|
2307
2211
|
};
|
|
2308
2212
|
addLine: (arg1: string) => void;
|
|
2309
2213
|
removeLine: () => void;
|
|
2310
|
-
addLinearControls: () => void;
|
|
2311
|
-
* Whether to show the protractor on the graph.
|
|
2312
|
-
*/
|
|
2214
|
+
addLinearControls: () => void;
|
|
2313
2215
|
removeLinearControls: () => void;
|
|
2314
|
-
addQuadraticControls: () => void;
|
|
2216
|
+
addQuadraticControls: () => void; /**
|
|
2217
|
+
* Whether to show the ruler on the graph.
|
|
2218
|
+
*/
|
|
2315
2219
|
updateQuadratic: () => void;
|
|
2316
2220
|
removeQuadraticControls: () => void;
|
|
2317
2221
|
addSinusoidControls: () => void;
|
|
@@ -2320,9 +2224,7 @@ declare const InteractiveGraph: {
|
|
|
2320
2224
|
addCircleControls: () => void;
|
|
2321
2225
|
removeCircleControls: () => void;
|
|
2322
2226
|
addLinearSystemControls: () => void;
|
|
2323
|
-
removeLinearSystemControls: () => void;
|
|
2324
|
-
* The number of ticks to display on the ruler.
|
|
2325
|
-
*/
|
|
2227
|
+
removeLinearSystemControls: () => void;
|
|
2326
2228
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
2327
2229
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
2328
2230
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
@@ -2333,14 +2235,20 @@ declare const InteractiveGraph: {
|
|
|
2333
2235
|
addPointControls: () => void;
|
|
2334
2236
|
removePointControls: () => void;
|
|
2335
2237
|
addSegmentControls: () => void;
|
|
2336
|
-
removeSegmentControls: () => void;
|
|
2238
|
+
removeSegmentControls: () => void; /**
|
|
2239
|
+
* The locked figures to display in the graph area.
|
|
2240
|
+
* Locked figures are graph elements (points, lines, line segmeents,
|
|
2241
|
+
* etc.) that are locked in place and not interactive.
|
|
2242
|
+
*/
|
|
2337
2243
|
addRayControls: () => void;
|
|
2338
2244
|
removeRayControls: () => void;
|
|
2339
2245
|
addPolygonControls: () => void;
|
|
2340
2246
|
updatePolygon: () => void;
|
|
2341
2247
|
removePolygonControls: () => void;
|
|
2342
2248
|
addAngleControls: () => void;
|
|
2343
|
-
removeAngleControls: () => void;
|
|
2249
|
+
removeAngleControls: () => void; /**
|
|
2250
|
+
* The graph to display in the graph area.
|
|
2251
|
+
*/
|
|
2344
2252
|
toggleShowSides: () => void;
|
|
2345
2253
|
getUserInput(): import("@khanacademy/perseus").PerseusGraphType;
|
|
2346
2254
|
simpleValidate(rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric): import("@khanacademy/perseus").PerseusScore;
|
|
@@ -2360,10 +2268,7 @@ declare const InteractiveGraph: {
|
|
|
2360
2268
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2361
2269
|
showAlignmentOptions?: boolean | undefined;
|
|
2362
2270
|
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
|
-
*/
|
|
2271
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2367
2272
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2368
2273
|
interactionCallback?: ((widgetData: {
|
|
2369
2274
|
[widgetId: string]: any;
|
|
@@ -2384,10 +2289,8 @@ declare const InteractiveGraph: {
|
|
|
2384
2289
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2385
2290
|
isMobile?: boolean | undefined;
|
|
2386
2291
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2387
|
-
useDraftEditor?: boolean | undefined;
|
|
2388
2292
|
hintProgressColor?: string | undefined;
|
|
2389
2293
|
canScrollPage?: boolean | undefined;
|
|
2390
|
-
inModal?: boolean | undefined;
|
|
2391
2294
|
crossOutEnabled?: boolean | undefined;
|
|
2392
2295
|
editorChangeDelay?: number | undefined;
|
|
2393
2296
|
flags?: {
|
|
@@ -2395,11 +2298,14 @@ declare const InteractiveGraph: {
|
|
|
2395
2298
|
circle?: boolean | undefined;
|
|
2396
2299
|
polygon?: boolean | undefined;
|
|
2397
2300
|
linear?: boolean | undefined;
|
|
2301
|
+
quadratic?: boolean | undefined;
|
|
2302
|
+
sinusoid?: boolean | undefined;
|
|
2398
2303
|
"linear-system"?: boolean | undefined;
|
|
2399
2304
|
segment?: boolean | undefined;
|
|
2400
2305
|
ray?: boolean | undefined;
|
|
2401
2306
|
} & {
|
|
2402
2307
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2308
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2403
2309
|
}) | undefined;
|
|
2404
2310
|
} | undefined;
|
|
2405
2311
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2412,7 +2318,6 @@ declare const InteractiveGraph: {
|
|
|
2412
2318
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2413
2319
|
editorChangeDelay: number;
|
|
2414
2320
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2415
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2416
2321
|
isArticle: NonNullable<boolean | undefined>;
|
|
2417
2322
|
isMobile: NonNullable<boolean | undefined>;
|
|
2418
2323
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2420,7 +2325,6 @@ declare const InteractiveGraph: {
|
|
|
2420
2325
|
readOnly: NonNullable<boolean | undefined>;
|
|
2421
2326
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2422
2327
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2423
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2424
2328
|
}>;
|
|
2425
2329
|
keypadElement?: any;
|
|
2426
2330
|
questionCompleted?: boolean | undefined;
|
|
@@ -2429,7 +2333,7 @@ declare const InteractiveGraph: {
|
|
|
2429
2333
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2430
2334
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2431
2335
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2432
|
-
trackInteraction: (extraData?:
|
|
2336
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2433
2337
|
isLastUsedWidget: boolean;
|
|
2434
2338
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2435
2339
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2451,10 +2355,7 @@ declare const InteractiveGraph: {
|
|
|
2451
2355
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2452
2356
|
showAlignmentOptions?: boolean | undefined;
|
|
2453
2357
|
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
|
-
*/
|
|
2358
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2458
2359
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2459
2360
|
interactionCallback?: ((widgetData: {
|
|
2460
2361
|
[widgetId: string]: any;
|
|
@@ -2475,10 +2376,8 @@ declare const InteractiveGraph: {
|
|
|
2475
2376
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2476
2377
|
isMobile?: boolean | undefined;
|
|
2477
2378
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2478
|
-
useDraftEditor?: boolean | undefined;
|
|
2479
2379
|
hintProgressColor?: string | undefined;
|
|
2480
2380
|
canScrollPage?: boolean | undefined;
|
|
2481
|
-
inModal?: boolean | undefined;
|
|
2482
2381
|
crossOutEnabled?: boolean | undefined;
|
|
2483
2382
|
editorChangeDelay?: number | undefined;
|
|
2484
2383
|
flags?: {
|
|
@@ -2486,11 +2385,14 @@ declare const InteractiveGraph: {
|
|
|
2486
2385
|
circle?: boolean | undefined;
|
|
2487
2386
|
polygon?: boolean | undefined;
|
|
2488
2387
|
linear?: boolean | undefined;
|
|
2388
|
+
quadratic?: boolean | undefined;
|
|
2389
|
+
sinusoid?: boolean | undefined;
|
|
2489
2390
|
"linear-system"?: boolean | undefined;
|
|
2490
2391
|
segment?: boolean | undefined;
|
|
2491
2392
|
ray?: boolean | undefined;
|
|
2492
2393
|
} & {
|
|
2493
2394
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2395
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2494
2396
|
}) | undefined;
|
|
2495
2397
|
} | undefined;
|
|
2496
2398
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2503,7 +2405,6 @@ declare const InteractiveGraph: {
|
|
|
2503
2405
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2504
2406
|
editorChangeDelay: number;
|
|
2505
2407
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2506
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2507
2408
|
isArticle: NonNullable<boolean | undefined>;
|
|
2508
2409
|
isMobile: NonNullable<boolean | undefined>;
|
|
2509
2410
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2511,7 +2412,6 @@ declare const InteractiveGraph: {
|
|
|
2511
2412
|
readOnly: NonNullable<boolean | undefined>;
|
|
2512
2413
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2513
2414
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2514
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2515
2415
|
}>;
|
|
2516
2416
|
keypadElement?: any;
|
|
2517
2417
|
questionCompleted?: boolean | undefined;
|
|
@@ -2520,7 +2420,7 @@ declare const InteractiveGraph: {
|
|
|
2520
2420
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2521
2421
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2522
2422
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2523
|
-
trackInteraction: (extraData?:
|
|
2423
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2524
2424
|
isLastUsedWidget: boolean;
|
|
2525
2425
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2526
2426
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2539,10 +2439,7 @@ declare const InteractiveGraph: {
|
|
|
2539
2439
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2540
2440
|
showAlignmentOptions?: boolean | undefined;
|
|
2541
2441
|
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
|
-
*/
|
|
2442
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2546
2443
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2547
2444
|
interactionCallback?: ((widgetData: {
|
|
2548
2445
|
[widgetId: string]: any;
|
|
@@ -2563,10 +2460,8 @@ declare const InteractiveGraph: {
|
|
|
2563
2460
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2564
2461
|
isMobile?: boolean | undefined;
|
|
2565
2462
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2566
|
-
useDraftEditor?: boolean | undefined;
|
|
2567
2463
|
hintProgressColor?: string | undefined;
|
|
2568
2464
|
canScrollPage?: boolean | undefined;
|
|
2569
|
-
inModal?: boolean | undefined;
|
|
2570
2465
|
crossOutEnabled?: boolean | undefined;
|
|
2571
2466
|
editorChangeDelay?: number | undefined;
|
|
2572
2467
|
flags?: {
|
|
@@ -2574,11 +2469,14 @@ declare const InteractiveGraph: {
|
|
|
2574
2469
|
circle?: boolean | undefined;
|
|
2575
2470
|
polygon?: boolean | undefined;
|
|
2576
2471
|
linear?: boolean | undefined;
|
|
2472
|
+
quadratic?: boolean | undefined;
|
|
2473
|
+
sinusoid?: boolean | undefined;
|
|
2577
2474
|
"linear-system"?: boolean | undefined;
|
|
2578
2475
|
segment?: boolean | undefined;
|
|
2579
2476
|
ray?: boolean | undefined;
|
|
2580
2477
|
} & {
|
|
2581
2478
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2479
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2582
2480
|
}) | undefined;
|
|
2583
2481
|
} | undefined;
|
|
2584
2482
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2591,7 +2489,6 @@ declare const InteractiveGraph: {
|
|
|
2591
2489
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2592
2490
|
editorChangeDelay: number;
|
|
2593
2491
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2594
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2595
2492
|
isArticle: NonNullable<boolean | undefined>;
|
|
2596
2493
|
isMobile: NonNullable<boolean | undefined>;
|
|
2597
2494
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2599,7 +2496,6 @@ declare const InteractiveGraph: {
|
|
|
2599
2496
|
readOnly: NonNullable<boolean | undefined>;
|
|
2600
2497
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2601
2498
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2602
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2603
2499
|
}>;
|
|
2604
2500
|
keypadElement?: any;
|
|
2605
2501
|
questionCompleted?: boolean | undefined;
|
|
@@ -2608,7 +2504,7 @@ declare const InteractiveGraph: {
|
|
|
2608
2504
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2609
2505
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2610
2506
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2611
|
-
trackInteraction: (extraData?:
|
|
2507
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2612
2508
|
isLastUsedWidget: boolean;
|
|
2613
2509
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2614
2510
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2626,10 +2522,7 @@ declare const InteractiveGraph: {
|
|
|
2626
2522
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2627
2523
|
showAlignmentOptions?: boolean | undefined;
|
|
2628
2524
|
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
|
-
*/
|
|
2525
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2633
2526
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2634
2527
|
interactionCallback?: ((widgetData: {
|
|
2635
2528
|
[widgetId: string]: any;
|
|
@@ -2650,10 +2543,8 @@ declare const InteractiveGraph: {
|
|
|
2650
2543
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2651
2544
|
isMobile?: boolean | undefined;
|
|
2652
2545
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2653
|
-
useDraftEditor?: boolean | undefined;
|
|
2654
2546
|
hintProgressColor?: string | undefined;
|
|
2655
2547
|
canScrollPage?: boolean | undefined;
|
|
2656
|
-
inModal?: boolean | undefined;
|
|
2657
2548
|
crossOutEnabled?: boolean | undefined;
|
|
2658
2549
|
editorChangeDelay?: number | undefined;
|
|
2659
2550
|
flags?: {
|
|
@@ -2661,11 +2552,14 @@ declare const InteractiveGraph: {
|
|
|
2661
2552
|
circle?: boolean | undefined;
|
|
2662
2553
|
polygon?: boolean | undefined;
|
|
2663
2554
|
linear?: boolean | undefined;
|
|
2555
|
+
quadratic?: boolean | undefined;
|
|
2556
|
+
sinusoid?: boolean | undefined;
|
|
2664
2557
|
"linear-system"?: boolean | undefined;
|
|
2665
2558
|
segment?: boolean | undefined;
|
|
2666
2559
|
ray?: boolean | undefined;
|
|
2667
2560
|
} & {
|
|
2668
2561
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2562
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2669
2563
|
}) | undefined;
|
|
2670
2564
|
} | undefined;
|
|
2671
2565
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2678,7 +2572,6 @@ declare const InteractiveGraph: {
|
|
|
2678
2572
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2679
2573
|
editorChangeDelay: number;
|
|
2680
2574
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2681
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2682
2575
|
isArticle: NonNullable<boolean | undefined>;
|
|
2683
2576
|
isMobile: NonNullable<boolean | undefined>;
|
|
2684
2577
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2686,7 +2579,6 @@ declare const InteractiveGraph: {
|
|
|
2686
2579
|
readOnly: NonNullable<boolean | undefined>;
|
|
2687
2580
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2688
2581
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2689
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2690
2582
|
}>;
|
|
2691
2583
|
keypadElement?: any;
|
|
2692
2584
|
questionCompleted?: boolean | undefined;
|
|
@@ -2695,7 +2587,7 @@ declare const InteractiveGraph: {
|
|
|
2695
2587
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2696
2588
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2697
2589
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2698
|
-
trackInteraction: (extraData?:
|
|
2590
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2699
2591
|
isLastUsedWidget: boolean;
|
|
2700
2592
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2701
2593
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2712,10 +2604,7 @@ declare const InteractiveGraph: {
|
|
|
2712
2604
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2713
2605
|
showAlignmentOptions?: boolean | undefined;
|
|
2714
2606
|
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
|
-
*/
|
|
2607
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2719
2608
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2720
2609
|
interactionCallback?: ((widgetData: {
|
|
2721
2610
|
[widgetId: string]: any;
|
|
@@ -2736,10 +2625,8 @@ declare const InteractiveGraph: {
|
|
|
2736
2625
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2737
2626
|
isMobile?: boolean | undefined;
|
|
2738
2627
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2739
|
-
useDraftEditor?: boolean | undefined;
|
|
2740
2628
|
hintProgressColor?: string | undefined;
|
|
2741
2629
|
canScrollPage?: boolean | undefined;
|
|
2742
|
-
inModal?: boolean | undefined;
|
|
2743
2630
|
crossOutEnabled?: boolean | undefined;
|
|
2744
2631
|
editorChangeDelay?: number | undefined;
|
|
2745
2632
|
flags?: {
|
|
@@ -2747,11 +2634,14 @@ declare const InteractiveGraph: {
|
|
|
2747
2634
|
circle?: boolean | undefined;
|
|
2748
2635
|
polygon?: boolean | undefined;
|
|
2749
2636
|
linear?: boolean | undefined;
|
|
2637
|
+
quadratic?: boolean | undefined;
|
|
2638
|
+
sinusoid?: boolean | undefined;
|
|
2750
2639
|
"linear-system"?: boolean | undefined;
|
|
2751
2640
|
segment?: boolean | undefined;
|
|
2752
2641
|
ray?: boolean | undefined;
|
|
2753
2642
|
} & {
|
|
2754
2643
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2644
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2755
2645
|
}) | undefined;
|
|
2756
2646
|
} | undefined;
|
|
2757
2647
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2764,7 +2654,6 @@ declare const InteractiveGraph: {
|
|
|
2764
2654
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2765
2655
|
editorChangeDelay: number;
|
|
2766
2656
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2767
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2768
2657
|
isArticle: NonNullable<boolean | undefined>;
|
|
2769
2658
|
isMobile: NonNullable<boolean | undefined>;
|
|
2770
2659
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2772,7 +2661,6 @@ declare const InteractiveGraph: {
|
|
|
2772
2661
|
readOnly: NonNullable<boolean | undefined>;
|
|
2773
2662
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2774
2663
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2775
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2776
2664
|
}>;
|
|
2777
2665
|
keypadElement?: any;
|
|
2778
2666
|
questionCompleted?: boolean | undefined;
|
|
@@ -2781,7 +2669,7 @@ declare const InteractiveGraph: {
|
|
|
2781
2669
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2782
2670
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2783
2671
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2784
|
-
trackInteraction: (extraData?:
|
|
2672
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2785
2673
|
isLastUsedWidget: boolean;
|
|
2786
2674
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2787
2675
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2798,10 +2686,7 @@ declare const InteractiveGraph: {
|
|
|
2798
2686
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2799
2687
|
showAlignmentOptions?: boolean | undefined;
|
|
2800
2688
|
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
|
-
*/
|
|
2689
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2805
2690
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2806
2691
|
interactionCallback?: ((widgetData: {
|
|
2807
2692
|
[widgetId: string]: any;
|
|
@@ -2822,10 +2707,8 @@ declare const InteractiveGraph: {
|
|
|
2822
2707
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2823
2708
|
isMobile?: boolean | undefined;
|
|
2824
2709
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2825
|
-
useDraftEditor?: boolean | undefined;
|
|
2826
2710
|
hintProgressColor?: string | undefined;
|
|
2827
2711
|
canScrollPage?: boolean | undefined;
|
|
2828
|
-
inModal?: boolean | undefined;
|
|
2829
2712
|
crossOutEnabled?: boolean | undefined;
|
|
2830
2713
|
editorChangeDelay?: number | undefined;
|
|
2831
2714
|
flags?: {
|
|
@@ -2833,11 +2716,14 @@ declare const InteractiveGraph: {
|
|
|
2833
2716
|
circle?: boolean | undefined;
|
|
2834
2717
|
polygon?: boolean | undefined;
|
|
2835
2718
|
linear?: boolean | undefined;
|
|
2719
|
+
quadratic?: boolean | undefined;
|
|
2720
|
+
sinusoid?: boolean | undefined;
|
|
2836
2721
|
"linear-system"?: boolean | undefined;
|
|
2837
2722
|
segment?: boolean | undefined;
|
|
2838
2723
|
ray?: boolean | undefined;
|
|
2839
2724
|
} & {
|
|
2840
2725
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2726
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2841
2727
|
}) | undefined;
|
|
2842
2728
|
} | undefined;
|
|
2843
2729
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2850,7 +2736,6 @@ declare const InteractiveGraph: {
|
|
|
2850
2736
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2851
2737
|
editorChangeDelay: number;
|
|
2852
2738
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2853
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2854
2739
|
isArticle: NonNullable<boolean | undefined>;
|
|
2855
2740
|
isMobile: NonNullable<boolean | undefined>;
|
|
2856
2741
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2858,7 +2743,6 @@ declare const InteractiveGraph: {
|
|
|
2858
2743
|
readOnly: NonNullable<boolean | undefined>;
|
|
2859
2744
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2860
2745
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2861
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2862
2746
|
}>;
|
|
2863
2747
|
keypadElement?: any;
|
|
2864
2748
|
questionCompleted?: boolean | undefined;
|
|
@@ -2867,7 +2751,7 @@ declare const InteractiveGraph: {
|
|
|
2867
2751
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2868
2752
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2869
2753
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2870
|
-
trackInteraction: (extraData?:
|
|
2754
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2871
2755
|
isLastUsedWidget: boolean;
|
|
2872
2756
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2873
2757
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2892,10 +2776,7 @@ declare const InteractiveGraph: {
|
|
|
2892
2776
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2893
2777
|
showAlignmentOptions?: boolean | undefined;
|
|
2894
2778
|
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
|
-
*/
|
|
2779
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2899
2780
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2900
2781
|
interactionCallback?: ((widgetData: {
|
|
2901
2782
|
[widgetId: string]: any;
|
|
@@ -2916,10 +2797,8 @@ declare const InteractiveGraph: {
|
|
|
2916
2797
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
2917
2798
|
isMobile?: boolean | undefined;
|
|
2918
2799
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
2919
|
-
useDraftEditor?: boolean | undefined;
|
|
2920
2800
|
hintProgressColor?: string | undefined;
|
|
2921
2801
|
canScrollPage?: boolean | undefined;
|
|
2922
|
-
inModal?: boolean | undefined;
|
|
2923
2802
|
crossOutEnabled?: boolean | undefined;
|
|
2924
2803
|
editorChangeDelay?: number | undefined;
|
|
2925
2804
|
flags?: {
|
|
@@ -2927,11 +2806,14 @@ declare const InteractiveGraph: {
|
|
|
2927
2806
|
circle?: boolean | undefined;
|
|
2928
2807
|
polygon?: boolean | undefined;
|
|
2929
2808
|
linear?: boolean | undefined;
|
|
2809
|
+
quadratic?: boolean | undefined;
|
|
2810
|
+
sinusoid?: boolean | undefined;
|
|
2930
2811
|
"linear-system"?: boolean | undefined;
|
|
2931
2812
|
segment?: boolean | undefined;
|
|
2932
2813
|
ray?: boolean | undefined;
|
|
2933
2814
|
} & {
|
|
2934
2815
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2816
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
2935
2817
|
}) | undefined;
|
|
2936
2818
|
} | undefined;
|
|
2937
2819
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -2944,7 +2826,6 @@ declare const InteractiveGraph: {
|
|
|
2944
2826
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
2945
2827
|
editorChangeDelay: number;
|
|
2946
2828
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
2947
|
-
inModal: NonNullable<boolean | undefined>;
|
|
2948
2829
|
isArticle: NonNullable<boolean | undefined>;
|
|
2949
2830
|
isMobile: NonNullable<boolean | undefined>;
|
|
2950
2831
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -2952,7 +2833,6 @@ declare const InteractiveGraph: {
|
|
|
2952
2833
|
readOnly: NonNullable<boolean | undefined>;
|
|
2953
2834
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
2954
2835
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
2955
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
2956
2836
|
}>;
|
|
2957
2837
|
keypadElement?: any;
|
|
2958
2838
|
questionCompleted?: boolean | undefined;
|
|
@@ -2961,7 +2841,7 @@ declare const InteractiveGraph: {
|
|
|
2961
2841
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2962
2842
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2963
2843
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2964
|
-
trackInteraction: (extraData?:
|
|
2844
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
2965
2845
|
isLastUsedWidget: boolean;
|
|
2966
2846
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2967
2847
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -2985,10 +2865,7 @@ declare const InteractiveGraph: {
|
|
|
2985
2865
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
2986
2866
|
showAlignmentOptions?: boolean | undefined;
|
|
2987
2867
|
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
|
-
*/
|
|
2868
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
2992
2869
|
getAnotherHint?: (() => unknown) | undefined;
|
|
2993
2870
|
interactionCallback?: ((widgetData: {
|
|
2994
2871
|
[widgetId: string]: any;
|
|
@@ -3009,10 +2886,8 @@ declare const InteractiveGraph: {
|
|
|
3009
2886
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3010
2887
|
isMobile?: boolean | undefined;
|
|
3011
2888
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3012
|
-
useDraftEditor?: boolean | undefined;
|
|
3013
2889
|
hintProgressColor?: string | undefined;
|
|
3014
2890
|
canScrollPage?: boolean | undefined;
|
|
3015
|
-
inModal?: boolean | undefined;
|
|
3016
2891
|
crossOutEnabled?: boolean | undefined;
|
|
3017
2892
|
editorChangeDelay?: number | undefined;
|
|
3018
2893
|
flags?: {
|
|
@@ -3020,11 +2895,14 @@ declare const InteractiveGraph: {
|
|
|
3020
2895
|
circle?: boolean | undefined;
|
|
3021
2896
|
polygon?: boolean | undefined;
|
|
3022
2897
|
linear?: boolean | undefined;
|
|
2898
|
+
quadratic?: boolean | undefined;
|
|
2899
|
+
sinusoid?: boolean | undefined;
|
|
3023
2900
|
"linear-system"?: boolean | undefined;
|
|
3024
2901
|
segment?: boolean | undefined;
|
|
3025
2902
|
ray?: boolean | undefined;
|
|
3026
2903
|
} & {
|
|
3027
2904
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2905
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3028
2906
|
}) | undefined;
|
|
3029
2907
|
} | undefined;
|
|
3030
2908
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3037,7 +2915,6 @@ declare const InteractiveGraph: {
|
|
|
3037
2915
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3038
2916
|
editorChangeDelay: number;
|
|
3039
2917
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3040
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3041
2918
|
isArticle: NonNullable<boolean | undefined>;
|
|
3042
2919
|
isMobile: NonNullable<boolean | undefined>;
|
|
3043
2920
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3045,7 +2922,6 @@ declare const InteractiveGraph: {
|
|
|
3045
2922
|
readOnly: NonNullable<boolean | undefined>;
|
|
3046
2923
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3047
2924
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3048
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3049
2925
|
}>;
|
|
3050
2926
|
keypadElement?: any;
|
|
3051
2927
|
questionCompleted?: boolean | undefined;
|
|
@@ -3054,7 +2930,7 @@ declare const InteractiveGraph: {
|
|
|
3054
2930
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3055
2931
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3056
2932
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3057
|
-
trackInteraction: (extraData?:
|
|
2933
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3058
2934
|
isLastUsedWidget: boolean;
|
|
3059
2935
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3060
2936
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3073,10 +2949,7 @@ declare const InteractiveGraph: {
|
|
|
3073
2949
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3074
2950
|
showAlignmentOptions?: boolean | undefined;
|
|
3075
2951
|
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
|
-
*/
|
|
2952
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3080
2953
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3081
2954
|
interactionCallback?: ((widgetData: {
|
|
3082
2955
|
[widgetId: string]: any;
|
|
@@ -3097,10 +2970,8 @@ declare const InteractiveGraph: {
|
|
|
3097
2970
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3098
2971
|
isMobile?: boolean | undefined;
|
|
3099
2972
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3100
|
-
useDraftEditor?: boolean | undefined;
|
|
3101
2973
|
hintProgressColor?: string | undefined;
|
|
3102
2974
|
canScrollPage?: boolean | undefined;
|
|
3103
|
-
inModal?: boolean | undefined;
|
|
3104
2975
|
crossOutEnabled?: boolean | undefined;
|
|
3105
2976
|
editorChangeDelay?: number | undefined;
|
|
3106
2977
|
flags?: {
|
|
@@ -3108,11 +2979,14 @@ declare const InteractiveGraph: {
|
|
|
3108
2979
|
circle?: boolean | undefined;
|
|
3109
2980
|
polygon?: boolean | undefined;
|
|
3110
2981
|
linear?: boolean | undefined;
|
|
2982
|
+
quadratic?: boolean | undefined;
|
|
2983
|
+
sinusoid?: boolean | undefined;
|
|
3111
2984
|
"linear-system"?: boolean | undefined;
|
|
3112
2985
|
segment?: boolean | undefined;
|
|
3113
2986
|
ray?: boolean | undefined;
|
|
3114
2987
|
} & {
|
|
3115
2988
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
2989
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3116
2990
|
}) | undefined;
|
|
3117
2991
|
} | undefined;
|
|
3118
2992
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3125,7 +2999,6 @@ declare const InteractiveGraph: {
|
|
|
3125
2999
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3126
3000
|
editorChangeDelay: number;
|
|
3127
3001
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3128
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3129
3002
|
isArticle: NonNullable<boolean | undefined>;
|
|
3130
3003
|
isMobile: NonNullable<boolean | undefined>;
|
|
3131
3004
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3133,7 +3006,6 @@ declare const InteractiveGraph: {
|
|
|
3133
3006
|
readOnly: NonNullable<boolean | undefined>;
|
|
3134
3007
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3135
3008
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3136
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3137
3009
|
}>;
|
|
3138
3010
|
keypadElement?: any;
|
|
3139
3011
|
questionCompleted?: boolean | undefined;
|
|
@@ -3142,7 +3014,7 @@ declare const InteractiveGraph: {
|
|
|
3142
3014
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3143
3015
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3144
3016
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3145
|
-
trackInteraction: (extraData?:
|
|
3017
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3146
3018
|
isLastUsedWidget: boolean;
|
|
3147
3019
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3148
3020
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3159,10 +3031,7 @@ declare const InteractiveGraph: {
|
|
|
3159
3031
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3160
3032
|
showAlignmentOptions?: boolean | undefined;
|
|
3161
3033
|
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
|
-
*/
|
|
3034
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3166
3035
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3167
3036
|
interactionCallback?: ((widgetData: {
|
|
3168
3037
|
[widgetId: string]: any;
|
|
@@ -3183,10 +3052,8 @@ declare const InteractiveGraph: {
|
|
|
3183
3052
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3184
3053
|
isMobile?: boolean | undefined;
|
|
3185
3054
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3186
|
-
useDraftEditor?: boolean | undefined;
|
|
3187
3055
|
hintProgressColor?: string | undefined;
|
|
3188
3056
|
canScrollPage?: boolean | undefined;
|
|
3189
|
-
inModal?: boolean | undefined;
|
|
3190
3057
|
crossOutEnabled?: boolean | undefined;
|
|
3191
3058
|
editorChangeDelay?: number | undefined;
|
|
3192
3059
|
flags?: {
|
|
@@ -3194,11 +3061,14 @@ declare const InteractiveGraph: {
|
|
|
3194
3061
|
circle?: boolean | undefined;
|
|
3195
3062
|
polygon?: boolean | undefined;
|
|
3196
3063
|
linear?: boolean | undefined;
|
|
3064
|
+
quadratic?: boolean | undefined;
|
|
3065
|
+
sinusoid?: boolean | undefined;
|
|
3197
3066
|
"linear-system"?: boolean | undefined;
|
|
3198
3067
|
segment?: boolean | undefined;
|
|
3199
3068
|
ray?: boolean | undefined;
|
|
3200
3069
|
} & {
|
|
3201
3070
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3071
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3202
3072
|
}) | undefined;
|
|
3203
3073
|
} | undefined;
|
|
3204
3074
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3211,7 +3081,6 @@ declare const InteractiveGraph: {
|
|
|
3211
3081
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3212
3082
|
editorChangeDelay: number;
|
|
3213
3083
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3214
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3215
3084
|
isArticle: NonNullable<boolean | undefined>;
|
|
3216
3085
|
isMobile: NonNullable<boolean | undefined>;
|
|
3217
3086
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3219,7 +3088,6 @@ declare const InteractiveGraph: {
|
|
|
3219
3088
|
readOnly: NonNullable<boolean | undefined>;
|
|
3220
3089
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3221
3090
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3222
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3223
3091
|
}>;
|
|
3224
3092
|
keypadElement?: any;
|
|
3225
3093
|
questionCompleted?: boolean | undefined;
|
|
@@ -3228,7 +3096,7 @@ declare const InteractiveGraph: {
|
|
|
3228
3096
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3229
3097
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3230
3098
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3231
|
-
trackInteraction: (extraData?:
|
|
3099
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3232
3100
|
isLastUsedWidget: boolean;
|
|
3233
3101
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3234
3102
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3247,10 +3115,7 @@ declare const InteractiveGraph: {
|
|
|
3247
3115
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3248
3116
|
showAlignmentOptions?: boolean | undefined;
|
|
3249
3117
|
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
|
-
*/
|
|
3118
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3254
3119
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3255
3120
|
interactionCallback?: ((widgetData: {
|
|
3256
3121
|
[widgetId: string]: any;
|
|
@@ -3271,10 +3136,8 @@ declare const InteractiveGraph: {
|
|
|
3271
3136
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3272
3137
|
isMobile?: boolean | undefined;
|
|
3273
3138
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3274
|
-
useDraftEditor?: boolean | undefined;
|
|
3275
3139
|
hintProgressColor?: string | undefined;
|
|
3276
3140
|
canScrollPage?: boolean | undefined;
|
|
3277
|
-
inModal?: boolean | undefined;
|
|
3278
3141
|
crossOutEnabled?: boolean | undefined;
|
|
3279
3142
|
editorChangeDelay?: number | undefined;
|
|
3280
3143
|
flags?: {
|
|
@@ -3282,11 +3145,14 @@ declare const InteractiveGraph: {
|
|
|
3282
3145
|
circle?: boolean | undefined;
|
|
3283
3146
|
polygon?: boolean | undefined;
|
|
3284
3147
|
linear?: boolean | undefined;
|
|
3148
|
+
quadratic?: boolean | undefined;
|
|
3149
|
+
sinusoid?: boolean | undefined;
|
|
3285
3150
|
"linear-system"?: boolean | undefined;
|
|
3286
3151
|
segment?: boolean | undefined;
|
|
3287
3152
|
ray?: boolean | undefined;
|
|
3288
3153
|
} & {
|
|
3289
3154
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3155
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3290
3156
|
}) | undefined;
|
|
3291
3157
|
} | undefined;
|
|
3292
3158
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3299,7 +3165,6 @@ declare const InteractiveGraph: {
|
|
|
3299
3165
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3300
3166
|
editorChangeDelay: number;
|
|
3301
3167
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3302
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3303
3168
|
isArticle: NonNullable<boolean | undefined>;
|
|
3304
3169
|
isMobile: NonNullable<boolean | undefined>;
|
|
3305
3170
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3307,7 +3172,6 @@ declare const InteractiveGraph: {
|
|
|
3307
3172
|
readOnly: NonNullable<boolean | undefined>;
|
|
3308
3173
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3309
3174
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3310
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3311
3175
|
}>;
|
|
3312
3176
|
keypadElement?: any;
|
|
3313
3177
|
questionCompleted?: boolean | undefined;
|
|
@@ -3316,7 +3180,7 @@ declare const InteractiveGraph: {
|
|
|
3316
3180
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3317
3181
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3318
3182
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3319
|
-
trackInteraction: (extraData?:
|
|
3183
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3320
3184
|
isLastUsedWidget: boolean;
|
|
3321
3185
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3322
3186
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3333,10 +3197,7 @@ declare const InteractiveGraph: {
|
|
|
3333
3197
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3334
3198
|
showAlignmentOptions?: boolean | undefined;
|
|
3335
3199
|
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
|
-
*/
|
|
3200
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3340
3201
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3341
3202
|
interactionCallback?: ((widgetData: {
|
|
3342
3203
|
[widgetId: string]: any;
|
|
@@ -3357,10 +3218,8 @@ declare const InteractiveGraph: {
|
|
|
3357
3218
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3358
3219
|
isMobile?: boolean | undefined;
|
|
3359
3220
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3360
|
-
useDraftEditor?: boolean | undefined;
|
|
3361
3221
|
hintProgressColor?: string | undefined;
|
|
3362
3222
|
canScrollPage?: boolean | undefined;
|
|
3363
|
-
inModal?: boolean | undefined;
|
|
3364
3223
|
crossOutEnabled?: boolean | undefined;
|
|
3365
3224
|
editorChangeDelay?: number | undefined;
|
|
3366
3225
|
flags?: {
|
|
@@ -3368,11 +3227,14 @@ declare const InteractiveGraph: {
|
|
|
3368
3227
|
circle?: boolean | undefined;
|
|
3369
3228
|
polygon?: boolean | undefined;
|
|
3370
3229
|
linear?: boolean | undefined;
|
|
3230
|
+
quadratic?: boolean | undefined;
|
|
3231
|
+
sinusoid?: boolean | undefined;
|
|
3371
3232
|
"linear-system"?: boolean | undefined;
|
|
3372
3233
|
segment?: boolean | undefined;
|
|
3373
3234
|
ray?: boolean | undefined;
|
|
3374
3235
|
} & {
|
|
3375
3236
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3237
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3376
3238
|
}) | undefined;
|
|
3377
3239
|
} | undefined;
|
|
3378
3240
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3385,7 +3247,6 @@ declare const InteractiveGraph: {
|
|
|
3385
3247
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3386
3248
|
editorChangeDelay: number;
|
|
3387
3249
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3388
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3389
3250
|
isArticle: NonNullable<boolean | undefined>;
|
|
3390
3251
|
isMobile: NonNullable<boolean | undefined>;
|
|
3391
3252
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3393,7 +3254,6 @@ declare const InteractiveGraph: {
|
|
|
3393
3254
|
readOnly: NonNullable<boolean | undefined>;
|
|
3394
3255
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3395
3256
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3396
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3397
3257
|
}>;
|
|
3398
3258
|
keypadElement?: any;
|
|
3399
3259
|
questionCompleted?: boolean | undefined;
|
|
@@ -3402,7 +3262,7 @@ declare const InteractiveGraph: {
|
|
|
3402
3262
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3403
3263
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3404
3264
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3405
|
-
trackInteraction: (extraData?:
|
|
3265
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3406
3266
|
isLastUsedWidget: boolean;
|
|
3407
3267
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3408
3268
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3419,10 +3279,7 @@ declare const InteractiveGraph: {
|
|
|
3419
3279
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3420
3280
|
showAlignmentOptions?: boolean | undefined;
|
|
3421
3281
|
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
|
-
*/
|
|
3282
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3426
3283
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3427
3284
|
interactionCallback?: ((widgetData: {
|
|
3428
3285
|
[widgetId: string]: any;
|
|
@@ -3443,10 +3300,8 @@ declare const InteractiveGraph: {
|
|
|
3443
3300
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3444
3301
|
isMobile?: boolean | undefined;
|
|
3445
3302
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3446
|
-
useDraftEditor?: boolean | undefined;
|
|
3447
3303
|
hintProgressColor?: string | undefined;
|
|
3448
3304
|
canScrollPage?: boolean | undefined;
|
|
3449
|
-
inModal?: boolean | undefined;
|
|
3450
3305
|
crossOutEnabled?: boolean | undefined;
|
|
3451
3306
|
editorChangeDelay?: number | undefined;
|
|
3452
3307
|
flags?: {
|
|
@@ -3454,11 +3309,14 @@ declare const InteractiveGraph: {
|
|
|
3454
3309
|
circle?: boolean | undefined;
|
|
3455
3310
|
polygon?: boolean | undefined;
|
|
3456
3311
|
linear?: boolean | undefined;
|
|
3312
|
+
quadratic?: boolean | undefined;
|
|
3313
|
+
sinusoid?: boolean | undefined;
|
|
3457
3314
|
"linear-system"?: boolean | undefined;
|
|
3458
3315
|
segment?: boolean | undefined;
|
|
3459
3316
|
ray?: boolean | undefined;
|
|
3460
3317
|
} & {
|
|
3461
3318
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3319
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3462
3320
|
}) | undefined;
|
|
3463
3321
|
} | undefined;
|
|
3464
3322
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3471,7 +3329,6 @@ declare const InteractiveGraph: {
|
|
|
3471
3329
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3472
3330
|
editorChangeDelay: number;
|
|
3473
3331
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3474
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3475
3332
|
isArticle: NonNullable<boolean | undefined>;
|
|
3476
3333
|
isMobile: NonNullable<boolean | undefined>;
|
|
3477
3334
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3479,7 +3336,6 @@ declare const InteractiveGraph: {
|
|
|
3479
3336
|
readOnly: NonNullable<boolean | undefined>;
|
|
3480
3337
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3481
3338
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3482
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3483
3339
|
}>;
|
|
3484
3340
|
keypadElement?: any;
|
|
3485
3341
|
questionCompleted?: boolean | undefined;
|
|
@@ -3488,7 +3344,7 @@ declare const InteractiveGraph: {
|
|
|
3488
3344
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3489
3345
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3490
3346
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3491
|
-
trackInteraction: (extraData?:
|
|
3347
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3492
3348
|
isLastUsedWidget: boolean;
|
|
3493
3349
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3494
3350
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3505,10 +3361,7 @@ declare const InteractiveGraph: {
|
|
|
3505
3361
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3506
3362
|
showAlignmentOptions?: boolean | undefined;
|
|
3507
3363
|
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
|
-
*/
|
|
3364
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3512
3365
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3513
3366
|
interactionCallback?: ((widgetData: {
|
|
3514
3367
|
[widgetId: string]: any;
|
|
@@ -3529,10 +3382,8 @@ declare const InteractiveGraph: {
|
|
|
3529
3382
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3530
3383
|
isMobile?: boolean | undefined;
|
|
3531
3384
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3532
|
-
useDraftEditor?: boolean | undefined;
|
|
3533
3385
|
hintProgressColor?: string | undefined;
|
|
3534
3386
|
canScrollPage?: boolean | undefined;
|
|
3535
|
-
inModal?: boolean | undefined;
|
|
3536
3387
|
crossOutEnabled?: boolean | undefined;
|
|
3537
3388
|
editorChangeDelay?: number | undefined;
|
|
3538
3389
|
flags?: {
|
|
@@ -3540,11 +3391,14 @@ declare const InteractiveGraph: {
|
|
|
3540
3391
|
circle?: boolean | undefined;
|
|
3541
3392
|
polygon?: boolean | undefined;
|
|
3542
3393
|
linear?: boolean | undefined;
|
|
3394
|
+
quadratic?: boolean | undefined;
|
|
3395
|
+
sinusoid?: boolean | undefined;
|
|
3543
3396
|
"linear-system"?: boolean | undefined;
|
|
3544
3397
|
segment?: boolean | undefined;
|
|
3545
3398
|
ray?: boolean | undefined;
|
|
3546
3399
|
} & {
|
|
3547
3400
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3401
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3548
3402
|
}) | undefined;
|
|
3549
3403
|
} | undefined;
|
|
3550
3404
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3557,7 +3411,6 @@ declare const InteractiveGraph: {
|
|
|
3557
3411
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3558
3412
|
editorChangeDelay: number;
|
|
3559
3413
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3560
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3561
3414
|
isArticle: NonNullable<boolean | undefined>;
|
|
3562
3415
|
isMobile: NonNullable<boolean | undefined>;
|
|
3563
3416
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3565,7 +3418,6 @@ declare const InteractiveGraph: {
|
|
|
3565
3418
|
readOnly: NonNullable<boolean | undefined>;
|
|
3566
3419
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3567
3420
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3568
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3569
3421
|
}>;
|
|
3570
3422
|
keypadElement?: any;
|
|
3571
3423
|
questionCompleted?: boolean | undefined;
|
|
@@ -3574,7 +3426,7 @@ declare const InteractiveGraph: {
|
|
|
3574
3426
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3575
3427
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3576
3428
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3577
|
-
trackInteraction: (extraData?:
|
|
3429
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3578
3430
|
isLastUsedWidget: boolean;
|
|
3579
3431
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3580
3432
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3594,6 +3446,12 @@ declare const InteractiveGraph: {
|
|
|
3594
3446
|
graph: import("@khanacademy/perseus").PerseusGraphType;
|
|
3595
3447
|
};
|
|
3596
3448
|
getQuadraticCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").QuadraticCoefficient;
|
|
3449
|
+
/**
|
|
3450
|
+
* An editor for the InteractiveGraph widget, which allows the user to
|
|
3451
|
+
* specify the graph's properties and the correct answer.
|
|
3452
|
+
*
|
|
3453
|
+
* Used in the exercise editor.
|
|
3454
|
+
*/
|
|
3597
3455
|
getSinusoidCoefficients(coords: readonly import("@khanacademy/perseus").Coord[]): import("../../../perseus/src/util/geometry").SineCoefficient;
|
|
3598
3456
|
getLineCoords(graph: import("@khanacademy/perseus").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
3599
3457
|
widgetId: string;
|
|
@@ -3607,10 +3465,7 @@ declare const InteractiveGraph: {
|
|
|
3607
3465
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3608
3466
|
showAlignmentOptions?: boolean | undefined;
|
|
3609
3467
|
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
|
-
*/
|
|
3468
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3614
3469
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3615
3470
|
interactionCallback?: ((widgetData: {
|
|
3616
3471
|
[widgetId: string]: any;
|
|
@@ -3631,10 +3486,8 @@ declare const InteractiveGraph: {
|
|
|
3631
3486
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3632
3487
|
isMobile?: boolean | undefined;
|
|
3633
3488
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3634
|
-
useDraftEditor?: boolean | undefined;
|
|
3635
3489
|
hintProgressColor?: string | undefined;
|
|
3636
3490
|
canScrollPage?: boolean | undefined;
|
|
3637
|
-
inModal?: boolean | undefined;
|
|
3638
3491
|
crossOutEnabled?: boolean | undefined;
|
|
3639
3492
|
editorChangeDelay?: number | undefined;
|
|
3640
3493
|
flags?: {
|
|
@@ -3642,11 +3495,14 @@ declare const InteractiveGraph: {
|
|
|
3642
3495
|
circle?: boolean | undefined;
|
|
3643
3496
|
polygon?: boolean | undefined;
|
|
3644
3497
|
linear?: boolean | undefined;
|
|
3498
|
+
quadratic?: boolean | undefined;
|
|
3499
|
+
sinusoid?: boolean | undefined;
|
|
3645
3500
|
"linear-system"?: boolean | undefined;
|
|
3646
3501
|
segment?: boolean | undefined;
|
|
3647
3502
|
ray?: boolean | undefined;
|
|
3648
3503
|
} & {
|
|
3649
3504
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3505
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3650
3506
|
}) | undefined;
|
|
3651
3507
|
} | undefined;
|
|
3652
3508
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3659,7 +3515,6 @@ declare const InteractiveGraph: {
|
|
|
3659
3515
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3660
3516
|
editorChangeDelay: number;
|
|
3661
3517
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3662
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3663
3518
|
isArticle: NonNullable<boolean | undefined>;
|
|
3664
3519
|
isMobile: NonNullable<boolean | undefined>;
|
|
3665
3520
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3667,7 +3522,6 @@ declare const InteractiveGraph: {
|
|
|
3667
3522
|
readOnly: NonNullable<boolean | undefined>;
|
|
3668
3523
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3669
3524
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3670
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3671
3525
|
}>;
|
|
3672
3526
|
keypadElement?: any;
|
|
3673
3527
|
questionCompleted?: boolean | undefined;
|
|
@@ -3676,7 +3530,7 @@ declare const InteractiveGraph: {
|
|
|
3676
3530
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3677
3531
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3678
3532
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3679
|
-
trackInteraction: (extraData?:
|
|
3533
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3680
3534
|
isLastUsedWidget: boolean;
|
|
3681
3535
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3682
3536
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3693,10 +3547,7 @@ declare const InteractiveGraph: {
|
|
|
3693
3547
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3694
3548
|
showAlignmentOptions?: boolean | undefined;
|
|
3695
3549
|
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
|
-
*/
|
|
3550
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3700
3551
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3701
3552
|
interactionCallback?: ((widgetData: {
|
|
3702
3553
|
[widgetId: string]: any;
|
|
@@ -3717,10 +3568,8 @@ declare const InteractiveGraph: {
|
|
|
3717
3568
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3718
3569
|
isMobile?: boolean | undefined;
|
|
3719
3570
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3720
|
-
useDraftEditor?: boolean | undefined;
|
|
3721
3571
|
hintProgressColor?: string | undefined;
|
|
3722
3572
|
canScrollPage?: boolean | undefined;
|
|
3723
|
-
inModal?: boolean | undefined;
|
|
3724
3573
|
crossOutEnabled?: boolean | undefined;
|
|
3725
3574
|
editorChangeDelay?: number | undefined;
|
|
3726
3575
|
flags?: {
|
|
@@ -3728,11 +3577,14 @@ declare const InteractiveGraph: {
|
|
|
3728
3577
|
circle?: boolean | undefined;
|
|
3729
3578
|
polygon?: boolean | undefined;
|
|
3730
3579
|
linear?: boolean | undefined;
|
|
3580
|
+
quadratic?: boolean | undefined;
|
|
3581
|
+
sinusoid?: boolean | undefined;
|
|
3731
3582
|
"linear-system"?: boolean | undefined;
|
|
3732
3583
|
segment?: boolean | undefined;
|
|
3733
3584
|
ray?: boolean | undefined;
|
|
3734
3585
|
} & {
|
|
3735
3586
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3587
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3736
3588
|
}) | undefined;
|
|
3737
3589
|
} | undefined;
|
|
3738
3590
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3745,7 +3597,6 @@ declare const InteractiveGraph: {
|
|
|
3745
3597
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3746
3598
|
editorChangeDelay: number;
|
|
3747
3599
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3748
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3749
3600
|
isArticle: NonNullable<boolean | undefined>;
|
|
3750
3601
|
isMobile: NonNullable<boolean | undefined>;
|
|
3751
3602
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3753,7 +3604,6 @@ declare const InteractiveGraph: {
|
|
|
3753
3604
|
readOnly: NonNullable<boolean | undefined>;
|
|
3754
3605
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3755
3606
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3756
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3757
3607
|
}>;
|
|
3758
3608
|
keypadElement?: any;
|
|
3759
3609
|
questionCompleted?: boolean | undefined;
|
|
@@ -3762,7 +3612,7 @@ declare const InteractiveGraph: {
|
|
|
3762
3612
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3763
3613
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3764
3614
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3765
|
-
trackInteraction: (extraData?:
|
|
3615
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3766
3616
|
isLastUsedWidget: boolean;
|
|
3767
3617
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3768
3618
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3779,10 +3629,7 @@ declare const InteractiveGraph: {
|
|
|
3779
3629
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3780
3630
|
showAlignmentOptions?: boolean | undefined;
|
|
3781
3631
|
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
|
-
*/
|
|
3632
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3786
3633
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3787
3634
|
interactionCallback?: ((widgetData: {
|
|
3788
3635
|
[widgetId: string]: any;
|
|
@@ -3803,10 +3650,8 @@ declare const InteractiveGraph: {
|
|
|
3803
3650
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3804
3651
|
isMobile?: boolean | undefined;
|
|
3805
3652
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3806
|
-
useDraftEditor?: boolean | undefined;
|
|
3807
3653
|
hintProgressColor?: string | undefined;
|
|
3808
3654
|
canScrollPage?: boolean | undefined;
|
|
3809
|
-
inModal?: boolean | undefined;
|
|
3810
3655
|
crossOutEnabled?: boolean | undefined;
|
|
3811
3656
|
editorChangeDelay?: number | undefined;
|
|
3812
3657
|
flags?: {
|
|
@@ -3814,11 +3659,14 @@ declare const InteractiveGraph: {
|
|
|
3814
3659
|
circle?: boolean | undefined;
|
|
3815
3660
|
polygon?: boolean | undefined;
|
|
3816
3661
|
linear?: boolean | undefined;
|
|
3662
|
+
quadratic?: boolean | undefined;
|
|
3663
|
+
sinusoid?: boolean | undefined;
|
|
3817
3664
|
"linear-system"?: boolean | undefined;
|
|
3818
3665
|
segment?: boolean | undefined;
|
|
3819
3666
|
ray?: boolean | undefined;
|
|
3820
3667
|
} & {
|
|
3821
3668
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3669
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3822
3670
|
}) | undefined;
|
|
3823
3671
|
} | undefined;
|
|
3824
3672
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3831,7 +3679,6 @@ declare const InteractiveGraph: {
|
|
|
3831
3679
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3832
3680
|
editorChangeDelay: number;
|
|
3833
3681
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3834
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3835
3682
|
isArticle: NonNullable<boolean | undefined>;
|
|
3836
3683
|
isMobile: NonNullable<boolean | undefined>;
|
|
3837
3684
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3839,7 +3686,6 @@ declare const InteractiveGraph: {
|
|
|
3839
3686
|
readOnly: NonNullable<boolean | undefined>;
|
|
3840
3687
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3841
3688
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3842
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3843
3689
|
}>;
|
|
3844
3690
|
keypadElement?: any;
|
|
3845
3691
|
questionCompleted?: boolean | undefined;
|
|
@@ -3848,7 +3694,7 @@ declare const InteractiveGraph: {
|
|
|
3848
3694
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3849
3695
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3850
3696
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3851
|
-
trackInteraction: (extraData?:
|
|
3697
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3852
3698
|
isLastUsedWidget: boolean;
|
|
3853
3699
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3854
3700
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3865,10 +3711,7 @@ declare const InteractiveGraph: {
|
|
|
3865
3711
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3866
3712
|
showAlignmentOptions?: boolean | undefined;
|
|
3867
3713
|
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
|
-
*/
|
|
3714
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3872
3715
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3873
3716
|
interactionCallback?: ((widgetData: {
|
|
3874
3717
|
[widgetId: string]: any;
|
|
@@ -3889,10 +3732,8 @@ declare const InteractiveGraph: {
|
|
|
3889
3732
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3890
3733
|
isMobile?: boolean | undefined;
|
|
3891
3734
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3892
|
-
useDraftEditor?: boolean | undefined;
|
|
3893
3735
|
hintProgressColor?: string | undefined;
|
|
3894
3736
|
canScrollPage?: boolean | undefined;
|
|
3895
|
-
inModal?: boolean | undefined;
|
|
3896
3737
|
crossOutEnabled?: boolean | undefined;
|
|
3897
3738
|
editorChangeDelay?: number | undefined;
|
|
3898
3739
|
flags?: {
|
|
@@ -3900,11 +3741,14 @@ declare const InteractiveGraph: {
|
|
|
3900
3741
|
circle?: boolean | undefined;
|
|
3901
3742
|
polygon?: boolean | undefined;
|
|
3902
3743
|
linear?: boolean | undefined;
|
|
3744
|
+
quadratic?: boolean | undefined;
|
|
3745
|
+
sinusoid?: boolean | undefined;
|
|
3903
3746
|
"linear-system"?: boolean | undefined;
|
|
3904
3747
|
segment?: boolean | undefined;
|
|
3905
3748
|
ray?: boolean | undefined;
|
|
3906
3749
|
} & {
|
|
3907
3750
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3751
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3908
3752
|
}) | undefined;
|
|
3909
3753
|
} | undefined;
|
|
3910
3754
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -3917,7 +3761,6 @@ declare const InteractiveGraph: {
|
|
|
3917
3761
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
3918
3762
|
editorChangeDelay: number;
|
|
3919
3763
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
3920
|
-
inModal: NonNullable<boolean | undefined>;
|
|
3921
3764
|
isArticle: NonNullable<boolean | undefined>;
|
|
3922
3765
|
isMobile: NonNullable<boolean | undefined>;
|
|
3923
3766
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -3925,7 +3768,6 @@ declare const InteractiveGraph: {
|
|
|
3925
3768
|
readOnly: NonNullable<boolean | undefined>;
|
|
3926
3769
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
3927
3770
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
3928
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
3929
3771
|
}>;
|
|
3930
3772
|
keypadElement?: any;
|
|
3931
3773
|
questionCompleted?: boolean | undefined;
|
|
@@ -3934,7 +3776,7 @@ declare const InteractiveGraph: {
|
|
|
3934
3776
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3935
3777
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3936
3778
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3937
|
-
trackInteraction: (extraData?:
|
|
3779
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
3938
3780
|
isLastUsedWidget: boolean;
|
|
3939
3781
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3940
3782
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -3951,10 +3793,7 @@ declare const InteractiveGraph: {
|
|
|
3951
3793
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
3952
3794
|
showAlignmentOptions?: boolean | undefined;
|
|
3953
3795
|
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
|
-
*/
|
|
3796
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
3958
3797
|
getAnotherHint?: (() => unknown) | undefined;
|
|
3959
3798
|
interactionCallback?: ((widgetData: {
|
|
3960
3799
|
[widgetId: string]: any;
|
|
@@ -3975,10 +3814,8 @@ declare const InteractiveGraph: {
|
|
|
3975
3814
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
3976
3815
|
isMobile?: boolean | undefined;
|
|
3977
3816
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
3978
|
-
useDraftEditor?: boolean | undefined;
|
|
3979
3817
|
hintProgressColor?: string | undefined;
|
|
3980
3818
|
canScrollPage?: boolean | undefined;
|
|
3981
|
-
inModal?: boolean | undefined;
|
|
3982
3819
|
crossOutEnabled?: boolean | undefined;
|
|
3983
3820
|
editorChangeDelay?: number | undefined;
|
|
3984
3821
|
flags?: {
|
|
@@ -3986,11 +3823,14 @@ declare const InteractiveGraph: {
|
|
|
3986
3823
|
circle?: boolean | undefined;
|
|
3987
3824
|
polygon?: boolean | undefined;
|
|
3988
3825
|
linear?: boolean | undefined;
|
|
3826
|
+
quadratic?: boolean | undefined;
|
|
3827
|
+
sinusoid?: boolean | undefined;
|
|
3989
3828
|
"linear-system"?: boolean | undefined;
|
|
3990
3829
|
segment?: boolean | undefined;
|
|
3991
3830
|
ray?: boolean | undefined;
|
|
3992
3831
|
} & {
|
|
3993
3832
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3833
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
3994
3834
|
}) | undefined;
|
|
3995
3835
|
} | undefined;
|
|
3996
3836
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4003,7 +3843,6 @@ declare const InteractiveGraph: {
|
|
|
4003
3843
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4004
3844
|
editorChangeDelay: number;
|
|
4005
3845
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4006
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4007
3846
|
isArticle: NonNullable<boolean | undefined>;
|
|
4008
3847
|
isMobile: NonNullable<boolean | undefined>;
|
|
4009
3848
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4011,7 +3850,6 @@ declare const InteractiveGraph: {
|
|
|
4011
3850
|
readOnly: NonNullable<boolean | undefined>;
|
|
4012
3851
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4013
3852
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4014
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4015
3853
|
}>;
|
|
4016
3854
|
keypadElement?: any;
|
|
4017
3855
|
questionCompleted?: boolean | undefined;
|
|
@@ -4020,7 +3858,7 @@ declare const InteractiveGraph: {
|
|
|
4020
3858
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4021
3859
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4022
3860
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4023
|
-
trackInteraction: (extraData?:
|
|
3861
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4024
3862
|
isLastUsedWidget: boolean;
|
|
4025
3863
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4026
3864
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4037,10 +3875,7 @@ declare const InteractiveGraph: {
|
|
|
4037
3875
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4038
3876
|
showAlignmentOptions?: boolean | undefined;
|
|
4039
3877
|
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
|
-
*/
|
|
3878
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4044
3879
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4045
3880
|
interactionCallback?: ((widgetData: {
|
|
4046
3881
|
[widgetId: string]: any;
|
|
@@ -4061,10 +3896,8 @@ declare const InteractiveGraph: {
|
|
|
4061
3896
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4062
3897
|
isMobile?: boolean | undefined;
|
|
4063
3898
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4064
|
-
useDraftEditor?: boolean | undefined;
|
|
4065
3899
|
hintProgressColor?: string | undefined;
|
|
4066
3900
|
canScrollPage?: boolean | undefined;
|
|
4067
|
-
inModal?: boolean | undefined;
|
|
4068
3901
|
crossOutEnabled?: boolean | undefined;
|
|
4069
3902
|
editorChangeDelay?: number | undefined;
|
|
4070
3903
|
flags?: {
|
|
@@ -4072,11 +3905,14 @@ declare const InteractiveGraph: {
|
|
|
4072
3905
|
circle?: boolean | undefined;
|
|
4073
3906
|
polygon?: boolean | undefined;
|
|
4074
3907
|
linear?: boolean | undefined;
|
|
3908
|
+
quadratic?: boolean | undefined;
|
|
3909
|
+
sinusoid?: boolean | undefined;
|
|
4075
3910
|
"linear-system"?: boolean | undefined;
|
|
4076
3911
|
segment?: boolean | undefined;
|
|
4077
3912
|
ray?: boolean | undefined;
|
|
4078
3913
|
} & {
|
|
4079
3914
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3915
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4080
3916
|
}) | undefined;
|
|
4081
3917
|
} | undefined;
|
|
4082
3918
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4089,7 +3925,6 @@ declare const InteractiveGraph: {
|
|
|
4089
3925
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4090
3926
|
editorChangeDelay: number;
|
|
4091
3927
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4092
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4093
3928
|
isArticle: NonNullable<boolean | undefined>;
|
|
4094
3929
|
isMobile: NonNullable<boolean | undefined>;
|
|
4095
3930
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4097,7 +3932,6 @@ declare const InteractiveGraph: {
|
|
|
4097
3932
|
readOnly: NonNullable<boolean | undefined>;
|
|
4098
3933
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4099
3934
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4100
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4101
3935
|
}>;
|
|
4102
3936
|
keypadElement?: any;
|
|
4103
3937
|
questionCompleted?: boolean | undefined;
|
|
@@ -4106,7 +3940,7 @@ declare const InteractiveGraph: {
|
|
|
4106
3940
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4107
3941
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4108
3942
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4109
|
-
trackInteraction: (extraData?:
|
|
3943
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4110
3944
|
isLastUsedWidget: boolean;
|
|
4111
3945
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4112
3946
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4124,10 +3958,7 @@ declare const InteractiveGraph: {
|
|
|
4124
3958
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4125
3959
|
showAlignmentOptions?: boolean | undefined;
|
|
4126
3960
|
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
|
-
*/
|
|
3961
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4131
3962
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4132
3963
|
interactionCallback?: ((widgetData: {
|
|
4133
3964
|
[widgetId: string]: any;
|
|
@@ -4148,10 +3979,8 @@ declare const InteractiveGraph: {
|
|
|
4148
3979
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4149
3980
|
isMobile?: boolean | undefined;
|
|
4150
3981
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4151
|
-
useDraftEditor?: boolean | undefined;
|
|
4152
3982
|
hintProgressColor?: string | undefined;
|
|
4153
3983
|
canScrollPage?: boolean | undefined;
|
|
4154
|
-
inModal?: boolean | undefined;
|
|
4155
3984
|
crossOutEnabled?: boolean | undefined;
|
|
4156
3985
|
editorChangeDelay?: number | undefined;
|
|
4157
3986
|
flags?: {
|
|
@@ -4159,11 +3988,14 @@ declare const InteractiveGraph: {
|
|
|
4159
3988
|
circle?: boolean | undefined;
|
|
4160
3989
|
polygon?: boolean | undefined;
|
|
4161
3990
|
linear?: boolean | undefined;
|
|
3991
|
+
quadratic?: boolean | undefined;
|
|
3992
|
+
sinusoid?: boolean | undefined;
|
|
4162
3993
|
"linear-system"?: boolean | undefined;
|
|
4163
3994
|
segment?: boolean | undefined;
|
|
4164
3995
|
ray?: boolean | undefined;
|
|
4165
3996
|
} & {
|
|
4166
3997
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
3998
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4167
3999
|
}) | undefined;
|
|
4168
4000
|
} | undefined;
|
|
4169
4001
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4176,7 +4008,6 @@ declare const InteractiveGraph: {
|
|
|
4176
4008
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4177
4009
|
editorChangeDelay: number;
|
|
4178
4010
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4179
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4180
4011
|
isArticle: NonNullable<boolean | undefined>;
|
|
4181
4012
|
isMobile: NonNullable<boolean | undefined>;
|
|
4182
4013
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4184,7 +4015,6 @@ declare const InteractiveGraph: {
|
|
|
4184
4015
|
readOnly: NonNullable<boolean | undefined>;
|
|
4185
4016
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4186
4017
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4187
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4188
4018
|
}>;
|
|
4189
4019
|
keypadElement?: any;
|
|
4190
4020
|
questionCompleted?: boolean | undefined;
|
|
@@ -4193,7 +4023,7 @@ declare const InteractiveGraph: {
|
|
|
4193
4023
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4194
4024
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4195
4025
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4196
|
-
trackInteraction: (extraData?:
|
|
4026
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4197
4027
|
isLastUsedWidget: boolean;
|
|
4198
4028
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4199
4029
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4210,10 +4040,7 @@ declare const InteractiveGraph: {
|
|
|
4210
4040
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4211
4041
|
showAlignmentOptions?: boolean | undefined;
|
|
4212
4042
|
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
|
-
*/
|
|
4043
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4217
4044
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4218
4045
|
interactionCallback?: ((widgetData: {
|
|
4219
4046
|
[widgetId: string]: any;
|
|
@@ -4234,10 +4061,8 @@ declare const InteractiveGraph: {
|
|
|
4234
4061
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4235
4062
|
isMobile?: boolean | undefined;
|
|
4236
4063
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4237
|
-
useDraftEditor?: boolean | undefined;
|
|
4238
4064
|
hintProgressColor?: string | undefined;
|
|
4239
4065
|
canScrollPage?: boolean | undefined;
|
|
4240
|
-
inModal?: boolean | undefined;
|
|
4241
4066
|
crossOutEnabled?: boolean | undefined;
|
|
4242
4067
|
editorChangeDelay?: number | undefined;
|
|
4243
4068
|
flags?: {
|
|
@@ -4245,11 +4070,14 @@ declare const InteractiveGraph: {
|
|
|
4245
4070
|
circle?: boolean | undefined;
|
|
4246
4071
|
polygon?: boolean | undefined;
|
|
4247
4072
|
linear?: boolean | undefined;
|
|
4073
|
+
quadratic?: boolean | undefined;
|
|
4074
|
+
sinusoid?: boolean | undefined;
|
|
4248
4075
|
"linear-system"?: boolean | undefined;
|
|
4249
4076
|
segment?: boolean | undefined;
|
|
4250
4077
|
ray?: boolean | undefined;
|
|
4251
4078
|
} & {
|
|
4252
4079
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4080
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4253
4081
|
}) | undefined;
|
|
4254
4082
|
} | undefined;
|
|
4255
4083
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4262,7 +4090,6 @@ declare const InteractiveGraph: {
|
|
|
4262
4090
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4263
4091
|
editorChangeDelay: number;
|
|
4264
4092
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4265
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4266
4093
|
isArticle: NonNullable<boolean | undefined>;
|
|
4267
4094
|
isMobile: NonNullable<boolean | undefined>;
|
|
4268
4095
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4270,7 +4097,6 @@ declare const InteractiveGraph: {
|
|
|
4270
4097
|
readOnly: NonNullable<boolean | undefined>;
|
|
4271
4098
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4272
4099
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4273
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4274
4100
|
}>;
|
|
4275
4101
|
keypadElement?: any;
|
|
4276
4102
|
questionCompleted?: boolean | undefined;
|
|
@@ -4279,7 +4105,7 @@ declare const InteractiveGraph: {
|
|
|
4279
4105
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4280
4106
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4281
4107
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4282
|
-
trackInteraction: (extraData?:
|
|
4108
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4283
4109
|
isLastUsedWidget: boolean;
|
|
4284
4110
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4285
4111
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4296,10 +4122,7 @@ declare const InteractiveGraph: {
|
|
|
4296
4122
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4297
4123
|
showAlignmentOptions?: boolean | undefined;
|
|
4298
4124
|
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
|
-
*/
|
|
4125
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4303
4126
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4304
4127
|
interactionCallback?: ((widgetData: {
|
|
4305
4128
|
[widgetId: string]: any;
|
|
@@ -4320,10 +4143,8 @@ declare const InteractiveGraph: {
|
|
|
4320
4143
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4321
4144
|
isMobile?: boolean | undefined;
|
|
4322
4145
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4323
|
-
useDraftEditor?: boolean | undefined;
|
|
4324
4146
|
hintProgressColor?: string | undefined;
|
|
4325
4147
|
canScrollPage?: boolean | undefined;
|
|
4326
|
-
inModal?: boolean | undefined;
|
|
4327
4148
|
crossOutEnabled?: boolean | undefined;
|
|
4328
4149
|
editorChangeDelay?: number | undefined;
|
|
4329
4150
|
flags?: {
|
|
@@ -4331,11 +4152,14 @@ declare const InteractiveGraph: {
|
|
|
4331
4152
|
circle?: boolean | undefined;
|
|
4332
4153
|
polygon?: boolean | undefined;
|
|
4333
4154
|
linear?: boolean | undefined;
|
|
4155
|
+
quadratic?: boolean | undefined;
|
|
4156
|
+
sinusoid?: boolean | undefined;
|
|
4334
4157
|
"linear-system"?: boolean | undefined;
|
|
4335
4158
|
segment?: boolean | undefined;
|
|
4336
4159
|
ray?: boolean | undefined;
|
|
4337
4160
|
} & {
|
|
4338
4161
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4162
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4339
4163
|
}) | undefined;
|
|
4340
4164
|
} | undefined;
|
|
4341
4165
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4348,7 +4172,6 @@ declare const InteractiveGraph: {
|
|
|
4348
4172
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4349
4173
|
editorChangeDelay: number;
|
|
4350
4174
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4351
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4352
4175
|
isArticle: NonNullable<boolean | undefined>;
|
|
4353
4176
|
isMobile: NonNullable<boolean | undefined>;
|
|
4354
4177
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4356,7 +4179,6 @@ declare const InteractiveGraph: {
|
|
|
4356
4179
|
readOnly: NonNullable<boolean | undefined>;
|
|
4357
4180
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4358
4181
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4359
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4360
4182
|
}>;
|
|
4361
4183
|
keypadElement?: any;
|
|
4362
4184
|
questionCompleted?: boolean | undefined;
|
|
@@ -4365,7 +4187,7 @@ declare const InteractiveGraph: {
|
|
|
4365
4187
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4366
4188
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4367
4189
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4368
|
-
trackInteraction: (extraData?:
|
|
4190
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4369
4191
|
isLastUsedWidget: boolean;
|
|
4370
4192
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4371
4193
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4382,10 +4204,7 @@ declare const InteractiveGraph: {
|
|
|
4382
4204
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4383
4205
|
showAlignmentOptions?: boolean | undefined;
|
|
4384
4206
|
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
|
-
*/
|
|
4207
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4389
4208
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4390
4209
|
interactionCallback?: ((widgetData: {
|
|
4391
4210
|
[widgetId: string]: any;
|
|
@@ -4406,10 +4225,8 @@ declare const InteractiveGraph: {
|
|
|
4406
4225
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4407
4226
|
isMobile?: boolean | undefined;
|
|
4408
4227
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4409
|
-
useDraftEditor?: boolean | undefined;
|
|
4410
4228
|
hintProgressColor?: string | undefined;
|
|
4411
4229
|
canScrollPage?: boolean | undefined;
|
|
4412
|
-
inModal?: boolean | undefined;
|
|
4413
4230
|
crossOutEnabled?: boolean | undefined;
|
|
4414
4231
|
editorChangeDelay?: number | undefined;
|
|
4415
4232
|
flags?: {
|
|
@@ -4417,11 +4234,14 @@ declare const InteractiveGraph: {
|
|
|
4417
4234
|
circle?: boolean | undefined;
|
|
4418
4235
|
polygon?: boolean | undefined;
|
|
4419
4236
|
linear?: boolean | undefined;
|
|
4237
|
+
quadratic?: boolean | undefined;
|
|
4238
|
+
sinusoid?: boolean | undefined;
|
|
4420
4239
|
"linear-system"?: boolean | undefined;
|
|
4421
4240
|
segment?: boolean | undefined;
|
|
4422
4241
|
ray?: boolean | undefined;
|
|
4423
4242
|
} & {
|
|
4424
4243
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4244
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4425
4245
|
}) | undefined;
|
|
4426
4246
|
} | undefined;
|
|
4427
4247
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4434,7 +4254,6 @@ declare const InteractiveGraph: {
|
|
|
4434
4254
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4435
4255
|
editorChangeDelay: number;
|
|
4436
4256
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4437
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4438
4257
|
isArticle: NonNullable<boolean | undefined>;
|
|
4439
4258
|
isMobile: NonNullable<boolean | undefined>;
|
|
4440
4259
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4442,7 +4261,6 @@ declare const InteractiveGraph: {
|
|
|
4442
4261
|
readOnly: NonNullable<boolean | undefined>;
|
|
4443
4262
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4444
4263
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4445
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4446
4264
|
}>;
|
|
4447
4265
|
keypadElement?: any;
|
|
4448
4266
|
questionCompleted?: boolean | undefined;
|
|
@@ -4451,7 +4269,7 @@ declare const InteractiveGraph: {
|
|
|
4451
4269
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4452
4270
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4453
4271
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4454
|
-
trackInteraction: (extraData?:
|
|
4272
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4455
4273
|
isLastUsedWidget: boolean;
|
|
4456
4274
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4457
4275
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4468,10 +4286,7 @@ declare const InteractiveGraph: {
|
|
|
4468
4286
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4469
4287
|
showAlignmentOptions?: boolean | undefined;
|
|
4470
4288
|
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
|
-
*/
|
|
4289
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4475
4290
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4476
4291
|
interactionCallback?: ((widgetData: {
|
|
4477
4292
|
[widgetId: string]: any;
|
|
@@ -4492,10 +4307,8 @@ declare const InteractiveGraph: {
|
|
|
4492
4307
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4493
4308
|
isMobile?: boolean | undefined;
|
|
4494
4309
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4495
|
-
useDraftEditor?: boolean | undefined;
|
|
4496
4310
|
hintProgressColor?: string | undefined;
|
|
4497
4311
|
canScrollPage?: boolean | undefined;
|
|
4498
|
-
inModal?: boolean | undefined;
|
|
4499
4312
|
crossOutEnabled?: boolean | undefined;
|
|
4500
4313
|
editorChangeDelay?: number | undefined;
|
|
4501
4314
|
flags?: {
|
|
@@ -4503,11 +4316,14 @@ declare const InteractiveGraph: {
|
|
|
4503
4316
|
circle?: boolean | undefined;
|
|
4504
4317
|
polygon?: boolean | undefined;
|
|
4505
4318
|
linear?: boolean | undefined;
|
|
4319
|
+
quadratic?: boolean | undefined;
|
|
4320
|
+
sinusoid?: boolean | undefined;
|
|
4506
4321
|
"linear-system"?: boolean | undefined;
|
|
4507
4322
|
segment?: boolean | undefined;
|
|
4508
4323
|
ray?: boolean | undefined;
|
|
4509
4324
|
} & {
|
|
4510
4325
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4326
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4511
4327
|
}) | undefined;
|
|
4512
4328
|
} | undefined;
|
|
4513
4329
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4520,7 +4336,6 @@ declare const InteractiveGraph: {
|
|
|
4520
4336
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4521
4337
|
editorChangeDelay: number;
|
|
4522
4338
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4523
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4524
4339
|
isArticle: NonNullable<boolean | undefined>;
|
|
4525
4340
|
isMobile: NonNullable<boolean | undefined>;
|
|
4526
4341
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4528,7 +4343,6 @@ declare const InteractiveGraph: {
|
|
|
4528
4343
|
readOnly: NonNullable<boolean | undefined>;
|
|
4529
4344
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4530
4345
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4531
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4532
4346
|
}>;
|
|
4533
4347
|
keypadElement?: any;
|
|
4534
4348
|
questionCompleted?: boolean | undefined;
|
|
@@ -4537,11 +4351,11 @@ declare const InteractiveGraph: {
|
|
|
4537
4351
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4538
4352
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4539
4353
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4540
|
-
trackInteraction: (extraData?:
|
|
4354
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4541
4355
|
isLastUsedWidget: boolean;
|
|
4542
4356
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4543
4357
|
containerSizeClass: SizingUtils.SizeClass;
|
|
4544
|
-
}):
|
|
4358
|
+
}): [import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord, import("@khanacademy/perseus").Coord];
|
|
4545
4359
|
getQuadraticEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
4546
4360
|
widgetId: string;
|
|
4547
4361
|
alignment: string | null | undefined;
|
|
@@ -4554,10 +4368,7 @@ declare const InteractiveGraph: {
|
|
|
4554
4368
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4555
4369
|
showAlignmentOptions?: boolean | undefined;
|
|
4556
4370
|
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
|
-
*/
|
|
4371
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4561
4372
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4562
4373
|
interactionCallback?: ((widgetData: {
|
|
4563
4374
|
[widgetId: string]: any;
|
|
@@ -4578,10 +4389,8 @@ declare const InteractiveGraph: {
|
|
|
4578
4389
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4579
4390
|
isMobile?: boolean | undefined;
|
|
4580
4391
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4581
|
-
useDraftEditor?: boolean | undefined;
|
|
4582
4392
|
hintProgressColor?: string | undefined;
|
|
4583
4393
|
canScrollPage?: boolean | undefined;
|
|
4584
|
-
inModal?: boolean | undefined;
|
|
4585
4394
|
crossOutEnabled?: boolean | undefined;
|
|
4586
4395
|
editorChangeDelay?: number | undefined;
|
|
4587
4396
|
flags?: {
|
|
@@ -4589,11 +4398,14 @@ declare const InteractiveGraph: {
|
|
|
4589
4398
|
circle?: boolean | undefined;
|
|
4590
4399
|
polygon?: boolean | undefined;
|
|
4591
4400
|
linear?: boolean | undefined;
|
|
4401
|
+
quadratic?: boolean | undefined;
|
|
4402
|
+
sinusoid?: boolean | undefined;
|
|
4592
4403
|
"linear-system"?: boolean | undefined;
|
|
4593
4404
|
segment?: boolean | undefined;
|
|
4594
4405
|
ray?: boolean | undefined;
|
|
4595
4406
|
} & {
|
|
4596
4407
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4408
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4597
4409
|
}) | undefined;
|
|
4598
4410
|
} | undefined;
|
|
4599
4411
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4606,7 +4418,6 @@ declare const InteractiveGraph: {
|
|
|
4606
4418
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4607
4419
|
editorChangeDelay: number;
|
|
4608
4420
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4609
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4610
4421
|
isArticle: NonNullable<boolean | undefined>;
|
|
4611
4422
|
isMobile: NonNullable<boolean | undefined>;
|
|
4612
4423
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4614,7 +4425,6 @@ declare const InteractiveGraph: {
|
|
|
4614
4425
|
readOnly: NonNullable<boolean | undefined>;
|
|
4615
4426
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4616
4427
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4617
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4618
4428
|
}>;
|
|
4619
4429
|
keypadElement?: any;
|
|
4620
4430
|
questionCompleted?: boolean | undefined;
|
|
@@ -4623,7 +4433,7 @@ declare const InteractiveGraph: {
|
|
|
4623
4433
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4624
4434
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4625
4435
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4626
|
-
trackInteraction: (extraData?:
|
|
4436
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4627
4437
|
isLastUsedWidget: boolean;
|
|
4628
4438
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4629
4439
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4640,10 +4450,7 @@ declare const InteractiveGraph: {
|
|
|
4640
4450
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4641
4451
|
showAlignmentOptions?: boolean | undefined;
|
|
4642
4452
|
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
|
-
*/
|
|
4453
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4647
4454
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4648
4455
|
interactionCallback?: ((widgetData: {
|
|
4649
4456
|
[widgetId: string]: any;
|
|
@@ -4664,10 +4471,8 @@ declare const InteractiveGraph: {
|
|
|
4664
4471
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4665
4472
|
isMobile?: boolean | undefined;
|
|
4666
4473
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4667
|
-
useDraftEditor?: boolean | undefined;
|
|
4668
4474
|
hintProgressColor?: string | undefined;
|
|
4669
4475
|
canScrollPage?: boolean | undefined;
|
|
4670
|
-
inModal?: boolean | undefined;
|
|
4671
4476
|
crossOutEnabled?: boolean | undefined;
|
|
4672
4477
|
editorChangeDelay?: number | undefined;
|
|
4673
4478
|
flags?: {
|
|
@@ -4675,11 +4480,14 @@ declare const InteractiveGraph: {
|
|
|
4675
4480
|
circle?: boolean | undefined;
|
|
4676
4481
|
polygon?: boolean | undefined;
|
|
4677
4482
|
linear?: boolean | undefined;
|
|
4483
|
+
quadratic?: boolean | undefined;
|
|
4484
|
+
sinusoid?: boolean | undefined;
|
|
4678
4485
|
"linear-system"?: boolean | undefined;
|
|
4679
4486
|
segment?: boolean | undefined;
|
|
4680
4487
|
ray?: boolean | undefined;
|
|
4681
4488
|
} & {
|
|
4682
4489
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4490
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4683
4491
|
}) | undefined;
|
|
4684
4492
|
} | undefined;
|
|
4685
4493
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4692,7 +4500,6 @@ declare const InteractiveGraph: {
|
|
|
4692
4500
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4693
4501
|
editorChangeDelay: number;
|
|
4694
4502
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4695
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4696
4503
|
isArticle: NonNullable<boolean | undefined>;
|
|
4697
4504
|
isMobile: NonNullable<boolean | undefined>;
|
|
4698
4505
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4700,7 +4507,6 @@ declare const InteractiveGraph: {
|
|
|
4700
4507
|
readOnly: NonNullable<boolean | undefined>;
|
|
4701
4508
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4702
4509
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4703
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4704
4510
|
}>;
|
|
4705
4511
|
keypadElement?: any;
|
|
4706
4512
|
questionCompleted?: boolean | undefined;
|
|
@@ -4709,7 +4515,7 @@ declare const InteractiveGraph: {
|
|
|
4709
4515
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4710
4516
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4711
4517
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4712
|
-
trackInteraction: (extraData?:
|
|
4518
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4713
4519
|
isLastUsedWidget: boolean;
|
|
4714
4520
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4715
4521
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4726,10 +4532,7 @@ declare const InteractiveGraph: {
|
|
|
4726
4532
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4727
4533
|
showAlignmentOptions?: boolean | undefined;
|
|
4728
4534
|
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
|
-
*/
|
|
4535
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4733
4536
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4734
4537
|
interactionCallback?: ((widgetData: {
|
|
4735
4538
|
[widgetId: string]: any;
|
|
@@ -4750,10 +4553,8 @@ declare const InteractiveGraph: {
|
|
|
4750
4553
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4751
4554
|
isMobile?: boolean | undefined;
|
|
4752
4555
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4753
|
-
useDraftEditor?: boolean | undefined;
|
|
4754
4556
|
hintProgressColor?: string | undefined;
|
|
4755
4557
|
canScrollPage?: boolean | undefined;
|
|
4756
|
-
inModal?: boolean | undefined;
|
|
4757
4558
|
crossOutEnabled?: boolean | undefined;
|
|
4758
4559
|
editorChangeDelay?: number | undefined;
|
|
4759
4560
|
flags?: {
|
|
@@ -4761,11 +4562,14 @@ declare const InteractiveGraph: {
|
|
|
4761
4562
|
circle?: boolean | undefined;
|
|
4762
4563
|
polygon?: boolean | undefined;
|
|
4763
4564
|
linear?: boolean | undefined;
|
|
4565
|
+
quadratic?: boolean | undefined;
|
|
4566
|
+
sinusoid?: boolean | undefined;
|
|
4764
4567
|
"linear-system"?: boolean | undefined;
|
|
4765
4568
|
segment?: boolean | undefined;
|
|
4766
4569
|
ray?: boolean | undefined;
|
|
4767
4570
|
} & {
|
|
4768
4571
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4572
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4769
4573
|
}) | undefined;
|
|
4770
4574
|
} | undefined;
|
|
4771
4575
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4778,7 +4582,6 @@ declare const InteractiveGraph: {
|
|
|
4778
4582
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4779
4583
|
editorChangeDelay: number;
|
|
4780
4584
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4781
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4782
4585
|
isArticle: NonNullable<boolean | undefined>;
|
|
4783
4586
|
isMobile: NonNullable<boolean | undefined>;
|
|
4784
4587
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4786,7 +4589,6 @@ declare const InteractiveGraph: {
|
|
|
4786
4589
|
readOnly: NonNullable<boolean | undefined>;
|
|
4787
4590
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4788
4591
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4789
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4790
4592
|
}>;
|
|
4791
4593
|
keypadElement?: any;
|
|
4792
4594
|
questionCompleted?: boolean | undefined;
|
|
@@ -4795,7 +4597,7 @@ declare const InteractiveGraph: {
|
|
|
4795
4597
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4796
4598
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4797
4599
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4798
|
-
trackInteraction: (extraData?:
|
|
4600
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4799
4601
|
isLastUsedWidget: boolean;
|
|
4800
4602
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4801
4603
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4812,10 +4614,7 @@ declare const InteractiveGraph: {
|
|
|
4812
4614
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4813
4615
|
showAlignmentOptions?: boolean | undefined;
|
|
4814
4616
|
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
|
-
*/
|
|
4617
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4819
4618
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4820
4619
|
interactionCallback?: ((widgetData: {
|
|
4821
4620
|
[widgetId: string]: any;
|
|
@@ -4836,10 +4635,8 @@ declare const InteractiveGraph: {
|
|
|
4836
4635
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4837
4636
|
isMobile?: boolean | undefined;
|
|
4838
4637
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4839
|
-
useDraftEditor?: boolean | undefined;
|
|
4840
4638
|
hintProgressColor?: string | undefined;
|
|
4841
4639
|
canScrollPage?: boolean | undefined;
|
|
4842
|
-
inModal?: boolean | undefined;
|
|
4843
4640
|
crossOutEnabled?: boolean | undefined;
|
|
4844
4641
|
editorChangeDelay?: number | undefined;
|
|
4845
4642
|
flags?: {
|
|
@@ -4847,11 +4644,14 @@ declare const InteractiveGraph: {
|
|
|
4847
4644
|
circle?: boolean | undefined;
|
|
4848
4645
|
polygon?: boolean | undefined;
|
|
4849
4646
|
linear?: boolean | undefined;
|
|
4647
|
+
quadratic?: boolean | undefined;
|
|
4648
|
+
sinusoid?: boolean | undefined;
|
|
4850
4649
|
"linear-system"?: boolean | undefined;
|
|
4851
4650
|
segment?: boolean | undefined;
|
|
4852
4651
|
ray?: boolean | undefined;
|
|
4853
4652
|
} & {
|
|
4854
4653
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4654
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4855
4655
|
}) | undefined;
|
|
4856
4656
|
} | undefined;
|
|
4857
4657
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4864,7 +4664,6 @@ declare const InteractiveGraph: {
|
|
|
4864
4664
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4865
4665
|
editorChangeDelay: number;
|
|
4866
4666
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4867
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4868
4667
|
isArticle: NonNullable<boolean | undefined>;
|
|
4869
4668
|
isMobile: NonNullable<boolean | undefined>;
|
|
4870
4669
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4872,7 +4671,6 @@ declare const InteractiveGraph: {
|
|
|
4872
4671
|
readOnly: NonNullable<boolean | undefined>;
|
|
4873
4672
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4874
4673
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4875
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4876
4674
|
}>;
|
|
4877
4675
|
keypadElement?: any;
|
|
4878
4676
|
questionCompleted?: boolean | undefined;
|
|
@@ -4881,7 +4679,7 @@ declare const InteractiveGraph: {
|
|
|
4881
4679
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4882
4680
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4883
4681
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4884
|
-
trackInteraction: (extraData?:
|
|
4682
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4885
4683
|
isLastUsedWidget: boolean;
|
|
4886
4684
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4887
4685
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4898,10 +4696,7 @@ declare const InteractiveGraph: {
|
|
|
4898
4696
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4899
4697
|
showAlignmentOptions?: boolean | undefined;
|
|
4900
4698
|
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
|
-
*/
|
|
4699
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4905
4700
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4906
4701
|
interactionCallback?: ((widgetData: {
|
|
4907
4702
|
[widgetId: string]: any;
|
|
@@ -4922,10 +4717,8 @@ declare const InteractiveGraph: {
|
|
|
4922
4717
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
4923
4718
|
isMobile?: boolean | undefined;
|
|
4924
4719
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
4925
|
-
useDraftEditor?: boolean | undefined;
|
|
4926
4720
|
hintProgressColor?: string | undefined;
|
|
4927
4721
|
canScrollPage?: boolean | undefined;
|
|
4928
|
-
inModal?: boolean | undefined;
|
|
4929
4722
|
crossOutEnabled?: boolean | undefined;
|
|
4930
4723
|
editorChangeDelay?: number | undefined;
|
|
4931
4724
|
flags?: {
|
|
@@ -4933,11 +4726,14 @@ declare const InteractiveGraph: {
|
|
|
4933
4726
|
circle?: boolean | undefined;
|
|
4934
4727
|
polygon?: boolean | undefined;
|
|
4935
4728
|
linear?: boolean | undefined;
|
|
4729
|
+
quadratic?: boolean | undefined;
|
|
4730
|
+
sinusoid?: boolean | undefined;
|
|
4936
4731
|
"linear-system"?: boolean | undefined;
|
|
4937
4732
|
segment?: boolean | undefined;
|
|
4938
4733
|
ray?: boolean | undefined;
|
|
4939
4734
|
} & {
|
|
4940
4735
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4736
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
4941
4737
|
}) | undefined;
|
|
4942
4738
|
} | undefined;
|
|
4943
4739
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -4950,7 +4746,6 @@ declare const InteractiveGraph: {
|
|
|
4950
4746
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
4951
4747
|
editorChangeDelay: number;
|
|
4952
4748
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
4953
|
-
inModal: NonNullable<boolean | undefined>;
|
|
4954
4749
|
isArticle: NonNullable<boolean | undefined>;
|
|
4955
4750
|
isMobile: NonNullable<boolean | undefined>;
|
|
4956
4751
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -4958,7 +4753,6 @@ declare const InteractiveGraph: {
|
|
|
4958
4753
|
readOnly: NonNullable<boolean | undefined>;
|
|
4959
4754
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
4960
4755
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
4961
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
4962
4756
|
}>;
|
|
4963
4757
|
keypadElement?: any;
|
|
4964
4758
|
questionCompleted?: boolean | undefined;
|
|
@@ -4967,7 +4761,7 @@ declare const InteractiveGraph: {
|
|
|
4967
4761
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4968
4762
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4969
4763
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4970
|
-
trackInteraction: (extraData?:
|
|
4764
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
4971
4765
|
isLastUsedWidget: boolean;
|
|
4972
4766
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4973
4767
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -4984,10 +4778,7 @@ declare const InteractiveGraph: {
|
|
|
4984
4778
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
4985
4779
|
showAlignmentOptions?: boolean | undefined;
|
|
4986
4780
|
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
|
-
*/
|
|
4781
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
4991
4782
|
getAnotherHint?: (() => unknown) | undefined;
|
|
4992
4783
|
interactionCallback?: ((widgetData: {
|
|
4993
4784
|
[widgetId: string]: any;
|
|
@@ -5008,10 +4799,8 @@ declare const InteractiveGraph: {
|
|
|
5008
4799
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5009
4800
|
isMobile?: boolean | undefined;
|
|
5010
4801
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5011
|
-
useDraftEditor?: boolean | undefined;
|
|
5012
4802
|
hintProgressColor?: string | undefined;
|
|
5013
4803
|
canScrollPage?: boolean | undefined;
|
|
5014
|
-
inModal?: boolean | undefined;
|
|
5015
4804
|
crossOutEnabled?: boolean | undefined;
|
|
5016
4805
|
editorChangeDelay?: number | undefined;
|
|
5017
4806
|
flags?: {
|
|
@@ -5019,11 +4808,14 @@ declare const InteractiveGraph: {
|
|
|
5019
4808
|
circle?: boolean | undefined;
|
|
5020
4809
|
polygon?: boolean | undefined;
|
|
5021
4810
|
linear?: boolean | undefined;
|
|
4811
|
+
quadratic?: boolean | undefined;
|
|
4812
|
+
sinusoid?: boolean | undefined;
|
|
5022
4813
|
"linear-system"?: boolean | undefined;
|
|
5023
4814
|
segment?: boolean | undefined;
|
|
5024
4815
|
ray?: boolean | undefined;
|
|
5025
4816
|
} & {
|
|
5026
4817
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4818
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5027
4819
|
}) | undefined;
|
|
5028
4820
|
} | undefined;
|
|
5029
4821
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5036,7 +4828,6 @@ declare const InteractiveGraph: {
|
|
|
5036
4828
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5037
4829
|
editorChangeDelay: number;
|
|
5038
4830
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5039
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5040
4831
|
isArticle: NonNullable<boolean | undefined>;
|
|
5041
4832
|
isMobile: NonNullable<boolean | undefined>;
|
|
5042
4833
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5044,7 +4835,6 @@ declare const InteractiveGraph: {
|
|
|
5044
4835
|
readOnly: NonNullable<boolean | undefined>;
|
|
5045
4836
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5046
4837
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5047
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5048
4838
|
}>;
|
|
5049
4839
|
keypadElement?: any;
|
|
5050
4840
|
questionCompleted?: boolean | undefined;
|
|
@@ -5053,7 +4843,7 @@ declare const InteractiveGraph: {
|
|
|
5053
4843
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5054
4844
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5055
4845
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5056
|
-
trackInteraction: (extraData?:
|
|
4846
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5057
4847
|
isLastUsedWidget: boolean;
|
|
5058
4848
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5059
4849
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5070,10 +4860,7 @@ declare const InteractiveGraph: {
|
|
|
5070
4860
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5071
4861
|
showAlignmentOptions?: boolean | undefined;
|
|
5072
4862
|
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
|
-
*/
|
|
4863
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5077
4864
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5078
4865
|
interactionCallback?: ((widgetData: {
|
|
5079
4866
|
[widgetId: string]: any;
|
|
@@ -5094,10 +4881,8 @@ declare const InteractiveGraph: {
|
|
|
5094
4881
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5095
4882
|
isMobile?: boolean | undefined;
|
|
5096
4883
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5097
|
-
useDraftEditor?: boolean | undefined;
|
|
5098
4884
|
hintProgressColor?: string | undefined;
|
|
5099
4885
|
canScrollPage?: boolean | undefined;
|
|
5100
|
-
inModal?: boolean | undefined;
|
|
5101
4886
|
crossOutEnabled?: boolean | undefined;
|
|
5102
4887
|
editorChangeDelay?: number | undefined;
|
|
5103
4888
|
flags?: {
|
|
@@ -5105,11 +4890,14 @@ declare const InteractiveGraph: {
|
|
|
5105
4890
|
circle?: boolean | undefined;
|
|
5106
4891
|
polygon?: boolean | undefined;
|
|
5107
4892
|
linear?: boolean | undefined;
|
|
4893
|
+
quadratic?: boolean | undefined;
|
|
4894
|
+
sinusoid?: boolean | undefined;
|
|
5108
4895
|
"linear-system"?: boolean | undefined;
|
|
5109
4896
|
segment?: boolean | undefined;
|
|
5110
4897
|
ray?: boolean | undefined;
|
|
5111
4898
|
} & {
|
|
5112
4899
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4900
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5113
4901
|
}) | undefined;
|
|
5114
4902
|
} | undefined;
|
|
5115
4903
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5122,7 +4910,6 @@ declare const InteractiveGraph: {
|
|
|
5122
4910
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5123
4911
|
editorChangeDelay: number;
|
|
5124
4912
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5125
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5126
4913
|
isArticle: NonNullable<boolean | undefined>;
|
|
5127
4914
|
isMobile: NonNullable<boolean | undefined>;
|
|
5128
4915
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5130,7 +4917,6 @@ declare const InteractiveGraph: {
|
|
|
5130
4917
|
readOnly: NonNullable<boolean | undefined>;
|
|
5131
4918
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5132
4919
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5133
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5134
4920
|
}>;
|
|
5135
4921
|
keypadElement?: any;
|
|
5136
4922
|
questionCompleted?: boolean | undefined;
|
|
@@ -5139,7 +4925,7 @@ declare const InteractiveGraph: {
|
|
|
5139
4925
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5140
4926
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5141
4927
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5142
|
-
trackInteraction: (extraData?:
|
|
4928
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5143
4929
|
isLastUsedWidget: boolean;
|
|
5144
4930
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5145
4931
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5156,10 +4942,7 @@ declare const InteractiveGraph: {
|
|
|
5156
4942
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5157
4943
|
showAlignmentOptions?: boolean | undefined;
|
|
5158
4944
|
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
|
-
*/
|
|
4945
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5163
4946
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5164
4947
|
interactionCallback?: ((widgetData: {
|
|
5165
4948
|
[widgetId: string]: any;
|
|
@@ -5180,10 +4963,8 @@ declare const InteractiveGraph: {
|
|
|
5180
4963
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5181
4964
|
isMobile?: boolean | undefined;
|
|
5182
4965
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5183
|
-
useDraftEditor?: boolean | undefined;
|
|
5184
4966
|
hintProgressColor?: string | undefined;
|
|
5185
4967
|
canScrollPage?: boolean | undefined;
|
|
5186
|
-
inModal?: boolean | undefined;
|
|
5187
4968
|
crossOutEnabled?: boolean | undefined;
|
|
5188
4969
|
editorChangeDelay?: number | undefined;
|
|
5189
4970
|
flags?: {
|
|
@@ -5191,11 +4972,14 @@ declare const InteractiveGraph: {
|
|
|
5191
4972
|
circle?: boolean | undefined;
|
|
5192
4973
|
polygon?: boolean | undefined;
|
|
5193
4974
|
linear?: boolean | undefined;
|
|
4975
|
+
quadratic?: boolean | undefined;
|
|
4976
|
+
sinusoid?: boolean | undefined;
|
|
5194
4977
|
"linear-system"?: boolean | undefined;
|
|
5195
4978
|
segment?: boolean | undefined;
|
|
5196
4979
|
ray?: boolean | undefined;
|
|
5197
4980
|
} & {
|
|
5198
4981
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
4982
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5199
4983
|
}) | undefined;
|
|
5200
4984
|
} | undefined;
|
|
5201
4985
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5208,7 +4992,6 @@ declare const InteractiveGraph: {
|
|
|
5208
4992
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5209
4993
|
editorChangeDelay: number;
|
|
5210
4994
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5211
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5212
4995
|
isArticle: NonNullable<boolean | undefined>;
|
|
5213
4996
|
isMobile: NonNullable<boolean | undefined>;
|
|
5214
4997
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5216,7 +4999,6 @@ declare const InteractiveGraph: {
|
|
|
5216
4999
|
readOnly: NonNullable<boolean | undefined>;
|
|
5217
5000
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5218
5001
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5219
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5220
5002
|
}>;
|
|
5221
5003
|
keypadElement?: any;
|
|
5222
5004
|
questionCompleted?: boolean | undefined;
|
|
@@ -5225,7 +5007,7 @@ declare const InteractiveGraph: {
|
|
|
5225
5007
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5226
5008
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5227
5009
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5228
|
-
trackInteraction: (extraData?:
|
|
5010
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5229
5011
|
isLastUsedWidget: boolean;
|
|
5230
5012
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5231
5013
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5242,10 +5024,7 @@ declare const InteractiveGraph: {
|
|
|
5242
5024
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5243
5025
|
showAlignmentOptions?: boolean | undefined;
|
|
5244
5026
|
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
|
-
*/
|
|
5027
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5249
5028
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5250
5029
|
interactionCallback?: ((widgetData: {
|
|
5251
5030
|
[widgetId: string]: any;
|
|
@@ -5266,10 +5045,8 @@ declare const InteractiveGraph: {
|
|
|
5266
5045
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5267
5046
|
isMobile?: boolean | undefined;
|
|
5268
5047
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5269
|
-
useDraftEditor?: boolean | undefined;
|
|
5270
5048
|
hintProgressColor?: string | undefined;
|
|
5271
5049
|
canScrollPage?: boolean | undefined;
|
|
5272
|
-
inModal?: boolean | undefined;
|
|
5273
5050
|
crossOutEnabled?: boolean | undefined;
|
|
5274
5051
|
editorChangeDelay?: number | undefined;
|
|
5275
5052
|
flags?: {
|
|
@@ -5277,11 +5054,14 @@ declare const InteractiveGraph: {
|
|
|
5277
5054
|
circle?: boolean | undefined;
|
|
5278
5055
|
polygon?: boolean | undefined;
|
|
5279
5056
|
linear?: boolean | undefined;
|
|
5057
|
+
quadratic?: boolean | undefined;
|
|
5058
|
+
sinusoid?: boolean | undefined;
|
|
5280
5059
|
"linear-system"?: boolean | undefined;
|
|
5281
5060
|
segment?: boolean | undefined;
|
|
5282
5061
|
ray?: boolean | undefined;
|
|
5283
5062
|
} & {
|
|
5284
5063
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
5064
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5285
5065
|
}) | undefined;
|
|
5286
5066
|
} | undefined;
|
|
5287
5067
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5294,7 +5074,6 @@ declare const InteractiveGraph: {
|
|
|
5294
5074
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5295
5075
|
editorChangeDelay: number;
|
|
5296
5076
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5297
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5298
5077
|
isArticle: NonNullable<boolean | undefined>;
|
|
5299
5078
|
isMobile: NonNullable<boolean | undefined>;
|
|
5300
5079
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5302,7 +5081,6 @@ declare const InteractiveGraph: {
|
|
|
5302
5081
|
readOnly: NonNullable<boolean | undefined>;
|
|
5303
5082
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5304
5083
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5305
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5306
5084
|
}>;
|
|
5307
5085
|
keypadElement?: any;
|
|
5308
5086
|
questionCompleted?: boolean | undefined;
|
|
@@ -5311,7 +5089,7 @@ declare const InteractiveGraph: {
|
|
|
5311
5089
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5312
5090
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5313
5091
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5314
|
-
trackInteraction: (extraData?:
|
|
5092
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5315
5093
|
isLastUsedWidget: boolean;
|
|
5316
5094
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5317
5095
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5328,10 +5106,7 @@ declare const InteractiveGraph: {
|
|
|
5328
5106
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5329
5107
|
showAlignmentOptions?: boolean | undefined;
|
|
5330
5108
|
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
|
-
*/
|
|
5109
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5335
5110
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5336
5111
|
interactionCallback?: ((widgetData: {
|
|
5337
5112
|
[widgetId: string]: any;
|
|
@@ -5352,10 +5127,8 @@ declare const InteractiveGraph: {
|
|
|
5352
5127
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5353
5128
|
isMobile?: boolean | undefined;
|
|
5354
5129
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5355
|
-
useDraftEditor?: boolean | undefined;
|
|
5356
5130
|
hintProgressColor?: string | undefined;
|
|
5357
5131
|
canScrollPage?: boolean | undefined;
|
|
5358
|
-
inModal?: boolean | undefined;
|
|
5359
5132
|
crossOutEnabled?: boolean | undefined;
|
|
5360
5133
|
editorChangeDelay?: number | undefined;
|
|
5361
5134
|
flags?: {
|
|
@@ -5363,11 +5136,14 @@ declare const InteractiveGraph: {
|
|
|
5363
5136
|
circle?: boolean | undefined;
|
|
5364
5137
|
polygon?: boolean | undefined;
|
|
5365
5138
|
linear?: boolean | undefined;
|
|
5139
|
+
quadratic?: boolean | undefined;
|
|
5140
|
+
sinusoid?: boolean | undefined;
|
|
5366
5141
|
"linear-system"?: boolean | undefined;
|
|
5367
5142
|
segment?: boolean | undefined;
|
|
5368
5143
|
ray?: boolean | undefined;
|
|
5369
5144
|
} & {
|
|
5370
5145
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
5146
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5371
5147
|
}) | undefined;
|
|
5372
5148
|
} | undefined;
|
|
5373
5149
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5380,7 +5156,6 @@ declare const InteractiveGraph: {
|
|
|
5380
5156
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5381
5157
|
editorChangeDelay: number;
|
|
5382
5158
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5383
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5384
5159
|
isArticle: NonNullable<boolean | undefined>;
|
|
5385
5160
|
isMobile: NonNullable<boolean | undefined>;
|
|
5386
5161
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5388,7 +5163,6 @@ declare const InteractiveGraph: {
|
|
|
5388
5163
|
readOnly: NonNullable<boolean | undefined>;
|
|
5389
5164
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5390
5165
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5391
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5392
5166
|
}>;
|
|
5393
5167
|
keypadElement?: any;
|
|
5394
5168
|
questionCompleted?: boolean | undefined;
|
|
@@ -5397,7 +5171,7 @@ declare const InteractiveGraph: {
|
|
|
5397
5171
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5398
5172
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5399
5173
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5400
|
-
trackInteraction: (extraData?:
|
|
5174
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5401
5175
|
isLastUsedWidget: boolean;
|
|
5402
5176
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5403
5177
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5414,10 +5188,7 @@ declare const InteractiveGraph: {
|
|
|
5414
5188
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5415
5189
|
showAlignmentOptions?: boolean | undefined;
|
|
5416
5190
|
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
|
-
*/
|
|
5191
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5421
5192
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5422
5193
|
interactionCallback?: ((widgetData: {
|
|
5423
5194
|
[widgetId: string]: any;
|
|
@@ -5438,10 +5209,8 @@ declare const InteractiveGraph: {
|
|
|
5438
5209
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5439
5210
|
isMobile?: boolean | undefined;
|
|
5440
5211
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5441
|
-
useDraftEditor?: boolean | undefined;
|
|
5442
5212
|
hintProgressColor?: string | undefined;
|
|
5443
5213
|
canScrollPage?: boolean | undefined;
|
|
5444
|
-
inModal?: boolean | undefined;
|
|
5445
5214
|
crossOutEnabled?: boolean | undefined;
|
|
5446
5215
|
editorChangeDelay?: number | undefined;
|
|
5447
5216
|
flags?: {
|
|
@@ -5449,11 +5218,14 @@ declare const InteractiveGraph: {
|
|
|
5449
5218
|
circle?: boolean | undefined;
|
|
5450
5219
|
polygon?: boolean | undefined;
|
|
5451
5220
|
linear?: boolean | undefined;
|
|
5221
|
+
quadratic?: boolean | undefined;
|
|
5222
|
+
sinusoid?: boolean | undefined;
|
|
5452
5223
|
"linear-system"?: boolean | undefined;
|
|
5453
5224
|
segment?: boolean | undefined;
|
|
5454
5225
|
ray?: boolean | undefined;
|
|
5455
5226
|
} & {
|
|
5456
5227
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
5228
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5457
5229
|
}) | undefined;
|
|
5458
5230
|
} | undefined;
|
|
5459
5231
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5466,7 +5238,6 @@ declare const InteractiveGraph: {
|
|
|
5466
5238
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5467
5239
|
editorChangeDelay: number;
|
|
5468
5240
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5469
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5470
5241
|
isArticle: NonNullable<boolean | undefined>;
|
|
5471
5242
|
isMobile: NonNullable<boolean | undefined>;
|
|
5472
5243
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5474,7 +5245,6 @@ declare const InteractiveGraph: {
|
|
|
5474
5245
|
readOnly: NonNullable<boolean | undefined>;
|
|
5475
5246
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5476
5247
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5477
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5478
5248
|
}>;
|
|
5479
5249
|
keypadElement?: any;
|
|
5480
5250
|
questionCompleted?: boolean | undefined;
|
|
@@ -5483,7 +5253,7 @@ declare const InteractiveGraph: {
|
|
|
5483
5253
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5484
5254
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5485
5255
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5486
|
-
trackInteraction: (extraData?:
|
|
5256
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5487
5257
|
isLastUsedWidget: boolean;
|
|
5488
5258
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5489
5259
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5501,10 +5271,7 @@ declare const InteractiveGraph: {
|
|
|
5501
5271
|
GroupMetadataEditor?: React.ComponentType<any> | undefined;
|
|
5502
5272
|
showAlignmentOptions?: boolean | undefined;
|
|
5503
5273
|
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
|
-
*/
|
|
5274
|
+
answerableCallback?: ((arg1: boolean) => unknown) | undefined;
|
|
5508
5275
|
getAnotherHint?: (() => unknown) | undefined;
|
|
5509
5276
|
interactionCallback?: ((widgetData: {
|
|
5510
5277
|
[widgetId: string]: any;
|
|
@@ -5525,10 +5292,8 @@ declare const InteractiveGraph: {
|
|
|
5525
5292
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
5526
5293
|
isMobile?: boolean | undefined;
|
|
5527
5294
|
setDrawingAreaAvailable?: ((arg1: boolean) => unknown) | undefined;
|
|
5528
|
-
useDraftEditor?: boolean | undefined;
|
|
5529
5295
|
hintProgressColor?: string | undefined;
|
|
5530
5296
|
canScrollPage?: boolean | undefined;
|
|
5531
|
-
inModal?: boolean | undefined;
|
|
5532
5297
|
crossOutEnabled?: boolean | undefined;
|
|
5533
5298
|
editorChangeDelay?: number | undefined;
|
|
5534
5299
|
flags?: {
|
|
@@ -5536,11 +5301,14 @@ declare const InteractiveGraph: {
|
|
|
5536
5301
|
circle?: boolean | undefined;
|
|
5537
5302
|
polygon?: boolean | undefined;
|
|
5538
5303
|
linear?: boolean | undefined;
|
|
5304
|
+
quadratic?: boolean | undefined;
|
|
5305
|
+
sinusoid?: boolean | undefined;
|
|
5539
5306
|
"linear-system"?: boolean | undefined;
|
|
5540
5307
|
segment?: boolean | undefined;
|
|
5541
5308
|
ray?: boolean | undefined;
|
|
5542
5309
|
} & {
|
|
5543
5310
|
"interactive-graph-locked-features-m1"?: boolean | undefined;
|
|
5311
|
+
"interactive-graph-locked-features-m2"?: boolean | undefined;
|
|
5544
5312
|
}) | undefined;
|
|
5545
5313
|
} | undefined;
|
|
5546
5314
|
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
@@ -5553,7 +5321,6 @@ declare const InteractiveGraph: {
|
|
|
5553
5321
|
crossOutEnabled: NonNullable<boolean | undefined>;
|
|
5554
5322
|
editorChangeDelay: number;
|
|
5555
5323
|
groupAnnotator: (groupNumber: number, widgetId: string) => React.ReactNode;
|
|
5556
|
-
inModal: NonNullable<boolean | undefined>;
|
|
5557
5324
|
isArticle: NonNullable<boolean | undefined>;
|
|
5558
5325
|
isMobile: NonNullable<boolean | undefined>;
|
|
5559
5326
|
onFocusChange: (newFocusPath: import("@khanacademy/perseus").FocusPath, oldFocusPath: import("@khanacademy/perseus").FocusPath, keypadHeight?: number | undefined, focusedElement?: HTMLElement | undefined) => unknown;
|
|
@@ -5561,7 +5328,6 @@ declare const InteractiveGraph: {
|
|
|
5561
5328
|
readOnly: NonNullable<boolean | undefined>;
|
|
5562
5329
|
setDrawingAreaAvailable: (arg1: boolean) => unknown;
|
|
5563
5330
|
showAlignmentOptions: NonNullable<boolean | undefined>;
|
|
5564
|
-
useDraftEditor: NonNullable<boolean | undefined>;
|
|
5565
5331
|
}>;
|
|
5566
5332
|
keypadElement?: any;
|
|
5567
5333
|
questionCompleted?: boolean | undefined;
|
|
@@ -5570,7 +5336,7 @@ declare const InteractiveGraph: {
|
|
|
5570
5336
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
5571
5337
|
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
5572
5338
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
5573
|
-
trackInteraction: (extraData?:
|
|
5339
|
+
trackInteraction: (extraData?: Empty | undefined) => void;
|
|
5574
5340
|
isLastUsedWidget: boolean;
|
|
5575
5341
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5576
5342
|
containerSizeClass: SizingUtils.SizeClass;
|
|
@@ -5699,5 +5465,6 @@ declare class InteractiveGraphEditor extends React.Component<Props> {
|
|
|
5699
5465
|
render(): JSX.Element;
|
|
5700
5466
|
changeMatchType: (newValue: any) => void;
|
|
5701
5467
|
serialize(): PerseusInteractiveGraphWidgetOptions;
|
|
5468
|
+
getSaveWarnings: () => any[];
|
|
5702
5469
|
}
|
|
5703
5470
|
export default InteractiveGraphEditor;
|