@pie-lib/graphing-solution-set 0.1.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/dist/_virtual/_rolldown/runtime.js +23 -0
- package/dist/axis/arrow.d.ts +14 -0
- package/dist/axis/arrow.d.ts.map +1 -0
- package/dist/axis/arrow.js +34 -0
- package/dist/axis/axes.d.ts +133 -0
- package/dist/axis/axes.d.ts.map +1 -0
- package/dist/axis/axes.js +214 -0
- package/dist/axis/index.d.ts +11 -0
- package/dist/axis/index.d.ts.map +1 -0
- package/dist/bg.d.ts +52 -0
- package/dist/bg.d.ts.map +1 -0
- package/dist/bg.js +44 -0
- package/dist/container/actions.d.ts +16 -0
- package/dist/container/actions.d.ts.map +1 -0
- package/dist/container/actions.js +7 -0
- package/dist/container/index.d.ts +27 -0
- package/dist/container/index.d.ts.map +1 -0
- package/dist/container/index.js +48 -0
- package/dist/container/marks.d.ts +11 -0
- package/dist/container/marks.d.ts.map +1 -0
- package/dist/container/marks.js +11 -0
- package/dist/container/middleware.d.ts +11 -0
- package/dist/container/middleware.d.ts.map +1 -0
- package/dist/container/middleware.js +4 -0
- package/dist/container/reducer.d.ts +13 -0
- package/dist/container/reducer.d.ts.map +1 -0
- package/dist/container/reducer.js +7 -0
- package/dist/coordinates-label.d.ts +50 -0
- package/dist/coordinates-label.d.ts.map +1 -0
- package/dist/coordinates-label.js +46 -0
- package/dist/graph-with-controls.d.ts +86 -0
- package/dist/graph-with-controls.d.ts.map +1 -0
- package/dist/graph-with-controls.js +155 -0
- package/dist/graph.d.ts +120 -0
- package/dist/graph.d.ts.map +1 -0
- package/dist/graph.js +221 -0
- package/dist/grid-setup.d.ts +27 -0
- package/dist/grid-setup.d.ts.map +1 -0
- package/dist/grid-setup.js +307 -0
- package/dist/grid.d.ts +44 -0
- package/dist/grid.d.ts.map +1 -0
- package/dist/grid.js +59 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/labels.d.ts +74 -0
- package/dist/labels.d.ts.map +1 -0
- package/dist/labels.js +134 -0
- package/dist/mark-label.d.ts +50 -0
- package/dist/mark-label.d.ts.map +1 -0
- package/dist/mark-label.js +84 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +7 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js +12 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/extends.js +12 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +7 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +25 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +12 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +8 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +14 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +9 -0
- package/dist/node_modules/.bun/@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/typeof.js +11 -0
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Axis.js +100 -0
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/AxisRenderer.js +61 -0
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Ticks.js +42 -0
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/constants/orientation.js +9 -0
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js +14 -0
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getAxisRangePaddingConfig.js +21 -0
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getLabelTransform.js +16 -0
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickFormatter.js +8 -0
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickPosition.js +15 -0
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/Grid.js +78 -0
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js +79 -0
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js +79 -0
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/utils/getScaleBandwidth.js +6 -0
- package/dist/node_modules/.bun/@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js +49 -0
- package/dist/node_modules/.bun/@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js +18 -0
- package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js +10 -0
- package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js +9 -0
- package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/toString.js +6 -0
- package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Line.js +46 -0
- package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js +52 -0
- package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/Text.js +57 -0
- package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/hooks/useText.js +91 -0
- package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/util/getStringWidth.js +21 -0
- package/dist/node_modules/.bun/balanced-match@0.4.2/node_modules/balanced-match/index.js +32 -0
- package/dist/node_modules/.bun/balanced-match@1.0.2/node_modules/balanced-match/index.js +33 -0
- package/dist/node_modules/.bun/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +68 -0
- package/dist/node_modules/.bun/invariant@2.2.4/node_modules/invariant/browser.js +28 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_Hash.js +21 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_ListCache.js +21 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_Map.js +10 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_MapCache.js +21 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_Symbol.js +9 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js +14 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseGetTag.js +15 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_baseIsNative.js +16 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_coreJsData.js +9 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_freeGlobal.js +8 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getMapData.js +14 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getNative.js +15 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getRawTag.js +19 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_getValue.js +11 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashClear.js +13 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashDelete.js +12 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashGet.js +18 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashHas.js +14 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_hashSet.js +14 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_isKeyable.js +12 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_isMasked.js +16 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheClear.js +11 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js +14 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheGet.js +14 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheHas.js +13 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_listCacheSet.js +14 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js +19 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js +14 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js +13 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js +13 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js +14 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_nativeCreate.js +9 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_objectToString.js +12 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_root.js +10 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/_toSource.js +20 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/eq.js +11 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/isFunction.js +16 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/isObject.js +12 -0
- package/dist/node_modules/.bun/lodash@4.17.21/node_modules/lodash/memoize.js +20 -0
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/formula_evaluator.js +37 -0
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/lexer.js +509 -0
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/math_function.js +108 -0
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/postfix.js +31 -0
- package/dist/node_modules/.bun/math-expression-evaluator@1.4.0/node_modules/math-expression-evaluator/src/postfix_evaluator.js +45 -0
- package/dist/node_modules/.bun/react-input-autosize@2.2.2_f4eacebf2041cd4f/node_modules/react-input-autosize/lib/AutosizeInput.js +216 -0
- package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +82 -0
- package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +62 -0
- package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/index.js +10 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/components/Context.js +5 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/components/Provider.js +47 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/components/connectAdvanced.js +95 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/connect.js +52 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/mapDispatchToProps.js +23 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/mapStateToProps.js +13 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/mergeProps.js +26 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/selectorFactory.js +41 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/verifySubselectors.js +11 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/connect/wrapMapToProps.js +28 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/index.js +4 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/utils/isPlainObject.js +10 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/utils/shallowEqual.js +15 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/utils/verifyPlainObject.js +8 -0
- package/dist/node_modules/.bun/react-redux@6.0.1_926323a638b43722/node_modules/react-redux/es/utils/warning.js +9 -0
- package/dist/node_modules/.bun/reduce-css-calc@1.3.0/node_modules/reduce-css-calc/index.js +49 -0
- package/dist/node_modules/.bun/reduce-function-call@1.0.3/node_modules/reduce-function-call/index.js +34 -0
- package/dist/node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js +185 -0
- package/dist/node_modules/.bun/redux@4.2.1/node_modules/redux/es/redux.js +225 -0
- package/dist/toggle-bar.d.ts +41 -0
- package/dist/toggle-bar.d.ts.map +1 -0
- package/dist/tool-menu.d.ts +22 -0
- package/dist/tool-menu.d.ts.map +1 -0
- package/dist/tool-menu.js +188 -0
- package/dist/tools/index.d.ts +18 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +12 -0
- package/dist/tools/line/component.d.ts +92 -0
- package/dist/tools/line/component.d.ts.map +1 -0
- package/dist/tools/line/component.js +58 -0
- package/dist/tools/line/index.d.ts +14 -0
- package/dist/tools/line/index.d.ts.map +1 -0
- package/dist/tools/line/index.js +6 -0
- package/dist/tools/polygon/component.d.ts +115 -0
- package/dist/tools/polygon/component.d.ts.map +1 -0
- package/dist/tools/polygon/component.js +194 -0
- package/dist/tools/polygon/index.d.ts +20 -0
- package/dist/tools/polygon/index.d.ts.map +1 -0
- package/dist/tools/polygon/index.js +55 -0
- package/dist/tools/polygon/line.d.ts +105 -0
- package/dist/tools/polygon/line.d.ts.map +1 -0
- package/dist/tools/polygon/polygon.d.ts +102 -0
- package/dist/tools/polygon/polygon.d.ts.map +1 -0
- package/dist/tools/polygon/polygon.js +62 -0
- package/dist/tools/shared/arrow-head.d.ts +43 -0
- package/dist/tools/shared/arrow-head.d.ts.map +1 -0
- package/dist/tools/shared/arrow-head.js +37 -0
- package/dist/tools/shared/line/index.d.ts +165 -0
- package/dist/tools/shared/line/index.d.ts.map +1 -0
- package/dist/tools/shared/line/index.js +320 -0
- package/dist/tools/shared/line/line-path.d.ts +58 -0
- package/dist/tools/shared/line/line-path.d.ts.map +1 -0
- package/dist/tools/shared/line/with-root-edge.d.ts +89 -0
- package/dist/tools/shared/line/with-root-edge.d.ts.map +1 -0
- package/dist/tools/shared/point/arrow-point.d.ts +58 -0
- package/dist/tools/shared/point/arrow-point.d.ts.map +1 -0
- package/dist/tools/shared/point/arrow-point.js +47 -0
- package/dist/tools/shared/point/arrow.d.ts +47 -0
- package/dist/tools/shared/point/arrow.d.ts.map +1 -0
- package/dist/tools/shared/point/arrow.js +36 -0
- package/dist/tools/shared/point/base-point.d.ts +51 -0
- package/dist/tools/shared/point/base-point.d.ts.map +1 -0
- package/dist/tools/shared/point/base-point.js +88 -0
- package/dist/tools/shared/point/index.d.ts +154 -0
- package/dist/tools/shared/point/index.d.ts.map +1 -0
- package/dist/tools/shared/point/index.js +51 -0
- package/dist/tools/shared/styles.d.ts +25 -0
- package/dist/tools/shared/styles.d.ts.map +1 -0
- package/dist/tools/shared/styles.js +17 -0
- package/dist/tools/shared/types.d.ts +16 -0
- package/dist/tools/shared/types.d.ts.map +1 -0
- package/dist/tools/shared/types.js +10 -0
- package/dist/undo-redo.d.ts +21 -0
- package/dist/undo-redo.d.ts.map +1 -0
- package/dist/undo-redo.js +33 -0
- package/dist/use-debounce.d.ts +10 -0
- package/dist/use-debounce.d.ts.map +1 -0
- package/dist/use-debounce.js +13 -0
- package/dist/utils.d.ts +59 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/utils.js +72 -0
- package/package.json +64 -0
- package/src/axis/arrow.tsx +67 -0
- package/src/axis/axes.tsx +321 -0
- package/src/axis/index.ts +13 -0
- package/src/bg.tsx +106 -0
- package/src/container/actions.ts +18 -0
- package/src/container/index.tsx +95 -0
- package/src/container/marks.ts +24 -0
- package/src/container/middleware.ts +17 -0
- package/src/container/reducer.ts +15 -0
- package/src/coordinates-label.tsx +72 -0
- package/src/graph-with-controls.tsx +252 -0
- package/src/graph.tsx +343 -0
- package/src/grid-setup.tsx +470 -0
- package/src/grid.tsx +143 -0
- package/src/index.ts +17 -0
- package/src/labels.tsx +211 -0
- package/src/mark-label.tsx +135 -0
- package/src/toggle-bar.tsx +231 -0
- package/src/tool-menu.tsx +245 -0
- package/src/tools/index.ts +18 -0
- package/src/tools/line/component.tsx +87 -0
- package/src/tools/line/index.ts +14 -0
- package/src/tools/polygon/component.tsx +334 -0
- package/src/tools/polygon/index.ts +62 -0
- package/src/tools/polygon/line.tsx +90 -0
- package/src/tools/polygon/polygon.tsx +103 -0
- package/src/tools/shared/arrow-head.tsx +56 -0
- package/src/tools/shared/line/index.tsx +481 -0
- package/src/tools/shared/line/line-path.tsx +95 -0
- package/src/tools/shared/line/with-root-edge.tsx +107 -0
- package/src/tools/shared/point/arrow-point.tsx +70 -0
- package/src/tools/shared/point/arrow.tsx +50 -0
- package/src/tools/shared/point/base-point.tsx +123 -0
- package/src/tools/shared/point/index.tsx +68 -0
- package/src/tools/shared/styles.ts +30 -0
- package/src/tools/shared/types.ts +18 -0
- package/src/undo-redo.tsx +47 -0
- package/src/use-debounce.ts +23 -0
- package/src/utils.ts +240 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import e from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
|
|
2
|
+
import t from "../../../../../../@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Line.js";
|
|
3
|
+
import n from "../../../../../../@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/Text.js";
|
|
4
|
+
import r from "../constants/orientation.js";
|
|
5
|
+
import i from "react";
|
|
6
|
+
import a from "classnames";
|
|
7
|
+
//#region ../../../node_modules/.bun/@visx+axis@3.12.0+f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Ticks.js
|
|
8
|
+
function o() {
|
|
9
|
+
return o = Object.assign ? Object.assign.bind() : function(e) {
|
|
10
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
11
|
+
var n = arguments[t];
|
|
12
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
13
|
+
}
|
|
14
|
+
return e;
|
|
15
|
+
}, o.apply(this, arguments);
|
|
16
|
+
}
|
|
17
|
+
function s(s) {
|
|
18
|
+
var c = s.hideTicks, l = s.horizontal, u = s.orientation, d = s.tickClassName, f = s.tickComponent, p = s.tickLabelProps, m = s.tickStroke, h = m === void 0 ? "#222" : m, g = s.tickTransform, _ = s.ticks, v = s.strokeWidth, y = s.tickLineProps;
|
|
19
|
+
return _.map(function(s) {
|
|
20
|
+
var m = s.value, _ = s.index, b = s.from, x = s.to, S = s.formattedValue, C = p[_] ?? {}, w = Math.max(10, typeof C.fontSize == "number" && C.fontSize || 0), T = x.y + (l && u !== r.top ? w : 0);
|
|
21
|
+
return /* @__PURE__ */ i.createElement(e, {
|
|
22
|
+
key: "visx-tick-" + m + "-" + _,
|
|
23
|
+
className: a("visx-axis-tick", d),
|
|
24
|
+
transform: g
|
|
25
|
+
}, !c && /* @__PURE__ */ i.createElement(t, o({
|
|
26
|
+
from: b,
|
|
27
|
+
to: x,
|
|
28
|
+
stroke: h,
|
|
29
|
+
strokeWidth: v,
|
|
30
|
+
strokeLinecap: "square"
|
|
31
|
+
}, y)), f ? f(o({}, C, {
|
|
32
|
+
x: x.x,
|
|
33
|
+
y: T,
|
|
34
|
+
formattedValue: S
|
|
35
|
+
})) : /* @__PURE__ */ i.createElement(n, o({
|
|
36
|
+
x: x.x,
|
|
37
|
+
y: T
|
|
38
|
+
}, C), S));
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
//#endregion
|
|
42
|
+
export { s as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Point as e } from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/@visx+axis@3.12.0+f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js
|
|
3
|
+
function t(t, n) {
|
|
4
|
+
var r = t.x, i = t.y;
|
|
5
|
+
return new e(n ? {
|
|
6
|
+
x: r,
|
|
7
|
+
y: i
|
|
8
|
+
} : {
|
|
9
|
+
x: i,
|
|
10
|
+
y: r
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { t as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region ../../../node_modules/.bun/@visx+axis@3.12.0+f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getAxisRangePaddingConfig.js
|
|
2
|
+
function e() {
|
|
3
|
+
return e = Object.assign ? Object.assign.bind() : function(e) {
|
|
4
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
5
|
+
var n = arguments[t];
|
|
6
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
7
|
+
}
|
|
8
|
+
return e;
|
|
9
|
+
}, e.apply(this, arguments);
|
|
10
|
+
}
|
|
11
|
+
function t(t) {
|
|
12
|
+
return t === void 0 && (t = 0), typeof t == "number" ? {
|
|
13
|
+
start: t,
|
|
14
|
+
end: t
|
|
15
|
+
} : e({
|
|
16
|
+
start: 0,
|
|
17
|
+
end: 0
|
|
18
|
+
}, t);
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { t as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "../constants/orientation.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/@visx+axis@3.12.0+f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getLabelTransform.js
|
|
3
|
+
function t(t) {
|
|
4
|
+
var n = t.labelOffset, r = t.labelProps, i = t.orientation, a = t.range, o = t.tickLabelFontSize, s = t.tickLength, c = i === e.left || i === e.top ? -1 : 1, l, u, d;
|
|
5
|
+
if (i === e.top || i === e.bottom) {
|
|
6
|
+
var f = i === e.bottom && typeof r.fontSize == "number" ? r.fontSize : 0;
|
|
7
|
+
l = (Number(a[0]) + Number(a[a.length - 1])) / 2, u = c * (s + n + o + f);
|
|
8
|
+
} else l = c * ((Number(a[0]) + Number(a[a.length - 1])) / 2), u = -(s + n), d = "rotate(" + c * 90 + ")";
|
|
9
|
+
return {
|
|
10
|
+
x: l,
|
|
11
|
+
y: u,
|
|
12
|
+
transform: d
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { t as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/toString.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/@visx+axis@3.12.0+f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickFormatter.js
|
|
3
|
+
function t(t) {
|
|
4
|
+
var n = t;
|
|
5
|
+
return "tickFormat" in n ? n.tickFormat() : e;
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { t as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region ../../../node_modules/.bun/@visx+axis@3.12.0+f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickPosition.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
t === void 0 && (t = "center");
|
|
4
|
+
var n = e;
|
|
5
|
+
if (t !== "start" && "bandwidth" in n) {
|
|
6
|
+
var r = n.bandwidth();
|
|
7
|
+
return t === "center" && (r /= 2), n.round() && (r = Math.round(r)), function(e) {
|
|
8
|
+
var t = n(e);
|
|
9
|
+
return typeof t == "number" ? t + r : t;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
return e;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { e as default };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import e from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
|
|
2
|
+
import t from "./GridRows.js";
|
|
3
|
+
import n from "./GridColumns.js";
|
|
4
|
+
import r from "react";
|
|
5
|
+
import i from "prop-types";
|
|
6
|
+
import a from "classnames";
|
|
7
|
+
//#region ../../../node_modules/.bun/@visx+grid@3.12.0+f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/Grid.js
|
|
8
|
+
var o = [
|
|
9
|
+
"top",
|
|
10
|
+
"left",
|
|
11
|
+
"xScale",
|
|
12
|
+
"yScale",
|
|
13
|
+
"width",
|
|
14
|
+
"height",
|
|
15
|
+
"className",
|
|
16
|
+
"stroke",
|
|
17
|
+
"strokeWidth",
|
|
18
|
+
"strokeDasharray",
|
|
19
|
+
"numTicksRows",
|
|
20
|
+
"numTicksColumns",
|
|
21
|
+
"rowLineStyle",
|
|
22
|
+
"columnLineStyle",
|
|
23
|
+
"xOffset",
|
|
24
|
+
"yOffset",
|
|
25
|
+
"rowTickValues",
|
|
26
|
+
"columnTickValues"
|
|
27
|
+
];
|
|
28
|
+
function s() {
|
|
29
|
+
return s = Object.assign ? Object.assign.bind() : function(e) {
|
|
30
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
31
|
+
var n = arguments[t];
|
|
32
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
33
|
+
}
|
|
34
|
+
return e;
|
|
35
|
+
}, s.apply(this, arguments);
|
|
36
|
+
}
|
|
37
|
+
function c(e, t) {
|
|
38
|
+
if (e == null) return {};
|
|
39
|
+
var n = {}, r = Object.keys(e), i, a;
|
|
40
|
+
for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
41
|
+
return n;
|
|
42
|
+
}
|
|
43
|
+
function l(i) {
|
|
44
|
+
var l = i.top, u = i.left, d = i.xScale, f = i.yScale, p = i.width, m = i.height, h = i.className, g = i.stroke, _ = i.strokeWidth, v = i.strokeDasharray, y = i.numTicksRows, b = i.numTicksColumns, x = i.rowLineStyle, S = i.columnLineStyle, C = i.xOffset, w = i.yOffset, T = i.rowTickValues, E = i.columnTickValues, D = c(i, o);
|
|
45
|
+
return /* @__PURE__ */ r.createElement(e, {
|
|
46
|
+
className: a("visx-grid", h),
|
|
47
|
+
top: l,
|
|
48
|
+
left: u
|
|
49
|
+
}, /* @__PURE__ */ r.createElement(t, s({
|
|
50
|
+
className: h,
|
|
51
|
+
scale: f,
|
|
52
|
+
width: p,
|
|
53
|
+
stroke: g,
|
|
54
|
+
strokeWidth: _,
|
|
55
|
+
strokeDasharray: v,
|
|
56
|
+
numTicks: y,
|
|
57
|
+
lineStyle: x,
|
|
58
|
+
offset: w,
|
|
59
|
+
tickValues: T
|
|
60
|
+
}, D)), /* @__PURE__ */ r.createElement(n, s({
|
|
61
|
+
className: h,
|
|
62
|
+
scale: d,
|
|
63
|
+
height: m,
|
|
64
|
+
stroke: g,
|
|
65
|
+
strokeWidth: _,
|
|
66
|
+
strokeDasharray: v,
|
|
67
|
+
numTicks: b,
|
|
68
|
+
lineStyle: S,
|
|
69
|
+
offset: C,
|
|
70
|
+
tickValues: E
|
|
71
|
+
}, D)));
|
|
72
|
+
}
|
|
73
|
+
l.propTypes = {
|
|
74
|
+
rowTickValues: i.array,
|
|
75
|
+
columnTickValues: i.array
|
|
76
|
+
};
|
|
77
|
+
//#endregion
|
|
78
|
+
export { l as default };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import t from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
|
|
3
|
+
import n from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js";
|
|
4
|
+
import r from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js";
|
|
5
|
+
import { Point as i } from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
|
|
6
|
+
import { require_Line as a } from "../../../../../../@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js";
|
|
7
|
+
import o from "../utils/getScaleBandwidth.js";
|
|
8
|
+
import s from "react";
|
|
9
|
+
import c from "prop-types";
|
|
10
|
+
import l from "classnames";
|
|
11
|
+
//#region ../../../node_modules/.bun/@visx+grid@3.12.0+f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js
|
|
12
|
+
var u = /* @__PURE__ */ e(a()), d = [
|
|
13
|
+
"top",
|
|
14
|
+
"left",
|
|
15
|
+
"scale",
|
|
16
|
+
"height",
|
|
17
|
+
"stroke",
|
|
18
|
+
"strokeWidth",
|
|
19
|
+
"strokeDasharray",
|
|
20
|
+
"className",
|
|
21
|
+
"numTicks",
|
|
22
|
+
"lineStyle",
|
|
23
|
+
"offset",
|
|
24
|
+
"tickValues",
|
|
25
|
+
"children"
|
|
26
|
+
];
|
|
27
|
+
function f() {
|
|
28
|
+
return f = Object.assign ? Object.assign.bind() : function(e) {
|
|
29
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
30
|
+
var n = arguments[t];
|
|
31
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
32
|
+
}
|
|
33
|
+
return e;
|
|
34
|
+
}, f.apply(this, arguments);
|
|
35
|
+
}
|
|
36
|
+
function p(e, t) {
|
|
37
|
+
if (e == null) return {};
|
|
38
|
+
var n = {}, r = Object.keys(e), i, a;
|
|
39
|
+
for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
40
|
+
return n;
|
|
41
|
+
}
|
|
42
|
+
function m(e) {
|
|
43
|
+
var a = e.top, c = a === void 0 ? 0 : a, m = e.left, h = m === void 0 ? 0 : m, g = e.scale, _ = e.height, v = e.stroke, y = v === void 0 ? "#eaf0f6" : v, b = e.strokeWidth, x = b === void 0 ? 1 : b, S = e.strokeDasharray, C = e.className, w = e.numTicks, T = w === void 0 ? 10 : w, E = e.lineStyle, D = e.offset, O = e.tickValues, k = e.children, A = p(e, d), j = O ?? r(g, T), M = (D ?? 0) + o(g) / 2, N = j.map(function(e, t) {
|
|
44
|
+
var r = (n(g(e)) ?? 0) + M;
|
|
45
|
+
return {
|
|
46
|
+
index: t,
|
|
47
|
+
from: new i({
|
|
48
|
+
x: r,
|
|
49
|
+
y: 0
|
|
50
|
+
}),
|
|
51
|
+
to: new i({
|
|
52
|
+
x: r,
|
|
53
|
+
y: _
|
|
54
|
+
})
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
return /* @__PURE__ */ s.createElement(t, {
|
|
58
|
+
className: l("visx-columns", C),
|
|
59
|
+
top: c,
|
|
60
|
+
left: h
|
|
61
|
+
}, k ? k({ lines: N }) : N.map(function(e) {
|
|
62
|
+
var t = e.from, n = e.to, r = e.index;
|
|
63
|
+
return /* @__PURE__ */ s.createElement(u.default, f({
|
|
64
|
+
key: "column-line-" + r,
|
|
65
|
+
from: t,
|
|
66
|
+
to: n,
|
|
67
|
+
stroke: y,
|
|
68
|
+
strokeWidth: x,
|
|
69
|
+
strokeDasharray: S,
|
|
70
|
+
style: E
|
|
71
|
+
}, A));
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
m.propTypes = {
|
|
75
|
+
tickValues: c.array,
|
|
76
|
+
height: c.number.isRequired
|
|
77
|
+
};
|
|
78
|
+
//#endregion
|
|
79
|
+
export { m as default };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { __toESM as e } from "../../../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import t from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
|
|
3
|
+
import n from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js";
|
|
4
|
+
import r from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js";
|
|
5
|
+
import { Point as i } from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
|
|
6
|
+
import { require_Line as a } from "../../../../../../@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js";
|
|
7
|
+
import o from "../utils/getScaleBandwidth.js";
|
|
8
|
+
import s from "react";
|
|
9
|
+
import c from "prop-types";
|
|
10
|
+
import l from "classnames";
|
|
11
|
+
//#region ../../../node_modules/.bun/@visx+grid@3.12.0+f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js
|
|
12
|
+
var u = /* @__PURE__ */ e(a()), d = [
|
|
13
|
+
"top",
|
|
14
|
+
"left",
|
|
15
|
+
"scale",
|
|
16
|
+
"width",
|
|
17
|
+
"stroke",
|
|
18
|
+
"strokeWidth",
|
|
19
|
+
"strokeDasharray",
|
|
20
|
+
"className",
|
|
21
|
+
"children",
|
|
22
|
+
"numTicks",
|
|
23
|
+
"lineStyle",
|
|
24
|
+
"offset",
|
|
25
|
+
"tickValues"
|
|
26
|
+
];
|
|
27
|
+
function f() {
|
|
28
|
+
return f = Object.assign ? Object.assign.bind() : function(e) {
|
|
29
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
30
|
+
var n = arguments[t];
|
|
31
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
32
|
+
}
|
|
33
|
+
return e;
|
|
34
|
+
}, f.apply(this, arguments);
|
|
35
|
+
}
|
|
36
|
+
function p(e, t) {
|
|
37
|
+
if (e == null) return {};
|
|
38
|
+
var n = {}, r = Object.keys(e), i, a;
|
|
39
|
+
for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
40
|
+
return n;
|
|
41
|
+
}
|
|
42
|
+
function m(e) {
|
|
43
|
+
var a = e.top, c = a === void 0 ? 0 : a, m = e.left, h = m === void 0 ? 0 : m, g = e.scale, _ = e.width, v = e.stroke, y = v === void 0 ? "#eaf0f6" : v, b = e.strokeWidth, x = b === void 0 ? 1 : b, S = e.strokeDasharray, C = e.className, w = e.children, T = e.numTicks, E = T === void 0 ? 10 : T, D = e.lineStyle, O = e.offset, k = e.tickValues, A = p(e, d), j = k ?? r(g, E), M = (O ?? 0) + o(g) / 2, N = j.map(function(e, t) {
|
|
44
|
+
var r = (n(g(e)) ?? 0) + M;
|
|
45
|
+
return {
|
|
46
|
+
index: t,
|
|
47
|
+
from: new i({
|
|
48
|
+
x: 0,
|
|
49
|
+
y: r
|
|
50
|
+
}),
|
|
51
|
+
to: new i({
|
|
52
|
+
x: _,
|
|
53
|
+
y: r
|
|
54
|
+
})
|
|
55
|
+
};
|
|
56
|
+
});
|
|
57
|
+
return /* @__PURE__ */ s.createElement(t, {
|
|
58
|
+
className: l("visx-rows", C),
|
|
59
|
+
top: c,
|
|
60
|
+
left: h
|
|
61
|
+
}, w ? w({ lines: N }) : N.map(function(e) {
|
|
62
|
+
var t = e.from, n = e.to, r = e.index;
|
|
63
|
+
return /* @__PURE__ */ s.createElement(u.default, f({
|
|
64
|
+
key: "row-line-" + r,
|
|
65
|
+
from: t,
|
|
66
|
+
to: n,
|
|
67
|
+
stroke: y,
|
|
68
|
+
strokeWidth: x,
|
|
69
|
+
strokeDasharray: S,
|
|
70
|
+
style: D
|
|
71
|
+
}, A));
|
|
72
|
+
}));
|
|
73
|
+
}
|
|
74
|
+
m.propTypes = {
|
|
75
|
+
tickValues: c.array,
|
|
76
|
+
width: c.number.isRequired
|
|
77
|
+
};
|
|
78
|
+
//#endregion
|
|
79
|
+
export { m as default };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import t from "prop-types";
|
|
3
|
+
import n from "classnames";
|
|
4
|
+
//#region ../../../node_modules/.bun/@visx+group@3.12.0+f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js
|
|
5
|
+
var r = [
|
|
6
|
+
"top",
|
|
7
|
+
"left",
|
|
8
|
+
"transform",
|
|
9
|
+
"className",
|
|
10
|
+
"children",
|
|
11
|
+
"innerRef"
|
|
12
|
+
];
|
|
13
|
+
function i() {
|
|
14
|
+
return i = Object.assign ? Object.assign.bind() : function(e) {
|
|
15
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
16
|
+
var n = arguments[t];
|
|
17
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
18
|
+
}
|
|
19
|
+
return e;
|
|
20
|
+
}, i.apply(this, arguments);
|
|
21
|
+
}
|
|
22
|
+
function a(e, t) {
|
|
23
|
+
if (e == null) return {};
|
|
24
|
+
var n = {}, r = Object.keys(e), i, a;
|
|
25
|
+
for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
26
|
+
return n;
|
|
27
|
+
}
|
|
28
|
+
function o(t) {
|
|
29
|
+
var o = t.top, s = o === void 0 ? 0 : o, c = t.left, l = c === void 0 ? 0 : c, u = t.transform, d = t.className, f = t.children, p = t.innerRef, m = a(t, r);
|
|
30
|
+
return /* @__PURE__ */ e.createElement("g", i({
|
|
31
|
+
ref: p,
|
|
32
|
+
className: n("visx-group", d),
|
|
33
|
+
transform: u || "translate(" + l + ", " + s + ")"
|
|
34
|
+
}, m), f);
|
|
35
|
+
}
|
|
36
|
+
o.propTypes = {
|
|
37
|
+
top: t.number,
|
|
38
|
+
left: t.number,
|
|
39
|
+
transform: t.string,
|
|
40
|
+
className: t.string,
|
|
41
|
+
children: t.node,
|
|
42
|
+
innerRef: t.oneOfType([
|
|
43
|
+
t.string,
|
|
44
|
+
t.func,
|
|
45
|
+
t.object
|
|
46
|
+
])
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { o as default };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
//#region ../../../node_modules/.bun/@visx+point@3.12.0/node_modules/@visx/point/esm/Point.js
|
|
2
|
+
var e = /* @__PURE__ */ function() {
|
|
3
|
+
function e(e) {
|
|
4
|
+
var t = e.x, n = t === void 0 ? 0 : t, r = e.y, i = r === void 0 ? 0 : r;
|
|
5
|
+
this.x = 0, this.y = 0, this.x = n, this.y = i;
|
|
6
|
+
}
|
|
7
|
+
var t = e.prototype;
|
|
8
|
+
return t.value = function() {
|
|
9
|
+
return {
|
|
10
|
+
x: this.x,
|
|
11
|
+
y: this.y
|
|
12
|
+
};
|
|
13
|
+
}, t.toArray = function() {
|
|
14
|
+
return [this.x, this.y];
|
|
15
|
+
}, e;
|
|
16
|
+
}();
|
|
17
|
+
//#endregion
|
|
18
|
+
export { e as Point };
|
package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region ../../../node_modules/.bun/@visx+scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
if ((typeof e == "function" || typeof e == "object" && e) && "valueOf" in e) {
|
|
4
|
+
var t = e.valueOf();
|
|
5
|
+
if (typeof t == "number") return t;
|
|
6
|
+
}
|
|
7
|
+
return e;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { e as default };
|
package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../../../node_modules/.bun/@visx+scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
var n = e;
|
|
4
|
+
return "ticks" in n ? n.ticks(t) : n.domain().filter(function(e, n, r) {
|
|
5
|
+
return t == null || r.length <= t || n % Math.round((r.length - 1) / t) === 0;
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { e as default };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import t from "classnames";
|
|
3
|
+
//#region ../../../node_modules/.bun/@visx+shape@3.12.0+f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Line.js
|
|
4
|
+
var n = [
|
|
5
|
+
"from",
|
|
6
|
+
"to",
|
|
7
|
+
"fill",
|
|
8
|
+
"className",
|
|
9
|
+
"innerRef"
|
|
10
|
+
];
|
|
11
|
+
function r() {
|
|
12
|
+
return r = Object.assign ? Object.assign.bind() : function(e) {
|
|
13
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
14
|
+
var n = arguments[t];
|
|
15
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
16
|
+
}
|
|
17
|
+
return e;
|
|
18
|
+
}, r.apply(this, arguments);
|
|
19
|
+
}
|
|
20
|
+
function i(e, t) {
|
|
21
|
+
if (e == null) return {};
|
|
22
|
+
var n = {}, r = Object.keys(e), i, a;
|
|
23
|
+
for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
24
|
+
return n;
|
|
25
|
+
}
|
|
26
|
+
function a(a) {
|
|
27
|
+
var o = a.from, s = o === void 0 ? {
|
|
28
|
+
x: 0,
|
|
29
|
+
y: 0
|
|
30
|
+
} : o, c = a.to, l = c === void 0 ? {
|
|
31
|
+
x: 1,
|
|
32
|
+
y: 1
|
|
33
|
+
} : c, u = a.fill, d = u === void 0 ? "transparent" : u, f = a.className, p = a.innerRef, m = i(a, n), h = s.x === l.x || s.y === l.y;
|
|
34
|
+
return /* @__PURE__ */ e.createElement("line", r({
|
|
35
|
+
ref: p,
|
|
36
|
+
className: t("visx-line", f),
|
|
37
|
+
x1: s.x,
|
|
38
|
+
y1: s.y,
|
|
39
|
+
x2: l.x,
|
|
40
|
+
y2: l.y,
|
|
41
|
+
fill: d,
|
|
42
|
+
shapeRendering: h ? "crispEdges" : "auto"
|
|
43
|
+
}, m));
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
export { a as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __commonJSMin as e, __require as t } from "../../../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/@visx+shape@3.12.0+f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js
|
|
3
|
+
var n = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
e.__esModule = !0, e.default = c;
|
|
5
|
+
var n = a(t("react")), r = a(t("classnames")), i = [
|
|
6
|
+
"from",
|
|
7
|
+
"to",
|
|
8
|
+
"fill",
|
|
9
|
+
"className",
|
|
10
|
+
"innerRef"
|
|
11
|
+
];
|
|
12
|
+
function a(e) {
|
|
13
|
+
return e && e.__esModule ? e : { default: e };
|
|
14
|
+
}
|
|
15
|
+
function o() {
|
|
16
|
+
return o = Object.assign ? Object.assign.bind() : function(e) {
|
|
17
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
18
|
+
var n = arguments[t];
|
|
19
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
20
|
+
}
|
|
21
|
+
return e;
|
|
22
|
+
}, o.apply(this, arguments);
|
|
23
|
+
}
|
|
24
|
+
function s(e, t) {
|
|
25
|
+
if (e == null) return {};
|
|
26
|
+
var n = {}, r = Object.keys(e), i, a;
|
|
27
|
+
for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
28
|
+
return n;
|
|
29
|
+
}
|
|
30
|
+
function c(e) {
|
|
31
|
+
var t = e.from, a = t === void 0 ? {
|
|
32
|
+
x: 0,
|
|
33
|
+
y: 0
|
|
34
|
+
} : t, c = e.to, l = c === void 0 ? {
|
|
35
|
+
x: 1,
|
|
36
|
+
y: 1
|
|
37
|
+
} : c, u = e.fill, d = u === void 0 ? "transparent" : u, f = e.className, p = e.innerRef, m = s(e, i), h = a.x === l.x || a.y === l.y;
|
|
38
|
+
return /* @__PURE__ */ n.default.createElement("line", o({
|
|
39
|
+
ref: p,
|
|
40
|
+
className: (0, r.default)("visx-line", f),
|
|
41
|
+
x1: a.x,
|
|
42
|
+
y1: a.y,
|
|
43
|
+
x2: l.x,
|
|
44
|
+
y2: l.y,
|
|
45
|
+
fill: d,
|
|
46
|
+
shapeRendering: h ? "crispEdges" : "auto"
|
|
47
|
+
}, m));
|
|
48
|
+
}
|
|
49
|
+
}));
|
|
50
|
+
//#endregion
|
|
51
|
+
export default n();
|
|
52
|
+
export { n as require_Line };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import e from "./hooks/useText.js";
|
|
2
|
+
import t from "react";
|
|
3
|
+
//#region ../../../node_modules/.bun/@visx+text@3.12.0+f4eacebf2041cd4f/node_modules/@visx/text/esm/Text.js
|
|
4
|
+
var n = [
|
|
5
|
+
"dx",
|
|
6
|
+
"dy",
|
|
7
|
+
"textAnchor",
|
|
8
|
+
"innerRef",
|
|
9
|
+
"innerTextRef",
|
|
10
|
+
"verticalAnchor",
|
|
11
|
+
"angle",
|
|
12
|
+
"lineHeight",
|
|
13
|
+
"scaleToFit",
|
|
14
|
+
"capHeight",
|
|
15
|
+
"width"
|
|
16
|
+
];
|
|
17
|
+
function r() {
|
|
18
|
+
return r = Object.assign ? Object.assign.bind() : function(e) {
|
|
19
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
20
|
+
var n = arguments[t];
|
|
21
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
22
|
+
}
|
|
23
|
+
return e;
|
|
24
|
+
}, r.apply(this, arguments);
|
|
25
|
+
}
|
|
26
|
+
function i(e, t) {
|
|
27
|
+
if (e == null) return {};
|
|
28
|
+
var n = {}, r = Object.keys(e), i, a;
|
|
29
|
+
for (a = 0; a < r.length; a++) i = r[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
30
|
+
return n;
|
|
31
|
+
}
|
|
32
|
+
var a = { overflow: "visible" };
|
|
33
|
+
function o(o) {
|
|
34
|
+
var s = o.dx, c = s === void 0 ? 0 : s, l = o.dy, u = l === void 0 ? 0 : l, d = o.textAnchor, f = d === void 0 ? "start" : d, p = o.innerRef, m = o.innerTextRef;
|
|
35
|
+
o.verticalAnchor, o.angle;
|
|
36
|
+
var h = o.lineHeight, g = h === void 0 ? "1em" : h;
|
|
37
|
+
o.scaleToFit, o.capHeight, o.width;
|
|
38
|
+
var _ = i(o, n), v = _.x, y = v === void 0 ? 0 : v, b = _.fontSize, x = e(o), S = x.wordsByLines, C = x.startDy, w = x.transform;
|
|
39
|
+
return /* @__PURE__ */ t.createElement("svg", {
|
|
40
|
+
ref: p,
|
|
41
|
+
x: c,
|
|
42
|
+
y: u,
|
|
43
|
+
fontSize: b,
|
|
44
|
+
style: a
|
|
45
|
+
}, S.length > 0 ? /* @__PURE__ */ t.createElement("text", r({
|
|
46
|
+
ref: m,
|
|
47
|
+
transform: w
|
|
48
|
+
}, _, { textAnchor: f }), S.map(function(e, n) {
|
|
49
|
+
return /* @__PURE__ */ t.createElement("tspan", {
|
|
50
|
+
key: n,
|
|
51
|
+
x: y,
|
|
52
|
+
dy: n === 0 ? C : g
|
|
53
|
+
}, e.words.join(" "));
|
|
54
|
+
})) : null);
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
export { o as default };
|