@zyzgroup/core-web 0.1.90 → 0.1.93
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/css/better.css +5 -0
- package/dist/css/font.css +108 -0
- package/dist/css/theme.css +85 -56
- package/dist/zyzgroup_core_web.iife.js +115 -36
- package/dist/zyzgroup_core_web.iife.js.map +1 -1
- package/dist/zyzgroup_core_web.js +25535 -20837
- package/dist/zyzgroup_core_web.js.map +1 -1
- package/dist/zyzgroup_core_web.umd.cjs +115 -36
- package/dist/zyzgroup_core_web.umd.cjs.map +1 -1
- package/package.json +10 -2
- package/types/Pagination.d.ts +1 -1
- package/types/Pagination.d.ts.map +1 -1
- package/types/WebMonitor.d.ts +6 -0
- package/types/WebMonitor.d.ts.map +1 -1
- package/types/WebSocketClient.d.ts.map +1 -1
- package/types/animate/Timeline.d.ts.map +1 -1
- package/types/animate/index.d.ts +0 -1
- package/types/animate/index.d.ts.map +1 -1
- package/types/canvas/html-in-canvas.d.ts +1 -0
- package/types/canvas/html-in-canvas.d.ts.map +1 -0
- package/types/components/SideEffectTags.d.ts +25 -0
- package/types/components/SideEffectTags.d.ts.map +1 -0
- package/types/components/angular/demoAngular.d.ts +1 -0
- package/types/components/angular/demoAngular.d.ts.map +1 -0
- package/types/components/component-core.d.ts +34 -0
- package/types/components/component-core.d.ts.map +1 -0
- package/types/components/index.d.ts +3 -0
- package/types/components/index.d.ts.map +1 -0
- package/types/components/react/CatFriends.d.ts +2 -0
- package/types/components/react/CatFriends.d.ts.map +1 -0
- package/types/components/react/DemoForm.d.ts +2 -0
- package/types/components/react/DemoForm.d.ts.map +1 -0
- package/types/components/react/ErrorBoundary.d.ts +16 -0
- package/types/components/react/ErrorBoundary.d.ts.map +1 -0
- package/types/components/react/TravelPlan.d.ts +2 -0
- package/types/components/react/TravelPlan.d.ts.map +1 -0
- package/types/components/react/VideoPlayer.d.ts +5 -0
- package/types/components/react/VideoPlayer.d.ts.map +1 -0
- package/types/components/react/demoReact.d.ts +4 -0
- package/types/components/react/demoReact.d.ts.map +1 -0
- package/types/components/react/motion/Refresh.d.ts +4 -0
- package/types/components/react/motion/Refresh.d.ts.map +1 -0
- package/types/components/react/motion/demo/AddToBasket.d.ts +12 -0
- package/types/components/react/motion/demo/AddToBasket.d.ts.map +1 -0
- package/types/components/react/motion/demo/Cursor.d.ts +4 -0
- package/types/components/react/motion/demo/Cursor.d.ts.map +1 -0
- package/types/components/react/motion/demo/LayoutAnchor.d.ts +6 -0
- package/types/components/react/motion/demo/LayoutAnchor.d.ts.map +1 -0
- package/types/components/react/motion/demo/LayoutAnimation.d.ts +2 -0
- package/types/components/react/motion/demo/LayoutAnimation.d.ts.map +1 -0
- package/types/components/react/motion/demo/LayoutGroup.d.ts +2 -0
- package/types/components/react/motion/demo/LayoutGroup.d.ts.map +1 -0
- package/types/components/react/motion/demo/MotionDemo.d.ts +2 -0
- package/types/components/react/motion/demo/MotionDemo.d.ts.map +1 -0
- package/types/components/react/motion/demo/Navigation.d.ts +2 -0
- package/types/components/react/motion/demo/Navigation.d.ts.map +1 -0
- package/types/components/react/motion/demo/Reordering.d.ts +2 -0
- package/types/components/react/motion/demo/Reordering.d.ts.map +1 -0
- package/types/components/react/motion/demo/ScrollLinked.d.ts +2 -0
- package/types/components/react/motion/demo/ScrollLinked.d.ts.map +1 -0
- package/types/components/react/motion/demo/ScrollTriggered.d.ts +2 -0
- package/types/components/react/motion/demo/ScrollTriggered.d.ts.map +1 -0
- package/types/components/react/motion/demo/SharedLayoutAnimation.d.ts +2 -0
- package/types/components/react/motion/demo/SharedLayoutAnimation.d.ts.map +1 -0
- package/types/components/react/motion/demo/StateAnimations.d.ts +2 -0
- package/types/components/react/motion/demo/StateAnimations.d.ts.map +1 -0
- package/types/components/react/motion/demo/UseTransform.d.ts +2 -0
- package/types/components/react/motion/demo/UseTransform.d.ts.map +1 -0
- package/types/components/react/ssr/Html.d.ts +7 -0
- package/types/components/react/ssr/Html.d.ts.map +1 -0
- package/types/components/vnode.d.ts +12 -0
- package/types/components/vnode.d.ts.map +1 -0
- package/types/components/vue/demoVue.d.ts +16 -0
- package/types/components/vue/demoVue.d.ts.map +1 -0
- package/types/{hooks/useCookie.d.ts → createCookie.d.ts} +2 -2
- package/types/createCookie.d.ts.map +1 -0
- package/types/{hooks/useIndexDB.d.ts → createIndexDB.d.ts} +1 -1
- package/types/createIndexDB.d.ts.map +1 -0
- package/types/{hooks/useLocalStorage.d.ts → createLocalStorage.d.ts} +2 -2
- package/types/createLocalStorage.d.ts.map +1 -0
- package/types/{hooks/useSessionStorage.d.ts → createSessionStorage.d.ts} +2 -2
- package/types/createSessionStorage.d.ts.map +1 -0
- package/types/{hooks/useAttribute.d.ts → dom/attribute.d.ts} +3 -3
- package/types/dom/attribute.d.ts.map +1 -0
- package/types/dom/coords.d.ts +6 -0
- package/types/dom/coords.d.ts.map +1 -0
- package/types/{hooks/useElementEventBus.d.ts → dom/createElementEventBus.d.ts} +8 -8
- package/types/dom/createElementEventBus.d.ts.map +1 -0
- package/types/{hooks/useEventListener.d.ts → dom/createEventListener.d.ts} +7 -7
- package/types/dom/createEventListener.d.ts.map +1 -0
- package/types/dom/dataset.d.ts +7 -0
- package/types/dom/dataset.d.ts.map +1 -0
- package/types/{hooks/useElement.d.ts → dom/dom.d.ts} +10 -9
- package/types/dom/dom.d.ts.map +1 -0
- package/types/{hooks/useElementEvents.d.ts → dom/elementEvents.d.ts} +25 -85
- package/types/dom/elementEvents.d.ts.map +1 -0
- package/types/{hooks/useFeRouteChange.d.ts → dom/feRouteChange.d.ts} +6 -6
- package/types/dom/feRouteChange.d.ts.map +1 -0
- package/types/dom/index.d.ts +15 -0
- package/types/dom/index.d.ts.map +1 -1
- package/types/dom/intersection.d.ts +4 -0
- package/types/dom/intersection.d.ts.map +1 -0
- package/types/dom/matchMedia.d.ts +3 -0
- package/types/dom/matchMedia.d.ts.map +1 -0
- package/types/{hooks/useMutation.d.ts → dom/mutation.d.ts} +2 -2
- package/types/dom/mutation.d.ts.map +1 -0
- package/types/dom/resize.d.ts +9 -0
- package/types/dom/resize.d.ts.map +1 -0
- package/types/{hooks/useSafeArea.d.ts → dom/safeArea.d.ts} +2 -2
- package/types/dom/safeArea.d.ts.map +1 -0
- package/types/{hooks/useStyle.d.ts → dom/style.d.ts} +1 -1
- package/types/dom/style.d.ts.map +1 -0
- package/types/dom/visible.d.ts +7 -0
- package/types/dom/visible.d.ts.map +1 -0
- package/types/file.d.ts +9 -15
- package/types/file.d.ts.map +1 -1
- package/types/hooks/alimini/createAliMiniControllableState.d.ts +12 -0
- package/types/hooks/alimini/createAliMiniControllableState.d.ts.map +1 -0
- package/types/hooks/core/index.d.ts +3 -0
- package/types/hooks/core/index.d.ts.map +1 -0
- package/types/hooks/core/reduxStore.d.ts +30 -0
- package/types/hooks/core/reduxStore.d.ts.map +1 -0
- package/types/hooks/core/stateStore.d.ts +10 -0
- package/types/hooks/core/stateStore.d.ts.map +1 -0
- package/types/hooks/index.d.ts +3 -22
- package/types/hooks/index.d.ts.map +1 -1
- package/types/hooks/react/index.d.ts +5 -0
- package/types/hooks/react/index.d.ts.map +1 -0
- package/types/hooks/react/useAnimationLoop.d.ts +2 -0
- package/types/hooks/react/useAnimationLoop.d.ts.map +1 -0
- package/types/hooks/react/useAppState.d.ts +15 -0
- package/types/hooks/react/useAppState.d.ts.map +1 -0
- package/types/hooks/react/useDelayedValue.d.ts +2 -0
- package/types/hooks/react/useDelayedValue.d.ts.map +1 -0
- package/types/hooks/react/useDimensions.d.ts +5 -0
- package/types/hooks/react/useDimensions.d.ts.map +1 -0
- package/types/hooks/react/useDoublePress.d.ts +3 -0
- package/types/hooks/react/useDoublePress.d.ts.map +1 -0
- package/types/hooks/react/useFadeIn.d.ts +3 -0
- package/types/hooks/react/useFadeIn.d.ts.map +1 -0
- package/types/hooks/react/useFetch.d.ts +2 -0
- package/types/hooks/react/useFetch.d.ts.map +1 -0
- package/types/hooks/react/useFormInput.d.ts +5 -0
- package/types/hooks/react/useFormInput.d.ts.map +1 -0
- package/types/hooks/react/useImmer.d.ts +9 -0
- package/types/hooks/react/useImmer.d.ts.map +1 -0
- package/types/hooks/react/useMailbox.d.ts +4 -0
- package/types/hooks/react/useMailbox.d.ts.map +1 -0
- package/types/hooks/react/useMinDisplayTime.d.ts +2 -0
- package/types/hooks/react/useMinDisplayTime.d.ts.map +1 -0
- package/types/hooks/react/useOnlineStatus.d.ts +2 -0
- package/types/hooks/react/useOnlineStatus.d.ts.map +1 -0
- package/types/hooks/react/usePointerPosition.d.ts +5 -0
- package/types/hooks/react/usePointerPosition.d.ts.map +1 -0
- package/types/hooks/react/useProgressBar.d.ts +1 -0
- package/types/hooks/react/useProgressBar.d.ts.map +1 -0
- package/types/hooks/react/useQuery.d.ts +12 -0
- package/types/hooks/react/useQuery.d.ts.map +1 -0
- package/types/hooks/react/useReactControllableState.d.ts +10 -0
- package/types/hooks/react/useReactControllableState.d.ts.map +1 -0
- package/types/hooks/react/useTimeout.d.ts +2 -0
- package/types/hooks/react/useTimeout.d.ts.map +1 -0
- package/types/hooks/react/useTimer.d.ts +2 -0
- package/types/hooks/react/useTimer.d.ts.map +1 -0
- package/types/hooks/useDraw/DrawContext.d.ts +3 -3
- package/types/hooks/useDraw/DrawContext.d.ts.map +1 -1
- package/types/hooks/useDraw/Shape.d.ts +2 -2
- package/types/hooks/useDraw/Shape.d.ts.map +1 -1
- package/types/hooks/useDraw/line/Arc.d.ts +1 -1
- package/types/hooks/useDraw/line/Arc.d.ts.map +1 -1
- package/types/hooks/useDraw/line/CubicBezier.d.ts +1 -1
- package/types/hooks/useDraw/line/CubicBezier.d.ts.map +1 -1
- package/types/hooks/useDraw/line/L.d.ts +1 -1
- package/types/hooks/useDraw/line/L.d.ts.map +1 -1
- package/types/hooks/useDraw/line/PathD.d.ts +1 -1
- package/types/hooks/useDraw/line/PathD.d.ts.map +1 -1
- package/types/hooks/useDraw/line/QuadraticBezier.d.ts +1 -1
- package/types/hooks/useDraw/line/QuadraticBezier.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/ArrowShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/ArrowShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/BallShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/BallShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/ConfettiShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/CurveShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/CurveShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/EllipseShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/EllipseShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/FoxShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/FoxShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/HeartShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/HeartShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/HeartVariantShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/HeartVariantShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/LineShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/LineShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/PointsShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/PointsShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/RabbitShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/RabbitShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/RectShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/RectShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/RingShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/RingShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/StarShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/StarShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/TextShape.d.ts +1 -1
- package/types/hooks/useDraw/shapes/TextShape.d.ts.map +1 -1
- package/types/hooks/useLocale/useLocale.d.ts +2 -2
- package/types/hooks/useLocale/useLocale.d.ts.map +1 -1
- package/types/hooks/vue/index.d.ts +3 -0
- package/types/hooks/vue/index.d.ts.map +1 -0
- package/types/hooks/vue/useAppState.d.ts +13 -0
- package/types/hooks/vue/useAppState.d.ts.map +1 -0
- package/types/hooks/vue/useVueControllableState.d.ts +11 -0
- package/types/hooks/vue/useVueControllableState.d.ts.map +1 -0
- package/types/hooks/wxmini/createWxMiniControllableState.d.ts +12 -0
- package/types/hooks/wxmini/createWxMiniControllableState.d.ts.map +1 -0
- package/types/index.d.ts +7 -8
- package/types/index.d.ts.map +1 -1
- package/types/math/BufferAttribute.d.ts +0 -71
- package/types/math/BufferAttribute.d.ts.map +1 -1
- package/types/math/Euler.d.ts +0 -32
- package/types/math/Euler.d.ts.map +1 -1
- package/types/math/Matrix.d.ts +0 -6
- package/types/math/Matrix.d.ts.map +1 -1
- package/types/math/Quaternion.d.ts +0 -51
- package/types/math/Quaternion.d.ts.map +1 -1
- package/types/math/Shape.d.ts +5 -4
- package/types/math/Shape.d.ts.map +1 -1
- package/types/math/Vector.d.ts +0 -11
- package/types/math/Vector.d.ts.map +1 -1
- package/types/math/core/Box3.d.ts +0 -45
- package/types/math/core/Box3.d.ts.map +1 -1
- package/types/math/core/Frustum.d.ts +0 -22
- package/types/math/core/Frustum.d.ts.map +1 -1
- package/types/math/core/Object3D.d.ts +0 -95
- package/types/math/core/Object3D.d.ts.map +1 -1
- package/types/math/core/Plane.d.ts +0 -30
- package/types/math/core/Plane.d.ts.map +1 -1
- package/types/math/core/Ray.d.ts +0 -31
- package/types/math/core/Ray.d.ts.map +1 -1
- package/types/math/core/Sphere.d.ts +0 -28
- package/types/math/core/Sphere.d.ts.map +1 -1
- package/types/math/core/Triangle.d.ts +0 -33
- package/types/math/core/Triangle.d.ts.map +1 -1
- package/types/math/index.d.ts +0 -1
- package/types/math/index.d.ts.map +1 -1
- package/types/math/line/Arc.d.ts +2 -2
- package/types/math/line/Arc.d.ts.map +1 -1
- package/types/math/line/CubicBezier.d.ts +2 -2
- package/types/math/line/CubicBezier.d.ts.map +1 -1
- package/types/math/line/L.d.ts +2 -2
- package/types/math/line/L.d.ts.map +1 -1
- package/types/math/line/PathD.d.ts +6 -6
- package/types/math/line/PathD.d.ts.map +1 -1
- package/types/math/line/QuadraticBezier.d.ts +2 -2
- package/types/math/line/QuadraticBezier.d.ts.map +1 -1
- package/types/math/shapes/Light3D.d.ts +2 -2
- package/types/math/shapes/Light3D.d.ts.map +1 -1
- package/types/math/shapes/Point3D.d.ts +2 -2
- package/types/math/shapes/Point3D.d.ts.map +1 -1
- package/types/math/shapes/Point3Ds.d.ts +2 -2
- package/types/math/shapes/Point3Ds.d.ts.map +1 -1
- package/types/motion.d.ts +7 -0
- package/types/motion.d.ts.map +1 -0
- package/types/{hooks/useServiceWorker.d.ts → serviceWorker.d.ts} +1 -1
- package/types/serviceWorker.d.ts.map +1 -0
- package/types/svg/SVGParse.d.ts +1 -1
- package/types/svg/SVGParse.d.ts.map +1 -1
- package/types/svg/SVGUtil.d.ts.map +1 -0
- package/types/svg/index.d.ts +2 -1
- package/types/svg/index.d.ts.map +1 -1
- package/types/theme.d.ts +57 -0
- package/types/theme.d.ts.map +1 -0
- package/types/Context.d.ts +0 -36
- package/types/Context.d.ts.map +0 -1
- package/types/MVVM.d.ts +0 -12
- package/types/MVVM.d.ts.map +0 -1
- package/types/animate/schedule.d.ts +0 -15
- package/types/animate/schedule.d.ts.map +0 -1
- package/types/color.d.ts +0 -111
- package/types/color.d.ts.map +0 -1
- package/types/env.d.ts +0 -23
- package/types/env.d.ts.map +0 -1
- package/types/hooks/useAttribute.d.ts.map +0 -1
- package/types/hooks/useCookie.d.ts.map +0 -1
- package/types/hooks/useCoords.d.ts +0 -6
- package/types/hooks/useCoords.d.ts.map +0 -1
- package/types/hooks/useDataset.d.ts +0 -4
- package/types/hooks/useDataset.d.ts.map +0 -1
- package/types/hooks/useDraw/svg/SVGParse.d.ts +0 -16
- package/types/hooks/useDraw/svg/SVGParse.d.ts.map +0 -1
- package/types/hooks/useDraw/svg/SVGUtil.d.ts.map +0 -1
- package/types/hooks/useDraw/svg/index.d.ts +0 -4
- package/types/hooks/useDraw/svg/index.d.ts.map +0 -1
- package/types/hooks/useDraw/svg/line2c.d.ts +0 -5
- package/types/hooks/useDraw/svg/line2c.d.ts.map +0 -1
- package/types/hooks/useElement.d.ts.map +0 -1
- package/types/hooks/useElementEventBus.d.ts.map +0 -1
- package/types/hooks/useElementEvents.d.ts.map +0 -1
- package/types/hooks/useEventListener.d.ts.map +0 -1
- package/types/hooks/useFeRouteChange.d.ts.map +0 -1
- package/types/hooks/useFetch.d.ts +0 -14
- package/types/hooks/useFetch.d.ts.map +0 -1
- package/types/hooks/useIndexDB.d.ts.map +0 -1
- package/types/hooks/useIntersection.d.ts +0 -4
- package/types/hooks/useIntersection.d.ts.map +0 -1
- package/types/hooks/useLocalStorage.d.ts.map +0 -1
- package/types/hooks/useMatchMedia.d.ts +0 -3
- package/types/hooks/useMatchMedia.d.ts.map +0 -1
- package/types/hooks/useMutation.d.ts.map +0 -1
- package/types/hooks/useResize.d.ts +0 -9
- package/types/hooks/useResize.d.ts.map +0 -1
- package/types/hooks/useSafeArea.d.ts.map +0 -1
- package/types/hooks/useServiceWorker.d.ts.map +0 -1
- package/types/hooks/useSessionStorage.d.ts.map +0 -1
- package/types/hooks/useStyle.d.ts.map +0 -1
- package/types/hooks/useTheme.d.ts +0 -9
- package/types/hooks/useTheme.d.ts.map +0 -1
- package/types/hooks/useVisible.d.ts +0 -10
- package/types/hooks/useVisible.d.ts.map +0 -1
- package/types/hooks/useVnode.d.ts +0 -7
- package/types/hooks/useVnode.d.ts.map +0 -1
- package/types/signature.d.ts +0 -30
- package/types/signature.d.ts.map +0 -1
- package/types/svg/DOMSVGUtil.d.ts +0 -20
- package/types/svg/DOMSVGUtil.d.ts.map +0 -1
- package/types/vnode.d.ts +0 -18
- package/types/vnode.d.ts.map +0 -1
- /package/types/{hooks/useDraw/svg → svg}/SVGUtil.d.ts +0 -0
|
@@ -1,46 +1 @@
|
|
|
1
|
-
import { Vector3 } from "../Vector";
|
|
2
|
-
import { Matrix4 } from "../Matrix";
|
|
3
|
-
import { Plane } from "./Plane";
|
|
4
|
-
import { Sphere } from "./Sphere";
|
|
5
|
-
import { Triangle } from "./Triangle";
|
|
6
|
-
import { Object3D } from "./Object3D";
|
|
7
|
-
import { BufferAttribute } from "../BufferAttribute";
|
|
8
|
-
export declare class Box3 {
|
|
9
|
-
min: Vector3;
|
|
10
|
-
max: Vector3;
|
|
11
|
-
constructor(min?: Vector3, max?: Vector3);
|
|
12
|
-
set(min?: Vector3, max?: Vector3): this;
|
|
13
|
-
setFromArray(array: number[]): this;
|
|
14
|
-
setFromBufferAttribute(attribute: BufferAttribute): this;
|
|
15
|
-
setFromPoints(points: Vector3[]): this;
|
|
16
|
-
setFromCenterAndSize(center: Vector3, size: Vector3): this;
|
|
17
|
-
setFromObject(object: Object3D, precise?: boolean): this;
|
|
18
|
-
clone(): Box3;
|
|
19
|
-
copy(box: Box3): this;
|
|
20
|
-
makeEmpty(): this;
|
|
21
|
-
isEmpty(): boolean;
|
|
22
|
-
getCenter(target: Vector3): Vector3;
|
|
23
|
-
getSize(target: Vector3): Vector3;
|
|
24
|
-
expandByPoint(point: Vector3): this;
|
|
25
|
-
expandByVector(vector: Vector3): this;
|
|
26
|
-
expandByScalar(scalar: number): this;
|
|
27
|
-
expandByObject(object: Object3D, precise?: boolean): this;
|
|
28
|
-
containsPoint(point: Vector3): boolean;
|
|
29
|
-
containsBox(box: Box3): boolean;
|
|
30
|
-
getParameter(point: Vector3, target: Vector3): Vector3;
|
|
31
|
-
intersectsBox(box: Box3): boolean;
|
|
32
|
-
intersectsSphere(sphere: Sphere): boolean;
|
|
33
|
-
intersectsPlane(plane: Plane): boolean;
|
|
34
|
-
intersectsTriangle(triangle: Triangle): boolean;
|
|
35
|
-
clampPoint(point: Vector3, target: Vector3): Vector3;
|
|
36
|
-
distanceToPoint(point: Vector3): number;
|
|
37
|
-
getBoundingSphere(target: Sphere): Sphere;
|
|
38
|
-
intersect(box: Box3): this;
|
|
39
|
-
union(box: Box3): this;
|
|
40
|
-
applyMatrix4(matrix: Matrix4): this;
|
|
41
|
-
translate(offset: Vector3): this;
|
|
42
|
-
equals(box: Box3): boolean;
|
|
43
|
-
}
|
|
44
|
-
export declare function satForAxes(axes: number[], v0: Vector3, v1: Vector3, v2: Vector3, extents: Vector3): boolean;
|
|
45
|
-
export default Box3;
|
|
46
1
|
//# sourceMappingURL=Box3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box3.d.ts","sourceRoot":"","sources":["../../../src/math/core/Box3.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Box3.d.ts","sourceRoot":"","sources":["../../../src/math/core/Box3.ts"],"names":[],"mappings":""}
|
|
@@ -1,23 +1 @@
|
|
|
1
|
-
import { Vector3 } from "../Vector";
|
|
2
|
-
import { Matrix4 } from "../Matrix";
|
|
3
|
-
import Sphere from "./Sphere";
|
|
4
|
-
import Plane from "./Plane";
|
|
5
|
-
import Object3D from "./Object3D";
|
|
6
|
-
import Box3 from "./Box3";
|
|
7
|
-
export declare const WebGLCoordinateSystem = 2000;
|
|
8
|
-
export declare const WebGPUCoordinateSystem = 2001;
|
|
9
|
-
export declare class Frustum {
|
|
10
|
-
planes: [Plane, Plane, Plane, Plane, Plane, Plane];
|
|
11
|
-
constructor(p0?: Plane, p1?: Plane, p2?: Plane, p3?: Plane, p4?: Plane, p5?: Plane);
|
|
12
|
-
set(p0?: Plane, p1?: Plane, p2?: Plane, p3?: Plane, p4?: Plane, p5?: Plane): this;
|
|
13
|
-
copy(frustum: Frustum): this;
|
|
14
|
-
setFromProjectionMatrix(m: Matrix4, coordinateSystem?: number): this;
|
|
15
|
-
intersectsObject(object: Object3D): boolean;
|
|
16
|
-
intersectsSprite(sprite: Object3D): boolean;
|
|
17
|
-
intersectsSphere(sphere: Sphere): boolean;
|
|
18
|
-
intersectsBox(box: Box3): boolean;
|
|
19
|
-
containsPoint(point: Vector3): boolean;
|
|
20
|
-
clone(): Frustum;
|
|
21
|
-
}
|
|
22
|
-
export default Frustum;
|
|
23
1
|
//# sourceMappingURL=Frustum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Frustum.d.ts","sourceRoot":"","sources":["../../../src/math/core/Frustum.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Frustum.d.ts","sourceRoot":"","sources":["../../../src/math/core/Frustum.ts"],"names":[],"mappings":""}
|
|
@@ -1,96 +1 @@
|
|
|
1
|
-
import { EventBus, EventBusListeners } from "@zyzgroup/core-common";
|
|
2
|
-
import { Vector3 } from "../Vector";
|
|
3
|
-
import { Matrix3, Matrix4 } from "../Matrix";
|
|
4
|
-
import { Euler } from "../Euler";
|
|
5
|
-
import { Quaternion } from "../Quaternion";
|
|
6
|
-
import Layers from "./Layers";
|
|
7
|
-
interface Object3DEventBusListener extends EventBusListeners {
|
|
8
|
-
added: () => void;
|
|
9
|
-
removed: () => void;
|
|
10
|
-
childadded: (child: Object3D) => void;
|
|
11
|
-
childremoved: (child: Object3D) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare class Object3D extends EventBus<Object3DEventBusListener> {
|
|
14
|
-
[index: string]: any;
|
|
15
|
-
static DEFAULT_UP: Vector3;
|
|
16
|
-
static DEFAULT_MATRIX_AUTO_UPDATE: boolean;
|
|
17
|
-
static DEFAULT_MATRIX_WORLD_AUTO_UPDATE: boolean;
|
|
18
|
-
isObject3D: boolean;
|
|
19
|
-
isCamera: boolean;
|
|
20
|
-
isLight: boolean;
|
|
21
|
-
isScene: boolean;
|
|
22
|
-
id: number;
|
|
23
|
-
uuid: string;
|
|
24
|
-
name: string;
|
|
25
|
-
type: string;
|
|
26
|
-
parent: Object3D | null;
|
|
27
|
-
children: Object3D[];
|
|
28
|
-
up: Vector3;
|
|
29
|
-
position: Vector3;
|
|
30
|
-
rotation: Euler;
|
|
31
|
-
quaternion: Quaternion;
|
|
32
|
-
scale: Vector3;
|
|
33
|
-
modelViewMatrix: Matrix4;
|
|
34
|
-
normalMatrix: Matrix3;
|
|
35
|
-
matrix: Matrix4;
|
|
36
|
-
matrixWorld: Matrix4;
|
|
37
|
-
matrixAutoUpdate: boolean;
|
|
38
|
-
matrixWorldAutoUpdate: boolean;
|
|
39
|
-
matrixWorldNeedsUpdate: boolean;
|
|
40
|
-
layers: Layers;
|
|
41
|
-
visible: boolean;
|
|
42
|
-
castShadow: boolean;
|
|
43
|
-
receiveShadow: boolean;
|
|
44
|
-
frustumCulled: boolean;
|
|
45
|
-
renderOrder: number;
|
|
46
|
-
animations: never[];
|
|
47
|
-
userData: any;
|
|
48
|
-
constructor();
|
|
49
|
-
onBeforeShadow(): void;
|
|
50
|
-
onAfterShadow(): void;
|
|
51
|
-
onBeforeRender(): void;
|
|
52
|
-
onAfterRender(): void;
|
|
53
|
-
applyMatrix4(matrix: Matrix4): void;
|
|
54
|
-
applyQuaternion(q: Quaternion): this;
|
|
55
|
-
setRotationFromAxisAngle(axis: Vector3, angle: number): void;
|
|
56
|
-
setRotationFromEuler(euler: Euler): void;
|
|
57
|
-
setRotationFromMatrix(m: Matrix4): void;
|
|
58
|
-
setRotationFromQuaternion(q: Quaternion): void;
|
|
59
|
-
rotateOnAxis(axis: Vector3, angle: number): this;
|
|
60
|
-
rotateOnWorldAxis(axis: Vector3, angle: number): this;
|
|
61
|
-
rotateX(angle: number): this;
|
|
62
|
-
rotateY(angle: number): this;
|
|
63
|
-
rotateZ(angle: number): this;
|
|
64
|
-
translateOnAxis(axis: Vector3, distance: number): this;
|
|
65
|
-
translateX(distance: number): this;
|
|
66
|
-
translateY(distance: number): this;
|
|
67
|
-
translateZ(distance: number): this;
|
|
68
|
-
localToWorld(vector: Vector3): Vector3;
|
|
69
|
-
worldToLocal(vector: Vector3): Vector3;
|
|
70
|
-
lookAt(x: Vector3 | number, y?: number, z?: number): void;
|
|
71
|
-
add(...objects: Object3D[]): this;
|
|
72
|
-
remove(...objects: Object3D[]): this;
|
|
73
|
-
removeFromParent(): this;
|
|
74
|
-
clear(): this;
|
|
75
|
-
attach(object: Object3D): this;
|
|
76
|
-
getObjectById(id: number): any;
|
|
77
|
-
getObjectByName(name: string): any;
|
|
78
|
-
getObjectByProperty(name: string, value: any): any;
|
|
79
|
-
getObjectsByProperty(name: string, value: any, result?: Object3D[]): Object3D[];
|
|
80
|
-
getWorldPosition(target: Vector3): Vector3;
|
|
81
|
-
getWorldQuaternion(target: Quaternion): Quaternion;
|
|
82
|
-
getWorldScale(target: Vector3): Vector3;
|
|
83
|
-
getWorldDirection(target: Vector3): Vector3;
|
|
84
|
-
raycast(): void;
|
|
85
|
-
traverse(callback: (o: Object3D) => void): void;
|
|
86
|
-
traverseVisible(callback: (o: Object3D) => void): void;
|
|
87
|
-
traverseAncestors(callback: (o: Object3D) => void): void;
|
|
88
|
-
updateMatrix(): void;
|
|
89
|
-
updateMatrixWorld(force?: boolean): void;
|
|
90
|
-
updateWorldMatrix(updateParents: boolean, updateChildren: boolean): void;
|
|
91
|
-
toJSON(meta: any): any;
|
|
92
|
-
clone(recursive?: boolean): any;
|
|
93
|
-
copy(source: Object3D, recursive?: boolean): this;
|
|
94
|
-
}
|
|
95
|
-
export default Object3D;
|
|
96
1
|
//# sourceMappingURL=Object3D.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Object3D.d.ts","sourceRoot":"","sources":["../../../src/math/core/Object3D.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Object3D.d.ts","sourceRoot":"","sources":["../../../src/math/core/Object3D.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
import { Vector3 } from "../Vector";
|
|
2
|
-
import { Matrix3, Matrix4 } from "../Matrix";
|
|
3
|
-
import { Line3 } from "./Line3";
|
|
4
|
-
import { Box3 } from "./Box3";
|
|
5
|
-
import { Sphere } from "./Sphere";
|
|
6
|
-
export declare class Plane {
|
|
7
|
-
normal: Vector3;
|
|
8
|
-
constant: number;
|
|
9
|
-
constructor(normal?: Vector3, constant?: number);
|
|
10
|
-
set(normal?: Vector3, constant?: number): this;
|
|
11
|
-
setComponents(x: number, y: number, z: number, w: number): this;
|
|
12
|
-
setFromNormalAndCoplanarPoint(normal: Vector3, point: Vector3): this;
|
|
13
|
-
setFromCoplanarPoints(a: Vector3, b: Vector3, c: Vector3): this;
|
|
14
|
-
copy(plane: Plane): this;
|
|
15
|
-
normalize(): this;
|
|
16
|
-
negate(): this;
|
|
17
|
-
distanceToPoint(point: Vector3): number;
|
|
18
|
-
distanceToSphere(sphere: Sphere): number;
|
|
19
|
-
projectPoint(point: Vector3, target: Vector3): Vector3;
|
|
20
|
-
intersectLine(line: Line3, target: Vector3): Vector3 | null;
|
|
21
|
-
intersectsLine(line: Line3): boolean;
|
|
22
|
-
intersectsBox(box: Box3): boolean;
|
|
23
|
-
intersectsSphere(sphere: Sphere): boolean;
|
|
24
|
-
coplanarPoint(target: Vector3): Vector3;
|
|
25
|
-
applyMatrix4(matrix: Matrix4, optionalNormalMatrix?: Matrix3): this;
|
|
26
|
-
translate(offset: Vector3): this;
|
|
27
|
-
equals(plane: Plane): boolean;
|
|
28
|
-
clone(): Plane;
|
|
29
|
-
}
|
|
30
|
-
export default Plane;
|
|
31
1
|
//# sourceMappingURL=Plane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plane.d.ts","sourceRoot":"","sources":["../../../src/math/core/Plane.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plane.d.ts","sourceRoot":"","sources":["../../../src/math/core/Plane.ts"],"names":[],"mappings":""}
|
package/types/math/core/Ray.d.ts
CHANGED
|
@@ -1,32 +1 @@
|
|
|
1
|
-
import { Vector3 } from "../Vector";
|
|
2
|
-
import { Matrix4 } from "../Matrix";
|
|
3
|
-
import Sphere from "./Sphere";
|
|
4
|
-
import Plane from "./Plane";
|
|
5
|
-
import Box3 from "./Box3";
|
|
6
|
-
export declare class Ray {
|
|
7
|
-
origin: Vector3;
|
|
8
|
-
direction: Vector3;
|
|
9
|
-
constructor(origin?: Vector3, direction?: Vector3);
|
|
10
|
-
set(origin?: Vector3, direction?: Vector3): this;
|
|
11
|
-
copy(ray: Ray): this;
|
|
12
|
-
at(t: number, target: Vector3): Vector3;
|
|
13
|
-
lookAt(v: Vector3): this;
|
|
14
|
-
recast(t: number): this;
|
|
15
|
-
closestPointToPoint(point: Vector3, target: Vector3): Vector3;
|
|
16
|
-
distanceToPoint(point: Vector3): number;
|
|
17
|
-
distanceSqToPoint(point: Vector3): number;
|
|
18
|
-
distanceSqToSegment(v0: Vector3, v1: Vector3, optionalPointOnRay: Vector3, optionalPointOnSegment: Vector3): number;
|
|
19
|
-
intersectSphere(sphere: Sphere, target: Vector3): Vector3 | null;
|
|
20
|
-
intersectsSphere(sphere: Sphere): boolean;
|
|
21
|
-
distanceToPlane(plane: Plane): number | null;
|
|
22
|
-
intersectPlane(plane: Plane, target: Vector3): Vector3 | null;
|
|
23
|
-
intersectsPlane(plane: Plane): boolean;
|
|
24
|
-
intersectBox(box: Box3, target: Vector3): Vector3 | null;
|
|
25
|
-
intersectsBox(box: Box3): boolean;
|
|
26
|
-
intersectTriangle(a: Vector3, b: Vector3, c: Vector3, backfaceCulling: boolean, target: Vector3): Vector3 | null;
|
|
27
|
-
applyMatrix4(matrix4: Matrix4): this;
|
|
28
|
-
equals(ray: Ray): boolean;
|
|
29
|
-
clone(): Ray;
|
|
30
|
-
}
|
|
31
|
-
export default Ray;
|
|
32
1
|
//# sourceMappingURL=Ray.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Ray.d.ts","sourceRoot":"","sources":["../../../src/math/core/Ray.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Ray.d.ts","sourceRoot":"","sources":["../../../src/math/core/Ray.ts"],"names":[],"mappings":""}
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
import { Vector3 } from "../Vector";
|
|
2
|
-
import { Matrix4 } from "../Matrix";
|
|
3
|
-
import { Box3 } from "./Box3";
|
|
4
|
-
import { Plane } from "./Plane";
|
|
5
|
-
export declare class Sphere {
|
|
6
|
-
center: Vector3;
|
|
7
|
-
radius: number;
|
|
8
|
-
constructor(center?: Vector3, radius?: number);
|
|
9
|
-
set(center?: Vector3, radius?: number): this;
|
|
10
|
-
setFromPoints(points: Vector3[], optionalCenter?: Vector3): this;
|
|
11
|
-
copy(sphere: Sphere): this;
|
|
12
|
-
isEmpty(): boolean;
|
|
13
|
-
makeEmpty(): this;
|
|
14
|
-
containsPoint(point: Vector3): boolean;
|
|
15
|
-
distanceToPoint(point: Vector3): number;
|
|
16
|
-
intersectsSphere(sphere: Sphere): boolean;
|
|
17
|
-
intersectsBox(box: Box3): boolean;
|
|
18
|
-
intersectsPlane(plane: Plane): boolean;
|
|
19
|
-
clampPoint(point: Vector3, target: Vector3): Vector3;
|
|
20
|
-
getBoundingBox(target: Box3): Box3;
|
|
21
|
-
applyMatrix4(matrix: Matrix4): this;
|
|
22
|
-
translate(offset: Vector3): this;
|
|
23
|
-
expandByPoint(point: Vector3): this;
|
|
24
|
-
union(sphere: Sphere): this;
|
|
25
|
-
equals(sphere: Sphere): boolean;
|
|
26
|
-
clone(): Sphere;
|
|
27
|
-
}
|
|
28
|
-
export default Sphere;
|
|
29
1
|
//# sourceMappingURL=Sphere.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sphere.d.ts","sourceRoot":"","sources":["../../../src/math/core/Sphere.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sphere.d.ts","sourceRoot":"","sources":["../../../src/math/core/Sphere.ts"],"names":[],"mappings":""}
|
|
@@ -1,34 +1 @@
|
|
|
1
|
-
import { Vector3, Vector4 } from "../Vector";
|
|
2
|
-
import { Plane } from "./Plane";
|
|
3
|
-
import { Box3 } from "./Box3";
|
|
4
|
-
import { BufferAttribute } from "../BufferAttribute";
|
|
5
|
-
export declare class Triangle {
|
|
6
|
-
a: Vector3;
|
|
7
|
-
b: Vector3;
|
|
8
|
-
c: Vector3;
|
|
9
|
-
constructor(a?: Vector3, b?: Vector3, c?: Vector3);
|
|
10
|
-
static getNormal(a: Vector3, b: Vector3, c: Vector3, target: Vector3): Vector3;
|
|
11
|
-
static getBarycoord(point: Vector3, a: Vector3, b: Vector3, c: Vector3, target: Vector3): Vector3 | null;
|
|
12
|
-
static containsPoint(point: Vector3, a: Vector3, b: Vector3, c: Vector3): boolean;
|
|
13
|
-
static getInterpolation(point: Vector3, p1: Vector3, p2: Vector3, p3: Vector3, v1: Vector3, v2: Vector3, v3: Vector3, target: Vector3): Vector3 | null;
|
|
14
|
-
static getInterpolatedAttribute(attr: BufferAttribute, i1: number, i2: number, i3: number, barycoord: Vector3, target: Vector4): Vector4;
|
|
15
|
-
static isFrontFacing(a: Vector3, b: Vector3, c: Vector3, direction: Vector3): boolean;
|
|
16
|
-
set(a?: Vector3, b?: Vector3, c?: Vector3): this;
|
|
17
|
-
setFromPointsAndIndices(points: Vector3[], i0: number, i1: number, i2: number): this;
|
|
18
|
-
setFromAttributeAndIndices(attribute: BufferAttribute, i0: number, i1: number, i2: number): this;
|
|
19
|
-
clone(): Triangle;
|
|
20
|
-
copy(triangle: Triangle): this;
|
|
21
|
-
getArea(): number;
|
|
22
|
-
getMidpoint(target: Vector3): Vector3;
|
|
23
|
-
getNormal(target: Vector3): Vector3;
|
|
24
|
-
getPlane(target: Plane): Plane;
|
|
25
|
-
getBarycoord(point: Vector3, target: Vector3): Vector3 | null;
|
|
26
|
-
getInterpolation(point: Vector3, v1: Vector3, v2: Vector3, v3: Vector3, target: Vector3): Vector3 | null;
|
|
27
|
-
containsPoint(point: Vector3): boolean;
|
|
28
|
-
isFrontFacing(direction: Vector3): boolean;
|
|
29
|
-
intersectsBox(box: Box3): boolean;
|
|
30
|
-
closestPointToPoint(p: Vector3, target: Vector3): Vector3;
|
|
31
|
-
equals(triangle: Triangle): boolean;
|
|
32
|
-
}
|
|
33
|
-
export default Triangle;
|
|
34
1
|
//# sourceMappingURL=Triangle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Triangle.d.ts","sourceRoot":"","sources":["../../../src/math/core/Triangle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Triangle.d.ts","sourceRoot":"","sources":["../../../src/math/core/Triangle.ts"],"names":[],"mappings":""}
|
package/types/math/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/math/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/math/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
|
package/types/math/line/Arc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SVGParsedPathData } from "../../svg/SVGUtil";
|
|
2
2
|
import { YZCanvasContext } from "../../canvas";
|
|
3
3
|
import { L, TLOptions } from "./L";
|
|
4
4
|
export type TCArcOptions = {
|
|
@@ -17,7 +17,7 @@ export declare class Arc extends L {
|
|
|
17
17
|
largeArcFlag: number;
|
|
18
18
|
sweepFlag: number;
|
|
19
19
|
constructor(options: TCArcOptions);
|
|
20
|
-
toSVGPathData():
|
|
20
|
+
toSVGPathData(): SVGParsedPathData[];
|
|
21
21
|
toCanvasContext(ctx: YZCanvasContext): void;
|
|
22
22
|
convert(x1: number, y1: number, x2: number, y2: number, rx: number, ry: number, phi: number, fa: number, fs: number): number[];
|
|
23
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Arc.d.ts","sourceRoot":"","sources":["../../../src/math/line/Arc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Arc.d.ts","sourceRoot":"","sources":["../../../src/math/line/Arc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEnC,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,SAAS,CAAC;AAEd,qBAAa,GAAI,SAAQ,CAAC;IAEjB,EAAE,EAAE,MAAM,CAAC;IAEX,EAAE,EAAE,MAAM,CAAC;IAEX,WAAW,EAAE,MAAM,CAAC;IAEpB,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,EAAE,MAAM,CAAC;gBAEb,OAAO,EAAE,YAAY;IAYjC,aAAa,IAAI,iBAAiB,EAAE;IAepC,eAAe,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IA0B3C,OAAO,CACL,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,MAAM,EACX,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM;CAkDb;AAED,eAAe,GAAG,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SVGParsedPathData } from "../../svg/SVGUtil";
|
|
2
2
|
import { YZCanvasContext } from "../../canvas";
|
|
3
3
|
import { L, TLOptions } from "./L";
|
|
4
4
|
export type TCubicBezierOptions = {
|
|
@@ -15,7 +15,7 @@ export declare class CubicBezier extends L {
|
|
|
15
15
|
c2x: number;
|
|
16
16
|
c2y: number;
|
|
17
17
|
constructor(options: TCubicBezierOptions);
|
|
18
|
-
toSVGPathData():
|
|
18
|
+
toSVGPathData(): SVGParsedPathData[];
|
|
19
19
|
toCanvasContext(ctx: YZCanvasContext): void;
|
|
20
20
|
getBoundingClientRect(): {
|
|
21
21
|
x: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubicBezier.d.ts","sourceRoot":"","sources":["../../../src/math/line/CubicBezier.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CubicBezier.d.ts","sourceRoot":"","sources":["../../../src/math/line/CubicBezier.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEnC,MAAM,MAAM,mBAAmB,GAAG;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,GAAG,SAAS,CAAC;AAEd,qBAAa,WAAY,SAAQ,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;gBAEP,OAAO,EAAE,mBAAmB;IAUxC,aAAa,IAAI,iBAAiB,EAAE;IAIpC,eAAe,CAAC,GAAG,EAAE,eAAe;IAWpC,qBAAqB;;;;;;;;;;IA6IrB,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;IAehD,MAAM,CAAC,KAAK,CACV,CAAC,EAAE,MAAM,EACT,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,GACT,MAAM;IAWT,MAAM,CAAC,MAAM,CACX,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,CAAC,SAAI,GACJ,MAAM;IAsBT,MAAM,CAAC,CAAC,SAAI,GAAG,MAAM;IAerB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM;IAyB7B,uBAAuB,CAAC,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;CA6DvC;AAED,eAAe,WAAW,CAAC"}
|
package/types/math/line/L.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { YZCanvasContext } from "../../canvas";
|
|
2
|
-
import { type
|
|
2
|
+
import { type SVGParsedPathData } from "../../svg/SVGUtil";
|
|
3
3
|
export type TLOptions = {
|
|
4
4
|
x?: number;
|
|
5
5
|
y?: number;
|
|
@@ -12,7 +12,7 @@ export declare class L {
|
|
|
12
12
|
toX: number;
|
|
13
13
|
toY: number;
|
|
14
14
|
constructor(options?: TLOptions);
|
|
15
|
-
toSVGPathData():
|
|
15
|
+
toSVGPathData(): SVGParsedPathData[];
|
|
16
16
|
toCanvasContext(ctx: YZCanvasContext): void;
|
|
17
17
|
getBoundingClientRect(): {
|
|
18
18
|
x: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"L.d.ts","sourceRoot":"","sources":["../../../src/math/line/L.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"L.d.ts","sourceRoot":"","sources":["../../../src/math/line/L.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG3D,MAAM,MAAM,SAAS,GAAG;IACtB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAGF,qBAAa,CAAC;IACZ,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;gBAEA,OAAO,CAAC,EAAE,SAAS;IAO/B,aAAa,IAAI,iBAAiB,EAAE;IAIpC,eAAe,CAAC,GAAG,EAAE,eAAe;IAIpC,qBAAqB;;;;;;IA8BrB,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;IAOhD,YAAY,CAAC,IAAI,EAAE,CAAC,GAAG;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;CA0BvD;AAED,eAAe,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Matrix, Matrix4 } from "../Matrix";
|
|
2
2
|
import { YZCanvasContext } from "../../canvas/YZCanvasContext";
|
|
3
|
-
import { type
|
|
3
|
+
import { type SVGParsedPathData } from "../../svg/SVGUtil";
|
|
4
4
|
import L from "./L";
|
|
5
5
|
import CubicBezier from "./CubicBezier";
|
|
6
6
|
export declare class PathD {
|
|
@@ -17,7 +17,7 @@ export declare class PathD {
|
|
|
17
17
|
prevPathY: number;
|
|
18
18
|
normalizedLines: CubicBezier[];
|
|
19
19
|
constructor(options?: {
|
|
20
|
-
d?: string |
|
|
20
|
+
d?: string | SVGParsedPathData[] | PathD;
|
|
21
21
|
originMatrix?: Matrix | Matrix4 | DOMMatrix;
|
|
22
22
|
centerX?: number;
|
|
23
23
|
centerY?: number;
|
|
@@ -28,12 +28,12 @@ export declare class PathD {
|
|
|
28
28
|
scalarX?: number;
|
|
29
29
|
scalarY?: number;
|
|
30
30
|
});
|
|
31
|
-
reset(d?: string |
|
|
31
|
+
reset(d?: string | SVGParsedPathData[] | PathD, originMatrix?: Matrix | Matrix4 | DOMMatrix): void;
|
|
32
32
|
private resetFromSVGPathData;
|
|
33
33
|
static fromPolymorphPoints(points: number[]): PathD;
|
|
34
34
|
static fromLines(lines: L[]): PathD;
|
|
35
35
|
private appendLine;
|
|
36
|
-
toSVGPathData():
|
|
36
|
+
toSVGPathData(): SVGParsedPathData[];
|
|
37
37
|
toSVGPathD(): string;
|
|
38
38
|
toCanvasContext(ctx: YZCanvasContext): void;
|
|
39
39
|
getBoundingClientRect(): {
|
|
@@ -74,9 +74,9 @@ export declare class PathD {
|
|
|
74
74
|
};
|
|
75
75
|
get polymorphPoints(): number[];
|
|
76
76
|
perimeterPoints(): number;
|
|
77
|
-
expendFill(totalLength: number):
|
|
77
|
+
expendFill(totalLength: number): SVGParsedPathData[];
|
|
78
78
|
static mixPoints(a: number[], b: number[], o: number): number[];
|
|
79
|
-
static getPathInterpolator(left:
|
|
79
|
+
static getPathInterpolator(left: SVGParsedPathData[], right: SVGParsedPathData[]): (offset: number) => SVGParsedPathData[];
|
|
80
80
|
}
|
|
81
81
|
export default PathD;
|
|
82
82
|
//# sourceMappingURL=PathD.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PathD.d.ts","sourceRoot":"","sources":["../../../src/math/line/PathD.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,
|
|
1
|
+
{"version":3,"file":"PathD.d.ts","sourceRoot":"","sources":["../../../src/math/line/PathD.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SVGParsedPathData } from "../../svg/SVGUtil";
|
|
2
2
|
import { YZCanvasContext } from "../../canvas";
|
|
3
3
|
import { L, TLOptions } from "./L";
|
|
4
4
|
export type TQuadraticBezierOptions = {
|
|
@@ -13,7 +13,7 @@ export declare class QuadraticBezier extends L {
|
|
|
13
13
|
cy: number;
|
|
14
14
|
isLineThrough: boolean;
|
|
15
15
|
constructor(options: TQuadraticBezierOptions);
|
|
16
|
-
toSVGPathData():
|
|
16
|
+
toSVGPathData(): SVGParsedPathData[];
|
|
17
17
|
toCanvasContext(ctx: YZCanvasContext): void;
|
|
18
18
|
getBoundingClientRect(): {
|
|
19
19
|
x: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuadraticBezier.d.ts","sourceRoot":"","sources":["../../../src/math/line/QuadraticBezier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"QuadraticBezier.d.ts","sourceRoot":"","sources":["../../../src/math/line/QuadraticBezier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEnC,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,SAAS,CAAC;AAEd,qBAAa,eAAgB,SAAQ,CAAC;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,OAAO,CAAC;gBAElB,OAAO,EAAE,uBAAuB;IAU5C,aAAa,IAAI,iBAAiB,EAAE;IAUpC,eAAe,CAAC,GAAG,EAAE,eAAe;IAUpC,qBAAqB;;;;;;IA6BrB,WAAW,CAAC,CAAC,EAAE,MAAM,GAAG;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE;CAYjD;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import {
|
|
2
|
+
import { SVGParsedPathData } from "../../svg/SVGUtil";
|
|
3
3
|
export type TLight3DOptions = {
|
|
4
4
|
x?: number;
|
|
5
5
|
y?: number;
|
|
@@ -13,7 +13,7 @@ export declare class Light3D extends Shape {
|
|
|
13
13
|
brightness: number;
|
|
14
14
|
constructor(options?: TLight3DOptions);
|
|
15
15
|
setBrightness(b: number): number;
|
|
16
|
-
toSVGPathData():
|
|
16
|
+
toSVGPathData(): SVGParsedPathData[];
|
|
17
17
|
}
|
|
18
18
|
export default Light3D;
|
|
19
19
|
//# sourceMappingURL=Light3D.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Light3D.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Light3D.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Light3D.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Light3D.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,GAAG,aAAa,CAAC;AAElB,qBAAa,OAAQ,SAAQ,KAAK;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,UAAU,EAAE,MAAM,CAAC;gBAEd,OAAO,CAAC,EAAE,eAAe;IAQrC,aAAa,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM;IAKhC,aAAa,IAAI,iBAAiB,EAAE;CAGrC;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import {
|
|
2
|
+
import { SVGParsedPathData } from "../../svg/SVGUtil";
|
|
3
3
|
import { YZCanvasContext } from "../../canvas";
|
|
4
4
|
export type TPoint3DOptions = {
|
|
5
5
|
x?: number;
|
|
@@ -25,7 +25,7 @@ export declare class Point3D extends Shape {
|
|
|
25
25
|
cZ: number;
|
|
26
26
|
radius: number;
|
|
27
27
|
constructor(options?: TPoint3DOptions);
|
|
28
|
-
toSVGPathData():
|
|
28
|
+
toSVGPathData(): SVGParsedPathData[];
|
|
29
29
|
toCanvasContext(ctx: YZCanvasContext): void;
|
|
30
30
|
setVanishingPoint(vpX: number, vpY: number): void;
|
|
31
31
|
setCenter(cX: number, cY: number, cZ: number): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Point3D.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Point3D.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Point3D.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Point3D.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/C,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,aAAa,CAAC;AAElB,qBAAa,OAAQ,SAAQ,KAAK;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IAEV,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;gBAEV,OAAO,CAAC,EAAE,eAAe;IAcrC,aAAa,IAAI,iBAAiB,EAAE;IAapC,eAAe,CAAC,GAAG,EAAE,eAAe;IAMpC,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;IAK1C,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM;IAM5C,OAAO,CAAC,IAAI,EAAE,MAAM;IAIpB,OAAO,CAAC,IAAI,EAAE,MAAM;IAIpB,OAAO,CAAC,IAAI,EAAE,MAAM;IAIpB,UAAU;IAKV,UAAU;IAKV,EAAE,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAU3B,MAAM;IAIN,QAAQ,CAAC,EAAE,EAAE,OAAO,GAAG,MAAM;IAO7B,MAAM,CAAC,KAAK,EAAE,MAAM;IAOpB,SAAS,CAAC,GAAG,SAAI,GAAG,OAAO;IAS3B,KAAK,CAAC,GAAG,EAAE,MAAM;IAQjB,KAAK,CAAC,EAAE,EAAE,OAAO;;;;;IAWjB,QAAQ,CAAC,EAAE,EAAE,OAAO;;;;;IAQpB,GAAG,CAAC,EAAE,EAAE,OAAO;;;;;IAQf,GAAG,CAAC,EAAE,EAAE,OAAO;;;;;IAQf,GAAG,CAAC,EAAE,EAAE,OAAO;;;;;IAQf,GAAG,CAAC,EAAE,EAAE,OAAO,GAAG,MAAM;IAIxB,OAAO,CAAC,EAAE,EAAE,OAAO;;;;;CAQpB;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Shape } from "../Shape";
|
|
2
|
-
import {
|
|
2
|
+
import { SVGParsedPathData } from "../../svg/SVGUtil";
|
|
3
3
|
import { YZCanvasContext } from "../../canvas";
|
|
4
4
|
import Point3D from "./Point3D";
|
|
5
5
|
import Light3D from "./Light3D";
|
|
@@ -7,7 +7,7 @@ export declare class Point3Ds extends Shape {
|
|
|
7
7
|
points: Point3D[];
|
|
8
8
|
light: Light3D;
|
|
9
9
|
constructor(points?: Point3D[]);
|
|
10
|
-
toSVGPathData():
|
|
10
|
+
toSVGPathData(): SVGParsedPathData[];
|
|
11
11
|
toCanvasContext(ctx: YZCanvasContext): void;
|
|
12
12
|
get length(): number;
|
|
13
13
|
getDepth(): number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Point3Ds.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Point3Ds.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Point3Ds.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Point3Ds.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAiB,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,OAAO,MAAM,WAAW,CAAC;AAGhC,qBAAa,QAAS,SAAQ,KAAK;IACjC,MAAM,EAAE,OAAO,EAAE,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;gBAEH,MAAM,GAAE,OAAO,EAAO;IAUlC,aAAa,IAAI,iBAAiB,EAAE;IAcpC,eAAe,CAAC,GAAG,EAAE,eAAe;IAYpC,IAAI,MAAM,WAET;IAED,QAAQ,IAAI,MAAM;IAIlB,UAAU,IAAI,OAAO;IAQrB,cAAc,IAAI,MAAM;IAgCxB,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM;CAQrC;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../src/motion.ts"],"names":[],"mappings":"AAAA,UAAU,GAAG;IACX,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,wBAAgB,KAAK,CAAC,UAAU,CAAC,EAAE,GAAG,GAAG,IAAI,EAAE,QAAQ,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,OAAO,CAO7E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export function registerServiceWorker(serviceWorkerPath?: string): void;
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=serviceWorker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceWorker.d.ts","sourceRoot":"","sources":["../src/serviceWorker.js"],"names":[],"mappings":"AASA,wEASC"}
|
package/types/svg/SVGParse.d.ts
CHANGED