@weasel-js/core 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +428 -0
- package/dist/{DrawCommand-Ch8W63oQ.d.ts → DrawCommand-CD-ug3d9.d.ts} +45 -1
- package/dist/{stroke-Dq8nL4A2.d.ts → builtins-CtGORLCG.d.ts} +51 -2
- package/dist/{chunk-2KKYDDDD.js → chunk-4RJP2N2L.js} +43 -21
- package/dist/chunk-4RJP2N2L.js.map +1 -0
- package/dist/{chunk-MXFSHJOM.js → chunk-D4AAWR64.js} +4 -4
- package/dist/{chunk-MXFSHJOM.js.map → chunk-D4AAWR64.js.map} +1 -1
- package/dist/{chunk-ZB7UYJVG.js → chunk-DOBSZOPR.js} +3 -3
- package/dist/{chunk-ZB7UYJVG.js.map → chunk-DOBSZOPR.js.map} +1 -1
- package/dist/{chunk-TORKRNFY.js → chunk-LEURURX3.js} +68 -5
- package/dist/chunk-LEURURX3.js.map +1 -0
- package/dist/{chunk-Y5KS66G7.js → chunk-ORZNKVXM.js} +3 -3
- package/dist/{chunk-Y5KS66G7.js.map → chunk-ORZNKVXM.js.map} +1 -1
- package/dist/{chunk-67KE7SDP.js → chunk-T3UQ3F6R.js} +4 -4
- package/dist/{chunk-67KE7SDP.js.map → chunk-T3UQ3F6R.js.map} +1 -1
- package/dist/{chunk-NU7D64RL.js → chunk-WYPSGIYS.js} +1142 -595
- package/dist/chunk-WYPSGIYS.js.map +1 -0
- package/dist/clipboard.d.ts +2 -2
- package/dist/clipboard.js +3 -3
- package/dist/clone.d.ts +2 -2
- package/dist/clone.js +3 -3
- package/dist/{geometry-Dtt_k6Dq.d.ts → geometry-CHR36Ub_.d.ts} +3 -3
- package/dist/{grid-nnXU4VjN.d.ts → grid-Bw8cSde-.d.ts} +1 -1
- package/dist/index.d.ts +128 -237
- package/dist/index.js +7 -7
- package/dist/insert.d.ts +3 -3
- package/dist/move.d.ts +4 -4
- package/dist/move.js +2 -2
- package/dist/{options-CdFl510T.d.ts → options-DYfUlZxk.d.ts} +1 -1
- package/dist/{pointSnapToGrid-Dmthv94u.d.ts → pointSnapToGrid-D1bRdq-j.d.ts} +2 -2
- package/dist/{registry-BwY_DxJM.d.ts → registry-DnoTWGED.d.ts} +98 -8
- package/dist/renderer.d.ts +32 -4
- package/dist/renderer.js +7 -7
- package/dist/resize.d.ts +4 -4
- package/dist/routing.d.ts +6 -6
- package/dist/routing.js +1 -1
- package/dist/{types-miXHGrZM.d.ts → types-BJqsTlXl.d.ts} +1 -1
- package/dist/{types-XBcDEp3Y.d.ts → types-CoVTbo_y.d.ts} +9 -0
- package/dist/{types-DIQAisSG.d.ts → types-H7o6MaPo.d.ts} +20 -1
- package/package.json +9 -9
- package/dist/chunk-2KKYDDDD.js.map +0 -1
- package/dist/chunk-NU7D64RL.js.map +0 -1
- package/dist/chunk-TORKRNFY.js.map +0 -1
package/dist/clipboard.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NodeId } from './types-
|
|
2
|
-
import { C as ClipboardSnapshot, I as InsertAdapter } from './types-
|
|
1
|
+
import { N as NodeId } from './types-H7o6MaPo.js';
|
|
2
|
+
import { C as ClipboardSnapshot, I as InsertAdapter } from './types-CoVTbo_y.js';
|
|
3
3
|
import '@weasel-js/history';
|
|
4
4
|
import './path-JEV2c5If.js';
|
|
5
5
|
|
package/dist/clipboard.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { WEASEL_CLIPBOARD_MIME, WEASEL_CLIPBOARD_MIME_WEB, buildWeaselClipboardText, embedWeaselMetadataInSvg, extractWeaselClipboardFromSvg, parseWeaselClipboardText, sniffWeaselClipboardText, useClipboardOps } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { WEASEL_CLIPBOARD_MIME, WEASEL_CLIPBOARD_MIME_WEB, buildWeaselClipboardText, embedWeaselMetadataInSvg, extractWeaselClipboardFromSvg, parseWeaselClipboardText, sniffWeaselClipboardText, useClipboardOps } from './chunk-T3UQ3F6R.js';
|
|
2
|
+
import './chunk-DOBSZOPR.js';
|
|
3
|
+
import './chunk-4RJP2N2L.js';
|
|
4
4
|
//# sourceMappingURL=clipboard.js.map
|
|
5
5
|
//# sourceMappingURL=clipboard.js.map
|
package/dist/clone.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CloneBehavior } from './types-
|
|
1
|
+
import { C as CloneBehavior } from './types-BJqsTlXl.js';
|
|
2
2
|
import '@weasel-js/history';
|
|
3
|
-
import './types-
|
|
3
|
+
import './types-CoVTbo_y.js';
|
|
4
4
|
|
|
5
5
|
/** Clone-on-alt-drag behavior for `useClone`; activates when Alt/Option is held at drag start. */
|
|
6
6
|
declare function cloneByAltDrag(): CloneBehavior;
|
package/dist/clone.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { cloneByAltDrag } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { cloneByAltDrag } from './chunk-D4AAWR64.js';
|
|
2
|
+
import './chunk-DOBSZOPR.js';
|
|
3
|
+
import './chunk-4RJP2N2L.js';
|
|
4
4
|
//# sourceMappingURL=clone.js.map
|
|
5
5
|
//# sourceMappingURL=clone.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { V as View } from './view-DSQgxBJB.js';
|
|
2
|
-
import { R as ResizePose, a as RotatedPose } from './types-
|
|
2
|
+
import { R as ResizePose, a as RotatedPose } from './types-BJqsTlXl.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Axis-aligned rectangle in world space. Kit-wide `Bounds` shape used by
|
|
@@ -26,12 +26,12 @@ interface FitViewToBoundsOptions {
|
|
|
26
26
|
padding?: number;
|
|
27
27
|
/**
|
|
28
28
|
* Override the kit's system max scale. Defaults to the kit-wide max zoom
|
|
29
|
-
* used by `computeWheelAction`
|
|
29
|
+
* used by `computeWheelAction` (`DEFAULT_MAX_ZOOM`).
|
|
30
30
|
*/
|
|
31
31
|
maxScale?: number;
|
|
32
32
|
/**
|
|
33
33
|
* Override the kit's system min scale. Defaults to the kit-wide min zoom
|
|
34
|
-
* used by `computeWheelAction`
|
|
34
|
+
* used by `computeWheelAction` (`DEFAULT_MIN_ZOOM`).
|
|
35
35
|
*/
|
|
36
36
|
minScale?: number;
|
|
37
37
|
/**
|