@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,216 @@
|
|
|
1
|
+
import { __commonJSMin as e, __require as t } from "../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/react-input-autosize@2.2.2+f4eacebf2041cd4f/node_modules/react-input-autosize/lib/AutosizeInput.js
|
|
3
|
+
var n = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
5
|
+
var n = Object.assign || function(e) {
|
|
6
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
7
|
+
var n = arguments[t];
|
|
8
|
+
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
9
|
+
}
|
|
10
|
+
return e;
|
|
11
|
+
}, r = function() {
|
|
12
|
+
function e(e, t) {
|
|
13
|
+
for (var n = 0; n < t.length; n++) {
|
|
14
|
+
var r = t[n];
|
|
15
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return function(t, n, r) {
|
|
19
|
+
return n && e(t.prototype, n), r && e(t, r), t;
|
|
20
|
+
};
|
|
21
|
+
}(), i = t("react"), a = s(i), o = s(t("prop-types"));
|
|
22
|
+
function s(e) {
|
|
23
|
+
return e && e.__esModule ? e : { default: e };
|
|
24
|
+
}
|
|
25
|
+
function c(e, t) {
|
|
26
|
+
var n = {};
|
|
27
|
+
for (var r in e) t.indexOf(r) >= 0 || Object.prototype.hasOwnProperty.call(e, r) && (n[r] = e[r]);
|
|
28
|
+
return n;
|
|
29
|
+
}
|
|
30
|
+
function l(e, t) {
|
|
31
|
+
if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
|
|
32
|
+
}
|
|
33
|
+
function u(e, t) {
|
|
34
|
+
if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
35
|
+
return t && (typeof t == "object" || typeof t == "function") ? t : e;
|
|
36
|
+
}
|
|
37
|
+
function d(e, t) {
|
|
38
|
+
if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
39
|
+
e.prototype = Object.create(t && t.prototype, { constructor: {
|
|
40
|
+
value: e,
|
|
41
|
+
enumerable: !1,
|
|
42
|
+
writable: !0,
|
|
43
|
+
configurable: !0
|
|
44
|
+
} }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
45
|
+
}
|
|
46
|
+
var f = {
|
|
47
|
+
position: "absolute",
|
|
48
|
+
top: 0,
|
|
49
|
+
left: 0,
|
|
50
|
+
visibility: "hidden",
|
|
51
|
+
height: 0,
|
|
52
|
+
overflow: "scroll",
|
|
53
|
+
whiteSpace: "pre"
|
|
54
|
+
}, p = [
|
|
55
|
+
"extraWidth",
|
|
56
|
+
"injectStyles",
|
|
57
|
+
"inputClassName",
|
|
58
|
+
"inputRef",
|
|
59
|
+
"inputStyle",
|
|
60
|
+
"minWidth",
|
|
61
|
+
"onAutosize",
|
|
62
|
+
"placeholderIsMinWidth"
|
|
63
|
+
], m = function(e) {
|
|
64
|
+
return p.forEach(function(t) {
|
|
65
|
+
return delete e[t];
|
|
66
|
+
}), e;
|
|
67
|
+
}, h = function(e, t) {
|
|
68
|
+
t.style.fontSize = e.fontSize, t.style.fontFamily = e.fontFamily, t.style.fontWeight = e.fontWeight, t.style.fontStyle = e.fontStyle, t.style.letterSpacing = e.letterSpacing, t.style.textTransform = e.textTransform;
|
|
69
|
+
}, g = typeof window < "u" && window.navigator ? /MSIE |Trident\/|Edge\//.test(window.navigator.userAgent) : !1, _ = function() {
|
|
70
|
+
return g ? "_" + Math.random().toString(36).substr(2, 12) : void 0;
|
|
71
|
+
}, v = function(e) {
|
|
72
|
+
d(t, e);
|
|
73
|
+
function t(e) {
|
|
74
|
+
l(this, t);
|
|
75
|
+
var n = u(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));
|
|
76
|
+
return n.inputRef = function(e) {
|
|
77
|
+
n.input = e, typeof n.props.inputRef == "function" && n.props.inputRef(e);
|
|
78
|
+
}, n.placeHolderSizerRef = function(e) {
|
|
79
|
+
n.placeHolderSizer = e;
|
|
80
|
+
}, n.sizerRef = function(e) {
|
|
81
|
+
n.sizer = e;
|
|
82
|
+
}, n.state = {
|
|
83
|
+
inputWidth: e.minWidth,
|
|
84
|
+
inputId: e.id || _()
|
|
85
|
+
}, n;
|
|
86
|
+
}
|
|
87
|
+
return r(t, [
|
|
88
|
+
{
|
|
89
|
+
key: "componentDidMount",
|
|
90
|
+
value: function() {
|
|
91
|
+
this.mounted = !0, this.copyInputStyles(), this.updateInputWidth();
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
key: "UNSAFE_componentWillReceiveProps",
|
|
96
|
+
value: function(e) {
|
|
97
|
+
var t = e.id;
|
|
98
|
+
t !== this.props.id && this.setState({ inputId: t || _() });
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
key: "componentDidUpdate",
|
|
103
|
+
value: function(e, t) {
|
|
104
|
+
t.inputWidth !== this.state.inputWidth && typeof this.props.onAutosize == "function" && this.props.onAutosize(this.state.inputWidth), this.updateInputWidth();
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
key: "componentWillUnmount",
|
|
109
|
+
value: function() {
|
|
110
|
+
this.mounted = !1;
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
key: "copyInputStyles",
|
|
115
|
+
value: function() {
|
|
116
|
+
if (!(!this.mounted || !window.getComputedStyle)) {
|
|
117
|
+
var e = this.input && window.getComputedStyle(this.input);
|
|
118
|
+
e && (h(e, this.sizer), this.placeHolderSizer && h(e, this.placeHolderSizer));
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
key: "updateInputWidth",
|
|
124
|
+
value: function() {
|
|
125
|
+
if (!(!this.mounted || !this.sizer || this.sizer.scrollWidth === void 0)) {
|
|
126
|
+
var e = void 0;
|
|
127
|
+
e = this.props.placeholder && (!this.props.value || this.props.value && this.props.placeholderIsMinWidth) ? Math.max(this.sizer.scrollWidth, this.placeHolderSizer.scrollWidth) + 2 : this.sizer.scrollWidth + 2;
|
|
128
|
+
var t = this.props.type === "number" && this.props.extraWidth === void 0 ? 16 : parseInt(this.props.extraWidth) || 0;
|
|
129
|
+
e += t, e < this.props.minWidth && (e = this.props.minWidth), e !== this.state.inputWidth && this.setState({ inputWidth: e });
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
key: "getInput",
|
|
135
|
+
value: function() {
|
|
136
|
+
return this.input;
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
key: "focus",
|
|
141
|
+
value: function() {
|
|
142
|
+
this.input.focus();
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
key: "blur",
|
|
147
|
+
value: function() {
|
|
148
|
+
this.input.blur();
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
key: "select",
|
|
153
|
+
value: function() {
|
|
154
|
+
this.input.select();
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
key: "renderStyles",
|
|
159
|
+
value: function() {
|
|
160
|
+
var e = this.props.injectStyles;
|
|
161
|
+
return g && e ? a.default.createElement("style", { dangerouslySetInnerHTML: { __html: "input#" + this.state.inputId + "::-ms-clear {display: none;}" } }) : null;
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
key: "render",
|
|
166
|
+
value: function() {
|
|
167
|
+
var e = [
|
|
168
|
+
this.props.defaultValue,
|
|
169
|
+
this.props.value,
|
|
170
|
+
""
|
|
171
|
+
].reduce(function(e, t) {
|
|
172
|
+
return e ?? t;
|
|
173
|
+
}), t = n({}, this.props.style);
|
|
174
|
+
t.display ||= "inline-block";
|
|
175
|
+
var r = n({
|
|
176
|
+
boxSizing: "content-box",
|
|
177
|
+
width: this.state.inputWidth + "px"
|
|
178
|
+
}, this.props.inputStyle), i = c(this.props, []);
|
|
179
|
+
return m(i), i.className = this.props.inputClassName, i.id = this.state.inputId, i.style = r, a.default.createElement("div", {
|
|
180
|
+
className: this.props.className,
|
|
181
|
+
style: t
|
|
182
|
+
}, this.renderStyles(), a.default.createElement("input", n({}, i, { ref: this.inputRef })), a.default.createElement("div", {
|
|
183
|
+
ref: this.sizerRef,
|
|
184
|
+
style: f
|
|
185
|
+
}, e), this.props.placeholder ? a.default.createElement("div", {
|
|
186
|
+
ref: this.placeHolderSizerRef,
|
|
187
|
+
style: f
|
|
188
|
+
}, this.props.placeholder) : null);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]), t;
|
|
192
|
+
}(i.Component);
|
|
193
|
+
v.propTypes = {
|
|
194
|
+
className: o.default.string,
|
|
195
|
+
defaultValue: o.default.any,
|
|
196
|
+
extraWidth: o.default.oneOfType([o.default.number, o.default.string]),
|
|
197
|
+
id: o.default.string,
|
|
198
|
+
injectStyles: o.default.bool,
|
|
199
|
+
inputClassName: o.default.string,
|
|
200
|
+
inputRef: o.default.func,
|
|
201
|
+
inputStyle: o.default.object,
|
|
202
|
+
minWidth: o.default.oneOfType([o.default.number, o.default.string]),
|
|
203
|
+
onAutosize: o.default.func,
|
|
204
|
+
onChange: o.default.func,
|
|
205
|
+
placeholder: o.default.string,
|
|
206
|
+
placeholderIsMinWidth: o.default.bool,
|
|
207
|
+
style: o.default.object,
|
|
208
|
+
value: o.default.any
|
|
209
|
+
}, v.defaultProps = {
|
|
210
|
+
minWidth: 1,
|
|
211
|
+
injectStyles: !0
|
|
212
|
+
}, e.default = v;
|
|
213
|
+
}));
|
|
214
|
+
//#endregion
|
|
215
|
+
export default n();
|
|
216
|
+
export { n as require_AutosizeInput };
|
package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
5
|
+
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
6
|
+
function b(e) {
|
|
7
|
+
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
8
|
+
}
|
|
9
|
+
function x(e) {
|
|
10
|
+
if (typeof e == "object" && e) {
|
|
11
|
+
var t = e.$$typeof;
|
|
12
|
+
switch (t) {
|
|
13
|
+
case n:
|
|
14
|
+
var p = e.type;
|
|
15
|
+
switch (p) {
|
|
16
|
+
case l:
|
|
17
|
+
case u:
|
|
18
|
+
case i:
|
|
19
|
+
case o:
|
|
20
|
+
case a:
|
|
21
|
+
case f: return p;
|
|
22
|
+
default:
|
|
23
|
+
var g = p && p.$$typeof;
|
|
24
|
+
switch (g) {
|
|
25
|
+
case c:
|
|
26
|
+
case d:
|
|
27
|
+
case h:
|
|
28
|
+
case m:
|
|
29
|
+
case s: return g;
|
|
30
|
+
default: return t;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
case r: return t;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
var S = l, C = u, w = c, T = s, E = n, D = d, O = i, k = h, A = m, j = r, M = o, N = a, P = f, F = !1;
|
|
38
|
+
function I(e) {
|
|
39
|
+
return F || (F = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(e) || x(e) === l;
|
|
40
|
+
}
|
|
41
|
+
function L(e) {
|
|
42
|
+
return x(e) === u;
|
|
43
|
+
}
|
|
44
|
+
function R(e) {
|
|
45
|
+
return x(e) === c;
|
|
46
|
+
}
|
|
47
|
+
function z(e) {
|
|
48
|
+
return x(e) === s;
|
|
49
|
+
}
|
|
50
|
+
function B(e) {
|
|
51
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
52
|
+
}
|
|
53
|
+
function V(e) {
|
|
54
|
+
return x(e) === d;
|
|
55
|
+
}
|
|
56
|
+
function H(e) {
|
|
57
|
+
return x(e) === i;
|
|
58
|
+
}
|
|
59
|
+
function U(e) {
|
|
60
|
+
return x(e) === h;
|
|
61
|
+
}
|
|
62
|
+
function W(e) {
|
|
63
|
+
return x(e) === m;
|
|
64
|
+
}
|
|
65
|
+
function G(e) {
|
|
66
|
+
return x(e) === r;
|
|
67
|
+
}
|
|
68
|
+
function K(e) {
|
|
69
|
+
return x(e) === o;
|
|
70
|
+
}
|
|
71
|
+
function q(e) {
|
|
72
|
+
return x(e) === a;
|
|
73
|
+
}
|
|
74
|
+
function J(e) {
|
|
75
|
+
return x(e) === f;
|
|
76
|
+
}
|
|
77
|
+
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = I, e.isConcurrentMode = L, e.isContextConsumer = R, e.isContextProvider = z, e.isElement = B, e.isForwardRef = V, e.isFragment = H, e.isLazy = U, e.isMemo = W, e.isPortal = G, e.isProfiler = K, e.isStrictMode = q, e.isSuspense = J, e.isValidElementType = b, e.typeOf = x;
|
|
78
|
+
})();
|
|
79
|
+
}));
|
|
80
|
+
//#endregion
|
|
81
|
+
export default t();
|
|
82
|
+
export { t as require_react_is_development };
|
package/dist/node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e) => {
|
|
4
|
+
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
5
|
+
function b(e) {
|
|
6
|
+
if (typeof e == "object" && e) {
|
|
7
|
+
var t = e.$$typeof;
|
|
8
|
+
switch (t) {
|
|
9
|
+
case n: switch (e = e.type, e) {
|
|
10
|
+
case l:
|
|
11
|
+
case u:
|
|
12
|
+
case i:
|
|
13
|
+
case o:
|
|
14
|
+
case a:
|
|
15
|
+
case f: return e;
|
|
16
|
+
default: switch (e &&= e.$$typeof, e) {
|
|
17
|
+
case c:
|
|
18
|
+
case d:
|
|
19
|
+
case h:
|
|
20
|
+
case m:
|
|
21
|
+
case s: return e;
|
|
22
|
+
default: return t;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
case r: return t;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
function x(e) {
|
|
30
|
+
return b(e) === u;
|
|
31
|
+
}
|
|
32
|
+
e.AsyncMode = l, e.ConcurrentMode = u, e.ContextConsumer = c, e.ContextProvider = s, e.Element = n, e.ForwardRef = d, e.Fragment = i, e.Lazy = h, e.Memo = m, e.Portal = r, e.Profiler = o, e.StrictMode = a, e.Suspense = f, e.isAsyncMode = function(e) {
|
|
33
|
+
return x(e) || b(e) === l;
|
|
34
|
+
}, e.isConcurrentMode = x, e.isContextConsumer = function(e) {
|
|
35
|
+
return b(e) === c;
|
|
36
|
+
}, e.isContextProvider = function(e) {
|
|
37
|
+
return b(e) === s;
|
|
38
|
+
}, e.isElement = function(e) {
|
|
39
|
+
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
40
|
+
}, e.isForwardRef = function(e) {
|
|
41
|
+
return b(e) === d;
|
|
42
|
+
}, e.isFragment = function(e) {
|
|
43
|
+
return b(e) === i;
|
|
44
|
+
}, e.isLazy = function(e) {
|
|
45
|
+
return b(e) === h;
|
|
46
|
+
}, e.isMemo = function(e) {
|
|
47
|
+
return b(e) === m;
|
|
48
|
+
}, e.isPortal = function(e) {
|
|
49
|
+
return b(e) === r;
|
|
50
|
+
}, e.isProfiler = function(e) {
|
|
51
|
+
return b(e) === o;
|
|
52
|
+
}, e.isStrictMode = function(e) {
|
|
53
|
+
return b(e) === a;
|
|
54
|
+
}, e.isSuspense = function(e) {
|
|
55
|
+
return b(e) === f;
|
|
56
|
+
}, e.isValidElementType = function(e) {
|
|
57
|
+
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
58
|
+
}, e.typeOf = b;
|
|
59
|
+
}));
|
|
60
|
+
//#endregion
|
|
61
|
+
export default t();
|
|
62
|
+
export { t as require_react_is_production_min };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_react_is_production_min as t } from "./cjs/react-is.production.min.js";
|
|
3
|
+
import { require_react_is_development as n } from "./cjs/react-is.development.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/react-is@16.13.1/node_modules/react-is/index.js
|
|
5
|
+
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
|
+
process.env.NODE_ENV === "production" ? r.exports = t() : r.exports = n();
|
|
7
|
+
}));
|
|
8
|
+
//#endregion
|
|
9
|
+
export default r();
|
|
10
|
+
export { r as require_react_is };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { _inheritsLoose as e } from "../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js";
|
|
2
|
+
import t from "./Context.js";
|
|
3
|
+
import n, { Component as r } from "react";
|
|
4
|
+
import i from "prop-types";
|
|
5
|
+
//#region ../../../node_modules/.bun/react-redux@6.0.1+926323a638b43722/node_modules/react-redux/es/components/Provider.js
|
|
6
|
+
var a = /* @__PURE__ */ function(r) {
|
|
7
|
+
e(i, r);
|
|
8
|
+
function i(e) {
|
|
9
|
+
var t = r.call(this, e) || this, n = e.store;
|
|
10
|
+
return t.state = {
|
|
11
|
+
storeState: n.getState(),
|
|
12
|
+
store: n
|
|
13
|
+
}, t;
|
|
14
|
+
}
|
|
15
|
+
var a = i.prototype;
|
|
16
|
+
return a.componentDidMount = function() {
|
|
17
|
+
this._isMounted = !0, this.subscribe();
|
|
18
|
+
}, a.componentWillUnmount = function() {
|
|
19
|
+
this.unsubscribe && this.unsubscribe(), this._isMounted = !1;
|
|
20
|
+
}, a.componentDidUpdate = function(e) {
|
|
21
|
+
this.props.store !== e.store && (this.unsubscribe && this.unsubscribe(), this.subscribe());
|
|
22
|
+
}, a.subscribe = function() {
|
|
23
|
+
var e = this, t = this.props.store;
|
|
24
|
+
this.unsubscribe = t.subscribe(function() {
|
|
25
|
+
var n = t.getState();
|
|
26
|
+
e._isMounted && e.setState(function(e) {
|
|
27
|
+
return e.storeState === n ? null : { storeState: n };
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
var n = t.getState();
|
|
31
|
+
n !== this.state.storeState && this.setState({ storeState: n });
|
|
32
|
+
}, a.render = function() {
|
|
33
|
+
var e = this.props.context || t;
|
|
34
|
+
return n.createElement(e.Provider, { value: this.state }, this.props.children);
|
|
35
|
+
}, i;
|
|
36
|
+
}(r);
|
|
37
|
+
a.propTypes = {
|
|
38
|
+
store: i.shape({
|
|
39
|
+
subscribe: i.func.isRequired,
|
|
40
|
+
dispatch: i.func.isRequired,
|
|
41
|
+
getState: i.func.isRequired
|
|
42
|
+
}),
|
|
43
|
+
context: i.object,
|
|
44
|
+
children: i.any
|
|
45
|
+
};
|
|
46
|
+
//#endregion
|
|
47
|
+
export { a as default };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { __toESM as e } from "../../../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { require_browser as t } from "../../../../../invariant@2.2.4/node_modules/invariant/browser.js";
|
|
3
|
+
import { _inheritsLoose as n } from "../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js";
|
|
4
|
+
import r from "./Context.js";
|
|
5
|
+
import { _assertThisInitialized as i } from "../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js";
|
|
6
|
+
import { _extends as a } from "../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/extends.js";
|
|
7
|
+
import { _objectWithoutPropertiesLoose as o } from "../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";
|
|
8
|
+
import { require_react_is as s } from "../../../../../react-is@16.13.1/node_modules/react-is/index.js";
|
|
9
|
+
import { require_hoist_non_react_statics_cjs as c } from "../../../../../hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js";
|
|
10
|
+
import l, { Component as u, PureComponent as d } from "react";
|
|
11
|
+
//#region ../../../node_modules/.bun/react-redux@6.0.1+926323a638b43722/node_modules/react-redux/es/components/connectAdvanced.js
|
|
12
|
+
var f = /* @__PURE__ */ e(c()), p = /* @__PURE__ */ e(t()), m = s(), h = function(e) {
|
|
13
|
+
try {
|
|
14
|
+
return JSON.stringify(e);
|
|
15
|
+
} catch {
|
|
16
|
+
return String(e);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
function g(e, t) {
|
|
20
|
+
t === void 0 && (t = {});
|
|
21
|
+
var s = t, c = s.getDisplayName, g = c === void 0 ? function(e) {
|
|
22
|
+
return "ConnectAdvanced(" + e + ")";
|
|
23
|
+
} : c, _ = s.methodName, v = _ === void 0 ? "connectAdvanced" : _, y = s.renderCountProp, b = y === void 0 ? void 0 : y, x = s.shouldHandleStateChanges, S = x === void 0 ? !0 : x, C = s.storeKey, w = C === void 0 ? "store" : C, T = s.withRef, E = T === void 0 ? !1 : T, D = s.forwardRef, O = D === void 0 ? !1 : D, k = s.context, A = k === void 0 ? r : k, j = o(s, [
|
|
24
|
+
"getDisplayName",
|
|
25
|
+
"methodName",
|
|
26
|
+
"renderCountProp",
|
|
27
|
+
"shouldHandleStateChanges",
|
|
28
|
+
"storeKey",
|
|
29
|
+
"withRef",
|
|
30
|
+
"forwardRef",
|
|
31
|
+
"context"
|
|
32
|
+
]);
|
|
33
|
+
(0, p.default)(b === void 0, "renderCountProp is removed. render counting is built into the latest React dev tools profiling extension"), (0, p.default)(!E, "withRef is removed. To access the wrapped instance, use a ref on the connected component");
|
|
34
|
+
var M = "To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect";
|
|
35
|
+
(0, p.default)(w === "store", "storeKey has been removed and does not do anything. " + M);
|
|
36
|
+
var N = A;
|
|
37
|
+
return function(t) {
|
|
38
|
+
process.env.NODE_ENV !== "production" && (0, p.default)((0, m.isValidElementType)(t), "You must pass a component to the function returned by " + (v + ". Instead received " + h(t)));
|
|
39
|
+
var r = t.displayName || t.name || "Component", o = g(r), s = a({}, j, {
|
|
40
|
+
getDisplayName: g,
|
|
41
|
+
methodName: v,
|
|
42
|
+
renderCountProp: b,
|
|
43
|
+
shouldHandleStateChanges: S,
|
|
44
|
+
storeKey: w,
|
|
45
|
+
displayName: o,
|
|
46
|
+
wrappedComponentName: r,
|
|
47
|
+
WrappedComponent: t
|
|
48
|
+
}), c = j.pure, _ = u;
|
|
49
|
+
c && (_ = d);
|
|
50
|
+
function y() {
|
|
51
|
+
var t, n, r, i, a, o;
|
|
52
|
+
return function(s, l, u, d) {
|
|
53
|
+
return c && t === l && n === s ? r : ((u !== i || a !== d) && (i = u, a = d, o = e(u.dispatch, d)), t = l, n = s, r = o(s, l), r);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function x() {
|
|
57
|
+
var e, t, n, r;
|
|
58
|
+
return function(i, o, s) {
|
|
59
|
+
return (o !== e || s !== t || r !== i) && (e = o, t = s, r = i, n = l.createElement(i, a({}, o, { ref: s }))), n;
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
var C = /* @__PURE__ */ function(e) {
|
|
63
|
+
n(r, e);
|
|
64
|
+
function r(t) {
|
|
65
|
+
var n = e.call(this, t) || this;
|
|
66
|
+
return (0, p.default)(O ? !t.wrapperProps[w] : !t[w], "Passing redux store in props has been removed and does not do anything. " + M), n.selectDerivedProps = y(), n.selectChildElement = x(), n.indirectRenderWrappedComponent = n.indirectRenderWrappedComponent.bind(i(n)), n;
|
|
67
|
+
}
|
|
68
|
+
var a = r.prototype;
|
|
69
|
+
return a.indirectRenderWrappedComponent = function(e) {
|
|
70
|
+
return this.renderWrappedComponent(e);
|
|
71
|
+
}, a.renderWrappedComponent = function(e) {
|
|
72
|
+
(0, p.default)(e, "Could not find \"store\" in the context of " + ("\"" + o + "\". Either wrap the root component in a <Provider>, ") + "or pass a custom React context provider to <Provider> and the corresponding " + ("React context consumer to " + o + " in connect options."));
|
|
73
|
+
var n = e.storeState, r = e.store, i = this.props, a;
|
|
74
|
+
O && (i = this.props.wrapperProps, a = this.props.forwardedRef);
|
|
75
|
+
var c = this.selectDerivedProps(n, i, r, s);
|
|
76
|
+
return this.selectChildElement(t, c, a);
|
|
77
|
+
}, a.render = function() {
|
|
78
|
+
var e = this.props.context && this.props.context.Consumer && (0, m.isContextConsumer)(l.createElement(this.props.context.Consumer, null)) ? this.props.context : N;
|
|
79
|
+
return l.createElement(e.Consumer, null, this.indirectRenderWrappedComponent);
|
|
80
|
+
}, r;
|
|
81
|
+
}(_);
|
|
82
|
+
if (C.WrappedComponent = t, C.displayName = o, O) {
|
|
83
|
+
var T = l.forwardRef(function(e, t) {
|
|
84
|
+
return l.createElement(C, {
|
|
85
|
+
wrapperProps: e,
|
|
86
|
+
forwardedRef: t
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
return T.displayName = o, T.WrappedComponent = t, (0, f.default)(T, t);
|
|
90
|
+
}
|
|
91
|
+
return (0, f.default)(C, t);
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
export { g as default };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { _extends as e } from "../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/extends.js";
|
|
2
|
+
import { _objectWithoutPropertiesLoose as t } from "../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";
|
|
3
|
+
import n from "../components/connectAdvanced.js";
|
|
4
|
+
import r from "../utils/shallowEqual.js";
|
|
5
|
+
import i from "./mapDispatchToProps.js";
|
|
6
|
+
import a from "./mapStateToProps.js";
|
|
7
|
+
import o from "./mergeProps.js";
|
|
8
|
+
import s from "./selectorFactory.js";
|
|
9
|
+
//#region ../../../node_modules/.bun/react-redux@6.0.1+926323a638b43722/node_modules/react-redux/es/connect/connect.js
|
|
10
|
+
function c(e, t, n) {
|
|
11
|
+
for (var r = t.length - 1; r >= 0; r--) {
|
|
12
|
+
var i = t[r](e);
|
|
13
|
+
if (i) return i;
|
|
14
|
+
}
|
|
15
|
+
return function(t, r) {
|
|
16
|
+
throw Error("Invalid value of type " + typeof e + " for " + n + " argument when connecting component " + r.wrappedComponentName + ".");
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function l(e, t) {
|
|
20
|
+
return e === t;
|
|
21
|
+
}
|
|
22
|
+
function u(u) {
|
|
23
|
+
var d = u === void 0 ? {} : u, f = d.connectHOC, p = f === void 0 ? n : f, m = d.mapStateToPropsFactories, h = m === void 0 ? a : m, g = d.mapDispatchToPropsFactories, _ = g === void 0 ? i : g, v = d.mergePropsFactories, y = v === void 0 ? o : v, b = d.selectorFactory, x = b === void 0 ? s : b;
|
|
24
|
+
return function(n, i, a, o) {
|
|
25
|
+
o === void 0 && (o = {});
|
|
26
|
+
var s = o, u = s.pure, d = u === void 0 ? !0 : u, f = s.areStatesEqual, m = f === void 0 ? l : f, g = s.areOwnPropsEqual, v = g === void 0 ? r : g, b = s.areStatePropsEqual, S = b === void 0 ? r : b, C = s.areMergedPropsEqual, w = C === void 0 ? r : C, T = t(s, [
|
|
27
|
+
"pure",
|
|
28
|
+
"areStatesEqual",
|
|
29
|
+
"areOwnPropsEqual",
|
|
30
|
+
"areStatePropsEqual",
|
|
31
|
+
"areMergedPropsEqual"
|
|
32
|
+
]), E = c(n, h, "mapStateToProps"), D = c(i, _, "mapDispatchToProps"), O = c(a, y, "mergeProps");
|
|
33
|
+
return p(x, e({
|
|
34
|
+
methodName: "connect",
|
|
35
|
+
getDisplayName: function(e) {
|
|
36
|
+
return "Connect(" + e + ")";
|
|
37
|
+
},
|
|
38
|
+
shouldHandleStateChanges: !!n,
|
|
39
|
+
initMapStateToProps: E,
|
|
40
|
+
initMapDispatchToProps: D,
|
|
41
|
+
initMergeProps: O,
|
|
42
|
+
pure: d,
|
|
43
|
+
areStatesEqual: m,
|
|
44
|
+
areOwnPropsEqual: v,
|
|
45
|
+
areStatePropsEqual: S,
|
|
46
|
+
areMergedPropsEqual: w
|
|
47
|
+
}, T));
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
var d = u();
|
|
51
|
+
//#endregion
|
|
52
|
+
export { d as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { bindActionCreators as e } from "../../../../../redux@4.2.1/node_modules/redux/es/redux.js";
|
|
2
|
+
import { wrapMapToPropsConstant as t, wrapMapToPropsFunc as n } from "./wrapMapToProps.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/react-redux@6.0.1+926323a638b43722/node_modules/react-redux/es/connect/mapDispatchToProps.js
|
|
4
|
+
function r(e) {
|
|
5
|
+
return typeof e == "function" ? n(e, "mapDispatchToProps") : void 0;
|
|
6
|
+
}
|
|
7
|
+
function i(e) {
|
|
8
|
+
return e ? void 0 : t(function(e) {
|
|
9
|
+
return { dispatch: e };
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function a(n) {
|
|
13
|
+
return n && typeof n == "object" ? t(function(t) {
|
|
14
|
+
return e(n, t);
|
|
15
|
+
}) : void 0;
|
|
16
|
+
}
|
|
17
|
+
var o = [
|
|
18
|
+
r,
|
|
19
|
+
i,
|
|
20
|
+
a
|
|
21
|
+
];
|
|
22
|
+
//#endregion
|
|
23
|
+
export { o as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { wrapMapToPropsConstant as e, wrapMapToPropsFunc as t } from "./wrapMapToProps.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/react-redux@6.0.1+926323a638b43722/node_modules/react-redux/es/connect/mapStateToProps.js
|
|
3
|
+
function n(e) {
|
|
4
|
+
return typeof e == "function" ? t(e, "mapStateToProps") : void 0;
|
|
5
|
+
}
|
|
6
|
+
function r(t) {
|
|
7
|
+
return t ? void 0 : e(function() {
|
|
8
|
+
return {};
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
var i = [n, r];
|
|
12
|
+
//#endregion
|
|
13
|
+
export { i as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { _extends as e } from "../../../../../@babel_runtime@7.28.6/node_modules/@babel/runtime/helpers/esm/extends.js";
|
|
2
|
+
import t from "../utils/verifyPlainObject.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/react-redux@6.0.1+926323a638b43722/node_modules/react-redux/es/connect/mergeProps.js
|
|
4
|
+
function n(t, n, r) {
|
|
5
|
+
return e({}, r, t, n);
|
|
6
|
+
}
|
|
7
|
+
function r(e) {
|
|
8
|
+
return function(n, r) {
|
|
9
|
+
var i = r.displayName, a = r.pure, o = r.areMergedPropsEqual, s = !1, c;
|
|
10
|
+
return function(n, r, l) {
|
|
11
|
+
var u = e(n, r, l);
|
|
12
|
+
return s ? (!a || !o(u, c)) && (c = u) : (s = !0, c = u, process.env.NODE_ENV !== "production" && t(c, i, "mergeProps")), c;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function i(e) {
|
|
17
|
+
return typeof e == "function" ? r(e) : void 0;
|
|
18
|
+
}
|
|
19
|
+
function a(e) {
|
|
20
|
+
return e ? void 0 : function() {
|
|
21
|
+
return n;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
var o = [i, a];
|
|
25
|
+
//#endregion
|
|
26
|
+
export { o as default };
|