refactor(editor): add gfx entry in bs global package (#10612)

This commit is contained in:
Saul-Mirone
2025-03-04 12:46:50 +00:00
parent 5ad3d3c94a
commit 66d9d576e0
216 changed files with 341 additions and 397 deletions
@@ -12,12 +12,9 @@ import type {
GfxLocalElementModel,
GfxModel,
} from '@blocksuite/block-std/gfx';
import type { IBound, IVec, IVec3 } from '@blocksuite/global/utils';
import type { IBound, IVec, IVec3 } from '@blocksuite/global/gfx';
import {
almostEqual,
assertEquals,
assertExists,
assertType,
Bound,
clamp,
getBezierCurveBoundingBox,
@@ -27,13 +24,18 @@ import {
getPointFromBoundsWithRotation,
isOverlap,
isVecZero,
last,
lineIntersects,
PI2,
PointLocation,
sign,
toRadian,
Vec,
} from '@blocksuite/global/gfx';
import {
assertEquals,
assertExists,
assertType,
last,
} from '@blocksuite/global/utils';
import { effect } from '@preact/signals-core';