@pie-lib/graphing 4.0.5-next.31 → 4.0.5-next.33
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 +3 -3
- 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 +4 -4
- 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 +1 -1
- package/dist/mark-label.d.ts +2 -0
- package/dist/mark-label.js +138 -87
- 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/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/util/getStringWidth.js +1 -1
- package/dist/node_modules/.bun/@visx_vendor@4.0.0/node_modules/@visx/vendor/esm/d3-shape.js +8 -0
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_Hash.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_ListCache.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_Map.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_MapCache.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_Symbol.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_assocIndexOf.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_baseGetTag.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_baseIsNative.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_coreJsData.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_freeGlobal.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_getMapData.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_getNative.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_getRawTag.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_getValue.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashClear.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashDelete.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashGet.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashHas.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashSet.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_isKeyable.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_isMasked.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_listCacheClear.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_listCacheDelete.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_listCacheGet.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_listCacheHas.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_listCacheSet.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_mapCacheClear.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_mapCacheDelete.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_mapCacheGet.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_mapCacheHas.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_mapCacheSet.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_nativeCreate.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_objectToString.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_root.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_toSource.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/eq.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/isFunction.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/isObject.js +1 -1
- package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/memoize.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/toggle-bar.js +1 -1
- package/dist/tool-menu.js +3 -3
- package/dist/tools/circle/bg-circle.js +2 -2
- package/dist/tools/circle/component.d.ts +5 -0
- package/dist/tools/circle/component.js +30 -17
- package/dist/tools/index.js +1 -1
- package/dist/tools/line/component.js +2 -2
- package/dist/tools/point/component.d.ts +2 -0
- package/dist/tools/point/component.js +16 -10
- package/dist/tools/point/index.js +1 -1
- package/dist/tools/polygon/component.d.ts +5 -0
- package/dist/tools/polygon/component.js +27 -18
- package/dist/tools/polygon/index.js +1 -1
- package/dist/tools/polygon/line.js +1 -1
- package/dist/tools/polygon/polygon.js +3 -3
- package/dist/tools/ray/component.js +2 -2
- package/dist/tools/segment/component.js +1 -1
- package/dist/tools/shared/line/index.d.ts +10 -4
- package/dist/tools/shared/line/index.js +27 -14
- package/dist/tools/shared/line/line-path.js +2 -2
- package/dist/tools/shared/line/with-root-edge.d.ts +10 -4
- package/dist/tools/shared/line/with-root-edge.js +3 -3
- package/dist/tools/shared/point/base-point.js +1 -1
- package/dist/tools/vector/component.js +1 -1
- package/dist/undo-redo.js +2 -2
- package/dist/utils.js +1 -1
- package/package.json +15 -10
- package/dist/node_modules/.bun/@visx_curve@3.12.0/node_modules/@visx/curve/esm/index.js +0 -2
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_Symbol.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__root as t } from "./_root.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Symbol.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
n.exports = t().Symbol;
|
|
6
6
|
}));
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_assocIndexOf.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require_eq as t } from "./eq.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_assocIndexOf.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i(e, t) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_baseGetTag.js
RENAMED
|
@@ -2,7 +2,7 @@ import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js
|
|
|
2
2
|
import { require__Symbol as t } from "./_Symbol.js";
|
|
3
3
|
import { require__getRawTag as n } from "./_getRawTag.js";
|
|
4
4
|
import { require__objectToString as r } from "./_objectToString.js";
|
|
5
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
5
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseGetTag.js
|
|
6
6
|
var i = /* @__PURE__ */ e(((e, i) => {
|
|
7
7
|
var a = t(), o = n(), s = r(), c = "[object Null]", l = "[object Undefined]", u = a ? a.toStringTag : void 0;
|
|
8
8
|
function d(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_baseIsNative.js
RENAMED
|
@@ -3,7 +3,7 @@ import { require_isObject as t } from "./isObject.js";
|
|
|
3
3
|
import { require_isFunction as n } from "./isFunction.js";
|
|
4
4
|
import { require__isMasked as r } from "./_isMasked.js";
|
|
5
5
|
import { require__toSource as i } from "./_toSource.js";
|
|
6
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
6
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseIsNative.js
|
|
7
7
|
var a = /* @__PURE__ */ e(((e, a) => {
|
|
8
8
|
var o = n(), s = r(), c = t(), l = i(), u = /[\\^$.*+?()[\]{}|]/g, d = /^\[object .+?Constructor\]$/, f = Function.prototype, p = Object.prototype, m = f.toString, h = p.hasOwnProperty, g = RegExp("^" + m.call(h).replace(u, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
9
9
|
function _(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_coreJsData.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__root as t } from "./_root.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_coreJsData.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
n.exports = t()["__core-js_shared__"];
|
|
6
6
|
}));
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_freeGlobal.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_freeGlobal.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
4
|
t.exports = typeof global == "object" && global && global.Object === Object && global;
|
|
5
5
|
}));
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_getMapData.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__isKeyable as t } from "./_isKeyable.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getMapData.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i(e, t) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_getNative.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__baseIsNative as t } from "./_baseIsNative.js";
|
|
3
3
|
import { require__getValue as n } from "./_getValue.js";
|
|
4
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getNative.js
|
|
5
5
|
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
6
|
var i = t(), a = n();
|
|
7
7
|
function o(e, t) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_getRawTag.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__Symbol as t } from "./_Symbol.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getRawTag.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t(), i = Object.prototype, a = i.hasOwnProperty, o = i.toString, s = r ? r.toStringTag : void 0;
|
|
6
6
|
function c(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_getValue.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getValue.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
4
|
function n(e, t) {
|
|
5
5
|
return e?.[t];
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashClear.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__nativeCreate as t } from "./_nativeCreate.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashClear.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i() {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashDelete.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashDelete.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
4
|
function n(e) {
|
|
5
5
|
var t = this.has(e) && delete this.__data__[e];
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashGet.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__nativeCreate as t } from "./_nativeCreate.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashGet.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t(), i = "__lodash_hash_undefined__", a = Object.prototype.hasOwnProperty;
|
|
6
6
|
function o(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashHas.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__nativeCreate as t } from "./_nativeCreate.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashHas.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t(), i = Object.prototype.hasOwnProperty;
|
|
6
6
|
function a(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_hashSet.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__nativeCreate as t } from "./_nativeCreate.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashSet.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t(), i = "__lodash_hash_undefined__";
|
|
6
6
|
function a(e, t) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_isKeyable.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isKeyable.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
4
|
function n(e) {
|
|
5
5
|
var t = typeof e;
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_isMasked.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__coreJsData as t } from "./_coreJsData.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isMasked.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t(), i = function() {
|
|
6
6
|
var e = /[^.]+$/.exec(r && r.keys && r.keys.IE_PROTO || "");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheClear.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
4
|
function n() {
|
|
5
5
|
this.__data__ = [], this.size = 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__assocIndexOf as t } from "./_assocIndexOf.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheDelete.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t(), i = Array.prototype.splice;
|
|
6
6
|
function a(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_listCacheGet.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__assocIndexOf as t } from "./_assocIndexOf.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheGet.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_listCacheHas.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__assocIndexOf as t } from "./_assocIndexOf.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheHas.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_listCacheSet.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__assocIndexOf as t } from "./_assocIndexOf.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheSet.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i(e, t) {
|
|
@@ -2,7 +2,7 @@ import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js
|
|
|
2
2
|
import { require__Hash as t } from "./_Hash.js";
|
|
3
3
|
import { require__ListCache as n } from "./_ListCache.js";
|
|
4
4
|
import { require__Map as r } from "./_Map.js";
|
|
5
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
5
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheClear.js
|
|
6
6
|
var i = /* @__PURE__ */ e(((e, i) => {
|
|
7
7
|
var a = t(), o = n(), s = r();
|
|
8
8
|
function c() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__getMapData as t } from "./_getMapData.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheDelete.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_mapCacheGet.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__getMapData as t } from "./_getMapData.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheGet.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_mapCacheHas.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__getMapData as t } from "./_getMapData.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheHas.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_mapCacheSet.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__getMapData as t } from "./_getMapData.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheSet.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t();
|
|
6
6
|
function i(e, t) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_nativeCreate.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__getNative as t } from "./_getNative.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_nativeCreate.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
n.exports = t()(Object, "create");
|
|
6
6
|
}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_objectToString.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
4
|
var n = Object.prototype.toString;
|
|
5
5
|
function r(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_root.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__freeGlobal as t } from "./_freeGlobal.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_root.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t(), i = typeof self == "object" && self && self.Object === Object && self;
|
|
6
6
|
n.exports = r || i || Function("return this")();
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/_toSource.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/_toSource.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
4
|
var n = Function.prototype.toString;
|
|
5
5
|
function r(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/eq.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
4
|
function n(e, t) {
|
|
5
5
|
return e === t || e !== e && t !== t;
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/isFunction.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__baseGetTag as t } from "./_baseGetTag.js";
|
|
3
3
|
import { require_isObject as n } from "./isObject.js";
|
|
4
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/isFunction.js
|
|
5
5
|
var r = /* @__PURE__ */ e(((e, r) => {
|
|
6
6
|
var i = t(), a = n(), o = "[object AsyncFunction]", s = "[object Function]", c = "[object GeneratorFunction]", l = "[object Proxy]";
|
|
7
7
|
function u(e) {
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/isObject.js
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/isObject.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
4
|
function n(e) {
|
|
5
5
|
var t = typeof e;
|
package/dist/node_modules/.bun/{lodash@4.17.21 → lodash@4.18.1}/node_modules/lodash/memoize.js
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
import { require__MapCache as t } from "./_MapCache.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash@4.
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash@4.18.1/node_modules/lodash/memoize.js
|
|
4
4
|
var n = /* @__PURE__ */ e(((e, n) => {
|
|
5
5
|
var r = t(), i = "Expected a function";
|
|
6
6
|
function a(e, t) {
|
|
@@ -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/toggle-bar.js
CHANGED
package/dist/tool-menu.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import e from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
2
|
-
import t from "./toggle-bar.js";
|
|
1
|
+
import { clsx as e } from "./node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { ToggleBar as t } from "./toggle-bar.js";
|
|
3
3
|
import n from "react";
|
|
4
4
|
import r from "prop-types";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
@@ -38,4 +38,4 @@ var a = class extends n.Component {
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
//#endregion
|
|
41
|
-
export { a as default };
|
|
41
|
+
export { a as ToolMenu, a as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { bounds as e, point 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 { correct as r, disabled as i, disabledSecondary as a, incorrect as o, missing as s } from "../shared/styles.js";
|
|
4
4
|
import c from "react";
|
|
5
5
|
import l from "prop-types";
|
|
@@ -69,4 +69,4 @@ var h = class extends c.Component {
|
|
|
69
69
|
fromDelta: (e, n) => t(e).add(t(n))
|
|
70
70
|
})(v);
|
|
71
71
|
//#endregion
|
|
72
|
-
export { y as default };
|
|
72
|
+
export { v as BgCircle, y as default };
|
|
@@ -63,11 +63,16 @@ export declare class RawBaseCircle extends React.Component {
|
|
|
63
63
|
static defaultProps: {
|
|
64
64
|
onClick: () => {};
|
|
65
65
|
};
|
|
66
|
+
state: {
|
|
67
|
+
editingLabel: null;
|
|
68
|
+
};
|
|
69
|
+
componentDidUpdate(prevProps: any): void;
|
|
66
70
|
onChangePoint: any;
|
|
67
71
|
dragFrom: any;
|
|
68
72
|
dragTo: any;
|
|
69
73
|
dragCircle: any;
|
|
70
74
|
labelChange: any;
|
|
75
|
+
stopEditingLabel: any;
|
|
71
76
|
clickPoint: any;
|
|
72
77
|
input: {};
|
|
73
78
|
render(): React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { equalPoints as e, getMiddleOfTwoPoints as t, point as n, stripEmptyLabel as r } from "../../utils.js";
|
|
2
|
-
import i from "../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
2
|
+
import { clsx as i } from "../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
3
3
|
import { BasePoint as a } from "../shared/point/index.js";
|
|
4
|
-
import o from "../../mark-label.js";
|
|
4
|
+
import { MarkLabel as o } from "../../mark-label.js";
|
|
5
5
|
import s from "./bg-circle.js";
|
|
6
6
|
import { rootEdgeComponent as c } from "../shared/line/with-root-edge.js";
|
|
7
7
|
import l from "react";
|
|
@@ -38,6 +38,10 @@ var y = (e) => p({
|
|
|
38
38
|
limitLabeling: u.bool
|
|
39
39
|
};
|
|
40
40
|
static defaultProps = { onClick: () => ({}) };
|
|
41
|
+
state = { editingLabel: null };
|
|
42
|
+
componentDidUpdate(e) {
|
|
43
|
+
e.labelModeEnabled && !this.props.labelModeEnabled && this.state.editingLabel !== null && this.setState({ editingLabel: null });
|
|
44
|
+
}
|
|
41
45
|
onChangePoint = (n) => {
|
|
42
46
|
let { middle: r, onChange: i } = this.props, { from: a, to: o } = n;
|
|
43
47
|
e(a, o) || (r && (n.middle = {
|
|
@@ -79,6 +83,9 @@ var y = (e) => p({
|
|
|
79
83
|
let { changeMarkProps: n } = this.props, r = { ...e };
|
|
80
84
|
(!e.label || d(e.label)) && delete r.label, n({ [t]: r });
|
|
81
85
|
};
|
|
86
|
+
stopEditingLabel = () => {
|
|
87
|
+
this.state.editingLabel !== null && this.setState({ editingLabel: null });
|
|
88
|
+
};
|
|
82
89
|
clickPoint = (e, n, i) => {
|
|
83
90
|
let { changeMarkProps: a, disabled: o, from: s, to: c, middle: l, labelModeEnabled: u, limitLabeling: d, onClick: f } = this.props;
|
|
84
91
|
if (!u) {
|
|
@@ -96,41 +103,47 @@ var y = (e) => p({
|
|
|
96
103
|
label: "",
|
|
97
104
|
...e
|
|
98
105
|
}
|
|
99
|
-
}), this.
|
|
106
|
+
}), this.setState({ editingLabel: n }));
|
|
100
107
|
};
|
|
101
108
|
input = {};
|
|
102
109
|
render() {
|
|
103
|
-
let { from: e, to: t, middle: n, disabled: r, building: s, coordinatesOnHover: c, onDragStart: l, onDragStop: u, onClick: d, correctness: f, graphProps: p, labelNode: m, labelModeEnabled: _ } = this.props, y = {
|
|
110
|
+
let { from: e, to: t, middle: n, disabled: r, building: s, coordinatesOnHover: c, onDragStart: l, onDragStop: u, onClick: d, correctness: f, graphProps: p, labelNode: m, labelModeEnabled: _ } = this.props, { editingLabel: y } = this.state, x = {
|
|
104
111
|
onDragStart: l,
|
|
105
112
|
onDragStop: u,
|
|
106
113
|
graphProps: p,
|
|
107
114
|
onClick: d
|
|
108
115
|
};
|
|
109
116
|
t ||= e;
|
|
110
|
-
let
|
|
111
|
-
return m && (e?.label !== void 0 && (
|
|
117
|
+
let C = b(e, t), w = null, T = null, E = null;
|
|
118
|
+
return m && (e?.label !== void 0 && (w = v.createPortal(/* @__PURE__ */ h(o, {
|
|
112
119
|
inputRef: (e) => this.input.from = e,
|
|
120
|
+
autoFocus: y === "from",
|
|
113
121
|
disabled: !_,
|
|
114
122
|
mark: e,
|
|
115
123
|
graphProps: p,
|
|
124
|
+
onBlur: this.stopEditingLabel,
|
|
116
125
|
onChange: (t) => this.labelChange({
|
|
117
126
|
...e,
|
|
118
127
|
label: t
|
|
119
128
|
}, "from")
|
|
120
|
-
}), m)), t?.label !== void 0 && (
|
|
129
|
+
}), m)), t?.label !== void 0 && (T = v.createPortal(/* @__PURE__ */ h(o, {
|
|
121
130
|
inputRef: (e) => this.input.to = e,
|
|
131
|
+
autoFocus: y === "to",
|
|
122
132
|
disabled: !_,
|
|
123
133
|
mark: t,
|
|
124
134
|
graphProps: p,
|
|
135
|
+
onBlur: this.stopEditingLabel,
|
|
125
136
|
onChange: (e) => this.labelChange({
|
|
126
137
|
...t,
|
|
127
138
|
label: e
|
|
128
139
|
}, "to")
|
|
129
|
-
}), m)), n?.label !== void 0 && (
|
|
140
|
+
}), m)), n?.label !== void 0 && (E = v.createPortal(/* @__PURE__ */ h(o, {
|
|
130
141
|
inputRef: (e) => this.input.middle = e,
|
|
142
|
+
autoFocus: y === "middle",
|
|
131
143
|
disabled: !_,
|
|
132
144
|
mark: n,
|
|
133
145
|
graphProps: p,
|
|
146
|
+
onBlur: this.stopEditingLabel,
|
|
134
147
|
onChange: (e) => this.labelChange({
|
|
135
148
|
...n,
|
|
136
149
|
label: e
|
|
@@ -142,12 +155,12 @@ var y = (e) => p({
|
|
|
142
155
|
className: i(s && "bgCircleBuilding"),
|
|
143
156
|
x: e.x,
|
|
144
157
|
y: e.y,
|
|
145
|
-
radius:
|
|
158
|
+
radius: C,
|
|
146
159
|
onDrag: this.dragCircle,
|
|
147
|
-
...
|
|
160
|
+
...x,
|
|
148
161
|
onClick: (e) => this.clickPoint(n, "middle", e)
|
|
149
162
|
}),
|
|
150
|
-
|
|
163
|
+
E,
|
|
151
164
|
/* @__PURE__ */ h(a, {
|
|
152
165
|
disabled: s || r,
|
|
153
166
|
coordinatesOnHover: c,
|
|
@@ -156,10 +169,10 @@ var y = (e) => p({
|
|
|
156
169
|
x: t.x,
|
|
157
170
|
y: t.y,
|
|
158
171
|
onDrag: this.dragTo,
|
|
159
|
-
...
|
|
172
|
+
...x,
|
|
160
173
|
onClick: (e) => this.clickPoint(t, "to", e)
|
|
161
174
|
}),
|
|
162
|
-
|
|
175
|
+
T,
|
|
163
176
|
/* @__PURE__ */ h(a, {
|
|
164
177
|
disabled: s || r,
|
|
165
178
|
coordinatesOnHover: c,
|
|
@@ -169,10 +182,10 @@ var y = (e) => p({
|
|
|
169
182
|
y: e.y,
|
|
170
183
|
className: "from",
|
|
171
184
|
onDrag: this.dragFrom,
|
|
172
|
-
...
|
|
185
|
+
...x,
|
|
173
186
|
onClick: (t) => this.clickPoint(e, "from", t)
|
|
174
187
|
}),
|
|
175
|
-
|
|
188
|
+
w
|
|
176
189
|
] });
|
|
177
190
|
}
|
|
178
191
|
}, S = m(s)(() => ({
|
|
@@ -190,6 +203,6 @@ var y = (e) => p({
|
|
|
190
203
|
animation: `${y("0.3")} 2s ease-out infinite`,
|
|
191
204
|
opacity: 1
|
|
192
205
|
}
|
|
193
|
-
})), C = c(
|
|
206
|
+
})), C = x, w = c(C);
|
|
194
207
|
//#endregion
|
|
195
|
-
export { C as default };
|
|
208
|
+
export { C as BaseCircle, x as RawBaseCircle, w as default };
|
package/dist/tools/index.js
CHANGED
|
@@ -52,4 +52,4 @@ var f = /* @__PURE__ */ e({
|
|
|
52
52
|
{ type: "label" }
|
|
53
53
|
];
|
|
54
54
|
//#endregion
|
|
55
|
-
export { p as allTools, m as toolsArr, f as tools_exports };
|
|
55
|
+
export { u as absolute, p as allTools, n as circle, d as exponential, o as line, a as parabola, t as point, r as polygon, c as ray, i as sine, m as toolsArr, f as tools_exports, l as vector };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getAdjustedGraphLimits as e, thinnerShapesNeeded 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 { ArrowMarker as r, genUid as i } from "../shared/arrow-head.js";
|
|
4
4
|
import { lineBase as a, lineToolComponent as o, styles as s } from "../shared/line/index.js";
|
|
5
5
|
import "react";
|
|
@@ -69,4 +69,4 @@ h.propTypes = {
|
|
|
69
69
|
};
|
|
70
70
|
var g = o(a(h));
|
|
71
71
|
//#endregion
|
|
72
|
-
export { g as default };
|
|
72
|
+
export { h as ArrowedLine, g as default };
|
|
@@ -40,10 +40,12 @@ export declare class Point extends React.Component {
|
|
|
40
40
|
};
|
|
41
41
|
static defaultProps: {};
|
|
42
42
|
constructor(props: any);
|
|
43
|
+
componentDidUpdate(prevProps: any): void;
|
|
43
44
|
move: any;
|
|
44
45
|
startDrag: any;
|
|
45
46
|
stopDrag: any;
|
|
46
47
|
labelChange: any;
|
|
48
|
+
stopEditingLabel: any;
|
|
47
49
|
clickPoint: any;
|
|
48
50
|
render(): React.JSX.Element;
|
|
49
51
|
}
|