@khanacademy/perseus-editor 14.6.5 → 14.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/es/index.js
CHANGED
|
@@ -46,7 +46,7 @@ import arrowCounterClockwise from '@phosphor-icons/core/bold/arrow-counter-clock
|
|
|
46
46
|
|
|
47
47
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
48
48
|
const libName = "@khanacademy/perseus-editor";
|
|
49
|
-
const libVersion = "14.
|
|
49
|
+
const libVersion = "14.7.1";
|
|
50
50
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
51
51
|
|
|
52
52
|
function _extends() {
|
package/dist/index.js
CHANGED
|
@@ -98,7 +98,7 @@ var arrowCounterClockwise__default = /*#__PURE__*/_interopDefaultLegacy(arrowCou
|
|
|
98
98
|
|
|
99
99
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
100
100
|
const libName = "@khanacademy/perseus-editor";
|
|
101
|
-
const libVersion = "14.
|
|
101
|
+
const libVersion = "14.7.1";
|
|
102
102
|
perseusCore.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
103
103
|
|
|
104
104
|
function _extends() {
|
|
@@ -52,6 +52,7 @@ declare const InteractiveGraph: {
|
|
|
52
52
|
segment?: boolean | undefined;
|
|
53
53
|
ray?: boolean | undefined;
|
|
54
54
|
angle?: boolean | undefined;
|
|
55
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
55
56
|
"unlimited-point"?: boolean | undefined;
|
|
56
57
|
} & {
|
|
57
58
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -165,6 +166,7 @@ declare const InteractiveGraph: {
|
|
|
165
166
|
segment?: boolean | undefined;
|
|
166
167
|
ray?: boolean | undefined;
|
|
167
168
|
angle?: boolean | undefined;
|
|
169
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
168
170
|
"unlimited-point"?: boolean | undefined;
|
|
169
171
|
} & {
|
|
170
172
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -255,6 +257,7 @@ declare const InteractiveGraph: {
|
|
|
255
257
|
segment?: boolean | undefined;
|
|
256
258
|
ray?: boolean | undefined;
|
|
257
259
|
angle?: boolean | undefined;
|
|
260
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
258
261
|
"unlimited-point"?: boolean | undefined;
|
|
259
262
|
} & {
|
|
260
263
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -345,6 +348,7 @@ declare const InteractiveGraph: {
|
|
|
345
348
|
segment?: boolean | undefined;
|
|
346
349
|
ray?: boolean | undefined;
|
|
347
350
|
angle?: boolean | undefined;
|
|
351
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
348
352
|
"unlimited-point"?: boolean | undefined;
|
|
349
353
|
} & {
|
|
350
354
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -442,6 +446,7 @@ declare const InteractiveGraph: {
|
|
|
442
446
|
segment?: boolean | undefined;
|
|
443
447
|
ray?: boolean | undefined;
|
|
444
448
|
angle?: boolean | undefined;
|
|
449
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
445
450
|
"unlimited-point"?: boolean | undefined;
|
|
446
451
|
} & {
|
|
447
452
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -486,9 +491,7 @@ declare const InteractiveGraph: {
|
|
|
486
491
|
areAngleGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
487
492
|
arePointGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
488
493
|
arePolygonGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
489
|
-
areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
490
|
-
* The background image to display in the graph area and its properties.
|
|
491
|
-
*/
|
|
494
|
+
areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
492
495
|
_lineStroke: () => {
|
|
493
496
|
"stroke-width"?: number | undefined;
|
|
494
497
|
};
|
|
@@ -500,22 +503,15 @@ declare const InteractiveGraph: {
|
|
|
500
503
|
removeLinearControls: () => void;
|
|
501
504
|
addQuadraticControls: () => void;
|
|
502
505
|
updateQuadratic: () => void;
|
|
503
|
-
removeQuadraticControls: () => void;
|
|
506
|
+
removeQuadraticControls: () => void; /**
|
|
507
|
+
* Whether to show the protractor on the graph.
|
|
508
|
+
*/
|
|
504
509
|
addSinusoidControls: () => void;
|
|
505
510
|
updateSinusoid: () => void;
|
|
506
511
|
removeSinusoidControls: () => void;
|
|
507
512
|
addCircleControls: () => void;
|
|
508
513
|
removeCircleControls: () => void;
|
|
509
514
|
addLinearSystemControls: () => void;
|
|
510
|
-
/**
|
|
511
|
-
* The current correct answer for the graph. Updated by this component
|
|
512
|
-
* when the graph is changed.
|
|
513
|
-
*
|
|
514
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
515
|
-
* element. Instead, it is a representation of the correct answer based
|
|
516
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
517
|
-
* editor page.
|
|
518
|
-
*/
|
|
519
515
|
removeLinearSystemControls: () => void;
|
|
520
516
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
521
517
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
@@ -537,7 +533,6 @@ declare const InteractiveGraph: {
|
|
|
537
533
|
removeAngleControls: () => void;
|
|
538
534
|
toggleShowSides: () => void;
|
|
539
535
|
getUserInput(): PerseusGraphType;
|
|
540
|
-
simpleValidate(rubric: import("../../../../perseus/src/validation.types").PerseusInteractiveGraphRubric): import("@khanacademy/perseus").PerseusScore;
|
|
541
536
|
focus: () => void;
|
|
542
537
|
render(): React.ReactNode;
|
|
543
538
|
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -591,6 +586,7 @@ declare const InteractiveGraph: {
|
|
|
591
586
|
segment?: boolean | undefined;
|
|
592
587
|
ray?: boolean | undefined;
|
|
593
588
|
angle?: boolean | undefined;
|
|
589
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
594
590
|
"unlimited-point"?: boolean | undefined;
|
|
595
591
|
} & {
|
|
596
592
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -684,6 +680,7 @@ declare const InteractiveGraph: {
|
|
|
684
680
|
segment?: boolean | undefined;
|
|
685
681
|
ray?: boolean | undefined;
|
|
686
682
|
angle?: boolean | undefined;
|
|
683
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
687
684
|
"unlimited-point"?: boolean | undefined;
|
|
688
685
|
} & {
|
|
689
686
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -776,6 +773,7 @@ declare const InteractiveGraph: {
|
|
|
776
773
|
segment?: boolean | undefined;
|
|
777
774
|
ray?: boolean | undefined;
|
|
778
775
|
angle?: boolean | undefined;
|
|
776
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
779
777
|
"unlimited-point"?: boolean | undefined;
|
|
780
778
|
} & {
|
|
781
779
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -868,6 +866,7 @@ declare const InteractiveGraph: {
|
|
|
868
866
|
segment?: boolean | undefined;
|
|
869
867
|
ray?: boolean | undefined;
|
|
870
868
|
angle?: boolean | undefined;
|
|
869
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
871
870
|
"unlimited-point"?: boolean | undefined;
|
|
872
871
|
} & {
|
|
873
872
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -958,6 +957,7 @@ declare const InteractiveGraph: {
|
|
|
958
957
|
segment?: boolean | undefined;
|
|
959
958
|
ray?: boolean | undefined;
|
|
960
959
|
angle?: boolean | undefined;
|
|
960
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
961
961
|
"unlimited-point"?: boolean | undefined;
|
|
962
962
|
} & {
|
|
963
963
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1048,6 +1048,7 @@ declare const InteractiveGraph: {
|
|
|
1048
1048
|
segment?: boolean | undefined;
|
|
1049
1049
|
ray?: boolean | undefined;
|
|
1050
1050
|
angle?: boolean | undefined;
|
|
1051
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1051
1052
|
"unlimited-point"?: boolean | undefined;
|
|
1052
1053
|
} & {
|
|
1053
1054
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1092,7 +1093,6 @@ declare const InteractiveGraph: {
|
|
|
1092
1093
|
}>;
|
|
1093
1094
|
mafsRef: React.RefObject<import("../../../../perseus/src/widgets/interactive-graphs/stateful-mafs-graph").StatefulMafsGraphType>;
|
|
1094
1095
|
getUserInput(): PerseusGraphType;
|
|
1095
|
-
simpleValidate(rubric: import("../../../../perseus/src/validation.types").PerseusInteractiveGraphRubric): import("@khanacademy/perseus").PerseusScore;
|
|
1096
1096
|
render(): React.JSX.Element;
|
|
1097
1097
|
context: unknown;
|
|
1098
1098
|
setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -1146,6 +1146,7 @@ declare const InteractiveGraph: {
|
|
|
1146
1146
|
segment?: boolean | undefined;
|
|
1147
1147
|
ray?: boolean | undefined;
|
|
1148
1148
|
angle?: boolean | undefined;
|
|
1149
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1149
1150
|
"unlimited-point"?: boolean | undefined;
|
|
1150
1151
|
} & {
|
|
1151
1152
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1241,6 +1242,7 @@ declare const InteractiveGraph: {
|
|
|
1241
1242
|
segment?: boolean | undefined;
|
|
1242
1243
|
ray?: boolean | undefined;
|
|
1243
1244
|
angle?: boolean | undefined;
|
|
1245
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1244
1246
|
"unlimited-point"?: boolean | undefined;
|
|
1245
1247
|
} & {
|
|
1246
1248
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1333,6 +1335,7 @@ declare const InteractiveGraph: {
|
|
|
1333
1335
|
segment?: boolean | undefined;
|
|
1334
1336
|
ray?: boolean | undefined;
|
|
1335
1337
|
angle?: boolean | undefined;
|
|
1338
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1336
1339
|
"unlimited-point"?: boolean | undefined;
|
|
1337
1340
|
} & {
|
|
1338
1341
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1423,6 +1426,7 @@ declare const InteractiveGraph: {
|
|
|
1423
1426
|
segment?: boolean | undefined;
|
|
1424
1427
|
ray?: boolean | undefined;
|
|
1425
1428
|
angle?: boolean | undefined;
|
|
1429
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1426
1430
|
"unlimited-point"?: boolean | undefined;
|
|
1427
1431
|
} & {
|
|
1428
1432
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1515,6 +1519,7 @@ declare const InteractiveGraph: {
|
|
|
1515
1519
|
segment?: boolean | undefined;
|
|
1516
1520
|
ray?: boolean | undefined;
|
|
1517
1521
|
angle?: boolean | undefined;
|
|
1522
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1518
1523
|
"unlimited-point"?: boolean | undefined;
|
|
1519
1524
|
} & {
|
|
1520
1525
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1605,6 +1610,7 @@ declare const InteractiveGraph: {
|
|
|
1605
1610
|
segment?: boolean | undefined;
|
|
1606
1611
|
ray?: boolean | undefined;
|
|
1607
1612
|
angle?: boolean | undefined;
|
|
1613
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1608
1614
|
"unlimited-point"?: boolean | undefined;
|
|
1609
1615
|
} & {
|
|
1610
1616
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1695,6 +1701,7 @@ declare const InteractiveGraph: {
|
|
|
1695
1701
|
segment?: boolean | undefined;
|
|
1696
1702
|
ray?: boolean | undefined;
|
|
1697
1703
|
angle?: boolean | undefined;
|
|
1704
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1698
1705
|
"unlimited-point"?: boolean | undefined;
|
|
1699
1706
|
} & {
|
|
1700
1707
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1785,6 +1792,7 @@ declare const InteractiveGraph: {
|
|
|
1785
1792
|
segment?: boolean | undefined;
|
|
1786
1793
|
ray?: boolean | undefined;
|
|
1787
1794
|
angle?: boolean | undefined;
|
|
1795
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1788
1796
|
"unlimited-point"?: boolean | undefined;
|
|
1789
1797
|
} & {
|
|
1790
1798
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1876,6 +1884,7 @@ declare const InteractiveGraph: {
|
|
|
1876
1884
|
segment?: boolean | undefined;
|
|
1877
1885
|
ray?: boolean | undefined;
|
|
1878
1886
|
angle?: boolean | undefined;
|
|
1887
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1879
1888
|
"unlimited-point"?: boolean | undefined;
|
|
1880
1889
|
} & {
|
|
1881
1890
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -1989,6 +1998,7 @@ declare const InteractiveGraph: {
|
|
|
1989
1998
|
segment?: boolean | undefined;
|
|
1990
1999
|
ray?: boolean | undefined;
|
|
1991
2000
|
angle?: boolean | undefined;
|
|
2001
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
1992
2002
|
"unlimited-point"?: boolean | undefined;
|
|
1993
2003
|
} & {
|
|
1994
2004
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2079,6 +2089,7 @@ declare const InteractiveGraph: {
|
|
|
2079
2089
|
segment?: boolean | undefined;
|
|
2080
2090
|
ray?: boolean | undefined;
|
|
2081
2091
|
angle?: boolean | undefined;
|
|
2092
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2082
2093
|
"unlimited-point"?: boolean | undefined;
|
|
2083
2094
|
} & {
|
|
2084
2095
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2169,6 +2180,7 @@ declare const InteractiveGraph: {
|
|
|
2169
2180
|
segment?: boolean | undefined;
|
|
2170
2181
|
ray?: boolean | undefined;
|
|
2171
2182
|
angle?: boolean | undefined;
|
|
2183
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2172
2184
|
"unlimited-point"?: boolean | undefined;
|
|
2173
2185
|
} & {
|
|
2174
2186
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2266,6 +2278,7 @@ declare const InteractiveGraph: {
|
|
|
2266
2278
|
segment?: boolean | undefined;
|
|
2267
2279
|
ray?: boolean | undefined;
|
|
2268
2280
|
angle?: boolean | undefined;
|
|
2281
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2269
2282
|
"unlimited-point"?: boolean | undefined;
|
|
2270
2283
|
} & {
|
|
2271
2284
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2310,9 +2323,7 @@ declare const InteractiveGraph: {
|
|
|
2310
2323
|
areAngleGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeAngle): boolean;
|
|
2311
2324
|
arePointGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePoint): boolean;
|
|
2312
2325
|
arePolygonGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypePolygon): boolean;
|
|
2313
|
-
areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
2314
|
-
* The background image to display in the graph area and its properties.
|
|
2315
|
-
*/
|
|
2326
|
+
areSegmentGraphsEqual(prevGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment, currentGraph: import("../../../../perseus/src/perseus-types").PerseusGraphTypeSegment): boolean;
|
|
2316
2327
|
_lineStroke: () => {
|
|
2317
2328
|
"stroke-width"?: number | undefined;
|
|
2318
2329
|
};
|
|
@@ -2324,22 +2335,15 @@ declare const InteractiveGraph: {
|
|
|
2324
2335
|
removeLinearControls: () => void;
|
|
2325
2336
|
addQuadraticControls: () => void;
|
|
2326
2337
|
updateQuadratic: () => void;
|
|
2327
|
-
removeQuadraticControls: () => void;
|
|
2338
|
+
removeQuadraticControls: () => void; /**
|
|
2339
|
+
* Whether to show the protractor on the graph.
|
|
2340
|
+
*/
|
|
2328
2341
|
addSinusoidControls: () => void;
|
|
2329
2342
|
updateSinusoid: () => void;
|
|
2330
2343
|
removeSinusoidControls: () => void;
|
|
2331
2344
|
addCircleControls: () => void;
|
|
2332
2345
|
removeCircleControls: () => void;
|
|
2333
2346
|
addLinearSystemControls: () => void;
|
|
2334
|
-
/**
|
|
2335
|
-
* The current correct answer for the graph. Updated by this component
|
|
2336
|
-
* when the graph is changed.
|
|
2337
|
-
*
|
|
2338
|
-
* Note that the "Correct answer:" textbox is not an interactive
|
|
2339
|
-
* element. Instead, it is a representation of the correct answer based
|
|
2340
|
-
* on the state of the interactive graph previewed at the bottom of the
|
|
2341
|
-
* editor page.
|
|
2342
|
-
*/
|
|
2343
2347
|
removeLinearSystemControls: () => void;
|
|
2344
2348
|
isCoordInTrash: (arg1: import("@khanacademy/perseus").Coord) => boolean;
|
|
2345
2349
|
createPointForPointsType: (arg1: import("@khanacademy/perseus").Coord, arg2: number) => any;
|
|
@@ -2361,7 +2365,6 @@ declare const InteractiveGraph: {
|
|
|
2361
2365
|
removeAngleControls: () => void;
|
|
2362
2366
|
toggleShowSides: () => void;
|
|
2363
2367
|
getUserInput(): PerseusGraphType;
|
|
2364
|
-
simpleValidate(rubric: import("../../../../perseus/src/validation.types").PerseusInteractiveGraphRubric): import("@khanacademy/perseus").PerseusScore;
|
|
2365
2368
|
focus: () => void;
|
|
2366
2369
|
render(): React.ReactNode;
|
|
2367
2370
|
setState<K extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -2415,6 +2418,7 @@ declare const InteractiveGraph: {
|
|
|
2415
2418
|
segment?: boolean | undefined;
|
|
2416
2419
|
ray?: boolean | undefined;
|
|
2417
2420
|
angle?: boolean | undefined;
|
|
2421
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2418
2422
|
"unlimited-point"?: boolean | undefined;
|
|
2419
2423
|
} & {
|
|
2420
2424
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2508,6 +2512,7 @@ declare const InteractiveGraph: {
|
|
|
2508
2512
|
segment?: boolean | undefined;
|
|
2509
2513
|
ray?: boolean | undefined;
|
|
2510
2514
|
angle?: boolean | undefined;
|
|
2515
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2511
2516
|
"unlimited-point"?: boolean | undefined;
|
|
2512
2517
|
} & {
|
|
2513
2518
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2600,6 +2605,7 @@ declare const InteractiveGraph: {
|
|
|
2600
2605
|
segment?: boolean | undefined;
|
|
2601
2606
|
ray?: boolean | undefined;
|
|
2602
2607
|
angle?: boolean | undefined;
|
|
2608
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2603
2609
|
"unlimited-point"?: boolean | undefined;
|
|
2604
2610
|
} & {
|
|
2605
2611
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2692,6 +2698,7 @@ declare const InteractiveGraph: {
|
|
|
2692
2698
|
segment?: boolean | undefined;
|
|
2693
2699
|
ray?: boolean | undefined;
|
|
2694
2700
|
angle?: boolean | undefined;
|
|
2701
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2695
2702
|
"unlimited-point"?: boolean | undefined;
|
|
2696
2703
|
} & {
|
|
2697
2704
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2782,6 +2789,7 @@ declare const InteractiveGraph: {
|
|
|
2782
2789
|
segment?: boolean | undefined;
|
|
2783
2790
|
ray?: boolean | undefined;
|
|
2784
2791
|
angle?: boolean | undefined;
|
|
2792
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2785
2793
|
"unlimited-point"?: boolean | undefined;
|
|
2786
2794
|
} & {
|
|
2787
2795
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2872,6 +2880,7 @@ declare const InteractiveGraph: {
|
|
|
2872
2880
|
segment?: boolean | undefined;
|
|
2873
2881
|
ray?: boolean | undefined;
|
|
2874
2882
|
angle?: boolean | undefined;
|
|
2883
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2875
2884
|
"unlimited-point"?: boolean | undefined;
|
|
2876
2885
|
} & {
|
|
2877
2886
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -2916,7 +2925,6 @@ declare const InteractiveGraph: {
|
|
|
2916
2925
|
}>;
|
|
2917
2926
|
mafsRef: React.RefObject<import("../../../../perseus/src/widgets/interactive-graphs/stateful-mafs-graph").StatefulMafsGraphType>;
|
|
2918
2927
|
getUserInput(): PerseusGraphType;
|
|
2919
|
-
simpleValidate(rubric: import("../../../../perseus/src/validation.types").PerseusInteractiveGraphRubric): import("@khanacademy/perseus").PerseusScore;
|
|
2920
2928
|
render(): React.JSX.Element;
|
|
2921
2929
|
context: unknown;
|
|
2922
2930
|
setState<K_1 extends string | number | symbol>(state: any, callback?: (() => void) | undefined): void;
|
|
@@ -2970,6 +2978,7 @@ declare const InteractiveGraph: {
|
|
|
2970
2978
|
segment?: boolean | undefined;
|
|
2971
2979
|
ray?: boolean | undefined;
|
|
2972
2980
|
angle?: boolean | undefined;
|
|
2981
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
2973
2982
|
"unlimited-point"?: boolean | undefined;
|
|
2974
2983
|
} & {
|
|
2975
2984
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3065,6 +3074,7 @@ declare const InteractiveGraph: {
|
|
|
3065
3074
|
segment?: boolean | undefined;
|
|
3066
3075
|
ray?: boolean | undefined;
|
|
3067
3076
|
angle?: boolean | undefined;
|
|
3077
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3068
3078
|
"unlimited-point"?: boolean | undefined;
|
|
3069
3079
|
} & {
|
|
3070
3080
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3157,6 +3167,7 @@ declare const InteractiveGraph: {
|
|
|
3157
3167
|
segment?: boolean | undefined;
|
|
3158
3168
|
ray?: boolean | undefined;
|
|
3159
3169
|
angle?: boolean | undefined;
|
|
3170
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3160
3171
|
"unlimited-point"?: boolean | undefined;
|
|
3161
3172
|
} & {
|
|
3162
3173
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3247,6 +3258,7 @@ declare const InteractiveGraph: {
|
|
|
3247
3258
|
segment?: boolean | undefined;
|
|
3248
3259
|
ray?: boolean | undefined;
|
|
3249
3260
|
angle?: boolean | undefined;
|
|
3261
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3250
3262
|
"unlimited-point"?: boolean | undefined;
|
|
3251
3263
|
} & {
|
|
3252
3264
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3339,6 +3351,7 @@ declare const InteractiveGraph: {
|
|
|
3339
3351
|
segment?: boolean | undefined;
|
|
3340
3352
|
ray?: boolean | undefined;
|
|
3341
3353
|
angle?: boolean | undefined;
|
|
3354
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3342
3355
|
"unlimited-point"?: boolean | undefined;
|
|
3343
3356
|
} & {
|
|
3344
3357
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3429,6 +3442,7 @@ declare const InteractiveGraph: {
|
|
|
3429
3442
|
segment?: boolean | undefined;
|
|
3430
3443
|
ray?: boolean | undefined;
|
|
3431
3444
|
angle?: boolean | undefined;
|
|
3445
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3432
3446
|
"unlimited-point"?: boolean | undefined;
|
|
3433
3447
|
} & {
|
|
3434
3448
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3519,6 +3533,7 @@ declare const InteractiveGraph: {
|
|
|
3519
3533
|
segment?: boolean | undefined;
|
|
3520
3534
|
ray?: boolean | undefined;
|
|
3521
3535
|
angle?: boolean | undefined;
|
|
3536
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3522
3537
|
"unlimited-point"?: boolean | undefined;
|
|
3523
3538
|
} & {
|
|
3524
3539
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3609,6 +3624,7 @@ declare const InteractiveGraph: {
|
|
|
3609
3624
|
segment?: boolean | undefined;
|
|
3610
3625
|
ray?: boolean | undefined;
|
|
3611
3626
|
angle?: boolean | undefined;
|
|
3627
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3612
3628
|
"unlimited-point"?: boolean | undefined;
|
|
3613
3629
|
} & {
|
|
3614
3630
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3710,6 +3726,7 @@ declare const InteractiveGraph: {
|
|
|
3710
3726
|
segment?: boolean | undefined;
|
|
3711
3727
|
ray?: boolean | undefined;
|
|
3712
3728
|
angle?: boolean | undefined;
|
|
3729
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3713
3730
|
"unlimited-point"?: boolean | undefined;
|
|
3714
3731
|
} & {
|
|
3715
3732
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3800,6 +3817,7 @@ declare const InteractiveGraph: {
|
|
|
3800
3817
|
segment?: boolean | undefined;
|
|
3801
3818
|
ray?: boolean | undefined;
|
|
3802
3819
|
angle?: boolean | undefined;
|
|
3820
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3803
3821
|
"unlimited-point"?: boolean | undefined;
|
|
3804
3822
|
} & {
|
|
3805
3823
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3890,6 +3908,7 @@ declare const InteractiveGraph: {
|
|
|
3890
3908
|
segment?: boolean | undefined;
|
|
3891
3909
|
ray?: boolean | undefined;
|
|
3892
3910
|
angle?: boolean | undefined;
|
|
3911
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3893
3912
|
"unlimited-point"?: boolean | undefined;
|
|
3894
3913
|
} & {
|
|
3895
3914
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -3980,6 +3999,7 @@ declare const InteractiveGraph: {
|
|
|
3980
3999
|
segment?: boolean | undefined;
|
|
3981
4000
|
ray?: boolean | undefined;
|
|
3982
4001
|
angle?: boolean | undefined;
|
|
4002
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
3983
4003
|
"unlimited-point"?: boolean | undefined;
|
|
3984
4004
|
} & {
|
|
3985
4005
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4070,6 +4090,7 @@ declare const InteractiveGraph: {
|
|
|
4070
4090
|
segment?: boolean | undefined;
|
|
4071
4091
|
ray?: boolean | undefined;
|
|
4072
4092
|
angle?: boolean | undefined;
|
|
4093
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4073
4094
|
"unlimited-point"?: boolean | undefined;
|
|
4074
4095
|
} & {
|
|
4075
4096
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4160,6 +4181,7 @@ declare const InteractiveGraph: {
|
|
|
4160
4181
|
segment?: boolean | undefined;
|
|
4161
4182
|
ray?: boolean | undefined;
|
|
4162
4183
|
angle?: boolean | undefined;
|
|
4184
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4163
4185
|
"unlimited-point"?: boolean | undefined;
|
|
4164
4186
|
} & {
|
|
4165
4187
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4251,6 +4273,7 @@ declare const InteractiveGraph: {
|
|
|
4251
4273
|
segment?: boolean | undefined;
|
|
4252
4274
|
ray?: boolean | undefined;
|
|
4253
4275
|
angle?: boolean | undefined;
|
|
4276
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4254
4277
|
"unlimited-point"?: boolean | undefined;
|
|
4255
4278
|
} & {
|
|
4256
4279
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4341,6 +4364,7 @@ declare const InteractiveGraph: {
|
|
|
4341
4364
|
segment?: boolean | undefined;
|
|
4342
4365
|
ray?: boolean | undefined;
|
|
4343
4366
|
angle?: boolean | undefined;
|
|
4367
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4344
4368
|
"unlimited-point"?: boolean | undefined;
|
|
4345
4369
|
} & {
|
|
4346
4370
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4432,6 +4456,7 @@ declare const InteractiveGraph: {
|
|
|
4432
4456
|
segment?: boolean | undefined;
|
|
4433
4457
|
ray?: boolean | undefined;
|
|
4434
4458
|
angle?: boolean | undefined;
|
|
4459
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4435
4460
|
"unlimited-point"?: boolean | undefined;
|
|
4436
4461
|
} & {
|
|
4437
4462
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4522,6 +4547,7 @@ declare const InteractiveGraph: {
|
|
|
4522
4547
|
segment?: boolean | undefined;
|
|
4523
4548
|
ray?: boolean | undefined;
|
|
4524
4549
|
angle?: boolean | undefined;
|
|
4550
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4525
4551
|
"unlimited-point"?: boolean | undefined;
|
|
4526
4552
|
} & {
|
|
4527
4553
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4612,6 +4638,7 @@ declare const InteractiveGraph: {
|
|
|
4612
4638
|
segment?: boolean | undefined;
|
|
4613
4639
|
ray?: boolean | undefined;
|
|
4614
4640
|
angle?: boolean | undefined;
|
|
4641
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4615
4642
|
"unlimited-point"?: boolean | undefined;
|
|
4616
4643
|
} & {
|
|
4617
4644
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4702,6 +4729,7 @@ declare const InteractiveGraph: {
|
|
|
4702
4729
|
segment?: boolean | undefined;
|
|
4703
4730
|
ray?: boolean | undefined;
|
|
4704
4731
|
angle?: boolean | undefined;
|
|
4732
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4705
4733
|
"unlimited-point"?: boolean | undefined;
|
|
4706
4734
|
} & {
|
|
4707
4735
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4792,6 +4820,7 @@ declare const InteractiveGraph: {
|
|
|
4792
4820
|
segment?: boolean | undefined;
|
|
4793
4821
|
ray?: boolean | undefined;
|
|
4794
4822
|
angle?: boolean | undefined;
|
|
4823
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4795
4824
|
"unlimited-point"?: boolean | undefined;
|
|
4796
4825
|
} & {
|
|
4797
4826
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4882,6 +4911,7 @@ declare const InteractiveGraph: {
|
|
|
4882
4911
|
segment?: boolean | undefined;
|
|
4883
4912
|
ray?: boolean | undefined;
|
|
4884
4913
|
angle?: boolean | undefined;
|
|
4914
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4885
4915
|
"unlimited-point"?: boolean | undefined;
|
|
4886
4916
|
} & {
|
|
4887
4917
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -4972,6 +5002,7 @@ declare const InteractiveGraph: {
|
|
|
4972
5002
|
segment?: boolean | undefined;
|
|
4973
5003
|
ray?: boolean | undefined;
|
|
4974
5004
|
angle?: boolean | undefined;
|
|
5005
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
4975
5006
|
"unlimited-point"?: boolean | undefined;
|
|
4976
5007
|
} & {
|
|
4977
5008
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -5062,6 +5093,7 @@ declare const InteractiveGraph: {
|
|
|
5062
5093
|
segment?: boolean | undefined;
|
|
5063
5094
|
ray?: boolean | undefined;
|
|
5064
5095
|
angle?: boolean | undefined;
|
|
5096
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
5065
5097
|
"unlimited-point"?: boolean | undefined;
|
|
5066
5098
|
} & {
|
|
5067
5099
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -5152,6 +5184,7 @@ declare const InteractiveGraph: {
|
|
|
5152
5184
|
segment?: boolean | undefined;
|
|
5153
5185
|
ray?: boolean | undefined;
|
|
5154
5186
|
angle?: boolean | undefined;
|
|
5187
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
5155
5188
|
"unlimited-point"?: boolean | undefined;
|
|
5156
5189
|
} & {
|
|
5157
5190
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -5242,6 +5275,7 @@ declare const InteractiveGraph: {
|
|
|
5242
5275
|
segment?: boolean | undefined;
|
|
5243
5276
|
ray?: boolean | undefined;
|
|
5244
5277
|
angle?: boolean | undefined;
|
|
5278
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
5245
5279
|
"unlimited-point"?: boolean | undefined;
|
|
5246
5280
|
} & {
|
|
5247
5281
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -5332,6 +5366,7 @@ declare const InteractiveGraph: {
|
|
|
5332
5366
|
segment?: boolean | undefined;
|
|
5333
5367
|
ray?: boolean | undefined;
|
|
5334
5368
|
angle?: boolean | undefined;
|
|
5369
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
5335
5370
|
"unlimited-point"?: boolean | undefined;
|
|
5336
5371
|
} & {
|
|
5337
5372
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -5422,6 +5457,7 @@ declare const InteractiveGraph: {
|
|
|
5422
5457
|
segment?: boolean | undefined;
|
|
5423
5458
|
ray?: boolean | undefined;
|
|
5424
5459
|
angle?: boolean | undefined;
|
|
5460
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
5425
5461
|
"unlimited-point"?: boolean | undefined;
|
|
5426
5462
|
} & {
|
|
5427
5463
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -5512,6 +5548,7 @@ declare const InteractiveGraph: {
|
|
|
5512
5548
|
segment?: boolean | undefined;
|
|
5513
5549
|
ray?: boolean | undefined;
|
|
5514
5550
|
angle?: boolean | undefined;
|
|
5551
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
5515
5552
|
"unlimited-point"?: boolean | undefined;
|
|
5516
5553
|
} & {
|
|
5517
5554
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -5602,6 +5639,7 @@ declare const InteractiveGraph: {
|
|
|
5602
5639
|
segment?: boolean | undefined;
|
|
5603
5640
|
ray?: boolean | undefined;
|
|
5604
5641
|
angle?: boolean | undefined;
|
|
5642
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
5605
5643
|
"unlimited-point"?: boolean | undefined;
|
|
5606
5644
|
} & {
|
|
5607
5645
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
|
@@ -5643,7 +5681,6 @@ declare const InteractiveGraph: {
|
|
|
5643
5681
|
linterContext: import("@khanacademy/perseus-linter").LinterContextProps;
|
|
5644
5682
|
containerSizeClass: SizingUtils.SizeClass;
|
|
5645
5683
|
}): string;
|
|
5646
|
-
validate(userInput: PerseusGraphType, rubric: import("../../../../perseus/src/validation.types").PerseusInteractiveGraphRubric): import("@khanacademy/perseus").PerseusScore;
|
|
5647
5684
|
getUserInputFromProps(props: PerseusInteractiveGraphWidgetOptions & {
|
|
5648
5685
|
widgetId: string;
|
|
5649
5686
|
alignment: string | null | undefined;
|
|
@@ -5693,6 +5730,7 @@ declare const InteractiveGraph: {
|
|
|
5693
5730
|
segment?: boolean | undefined;
|
|
5694
5731
|
ray?: boolean | undefined;
|
|
5695
5732
|
angle?: boolean | undefined;
|
|
5733
|
+
"unlimited-polygon"?: boolean | undefined;
|
|
5696
5734
|
"unlimited-point"?: boolean | undefined;
|
|
5697
5735
|
} & {
|
|
5698
5736
|
"interactive-graph-locked-features-labels"?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus editors",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "14.
|
|
6
|
+
"version": "14.7.1",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@khanacademy/kas": "^0.3.14",
|
|
38
38
|
"@khanacademy/keypad-context": "^1.0.3",
|
|
39
39
|
"@khanacademy/kmath": "^0.1.15",
|
|
40
|
-
"@khanacademy/math-input": "^21.0
|
|
41
|
-
"@khanacademy/perseus": "^
|
|
40
|
+
"@khanacademy/math-input": "^21.1.0",
|
|
41
|
+
"@khanacademy/perseus": "^37.0.1",
|
|
42
42
|
"@khanacademy/perseus-core": "1.5.2",
|
|
43
43
|
"mafs": "^0.19.0"
|
|
44
44
|
},
|