@khanacademy/perseus-editor 2.6.2 → 2.6.4
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/CHANGELOG.md +20 -0
- package/dist/components/section-control-button.d.ts +2 -1
- package/dist/es/index.js +9 -0
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/widgets/input-number-editor.d.ts +7 -6
- package/dist/widgets/interactive-graph-editor.d.ts +140 -139
- package/package.json +2 -2
- package/src/components/section-control-button.tsx +3 -4
- package/src/multirenderer-editor.tsx +6 -0
- package/src/widgets/input-number-editor.tsx +8 -23
- package/src/widgets/interactive-graph-editor.tsx +2 -5
- package/tsconfig-build.tsbuildinfo +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SizingUtils } from "@khanacademy/perseus";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import type { PerseusImageBackground, PerseusInteractiveGraphWidgetOptions, APIOptionsWithDefaults } from "@khanacademy/perseus";
|
|
4
|
+
import type { PropsFor } from "@khanacademy/wonder-blocks-core";
|
|
4
5
|
declare const InteractiveGraph: {
|
|
5
6
|
new (props: (PerseusInteractiveGraphWidgetOptions & {
|
|
6
7
|
widgetId: string;
|
|
@@ -28,7 +29,7 @@ declare const InteractiveGraph: {
|
|
|
28
29
|
type: string;
|
|
29
30
|
id: string;
|
|
30
31
|
correct?: boolean | undefined;
|
|
31
|
-
} &
|
|
32
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
32
33
|
customKeypad?: boolean | undefined;
|
|
33
34
|
useV2Keypad?: boolean | undefined;
|
|
34
35
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -67,9 +68,9 @@ declare const InteractiveGraph: {
|
|
|
67
68
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
68
69
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
69
70
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
70
|
-
trackInteraction: (extraData?:
|
|
71
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
71
72
|
isLastUsedWidget: boolean;
|
|
72
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
73
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
73
74
|
containerSizeClass: SizingUtils.SizeClass;
|
|
74
75
|
}) | Readonly<PerseusInteractiveGraphWidgetOptions & {
|
|
75
76
|
widgetId: string;
|
|
@@ -97,7 +98,7 @@ declare const InteractiveGraph: {
|
|
|
97
98
|
type: string;
|
|
98
99
|
id: string;
|
|
99
100
|
correct?: boolean | undefined;
|
|
100
|
-
} &
|
|
101
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
101
102
|
customKeypad?: boolean | undefined;
|
|
102
103
|
useV2Keypad?: boolean | undefined;
|
|
103
104
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -136,9 +137,9 @@ declare const InteractiveGraph: {
|
|
|
136
137
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
137
138
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
138
139
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
139
|
-
trackInteraction: (extraData?:
|
|
140
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
140
141
|
isLastUsedWidget: boolean;
|
|
141
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
142
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
142
143
|
containerSizeClass: SizingUtils.SizeClass;
|
|
143
144
|
}>): {
|
|
144
145
|
angle: any;
|
|
@@ -186,7 +187,7 @@ declare const InteractiveGraph: {
|
|
|
186
187
|
type: string;
|
|
187
188
|
id: string;
|
|
188
189
|
correct?: boolean | undefined;
|
|
189
|
-
} &
|
|
190
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
190
191
|
customKeypad?: boolean | undefined;
|
|
191
192
|
useV2Keypad?: boolean | undefined;
|
|
192
193
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -225,9 +226,9 @@ declare const InteractiveGraph: {
|
|
|
225
226
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
226
227
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
227
228
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
228
|
-
trackInteraction: (extraData?:
|
|
229
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
229
230
|
isLastUsedWidget: boolean;
|
|
230
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
231
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
231
232
|
containerSizeClass: SizingUtils.SizeClass;
|
|
232
233
|
}): void;
|
|
233
234
|
componentDidUpdate(prevProps: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -256,7 +257,7 @@ declare const InteractiveGraph: {
|
|
|
256
257
|
type: string;
|
|
257
258
|
id: string;
|
|
258
259
|
correct?: boolean | undefined;
|
|
259
|
-
} &
|
|
260
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
260
261
|
customKeypad?: boolean | undefined;
|
|
261
262
|
useV2Keypad?: boolean | undefined;
|
|
262
263
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -295,9 +296,9 @@ declare const InteractiveGraph: {
|
|
|
295
296
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
296
297
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
297
298
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
298
|
-
trackInteraction: (extraData?:
|
|
299
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
299
300
|
isLastUsedWidget: boolean;
|
|
300
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
301
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
301
302
|
containerSizeClass: SizingUtils.SizeClass;
|
|
302
303
|
}, prevState: any): void;
|
|
303
304
|
_getShouldShowInstructions: (arg1?: (PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -326,7 +327,7 @@ declare const InteractiveGraph: {
|
|
|
326
327
|
type: string;
|
|
327
328
|
id: string;
|
|
328
329
|
correct?: boolean | undefined;
|
|
329
|
-
} &
|
|
330
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
330
331
|
customKeypad?: boolean | undefined;
|
|
331
332
|
useV2Keypad?: boolean | undefined;
|
|
332
333
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -365,9 +366,9 @@ declare const InteractiveGraph: {
|
|
|
365
366
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
366
367
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
367
368
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
368
|
-
trackInteraction: (extraData?:
|
|
369
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
369
370
|
isLastUsedWidget: boolean;
|
|
370
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
371
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
371
372
|
containerSizeClass: SizingUtils.SizeClass;
|
|
372
373
|
}) | null | undefined) => boolean;
|
|
373
374
|
deprecatedProps: any;
|
|
@@ -404,7 +405,7 @@ declare const InteractiveGraph: {
|
|
|
404
405
|
type: string;
|
|
405
406
|
id: string;
|
|
406
407
|
correct?: boolean | undefined;
|
|
407
|
-
} &
|
|
408
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
408
409
|
customKeypad?: boolean | undefined;
|
|
409
410
|
useV2Keypad?: boolean | undefined;
|
|
410
411
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -443,9 +444,9 @@ declare const InteractiveGraph: {
|
|
|
443
444
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
444
445
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
445
446
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
446
|
-
trackInteraction: (extraData?:
|
|
447
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
447
448
|
isLastUsedWidget: boolean;
|
|
448
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
449
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
449
450
|
containerSizeClass: SizingUtils.SizeClass;
|
|
450
451
|
}) | null | undefined) => boolean;
|
|
451
452
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
@@ -521,7 +522,7 @@ declare const InteractiveGraph: {
|
|
|
521
522
|
type: string;
|
|
522
523
|
id: string;
|
|
523
524
|
correct?: boolean | undefined;
|
|
524
|
-
} &
|
|
525
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
525
526
|
customKeypad?: boolean | undefined;
|
|
526
527
|
useV2Keypad?: boolean | undefined;
|
|
527
528
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -560,9 +561,9 @@ declare const InteractiveGraph: {
|
|
|
560
561
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
561
562
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
562
563
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
563
|
-
trackInteraction: (extraData?:
|
|
564
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
564
565
|
isLastUsedWidget: boolean;
|
|
565
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
566
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
566
567
|
containerSizeClass: SizingUtils.SizeClass;
|
|
567
568
|
}> & Readonly<{
|
|
568
569
|
children?: React.ReactNode;
|
|
@@ -596,7 +597,7 @@ declare const InteractiveGraph: {
|
|
|
596
597
|
type: string;
|
|
597
598
|
id: string;
|
|
598
599
|
correct?: boolean | undefined;
|
|
599
|
-
} &
|
|
600
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
600
601
|
customKeypad?: boolean | undefined;
|
|
601
602
|
useV2Keypad?: boolean | undefined;
|
|
602
603
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -635,9 +636,9 @@ declare const InteractiveGraph: {
|
|
|
635
636
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
636
637
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
637
638
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
638
|
-
trackInteraction: (extraData?:
|
|
639
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
639
640
|
isLastUsedWidget: boolean;
|
|
640
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
641
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
641
642
|
containerSizeClass: SizingUtils.SizeClass;
|
|
642
643
|
}>, nextState: Readonly<any>, nextContext: any): boolean;
|
|
643
644
|
componentWillUnmount?(): void;
|
|
@@ -668,7 +669,7 @@ declare const InteractiveGraph: {
|
|
|
668
669
|
type: string;
|
|
669
670
|
id: string;
|
|
670
671
|
correct?: boolean | undefined;
|
|
671
|
-
} &
|
|
672
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
672
673
|
customKeypad?: boolean | undefined;
|
|
673
674
|
useV2Keypad?: boolean | undefined;
|
|
674
675
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -707,9 +708,9 @@ declare const InteractiveGraph: {
|
|
|
707
708
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
708
709
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
709
710
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
710
|
-
trackInteraction: (extraData?:
|
|
711
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
711
712
|
isLastUsedWidget: boolean;
|
|
712
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
713
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
713
714
|
containerSizeClass: SizingUtils.SizeClass;
|
|
714
715
|
}>, prevState: Readonly<any>): any;
|
|
715
716
|
componentWillMount?(): void;
|
|
@@ -739,7 +740,7 @@ declare const InteractiveGraph: {
|
|
|
739
740
|
type: string;
|
|
740
741
|
id: string;
|
|
741
742
|
correct?: boolean | undefined;
|
|
742
|
-
} &
|
|
743
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
743
744
|
customKeypad?: boolean | undefined;
|
|
744
745
|
useV2Keypad?: boolean | undefined;
|
|
745
746
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -778,9 +779,9 @@ declare const InteractiveGraph: {
|
|
|
778
779
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
779
780
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
780
781
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
781
|
-
trackInteraction: (extraData?:
|
|
782
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
782
783
|
isLastUsedWidget: boolean;
|
|
783
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
784
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
784
785
|
containerSizeClass: SizingUtils.SizeClass;
|
|
785
786
|
}>, nextContext: any): void;
|
|
786
787
|
componentWillUpdate?(nextProps: Readonly<PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -809,7 +810,7 @@ declare const InteractiveGraph: {
|
|
|
809
810
|
type: string;
|
|
810
811
|
id: string;
|
|
811
812
|
correct?: boolean | undefined;
|
|
812
|
-
} &
|
|
813
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
813
814
|
customKeypad?: boolean | undefined;
|
|
814
815
|
useV2Keypad?: boolean | undefined;
|
|
815
816
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -848,9 +849,9 @@ declare const InteractiveGraph: {
|
|
|
848
849
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
849
850
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
850
851
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
851
|
-
trackInteraction: (extraData?:
|
|
852
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
852
853
|
isLastUsedWidget: boolean;
|
|
853
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
854
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
854
855
|
containerSizeClass: SizingUtils.SizeClass;
|
|
855
856
|
}>, nextState: Readonly<any>, nextContext: any): void;
|
|
856
857
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -879,7 +880,7 @@ declare const InteractiveGraph: {
|
|
|
879
880
|
type: string;
|
|
880
881
|
id: string;
|
|
881
882
|
correct?: boolean | undefined;
|
|
882
|
-
} &
|
|
883
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
883
884
|
customKeypad?: boolean | undefined;
|
|
884
885
|
useV2Keypad?: boolean | undefined;
|
|
885
886
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -918,9 +919,9 @@ declare const InteractiveGraph: {
|
|
|
918
919
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
919
920
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
920
921
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
921
|
-
trackInteraction: (extraData?:
|
|
922
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
922
923
|
isLastUsedWidget: boolean;
|
|
923
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
924
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
924
925
|
containerSizeClass: SizingUtils.SizeClass;
|
|
925
926
|
}>, nextState: Readonly<any>, nextContext: any): void;
|
|
926
927
|
};
|
|
@@ -950,7 +951,7 @@ declare const InteractiveGraph: {
|
|
|
950
951
|
type: string;
|
|
951
952
|
id: string;
|
|
952
953
|
correct?: boolean | undefined;
|
|
953
|
-
} &
|
|
954
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
954
955
|
customKeypad?: boolean | undefined;
|
|
955
956
|
useV2Keypad?: boolean | undefined;
|
|
956
957
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -989,9 +990,9 @@ declare const InteractiveGraph: {
|
|
|
989
990
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
990
991
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
991
992
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
992
|
-
trackInteraction: (extraData?:
|
|
993
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
993
994
|
isLastUsedWidget: boolean;
|
|
994
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
995
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
995
996
|
containerSizeClass: SizingUtils.SizeClass;
|
|
996
997
|
}, context: any): {
|
|
997
998
|
angle: any;
|
|
@@ -1039,7 +1040,7 @@ declare const InteractiveGraph: {
|
|
|
1039
1040
|
type: string;
|
|
1040
1041
|
id: string;
|
|
1041
1042
|
correct?: boolean | undefined;
|
|
1042
|
-
} &
|
|
1043
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1043
1044
|
customKeypad?: boolean | undefined;
|
|
1044
1045
|
useV2Keypad?: boolean | undefined;
|
|
1045
1046
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1078,9 +1079,9 @@ declare const InteractiveGraph: {
|
|
|
1078
1079
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1079
1080
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1080
1081
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1081
|
-
trackInteraction: (extraData?:
|
|
1082
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1082
1083
|
isLastUsedWidget: boolean;
|
|
1083
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1084
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1084
1085
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1085
1086
|
}): void;
|
|
1086
1087
|
componentDidUpdate(prevProps: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -1109,7 +1110,7 @@ declare const InteractiveGraph: {
|
|
|
1109
1110
|
type: string;
|
|
1110
1111
|
id: string;
|
|
1111
1112
|
correct?: boolean | undefined;
|
|
1112
|
-
} &
|
|
1113
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1113
1114
|
customKeypad?: boolean | undefined;
|
|
1114
1115
|
useV2Keypad?: boolean | undefined;
|
|
1115
1116
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1148,9 +1149,9 @@ declare const InteractiveGraph: {
|
|
|
1148
1149
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1149
1150
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1150
1151
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1151
|
-
trackInteraction: (extraData?:
|
|
1152
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1152
1153
|
isLastUsedWidget: boolean;
|
|
1153
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1154
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1154
1155
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1155
1156
|
}, prevState: any): void;
|
|
1156
1157
|
_getShouldShowInstructions: (arg1?: (PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -1179,7 +1180,7 @@ declare const InteractiveGraph: {
|
|
|
1179
1180
|
type: string;
|
|
1180
1181
|
id: string;
|
|
1181
1182
|
correct?: boolean | undefined;
|
|
1182
|
-
} &
|
|
1183
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1183
1184
|
customKeypad?: boolean | undefined;
|
|
1184
1185
|
useV2Keypad?: boolean | undefined;
|
|
1185
1186
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1218,9 +1219,9 @@ declare const InteractiveGraph: {
|
|
|
1218
1219
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1219
1220
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1220
1221
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1221
|
-
trackInteraction: (extraData?:
|
|
1222
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1222
1223
|
isLastUsedWidget: boolean;
|
|
1223
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1224
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1224
1225
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1225
1226
|
}) | null | undefined) => boolean;
|
|
1226
1227
|
deprecatedProps: any;
|
|
@@ -1257,7 +1258,7 @@ declare const InteractiveGraph: {
|
|
|
1257
1258
|
type: string;
|
|
1258
1259
|
id: string;
|
|
1259
1260
|
correct?: boolean | undefined;
|
|
1260
|
-
} &
|
|
1261
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1261
1262
|
customKeypad?: boolean | undefined;
|
|
1262
1263
|
useV2Keypad?: boolean | undefined;
|
|
1263
1264
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1296,9 +1297,9 @@ declare const InteractiveGraph: {
|
|
|
1296
1297
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1297
1298
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1298
1299
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1299
|
-
trackInteraction: (extraData?:
|
|
1300
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1300
1301
|
isLastUsedWidget: boolean;
|
|
1301
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1302
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1302
1303
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1303
1304
|
}) | null | undefined) => boolean;
|
|
1304
1305
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
@@ -1374,7 +1375,7 @@ declare const InteractiveGraph: {
|
|
|
1374
1375
|
type: string;
|
|
1375
1376
|
id: string;
|
|
1376
1377
|
correct?: boolean | undefined;
|
|
1377
|
-
} &
|
|
1378
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1378
1379
|
customKeypad?: boolean | undefined;
|
|
1379
1380
|
useV2Keypad?: boolean | undefined;
|
|
1380
1381
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1413,9 +1414,9 @@ declare const InteractiveGraph: {
|
|
|
1413
1414
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1414
1415
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1415
1416
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1416
|
-
trackInteraction: (extraData?:
|
|
1417
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1417
1418
|
isLastUsedWidget: boolean;
|
|
1418
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1419
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1419
1420
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1420
1421
|
}> & Readonly<{
|
|
1421
1422
|
children?: React.ReactNode;
|
|
@@ -1449,7 +1450,7 @@ declare const InteractiveGraph: {
|
|
|
1449
1450
|
type: string;
|
|
1450
1451
|
id: string;
|
|
1451
1452
|
correct?: boolean | undefined;
|
|
1452
|
-
} &
|
|
1453
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1453
1454
|
customKeypad?: boolean | undefined;
|
|
1454
1455
|
useV2Keypad?: boolean | undefined;
|
|
1455
1456
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1488,9 +1489,9 @@ declare const InteractiveGraph: {
|
|
|
1488
1489
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1489
1490
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1490
1491
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1491
|
-
trackInteraction: (extraData?:
|
|
1492
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1492
1493
|
isLastUsedWidget: boolean;
|
|
1493
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1494
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1494
1495
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1495
1496
|
}>, nextState: Readonly<any>, nextContext: any): boolean;
|
|
1496
1497
|
componentWillUnmount?(): void;
|
|
@@ -1521,7 +1522,7 @@ declare const InteractiveGraph: {
|
|
|
1521
1522
|
type: string;
|
|
1522
1523
|
id: string;
|
|
1523
1524
|
correct?: boolean | undefined;
|
|
1524
|
-
} &
|
|
1525
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1525
1526
|
customKeypad?: boolean | undefined;
|
|
1526
1527
|
useV2Keypad?: boolean | undefined;
|
|
1527
1528
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1560,9 +1561,9 @@ declare const InteractiveGraph: {
|
|
|
1560
1561
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1561
1562
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1562
1563
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1563
|
-
trackInteraction: (extraData?:
|
|
1564
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1564
1565
|
isLastUsedWidget: boolean;
|
|
1565
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1566
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1566
1567
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1567
1568
|
}>, prevState: Readonly<any>): any;
|
|
1568
1569
|
componentWillMount?(): void;
|
|
@@ -1592,7 +1593,7 @@ declare const InteractiveGraph: {
|
|
|
1592
1593
|
type: string;
|
|
1593
1594
|
id: string;
|
|
1594
1595
|
correct?: boolean | undefined;
|
|
1595
|
-
} &
|
|
1596
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1596
1597
|
customKeypad?: boolean | undefined;
|
|
1597
1598
|
useV2Keypad?: boolean | undefined;
|
|
1598
1599
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1631,9 +1632,9 @@ declare const InteractiveGraph: {
|
|
|
1631
1632
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1632
1633
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1633
1634
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1634
|
-
trackInteraction: (extraData?:
|
|
1635
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1635
1636
|
isLastUsedWidget: boolean;
|
|
1636
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1637
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1637
1638
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1638
1639
|
}>, nextContext: any): void;
|
|
1639
1640
|
componentWillUpdate?(nextProps: Readonly<PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -1662,7 +1663,7 @@ declare const InteractiveGraph: {
|
|
|
1662
1663
|
type: string;
|
|
1663
1664
|
id: string;
|
|
1664
1665
|
correct?: boolean | undefined;
|
|
1665
|
-
} &
|
|
1666
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1666
1667
|
customKeypad?: boolean | undefined;
|
|
1667
1668
|
useV2Keypad?: boolean | undefined;
|
|
1668
1669
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1701,9 +1702,9 @@ declare const InteractiveGraph: {
|
|
|
1701
1702
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1702
1703
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1703
1704
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1704
|
-
trackInteraction: (extraData?:
|
|
1705
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1705
1706
|
isLastUsedWidget: boolean;
|
|
1706
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1707
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1707
1708
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1708
1709
|
}>, nextState: Readonly<any>, nextContext: any): void;
|
|
1709
1710
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -1732,7 +1733,7 @@ declare const InteractiveGraph: {
|
|
|
1732
1733
|
type: string;
|
|
1733
1734
|
id: string;
|
|
1734
1735
|
correct?: boolean | undefined;
|
|
1735
|
-
} &
|
|
1736
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1736
1737
|
customKeypad?: boolean | undefined;
|
|
1737
1738
|
useV2Keypad?: boolean | undefined;
|
|
1738
1739
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1771,9 +1772,9 @@ declare const InteractiveGraph: {
|
|
|
1771
1772
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1772
1773
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1773
1774
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1774
|
-
trackInteraction: (extraData?:
|
|
1775
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1775
1776
|
isLastUsedWidget: boolean;
|
|
1776
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1777
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1777
1778
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1778
1779
|
}>, nextState: Readonly<any>, nextContext: any): void;
|
|
1779
1780
|
};
|
|
@@ -1818,7 +1819,7 @@ declare const InteractiveGraph: {
|
|
|
1818
1819
|
type: string;
|
|
1819
1820
|
id: string;
|
|
1820
1821
|
correct?: boolean | undefined;
|
|
1821
|
-
} &
|
|
1822
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1822
1823
|
customKeypad?: boolean | undefined;
|
|
1823
1824
|
useV2Keypad?: boolean | undefined;
|
|
1824
1825
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1857,9 +1858,9 @@ declare const InteractiveGraph: {
|
|
|
1857
1858
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1858
1859
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1859
1860
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1860
|
-
trackInteraction: (extraData?:
|
|
1861
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1861
1862
|
isLastUsedWidget: boolean;
|
|
1862
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1863
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1863
1864
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1864
1865
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
1865
1866
|
getPointCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -1888,7 +1889,7 @@ declare const InteractiveGraph: {
|
|
|
1888
1889
|
type: string;
|
|
1889
1890
|
id: string;
|
|
1890
1891
|
correct?: boolean | undefined;
|
|
1891
|
-
} &
|
|
1892
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1892
1893
|
customKeypad?: boolean | undefined;
|
|
1893
1894
|
useV2Keypad?: boolean | undefined;
|
|
1894
1895
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1927,9 +1928,9 @@ declare const InteractiveGraph: {
|
|
|
1927
1928
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1928
1929
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1929
1930
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1930
|
-
trackInteraction: (extraData?:
|
|
1931
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1931
1932
|
isLastUsedWidget: boolean;
|
|
1932
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
1933
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
1933
1934
|
containerSizeClass: SizingUtils.SizeClass;
|
|
1934
1935
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
1935
1936
|
getLinearSystemCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -1958,7 +1959,7 @@ declare const InteractiveGraph: {
|
|
|
1958
1959
|
type: string;
|
|
1959
1960
|
id: string;
|
|
1960
1961
|
correct?: boolean | undefined;
|
|
1961
|
-
} &
|
|
1962
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
1962
1963
|
customKeypad?: boolean | undefined;
|
|
1963
1964
|
useV2Keypad?: boolean | undefined;
|
|
1964
1965
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -1997,9 +1998,9 @@ declare const InteractiveGraph: {
|
|
|
1997
1998
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1998
1999
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
1999
2000
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2000
|
-
trackInteraction: (extraData?:
|
|
2001
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2001
2002
|
isLastUsedWidget: boolean;
|
|
2002
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2003
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2003
2004
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2004
2005
|
}): readonly (readonly import("@khanacademy/perseus").Coord[])[];
|
|
2005
2006
|
getPolygonCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphType, props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2028,7 +2029,7 @@ declare const InteractiveGraph: {
|
|
|
2028
2029
|
type: string;
|
|
2029
2030
|
id: string;
|
|
2030
2031
|
correct?: boolean | undefined;
|
|
2031
|
-
} &
|
|
2032
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2032
2033
|
customKeypad?: boolean | undefined;
|
|
2033
2034
|
useV2Keypad?: boolean | undefined;
|
|
2034
2035
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2067,9 +2068,9 @@ declare const InteractiveGraph: {
|
|
|
2067
2068
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2068
2069
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2069
2070
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2070
|
-
trackInteraction: (extraData?:
|
|
2071
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2071
2072
|
isLastUsedWidget: boolean;
|
|
2072
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2073
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2073
2074
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2074
2075
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
2075
2076
|
getSegmentCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphTypeSegment, props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2098,7 +2099,7 @@ declare const InteractiveGraph: {
|
|
|
2098
2099
|
type: string;
|
|
2099
2100
|
id: string;
|
|
2100
2101
|
correct?: boolean | undefined;
|
|
2101
|
-
} &
|
|
2102
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2102
2103
|
customKeypad?: boolean | undefined;
|
|
2103
2104
|
useV2Keypad?: boolean | undefined;
|
|
2104
2105
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2137,9 +2138,9 @@ declare const InteractiveGraph: {
|
|
|
2137
2138
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2138
2139
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2139
2140
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2140
|
-
trackInteraction: (extraData?:
|
|
2141
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2141
2142
|
isLastUsedWidget: boolean;
|
|
2142
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2143
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2143
2144
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2144
2145
|
}): readonly (readonly import("@khanacademy/perseus").Coord[])[];
|
|
2145
2146
|
getAngleCoords(graph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2168,7 +2169,7 @@ declare const InteractiveGraph: {
|
|
|
2168
2169
|
type: string;
|
|
2169
2170
|
id: string;
|
|
2170
2171
|
correct?: boolean | undefined;
|
|
2171
|
-
} &
|
|
2172
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2172
2173
|
customKeypad?: boolean | undefined;
|
|
2173
2174
|
useV2Keypad?: boolean | undefined;
|
|
2174
2175
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2207,9 +2208,9 @@ declare const InteractiveGraph: {
|
|
|
2207
2208
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2208
2209
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2209
2210
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2210
|
-
trackInteraction: (extraData?:
|
|
2211
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2211
2212
|
isLastUsedWidget: boolean;
|
|
2212
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2213
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2213
2214
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2214
2215
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
2215
2216
|
normalizeCoords(coordsList: readonly import("@khanacademy/perseus").Coord[], ranges: [import("../../../perseus/src/util/geometry").Range, import("../../../perseus/src/util/geometry").Range]): readonly import("@khanacademy/perseus").Coord[];
|
|
@@ -2239,7 +2240,7 @@ declare const InteractiveGraph: {
|
|
|
2239
2240
|
type: string;
|
|
2240
2241
|
id: string;
|
|
2241
2242
|
correct?: boolean | undefined;
|
|
2242
|
-
} &
|
|
2243
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2243
2244
|
customKeypad?: boolean | undefined;
|
|
2244
2245
|
useV2Keypad?: boolean | undefined;
|
|
2245
2246
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2278,9 +2279,9 @@ declare const InteractiveGraph: {
|
|
|
2278
2279
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2279
2280
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2280
2281
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2281
|
-
trackInteraction: (extraData?:
|
|
2282
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2282
2283
|
isLastUsedWidget: boolean;
|
|
2283
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2284
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2284
2285
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2285
2286
|
}): string;
|
|
2286
2287
|
pointsFromNormalized(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2309,7 +2310,7 @@ declare const InteractiveGraph: {
|
|
|
2309
2310
|
type: string;
|
|
2310
2311
|
id: string;
|
|
2311
2312
|
correct?: boolean | undefined;
|
|
2312
|
-
} &
|
|
2313
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2313
2314
|
customKeypad?: boolean | undefined;
|
|
2314
2315
|
useV2Keypad?: boolean | undefined;
|
|
2315
2316
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2348,9 +2349,9 @@ declare const InteractiveGraph: {
|
|
|
2348
2349
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2349
2350
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2350
2351
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2351
|
-
trackInteraction: (extraData?:
|
|
2352
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2352
2353
|
isLastUsedWidget: boolean;
|
|
2353
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2354
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2354
2355
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2355
2356
|
}, coordsList: readonly import("@khanacademy/perseus").Coord[], noSnap?: boolean | undefined): readonly import("@khanacademy/perseus").Coord[];
|
|
2356
2357
|
getLinearEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2379,7 +2380,7 @@ declare const InteractiveGraph: {
|
|
|
2379
2380
|
type: string;
|
|
2380
2381
|
id: string;
|
|
2381
2382
|
correct?: boolean | undefined;
|
|
2382
|
-
} &
|
|
2383
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2383
2384
|
customKeypad?: boolean | undefined;
|
|
2384
2385
|
useV2Keypad?: boolean | undefined;
|
|
2385
2386
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2418,9 +2419,9 @@ declare const InteractiveGraph: {
|
|
|
2418
2419
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2419
2420
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2420
2421
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2421
|
-
trackInteraction: (extraData?:
|
|
2422
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2422
2423
|
isLastUsedWidget: boolean;
|
|
2423
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2424
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2424
2425
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2425
2426
|
}): string;
|
|
2426
2427
|
getCurrentQuadraticCoefficients(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2449,7 +2450,7 @@ declare const InteractiveGraph: {
|
|
|
2449
2450
|
type: string;
|
|
2450
2451
|
id: string;
|
|
2451
2452
|
correct?: boolean | undefined;
|
|
2452
|
-
} &
|
|
2453
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2453
2454
|
customKeypad?: boolean | undefined;
|
|
2454
2455
|
useV2Keypad?: boolean | undefined;
|
|
2455
2456
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2488,9 +2489,9 @@ declare const InteractiveGraph: {
|
|
|
2488
2489
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2489
2490
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2490
2491
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2491
|
-
trackInteraction: (extraData?:
|
|
2492
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2492
2493
|
isLastUsedWidget: boolean;
|
|
2493
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2494
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2494
2495
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2495
2496
|
}): import("../../../perseus/src/util/geometry").QuadraticCoefficient;
|
|
2496
2497
|
defaultQuadraticCoords(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2519,7 +2520,7 @@ declare const InteractiveGraph: {
|
|
|
2519
2520
|
type: string;
|
|
2520
2521
|
id: string;
|
|
2521
2522
|
correct?: boolean | undefined;
|
|
2522
|
-
} &
|
|
2523
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2523
2524
|
customKeypad?: boolean | undefined;
|
|
2524
2525
|
useV2Keypad?: boolean | undefined;
|
|
2525
2526
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2558,9 +2559,9 @@ declare const InteractiveGraph: {
|
|
|
2558
2559
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2559
2560
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2560
2561
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2561
|
-
trackInteraction: (extraData?:
|
|
2562
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2562
2563
|
isLastUsedWidget: boolean;
|
|
2563
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2564
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2564
2565
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2565
2566
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
2566
2567
|
getQuadraticEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2589,7 +2590,7 @@ declare const InteractiveGraph: {
|
|
|
2589
2590
|
type: string;
|
|
2590
2591
|
id: string;
|
|
2591
2592
|
correct?: boolean | undefined;
|
|
2592
|
-
} &
|
|
2593
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2593
2594
|
customKeypad?: boolean | undefined;
|
|
2594
2595
|
useV2Keypad?: boolean | undefined;
|
|
2595
2596
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2628,9 +2629,9 @@ declare const InteractiveGraph: {
|
|
|
2628
2629
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2629
2630
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2630
2631
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2631
|
-
trackInteraction: (extraData?:
|
|
2632
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2632
2633
|
isLastUsedWidget: boolean;
|
|
2633
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2634
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2634
2635
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2635
2636
|
}): string;
|
|
2636
2637
|
getCurrentSinusoidCoefficients(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2659,7 +2660,7 @@ declare const InteractiveGraph: {
|
|
|
2659
2660
|
type: string;
|
|
2660
2661
|
id: string;
|
|
2661
2662
|
correct?: boolean | undefined;
|
|
2662
|
-
} &
|
|
2663
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2663
2664
|
customKeypad?: boolean | undefined;
|
|
2664
2665
|
useV2Keypad?: boolean | undefined;
|
|
2665
2666
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2698,9 +2699,9 @@ declare const InteractiveGraph: {
|
|
|
2698
2699
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2699
2700
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2700
2701
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2701
|
-
trackInteraction: (extraData?:
|
|
2702
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2702
2703
|
isLastUsedWidget: boolean;
|
|
2703
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2704
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2704
2705
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2705
2706
|
}): import("../../../perseus/src/util/geometry").SineCoefficient;
|
|
2706
2707
|
defaultSinusoidCoords(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2729,7 +2730,7 @@ declare const InteractiveGraph: {
|
|
|
2729
2730
|
type: string;
|
|
2730
2731
|
id: string;
|
|
2731
2732
|
correct?: boolean | undefined;
|
|
2732
|
-
} &
|
|
2733
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2733
2734
|
customKeypad?: boolean | undefined;
|
|
2734
2735
|
useV2Keypad?: boolean | undefined;
|
|
2735
2736
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2768,9 +2769,9 @@ declare const InteractiveGraph: {
|
|
|
2768
2769
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2769
2770
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2770
2771
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2771
|
-
trackInteraction: (extraData?:
|
|
2772
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2772
2773
|
isLastUsedWidget: boolean;
|
|
2773
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2774
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2774
2775
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2775
2776
|
}): readonly import("@khanacademy/perseus").Coord[];
|
|
2776
2777
|
getSinusoidEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2799,7 +2800,7 @@ declare const InteractiveGraph: {
|
|
|
2799
2800
|
type: string;
|
|
2800
2801
|
id: string;
|
|
2801
2802
|
correct?: boolean | undefined;
|
|
2802
|
-
} &
|
|
2803
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2803
2804
|
customKeypad?: boolean | undefined;
|
|
2804
2805
|
useV2Keypad?: boolean | undefined;
|
|
2805
2806
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2838,9 +2839,9 @@ declare const InteractiveGraph: {
|
|
|
2838
2839
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2839
2840
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2840
2841
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2841
|
-
trackInteraction: (extraData?:
|
|
2842
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2842
2843
|
isLastUsedWidget: boolean;
|
|
2843
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2844
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2844
2845
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2845
2846
|
}): string;
|
|
2846
2847
|
getCircleEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2869,7 +2870,7 @@ declare const InteractiveGraph: {
|
|
|
2869
2870
|
type: string;
|
|
2870
2871
|
id: string;
|
|
2871
2872
|
correct?: boolean | undefined;
|
|
2872
|
-
} &
|
|
2873
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2873
2874
|
customKeypad?: boolean | undefined;
|
|
2874
2875
|
useV2Keypad?: boolean | undefined;
|
|
2875
2876
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2908,9 +2909,9 @@ declare const InteractiveGraph: {
|
|
|
2908
2909
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2909
2910
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2910
2911
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2911
|
-
trackInteraction: (extraData?:
|
|
2912
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2912
2913
|
isLastUsedWidget: boolean;
|
|
2913
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2914
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2914
2915
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2915
2916
|
}): string;
|
|
2916
2917
|
getLinearSystemEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -2939,7 +2940,7 @@ declare const InteractiveGraph: {
|
|
|
2939
2940
|
type: string;
|
|
2940
2941
|
id: string;
|
|
2941
2942
|
correct?: boolean | undefined;
|
|
2942
|
-
} &
|
|
2943
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
2943
2944
|
customKeypad?: boolean | undefined;
|
|
2944
2945
|
useV2Keypad?: boolean | undefined;
|
|
2945
2946
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -2978,9 +2979,9 @@ declare const InteractiveGraph: {
|
|
|
2978
2979
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2979
2980
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
2980
2981
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2981
|
-
trackInteraction: (extraData?:
|
|
2982
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2982
2983
|
isLastUsedWidget: boolean;
|
|
2983
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
2984
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2984
2985
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2985
2986
|
}): string;
|
|
2986
2987
|
getPointEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -3009,7 +3010,7 @@ declare const InteractiveGraph: {
|
|
|
3009
3010
|
type: string;
|
|
3010
3011
|
id: string;
|
|
3011
3012
|
correct?: boolean | undefined;
|
|
3012
|
-
} &
|
|
3013
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3013
3014
|
customKeypad?: boolean | undefined;
|
|
3014
3015
|
useV2Keypad?: boolean | undefined;
|
|
3015
3016
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -3048,9 +3049,9 @@ declare const InteractiveGraph: {
|
|
|
3048
3049
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3049
3050
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
3050
3051
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3051
|
-
trackInteraction: (extraData?:
|
|
3052
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3052
3053
|
isLastUsedWidget: boolean;
|
|
3053
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
3054
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3054
3055
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3055
3056
|
}): string;
|
|
3056
3057
|
getSegmentEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -3079,7 +3080,7 @@ declare const InteractiveGraph: {
|
|
|
3079
3080
|
type: string;
|
|
3080
3081
|
id: string;
|
|
3081
3082
|
correct?: boolean | undefined;
|
|
3082
|
-
} &
|
|
3083
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3083
3084
|
customKeypad?: boolean | undefined;
|
|
3084
3085
|
useV2Keypad?: boolean | undefined;
|
|
3085
3086
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -3118,9 +3119,9 @@ declare const InteractiveGraph: {
|
|
|
3118
3119
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3119
3120
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
3120
3121
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3121
|
-
trackInteraction: (extraData?:
|
|
3122
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3122
3123
|
isLastUsedWidget: boolean;
|
|
3123
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
3124
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3124
3125
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3125
3126
|
}): string;
|
|
3126
3127
|
getRayEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -3149,7 +3150,7 @@ declare const InteractiveGraph: {
|
|
|
3149
3150
|
type: string;
|
|
3150
3151
|
id: string;
|
|
3151
3152
|
correct?: boolean | undefined;
|
|
3152
|
-
} &
|
|
3153
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3153
3154
|
customKeypad?: boolean | undefined;
|
|
3154
3155
|
useV2Keypad?: boolean | undefined;
|
|
3155
3156
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -3188,9 +3189,9 @@ declare const InteractiveGraph: {
|
|
|
3188
3189
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3189
3190
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
3190
3191
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3191
|
-
trackInteraction: (extraData?:
|
|
3192
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3192
3193
|
isLastUsedWidget: boolean;
|
|
3193
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
3194
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3194
3195
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3195
3196
|
}): string;
|
|
3196
3197
|
getPolygonEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -3219,7 +3220,7 @@ declare const InteractiveGraph: {
|
|
|
3219
3220
|
type: string;
|
|
3220
3221
|
id: string;
|
|
3221
3222
|
correct?: boolean | undefined;
|
|
3222
|
-
} &
|
|
3223
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3223
3224
|
customKeypad?: boolean | undefined;
|
|
3224
3225
|
useV2Keypad?: boolean | undefined;
|
|
3225
3226
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -3258,9 +3259,9 @@ declare const InteractiveGraph: {
|
|
|
3258
3259
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3259
3260
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
3260
3261
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3261
|
-
trackInteraction: (extraData?:
|
|
3262
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3262
3263
|
isLastUsedWidget: boolean;
|
|
3263
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
3264
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3264
3265
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3265
3266
|
}): string;
|
|
3266
3267
|
getAngleEquationString(props: PerseusInteractiveGraphWidgetOptions & {
|
|
@@ -3289,7 +3290,7 @@ declare const InteractiveGraph: {
|
|
|
3289
3290
|
type: string;
|
|
3290
3291
|
id: string;
|
|
3291
3292
|
correct?: boolean | undefined;
|
|
3292
|
-
} &
|
|
3293
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3293
3294
|
customKeypad?: boolean | undefined;
|
|
3294
3295
|
useV2Keypad?: boolean | undefined;
|
|
3295
3296
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -3328,9 +3329,9 @@ declare const InteractiveGraph: {
|
|
|
3328
3329
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3329
3330
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
3330
3331
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3331
|
-
trackInteraction: (extraData?:
|
|
3332
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3332
3333
|
isLastUsedWidget: boolean;
|
|
3333
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
3334
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3334
3335
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3335
3336
|
}): string;
|
|
3336
3337
|
validate(state: import("../../../perseus/src/perseus-types").PerseusGraphType, rubric: PerseusInteractiveGraphWidgetOptions, component: any): import("@khanacademy/perseus").PerseusScore;
|
|
@@ -3360,7 +3361,7 @@ declare const InteractiveGraph: {
|
|
|
3360
3361
|
type: string;
|
|
3361
3362
|
id: string;
|
|
3362
3363
|
correct?: boolean | undefined;
|
|
3363
|
-
} &
|
|
3364
|
+
} & Partial<import("../../../perseus/src/types").TrackingGradedGroupExtraArguments> & Partial<import("../../../perseus/src/types").TrackingSequenceExtraArguments>) => void) | undefined;
|
|
3364
3365
|
customKeypad?: boolean | undefined;
|
|
3365
3366
|
useV2Keypad?: boolean | undefined;
|
|
3366
3367
|
nativeKeypadProxy?: ((blur: () => void) => import("@khanacademy/math-input").KeypadAPI) | undefined;
|
|
@@ -3399,14 +3400,14 @@ declare const InteractiveGraph: {
|
|
|
3399
3400
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3400
3401
|
reviewModeRubric: PerseusInteractiveGraphWidgetOptions;
|
|
3401
3402
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3402
|
-
trackInteraction: (extraData?:
|
|
3403
|
+
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3403
3404
|
isLastUsedWidget: boolean;
|
|
3404
|
-
linterContext: import("@khanacademy/perseus").LinterContextProps;
|
|
3405
|
+
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
3405
3406
|
containerSizeClass: SizingUtils.SizeClass;
|
|
3406
3407
|
}): import("../../../perseus/src/perseus-types").PerseusGraphType;
|
|
3407
3408
|
contextType?: React.Context<any> | undefined;
|
|
3408
3409
|
};
|
|
3409
|
-
type InteractiveGraphProps =
|
|
3410
|
+
type InteractiveGraphProps = PropsFor<typeof InteractiveGraph>;
|
|
3410
3411
|
type Range = [number, number];
|
|
3411
3412
|
type Props = {
|
|
3412
3413
|
apiOptions: APIOptionsWithDefaults;
|