@pie-lib/graphing-solution-set 4.0.4-next.30 → 4.0.4-next.32
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/axis/arrow.js +1 -1
- package/dist/axis/axes.js +6 -6
- package/dist/container/index.js +4 -4
- package/dist/container/reducer.js +1 -1
- package/dist/coordinates-label.js +1 -1
- package/dist/graph-with-controls.js +5 -5
- package/dist/graph.js +2 -2
- package/dist/grid-setup.js +8 -8
- package/dist/grid.js +1 -1
- package/dist/index.js +2 -2
- package/dist/labels.js +2 -2
- package/dist/mark-label.js +1 -1
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Axis.js +1 -1
- package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js +1 -1
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js +1 -1
- package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js +1 -1
- package/dist/node_modules/.bun/@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js +1 -1
- package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/hooks/useText.js +1 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +1 -1
- package/dist/node_modules/.bun/react-redux@9.3.0_9e2203c65d1d5fa1/node_modules/react-redux/dist/react-redux.js +7 -7
- package/dist/node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js +1 -1
- package/dist/node_modules/.bun/redux@5.0.1/node_modules/redux/dist/redux.js +2 -2
- package/dist/tool-menu.js +1 -1
- package/dist/tools/index.js +1 -1
- package/dist/tools/line/component.js +1 -1
- package/dist/tools/polygon/component.js +4 -4
- package/dist/tools/polygon/index.js +1 -1
- package/dist/tools/polygon/polygon.js +3 -3
- package/dist/tools/shared/line/index.js +1 -1
- package/dist/tools/shared/point/arrow-point.js +1 -1
- package/dist/tools/shared/point/arrow.js +1 -1
- package/dist/tools/shared/point/base-point.js +1 -1
- package/dist/undo-redo.js +1 -1
- package/package.json +17 -12
package/dist/axis/arrow.js
CHANGED
package/dist/axis/axes.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import e from "../node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Axis.js";
|
|
2
|
-
import t from "./arrow.js";
|
|
2
|
+
import { Arrow as t } from "./arrow.js";
|
|
3
3
|
import { amountToIncreaseWidth as n, countWords as r, findLongestWord as i, getTickValues as a } from "../utils.js";
|
|
4
4
|
import o from "react";
|
|
5
5
|
import s from "prop-types";
|
|
@@ -102,7 +102,7 @@ var _ = g(p, "Readable") || g(b.Readable, "Readable"), v = f, y = v.default, b =
|
|
|
102
102
|
})
|
|
103
103
|
] });
|
|
104
104
|
}
|
|
105
|
-
}, A = class extends o.Component {
|
|
105
|
+
}, A = k, j = class extends o.Component {
|
|
106
106
|
static propTypes = {
|
|
107
107
|
...x,
|
|
108
108
|
graphProps: c.GraphPropsType.isRequired
|
|
@@ -162,7 +162,7 @@ var _ = g(p, "Readable") || g(b.Readable, "Readable"), v = f, y = v.default, b =
|
|
|
162
162
|
})
|
|
163
163
|
] });
|
|
164
164
|
}
|
|
165
|
-
}, j = class extends o.Component {
|
|
165
|
+
}, M = j, N = class extends o.Component {
|
|
166
166
|
static propTypes = {
|
|
167
167
|
...x,
|
|
168
168
|
graphProps: c.GraphPropsType.isRequired
|
|
@@ -196,13 +196,13 @@ var _ = g(p, "Readable") || g(b.Readable, "Readable"), v = f, y = v.default, b =
|
|
|
196
196
|
};
|
|
197
197
|
render() {
|
|
198
198
|
let { graphProps: e } = this.props, { domain: t, range: n } = e || {}, { columnTicksValues: r, firstNegativeX: i, distanceFromOriginToFirstNegativeX: a } = this.xValues(), { rowTickValues: o, firstNegativeY: s, distanceFromOriginToFirstNegativeY: c } = this.yValues(), l = D(i, s, a, c, 6, 25);
|
|
199
|
-
return /* @__PURE__ */ d(C, { children: [n.min <= 0 ? /* @__PURE__ */ u(
|
|
199
|
+
return /* @__PURE__ */ d(C, { children: [n.min <= 0 ? /* @__PURE__ */ u(A, {
|
|
200
200
|
...this.props,
|
|
201
201
|
skipValues: l,
|
|
202
202
|
columnTicksValues: r,
|
|
203
203
|
distanceFromOriginToFirstNegativeY: c,
|
|
204
204
|
dy: 25
|
|
205
|
-
}) : null, t.min <= 0 ? /* @__PURE__ */ u(
|
|
205
|
+
}) : null, t.min <= 0 ? /* @__PURE__ */ u(M, {
|
|
206
206
|
...this.props,
|
|
207
207
|
skipValues: l,
|
|
208
208
|
rowTickValues: o,
|
|
@@ -211,4 +211,4 @@ var _ = g(p, "Readable") || g(b.Readable, "Readable"), v = f, y = v.default, b =
|
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
//#endregion
|
|
214
|
-
export { x as AxisPropTypes, j as default };
|
|
214
|
+
export { x as AxisPropTypes, k as RawXAxis, j as RawYAxis, N as default, O as firstNegativeValue, D as sharedValues };
|
package/dist/container/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Provider as e, connect as t } from "../node_modules/.bun/react-redux@9.3.0_9e2203c65d1d5fa1/node_modules/react-redux/dist/react-redux.js";
|
|
2
2
|
import { applyMiddleware as n, createStore as r } from "../node_modules/.bun/redux@5.0.1/node_modules/redux/dist/redux.js";
|
|
3
|
-
import {
|
|
3
|
+
import { ActionCreators as i } from "../node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js";
|
|
4
4
|
import a from "./reducer.js";
|
|
5
5
|
import { changeMarks as o } from "./actions.js";
|
|
6
|
-
import s from "../graph-with-controls.js";
|
|
6
|
+
import { GraphWithControls as s } from "../graph-with-controls.js";
|
|
7
7
|
import { getLastAction as c, lastActionMiddleware as l } from "./middleware.js";
|
|
8
8
|
import u from "react";
|
|
9
9
|
import d from "prop-types";
|
|
@@ -45,4 +45,4 @@ var m = t((e) => ({ marks: e.marks.present }), (e) => ({
|
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
//#endregion
|
|
48
|
-
export { h as default };
|
|
48
|
+
export { m as GraphContainer, h as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { combineReducers as e } from "../node_modules/.bun/redux@5.0.1/node_modules/redux/dist/redux.js";
|
|
2
2
|
import t from "./marks.js";
|
|
3
|
-
import
|
|
3
|
+
import n from "../node_modules/.bun/redux-undo@1.1.0/node_modules/redux-undo/dist/redux-undo.js";
|
|
4
4
|
//#region src/container/reducer.ts
|
|
5
5
|
var r = () => e({ marks: n(t, { debug: !1 }) });
|
|
6
6
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import e from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
2
|
-
import t,
|
|
3
|
-
import r from "./tool-menu.js";
|
|
4
|
-
import i from "./undo-redo.js";
|
|
1
|
+
import { clsx as e } from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { Graph as t, graphPropTypes as n } from "./graph.js";
|
|
3
|
+
import { ToolMenu as r } from "./tool-menu.js";
|
|
4
|
+
import { UndoRedo as i } from "./undo-redo.js";
|
|
5
5
|
import { allTools as a, toolsArr as o } from "./tools/index.js";
|
|
6
6
|
import s from "react";
|
|
7
7
|
import c from "prop-types";
|
|
@@ -152,4 +152,4 @@ var P = class extends s.Component {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
//#endregion
|
|
155
|
-
export { P as default };
|
|
155
|
+
export { P as GraphWithControls, P as default, w as filterByValidToolTypes, T as filterByVisibleToolTypes, C as getAvailableTool, x as setToolbarAvailability, S as toolIsAvailable };
|
package/dist/graph.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { areArraysOfObjectsEqual as e, isDuplicatedMark as t } from "./utils.js";
|
|
2
2
|
import n, { AxisPropTypes as r } from "./axis/axes.js";
|
|
3
|
-
import i from "./grid.js";
|
|
3
|
+
import { Grid as i } from "./grid.js";
|
|
4
4
|
import { LabelType as a } from "./labels.js";
|
|
5
5
|
import o from "./bg.js";
|
|
6
6
|
import s from "react";
|
|
@@ -218,4 +218,4 @@ var _ = m("pie-lib:graphing-solution-set:graph"), v = {
|
|
|
218
218
|
}
|
|
219
219
|
};
|
|
220
220
|
//#endregion
|
|
221
|
-
export { x as default, v as graphPropTypes };
|
|
221
|
+
export { x as Graph, x as default, v as graphPropTypes, b as removeBuildingToolIfCurrentToolDiffers };
|
package/dist/grid-setup.js
CHANGED
|
@@ -144,17 +144,17 @@ var F = (e) => {
|
|
|
144
144
|
step: 1,
|
|
145
145
|
labelStep: 0
|
|
146
146
|
};
|
|
147
|
+
}, r = {
|
|
148
|
+
...v,
|
|
149
|
+
...e ? { labelStep: 1 } : n("range")
|
|
150
|
+
}, i = {
|
|
151
|
+
...t,
|
|
152
|
+
...e ? { labelStep: 1 } : n("domain")
|
|
147
153
|
};
|
|
148
154
|
g({
|
|
149
155
|
includeAxes: e,
|
|
150
|
-
range:
|
|
151
|
-
|
|
152
|
-
...e ? { labelStep: 1 } : n("range")
|
|
153
|
-
},
|
|
154
|
-
domain: {
|
|
155
|
-
...t,
|
|
156
|
-
...e ? { labelStep: 1 } : n("domain")
|
|
157
|
-
}
|
|
156
|
+
range: r,
|
|
157
|
+
domain: i
|
|
158
158
|
});
|
|
159
159
|
}, K = (e) => {
|
|
160
160
|
g({
|
package/dist/grid.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "./graph.js";
|
|
2
|
-
import t from "./tool-menu.js";
|
|
1
|
+
import { Graph as e } from "./graph.js";
|
|
2
|
+
import { ToolMenu as t } from "./tool-menu.js";
|
|
3
3
|
import { tools_exports as n } from "./tools/index.js";
|
|
4
4
|
import r from "./container/index.js";
|
|
5
5
|
import i from "./grid-setup.js";
|
package/dist/labels.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
1
|
+
import { clsx as e } from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
2
2
|
import t from "react";
|
|
3
3
|
import n from "prop-types";
|
|
4
4
|
import { types as r } from "@pie-lib/plot";
|
|
@@ -131,4 +131,4 @@ var p = f(c, "Readable") || f(g.Readable, "Readable"), m = s, h = m.default, g =
|
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
133
|
//#endregion
|
|
134
|
-
export { w as LabelType };
|
|
134
|
+
export { w as LabelType, C as default, v as getTransform };
|
package/dist/mark-label.js
CHANGED
|
@@ -45,7 +45,7 @@ function h(e, t) {
|
|
|
45
45
|
return n;
|
|
46
46
|
}
|
|
47
47
|
function g(e) {
|
|
48
|
-
var t = e.children, g = t === void 0 ? o : t, _ = e.axisClassName, v = e.hideAxisLine, y = v
|
|
48
|
+
var t = e.children, g = t === void 0 ? o : t, _ = e.axisClassName, v = e.hideAxisLine, y = v !== void 0 && v, b = e.hideTicks, x = b !== void 0 && b, S = e.hideZero, C = S !== void 0 && S, w = e.innerRef, T = e.left, E = T === void 0 ? 0 : T, D = e.numTicks, O = D === void 0 ? 10 : D, k = e.orientation, A = k === void 0 ? a.bottom : k, j = e.rangePadding, M = j === void 0 ? 0 : j, N = e.scale, P = e.tickFormat, F = e.tickLength, I = F === void 0 ? 8 : F, L = e.tickValues, R = e.top, z = R === void 0 ? 0 : R, B = h(e, p), V = P ?? c(N), H = A === a.left, U = A === a.top, W = U || A === a.bottom, G = s(N), K = H || U ? -1 : 1, q = N.range(), J = u(M), Y = l({
|
|
49
49
|
x: Number(q[0]) + .5 - J.start,
|
|
50
50
|
y: 0
|
|
51
51
|
}, W), X = l({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
|
|
2
2
|
//#region ../../../node_modules/.bun/@visx+axis@3.12.0+f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js
|
|
3
3
|
function t(t, n) {
|
|
4
4
|
var r = t.x, i = t.y;
|
|
@@ -3,7 +3,7 @@ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node
|
|
|
3
3
|
import n from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
|
|
4
4
|
import r from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js";
|
|
5
5
|
import i from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js";
|
|
6
|
-
import
|
|
6
|
+
import a from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
|
|
7
7
|
import { require_Line as o } from "../../../../../../@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js";
|
|
8
8
|
import s from "../utils/getScaleBandwidth.js";
|
|
9
9
|
import c from "react";
|
|
@@ -3,7 +3,7 @@ import { require_classnames as t } from "../../../../../../classnames@2.5.1/node
|
|
|
3
3
|
import n from "../../../../../../@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js";
|
|
4
4
|
import r from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/coerceNumber.js";
|
|
5
5
|
import i from "../../../../../../@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js";
|
|
6
|
-
import
|
|
6
|
+
import a from "../../../../../../@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js";
|
|
7
7
|
import { require_Line as o } from "../../../../../../@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js";
|
|
8
8
|
import s from "../utils/getScaleBandwidth.js";
|
|
9
9
|
import c from "react";
|
|
@@ -26,7 +26,7 @@ function c(e) {
|
|
|
26
26
|
return typeof e == "number" && Number.isFinite(e) || typeof e == "string";
|
|
27
27
|
}
|
|
28
28
|
function l(e) {
|
|
29
|
-
var t = e.verticalAnchor, l = t === void 0 ? "end" : t, u = e.scaleToFit, d = u
|
|
29
|
+
var t = e.verticalAnchor, l = t === void 0 ? "end" : t, u = e.scaleToFit, d = u !== void 0 && u, f = e.angle, p = e.width, m = e.lineHeight, h = m === void 0 ? "1em" : m, g = e.capHeight, _ = g === void 0 ? "0.71em" : g, v = e.children, y = e.style, b = o(e, a), x = b.x, S = x === void 0 ? 0 : x, C = b.y, w = C === void 0 ? 0 : C, T = !c(S) || !c(w), E = r(function() {
|
|
30
30
|
return {
|
|
31
31
|
wordsWithWidth: (v == null ? [] : v.toString().split(/(?:(?!\u00A0+)\s+)/)).map(function(e) {
|
|
32
32
|
return {
|
|
@@ -443,17 +443,17 @@ ${T.current.stack}
|
|
|
443
443
|
var be = ye;
|
|
444
444
|
function xe(e) {
|
|
445
445
|
let { children: n, context: r, serverState: i, store: a } = e, o = t.useMemo(() => {
|
|
446
|
-
let t = {
|
|
446
|
+
let t = R(a), n = {
|
|
447
447
|
store: a,
|
|
448
|
-
subscription:
|
|
448
|
+
subscription: t,
|
|
449
449
|
getServerState: i ? () => i : void 0
|
|
450
450
|
};
|
|
451
|
-
if (process.env.NODE_ENV === "production") return
|
|
451
|
+
if (process.env.NODE_ENV === "production") return n;
|
|
452
452
|
{
|
|
453
|
-
let { identityFunctionCheck:
|
|
454
|
-
return /* @__PURE__ */ Object.assign(
|
|
453
|
+
let { identityFunctionCheck: t = "once", stabilityCheck: r = "once" } = e;
|
|
454
|
+
return /* @__PURE__ */ Object.assign(n, {
|
|
455
455
|
stabilityCheck: r,
|
|
456
|
-
identityFunctionCheck:
|
|
456
|
+
identityFunctionCheck: t
|
|
457
457
|
});
|
|
458
458
|
}
|
|
459
459
|
}, [a, i]), s = t.useMemo(() => a.getState(), [a]);
|
|
@@ -468,4 +468,4 @@ function xe(e) {
|
|
|
468
468
|
}
|
|
469
469
|
var Se = xe;
|
|
470
470
|
//#endregion
|
|
471
|
-
export { Se as
|
|
471
|
+
export { Se as Provider, Z as ReactReduxContext, be as connect, V as shallowEqual };
|
|
@@ -45,7 +45,7 @@ function s(e) {
|
|
|
45
45
|
return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
|
|
46
46
|
}
|
|
47
47
|
function c(e) {
|
|
48
|
-
return e instanceof Date
|
|
48
|
+
return e instanceof Date || typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
|
|
49
49
|
}
|
|
50
50
|
function l(e) {
|
|
51
51
|
let t = typeof e;
|
|
@@ -195,4 +195,4 @@ function g(...t) {
|
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
197
|
//#endregion
|
|
198
|
-
export { g as applyMiddleware, m as combineReducers, u as createStore };
|
|
198
|
+
export { r as __DO_NOT_USE__ActionTypes, g as applyMiddleware, m as combineReducers, h as compose, u as createStore, i as isPlainObject };
|
package/dist/tool-menu.js
CHANGED
package/dist/tools/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { require_browser as t } from "../../node_modules/.bun/invariant@2.2.4/no
|
|
|
3
3
|
import { equalPoints as n, getMiddleOfTwoPoints as r, getRightestPoints as i } from "../../utils.js";
|
|
4
4
|
import { ToolPropTypeFields as a } from "../shared/types.js";
|
|
5
5
|
import o from "./polygon.js";
|
|
6
|
-
import s from "../../mark-label.js";
|
|
6
|
+
import { MarkLabel as s } from "../../mark-label.js";
|
|
7
7
|
import c from "react";
|
|
8
8
|
import l from "prop-types";
|
|
9
9
|
import { chunk as u, isEmpty as d } from "@pie-element/shared-lodash";
|
|
@@ -116,7 +116,7 @@ var g = /* @__PURE__ */ e(t(), 1), _ = p("pie-lib:graphing-solution-set:polygon"
|
|
|
116
116
|
onClick: this.clickPoint.bind(this, i, d)
|
|
117
117
|
}) }) });
|
|
118
118
|
}
|
|
119
|
-
}, b = class extends c.Component {
|
|
119
|
+
}, b = y, x = class extends c.Component {
|
|
120
120
|
static propTypes = {
|
|
121
121
|
...a,
|
|
122
122
|
graphProps: f.GraphPropsType.isRequired
|
|
@@ -173,7 +173,7 @@ var g = /* @__PURE__ */ e(t(), 1), _ = p("pie-lib:graphing-solution-set:polygon"
|
|
|
173
173
|
};
|
|
174
174
|
render() {
|
|
175
175
|
let { coordinatesOnHover: e, mark: t, graphProps: n, onClick: r, isToolActive: i, labelNode: a, labelModeEnabled: o } = this.props, { mark: s } = this.state;
|
|
176
|
-
return /* @__PURE__ */ m(
|
|
176
|
+
return /* @__PURE__ */ m(b, {
|
|
177
177
|
...s || t,
|
|
178
178
|
coordinatesOnHover: e,
|
|
179
179
|
onChange: this.change,
|
|
@@ -191,4 +191,4 @@ var g = /* @__PURE__ */ e(t(), 1), _ = p("pie-lib:graphing-solution-set:polygon"
|
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
//#endregion
|
|
194
|
-
export { b as default };
|
|
194
|
+
export { b as BaseComponent, y as RawBaseComponent, x as default, v as swap };
|
|
@@ -44,7 +44,7 @@ var d = l("polygon", { shouldForwardProp: (e) => !["isSolution", "correctness"].
|
|
|
44
44
|
...o
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
}, h = s({
|
|
47
|
+
}, h = m, g = s({
|
|
48
48
|
bounds: (t, { domain: r, range: i }) => {
|
|
49
49
|
let { points: a } = t;
|
|
50
50
|
return e(n(a), r, i);
|
|
@@ -57,6 +57,6 @@ var d = l("polygon", { shouldForwardProp: (e) => !["isSolution", "correctness"].
|
|
|
57
57
|
let { points: r } = e;
|
|
58
58
|
return r.map((e) => t(e).add(t(n)));
|
|
59
59
|
}
|
|
60
|
-
})(
|
|
60
|
+
})(h);
|
|
61
61
|
//#endregion
|
|
62
|
-
export { h as default };
|
|
62
|
+
export { h as Polygon, m as RawPolygon, g as default, p as getPointString };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { equalPoints as e, getMiddleOfTwoPoints as t, sameAxes as n } from "../../../utils.js";
|
|
2
2
|
import { correct as r, disabled as i, incorrect as a, missing as o } from "../styles.js";
|
|
3
|
-
import s from "../../../mark-label.js";
|
|
3
|
+
import { MarkLabel as s } from "../../../mark-label.js";
|
|
4
4
|
import { BasePoint as c } from "../point/index.js";
|
|
5
5
|
import l from "react";
|
|
6
6
|
import u from "prop-types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { arrowDimensions as e, getAngleDeg as t } from "../../../utils.js";
|
|
2
|
-
import n from "../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { clsx as n } from "../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
3
3
|
import r from "react";
|
|
4
4
|
import i from "prop-types";
|
|
5
5
|
import { isEqual as a } from "@pie-element/shared-lodash";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { thinnerShapesNeeded as e } from "../../../utils.js";
|
|
2
|
-
import t from "../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { clsx as t } from "../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
3
3
|
import { ArrowHead as n } from "../arrow-head.js";
|
|
4
4
|
import r from "react";
|
|
5
5
|
import i from "prop-types";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { thinnerShapesNeeded as e } from "../../../utils.js";
|
|
2
2
|
import { correct as t, disabled as n, incorrect as r, missing as i } from "../styles.js";
|
|
3
|
-
import a from "../../../coordinates-label.js";
|
|
3
|
+
import { CoordinatesLabel as a } from "../../../coordinates-label.js";
|
|
4
4
|
import o from "react";
|
|
5
5
|
import s from "prop-types";
|
|
6
6
|
import { types as c } from "@pie-lib/plot";
|
package/dist/undo-redo.js
CHANGED
package/package.json
CHANGED
|
@@ -1,24 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/graphing-solution-set",
|
|
3
|
-
"version": "4.0.4-next.
|
|
3
|
+
"version": "4.0.4-next.32",
|
|
4
4
|
"description": "Graphing components",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/pie-framework/pie-elements-ng.git",
|
|
8
|
+
"directory": "packages/lib-react/graphing-solution-set"
|
|
9
|
+
},
|
|
5
10
|
"dependencies": {
|
|
6
11
|
"@dnd-kit/sortable": "10.0.0",
|
|
7
12
|
"@emotion/react": "^11.14.0",
|
|
8
|
-
"@emotion/
|
|
13
|
+
"@emotion/styled": "^11.14.1",
|
|
9
14
|
"@mapbox/point-geometry": "^1.1.0",
|
|
10
15
|
"@mui/icons-material": "^7.3.4",
|
|
11
16
|
"@mui/material": "^7.3.4",
|
|
12
|
-
"@pie-lib/drag": "4.0.3-next.
|
|
13
|
-
"@pie-lib/editable-html-tip-tap": "2.1.2-next.
|
|
14
|
-
"@pie-lib/graphing-utils": "3.0.3-next.
|
|
15
|
-
"@pie-lib/plot": "4.0.4-next.
|
|
16
|
-
"@pie-lib/render-ui": "6.1.1-next.
|
|
17
|
-
"@pie-lib/tools": "2.0.3-next.
|
|
18
|
-
"@pie-lib/translator": "4.0.3-next.
|
|
17
|
+
"@pie-lib/drag": "4.0.3-next.39",
|
|
18
|
+
"@pie-lib/editable-html-tip-tap": "2.1.2-next.32",
|
|
19
|
+
"@pie-lib/graphing-utils": "3.0.3-next.2",
|
|
20
|
+
"@pie-lib/plot": "4.0.4-next.32",
|
|
21
|
+
"@pie-lib/render-ui": "6.1.1-next.39",
|
|
22
|
+
"@pie-lib/tools": "2.0.3-next.1",
|
|
23
|
+
"@pie-lib/translator": "4.0.3-next.2",
|
|
19
24
|
"@visx/axis": "^3.0.0",
|
|
20
25
|
"@visx/clip-path": "^3.0.0",
|
|
21
|
-
"@visx/curve": "^
|
|
26
|
+
"@visx/curve": "^4.0.0",
|
|
22
27
|
"@visx/event": "^3.0.0",
|
|
23
28
|
"@visx/grid": "^3.0.0",
|
|
24
29
|
"@visx/group": "^3.0.0",
|
|
@@ -33,9 +38,9 @@
|
|
|
33
38
|
"react-redux": "^9.3.0",
|
|
34
39
|
"redux": "^5.0.1",
|
|
35
40
|
"redux-undo": "^1.1.0",
|
|
36
|
-
"@pie-element/shared-lodash": "0.1.1-next.
|
|
41
|
+
"@pie-element/shared-lodash": "0.1.1-next.1",
|
|
37
42
|
"clsx": "^2.1.1",
|
|
38
|
-
"@pie-lib/config-ui": "13.0.4-next.
|
|
43
|
+
"@pie-lib/config-ui": "13.0.4-next.32",
|
|
39
44
|
"@dnd-kit/core": "^6.3.1",
|
|
40
45
|
"@dnd-kit/utilities": "^3.2.2",
|
|
41
46
|
"d3-shape": "^3.2.0"
|