@khanacademy/perseus 7.2.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist/article-renderer.d.ts +26 -40
- package/dist/components/math-input.d.ts +1 -1
- package/dist/components/sortable.d.ts +1 -1
- package/dist/components/tex-buttons.d.ts +1 -1
- package/dist/es/index.css +61 -61
- package/dist/es/index.js +1189 -1308
- package/dist/es/index.js.map +1 -1
- package/dist/hints-renderer.d.ts +1 -1
- package/dist/index.css +61 -61
- package/dist/index.js +1180 -1269
- package/dist/index.js.map +1 -1
- package/dist/mixins/provide-keypad.d.ts +15 -12
- package/dist/perseus-api.d.ts +1 -1
- package/dist/types.d.ts +3 -2
- package/dist/widgets/expression.d.ts +1 -1
- package/dist/widgets/graded-group.d.ts +1 -1
- package/dist/widgets/interactive-graph.d.ts +1 -1
- package/dist/widgets/plotter.d.ts +47 -13
- package/dist/widgets/sequence.d.ts +1 -1
- package/dist/widgets/table.d.ts +8 -1
- package/dist/widgets.d.ts +1 -1
- package/package.json +33 -33
- package/src/__testdata__/article-renderer.testdata.ts +3 -1
- package/src/__testdata__/item-renderer.testdata.ts +1 -1
- package/src/__testdata__/renderer.testdata.ts +1 -1
- package/src/__tests__/item-renderer.test.tsx +2 -2
- package/src/__tests__/mock-asset-loading-widget.tsx +1 -1
- package/src/__tests__/perseus-markdown.test.ts +17 -17
- package/src/__tests__/renderer-api.test.tsx +21 -21
- package/src/__tests__/renderer.test.tsx +13 -13
- package/src/__tests__/server-item-renderer.test.tsx +3 -3
- package/src/__tests__/tex-wrangler.test.ts +1 -1
- package/src/article-renderer.tsx +39 -38
- package/src/components/__stories__/image-loader.stories.tsx +1 -0
- package/src/components/__tests__/number-input.test.tsx +4 -4
- package/src/components/__tests__/sortable.test.tsx +2 -2
- package/src/components/fixed-to-responsive.tsx +1 -1
- package/src/components/graph.tsx +12 -11
- package/src/components/graphie-classes.ts +7 -7
- package/src/components/graphie.tsx +14 -14
- package/src/components/highlighting/highlightable-content.tsx +1 -1
- package/src/components/highlighting/ui/highlight-renderer.tsx +1 -1
- package/src/components/highlighting/ui/util.ts +2 -2
- package/src/components/highlighting/word-indexer.tsx +4 -4
- package/src/components/icon.tsx +2 -1
- package/src/components/image-loader.tsx +5 -4
- package/src/components/input-with-examples.tsx +2 -2
- package/src/components/lint.tsx +1 -1
- package/src/components/math-input.tsx +5 -5
- package/src/components/math-output.tsx +1 -1
- package/src/components/multi-button-group.tsx +1 -1
- package/src/components/number-input.tsx +11 -10
- package/src/components/prop-check-box.tsx +1 -1
- package/src/components/simple-keypad-input.tsx +4 -4
- package/src/components/sortable.tsx +43 -41
- package/src/components/svg-image.tsx +13 -12
- package/src/components/tex-buttons.tsx +5 -3
- package/src/components/text-input.tsx +9 -8
- package/src/components/text-list-editor.tsx +12 -11
- package/src/components/visibility-observer/create-visibility-observer.ts +1 -1
- package/src/components/visibility-observer/visibility-observer.tsx +2 -2
- package/src/components/zoomable-tex.tsx +3 -3
- package/src/components/zoomable.tsx +9 -8
- package/src/hint-renderer.tsx +3 -3
- package/src/hints-renderer.tsx +12 -11
- package/src/index.ts +1 -0
- package/src/init.ts +1 -1
- package/src/interaction-tracker.ts +4 -4
- package/src/interactive2/__tests__/movable-point.test.ts +1 -1
- package/src/interactive2/interactive-util.ts +6 -6
- package/src/interactive2/movable-helper-methods.ts +2 -2
- package/src/interactive2/movable-line-options.ts +37 -37
- package/src/interactive2/movable-line.ts +2 -2
- package/src/interactive2/movable-point-options.ts +29 -29
- package/src/interactive2/movable-point.tsx +2 -2
- package/src/interactive2/movable-polygon-options.ts +45 -45
- package/src/interactive2/movable-polygon.ts +2 -2
- package/src/interactive2/movable.ts +2 -2
- package/src/interactive2/objective_.ts +1 -1
- package/src/interactive2/wrapped-defaults.ts +2 -2
- package/src/interactive2/wrapped-ellipse.ts +9 -9
- package/src/interactive2/wrapped-line.ts +8 -8
- package/src/interactive2/wrapped-path.ts +5 -5
- package/src/item-renderer.tsx +6 -5
- package/src/mixins/changeable.ts +2 -2
- package/src/mixins/editor-jsonify.ts +1 -1
- package/src/mixins/provide-keypad.tsx +24 -37
- package/src/mixins/widget-jsonify-deprecated.ts +1 -1
- package/src/multi-items/__tests__/items.test.ts +1 -1
- package/src/multi-items/__tests__/multi-renderer.test.tsx +7 -7
- package/src/multi-items/__tests__/trees.test.ts +12 -12
- package/src/multi-items/item-types.ts +2 -2
- package/src/multi-items/items.ts +1 -1
- package/src/multi-items/multi-renderer.tsx +15 -14
- package/src/multi-items/prop-type-builders.ts +2 -2
- package/src/multi-items/tree-types.ts +4 -4
- package/src/multi-items/trees.ts +16 -16
- package/src/perseus-env.ts +2 -2
- package/src/perseus-markdown.tsx +5 -5
- package/src/renderer.tsx +39 -38
- package/src/server-item-renderer.tsx +6 -5
- package/src/sigfigs.ts +1 -1
- package/src/styles/articles.less +8 -4
- package/src/styles/perseus-renderer.less +47 -38
- package/src/styles/util.less +1 -1
- package/src/styles/variables.boostrap.less +158 -182
- package/src/styles/variables.less +20 -20
- package/src/styles/variables.shared.less +162 -168
- package/src/styles/widgets/categorizer.less +1 -2
- package/src/styles/widgets/expression.less +7 -4
- package/src/styles/widgets/grapher.less +2 -1
- package/src/styles/widgets/image.less +3 -2
- package/src/styles/widgets/interactive-graph.less +4 -2
- package/src/styles/widgets/label-image.less +2 -1
- package/src/styles/widgets/matrix.less +11 -7
- package/src/styles/widgets/orderer.less +2 -1
- package/src/styles/widgets/passage.less +2 -1
- package/src/styles/widgets/plotter.less +4 -3
- package/src/styles/widgets/radio.less +4 -2
- package/src/styles/widgets/sortable.less +1 -1
- package/src/styles/widgets/table.less +2 -1
- package/src/styles/widgets/transformer.less +2 -1
- package/src/styles/widgets/unit.less +2 -1
- package/src/traversal.ts +1 -1
- package/src/types.ts +3 -3
- package/src/util/answer-types.ts +14 -14
- package/src/util/geometry.ts +7 -7
- package/src/util/graphie.ts +32 -32
- package/src/util/interactive.ts +118 -118
- package/src/util/math.ts +4 -4
- package/src/util/react-render.tsx +1 -1
- package/src/util/scroll-utils.ts +2 -2
- package/src/util/tex.ts +3 -3
- package/src/util.ts +15 -15
- package/src/widget-container.tsx +1 -1
- package/src/widgets/__stories__/plotter.stories.tsx +27 -0
- package/src/widgets/__stories__/test-keypad-context-wrapper.tsx +3 -3
- package/src/widgets/__testdata__/numeric-input.testdata.ts +1 -1
- package/src/widgets/__testdata__/plotter.testdata.ts +36 -0
- package/src/widgets/__tests__/__snapshots__/plotter.test.tsx.snap +863 -0
- package/src/widgets/__tests__/__snapshots__/video.test.ts.snap +2 -2
- package/src/widgets/__tests__/expression.test.ts +4 -3
- package/src/widgets/__tests__/grapher.cypress.ts +32 -32
- package/src/widgets/__tests__/group.test.tsx +1 -1
- package/src/widgets/__tests__/interactive-graph.cypress.ts +40 -40
- package/src/widgets/__tests__/interactive-graph.test.ts +1 -1
- package/src/widgets/__tests__/numeric-input.test.ts +1 -1
- package/src/widgets/__tests__/passage.test.tsx +2 -2
- package/src/widgets/__tests__/plotter.test.tsx +66 -0
- package/src/widgets/__tests__/radio/base-radio.test.tsx +7 -7
- package/src/widgets/__tests__/renderQuestion.tsx +3 -3
- package/src/widgets/categorizer.tsx +5 -4
- package/src/widgets/cs-program.tsx +2 -2
- package/src/widgets/dropdown.tsx +1 -1
- package/src/widgets/expression.tsx +10 -9
- package/src/widgets/graded-group-set.tsx +6 -5
- package/src/widgets/graded-group.tsx +19 -19
- package/src/widgets/grapher/util.tsx +6 -6
- package/src/widgets/grapher.tsx +10 -10
- package/src/widgets/group.tsx +3 -3
- package/src/widgets/iframe.tsx +2 -2
- package/src/widgets/image.tsx +1 -1
- package/src/widgets/input-number.tsx +4 -4
- package/src/widgets/interaction.tsx +78 -77
- package/src/widgets/interactive-graph.tsx +109 -107
- package/src/widgets/label-image/marker.tsx +3 -2
- package/src/widgets/label-image.test.ts +1 -1
- package/src/widgets/label-image.tsx +7 -7
- package/src/widgets/lights-puzzle.tsx +2 -2
- package/src/widgets/matcher.tsx +7 -6
- package/src/widgets/matrix.tsx +20 -20
- package/src/widgets/measurer.tsx +3 -3
- package/src/widgets/molecule/__tests__/layout.test.ts +4 -4
- package/src/widgets/molecule/__tests__/parser.test.ts +14 -14
- package/src/widgets/molecule/smiles-parser.ts +3 -3
- package/src/widgets/molecule.tsx +4 -4
- package/src/widgets/number-line.tsx +11 -11
- package/src/widgets/numeric-input.tsx +11 -11
- package/src/widgets/orderer.tsx +39 -38
- package/src/widgets/passage/__tests__/passage-markdown.test.ts +1 -1
- package/src/widgets/passage/passage-markdown.tsx +4 -4
- package/src/widgets/passage-ref-target.tsx +2 -1
- package/src/widgets/passage-ref.tsx +4 -6
- package/src/widgets/passage.tsx +11 -11
- package/src/widgets/plotter.tsx +117 -107
- package/src/widgets/radio/base-radio.tsx +12 -11
- package/src/widgets/radio/choice-icon/choice-icon.tsx +3 -2
- package/src/widgets/radio/choice.tsx +1 -1
- package/src/widgets/radio/option-status.tsx +1 -1
- package/src/widgets/radio/widget.tsx +6 -6
- package/src/widgets/radio.ts +1 -1
- package/src/widgets/reaction-diagram.tsx +8 -8
- package/src/widgets/sequence.tsx +2 -2
- package/src/widgets/simulator.tsx +14 -14
- package/src/widgets/sorter.tsx +5 -4
- package/src/widgets/table.tsx +8 -8
- package/src/widgets/transformer.tsx +93 -92
- package/src/widgets/unit.tsx +17 -17
- package/src/widgets/video-transcript-link.test.tsx +3 -3
- package/src/widgets/video-transcript-link.tsx +1 -1
- package/src/widgets/video.tsx +1 -1
- package/src/widgets.ts +5 -5
- package/src/zoom.ts +22 -22
- package/tsconfig-build.tsbuildinfo +1 -1
- package/dist/a11y.js.flow +0 -11
- package/dist/all-widgets.js.flow +0 -33
- package/dist/article-renderer.js.flow +0 -73
- package/dist/asset-context.js.flow +0 -15
- package/dist/basic-widgets.js.flow +0 -33
- package/dist/components/button-group.js.flow +0 -33
- package/dist/components/constants.js.flow +0 -13
- package/dist/components/fixed-to-responsive.js.flow +0 -34
- package/dist/components/graph.js.flow +0 -66
- package/dist/components/graphie-classes.js.flow +0 -19
- package/dist/components/graphie-movables.js.flow +0 -22
- package/dist/components/graphie.js.flow +0 -69
- package/dist/components/highlighting/highlightable-content.js.flow +0 -56
- package/dist/components/highlighting/highlights.js.flow +0 -54
- package/dist/components/highlighting/ranges.js.flow +0 -60
- package/dist/components/highlighting/types.js.flow +0 -70
- package/dist/components/highlighting/ui/highlight-renderer.js.flow +0 -43
- package/dist/components/highlighting/ui/highlight-set-renderer.js.flow +0 -41
- package/dist/components/highlighting/ui/highlight-tooltip.js.flow +0 -22
- package/dist/components/highlighting/ui/highlighting-ui.js.flow +0 -30
- package/dist/components/highlighting/ui/selection-tracker.js.flow +0 -54
- package/dist/components/highlighting/ui/types.js.flow +0 -22
- package/dist/components/highlighting/ui/util.js.flow +0 -42
- package/dist/components/highlighting/word-indexer.js.flow +0 -21
- package/dist/components/hud.js.flow +0 -14
- package/dist/components/icon.js.flow +0 -31
- package/dist/components/image-loader.js.flow +0 -49
- package/dist/components/info-tip/info-tip.js.flow +0 -20
- package/dist/components/info-tip.js.flow +0 -18
- package/dist/components/inline-icon.js.flow +0 -39
- package/dist/components/input-with-examples.js.flow +0 -58
- package/dist/components/lint.js.flow +0 -58
- package/dist/components/math-input.js.flow +0 -49
- package/dist/components/math-output.js.flow +0 -33
- package/dist/components/multi-button-group.js.flow +0 -35
- package/dist/components/number-input.js.flow +0 -42
- package/dist/components/prop-check-box.js.flow +0 -8
- package/dist/components/range-input.js.flow +0 -20
- package/dist/components/simple-keypad-input.js.flow +0 -16
- package/dist/components/sortable.js.flow +0 -91
- package/dist/components/stub-tag-editor.js.flow +0 -18
- package/dist/components/svg-image.js.flow +0 -85
- package/dist/components/tex-buttons.js.flow +0 -26
- package/dist/components/tex.js.flow +0 -25
- package/dist/components/text-input.js.flow +0 -39
- package/dist/components/text-list-editor.js.flow +0 -22
- package/dist/components/tooltip.js.flow +0 -51
- package/dist/components/visibility-observer/create-visibility-observer.js.flow +0 -23
- package/dist/components/visibility-observer/get-scroll-parent.js.flow +0 -7
- package/dist/components/visibility-observer/visibility-observer.js.flow +0 -36
- package/dist/components/zoomable-tex.js.flow +0 -18
- package/dist/components/zoomable.js.flow +0 -70
- package/dist/components.js.flow +0 -22
- package/dist/definition-context.js.flow +0 -25
- package/dist/dependencies.js.flow +0 -9
- package/dist/error-boundary.js.flow +0 -19
- package/dist/extra-widgets.js.flow +0 -33
- package/dist/hint-renderer.js.flow +0 -32
- package/dist/hints-renderer.js.flow +0 -41
- package/dist/icon-paths.js.flow +0 -123
- package/dist/index.js.flow +0 -134
- package/dist/init.js.flow +0 -20
- package/dist/interaction-tracker.js.flow +0 -35
- package/dist/interactive2/interactive-util.js.flow +0 -50
- package/dist/interactive2/movable-helper-methods.js.flow +0 -15
- package/dist/interactive2/movable-line-options.js.flow +0 -44
- package/dist/interactive2/movable-line.js.flow +0 -8
- package/dist/interactive2/movable-point-options.js.flow +0 -44
- package/dist/interactive2/movable-point.js.flow +0 -8
- package/dist/interactive2/movable-polygon-options.js.flow +0 -47
- package/dist/interactive2/movable-polygon.js.flow +0 -8
- package/dist/interactive2/movable.js.flow +0 -8
- package/dist/interactive2/objective_.js.flow +0 -25
- package/dist/interactive2/types.js.flow +0 -8
- package/dist/interactive2/wrapped-defaults.js.flow +0 -11
- package/dist/interactive2/wrapped-ellipse.js.flow +0 -14
- package/dist/interactive2/wrapped-line.js.flow +0 -14
- package/dist/interactive2/wrapped-path.js.flow +0 -13
- package/dist/interactive2.js.flow +0 -16
- package/dist/item-renderer.js.flow +0 -132
- package/dist/item-version.js.flow +0 -11
- package/dist/jipt-paragraphs.js.flow +0 -14
- package/dist/loading-context.js.flow +0 -12
- package/dist/logging/log.js.flow +0 -62
- package/dist/mixins/changeable.js.flow +0 -33
- package/dist/mixins/editor-jsonify.js.flow +0 -10
- package/dist/mixins/provide-keypad.js.flow +0 -33
- package/dist/mixins/widget-jsonify-deprecated.js.flow +0 -11
- package/dist/mixins/widget-prop-denylist.js.flow +0 -20
- package/dist/multi-items/item-types.js.flow +0 -55
- package/dist/multi-items/items.js.flow +0 -66
- package/dist/multi-items/multi-renderer.js.flow +0 -213
- package/dist/multi-items/prop-type-builders.js.flow +0 -22
- package/dist/multi-items/shape-types.js.flow +0 -60
- package/dist/multi-items/shapes.js.flow +0 -25
- package/dist/multi-items/tree-types.js.flow +0 -45
- package/dist/multi-items/trees.js.flow +0 -147
- package/dist/multi-items.js.flow +0 -36
- package/dist/perseus-api.js.flow +0 -151
- package/dist/perseus-env.js.flow +0 -6
- package/dist/perseus-error.js.flow +0 -16
- package/dist/perseus-markdown.js.flow +0 -20
- package/dist/perseus-types.js.flow +0 -1041
- package/dist/question-paragraph.js.flow +0 -17
- package/dist/renderability.js.flow +0 -19
- package/dist/renderer.js.flow +0 -325
- package/dist/server-item-renderer.js.flow +0 -132
- package/dist/sigfigs.js.flow +0 -41
- package/dist/styles/constants.js.flow +0 -62
- package/dist/styles/global-constants.js.flow +0 -348
- package/dist/styles/global-styles.js.flow +0 -53
- package/dist/styles/media-queries.js.flow +0 -35
- package/dist/styles/shared.js.flow +0 -8
- package/dist/tex-wrangler.js.flow +0 -13
- package/dist/translation-linter.js.flow +0 -32
- package/dist/traversal.js.flow +0 -26
- package/dist/types.js.flow +0 -318
- package/dist/util/a11y.js.flow +0 -8
- package/dist/util/answer-types.js.flow +0 -49
- package/dist/util/colors.js.flow +0 -95
- package/dist/util/fix-passage-refs.js.flow +0 -8
- package/dist/util/geometry.js.flow +0 -37
- package/dist/util/graph-utils.js.flow +0 -9
- package/dist/util/graphie.js.flow +0 -8
- package/dist/util/interactive.js.flow +0 -11
- package/dist/util/katex-preprocess.js.flow +0 -12
- package/dist/util/math.js.flow +0 -62
- package/dist/util/mobile-native-utils.js.flow +0 -12
- package/dist/util/react-render.js.flow +0 -12
- package/dist/util/register-all-widgets-for-testing.js.flow +0 -7
- package/dist/util/scroll-utils.js.flow +0 -19
- package/dist/util/sizing-utils.js.flow +0 -20
- package/dist/util/tex.js.flow +0 -17
- package/dist/util/url-utils.js.flow +0 -11
- package/dist/util.graphie.js.flow +0 -14
- package/dist/util.js.flow +0 -319
- package/dist/version.js.flow +0 -17
- package/dist/widget-container.js.flow +0 -33
- package/dist/widgets/categorizer.js.flow +0 -70
- package/dist/widgets/cs-program.js.flow +0 -54
- package/dist/widgets/definition.js.flow +0 -57
- package/dist/widgets/dropdown.js.flow +0 -63
- package/dist/widgets/explanation.js.flow +0 -58
- package/dist/widgets/expression.js.flow +0 -116
- package/dist/widgets/graded-group-answer-bar.js.flow +0 -24
- package/dist/widgets/graded-group-set.js.flow +0 -65
- package/dist/widgets/graded-group.js.flow +0 -78
- package/dist/widgets/grapher/util.js.flow +0 -38
- package/dist/widgets/grapher.js.flow +0 -102
- package/dist/widgets/group.js.flow +0 -60
- package/dist/widgets/iframe.js.flow +0 -53
- package/dist/widgets/image.js.flow +0 -73
- package/dist/widgets/input-number.js.flow +0 -94
- package/dist/widgets/interaction/arrow-picker.js.flow +0 -21
- package/dist/widgets/interaction/color-picker.js.flow +0 -23
- package/dist/widgets/interaction/dash-picker.js.flow +0 -21
- package/dist/widgets/interaction/element-container.js.flow +0 -28
- package/dist/widgets/interaction.js.flow +0 -60
- package/dist/widgets/interactive-graph.js.flow +0 -239
- package/dist/widgets/label-image/answer-choices.js.flow +0 -55
- package/dist/widgets/label-image/marker.js.flow +0 -31
- package/dist/widgets/label-image/types.js.flow +0 -23
- package/dist/widgets/label-image.js.flow +0 -142
- package/dist/widgets/lights-puzzle.js.flow +0 -58
- package/dist/widgets/matcher.js.flow +0 -106
- package/dist/widgets/matrix.js.flow +0 -80
- package/dist/widgets/measurer.js.flow +0 -30
- package/dist/widgets/molecule/molecule-drawing.js.flow +0 -11
- package/dist/widgets/molecule/molecule-layout.js.flow +0 -96
- package/dist/widgets/molecule/smiles-parser.js.flow +0 -26
- package/dist/widgets/molecule.js.flow +0 -60
- package/dist/widgets/number-line.js.flow +0 -102
- package/dist/widgets/numeric-input.js.flow +0 -105
- package/dist/widgets/orderer.js.flow +0 -81
- package/dist/widgets/passage/passage-markdown.js.flow +0 -33
- package/dist/widgets/passage-ref-target.js.flow +0 -52
- package/dist/widgets/passage-ref.js.flow +0 -85
- package/dist/widgets/passage.js.flow +0 -157
- package/dist/widgets/plotter.js.flow +0 -78
- package/dist/widgets/radio/base-radio.js.flow +0 -50
- package/dist/widgets/radio/choice-a11y-text.js.flow +0 -14
- package/dist/widgets/radio/choice-icon/choice-icon.js.flow +0 -22
- package/dist/widgets/radio/choice-icon/cross-out-line.js.flow +0 -16
- package/dist/widgets/radio/choice-icon/shared-styles.js.flow +0 -11
- package/dist/widgets/radio/choice-none-above.js.flow +0 -16
- package/dist/widgets/radio/choice.js.flow +0 -29
- package/dist/widgets/radio/choice.jsx.fixture.js.flow +0 -7
- package/dist/widgets/radio/focus-ring.js.flow +0 -22
- package/dist/widgets/radio/option-status.js.flow +0 -16
- package/dist/widgets/radio/util.js.flow +0 -12
- package/dist/widgets/radio/widget.js.flow +0 -80
- package/dist/widgets/radio.js.flow +0 -31
- package/dist/widgets/reaction-diagram.js.flow +0 -46
- package/dist/widgets/sequence.js.flow +0 -53
- package/dist/widgets/simulator.js.flow +0 -107
- package/dist/widgets/sorter.js.flow +0 -102
- package/dist/widgets/table.js.flow +0 -67
- package/dist/widgets/transformer.js.flow +0 -127
- package/dist/widgets/unit.js.flow +0 -93
- package/dist/widgets/video-transcript-link.js.flow +0 -15
- package/dist/widgets/video.js.flow +0 -57
- package/dist/widgets.js.flow +0 -108
- package/dist/zoom.js.flow +0 -7
- package/src/multi-items/item-types.js.flow +0 -55
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
declare type DefintionContext = {|
|
|
9
|
-
activeDefinitionId: string | null | void,
|
|
10
|
-
setActiveDefinitionId: (arg1?: string | null | void) => void,
|
|
11
|
-
|};
|
|
12
|
-
declare type ProviderState = {|
|
|
13
|
-
activeDefinitionId: string | null | void,
|
|
14
|
-
|};
|
|
15
|
-
export type ProviderProps = {|
|
|
16
|
-
children: any,
|
|
17
|
-
|};
|
|
18
|
-
declare export class DefinitionProvider
|
|
19
|
-
extends React.Component<ProviderProps, ProviderState>
|
|
20
|
-
{
|
|
21
|
-
state: ProviderState;
|
|
22
|
-
setActiveDefinitionId: (activeDefinitionId?: string | null) => void;
|
|
23
|
-
render(): React.Node;
|
|
24
|
-
}
|
|
25
|
-
declare export var DefinitionConsumer: React.Consumer<DefintionContext>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
import type { PerseusDependencies } from "./types";
|
|
8
|
-
declare export var setDependencies: (dependencies: PerseusDependencies) => void;
|
|
9
|
-
declare export var getDependencies: () => PerseusDependencies;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
declare type Props = {|
|
|
9
|
-
children: React.Node,
|
|
10
|
-
|};
|
|
11
|
-
declare type State = {|
|
|
12
|
-
error: string,
|
|
13
|
-
|};
|
|
14
|
-
declare class ErrorBoundary extends React.Component<Props, State> {
|
|
15
|
-
constructor(props: Props): this;
|
|
16
|
-
componentDidCatch(error: Error, info: any): void;
|
|
17
|
-
render(): React.Node;
|
|
18
|
-
}
|
|
19
|
-
declare export default typeof ErrorBoundary;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
import * as $Flowgen$Import$react from "react";
|
|
8
|
-
import * as $Flowgen$Import$_2e__2f_types from "./types";
|
|
9
|
-
declare var _default: $ReadOnlyArray<
|
|
10
|
-
$ReadOnly<{|
|
|
11
|
-
name: string,
|
|
12
|
-
displayName: string,
|
|
13
|
-
getWidget?: (() => $Flowgen$Import$react.ComponentType<any>) | void,
|
|
14
|
-
accessible?: boolean | ((props: any) => boolean) | void,
|
|
15
|
-
hidden?: boolean | void,
|
|
16
|
-
version?: $Flowgen$Import$_2e__2f_types.Version | void,
|
|
17
|
-
supportedAlignments?: $ReadOnlyArray<$Flowgen$Import$_2e__2f_types.Alignment> | void,
|
|
18
|
-
defaultAlignment?: $Flowgen$Import$_2e__2f_types.Alignment | void,
|
|
19
|
-
getDefaultAlignment?:
|
|
20
|
-
| (() => $Flowgen$Import$_2e__2f_types.Alignment)
|
|
21
|
-
| void,
|
|
22
|
-
isLintable?: boolean | void,
|
|
23
|
-
tracking?: $Flowgen$Import$_2e__2f_types.Tracking | void,
|
|
24
|
-
traverseChildWidgets?: any,
|
|
25
|
-
transform?: $Flowgen$Import$_2e__2f_types.WidgetTransform | void,
|
|
26
|
-
staticTransform?: $Flowgen$Import$_2e__2f_types.WidgetTransform | void,
|
|
27
|
-
propUpgrades?: {
|
|
28
|
-
[key: string]: (arg1: any) => any,
|
|
29
|
-
} | void,
|
|
30
|
-
widget: $Flowgen$Import$react.ComponentType<any>,
|
|
31
|
-
|}>
|
|
32
|
-
>;
|
|
33
|
-
declare export default typeof _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
import type { APIOptions, LinterContextProps } from "./types";
|
|
9
|
-
declare type Props = {|
|
|
10
|
-
apiOptions: APIOptions,
|
|
11
|
-
className?: string,
|
|
12
|
-
hint: any,
|
|
13
|
-
lastHint?: boolean,
|
|
14
|
-
lastRendered?: boolean,
|
|
15
|
-
pos: number,
|
|
16
|
-
totalHints?: number,
|
|
17
|
-
findExternalWidgets?: any,
|
|
18
|
-
linterContext: LinterContextProps,
|
|
19
|
-
|};
|
|
20
|
-
declare type DefaultProps = {|
|
|
21
|
-
linterContext: $PropertyType<Props, "linterContext">,
|
|
22
|
-
|};
|
|
23
|
-
declare class HintRenderer extends React.Component<Props> {
|
|
24
|
-
static defaultProps: DefaultProps;
|
|
25
|
-
getSerializedState: () => void;
|
|
26
|
-
restoreSerializedState: (
|
|
27
|
-
arg1: any,
|
|
28
|
-
arg2: (...args: $ReadOnlyArray<any>) => mixed
|
|
29
|
-
) => void;
|
|
30
|
-
render(): React.Node;
|
|
31
|
-
}
|
|
32
|
-
declare export default typeof HintRenderer;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
import Renderer from "./renderer";
|
|
9
|
-
import type { APIOptionsWithDefaults } from "./types";
|
|
10
|
-
declare type Props = {|
|
|
11
|
-
...React.ElementConfig<typeof Renderer>,
|
|
12
|
-
...{|
|
|
13
|
-
className?: string,
|
|
14
|
-
hints: $ReadOnlyArray<any>,
|
|
15
|
-
hintsVisible?: number,
|
|
16
|
-
|},
|
|
17
|
-
|};
|
|
18
|
-
declare type DefaultProps = {|
|
|
19
|
-
linterContext: $PropertyType<Props, "linterContext">,
|
|
20
|
-
|};
|
|
21
|
-
declare type State = {|
|
|
22
|
-
isFinalHelpPage: boolean,
|
|
23
|
-
|};
|
|
24
|
-
declare class HintsRenderer extends React.Component<Props, State> {
|
|
25
|
-
static defaultProps: DefaultProps;
|
|
26
|
-
state: any;
|
|
27
|
-
componentDidMount(): void;
|
|
28
|
-
UNSAFE_componentWillReceiveProps(nextProps: Props): void;
|
|
29
|
-
componentDidUpdate(prevProps: Props, prevState: State): void;
|
|
30
|
-
_hintsVisible: () => number;
|
|
31
|
-
_cacheImagesInHint: (arg1: any) => void;
|
|
32
|
-
_cacheHintImages: () => any;
|
|
33
|
-
getApiOptions: () => APIOptionsWithDefaults;
|
|
34
|
-
getSerializedState: () => any;
|
|
35
|
-
restoreSerializedState: (
|
|
36
|
-
arg1: any,
|
|
37
|
-
arg2: (...args: $ReadOnlyArray<any>) => mixed
|
|
38
|
-
) => void;
|
|
39
|
-
render(): React.Node;
|
|
40
|
-
}
|
|
41
|
-
declare export default typeof HintsRenderer;
|
package/dist/icon-paths.js.flow
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Icon paths to be used with `inline-icon.jsx`.
|
|
9
|
-
*
|
|
10
|
-
* These paths are taken directly from webapp's `icon-paths.js`. Unlike the
|
|
11
|
-
* webapp equivalent, these can be directly required within Perseus files since
|
|
12
|
-
* this is all bundled together anyway.
|
|
13
|
-
*/
|
|
14
|
-
declare export var iconCheck: {|
|
|
15
|
-
+path: "M8.70710678,12.2928932 C8.31658249,11.9023689 7.68341751,11.9023689 7.29289322,12.2928932 C6.90236893,12.6834175 6.90236893,13.3165825 7.29289322,13.7071068 L9.82842712,16.2426407 C10.2207367,16.6349502 10.8574274,16.6328935 11.2471942,16.2380576 L16.7116603,10.7025237 C17.0996535,10.3094846 17.0955629,9.67633279 16.7025237,9.28833966 C16.3094846,8.90034653 15.6763328,8.90443714 15.2883397,9.29747629 L10.5309507,14.1167372 L8.70710678,12.2928932 Z",
|
|
16
|
-
+width: 24,
|
|
17
|
-
+height: 24,
|
|
18
|
-
|};
|
|
19
|
-
declare export var iconCheckMedium: {|
|
|
20
|
-
+path: "M6.072 10.4l6.175-7.058a1 1 0 1 1 1.506 1.317L6.769 12.64a1 1 0 0 1-1.55-.054L2.203 8.604a1 1 0 1 1 1.594-1.208L6.072 10.4z",
|
|
21
|
-
+width: 16,
|
|
22
|
-
+height: 16,
|
|
23
|
-
|};
|
|
24
|
-
declare export var iconChevronDown: {|
|
|
25
|
-
+path: "M99.669 13.048q0 3.36-2.352 5.712l-41.664 41.664q-2.408 2.408-5.88 2.408t-5.712-2.408l-41.664-41.664q-2.408-2.24-2.408-5.712t2.408-5.88l4.76-4.816q2.52-2.352 5.88-2.352t5.656 2.352l31.136 31.136 31.08-31.136q2.352-2.352 5.712-2.352t5.88 2.352l4.816 4.816q2.352 2.52 2.352 5.88z",
|
|
26
|
-
+width: 100,
|
|
27
|
-
+height: 63.034,
|
|
28
|
-
|};
|
|
29
|
-
declare export var iconChevronRight: {|
|
|
30
|
-
+path: "M62.808 49.728q0 3.36-2.352 5.88l-41.72 41.664q-2.352 2.408-5.768 2.408t-5.768-2.408l-4.872-4.76q-2.352-2.52-2.352-5.88t2.352-5.712l31.08-31.136-31.08-31.024q-2.352-2.52-2.352-5.88t2.352-5.712l4.872-4.76q2.296-2.408 5.768-2.408t5.768 2.408l41.72 41.664q2.352 2.296 2.352 5.656z",
|
|
31
|
-
+width: 63.034,
|
|
32
|
-
+height: 100,
|
|
33
|
-
|};
|
|
34
|
-
declare export var iconCircle: {|
|
|
35
|
-
+path: "M100.035 50.046q.057 13.623-6.669 25.137t-18.24 18.183-25.08 6.669-25.137-6.726q-11.514-6.726-18.183-18.183-6.726-11.571-6.726-25.137t6.726-25.08 18.24-18.24 25.08-6.669q13.566 0 25.08 6.726 11.514 6.669 18.24 18.183t6.669 25.137z",
|
|
36
|
-
+width: 100,
|
|
37
|
-
+height: 100,
|
|
38
|
-
|};
|
|
39
|
-
declare export var iconCircleArrowDown: {|
|
|
40
|
-
+path: "M50.046 83.676q1.767 0 2.907-1.14l29.526-29.526q1.197-1.197 1.197-2.907t-1.197-2.964l-5.928-5.928q-1.197-1.14-2.964-1.14t-2.907 1.14l-12.312 12.312l0-32.661q0-1.71-1.254-2.964t-2.907-1.254l-8.322 0q-1.71 0-2.964 1.254t-1.254 2.964l0 32.661l-12.312-12.312q-1.197-1.254-2.907-1.254t-2.907 1.254l-5.928 5.928q-1.197 1.197-1.197 2.964t1.197 2.907l29.469 29.526q1.197 1.14 2.964 1.14zm49.989-33.63q.057 13.623-6.669 25.137t-18.24 18.183-25.08 6.669-25.137-6.726q-11.514-6.726-18.183-18.183-6.726-11.571-6.726-25.137t6.726-25.08 18.24-18.24 25.08-6.669q13.566 0 25.08 6.726 11.514 6.669 18.24 18.183t6.669 25.137z",
|
|
41
|
-
+width: 100,
|
|
42
|
-
+height: 100,
|
|
43
|
-
|};
|
|
44
|
-
declare export var iconCircleArrowUp: {|
|
|
45
|
-
+path: "M54.207 83.391q1.653 0 2.907-1.254t1.254-2.907l0-32.718l12.312 12.312q1.254 1.254 2.964 1.254t2.907-1.254l5.928-5.928q1.197-1.197 1.14-2.964 0-1.767-1.14-2.907l-29.526-29.526q-1.197-1.14-2.907-1.14t-2.964 1.14l-29.469 29.526q-1.197 1.254-1.197 2.964t1.197 2.907l5.928 5.928q1.197 1.197 2.907 1.197t2.907-1.197l12.312-12.312l0 32.718q0 1.653 1.254 2.907t2.964 1.254l8.322 0zm45.828-33.345q.057 13.623-6.669 25.137t-18.24 18.183-25.08 6.669-25.137-6.726q-11.514-6.726-18.183-18.183-6.726-11.571-6.726-25.137t6.726-25.08 18.24-18.24 25.08-6.669q13.566 0 25.08 6.726 11.514 6.669 18.24 18.183t6.669 25.137z",
|
|
46
|
-
+width: 100,
|
|
47
|
-
+height: 100,
|
|
48
|
-
|};
|
|
49
|
-
declare export var iconCircleThin: {|
|
|
50
|
-
+path: "M50.046 8.322q-8.493 0-16.188 3.306-15.561 6.669-22.173 22.23-3.363 7.695-3.363 16.188t3.306 16.188 8.949 13.281q5.586 5.586 13.281 8.892t16.188 3.306 16.188-3.306 13.281-8.892 8.892-13.281 3.306-16.188-3.306-16.188-8.892-13.281-13.281-8.949q-7.695-3.306-16.188-3.306zm0 91.713q-13.623 0-25.137-6.726t-18.183-18.183q-6.726-11.571-6.726-25.137t6.726-25.08 18.24-18.24 25.08-6.669q13.566 0 25.08 6.726 11.514 6.669 18.24 18.183t6.726 25.137-6.726 25.137-18.24 18.126q-11.514 6.726-25.08 6.726z",
|
|
51
|
-
+width: 100,
|
|
52
|
-
+height: 99.944,
|
|
53
|
-
|};
|
|
54
|
-
declare export var iconDesktop: {|
|
|
55
|
-
+path: "M94.208 52.119l0-43.746q0-.69-.506-1.15t-1.196-.506l-84.088 0q-.69 0-1.196.506t-.506 1.15l0 43.746q0 .69.506 1.196t1.196.506l84.088 0q.69 0 1.196-.506t.506-1.196zm6.716-43.746l0 57.224q0 3.45-2.484 5.934t-5.934 2.484l-28.566 0q0 3.128 2.53 7.774.828 1.61.828 2.622t-1.012 2.07q-1.012 1.012-2.346.966l-26.91 0q-1.38 0-2.392-1.012t-1.012-2.024q0-1.058 1.656-4.14t1.748-6.256l-28.612 0q-3.45 0-5.934-2.484t-2.484-5.934l0-57.224q0-3.45 2.484-5.934t5.934-2.438l84.088 0q3.45 0 5.98 2.438 2.438 2.484 2.438 5.934z",
|
|
56
|
-
+width: 100,
|
|
57
|
-
+height: 86.648,
|
|
58
|
-
|};
|
|
59
|
-
declare export var iconDropdownArrow: {|
|
|
60
|
-
+path: "M9 9.8c0 .5.7 1.7 1.5 2.8 1.5 1.9 1.5 1.9 3 0C15.7 9.7 15.4 9 12 9c-1.6 0-3 .4-3 .8z",
|
|
61
|
-
+width: 24,
|
|
62
|
-
+height: 24,
|
|
63
|
-
|};
|
|
64
|
-
declare export var iconExclamationSign: {|
|
|
65
|
-
+path: "M58.368 81.225l0-12.369q0-.912-.57-1.539t-1.425-.627l-12.54 0q-.855-.057-1.482.627t-.684 1.539l0 12.369q-.057.855.627 1.482t1.539.684l12.54 0q.855 0 1.425-.627t.57-1.539zm1.026-62.871q0-1.596-2.223-1.71l-14.307 0q-2.109 0-2.223 1.71l1.14 40.47q0 .627.627 1.14t1.539.456l12.084 0q.912-.057 1.539-.513t.684-1.083zm-9.348-18.354q13.566 0 25.08 6.726 11.514 6.669 18.24 18.183t6.726 25.137-6.726 25.137-18.24 18.183-25.08 6.669-25.137-6.726q-11.514-6.726-18.183-18.183-6.726-11.571-6.726-25.137t6.726-25.08 18.24-18.24 25.08-6.669z",
|
|
66
|
-
+width: 100,
|
|
67
|
-
+height: 99.944,
|
|
68
|
-
|};
|
|
69
|
-
declare export var iconGear: {|
|
|
70
|
-
+path: "M1152 896q0-106-75-181t-181-75-181 75-75 181 75 181 181 75 181-75 75-181zm512-109v222q0 12-8 23t-20 13l-185 28q-19 54-39 91 35 50 107 138 10 12 10 25t-9 23q-27 37-99 108t-94 71q-12 0-26-9l-138-108q-44 23-91 38-16 136-29 186-7 28-36 28h-222q-14 0-24.5-8.5t-11.5-21.5l-28-184q-49-16-90-37l-141 107q-10 9-25 9-14 0-25-11-126-114-165-168-7-10-7-23 0-12 8-23 15-21 51-66.5t54-70.5q-27-50-41-99l-183-27q-13-2-21-12.5t-8-23.5v-222q0-12 8-23t19-13l186-28q14-46 39-92-40-57-107-138-10-12-10-24 0-10 9-23 26-36 98.5-107.5t94.5-71.5q13 0 26 10l138 107q44-23 91-38 16-136 29-186 7-28 36-28h222q14 0 24.5 8.5t11.5 21.5l28 184q49 16 90 37l142-107q9-9 24-9 13 0 25 10 129 119 165 170 7 8 7 22 0 12-8 23-15 21-51 66.5t-54 70.5q26 50 41 98l183 28q13 2 21 12.5t8 23.5z",
|
|
71
|
-
+width: 1792,
|
|
72
|
-
+height: 1792,
|
|
73
|
-
|};
|
|
74
|
-
declare export var iconMobilePhone: {|
|
|
75
|
-
+path: "M36.04 89.557q0-2.584-1.836-4.42t-4.42-1.836-4.352 1.836q-1.836 1.836-1.836 4.42t1.836 4.352 4.42 1.836q2.652-.068 4.42-1.836t1.768-4.352zm16.184-12.444l0-54.74q0-1.088-.748-1.768t-1.768-.68l-39.78 0q-1.088 0-1.768.748t-.68 1.7l0 54.74q0 1.02.748 1.768t1.7.68l39.78 0q1.02-.068 1.768-.748t.748-1.7zm-14.892-65.892q0-1.224-1.292-1.292l-12.444 0q-1.224.068-1.224 1.292t1.224 1.224l12.444 0q1.292 0 1.292-1.224zm22.372-1.292l0 79.628q0 3.944-2.992 6.936t-7.004 2.992l-39.78 0q-4.012 0-7.004-2.924-2.924-2.924-2.924-7.004l0-79.628q0-4.012 2.924-6.936t7.004-2.992l39.78 0q4.012-.068 7.004 2.924t2.992 7.004z",
|
|
76
|
-
+width: 60.013,
|
|
77
|
-
+height: 100,
|
|
78
|
-
|};
|
|
79
|
-
declare export var iconOk: {|
|
|
80
|
-
+path: "M37.964 76.048q-2.576 0-4.368-1.792l-31.864-31.864q-1.792-1.792-1.792-4.368t1.792-4.368l8.736-8.68q1.792-1.792 4.368-1.792t4.312 1.792l18.816 18.872 42-42.056q1.792-1.792 4.368-1.792t4.312 1.792l8.736 8.736q1.792 1.792 1.792 4.368t-1.792 4.312l-55.048 55.048q-1.792 1.792-4.368 1.792z",
|
|
81
|
-
+width: 100,
|
|
82
|
-
+height: 76.637,
|
|
83
|
-
|};
|
|
84
|
-
declare export var iconPlus: {|
|
|
85
|
-
+path: "M99.758 43.09l0 13.578q0 2.852-1.984 4.836t-4.836 1.984l-29.45 0l0 29.45q0 2.852-1.984 4.836t-4.836 1.984l-13.578 0q-2.852 0-4.836-1.984t-1.984-4.836l0-29.45l-29.45 0q-2.852 0-4.836-1.984t-1.984-4.836l0-13.578q0-2.852 1.984-4.836t4.836-1.984l29.45 0l0-29.45q0-2.852 1.984-4.836t4.836-1.984l13.578 0q2.852 0 4.836 1.984t1.984 4.836l0 29.45l29.45 0q2.852 0 4.836 1.984t1.984 4.836z",
|
|
86
|
-
+width: 100,
|
|
87
|
-
+height: 100,
|
|
88
|
-
|};
|
|
89
|
-
declare export var iconRemove: {|
|
|
90
|
-
+path: "M100.464 80.808q0 3.404-2.368 5.772l-11.47 11.544q-2.368 2.368-5.772 2.368t-5.698-2.368l-24.864-24.864-24.864 24.864q-2.368 2.368-5.772 2.368t-5.772-2.368l-11.47-11.544q-2.368-2.368-2.368-5.772t2.368-5.698l24.864-24.864-24.864-24.864q-2.368-2.368-2.368-5.772t2.368-5.772l11.47-11.47q2.368-2.368 5.772-2.368t5.772 2.368l24.864 24.864 24.864-24.864q2.294-2.368 5.698-2.368t5.772 2.368l11.47 11.47q2.368 2.368 2.368 5.772t-2.368 5.772l-24.864 24.864 24.864 24.864q2.368 2.294 2.368 5.698z",
|
|
91
|
-
+width: 100,
|
|
92
|
-
+height: 100,
|
|
93
|
-
|};
|
|
94
|
-
declare export var iconStar: {|
|
|
95
|
-
+path: "M15.1052249,9.55978547 L22.0028147,9.55978545 C23.6568673,9.55978545 23.9349557,10.3753626 22.6181351,11.3858845 L16.9943688,15.7015366 L19.2518801,22.8294455 C19.7526645,24.4106317 19.0984455,24.8825885 17.769353,23.8673293 L12.0490577,19.4977438 L6.5116497,23.8422153 C5.20921411,24.8640642 4.53299569,24.4067544 5.00266927,22.8160582 L7.10332364,15.7015366 L1.42794544,11.3634306 C0.110226041,10.3562014 0.383967283,9.54239221 2.0409646,9.54574013 L8.9924676,9.55978547 L11.1485117,2.72669438 C11.6458693,1.15043244 12.4548928,1.15900049 12.9494787,2.72669438 L15.1052249,9.55978547 Z",
|
|
96
|
-
+width: 24,
|
|
97
|
-
+height: 24,
|
|
98
|
-
|};
|
|
99
|
-
declare export var iconTryAgain: {|
|
|
100
|
-
+path: "M3.74890556,17.9799506 C2.19251241,16.1970909 1.10103636,13.4971457 1.13090903,11.1491783 C1.17160478,7.95052637 4.01704076,0.865059407 11.7028044,0.865059407 C19.388568,0.865059407 22.3026521,7.35203035 22.3026521,11.5879453 C22.3026521,15.8238603 19.386629,20.5574509 13.6832464,21.7131548 L13.6757539,17.3722171 C17.0812986,16.2190517 18.331158,14.1944123 18.3311578,11.5879451 C18.3311574,8.16554692 15.6664205,5.03476549 11.7028048,5.20494205 C7.73918903,5.37511861 5.59244567,8.66930079 5.59244567,11.1491783 C5.59244567,12.9090077 6.11128139,14.1753512 6.93640437,15.3053215 L8.14052356,14.2949456 C8.98559348,13.5858477 9.6994861,13.9070448 9.73489556,15.0076413 L9.91284941,20.5388014 C9.94832683,21.6415103 9.09967118,22.3514475 8.02194403,22.1254594 L2.60571602,20.9897332 C1.5259204,20.7633114 1.34338662,19.9984207 2.18070755,19.295825 L3.74890556,17.9799506 Z",
|
|
101
|
-
+width: 23,
|
|
102
|
-
+height: 23,
|
|
103
|
-
|};
|
|
104
|
-
declare export var iconTablet: {|
|
|
105
|
-
+path: "M45.322 90.706q0-1.86-1.302-3.224-1.364-1.364-3.224-1.364t-3.224 1.364-1.302 3.224q0 1.86 1.364 3.224 1.302 1.364 3.162 1.302 1.86.062 3.224-1.302t1.302-3.224zm27.218-11.346l0-68.014q0-.93-.682-1.612t-1.55-.682l-58.962 0q-.93 0-1.612.682t-.682 1.612l0 68.014q0 .93.682 1.612t1.612.62l58.962 0q.992-.062 1.612-.682t.62-1.55zm9.114-68.014l0 77.066q0 4.65-3.348 7.998t-7.998 3.348l-58.962 0q-4.65 0-7.998-3.348t-3.348-7.998l0-77.066q0-4.65 3.348-7.998t7.998-3.348l58.962 0q4.65 0 7.998 3.348t3.348 7.998z",
|
|
106
|
-
+width: 81.852,
|
|
107
|
-
+height: 100,
|
|
108
|
-
|};
|
|
109
|
-
declare export var iconTrash: {|
|
|
110
|
-
+path: "M31.293 37.506q2.052 0 2.052 2.109l0 37.506q0 1.995-2.052 2.109l-4.218 0q-.912-.057-1.482-.627t-.57-1.482l0-37.506q0-2.109 2.052-2.109l4.218 0zm18.753 2.109l0 37.506q0 .912-.57 1.482t-1.539.627l-4.161 0q-1.995 0-2.109-2.109l0-37.506q.057-.912.627-1.482t1.482-.627l4.161 0q.969.057 1.539.627t.57 1.482zm14.592-2.109q2.052 0 2.052 2.109l0 37.506q0 1.995-2.052 2.109l-4.161 0q-.969-.057-1.539-.627t-.57-1.482l0-37.506q0-2.109 2.109-2.109l4.161 0zm10.431 49.248l0-61.731l-58.368 0l0 61.731q.057 2.679.969 3.819t1.083 1.14l54.207 0q.171 0 1.14-1.083t.969-3.876zm-43.776-70.11l29.184 0l-3.135-7.581q-.456-.57-1.14-.741l-20.634 0q-.627.114-1.083.741zm-31.293 2.109q0-1.995 2.109-2.109l20.121 0l4.56-10.83q.969-2.394 3.477-4.104 2.565-1.71 5.187-1.71l20.805 0q2.622 0 5.187 1.71t3.477 4.104l4.56 10.83l20.178 0q.912.057 1.482.627t.57 1.482l0 4.161q0 1.995-2.052 2.109l-6.27 0l0 61.731q0 5.415-3.078 9.348t-7.353 3.933l-54.207 0q-4.275 0-7.353-3.819t-3.078-9.177l0-62.016l-6.213 0q-.969 0-1.539-.57t-.57-1.539l0-4.161z",
|
|
111
|
-
+width: 91.681,
|
|
112
|
-
+height: 100,
|
|
113
|
-
|};
|
|
114
|
-
declare export var iconUndo: {|
|
|
115
|
-
+path: "M10,6.6C10,7.2,9.8,8,9.3,9.1c0,0,0,0.1-0.1,0.1S9.2,9.3,9.2,9.4c0,0,0,0.1-0.1,0.1C9,9.6,9,9.6,8.9,9.6 c-0.1,0-0.1,0-0.1-0.1c0,0,0-0.1,0-0.1c0,0,0-0.1,0-0.1s0-0.1,0-0.1c0-0.3,0-0.5,0-0.7c0-0.4,0-0.7-0.1-1C8.6,7.1,8.5,6.9,8.4,6.7S8.2,6.3,8,6.1C7.8,5.9,7.6,5.8,7.4,5.7S6.9,5.5,6.7,5.5S6.1,5.4,5.8,5.4c-0.3,0-0.6,0-1,0H3.6v1.4c0,0.1,0,0.2-0.1,0.3C3.4,7.1,3.3,7.1,3.2,7.1C3.1,7.1,3,7.1,3,7L0.1,4.1C0,4.1,0,4,0,3.9s0-0.2,0.1-0.3L3,0.8C3,0.7,3.1,0.7,3.2,0.7c0.1,0,0.2,0,0.3,0.1C3.5,0.9,3.6,0.9,3.6,1v1.4h1.2c2.6,0,4.3,0.7,4.9,2.2C9.9,5.2,10,5.8,10,6.6z",
|
|
116
|
-
+width: 10,
|
|
117
|
-
+height: 10,
|
|
118
|
-
|};
|
|
119
|
-
declare export var iconMinus: {|
|
|
120
|
-
+path: "M8,13 L16,13 C16.5522847,13 17,12.5522847 17,12 C17,11.4477153 16.5522847,11 16,11 L8,11 C7.44771525,11 7,11.4477153 7,12 C7,12.5522847 7.44771525,13 8,13 Z",
|
|
121
|
-
+width: 24,
|
|
122
|
-
+height: 24,
|
|
123
|
-
|};
|
package/dist/index.js.flow
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
declare export { default as init } from "./init";
|
|
8
|
-
declare export { ApiOptions, ClassNames } from "./perseus-api";
|
|
9
|
-
declare export var apiVersion: {|
|
|
10
|
-
major: number,
|
|
11
|
-
minor: number,
|
|
12
|
-
|};
|
|
13
|
-
declare export var itemDataVersion: {|
|
|
14
|
-
major: number,
|
|
15
|
-
minor: number,
|
|
16
|
-
|};
|
|
17
|
-
declare export { default as itemVersion } from "./item-version";
|
|
18
|
-
declare export { default as ArticleRenderer } from "./article-renderer";
|
|
19
|
-
declare export { default as ItemRenderer } from "./item-renderer";
|
|
20
|
-
declare export { default as ServerItemRenderer } from "./server-item-renderer";
|
|
21
|
-
declare export { default as HintsRenderer } from "./hints-renderer";
|
|
22
|
-
declare export { default as HintRenderer } from "./hint-renderer";
|
|
23
|
-
declare export { default as Renderer } from "./renderer";
|
|
24
|
-
declare export * as Widgets from "./widgets";
|
|
25
|
-
declare export { default as widgets } from "./all-widgets";
|
|
26
|
-
declare export { Expression } from "./widgets/expression";
|
|
27
|
-
declare export { default as InputNumber } from "./widgets/input-number";
|
|
28
|
-
declare export { default as NumericInput } from "./widgets/numeric-input";
|
|
29
|
-
declare export { default as Radio } from "./widgets/radio";
|
|
30
|
-
declare export { default as BaseRadio } from "./widgets/radio/base-radio";
|
|
31
|
-
declare export { default as Categorizer } from "./widgets/categorizer";
|
|
32
|
-
declare export { default as InteractiveGraphWidget } from "./widgets/interactive-graph";
|
|
33
|
-
declare export { default as TransformerWidget } from "./widgets/transformer";
|
|
34
|
-
declare export { default as MatrixWidget } from "./widgets/matrix";
|
|
35
|
-
declare export { default as TableWidget } from "./widgets/table";
|
|
36
|
-
declare export { default as PlotterWidget } from "./widgets/plotter";
|
|
37
|
-
declare export { default as GrapherWidget } from "./widgets/grapher";
|
|
38
|
-
declare export { default as ArrowPicker } from "./widgets/interaction/arrow-picker";
|
|
39
|
-
declare export { default as ColorPicker } from "./widgets/interaction/color-picker";
|
|
40
|
-
declare export { default as DashPicker } from "./widgets/interaction/dash-picker";
|
|
41
|
-
declare export { default as ElementContainer } from "./widgets/interaction/element-container";
|
|
42
|
-
declare export * as GrapherUtil from "./widgets/grapher/util";
|
|
43
|
-
declare export * as components from "./components";
|
|
44
|
-
declare export * as constants from "./components/constants";
|
|
45
|
-
declare export * as globalStyles from "./styles/global-styles";
|
|
46
|
-
declare export * as globalConstants from "./styles/global-constants";
|
|
47
|
-
declare export * as icons from "./icon-paths";
|
|
48
|
-
declare export * as Dependencies from "./dependencies";
|
|
49
|
-
declare export { Errors, Log } from "./logging/log";
|
|
50
|
-
declare export { PerseusError } from "./perseus-error";
|
|
51
|
-
declare export { default as JiptParagraphs } from "./jipt-paragraphs";
|
|
52
|
-
declare export { default as KhanMath } from "./util/math";
|
|
53
|
-
declare export { default as LoadingContext } from "./loading-context";
|
|
54
|
-
declare export { default as mediaQueries } from "./styles/media-queries";
|
|
55
|
-
declare export { default as PerseusMarkdown } from "./perseus-markdown";
|
|
56
|
-
declare export { PerseusExpressionAnswerFormConsidered } from "./perseus-types";
|
|
57
|
-
declare export { traverse } from "./traversal";
|
|
58
|
-
declare export { isItemRenderableByVersion } from "./renderability";
|
|
59
|
-
declare export { violatingWidgets } from "./a11y";
|
|
60
|
-
declare export { interactiveSizes } from "./styles/constants";
|
|
61
|
-
declare export { displaySigFigs } from "./sigfigs";
|
|
62
|
-
declare export { default as Util } from "./util";
|
|
63
|
-
declare export { default as KhanColors } from "./util/colors";
|
|
64
|
-
declare export { default as preprocessTex } from "./util/katex-preprocess";
|
|
65
|
-
declare export { registerAllWidgetsForTesting } from "./util/register-all-widgets-for-testing";
|
|
66
|
-
declare export * as SizingUtils from "./util/sizing-utils";
|
|
67
|
-
declare export * as Changeable from "./mixins/changeable";
|
|
68
|
-
declare export { default as EditorJsonify } from "./mixins/editor-jsonify";
|
|
69
|
-
declare export { default as WidgetJsonifyDeprecated } from "./mixins/widget-jsonify-deprecated";
|
|
70
|
-
declare export { default as WIDGET_PROP_DENYLIST } from "./mixins/widget-prop-denylist";
|
|
71
|
-
export type { PerseusOptions } from "./init";
|
|
72
|
-
export type { ILogger, LogErrorOptions, ErrorKind } from "./logging/log";
|
|
73
|
-
export type { ServerItemRenderer as ServerItemRendererComponent } from "./server-item-renderer";
|
|
74
|
-
export type {
|
|
75
|
-
Alignment,
|
|
76
|
-
APIOptions,
|
|
77
|
-
APIOptionsWithDefaults,
|
|
78
|
-
ChangeHandler,
|
|
79
|
-
DeviceType,
|
|
80
|
-
DomInsertCheckFn,
|
|
81
|
-
EditorMode,
|
|
82
|
-
FocusPath,
|
|
83
|
-
Hint,
|
|
84
|
-
ImageDict,
|
|
85
|
-
ImageUploader,
|
|
86
|
-
JiptLabelStore,
|
|
87
|
-
JiptRenderer,
|
|
88
|
-
LinterContextProps,
|
|
89
|
-
PerseusDependencies,
|
|
90
|
-
PerseusScore,
|
|
91
|
-
Version,
|
|
92
|
-
VideoData,
|
|
93
|
-
VideoKind,
|
|
94
|
-
WidgetDict,
|
|
95
|
-
WidgetExports,
|
|
96
|
-
WidgetInfo,
|
|
97
|
-
} from "./types";
|
|
98
|
-
export type { ParsedValue } from "./util";
|
|
99
|
-
export type {
|
|
100
|
-
MathFormat,
|
|
101
|
-
InputNumberWidget,
|
|
102
|
-
PerseusImageBackground,
|
|
103
|
-
PerseusInteractiveGraphWidgetOptions,
|
|
104
|
-
PerseusRadioWidgetOptions,
|
|
105
|
-
PerseusExpressionWidgetOptions,
|
|
106
|
-
PerseusRenderer,
|
|
107
|
-
} from "./perseus-types";
|
|
108
|
-
export type { Coord } from "./interactive2/types";
|
|
109
|
-
export type { MarkerType } from "./widgets/label-image/types";
|
|
110
|
-
declare export { default as MultiItems } from "./multi-items";
|
|
111
|
-
declare export {
|
|
112
|
-
buildEmptyItemTreeForShape,
|
|
113
|
-
itemToTree,
|
|
114
|
-
} from "./multi-items/items";
|
|
115
|
-
declare export { default as shapes } from "./multi-items/shapes";
|
|
116
|
-
declare export { buildMapper } from "./multi-items/trees";
|
|
117
|
-
export type {
|
|
118
|
-
ContentNode,
|
|
119
|
-
HintNode,
|
|
120
|
-
Item,
|
|
121
|
-
ItemTree,
|
|
122
|
-
ItemObjectNode,
|
|
123
|
-
ItemArrayNode,
|
|
124
|
-
TagsNode,
|
|
125
|
-
} from "./multi-items/item-types";
|
|
126
|
-
export type {
|
|
127
|
-
Shape,
|
|
128
|
-
ArrayShape,
|
|
129
|
-
ObjectShape,
|
|
130
|
-
ContentShape,
|
|
131
|
-
HintShape,
|
|
132
|
-
TagsShape,
|
|
133
|
-
} from "./multi-items/shape-types";
|
|
134
|
-
export type { Path } from "./multi-items/trees";
|
package/dist/init.js.flow
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
export type PerseusOptions = {|
|
|
8
|
-
skipMathJax: boolean,
|
|
9
|
-
|};
|
|
10
|
-
/**
|
|
11
|
-
* This should be called by all clients, specifying whether extra widgets are
|
|
12
|
-
* needed via `loadExtraWidgets`. It is idempotent, so it's not a problem to
|
|
13
|
-
* call it multiple times.
|
|
14
|
-
*
|
|
15
|
-
* skipMathJax:
|
|
16
|
-
* If false/undefined, MathJax will be configured, and the
|
|
17
|
-
* promise will wait for MathJax to load (if it hasn't already).
|
|
18
|
-
*/
|
|
19
|
-
declare var init: (options: PerseusOptions) => Promise<void>;
|
|
20
|
-
declare export default typeof init;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
import type { APIOptions, Tracking } from "./types";
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Wrapper for the trackInteraction apiOption.
|
|
11
|
-
*/
|
|
12
|
-
declare class InteractionTracker {
|
|
13
|
-
_tracked: boolean;
|
|
14
|
-
setting: Tracking;
|
|
15
|
-
track: (extraData?: any) => void;
|
|
16
|
-
trackApi: any;
|
|
17
|
-
widgetID: string;
|
|
18
|
-
widgetType: string;
|
|
19
|
-
constructor(
|
|
20
|
-
trackApi: $PropertyType<APIOptions, "trackInteraction">,
|
|
21
|
-
widgetType: string,
|
|
22
|
-
widgetID: string,
|
|
23
|
-
setting: Tracking
|
|
24
|
-
): this;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Function that actually calls the API to mark the interaction. This is
|
|
28
|
-
* private. The public version is just `.track` and is bound to this object
|
|
29
|
-
* for easy use in other context.
|
|
30
|
-
* @param extraData Any extra data to track about the event.
|
|
31
|
-
* @private
|
|
32
|
-
*/
|
|
33
|
-
_track: (extraData: { [key: string]: any }) => void;
|
|
34
|
-
}
|
|
35
|
-
declare export default typeof InteractionTracker;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Utility functions for writing Interactive2 movablethings
|
|
9
|
-
*/
|
|
10
|
-
declare var InteractiveUtil: {|
|
|
11
|
-
+assert: (isTrue: boolean, message?: string) => void,
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Create getters for this.state, based on the default state, `defaults`
|
|
15
|
-
*/
|
|
16
|
-
+createGettersFor: (Class: any, defaults: { [key: any]: any }) => void,
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Add MovableHelperMethods methods to a MovableThing class
|
|
20
|
-
*/
|
|
21
|
-
+addMovableHelperMethodsTo: (Class: any) => void,
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Turn a function or an array of functions into an array of functions
|
|
25
|
-
*/
|
|
26
|
-
+arrayify: (
|
|
27
|
-
funcOrArray:
|
|
28
|
-
| $ReadOnlyArray<mixed>
|
|
29
|
-
| ((...args: $ReadOnlyArray<mixed>) => mixed)
|
|
30
|
-
) => $ReadOnlyArray<mixed>,
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Convert all function-or-array arguments to arrays of functions
|
|
34
|
-
*/
|
|
35
|
-
+normalizeOptions: (
|
|
36
|
-
arrayOptionNames: $ReadOnlyArray<string>,
|
|
37
|
-
options: { [key: any]: any }
|
|
38
|
-
) => { [key: any]: any },
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Get the correct vendor-prefixed `transform`.
|
|
42
|
-
*/
|
|
43
|
-
+getPrefixedTransform: () => string | null | void,
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* Get whether the browser can use 3d transforms.
|
|
47
|
-
*/
|
|
48
|
-
+getCanUse3dTransform: () => boolean,
|
|
49
|
-
|};
|
|
50
|
-
declare export default typeof InteractiveUtil;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* MovableThing convenience methods
|
|
9
|
-
*
|
|
10
|
-
* Usually added to a Movable* class through
|
|
11
|
-
* InteractiveUtils.addMovableHelperMethodsTo(), but these implementations
|
|
12
|
-
* are simply for convenience.
|
|
13
|
-
*/
|
|
14
|
-
declare var MovableHelperMethods: any;
|
|
15
|
-
declare export default typeof MovableHelperMethods;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
import type { Coord } from "./types";
|
|
8
|
-
declare var _default: {|
|
|
9
|
-
add: {|
|
|
10
|
-
+draw: () => void,
|
|
11
|
-
+pointsToFront: (state: any) => void,
|
|
12
|
-
|},
|
|
13
|
-
modify: {|
|
|
14
|
-
+draw: () => void,
|
|
15
|
-
|},
|
|
16
|
-
draw: {|
|
|
17
|
-
+basic: (state: any) => void,
|
|
18
|
-
+arrows: (state: any) => void,
|
|
19
|
-
+highlight: (state: any, prevState: any) => void,
|
|
20
|
-
|},
|
|
21
|
-
remove: {|
|
|
22
|
-
+basic: () => void,
|
|
23
|
-
+arrows: () => void,
|
|
24
|
-
|},
|
|
25
|
-
onMoveStart: {|
|
|
26
|
-
standard: null,
|
|
27
|
-
|},
|
|
28
|
-
constraints: {|
|
|
29
|
-
+fixed: () => () => boolean,
|
|
30
|
-
+snap: (snap: any) => (arg1: Coord, arg2: Coord) => any,
|
|
31
|
-
+bound: (
|
|
32
|
-
range: any,
|
|
33
|
-
snap: any,
|
|
34
|
-
paddingPx: number
|
|
35
|
-
) => (arg1: any, arg2: any) => any,
|
|
36
|
-
|},
|
|
37
|
-
onMove: {|
|
|
38
|
-
+updatePoints: (coord: Coord, prevCoord: Coord) => void,
|
|
39
|
-
|},
|
|
40
|
-
onMoveEnd: {|
|
|
41
|
-
standard: null,
|
|
42
|
-
|},
|
|
43
|
-
|};
|
|
44
|
-
declare export default typeof _default;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for data
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
import type { Coord } from "./types";
|
|
8
|
-
declare var _default: {|
|
|
9
|
-
add: {|
|
|
10
|
-
+constrain: () => void,
|
|
11
|
-
|},
|
|
12
|
-
modify: {|
|
|
13
|
-
+draw: () => void,
|
|
14
|
-
|},
|
|
15
|
-
draw: {|
|
|
16
|
-
+basic: (state: any, prevState: any) => void,
|
|
17
|
-
+highlight: (state: any, prevState: any) => void,
|
|
18
|
-
|},
|
|
19
|
-
remove: {|
|
|
20
|
-
+basic: () => void,
|
|
21
|
-
|},
|
|
22
|
-
onMoveStart: {|
|
|
23
|
-
standard: null,
|
|
24
|
-
|},
|
|
25
|
-
constraints: {|
|
|
26
|
-
+fixed: () => () => boolean,
|
|
27
|
-
+snap: (snap: any) => (arg1: Coord) => mixed,
|
|
28
|
-
+bound: (
|
|
29
|
-
range: any,
|
|
30
|
-
snap: any,
|
|
31
|
-
paddingPx: number
|
|
32
|
-
) => (arg1: Coord, arg2: Coord, arg3: any) => Coord,
|
|
33
|
-
|},
|
|
34
|
-
onMove: {|
|
|
35
|
-
standard: null,
|
|
36
|
-
|},
|
|
37
|
-
onMoveEnd: {|
|
|
38
|
-
standard: null,
|
|
39
|
-
|},
|
|
40
|
-
onClick: {|
|
|
41
|
-
standard: null,
|
|
42
|
-
|},
|
|
43
|
-
|};
|
|
44
|
-
declare export default typeof _default;
|