@khanacademy/perseus-editor 5.2.6 → 5.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/index.js +1 -1
- package/dist/index.js +1 -1
- package/dist/widgets/interactive-graph-editor.d.ts +136 -140
- package/package.json +2 -2
package/dist/es/index.js
CHANGED
|
@@ -28,7 +28,7 @@ import * as i18n$1 from '@khanacademy/wonder-blocks-i18n';
|
|
|
28
28
|
|
|
29
29
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
30
30
|
const libName = "@khanacademy/perseus-editor";
|
|
31
|
-
const libVersion = "5.2.
|
|
31
|
+
const libVersion = "5.2.7";
|
|
32
32
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
33
33
|
|
|
34
34
|
function _extends() {
|
package/dist/index.js
CHANGED
|
@@ -66,7 +66,7 @@ var i18n__namespace = /*#__PURE__*/_interopNamespace(i18n$1);
|
|
|
66
66
|
|
|
67
67
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
68
68
|
const libName = "@khanacademy/perseus-editor";
|
|
69
|
-
const libVersion = "5.2.
|
|
69
|
+
const libVersion = "5.2.7";
|
|
70
70
|
perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
71
71
|
|
|
72
72
|
function _extends() {
|
|
@@ -46,7 +46,7 @@ declare const InteractiveGraph: {
|
|
|
46
46
|
crossOutEnabled?: boolean | undefined;
|
|
47
47
|
editorChangeDelay?: number | undefined;
|
|
48
48
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
49
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
49
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
50
50
|
}> & {
|
|
51
51
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
52
52
|
baseElements: {
|
|
@@ -71,7 +71,7 @@ declare const InteractiveGraph: {
|
|
|
71
71
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
72
72
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
73
73
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
74
|
-
reviewModeRubric:
|
|
74
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
75
75
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
76
76
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
77
77
|
isLastUsedWidget: boolean;
|
|
@@ -120,7 +120,7 @@ declare const InteractiveGraph: {
|
|
|
120
120
|
crossOutEnabled?: boolean | undefined;
|
|
121
121
|
editorChangeDelay?: number | undefined;
|
|
122
122
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
123
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
123
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
124
124
|
}> & {
|
|
125
125
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
126
126
|
baseElements: {
|
|
@@ -145,7 +145,7 @@ declare const InteractiveGraph: {
|
|
|
145
145
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
146
146
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
147
147
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
148
|
-
reviewModeRubric:
|
|
148
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
149
149
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
150
150
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
151
151
|
isLastUsedWidget: boolean;
|
|
@@ -215,7 +215,7 @@ declare const InteractiveGraph: {
|
|
|
215
215
|
crossOutEnabled?: boolean | undefined;
|
|
216
216
|
editorChangeDelay?: number | undefined;
|
|
217
217
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
218
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
218
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
219
219
|
}> & {
|
|
220
220
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
221
221
|
baseElements: {
|
|
@@ -240,7 +240,7 @@ declare const InteractiveGraph: {
|
|
|
240
240
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
241
241
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
242
242
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
243
|
-
reviewModeRubric:
|
|
243
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
244
244
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
245
245
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
246
246
|
isLastUsedWidget: boolean;
|
|
@@ -290,7 +290,7 @@ declare const InteractiveGraph: {
|
|
|
290
290
|
crossOutEnabled?: boolean | undefined;
|
|
291
291
|
editorChangeDelay?: number | undefined;
|
|
292
292
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
293
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
293
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
294
294
|
}> & {
|
|
295
295
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
296
296
|
baseElements: {
|
|
@@ -315,7 +315,7 @@ declare const InteractiveGraph: {
|
|
|
315
315
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
316
316
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
317
317
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
318
|
-
reviewModeRubric:
|
|
318
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
319
319
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
320
320
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
321
321
|
isLastUsedWidget: boolean;
|
|
@@ -365,7 +365,7 @@ declare const InteractiveGraph: {
|
|
|
365
365
|
crossOutEnabled?: boolean | undefined;
|
|
366
366
|
editorChangeDelay?: number | undefined;
|
|
367
367
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
368
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
368
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
369
369
|
}> & {
|
|
370
370
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
371
371
|
baseElements: {
|
|
@@ -390,7 +390,7 @@ declare const InteractiveGraph: {
|
|
|
390
390
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
391
391
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
392
392
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
393
|
-
reviewModeRubric:
|
|
393
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
394
394
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
395
395
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
396
396
|
isLastUsedWidget: boolean;
|
|
@@ -448,7 +448,7 @@ declare const InteractiveGraph: {
|
|
|
448
448
|
crossOutEnabled?: boolean | undefined;
|
|
449
449
|
editorChangeDelay?: number | undefined;
|
|
450
450
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
451
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
451
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
452
452
|
}> & {
|
|
453
453
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
454
454
|
baseElements: {
|
|
@@ -473,13 +473,15 @@ declare const InteractiveGraph: {
|
|
|
473
473
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
474
474
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
475
475
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
476
|
-
reviewModeRubric:
|
|
476
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
477
477
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
478
478
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
479
479
|
isLastUsedWidget: boolean;
|
|
480
480
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
481
481
|
containerSizeClass: SizingUtils.SizeClass;
|
|
482
|
-
}) | null | undefined) => boolean;
|
|
482
|
+
}) | null | undefined) => boolean; /**
|
|
483
|
+
* How far apart the grid lines are in the x and y directions.
|
|
484
|
+
*/
|
|
483
485
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
484
486
|
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
485
487
|
arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
@@ -502,10 +504,6 @@ declare const InteractiveGraph: {
|
|
|
502
504
|
addLinearSystemControls: () => void;
|
|
503
505
|
removeLinearSystemControls: () => void;
|
|
504
506
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
505
|
-
/**
|
|
506
|
-
* Whether to show tooltips on the graph.
|
|
507
|
-
* (Currently not used, but will be in the future.)
|
|
508
|
-
*/
|
|
509
507
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
510
508
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
511
509
|
createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
@@ -525,7 +523,7 @@ declare const InteractiveGraph: {
|
|
|
525
523
|
removeAngleControls: () => void;
|
|
526
524
|
toggleShowSides: () => void;
|
|
527
525
|
getUserInput: () => import("@khanacademy/perseus").PerseusGraphType;
|
|
528
|
-
simpleValidate: (rubric:
|
|
526
|
+
simpleValidate: (rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric) => import("@khanacademy/perseus").PerseusScore;
|
|
529
527
|
focus: () => void;
|
|
530
528
|
render(): React.ReactNode;
|
|
531
529
|
context: any;
|
|
@@ -574,7 +572,7 @@ declare const InteractiveGraph: {
|
|
|
574
572
|
crossOutEnabled?: boolean | undefined;
|
|
575
573
|
editorChangeDelay?: number | undefined;
|
|
576
574
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
577
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
575
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
578
576
|
}> & {
|
|
579
577
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
580
578
|
baseElements: {
|
|
@@ -599,7 +597,7 @@ declare const InteractiveGraph: {
|
|
|
599
597
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
600
598
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
601
599
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
602
|
-
reviewModeRubric:
|
|
600
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
603
601
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
604
602
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
605
603
|
isLastUsedWidget: boolean;
|
|
@@ -654,7 +652,7 @@ declare const InteractiveGraph: {
|
|
|
654
652
|
crossOutEnabled?: boolean | undefined;
|
|
655
653
|
editorChangeDelay?: number | undefined;
|
|
656
654
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
657
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
655
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
658
656
|
}> & {
|
|
659
657
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
660
658
|
baseElements: {
|
|
@@ -679,7 +677,7 @@ declare const InteractiveGraph: {
|
|
|
679
677
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
680
678
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
681
679
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
682
|
-
reviewModeRubric:
|
|
680
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
683
681
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
684
682
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
685
683
|
isLastUsedWidget: boolean;
|
|
@@ -731,7 +729,7 @@ declare const InteractiveGraph: {
|
|
|
731
729
|
crossOutEnabled?: boolean | undefined;
|
|
732
730
|
editorChangeDelay?: number | undefined;
|
|
733
731
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
734
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
732
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
735
733
|
}> & {
|
|
736
734
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
737
735
|
baseElements: {
|
|
@@ -756,7 +754,7 @@ declare const InteractiveGraph: {
|
|
|
756
754
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
757
755
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
758
756
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
759
|
-
reviewModeRubric:
|
|
757
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
760
758
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
761
759
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
762
760
|
isLastUsedWidget: boolean;
|
|
@@ -807,7 +805,7 @@ declare const InteractiveGraph: {
|
|
|
807
805
|
crossOutEnabled?: boolean | undefined;
|
|
808
806
|
editorChangeDelay?: number | undefined;
|
|
809
807
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
810
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
808
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
811
809
|
}> & {
|
|
812
810
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
813
811
|
baseElements: {
|
|
@@ -832,7 +830,7 @@ declare const InteractiveGraph: {
|
|
|
832
830
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
833
831
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
834
832
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
835
|
-
reviewModeRubric:
|
|
833
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
836
834
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
837
835
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
838
836
|
isLastUsedWidget: boolean;
|
|
@@ -882,7 +880,7 @@ declare const InteractiveGraph: {
|
|
|
882
880
|
crossOutEnabled?: boolean | undefined;
|
|
883
881
|
editorChangeDelay?: number | undefined;
|
|
884
882
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
885
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
883
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
886
884
|
}> & {
|
|
887
885
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
888
886
|
baseElements: {
|
|
@@ -907,7 +905,7 @@ declare const InteractiveGraph: {
|
|
|
907
905
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
908
906
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
909
907
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
910
|
-
reviewModeRubric:
|
|
908
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
911
909
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
912
910
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
913
911
|
isLastUsedWidget: boolean;
|
|
@@ -957,7 +955,7 @@ declare const InteractiveGraph: {
|
|
|
957
955
|
crossOutEnabled?: boolean | undefined;
|
|
958
956
|
editorChangeDelay?: number | undefined;
|
|
959
957
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
960
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
958
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
961
959
|
}> & {
|
|
962
960
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
963
961
|
baseElements: {
|
|
@@ -982,7 +980,7 @@ declare const InteractiveGraph: {
|
|
|
982
980
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
983
981
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
984
982
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
985
|
-
reviewModeRubric:
|
|
983
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
986
984
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
987
985
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
988
986
|
isLastUsedWidget: boolean;
|
|
@@ -992,7 +990,7 @@ declare const InteractiveGraph: {
|
|
|
992
990
|
}>;
|
|
993
991
|
mafsRef: React.RefObject<import("../../../perseus/src/renderer").Widget>;
|
|
994
992
|
getUserInput: (() => any) | undefined;
|
|
995
|
-
simpleValidate: (rubric:
|
|
993
|
+
simpleValidate: (rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric) => import("@khanacademy/perseus").PerseusScore;
|
|
996
994
|
render(): JSX.Element;
|
|
997
995
|
context: any;
|
|
998
996
|
setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -1040,7 +1038,7 @@ declare const InteractiveGraph: {
|
|
|
1040
1038
|
crossOutEnabled?: boolean | undefined;
|
|
1041
1039
|
editorChangeDelay?: number | undefined;
|
|
1042
1040
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1043
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1041
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1044
1042
|
}> & {
|
|
1045
1043
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1046
1044
|
baseElements: {
|
|
@@ -1065,7 +1063,7 @@ declare const InteractiveGraph: {
|
|
|
1065
1063
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1066
1064
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1067
1065
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1068
|
-
reviewModeRubric:
|
|
1066
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1069
1067
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1070
1068
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1071
1069
|
isLastUsedWidget: boolean;
|
|
@@ -1122,7 +1120,7 @@ declare const InteractiveGraph: {
|
|
|
1122
1120
|
crossOutEnabled?: boolean | undefined;
|
|
1123
1121
|
editorChangeDelay?: number | undefined;
|
|
1124
1122
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1125
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1123
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1126
1124
|
}> & {
|
|
1127
1125
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1128
1126
|
baseElements: {
|
|
@@ -1147,7 +1145,7 @@ declare const InteractiveGraph: {
|
|
|
1147
1145
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1148
1146
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1149
1147
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1150
|
-
reviewModeRubric:
|
|
1148
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1151
1149
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1152
1150
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1153
1151
|
isLastUsedWidget: boolean;
|
|
@@ -1199,7 +1197,7 @@ declare const InteractiveGraph: {
|
|
|
1199
1197
|
crossOutEnabled?: boolean | undefined;
|
|
1200
1198
|
editorChangeDelay?: number | undefined;
|
|
1201
1199
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1202
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1200
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1203
1201
|
}> & {
|
|
1204
1202
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1205
1203
|
baseElements: {
|
|
@@ -1224,7 +1222,7 @@ declare const InteractiveGraph: {
|
|
|
1224
1222
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1225
1223
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1226
1224
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1227
|
-
reviewModeRubric:
|
|
1225
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1228
1226
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1229
1227
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1230
1228
|
isLastUsedWidget: boolean;
|
|
@@ -1274,7 +1272,7 @@ declare const InteractiveGraph: {
|
|
|
1274
1272
|
crossOutEnabled?: boolean | undefined;
|
|
1275
1273
|
editorChangeDelay?: number | undefined;
|
|
1276
1274
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1277
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1275
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1278
1276
|
}> & {
|
|
1279
1277
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1280
1278
|
baseElements: {
|
|
@@ -1299,7 +1297,7 @@ declare const InteractiveGraph: {
|
|
|
1299
1297
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1300
1298
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1301
1299
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1302
|
-
reviewModeRubric:
|
|
1300
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1303
1301
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1304
1302
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1305
1303
|
isLastUsedWidget: boolean;
|
|
@@ -1351,7 +1349,7 @@ declare const InteractiveGraph: {
|
|
|
1351
1349
|
crossOutEnabled?: boolean | undefined;
|
|
1352
1350
|
editorChangeDelay?: number | undefined;
|
|
1353
1351
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1354
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1352
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1355
1353
|
}> & {
|
|
1356
1354
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1357
1355
|
baseElements: {
|
|
@@ -1376,7 +1374,7 @@ declare const InteractiveGraph: {
|
|
|
1376
1374
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1377
1375
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1378
1376
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1379
|
-
reviewModeRubric:
|
|
1377
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1380
1378
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1381
1379
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1382
1380
|
isLastUsedWidget: boolean;
|
|
@@ -1426,7 +1424,7 @@ declare const InteractiveGraph: {
|
|
|
1426
1424
|
crossOutEnabled?: boolean | undefined;
|
|
1427
1425
|
editorChangeDelay?: number | undefined;
|
|
1428
1426
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1429
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1427
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1430
1428
|
}> & {
|
|
1431
1429
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1432
1430
|
baseElements: {
|
|
@@ -1451,7 +1449,7 @@ declare const InteractiveGraph: {
|
|
|
1451
1449
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1452
1450
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1453
1451
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1454
|
-
reviewModeRubric:
|
|
1452
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1455
1453
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1456
1454
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1457
1455
|
isLastUsedWidget: boolean;
|
|
@@ -1501,7 +1499,7 @@ declare const InteractiveGraph: {
|
|
|
1501
1499
|
crossOutEnabled?: boolean | undefined;
|
|
1502
1500
|
editorChangeDelay?: number | undefined;
|
|
1503
1501
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1504
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1502
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1505
1503
|
}> & {
|
|
1506
1504
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1507
1505
|
baseElements: {
|
|
@@ -1526,7 +1524,7 @@ declare const InteractiveGraph: {
|
|
|
1526
1524
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1527
1525
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1528
1526
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1529
|
-
reviewModeRubric:
|
|
1527
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1530
1528
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1531
1529
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1532
1530
|
isLastUsedWidget: boolean;
|
|
@@ -1576,7 +1574,7 @@ declare const InteractiveGraph: {
|
|
|
1576
1574
|
crossOutEnabled?: boolean | undefined;
|
|
1577
1575
|
editorChangeDelay?: number | undefined;
|
|
1578
1576
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1579
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1577
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1580
1578
|
}> & {
|
|
1581
1579
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1582
1580
|
baseElements: {
|
|
@@ -1601,7 +1599,7 @@ declare const InteractiveGraph: {
|
|
|
1601
1599
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1602
1600
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1603
1601
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1604
|
-
reviewModeRubric:
|
|
1602
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1605
1603
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1606
1604
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1607
1605
|
isLastUsedWidget: boolean;
|
|
@@ -1652,7 +1650,7 @@ declare const InteractiveGraph: {
|
|
|
1652
1650
|
crossOutEnabled?: boolean | undefined;
|
|
1653
1651
|
editorChangeDelay?: number | undefined;
|
|
1654
1652
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1655
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1653
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1656
1654
|
}> & {
|
|
1657
1655
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1658
1656
|
baseElements: {
|
|
@@ -1677,7 +1675,7 @@ declare const InteractiveGraph: {
|
|
|
1677
1675
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1678
1676
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1679
1677
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1680
|
-
reviewModeRubric:
|
|
1678
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1681
1679
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1682
1680
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1683
1681
|
isLastUsedWidget: boolean;
|
|
@@ -1747,7 +1745,7 @@ declare const InteractiveGraph: {
|
|
|
1747
1745
|
crossOutEnabled?: boolean | undefined;
|
|
1748
1746
|
editorChangeDelay?: number | undefined;
|
|
1749
1747
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1750
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1748
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1751
1749
|
}> & {
|
|
1752
1750
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1753
1751
|
baseElements: {
|
|
@@ -1772,7 +1770,7 @@ declare const InteractiveGraph: {
|
|
|
1772
1770
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1773
1771
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1774
1772
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1775
|
-
reviewModeRubric:
|
|
1773
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1776
1774
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1777
1775
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1778
1776
|
isLastUsedWidget: boolean;
|
|
@@ -1822,7 +1820,7 @@ declare const InteractiveGraph: {
|
|
|
1822
1820
|
crossOutEnabled?: boolean | undefined;
|
|
1823
1821
|
editorChangeDelay?: number | undefined;
|
|
1824
1822
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1825
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1823
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1826
1824
|
}> & {
|
|
1827
1825
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1828
1826
|
baseElements: {
|
|
@@ -1847,7 +1845,7 @@ declare const InteractiveGraph: {
|
|
|
1847
1845
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1848
1846
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1849
1847
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1850
|
-
reviewModeRubric:
|
|
1848
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1851
1849
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1852
1850
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1853
1851
|
isLastUsedWidget: boolean;
|
|
@@ -1897,7 +1895,7 @@ declare const InteractiveGraph: {
|
|
|
1897
1895
|
crossOutEnabled?: boolean | undefined;
|
|
1898
1896
|
editorChangeDelay?: number | undefined;
|
|
1899
1897
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1900
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1898
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1901
1899
|
}> & {
|
|
1902
1900
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1903
1901
|
baseElements: {
|
|
@@ -1922,7 +1920,7 @@ declare const InteractiveGraph: {
|
|
|
1922
1920
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1923
1921
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
1924
1922
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
1925
|
-
reviewModeRubric:
|
|
1923
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
1926
1924
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
1927
1925
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
1928
1926
|
isLastUsedWidget: boolean;
|
|
@@ -1980,7 +1978,7 @@ declare const InteractiveGraph: {
|
|
|
1980
1978
|
crossOutEnabled?: boolean | undefined;
|
|
1981
1979
|
editorChangeDelay?: number | undefined;
|
|
1982
1980
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
1983
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
1981
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
1984
1982
|
}> & {
|
|
1985
1983
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
1986
1984
|
baseElements: {
|
|
@@ -2005,13 +2003,15 @@ declare const InteractiveGraph: {
|
|
|
2005
2003
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2006
2004
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2007
2005
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2008
|
-
reviewModeRubric:
|
|
2006
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2009
2007
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2010
2008
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2011
2009
|
isLastUsedWidget: boolean;
|
|
2012
2010
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
2013
2011
|
containerSizeClass: SizingUtils.SizeClass;
|
|
2014
|
-
}) | null | undefined) => boolean;
|
|
2012
|
+
}) | null | undefined) => boolean; /**
|
|
2013
|
+
* How far apart the grid lines are in the x and y directions.
|
|
2014
|
+
*/
|
|
2015
2015
|
areAngleGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
2016
2016
|
arePointGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
2017
2017
|
arePolygonGraphsEqual(prevGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
@@ -2034,10 +2034,6 @@ declare const InteractiveGraph: {
|
|
|
2034
2034
|
addLinearSystemControls: () => void;
|
|
2035
2035
|
removeLinearSystemControls: () => void;
|
|
2036
2036
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
2037
|
-
/**
|
|
2038
|
-
* Whether to show tooltips on the graph.
|
|
2039
|
-
* (Currently not used, but will be in the future.)
|
|
2040
|
-
*/
|
|
2041
2037
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
2042
2038
|
removePoint: (arg1: import("@khanacademy/perseus").Coord) => number | null | undefined;
|
|
2043
2039
|
createPointForPolygonType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
@@ -2057,7 +2053,7 @@ declare const InteractiveGraph: {
|
|
|
2057
2053
|
removeAngleControls: () => void;
|
|
2058
2054
|
toggleShowSides: () => void;
|
|
2059
2055
|
getUserInput: () => import("@khanacademy/perseus").PerseusGraphType;
|
|
2060
|
-
simpleValidate: (rubric:
|
|
2056
|
+
simpleValidate: (rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric) => import("@khanacademy/perseus").PerseusScore;
|
|
2061
2057
|
focus: () => void;
|
|
2062
2058
|
render(): React.ReactNode;
|
|
2063
2059
|
context: any;
|
|
@@ -2106,7 +2102,7 @@ declare const InteractiveGraph: {
|
|
|
2106
2102
|
crossOutEnabled?: boolean | undefined;
|
|
2107
2103
|
editorChangeDelay?: number | undefined;
|
|
2108
2104
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2109
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2105
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2110
2106
|
}> & {
|
|
2111
2107
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2112
2108
|
baseElements: {
|
|
@@ -2131,7 +2127,7 @@ declare const InteractiveGraph: {
|
|
|
2131
2127
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2132
2128
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2133
2129
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2134
|
-
reviewModeRubric:
|
|
2130
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2135
2131
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2136
2132
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2137
2133
|
isLastUsedWidget: boolean;
|
|
@@ -2186,7 +2182,7 @@ declare const InteractiveGraph: {
|
|
|
2186
2182
|
crossOutEnabled?: boolean | undefined;
|
|
2187
2183
|
editorChangeDelay?: number | undefined;
|
|
2188
2184
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2189
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2185
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2190
2186
|
}> & {
|
|
2191
2187
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2192
2188
|
baseElements: {
|
|
@@ -2211,7 +2207,7 @@ declare const InteractiveGraph: {
|
|
|
2211
2207
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2212
2208
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2213
2209
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2214
|
-
reviewModeRubric:
|
|
2210
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2215
2211
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2216
2212
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2217
2213
|
isLastUsedWidget: boolean;
|
|
@@ -2263,7 +2259,7 @@ declare const InteractiveGraph: {
|
|
|
2263
2259
|
crossOutEnabled?: boolean | undefined;
|
|
2264
2260
|
editorChangeDelay?: number | undefined;
|
|
2265
2261
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2266
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2262
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2267
2263
|
}> & {
|
|
2268
2264
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2269
2265
|
baseElements: {
|
|
@@ -2288,7 +2284,7 @@ declare const InteractiveGraph: {
|
|
|
2288
2284
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2289
2285
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2290
2286
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2291
|
-
reviewModeRubric:
|
|
2287
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2292
2288
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2293
2289
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2294
2290
|
isLastUsedWidget: boolean;
|
|
@@ -2339,7 +2335,7 @@ declare const InteractiveGraph: {
|
|
|
2339
2335
|
crossOutEnabled?: boolean | undefined;
|
|
2340
2336
|
editorChangeDelay?: number | undefined;
|
|
2341
2337
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2342
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2338
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2343
2339
|
}> & {
|
|
2344
2340
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2345
2341
|
baseElements: {
|
|
@@ -2364,7 +2360,7 @@ declare const InteractiveGraph: {
|
|
|
2364
2360
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2365
2361
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2366
2362
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2367
|
-
reviewModeRubric:
|
|
2363
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2368
2364
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2369
2365
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2370
2366
|
isLastUsedWidget: boolean;
|
|
@@ -2414,7 +2410,7 @@ declare const InteractiveGraph: {
|
|
|
2414
2410
|
crossOutEnabled?: boolean | undefined;
|
|
2415
2411
|
editorChangeDelay?: number | undefined;
|
|
2416
2412
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2417
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2413
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2418
2414
|
}> & {
|
|
2419
2415
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2420
2416
|
baseElements: {
|
|
@@ -2439,7 +2435,7 @@ declare const InteractiveGraph: {
|
|
|
2439
2435
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2440
2436
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2441
2437
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2442
|
-
reviewModeRubric:
|
|
2438
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2443
2439
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2444
2440
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2445
2441
|
isLastUsedWidget: boolean;
|
|
@@ -2489,7 +2485,7 @@ declare const InteractiveGraph: {
|
|
|
2489
2485
|
crossOutEnabled?: boolean | undefined;
|
|
2490
2486
|
editorChangeDelay?: number | undefined;
|
|
2491
2487
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2492
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2488
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2493
2489
|
}> & {
|
|
2494
2490
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2495
2491
|
baseElements: {
|
|
@@ -2514,7 +2510,7 @@ declare const InteractiveGraph: {
|
|
|
2514
2510
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2515
2511
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2516
2512
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2517
|
-
reviewModeRubric:
|
|
2513
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2518
2514
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2519
2515
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2520
2516
|
isLastUsedWidget: boolean;
|
|
@@ -2524,7 +2520,7 @@ declare const InteractiveGraph: {
|
|
|
2524
2520
|
}>;
|
|
2525
2521
|
mafsRef: React.RefObject<import("../../../perseus/src/renderer").Widget>;
|
|
2526
2522
|
getUserInput: (() => any) | undefined;
|
|
2527
|
-
simpleValidate: (rubric:
|
|
2523
|
+
simpleValidate: (rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric) => import("@khanacademy/perseus").PerseusScore;
|
|
2528
2524
|
render(): JSX.Element;
|
|
2529
2525
|
context: any;
|
|
2530
2526
|
setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -2572,7 +2568,7 @@ declare const InteractiveGraph: {
|
|
|
2572
2568
|
crossOutEnabled?: boolean | undefined;
|
|
2573
2569
|
editorChangeDelay?: number | undefined;
|
|
2574
2570
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2575
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2571
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2576
2572
|
}> & {
|
|
2577
2573
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2578
2574
|
baseElements: {
|
|
@@ -2597,7 +2593,7 @@ declare const InteractiveGraph: {
|
|
|
2597
2593
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2598
2594
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2599
2595
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2600
|
-
reviewModeRubric:
|
|
2596
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2601
2597
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2602
2598
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2603
2599
|
isLastUsedWidget: boolean;
|
|
@@ -2654,7 +2650,7 @@ declare const InteractiveGraph: {
|
|
|
2654
2650
|
crossOutEnabled?: boolean | undefined;
|
|
2655
2651
|
editorChangeDelay?: number | undefined;
|
|
2656
2652
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2657
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2653
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2658
2654
|
}> & {
|
|
2659
2655
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2660
2656
|
baseElements: {
|
|
@@ -2679,7 +2675,7 @@ declare const InteractiveGraph: {
|
|
|
2679
2675
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2680
2676
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2681
2677
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2682
|
-
reviewModeRubric:
|
|
2678
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2683
2679
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2684
2680
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2685
2681
|
isLastUsedWidget: boolean;
|
|
@@ -2731,7 +2727,7 @@ declare const InteractiveGraph: {
|
|
|
2731
2727
|
crossOutEnabled?: boolean | undefined;
|
|
2732
2728
|
editorChangeDelay?: number | undefined;
|
|
2733
2729
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2734
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2730
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2735
2731
|
}> & {
|
|
2736
2732
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2737
2733
|
baseElements: {
|
|
@@ -2756,7 +2752,7 @@ declare const InteractiveGraph: {
|
|
|
2756
2752
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2757
2753
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2758
2754
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2759
|
-
reviewModeRubric:
|
|
2755
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2760
2756
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2761
2757
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2762
2758
|
isLastUsedWidget: boolean;
|
|
@@ -2806,7 +2802,7 @@ declare const InteractiveGraph: {
|
|
|
2806
2802
|
crossOutEnabled?: boolean | undefined;
|
|
2807
2803
|
editorChangeDelay?: number | undefined;
|
|
2808
2804
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2809
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2805
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2810
2806
|
}> & {
|
|
2811
2807
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2812
2808
|
baseElements: {
|
|
@@ -2831,7 +2827,7 @@ declare const InteractiveGraph: {
|
|
|
2831
2827
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2832
2828
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2833
2829
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2834
|
-
reviewModeRubric:
|
|
2830
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2835
2831
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2836
2832
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2837
2833
|
isLastUsedWidget: boolean;
|
|
@@ -2883,7 +2879,7 @@ declare const InteractiveGraph: {
|
|
|
2883
2879
|
crossOutEnabled?: boolean | undefined;
|
|
2884
2880
|
editorChangeDelay?: number | undefined;
|
|
2885
2881
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2886
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2882
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2887
2883
|
}> & {
|
|
2888
2884
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2889
2885
|
baseElements: {
|
|
@@ -2908,7 +2904,7 @@ declare const InteractiveGraph: {
|
|
|
2908
2904
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2909
2905
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2910
2906
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2911
|
-
reviewModeRubric:
|
|
2907
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2912
2908
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2913
2909
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2914
2910
|
isLastUsedWidget: boolean;
|
|
@@ -2958,7 +2954,7 @@ declare const InteractiveGraph: {
|
|
|
2958
2954
|
crossOutEnabled?: boolean | undefined;
|
|
2959
2955
|
editorChangeDelay?: number | undefined;
|
|
2960
2956
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
2961
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
2957
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
2962
2958
|
}> & {
|
|
2963
2959
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
2964
2960
|
baseElements: {
|
|
@@ -2983,7 +2979,7 @@ declare const InteractiveGraph: {
|
|
|
2983
2979
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2984
2980
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
2985
2981
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
2986
|
-
reviewModeRubric:
|
|
2982
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
2987
2983
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
2988
2984
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
2989
2985
|
isLastUsedWidget: boolean;
|
|
@@ -3033,7 +3029,7 @@ declare const InteractiveGraph: {
|
|
|
3033
3029
|
crossOutEnabled?: boolean | undefined;
|
|
3034
3030
|
editorChangeDelay?: number | undefined;
|
|
3035
3031
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3036
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3032
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3037
3033
|
}> & {
|
|
3038
3034
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3039
3035
|
baseElements: {
|
|
@@ -3058,7 +3054,7 @@ declare const InteractiveGraph: {
|
|
|
3058
3054
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3059
3055
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3060
3056
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3061
|
-
reviewModeRubric:
|
|
3057
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3062
3058
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3063
3059
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3064
3060
|
isLastUsedWidget: boolean;
|
|
@@ -3108,7 +3104,7 @@ declare const InteractiveGraph: {
|
|
|
3108
3104
|
crossOutEnabled?: boolean | undefined;
|
|
3109
3105
|
editorChangeDelay?: number | undefined;
|
|
3110
3106
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3111
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3107
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3112
3108
|
}> & {
|
|
3113
3109
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3114
3110
|
baseElements: {
|
|
@@ -3133,7 +3129,7 @@ declare const InteractiveGraph: {
|
|
|
3133
3129
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3134
3130
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3135
3131
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3136
|
-
reviewModeRubric:
|
|
3132
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3137
3133
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3138
3134
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3139
3135
|
isLastUsedWidget: boolean;
|
|
@@ -3143,7 +3139,7 @@ declare const InteractiveGraph: {
|
|
|
3143
3139
|
};
|
|
3144
3140
|
defaultProps: {
|
|
3145
3141
|
labels: readonly string[];
|
|
3146
|
-
range:
|
|
3142
|
+
range: import("../../../perseus/src/perseus-types").GraphRange;
|
|
3147
3143
|
step: [number, number];
|
|
3148
3144
|
backgroundImage: PerseusImageBackground | undefined;
|
|
3149
3145
|
markings: "grid" | "none" | "graph";
|
|
@@ -3199,7 +3195,7 @@ declare const InteractiveGraph: {
|
|
|
3199
3195
|
crossOutEnabled?: boolean | undefined;
|
|
3200
3196
|
editorChangeDelay?: number | undefined;
|
|
3201
3197
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3202
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3198
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3203
3199
|
}> & {
|
|
3204
3200
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3205
3201
|
baseElements: {
|
|
@@ -3224,7 +3220,7 @@ declare const InteractiveGraph: {
|
|
|
3224
3220
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3225
3221
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3226
3222
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3227
|
-
reviewModeRubric:
|
|
3223
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3228
3224
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3229
3225
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3230
3226
|
isLastUsedWidget: boolean;
|
|
@@ -3274,7 +3270,7 @@ declare const InteractiveGraph: {
|
|
|
3274
3270
|
crossOutEnabled?: boolean | undefined;
|
|
3275
3271
|
editorChangeDelay?: number | undefined;
|
|
3276
3272
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3277
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3273
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3278
3274
|
}> & {
|
|
3279
3275
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3280
3276
|
baseElements: {
|
|
@@ -3299,7 +3295,7 @@ declare const InteractiveGraph: {
|
|
|
3299
3295
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3300
3296
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3301
3297
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3302
|
-
reviewModeRubric:
|
|
3298
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3303
3299
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3304
3300
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3305
3301
|
isLastUsedWidget: boolean;
|
|
@@ -3349,7 +3345,7 @@ declare const InteractiveGraph: {
|
|
|
3349
3345
|
crossOutEnabled?: boolean | undefined;
|
|
3350
3346
|
editorChangeDelay?: number | undefined;
|
|
3351
3347
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3352
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3348
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3353
3349
|
}> & {
|
|
3354
3350
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3355
3351
|
baseElements: {
|
|
@@ -3374,7 +3370,7 @@ declare const InteractiveGraph: {
|
|
|
3374
3370
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3375
3371
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3376
3372
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3377
|
-
reviewModeRubric:
|
|
3373
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3378
3374
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3379
3375
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3380
3376
|
isLastUsedWidget: boolean;
|
|
@@ -3424,7 +3420,7 @@ declare const InteractiveGraph: {
|
|
|
3424
3420
|
crossOutEnabled?: boolean | undefined;
|
|
3425
3421
|
editorChangeDelay?: number | undefined;
|
|
3426
3422
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3427
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3423
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3428
3424
|
}> & {
|
|
3429
3425
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3430
3426
|
baseElements: {
|
|
@@ -3449,7 +3445,7 @@ declare const InteractiveGraph: {
|
|
|
3449
3445
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3450
3446
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3451
3447
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3452
|
-
reviewModeRubric:
|
|
3448
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3453
3449
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3454
3450
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3455
3451
|
isLastUsedWidget: boolean;
|
|
@@ -3499,7 +3495,7 @@ declare const InteractiveGraph: {
|
|
|
3499
3495
|
crossOutEnabled?: boolean | undefined;
|
|
3500
3496
|
editorChangeDelay?: number | undefined;
|
|
3501
3497
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3502
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3498
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3503
3499
|
}> & {
|
|
3504
3500
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3505
3501
|
baseElements: {
|
|
@@ -3524,7 +3520,7 @@ declare const InteractiveGraph: {
|
|
|
3524
3520
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3525
3521
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3526
3522
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3527
|
-
reviewModeRubric:
|
|
3523
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3528
3524
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3529
3525
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3530
3526
|
isLastUsedWidget: boolean;
|
|
@@ -3574,7 +3570,7 @@ declare const InteractiveGraph: {
|
|
|
3574
3570
|
crossOutEnabled?: boolean | undefined;
|
|
3575
3571
|
editorChangeDelay?: number | undefined;
|
|
3576
3572
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3577
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3573
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3578
3574
|
}> & {
|
|
3579
3575
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3580
3576
|
baseElements: {
|
|
@@ -3599,7 +3595,7 @@ declare const InteractiveGraph: {
|
|
|
3599
3595
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3600
3596
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3601
3597
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3602
|
-
reviewModeRubric:
|
|
3598
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3603
3599
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3604
3600
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3605
3601
|
isLastUsedWidget: boolean;
|
|
@@ -3650,7 +3646,7 @@ declare const InteractiveGraph: {
|
|
|
3650
3646
|
crossOutEnabled?: boolean | undefined;
|
|
3651
3647
|
editorChangeDelay?: number | undefined;
|
|
3652
3648
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3653
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3649
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3654
3650
|
}> & {
|
|
3655
3651
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3656
3652
|
baseElements: {
|
|
@@ -3675,7 +3671,7 @@ declare const InteractiveGraph: {
|
|
|
3675
3671
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3676
3672
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3677
3673
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3678
|
-
reviewModeRubric:
|
|
3674
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3679
3675
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3680
3676
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3681
3677
|
isLastUsedWidget: boolean;
|
|
@@ -3725,7 +3721,7 @@ declare const InteractiveGraph: {
|
|
|
3725
3721
|
crossOutEnabled?: boolean | undefined;
|
|
3726
3722
|
editorChangeDelay?: number | undefined;
|
|
3727
3723
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3728
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3724
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3729
3725
|
}> & {
|
|
3730
3726
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3731
3727
|
baseElements: {
|
|
@@ -3750,7 +3746,7 @@ declare const InteractiveGraph: {
|
|
|
3750
3746
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3751
3747
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3752
3748
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3753
|
-
reviewModeRubric:
|
|
3749
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3754
3750
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3755
3751
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3756
3752
|
isLastUsedWidget: boolean;
|
|
@@ -3800,7 +3796,7 @@ declare const InteractiveGraph: {
|
|
|
3800
3796
|
crossOutEnabled?: boolean | undefined;
|
|
3801
3797
|
editorChangeDelay?: number | undefined;
|
|
3802
3798
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3803
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3799
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3804
3800
|
}> & {
|
|
3805
3801
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3806
3802
|
baseElements: {
|
|
@@ -3825,7 +3821,7 @@ declare const InteractiveGraph: {
|
|
|
3825
3821
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3826
3822
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3827
3823
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3828
|
-
reviewModeRubric:
|
|
3824
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3829
3825
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3830
3826
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3831
3827
|
isLastUsedWidget: boolean;
|
|
@@ -3875,7 +3871,7 @@ declare const InteractiveGraph: {
|
|
|
3875
3871
|
crossOutEnabled?: boolean | undefined;
|
|
3876
3872
|
editorChangeDelay?: number | undefined;
|
|
3877
3873
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3878
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3874
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3879
3875
|
}> & {
|
|
3880
3876
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3881
3877
|
baseElements: {
|
|
@@ -3900,7 +3896,7 @@ declare const InteractiveGraph: {
|
|
|
3900
3896
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3901
3897
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3902
3898
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3903
|
-
reviewModeRubric:
|
|
3899
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3904
3900
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3905
3901
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3906
3902
|
isLastUsedWidget: boolean;
|
|
@@ -3950,7 +3946,7 @@ declare const InteractiveGraph: {
|
|
|
3950
3946
|
crossOutEnabled?: boolean | undefined;
|
|
3951
3947
|
editorChangeDelay?: number | undefined;
|
|
3952
3948
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
3953
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
3949
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
3954
3950
|
}> & {
|
|
3955
3951
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
3956
3952
|
baseElements: {
|
|
@@ -3975,7 +3971,7 @@ declare const InteractiveGraph: {
|
|
|
3975
3971
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3976
3972
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
3977
3973
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
3978
|
-
reviewModeRubric:
|
|
3974
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
3979
3975
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
3980
3976
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
3981
3977
|
isLastUsedWidget: boolean;
|
|
@@ -4025,7 +4021,7 @@ declare const InteractiveGraph: {
|
|
|
4025
4021
|
crossOutEnabled?: boolean | undefined;
|
|
4026
4022
|
editorChangeDelay?: number | undefined;
|
|
4027
4023
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4028
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4024
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4029
4025
|
}> & {
|
|
4030
4026
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4031
4027
|
baseElements: {
|
|
@@ -4050,7 +4046,7 @@ declare const InteractiveGraph: {
|
|
|
4050
4046
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4051
4047
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4052
4048
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4053
|
-
reviewModeRubric:
|
|
4049
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4054
4050
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4055
4051
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4056
4052
|
isLastUsedWidget: boolean;
|
|
@@ -4100,7 +4096,7 @@ declare const InteractiveGraph: {
|
|
|
4100
4096
|
crossOutEnabled?: boolean | undefined;
|
|
4101
4097
|
editorChangeDelay?: number | undefined;
|
|
4102
4098
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4103
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4099
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4104
4100
|
}> & {
|
|
4105
4101
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4106
4102
|
baseElements: {
|
|
@@ -4125,7 +4121,7 @@ declare const InteractiveGraph: {
|
|
|
4125
4121
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4126
4122
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4127
4123
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4128
|
-
reviewModeRubric:
|
|
4124
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4129
4125
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4130
4126
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4131
4127
|
isLastUsedWidget: boolean;
|
|
@@ -4175,7 +4171,7 @@ declare const InteractiveGraph: {
|
|
|
4175
4171
|
crossOutEnabled?: boolean | undefined;
|
|
4176
4172
|
editorChangeDelay?: number | undefined;
|
|
4177
4173
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4178
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4174
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4179
4175
|
}> & {
|
|
4180
4176
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4181
4177
|
baseElements: {
|
|
@@ -4200,7 +4196,7 @@ declare const InteractiveGraph: {
|
|
|
4200
4196
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4201
4197
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4202
4198
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4203
|
-
reviewModeRubric:
|
|
4199
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4204
4200
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4205
4201
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4206
4202
|
isLastUsedWidget: boolean;
|
|
@@ -4250,7 +4246,7 @@ declare const InteractiveGraph: {
|
|
|
4250
4246
|
crossOutEnabled?: boolean | undefined;
|
|
4251
4247
|
editorChangeDelay?: number | undefined;
|
|
4252
4248
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4253
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4249
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4254
4250
|
}> & {
|
|
4255
4251
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4256
4252
|
baseElements: {
|
|
@@ -4275,7 +4271,7 @@ declare const InteractiveGraph: {
|
|
|
4275
4271
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4276
4272
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4277
4273
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4278
|
-
reviewModeRubric:
|
|
4274
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4279
4275
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4280
4276
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4281
4277
|
isLastUsedWidget: boolean;
|
|
@@ -4325,7 +4321,7 @@ declare const InteractiveGraph: {
|
|
|
4325
4321
|
crossOutEnabled?: boolean | undefined;
|
|
4326
4322
|
editorChangeDelay?: number | undefined;
|
|
4327
4323
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4328
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4324
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4329
4325
|
}> & {
|
|
4330
4326
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4331
4327
|
baseElements: {
|
|
@@ -4350,7 +4346,7 @@ declare const InteractiveGraph: {
|
|
|
4350
4346
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4351
4347
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4352
4348
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4353
|
-
reviewModeRubric:
|
|
4349
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4354
4350
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4355
4351
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4356
4352
|
isLastUsedWidget: boolean;
|
|
@@ -4400,7 +4396,7 @@ declare const InteractiveGraph: {
|
|
|
4400
4396
|
crossOutEnabled?: boolean | undefined;
|
|
4401
4397
|
editorChangeDelay?: number | undefined;
|
|
4402
4398
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4403
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4399
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4404
4400
|
}> & {
|
|
4405
4401
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4406
4402
|
baseElements: {
|
|
@@ -4425,7 +4421,7 @@ declare const InteractiveGraph: {
|
|
|
4425
4421
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4426
4422
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4427
4423
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4428
|
-
reviewModeRubric:
|
|
4424
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4429
4425
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4430
4426
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4431
4427
|
isLastUsedWidget: boolean;
|
|
@@ -4475,7 +4471,7 @@ declare const InteractiveGraph: {
|
|
|
4475
4471
|
crossOutEnabled?: boolean | undefined;
|
|
4476
4472
|
editorChangeDelay?: number | undefined;
|
|
4477
4473
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4478
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4474
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4479
4475
|
}> & {
|
|
4480
4476
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4481
4477
|
baseElements: {
|
|
@@ -4500,7 +4496,7 @@ declare const InteractiveGraph: {
|
|
|
4500
4496
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4501
4497
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4502
4498
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4503
|
-
reviewModeRubric:
|
|
4499
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4504
4500
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4505
4501
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4506
4502
|
isLastUsedWidget: boolean;
|
|
@@ -4550,7 +4546,7 @@ declare const InteractiveGraph: {
|
|
|
4550
4546
|
crossOutEnabled?: boolean | undefined;
|
|
4551
4547
|
editorChangeDelay?: number | undefined;
|
|
4552
4548
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4553
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4549
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4554
4550
|
}> & {
|
|
4555
4551
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4556
4552
|
baseElements: {
|
|
@@ -4575,7 +4571,7 @@ declare const InteractiveGraph: {
|
|
|
4575
4571
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4576
4572
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4577
4573
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4578
|
-
reviewModeRubric:
|
|
4574
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4579
4575
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4580
4576
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4581
4577
|
isLastUsedWidget: boolean;
|
|
@@ -4625,7 +4621,7 @@ declare const InteractiveGraph: {
|
|
|
4625
4621
|
crossOutEnabled?: boolean | undefined;
|
|
4626
4622
|
editorChangeDelay?: number | undefined;
|
|
4627
4623
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4628
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4624
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4629
4625
|
}> & {
|
|
4630
4626
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4631
4627
|
baseElements: {
|
|
@@ -4650,7 +4646,7 @@ declare const InteractiveGraph: {
|
|
|
4650
4646
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4651
4647
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4652
4648
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4653
|
-
reviewModeRubric:
|
|
4649
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4654
4650
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4655
4651
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4656
4652
|
isLastUsedWidget: boolean;
|
|
@@ -4700,7 +4696,7 @@ declare const InteractiveGraph: {
|
|
|
4700
4696
|
crossOutEnabled?: boolean | undefined;
|
|
4701
4697
|
editorChangeDelay?: number | undefined;
|
|
4702
4698
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4703
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4699
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4704
4700
|
}> & {
|
|
4705
4701
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4706
4702
|
baseElements: {
|
|
@@ -4725,7 +4721,7 @@ declare const InteractiveGraph: {
|
|
|
4725
4721
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4726
4722
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4727
4723
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4728
|
-
reviewModeRubric:
|
|
4724
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4729
4725
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4730
4726
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4731
4727
|
isLastUsedWidget: boolean;
|
|
@@ -4775,7 +4771,7 @@ declare const InteractiveGraph: {
|
|
|
4775
4771
|
crossOutEnabled?: boolean | undefined;
|
|
4776
4772
|
editorChangeDelay?: number | undefined;
|
|
4777
4773
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4778
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4774
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4779
4775
|
}> & {
|
|
4780
4776
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4781
4777
|
baseElements: {
|
|
@@ -4800,14 +4796,14 @@ declare const InteractiveGraph: {
|
|
|
4800
4796
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4801
4797
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4802
4798
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4803
|
-
reviewModeRubric:
|
|
4799
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4804
4800
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4805
4801
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4806
4802
|
isLastUsedWidget: boolean;
|
|
4807
4803
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
4808
4804
|
containerSizeClass: SizingUtils.SizeClass;
|
|
4809
4805
|
}): string;
|
|
4810
|
-
validate(userInput: import("@khanacademy/perseus").PerseusGraphType, rubric:
|
|
4806
|
+
validate(userInput: import("@khanacademy/perseus").PerseusGraphType, rubric: import("../../../perseus/src/widgets/interactive-graph").Rubric, component: any): import("@khanacademy/perseus").PerseusScore;
|
|
4811
4807
|
getUserInputFromProps(props: PerseusInteractiveGraphWidgetOptions & {
|
|
4812
4808
|
widgetId: string;
|
|
4813
4809
|
alignment: string | null | undefined;
|
|
@@ -4851,7 +4847,7 @@ declare const InteractiveGraph: {
|
|
|
4851
4847
|
crossOutEnabled?: boolean | undefined;
|
|
4852
4848
|
editorChangeDelay?: number | undefined;
|
|
4853
4849
|
flags?: Record<string, boolean | Record<string, boolean>> | undefined;
|
|
4854
|
-
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) =>
|
|
4850
|
+
onWidgetStartProps?: ((widgets: import("@khanacademy/perseus").PerseusWidgetsMap) => void) | undefined;
|
|
4855
4851
|
}> & {
|
|
4856
4852
|
GroupMetadataEditor: NonNullable<React.ComponentType<any> | undefined>;
|
|
4857
4853
|
baseElements: {
|
|
@@ -4876,7 +4872,7 @@ declare const InteractiveGraph: {
|
|
|
4876
4872
|
onFocus: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4877
4873
|
onBlur: (blurPath: import("@khanacademy/perseus").FocusPath) => void;
|
|
4878
4874
|
findWidgets: (arg1: import("../../../perseus/src/types").FilterCriterion) => readonly any[];
|
|
4879
|
-
reviewModeRubric:
|
|
4875
|
+
reviewModeRubric: import("../../../perseus/src/widgets/interactive-graph").Rubric;
|
|
4880
4876
|
onChange: import("@khanacademy/perseus").ChangeHandler;
|
|
4881
4877
|
trackInteraction: (extraData?: {} | undefined) => void;
|
|
4882
4878
|
isLastUsedWidget: boolean;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus editors",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "5.2.
|
|
6
|
+
"version": "5.2.7",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@khanacademy/kas": "^0.3.9",
|
|
29
29
|
"@khanacademy/kmath": "^0.1.12",
|
|
30
30
|
"@khanacademy/math-input": "^17.4.1",
|
|
31
|
-
"@khanacademy/perseus": "^21.
|
|
31
|
+
"@khanacademy/perseus": "^21.2.0",
|
|
32
32
|
"@khanacademy/perseus-core": "1.4.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|