@pie-lib/graphing 4.0.5-next.30 → 4.0.5-next.34
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.json +1 -0
- package/CHANGELOG.md +1469 -0
- package/LICENSE.md +5 -0
- package/lib/axis/arrow.js +79 -0
- package/lib/axis/arrow.js.map +1 -0
- package/lib/axis/axes.js +329 -0
- package/lib/axis/axes.js.map +1 -0
- package/lib/axis/index.js +21 -0
- package/lib/axis/index.js.map +1 -0
- package/lib/bg.js +114 -0
- package/lib/bg.js.map +1 -0
- package/lib/container/actions.js +18 -0
- package/lib/container/actions.js.map +1 -0
- package/lib/container/index.js +127 -0
- package/lib/container/index.js.map +1 -0
- package/lib/container/marks.js +22 -0
- package/lib/container/marks.js.map +1 -0
- package/lib/container/middleware.js +19 -0
- package/lib/container/middleware.js.map +1 -0
- package/lib/container/reducer.js +18 -0
- package/lib/container/reducer.js.map +1 -0
- package/lib/coordinates-label.js +79 -0
- package/lib/coordinates-label.js.map +1 -0
- package/lib/graph-with-controls.js +294 -0
- package/lib/graph-with-controls.js.map +1 -0
- package/lib/graph.js +327 -0
- package/lib/graph.js.map +1 -0
- package/lib/grid-setup.js +414 -0
- package/lib/grid-setup.js.map +1 -0
- package/lib/grid.js +131 -0
- package/lib/grid.js.map +1 -0
- package/lib/index.js +47 -0
- package/lib/index.js.map +1 -0
- package/lib/key-legend.js +201 -0
- package/lib/key-legend.js.map +1 -0
- package/lib/label-svg-icon.js +50 -0
- package/lib/label-svg-icon.js.map +1 -0
- package/lib/labels.js +243 -0
- package/lib/labels.js.map +1 -0
- package/lib/mark-label.js +285 -0
- package/lib/mark-label.js.map +1 -0
- package/lib/toggle-bar.js +252 -0
- package/lib/toggle-bar.js.map +1 -0
- package/lib/tool-menu.js +78 -0
- package/lib/tool-menu.js.map +1 -0
- package/lib/tools/absolute/component.js +29 -0
- package/lib/tools/absolute/component.js.map +1 -0
- package/lib/tools/absolute/index.js +50 -0
- package/lib/tools/absolute/index.js.map +1 -0
- package/lib/tools/circle/bg-circle.js +123 -0
- package/lib/tools/circle/bg-circle.js.map +1 -0
- package/lib/tools/circle/component.js +321 -0
- package/lib/tools/circle/component.js.map +1 -0
- package/lib/tools/circle/index.js +41 -0
- package/lib/tools/circle/index.js.map +1 -0
- package/lib/tools/exponential/component.js +28 -0
- package/lib/tools/exponential/component.js.map +1 -0
- package/lib/tools/exponential/index.js +56 -0
- package/lib/tools/exponential/index.js.map +1 -0
- package/lib/tools/index.js +86 -0
- package/lib/tools/index.js.map +1 -0
- package/lib/tools/line/component.js +97 -0
- package/lib/tools/line/component.js.map +1 -0
- package/lib/tools/line/index.js +11 -0
- package/lib/tools/line/index.js.map +1 -0
- package/lib/tools/parabola/component.js +28 -0
- package/lib/tools/parabola/component.js.map +1 -0
- package/lib/tools/parabola/index.js +50 -0
- package/lib/tools/parabola/index.js.map +1 -0
- package/lib/tools/point/component.js +148 -0
- package/lib/tools/point/component.js.map +1 -0
- package/lib/tools/point/index.js +24 -0
- package/lib/tools/point/index.js.map +1 -0
- package/lib/tools/polygon/component.js +437 -0
- package/lib/tools/polygon/component.js.map +1 -0
- package/lib/tools/polygon/index.js +89 -0
- package/lib/tools/polygon/index.js.map +1 -0
- package/lib/tools/polygon/line.js +112 -0
- package/lib/tools/polygon/line.js.map +1 -0
- package/lib/tools/polygon/polygon.js +130 -0
- package/lib/tools/polygon/polygon.js.map +1 -0
- package/lib/tools/ray/component.js +95 -0
- package/lib/tools/ray/component.js.map +1 -0
- package/lib/tools/ray/index.js +11 -0
- package/lib/tools/ray/index.js.map +1 -0
- package/lib/tools/segment/component.js +71 -0
- package/lib/tools/segment/component.js.map +1 -0
- package/lib/tools/segment/index.js +11 -0
- package/lib/tools/segment/index.js.map +1 -0
- package/lib/tools/shared/arrow-head.js +111 -0
- package/lib/tools/shared/arrow-head.js.map +1 -0
- package/lib/tools/shared/icons/CorrectSVG.js +40 -0
- package/lib/tools/shared/icons/CorrectSVG.js.map +1 -0
- package/lib/tools/shared/icons/IncorrectSVG.js +40 -0
- package/lib/tools/shared/icons/IncorrectSVG.js.map +1 -0
- package/lib/tools/shared/icons/MissingSVG.js +39 -0
- package/lib/tools/shared/icons/MissingSVG.js.map +1 -0
- package/lib/tools/shared/line/index.js +550 -0
- package/lib/tools/shared/line/index.js.map +1 -0
- package/lib/tools/shared/line/line-path.js +118 -0
- package/lib/tools/shared/line/line-path.js.map +1 -0
- package/lib/tools/shared/line/with-root-edge.js +121 -0
- package/lib/tools/shared/line/with-root-edge.js.map +1 -0
- package/lib/tools/shared/point/arrow-point.js +72 -0
- package/lib/tools/shared/point/arrow-point.js.map +1 -0
- package/lib/tools/shared/point/arrow.js +67 -0
- package/lib/tools/shared/point/arrow.js.map +1 -0
- package/lib/tools/shared/point/base-point.js +157 -0
- package/lib/tools/shared/point/base-point.js.map +1 -0
- package/lib/tools/shared/point/index.js +68 -0
- package/lib/tools/shared/point/index.js.map +1 -0
- package/lib/tools/shared/styles.js +33 -0
- package/lib/tools/shared/styles.js.map +1 -0
- package/lib/tools/shared/types.js +16 -0
- package/lib/tools/shared/types.js.map +1 -0
- package/lib/tools/sine/component.js +40 -0
- package/lib/tools/sine/component.js.map +1 -0
- package/lib/tools/sine/index.js +50 -0
- package/lib/tools/sine/index.js.map +1 -0
- package/lib/tools/vector/component.js +68 -0
- package/lib/tools/vector/component.js.map +1 -0
- package/lib/tools/vector/index.js +11 -0
- package/lib/tools/vector/index.js.map +1 -0
- package/lib/undo-redo.js +86 -0
- package/lib/undo-redo.js.map +1 -0
- package/lib/use-debounce.js +25 -0
- package/lib/use-debounce.js.map +1 -0
- package/lib/utils.js +229 -0
- package/lib/utils.js.map +1 -0
- package/package.json +33 -45
- package/src/__tests__/bg.test.jsx +250 -0
- package/src/__tests__/coordinates-label.test.jsx +243 -0
- package/src/__tests__/graph-with-controls.test.jsx +198 -0
- package/src/__tests__/graph.test.jsx +721 -0
- package/src/__tests__/grid-setup.test.jsx +645 -0
- package/src/__tests__/grid.test.jsx +22 -0
- package/src/__tests__/key-legend.test.jsx +260 -0
- package/src/__tests__/label-svg-icon.test.jsx +278 -0
- package/src/__tests__/labels.test.jsx +55 -0
- package/src/__tests__/mark-label.test.jsx +63 -0
- package/src/__tests__/toggle-bar.test.jsx +146 -0
- package/src/__tests__/tool-menu.test.jsx +115 -0
- package/src/__tests__/undo-redo.test.jsx +24 -0
- package/src/__tests__/use-debounce.test.js +21 -0
- package/src/__tests__/utils.js +41 -0
- package/src/__tests__/utils.test.js +105 -0
- package/src/axis/__tests__/arrow.test.jsx +38 -0
- package/src/axis/__tests__/axes.test.jsx +216 -0
- package/src/axis/arrow.jsx +57 -0
- package/src/axis/axes.jsx +285 -0
- package/src/axis/index.js +3 -0
- package/src/bg.jsx +96 -0
- package/src/container/__tests__/actions.test.js +105 -0
- package/src/container/__tests__/index.test.jsx +319 -0
- package/src/container/__tests__/marks.test.js +172 -0
- package/src/container/__tests__/middleware.test.js +235 -0
- package/src/container/__tests__/reducer.test.js +324 -0
- package/src/container/actions.js +8 -0
- package/src/container/index.jsx +91 -0
- package/src/container/marks.js +14 -0
- package/src/container/middleware.js +7 -0
- package/src/container/reducer.js +5 -0
- package/src/coordinates-label.jsx +63 -0
- package/src/graph-with-controls.jsx +239 -0
- package/src/graph.jsx +303 -0
- package/src/grid-setup.jsx +432 -0
- package/src/grid.jsx +133 -0
- package/src/index.js +7 -0
- package/src/key-legend.jsx +142 -0
- package/src/label-svg-icon.jsx +39 -0
- package/src/labels.jsx +207 -0
- package/src/mark-label.jsx +244 -0
- package/src/toggle-bar.jsx +224 -0
- package/src/tool-menu.jsx +49 -0
- package/src/tools/absolute/__tests__/component.test.jsx +53 -0
- package/src/tools/absolute/component.jsx +23 -0
- package/src/tools/absolute/index.js +31 -0
- package/src/tools/circle/__tests__/bg-circle.test.jsx +26 -0
- package/src/tools/circle/__tests__/component.test.jsx +494 -0
- package/src/tools/circle/__tests__/index.test.js +480 -0
- package/src/tools/circle/bg-circle.jsx +81 -0
- package/src/tools/circle/component.jsx +264 -0
- package/src/tools/circle/index.js +25 -0
- package/src/tools/exponential/__tests__/component.test.jsx +53 -0
- package/src/tools/exponential/__tests__/index.test.js +729 -0
- package/src/tools/exponential/component.jsx +23 -0
- package/src/tools/exponential/index.js +39 -0
- package/src/tools/index.js +48 -0
- package/src/tools/line/__tests__/component.test.jsx +37 -0
- package/src/tools/line/component.jsx +93 -0
- package/src/tools/line/index.js +4 -0
- package/src/tools/parabola/__tests__/component.test.jsx +48 -0
- package/src/tools/parabola/__tests__/index.test.js +470 -0
- package/src/tools/parabola/component.jsx +23 -0
- package/src/tools/parabola/index.js +31 -0
- package/src/tools/point/__tests__/component.test.jsx +349 -0
- package/src/tools/point/__tests__/index.test.js +241 -0
- package/src/tools/point/component.jsx +126 -0
- package/src/tools/point/index.js +11 -0
- package/src/tools/polygon/__tests__/component.test.jsx +471 -0
- package/src/tools/polygon/__tests__/index.test.js +294 -0
- package/src/tools/polygon/__tests__/line.test.jsx +35 -0
- package/src/tools/polygon/__tests__/polygon.test.jsx +61 -0
- package/src/tools/polygon/component.jsx +409 -0
- package/src/tools/polygon/index.js +52 -0
- package/src/tools/polygon/line.jsx +74 -0
- package/src/tools/polygon/polygon.jsx +110 -0
- package/src/tools/ray/__tests__/component.test.jsx +29 -0
- package/src/tools/ray/component.jsx +92 -0
- package/src/tools/ray/index.js +4 -0
- package/src/tools/segment/__tests__/component.test.jsx +28 -0
- package/src/tools/segment/component.jsx +65 -0
- package/src/tools/segment/index.js +4 -0
- package/src/tools/shared/__tests__/arrow-head.test.jsx +31 -0
- package/src/tools/shared/arrow-head.jsx +102 -0
- package/src/tools/shared/icons/CorrectSVG.jsx +32 -0
- package/src/tools/shared/icons/IncorrectSVG.jsx +30 -0
- package/src/tools/shared/icons/MissingSVG.jsx +31 -0
- package/src/tools/shared/line/__tests__/index.test.jsx +109 -0
- package/src/tools/shared/line/__tests__/line-path.test.jsx +53 -0
- package/src/tools/shared/line/__tests__/with-root-edge.test.jsx +73 -0
- package/src/tools/shared/line/index.jsx +487 -0
- package/src/tools/shared/line/line-path.jsx +80 -0
- package/src/tools/shared/line/with-root-edge.jsx +97 -0
- package/src/tools/shared/point/__tests__/arrow-point.test.jsx +91 -0
- package/src/tools/shared/point/__tests__/base-point.test.jsx +87 -0
- package/src/tools/shared/point/arrow-point.jsx +46 -0
- package/src/tools/shared/point/arrow.jsx +37 -0
- package/src/tools/shared/point/base-point.jsx +121 -0
- package/src/tools/shared/point/index.jsx +54 -0
- package/src/tools/shared/styles.js +27 -0
- package/src/tools/shared/types.js +10 -0
- package/src/tools/sine/__tests__/component.test.jsx +51 -0
- package/src/tools/sine/component.jsx +32 -0
- package/src/tools/sine/index.js +33 -0
- package/src/tools/vector/__tests__/component.test.jsx +25 -0
- package/src/tools/vector/component.jsx +56 -0
- package/src/tools/vector/index.js +4 -0
- package/src/undo-redo.jsx +45 -0
- package/src/use-debounce.js +13 -0
- package/src/utils.js +224 -0
- package/dist/_virtual/_rolldown/runtime.js +0 -23
- package/dist/autosize-input.d.ts +0 -10
- package/dist/autosize-input.js +0 -66
- package/dist/axis/arrow.d.ts +0 -13
- package/dist/axis/arrow.js +0 -34
- package/dist/axis/axes.d.ts +0 -132
- package/dist/axis/axes.js +0 -214
- package/dist/axis/index.d.ts +0 -10
- package/dist/bg.d.ts +0 -51
- package/dist/bg.js +0 -44
- package/dist/container/actions.d.ts +0 -15
- package/dist/container/actions.js +0 -7
- package/dist/container/index.d.ts +0 -58
- package/dist/container/index.js +0 -48
- package/dist/container/marks.d.ts +0 -10
- package/dist/container/marks.js +0 -11
- package/dist/container/middleware.d.ts +0 -10
- package/dist/container/middleware.js +0 -4
- package/dist/container/reducer.d.ts +0 -14
- package/dist/container/reducer.js +0 -7
- package/dist/coordinates-label.d.ts +0 -50
- package/dist/coordinates-label.js +0 -46
- package/dist/graph-with-controls.d.ts +0 -88
- package/dist/graph-with-controls.js +0 -154
- package/dist/graph.d.ts +0 -126
- package/dist/graph.js +0 -209
- package/dist/grid-setup.d.ts +0 -27
- package/dist/grid-setup.js +0 -307
- package/dist/grid.d.ts +0 -43
- package/dist/grid.js +0 -59
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -7
- package/dist/key-legend.d.ts +0 -21
- package/dist/key-legend.js +0 -231
- package/dist/label-svg-icon.d.ts +0 -18
- package/dist/label-svg-icon.js +0 -42
- package/dist/labels.d.ts +0 -37
- package/dist/labels.js +0 -152
- package/dist/mark-label.d.ts +0 -58
- package/dist/mark-label.js +0 -171
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Axis.js +0 -101
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/AxisRenderer.js +0 -63
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Ticks.js +0 -44
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/constants/orientation.js +0 -9
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js +0 -14
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getAxisRangePaddingConfig.js +0 -21
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getLabelTransform.js +0 -16
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickFormatter.js +0 -8
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickPosition.js +0 -15
- package/dist/node_modules/.bun/@visx_curve@3.12.0/node_modules/@visx/curve/esm/index.js +0 -2
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/Grid.js +0 -79
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js +0 -79
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js +0 -79
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/utils/getScaleBandwidth.js +0 -6
- package/dist/node_modules/.bun/@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js +0 -50
- package/dist/node_modules/.bun/@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js +0 -18
- package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js +0 -10
- package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js +0 -9
- package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/toString.js +0 -6
- package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Line.js +0 -47
- package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/LinePath.js +0 -50
- package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/util/D3ShapeFactories.js +0 -9
- package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/util/setNumberOrNumberAccessor.js +0 -6
- package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js +0 -53
- package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/Text.js +0 -57
- package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/hooks/useText.js +0 -91
- package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/util/getStringWidth.js +0 -21
- package/dist/node_modules/.bun/balanced-match@0.4.2/node_modules/balanced-match/index.js +0 -32
- package/dist/node_modules/.bun/balanced-match@1.0.2/node_modules/balanced-match/index.js +0 -33
- package/dist/node_modules/.bun/classnames@2.5.1/node_modules/classnames/index.js +0 -32
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -16
- package/dist/node_modules/.bun/invariant@2.2.4/node_modules/invariant/browser.js +0 -28
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Hash.js +0 -21
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_ListCache.js +0 -21
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Map.js +0 -10
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_MapCache.js +0 -21
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Symbol.js +0 -9
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_assocIndexOf.js +0 -14
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseGetTag.js +0 -15
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseIsNative.js +0 -16
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_coreJsData.js +0 -9
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_freeGlobal.js +0 -8
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getMapData.js +0 -14
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getNative.js +0 -15
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getRawTag.js +0 -19
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getValue.js +0 -11
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashClear.js +0 -13
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashDelete.js +0 -12
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashGet.js +0 -18
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashHas.js +0 -14
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashSet.js +0 -14
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isKeyable.js +0 -12
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isMasked.js +0 -16
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheClear.js +0 -11
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheDelete.js +0 -14
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheGet.js +0 -14
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheHas.js +0 -13
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheSet.js +0 -14
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheClear.js +0 -19
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheDelete.js +0 -14
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheGet.js +0 -13
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheHas.js +0 -13
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheSet.js +0 -14
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_nativeCreate.js +0 -9
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_objectToString.js +0 -12
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_root.js +0 -10
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_toSource.js +0 -20
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/eq.js +0 -11
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/isFunction.js +0 -16
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/isObject.js +0 -12
- package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/memoize.js +0 -20
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/formula_evaluator.js +0 -37
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/lexer.js +0 -509
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/math_function.js +0 -108
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/postfix.js +0 -31
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/postfix_evaluator.js +0 -45
- package/dist/node_modules/.bun/react-redux@9.3.0_9e2203c65d1d5fa1/node_modules/react-redux/dist/react-redux.js +0 -471
- package/dist/node_modules/.bun/reduce-css-calc@1.3.0/node_modules/reduce-css-calc/index.js +0 -49
- package/dist/node_modules/.bun/reduce-function-call@1.0.3/node_modules/reduce-function-call/index.js +0 -34
- package/dist/node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js +0 -185
- package/dist/node_modules/.bun/redux@5.0.1/node_modules/redux/dist/redux.js +0 -198
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_f4eacebf2041cd4f/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -53
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_f4eacebf2041cd4f/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -51
- package/dist/node_modules/.bun/use-sync-external-store@1.6.0_f4eacebf2041cd4f/node_modules/use-sync-external-store/with-selector.js +0 -10
- package/dist/toggle-bar.d.ts +0 -40
- package/dist/toggle-bar.js +0 -155
- package/dist/tool-menu.d.ts +0 -29
- package/dist/tool-menu.js +0 -41
- package/dist/tools/absolute/component.d.ts +0 -16
- package/dist/tools/absolute/component.js +0 -15
- package/dist/tools/absolute/index.d.ts +0 -20
- package/dist/tools/absolute/index.js +0 -32
- package/dist/tools/circle/bg-circle.d.ts +0 -116
- package/dist/tools/circle/bg-circle.js +0 -72
- package/dist/tools/circle/component.d.ts +0 -83
- package/dist/tools/circle/component.js +0 -195
- package/dist/tools/circle/index.d.ts +0 -20
- package/dist/tools/circle/index.js +0 -22
- package/dist/tools/exponential/component.d.ts +0 -16
- package/dist/tools/exponential/component.js +0 -14
- package/dist/tools/exponential/index.d.ts +0 -20
- package/dist/tools/exponential/index.js +0 -32
- package/dist/tools/index.d.ts +0 -27
- package/dist/tools/index.js +0 -55
- package/dist/tools/line/component.d.ts +0 -124
- package/dist/tools/line/component.js +0 -72
- package/dist/tools/line/index.d.ts +0 -13
- package/dist/tools/line/index.js +0 -6
- package/dist/tools/parabola/component.d.ts +0 -16
- package/dist/tools/parabola/component.js +0 -14
- package/dist/tools/parabola/index.d.ts +0 -20
- package/dist/tools/parabola/index.js +0 -32
- package/dist/tools/point/component.d.ts +0 -50
- package/dist/tools/point/component.js +0 -85
- package/dist/tools/point/index.d.ts +0 -15
- package/dist/tools/point/index.js +0 -13
- package/dist/tools/polygon/component.d.ts +0 -120
- package/dist/tools/polygon/component.js +0 -262
- package/dist/tools/polygon/index.d.ts +0 -19
- package/dist/tools/polygon/index.js +0 -55
- package/dist/tools/polygon/line.d.ts +0 -125
- package/dist/tools/polygon/line.js +0 -63
- package/dist/tools/polygon/polygon.d.ts +0 -122
- package/dist/tools/polygon/polygon.js +0 -74
- package/dist/tools/ray/component.d.ts +0 -101
- package/dist/tools/ray/component.js +0 -71
- package/dist/tools/ray/index.d.ts +0 -13
- package/dist/tools/ray/index.js +0 -6
- package/dist/tools/segment/component.d.ts +0 -100
- package/dist/tools/segment/component.js +0 -52
- package/dist/tools/segment/index.d.ts +0 -13
- package/dist/tools/segment/index.js +0 -6
- package/dist/tools/shared/arrow-head.d.ts +0 -51
- package/dist/tools/shared/arrow-head.js +0 -63
- package/dist/tools/shared/icons/CorrectSVG.d.ts +0 -26
- package/dist/tools/shared/icons/CorrectSVG.js +0 -29
- package/dist/tools/shared/icons/IncorrectSVG.d.ts +0 -26
- package/dist/tools/shared/icons/IncorrectSVG.js +0 -27
- package/dist/tools/shared/icons/MissingSVG.d.ts +0 -26
- package/dist/tools/shared/icons/MissingSVG.js +0 -28
- package/dist/tools/shared/line/index.d.ts +0 -245
- package/dist/tools/shared/line/index.js +0 -319
- package/dist/tools/shared/line/line-path.d.ts +0 -57
- package/dist/tools/shared/line/line-path.js +0 -71
- package/dist/tools/shared/line/with-root-edge.d.ts +0 -142
- package/dist/tools/shared/line/with-root-edge.js +0 -73
- package/dist/tools/shared/point/arrow-point.d.ts +0 -56
- package/dist/tools/shared/point/arrow-point.js +0 -41
- package/dist/tools/shared/point/arrow.d.ts +0 -45
- package/dist/tools/shared/point/arrow.js +0 -35
- package/dist/tools/shared/point/base-point.d.ts +0 -52
- package/dist/tools/shared/point/base-point.js +0 -103
- package/dist/tools/shared/point/index.d.ts +0 -216
- package/dist/tools/shared/point/index.js +0 -45
- package/dist/tools/shared/styles.d.ts +0 -29
- package/dist/tools/shared/styles.js +0 -20
- package/dist/tools/shared/types.d.ts +0 -21
- package/dist/tools/shared/types.js +0 -11
- package/dist/tools/sine/component.d.ts +0 -16
- package/dist/tools/sine/component.js +0 -22
- package/dist/tools/sine/index.d.ts +0 -20
- package/dist/tools/sine/index.js +0 -32
- package/dist/tools/vector/component.d.ts +0 -100
- package/dist/tools/vector/component.js +0 -44
- package/dist/tools/vector/index.d.ts +0 -13
- package/dist/tools/vector/index.js +0 -6
- package/dist/undo-redo.d.ts +0 -22
- package/dist/undo-redo.js +0 -47
- package/dist/use-debounce.d.ts +0 -9
- package/dist/use-debounce.js +0 -13
- package/dist/utils.d.ts +0 -61
- package/dist/utils.js +0 -75
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/graphing/src/tools/shared/point/arrow-point.jsx
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
import PropTypes from 'prop-types';
|
|
11
|
-
export declare class RawArrow extends React.Component {
|
|
12
|
-
static propTypes: {
|
|
13
|
-
className: PropTypes.Requireable<string>;
|
|
14
|
-
correctness: PropTypes.Requireable<string>;
|
|
15
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
16
|
-
x: PropTypes.Validator<number>;
|
|
17
|
-
y: PropTypes.Validator<number>;
|
|
18
|
-
from: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
19
|
-
x: PropTypes.Requireable<number>;
|
|
20
|
-
y: PropTypes.Requireable<number>;
|
|
21
|
-
}>>>;
|
|
22
|
-
to: PropTypes.Requireable<PropTypes.InferProps<{
|
|
23
|
-
x: PropTypes.Requireable<number>;
|
|
24
|
-
y: PropTypes.Requireable<number>;
|
|
25
|
-
}>>;
|
|
26
|
-
graphProps: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
27
|
-
scale: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
28
|
-
x: PropTypes.Validator<(...args: any[]) => any>;
|
|
29
|
-
y: PropTypes.Validator<(...args: any[]) => any>;
|
|
30
|
-
}>>>;
|
|
31
|
-
snap: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
32
|
-
x: PropTypes.Validator<(...args: any[]) => any>;
|
|
33
|
-
y: PropTypes.Validator<(...args: any[]) => any>;
|
|
34
|
-
}>>>;
|
|
35
|
-
domain: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
36
|
-
min: PropTypes.Validator<number>;
|
|
37
|
-
max: PropTypes.Validator<number>;
|
|
38
|
-
step: PropTypes.Requireable<number>;
|
|
39
|
-
}>>>;
|
|
40
|
-
range: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
41
|
-
min: PropTypes.Validator<number>;
|
|
42
|
-
max: PropTypes.Validator<number>;
|
|
43
|
-
step: PropTypes.Requireable<number>;
|
|
44
|
-
}>>>;
|
|
45
|
-
size: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
46
|
-
width: PropTypes.Validator<number>;
|
|
47
|
-
height: PropTypes.Validator<number>;
|
|
48
|
-
}>>>;
|
|
49
|
-
}>>>;
|
|
50
|
-
};
|
|
51
|
-
static defaultProps: {
|
|
52
|
-
from: {};
|
|
53
|
-
to: {};
|
|
54
|
-
};
|
|
55
|
-
render(): React.JSX.Element;
|
|
56
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { arrowDimensions as e, getAngleDeg as t } from "../../../utils.js";
|
|
2
|
-
import n from "react";
|
|
3
|
-
import r from "prop-types";
|
|
4
|
-
import { types as i } from "@pie-lib/plot";
|
|
5
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
6
|
-
//#region src/tools/shared/point/arrow-point.tsx
|
|
7
|
-
var o = class extends n.Component {
|
|
8
|
-
static propTypes = {
|
|
9
|
-
className: r.string,
|
|
10
|
-
correctness: r.string,
|
|
11
|
-
disabled: r.bool,
|
|
12
|
-
x: r.number.isRequired,
|
|
13
|
-
y: r.number.isRequired,
|
|
14
|
-
from: r.shape({
|
|
15
|
-
x: r.number,
|
|
16
|
-
y: r.number
|
|
17
|
-
}).isRequired,
|
|
18
|
-
to: r.shape({
|
|
19
|
-
x: r.number,
|
|
20
|
-
y: r.number
|
|
21
|
-
}),
|
|
22
|
-
graphProps: i.GraphPropsType.isRequired
|
|
23
|
-
};
|
|
24
|
-
static defaultProps = {
|
|
25
|
-
from: {},
|
|
26
|
-
to: {}
|
|
27
|
-
};
|
|
28
|
-
render() {
|
|
29
|
-
let { className: n, x: r, y: i, graphProps: o, from: s, to: c, ...l } = this.props, { scale: u } = o, d = s && c ? t(s.x, s.y, c.x, c.y) : 0, f = s && c && (s.x !== c.x || s.y !== c.y) ? `0,0 ${e.vector},${e.vector * 2} -${e.vector},${e.vector * 2}` : "0,0 0,0 0,0";
|
|
30
|
-
return /* @__PURE__ */ a("g", {
|
|
31
|
-
className: n,
|
|
32
|
-
...l,
|
|
33
|
-
children: /* @__PURE__ */ a("polygon", {
|
|
34
|
-
points: f,
|
|
35
|
-
transform: `translate(${u.x(r)}, ${u.y(i)}) rotate(${d} 0 0)`
|
|
36
|
-
})
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
//#endregion
|
|
41
|
-
export { o as RawArrow };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/graphing/src/tools/shared/point/arrow.jsx
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
import PropTypes from 'prop-types';
|
|
11
|
-
export declare class BaseArrow extends React.Component {
|
|
12
|
-
static propTypes: {
|
|
13
|
-
className: PropTypes.Requireable<string>;
|
|
14
|
-
correctness: PropTypes.Requireable<string>;
|
|
15
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
16
|
-
x: PropTypes.Validator<number>;
|
|
17
|
-
y: PropTypes.Validator<number>;
|
|
18
|
-
angle: PropTypes.Validator<number>;
|
|
19
|
-
graphProps: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
20
|
-
scale: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
21
|
-
x: PropTypes.Validator<(...args: any[]) => any>;
|
|
22
|
-
y: PropTypes.Validator<(...args: any[]) => any>;
|
|
23
|
-
}>>>;
|
|
24
|
-
snap: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
25
|
-
x: PropTypes.Validator<(...args: any[]) => any>;
|
|
26
|
-
y: PropTypes.Validator<(...args: any[]) => any>;
|
|
27
|
-
}>>>;
|
|
28
|
-
domain: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
29
|
-
min: PropTypes.Validator<number>;
|
|
30
|
-
max: PropTypes.Validator<number>;
|
|
31
|
-
step: PropTypes.Requireable<number>;
|
|
32
|
-
}>>>;
|
|
33
|
-
range: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
34
|
-
min: PropTypes.Validator<number>;
|
|
35
|
-
max: PropTypes.Validator<number>;
|
|
36
|
-
step: PropTypes.Requireable<number>;
|
|
37
|
-
}>>>;
|
|
38
|
-
size: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
39
|
-
width: PropTypes.Validator<number>;
|
|
40
|
-
height: PropTypes.Validator<number>;
|
|
41
|
-
}>>>;
|
|
42
|
-
}>>>;
|
|
43
|
-
};
|
|
44
|
-
render(): React.JSX.Element;
|
|
45
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { thinnerShapesNeeded as e } from "../../../utils.js";
|
|
2
|
-
import { ArrowHead as t } from "../arrow-head.js";
|
|
3
|
-
import n from "react";
|
|
4
|
-
import r from "prop-types";
|
|
5
|
-
import { types as i } from "@pie-lib/plot";
|
|
6
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
7
|
-
//#region src/tools/shared/point/arrow.tsx
|
|
8
|
-
var o = class extends n.Component {
|
|
9
|
-
static propTypes = {
|
|
10
|
-
className: r.string,
|
|
11
|
-
correctness: r.string,
|
|
12
|
-
disabled: r.bool,
|
|
13
|
-
x: r.number.isRequired,
|
|
14
|
-
y: r.number.isRequired,
|
|
15
|
-
angle: r.number.isRequired,
|
|
16
|
-
graphProps: i.GraphPropsType.isRequired
|
|
17
|
-
};
|
|
18
|
-
render() {
|
|
19
|
-
let { className: n, angle: r, x: i, y: o, correctness: s, graphProps: c, ...l } = this.props, u = e(c) ? 12 : 14, { scale: d } = c, f = d.x(i), p = d.y(o), m = `rotate(${-r}, ${f},${p})`, h = `${f},${p}
|
|
20
|
-
${f - u},${p - u / 2}
|
|
21
|
-
${f - u},${p + u / 2}`;
|
|
22
|
-
return /* @__PURE__ */ a("g", {
|
|
23
|
-
className: n,
|
|
24
|
-
...l,
|
|
25
|
-
children: /* @__PURE__ */ a(t, {
|
|
26
|
-
size: u,
|
|
27
|
-
transform: m,
|
|
28
|
-
points: h,
|
|
29
|
-
correctness: s
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
//#endregion
|
|
35
|
-
export { o as BaseArrow };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/graphing/src/tools/shared/point/base-point.jsx
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
import PropTypes from 'prop-types';
|
|
11
|
-
export declare class RawBp extends React.Component {
|
|
12
|
-
static propTypes: {
|
|
13
|
-
className: PropTypes.Requireable<string>;
|
|
14
|
-
coordinatesOnHover: PropTypes.Requireable<boolean>;
|
|
15
|
-
correctness: PropTypes.Requireable<string>;
|
|
16
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
17
|
-
labelNode: PropTypes.Requireable<object>;
|
|
18
|
-
x: PropTypes.Validator<number>;
|
|
19
|
-
y: PropTypes.Validator<number>;
|
|
20
|
-
graphProps: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
21
|
-
scale: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
22
|
-
x: PropTypes.Validator<(...args: any[]) => any>;
|
|
23
|
-
y: PropTypes.Validator<(...args: any[]) => any>;
|
|
24
|
-
}>>>;
|
|
25
|
-
snap: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
26
|
-
x: PropTypes.Validator<(...args: any[]) => any>;
|
|
27
|
-
y: PropTypes.Validator<(...args: any[]) => any>;
|
|
28
|
-
}>>>;
|
|
29
|
-
domain: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
30
|
-
min: PropTypes.Validator<number>;
|
|
31
|
-
max: PropTypes.Validator<number>;
|
|
32
|
-
step: PropTypes.Requireable<number>;
|
|
33
|
-
}>>>;
|
|
34
|
-
range: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
35
|
-
min: PropTypes.Validator<number>;
|
|
36
|
-
max: PropTypes.Validator<number>;
|
|
37
|
-
step: PropTypes.Requireable<number>;
|
|
38
|
-
}>>>;
|
|
39
|
-
size: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
|
|
40
|
-
width: PropTypes.Validator<number>;
|
|
41
|
-
height: PropTypes.Validator<number>;
|
|
42
|
-
}>>>;
|
|
43
|
-
}>>>;
|
|
44
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
|
-
onTouchStart: PropTypes.Requireable<(...args: any[]) => any>;
|
|
46
|
-
onTouchEnd: PropTypes.Requireable<(...args: any[]) => any>;
|
|
47
|
-
};
|
|
48
|
-
state: {
|
|
49
|
-
showCoordinates: boolean;
|
|
50
|
-
};
|
|
51
|
-
render(): React.JSX.Element;
|
|
52
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { thinnerShapesNeeded as e } from "../../../utils.js";
|
|
2
|
-
import t from "../../../coordinates-label.js";
|
|
3
|
-
import n from "../icons/MissingSVG.js";
|
|
4
|
-
import r from "../icons/CorrectSVG.js";
|
|
5
|
-
import i from "../icons/IncorrectSVG.js";
|
|
6
|
-
import { correct as a, disabled as o, incorrect as s, missing as c } from "../styles.js";
|
|
7
|
-
import l from "react";
|
|
8
|
-
import u from "prop-types";
|
|
9
|
-
import { types as d } from "@pie-lib/plot";
|
|
10
|
-
import { styled as f } from "@mui/material/styles";
|
|
11
|
-
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
12
|
-
import g from "react-dom";
|
|
13
|
-
//#region src/tools/shared/point/base-point.tsx
|
|
14
|
-
var _ = f("g")(({ disabled: e, correctness: t }) => ({
|
|
15
|
-
cursor: "pointer",
|
|
16
|
-
"& circle": { fill: "currentColor" },
|
|
17
|
-
...e && {
|
|
18
|
-
...o("fill"),
|
|
19
|
-
...o("color")
|
|
20
|
-
},
|
|
21
|
-
...t === "correct" && {
|
|
22
|
-
...a("fill"),
|
|
23
|
-
...a("color")
|
|
24
|
-
},
|
|
25
|
-
...t === "incorrect" && {
|
|
26
|
-
...s("fill"),
|
|
27
|
-
...s("color")
|
|
28
|
-
},
|
|
29
|
-
...t === "missing" && {
|
|
30
|
-
...c("fill"),
|
|
31
|
-
...c("color")
|
|
32
|
-
}
|
|
33
|
-
})), v = class extends l.Component {
|
|
34
|
-
static propTypes = {
|
|
35
|
-
className: u.string,
|
|
36
|
-
coordinatesOnHover: u.bool,
|
|
37
|
-
correctness: u.string,
|
|
38
|
-
disabled: u.bool,
|
|
39
|
-
labelNode: u.object,
|
|
40
|
-
x: u.number.isRequired,
|
|
41
|
-
y: u.number.isRequired,
|
|
42
|
-
graphProps: d.GraphPropsType.isRequired,
|
|
43
|
-
onClick: u.func,
|
|
44
|
-
onTouchStart: u.func,
|
|
45
|
-
onTouchEnd: u.func
|
|
46
|
-
};
|
|
47
|
-
state = { showCoordinates: !1 };
|
|
48
|
-
render() {
|
|
49
|
-
let { className: a, coordinatesOnHover: o, x: s, y: c, disabled: l, correctness: u, graphProps: d, labelNode: f, onClick: v, onTouchStart: y, onTouchEnd: b } = this.props, { showCoordinates: x } = this.state, { scale: S } = d, C = e(d) ? 5 : 7, w;
|
|
50
|
-
switch (u) {
|
|
51
|
-
case "missing":
|
|
52
|
-
w = n;
|
|
53
|
-
break;
|
|
54
|
-
case "correct":
|
|
55
|
-
w = r;
|
|
56
|
-
break;
|
|
57
|
-
case "incorrect":
|
|
58
|
-
w = i;
|
|
59
|
-
break;
|
|
60
|
-
default: w = null;
|
|
61
|
-
}
|
|
62
|
-
return /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("circle", {
|
|
63
|
-
style: {
|
|
64
|
-
fill: "transparent",
|
|
65
|
-
cursor: "pointer",
|
|
66
|
-
pointerEvents: "all"
|
|
67
|
-
},
|
|
68
|
-
r: C * 3,
|
|
69
|
-
cx: S.x(s),
|
|
70
|
-
cy: S.y(c),
|
|
71
|
-
onMouseEnter: () => this.setState({ showCoordinates: !0 }),
|
|
72
|
-
onMouseLeave: () => this.setState({ showCoordinates: !1 }),
|
|
73
|
-
onTouchStart: y,
|
|
74
|
-
onTouchEnd: b,
|
|
75
|
-
onClick: v
|
|
76
|
-
}), /* @__PURE__ */ h(_, {
|
|
77
|
-
className: a,
|
|
78
|
-
disabled: l,
|
|
79
|
-
correctness: u,
|
|
80
|
-
onMouseEnter: () => this.setState({ showCoordinates: !0 }),
|
|
81
|
-
onMouseLeave: () => this.setState({ showCoordinates: !1 }),
|
|
82
|
-
children: [
|
|
83
|
-
/* @__PURE__ */ m("circle", {
|
|
84
|
-
r: C,
|
|
85
|
-
cx: S.x(s),
|
|
86
|
-
cy: S.y(c)
|
|
87
|
-
}),
|
|
88
|
-
w && /* @__PURE__ */ m(w, {
|
|
89
|
-
scale: S,
|
|
90
|
-
x: s,
|
|
91
|
-
y: c
|
|
92
|
-
}),
|
|
93
|
-
f && o && x && g.createPortal(/* @__PURE__ */ m(t, {
|
|
94
|
-
graphProps: d,
|
|
95
|
-
x: s,
|
|
96
|
-
y: c
|
|
97
|
-
}), f)
|
|
98
|
-
]
|
|
99
|
-
})] });
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
//#endregion
|
|
103
|
-
export { v as RawBp };
|
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/graphing/src/tools/shared/point/index.jsx
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export declare const BasePoint: {
|
|
11
|
-
new (props: any): {
|
|
12
|
-
grid: any;
|
|
13
|
-
onStart: any;
|
|
14
|
-
position: any;
|
|
15
|
-
tiny: any;
|
|
16
|
-
getScaledBounds: any;
|
|
17
|
-
getClientPoint: any;
|
|
18
|
-
skipDragOutsideOfBounds: any;
|
|
19
|
-
onDrag: any;
|
|
20
|
-
getDelta: any;
|
|
21
|
-
applyDelta: any;
|
|
22
|
-
onStop: any;
|
|
23
|
-
render(): React.JSX.Element;
|
|
24
|
-
context: unknown;
|
|
25
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
26
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
27
|
-
readonly props: Readonly<{}>;
|
|
28
|
-
state: Readonly<{}>;
|
|
29
|
-
refs: {
|
|
30
|
-
[key: string]: React.ReactInstance;
|
|
31
|
-
};
|
|
32
|
-
componentDidMount?(): void;
|
|
33
|
-
shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
34
|
-
componentWillUnmount?(): void;
|
|
35
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
36
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
|
|
37
|
-
componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
38
|
-
componentWillMount?(): void;
|
|
39
|
-
UNSAFE_componentWillMount?(): void;
|
|
40
|
-
componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
|
41
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
|
42
|
-
componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
43
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
44
|
-
};
|
|
45
|
-
propTypes: {
|
|
46
|
-
disabled: import("prop-types").Requireable<boolean>;
|
|
47
|
-
onDragStart: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
48
|
-
onDrag: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
49
|
-
onDragStop: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
50
|
-
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
51
|
-
onMove: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
52
|
-
graphProps: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
53
|
-
scale: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
54
|
-
x: import("prop-types").Validator<(...args: any[]) => any>;
|
|
55
|
-
y: import("prop-types").Validator<(...args: any[]) => any>;
|
|
56
|
-
}>>>;
|
|
57
|
-
snap: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
58
|
-
x: import("prop-types").Validator<(...args: any[]) => any>;
|
|
59
|
-
y: import("prop-types").Validator<(...args: any[]) => any>;
|
|
60
|
-
}>>>;
|
|
61
|
-
domain: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
62
|
-
min: import("prop-types").Validator<number>;
|
|
63
|
-
max: import("prop-types").Validator<number>;
|
|
64
|
-
step: import("prop-types").Requireable<number>;
|
|
65
|
-
}>>>;
|
|
66
|
-
range: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
67
|
-
min: import("prop-types").Validator<number>;
|
|
68
|
-
max: import("prop-types").Validator<number>;
|
|
69
|
-
step: import("prop-types").Requireable<number>;
|
|
70
|
-
}>>>;
|
|
71
|
-
size: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
72
|
-
width: import("prop-types").Validator<number>;
|
|
73
|
-
height: import("prop-types").Validator<number>;
|
|
74
|
-
}>>>;
|
|
75
|
-
}>>>;
|
|
76
|
-
};
|
|
77
|
-
contextType?: React.Context<any> | undefined;
|
|
78
|
-
};
|
|
79
|
-
export declare const ArrowPoint: {
|
|
80
|
-
new (props: any): {
|
|
81
|
-
grid: any;
|
|
82
|
-
onStart: any;
|
|
83
|
-
position: any;
|
|
84
|
-
tiny: any;
|
|
85
|
-
getScaledBounds: any;
|
|
86
|
-
getClientPoint: any;
|
|
87
|
-
skipDragOutsideOfBounds: any;
|
|
88
|
-
onDrag: any;
|
|
89
|
-
getDelta: any;
|
|
90
|
-
applyDelta: any;
|
|
91
|
-
onStop: any;
|
|
92
|
-
render(): React.JSX.Element;
|
|
93
|
-
context: unknown;
|
|
94
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
95
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
96
|
-
readonly props: Readonly<{}>;
|
|
97
|
-
state: Readonly<{}>;
|
|
98
|
-
refs: {
|
|
99
|
-
[key: string]: React.ReactInstance;
|
|
100
|
-
};
|
|
101
|
-
componentDidMount?(): void;
|
|
102
|
-
shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
103
|
-
componentWillUnmount?(): void;
|
|
104
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
105
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
|
|
106
|
-
componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
107
|
-
componentWillMount?(): void;
|
|
108
|
-
UNSAFE_componentWillMount?(): void;
|
|
109
|
-
componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
|
110
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
|
111
|
-
componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
112
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
113
|
-
};
|
|
114
|
-
propTypes: {
|
|
115
|
-
disabled: import("prop-types").Requireable<boolean>;
|
|
116
|
-
onDragStart: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
117
|
-
onDrag: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
118
|
-
onDragStop: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
119
|
-
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
120
|
-
onMove: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
121
|
-
graphProps: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
122
|
-
scale: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
123
|
-
x: import("prop-types").Validator<(...args: any[]) => any>;
|
|
124
|
-
y: import("prop-types").Validator<(...args: any[]) => any>;
|
|
125
|
-
}>>>;
|
|
126
|
-
snap: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
127
|
-
x: import("prop-types").Validator<(...args: any[]) => any>;
|
|
128
|
-
y: import("prop-types").Validator<(...args: any[]) => any>;
|
|
129
|
-
}>>>;
|
|
130
|
-
domain: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
131
|
-
min: import("prop-types").Validator<number>;
|
|
132
|
-
max: import("prop-types").Validator<number>;
|
|
133
|
-
step: import("prop-types").Requireable<number>;
|
|
134
|
-
}>>>;
|
|
135
|
-
range: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
136
|
-
min: import("prop-types").Validator<number>;
|
|
137
|
-
max: import("prop-types").Validator<number>;
|
|
138
|
-
step: import("prop-types").Requireable<number>;
|
|
139
|
-
}>>>;
|
|
140
|
-
size: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
141
|
-
width: import("prop-types").Validator<number>;
|
|
142
|
-
height: import("prop-types").Validator<number>;
|
|
143
|
-
}>>>;
|
|
144
|
-
}>>>;
|
|
145
|
-
};
|
|
146
|
-
contextType?: React.Context<any> | undefined;
|
|
147
|
-
};
|
|
148
|
-
export declare const Arrow: {
|
|
149
|
-
new (props: any): {
|
|
150
|
-
grid: any;
|
|
151
|
-
onStart: any;
|
|
152
|
-
position: any;
|
|
153
|
-
tiny: any;
|
|
154
|
-
getScaledBounds: any;
|
|
155
|
-
getClientPoint: any;
|
|
156
|
-
skipDragOutsideOfBounds: any;
|
|
157
|
-
onDrag: any;
|
|
158
|
-
getDelta: any;
|
|
159
|
-
applyDelta: any;
|
|
160
|
-
onStop: any;
|
|
161
|
-
render(): React.JSX.Element;
|
|
162
|
-
context: unknown;
|
|
163
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
164
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
165
|
-
readonly props: Readonly<{}>;
|
|
166
|
-
state: Readonly<{}>;
|
|
167
|
-
refs: {
|
|
168
|
-
[key: string]: React.ReactInstance;
|
|
169
|
-
};
|
|
170
|
-
componentDidMount?(): void;
|
|
171
|
-
shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
172
|
-
componentWillUnmount?(): void;
|
|
173
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
174
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
|
|
175
|
-
componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
176
|
-
componentWillMount?(): void;
|
|
177
|
-
UNSAFE_componentWillMount?(): void;
|
|
178
|
-
componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
|
179
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
|
|
180
|
-
componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
181
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
182
|
-
};
|
|
183
|
-
propTypes: {
|
|
184
|
-
disabled: import("prop-types").Requireable<boolean>;
|
|
185
|
-
onDragStart: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
186
|
-
onDrag: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
187
|
-
onDragStop: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
188
|
-
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
189
|
-
onMove: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
190
|
-
graphProps: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
191
|
-
scale: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
192
|
-
x: import("prop-types").Validator<(...args: any[]) => any>;
|
|
193
|
-
y: import("prop-types").Validator<(...args: any[]) => any>;
|
|
194
|
-
}>>>;
|
|
195
|
-
snap: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
196
|
-
x: import("prop-types").Validator<(...args: any[]) => any>;
|
|
197
|
-
y: import("prop-types").Validator<(...args: any[]) => any>;
|
|
198
|
-
}>>>;
|
|
199
|
-
domain: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
200
|
-
min: import("prop-types").Validator<number>;
|
|
201
|
-
max: import("prop-types").Validator<number>;
|
|
202
|
-
step: import("prop-types").Requireable<number>;
|
|
203
|
-
}>>>;
|
|
204
|
-
range: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
205
|
-
min: import("prop-types").Validator<number>;
|
|
206
|
-
max: import("prop-types").Validator<number>;
|
|
207
|
-
step: import("prop-types").Requireable<number>;
|
|
208
|
-
}>>>;
|
|
209
|
-
size: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{
|
|
210
|
-
width: import("prop-types").Validator<number>;
|
|
211
|
-
height: import("prop-types").Validator<number>;
|
|
212
|
-
}>>>;
|
|
213
|
-
}>>>;
|
|
214
|
-
};
|
|
215
|
-
contextType?: React.Context<any> | undefined;
|
|
216
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { bounds as e, point as t } from "../../../utils.js";
|
|
2
|
-
import { RawBp as n } from "./base-point.js";
|
|
3
|
-
import { RawArrow as r } from "./arrow-point.js";
|
|
4
|
-
import { BaseArrow as i } from "./arrow.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import { gridDraggable as a } from "@pie-lib/plot";
|
|
7
|
-
import { styled as o } from "@mui/material/styles";
|
|
8
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
9
|
-
import { color as c } from "@pie-lib/render-ui";
|
|
10
|
-
//#region src/tools/shared/point/index.tsx
|
|
11
|
-
var l = {
|
|
12
|
-
bounds: (t, { domain: n, range: r }) => {
|
|
13
|
-
let { x: i, y: a } = t;
|
|
14
|
-
return e({
|
|
15
|
-
left: i,
|
|
16
|
-
top: a,
|
|
17
|
-
bottom: a,
|
|
18
|
-
right: i
|
|
19
|
-
}, n, r);
|
|
20
|
-
},
|
|
21
|
-
anchorPoint: (e) => {
|
|
22
|
-
let { x: t, y: n } = e;
|
|
23
|
-
return {
|
|
24
|
-
x: t,
|
|
25
|
-
y: n
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
fromDelta: (e, n) => t(e).add(t(n))
|
|
29
|
-
}, u = o("g")(() => ({
|
|
30
|
-
"& circle, & polygon": { cursor: "pointer" },
|
|
31
|
-
"&[disabled]": { "& circle, & polygon": { fill: c.disabledSecondary() } }
|
|
32
|
-
})), d = a(l)((e) => /* @__PURE__ */ s(u, {
|
|
33
|
-
...e,
|
|
34
|
-
children: /* @__PURE__ */ s(n, { ...e })
|
|
35
|
-
}));
|
|
36
|
-
a(l)((e) => /* @__PURE__ */ s(u, {
|
|
37
|
-
...e,
|
|
38
|
-
children: /* @__PURE__ */ s(r, { ...e })
|
|
39
|
-
}));
|
|
40
|
-
var f = a(l)((e) => /* @__PURE__ */ s(u, {
|
|
41
|
-
...e,
|
|
42
|
-
children: /* @__PURE__ */ s(i, { ...e })
|
|
43
|
-
}));
|
|
44
|
-
//#endregion
|
|
45
|
-
export { f as Arrow, d as BasePoint };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/graphing/src/tools/shared/styles.js
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
export declare const graphingShapeFill: () => string;
|
|
10
|
-
export declare const disabled: (key?: string) => {
|
|
11
|
-
[x: string]: any;
|
|
12
|
-
pointerEvents: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const disabledSecondary: (key?: string) => {
|
|
15
|
-
[x: string]: any;
|
|
16
|
-
pointerEvents: string;
|
|
17
|
-
};
|
|
18
|
-
export declare const correct: (key?: string) => {
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
pointerEvents: string;
|
|
21
|
-
};
|
|
22
|
-
export declare const incorrect: (key?: string) => {
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
pointerEvents: string;
|
|
25
|
-
};
|
|
26
|
-
export declare const missing: (key?: string) => {
|
|
27
|
-
[x: string]: any;
|
|
28
|
-
pointerEvents: string;
|
|
29
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { color as e } from "@pie-lib/render-ui";
|
|
2
|
-
//#region src/tools/shared/styles.ts
|
|
3
|
-
var t = () => e.visualElementsColors.SHAPES_FILL_COLOR, n = (t = "fill") => ({
|
|
4
|
-
[t]: e.disabledSecondary(),
|
|
5
|
-
pointerEvents: "none"
|
|
6
|
-
}), r = (t = "fill") => ({
|
|
7
|
-
[t]: e.disabledSecondary(),
|
|
8
|
-
pointerEvents: "none"
|
|
9
|
-
}), i = (t = "fill") => ({
|
|
10
|
-
[t]: e.correctWithIcon(),
|
|
11
|
-
pointerEvents: "none"
|
|
12
|
-
}), a = (t = "fill") => ({
|
|
13
|
-
[t]: e.incorrectWithIcon(),
|
|
14
|
-
pointerEvents: "none"
|
|
15
|
-
}), o = (t = "fill") => ({
|
|
16
|
-
[t]: e.missingWithIcon(),
|
|
17
|
-
pointerEvents: "none"
|
|
18
|
-
});
|
|
19
|
-
//#endregion
|
|
20
|
-
export { i as correct, n as disabled, r as disabledSecondary, t as graphingShapeFill, a as incorrect, o as missing };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-lib/packages/graphing/src/tools/shared/types.js
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
import PropTypes from 'prop-types';
|
|
10
|
-
export declare const ToolPropTypeFields: {
|
|
11
|
-
mark: PropTypes.Requireable<any>;
|
|
12
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
13
|
-
onDragStart: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
|
-
onDragStop: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
-
};
|
|
16
|
-
export declare const ToolPropType: PropTypes.Requireable<PropTypes.InferProps<{
|
|
17
|
-
mark: PropTypes.Requireable<any>;
|
|
18
|
-
onChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
-
onDragStart: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
-
onDragStop: PropTypes.Requireable<(...args: any[]) => any>;
|
|
21
|
-
}>>;
|