@zyzgroup/core-web 0.1.85 → 0.1.88
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/{animate_ce.css → css/animate_ce.css} +0 -18
- package/dist/css/better.css +349 -0
- package/dist/{font.css → css/font.css} +42 -35
- package/dist/css/media.css +65 -0
- package/dist/css/theme.css +224 -0
- package/dist/fonts/D-DINExp/D-DINExp-Bold-number.ttf +0 -0
- package/dist/fonts/D-DINExp/D-DINExp-Bold.ttf +0 -0
- package/dist/fonts/D-DINExp/D-DINExp-number-with-money.ttf +0 -0
- package/dist/fonts/D-DINExp/D-DINExp-number.ttf +0 -0
- package/dist/fonts/HYYouYuan/HYYouYuan-55W.ttf +0 -0
- package/dist/fonts/HYYouYuan/HYYouYuan-75W.ttf +0 -0
- package/dist/fonts/IosevkaCurly/iosevka-curly-bold.woff2 +0 -0
- package/dist/fonts/IosevkaCurly/iosevka-curly-medium.woff2 +0 -0
- package/dist/zyzgroup_core_web.iife.js +30 -27
- package/dist/zyzgroup_core_web.iife.js.map +1 -1
- package/dist/zyzgroup_core_web.js +14481 -13334
- package/dist/zyzgroup_core_web.js.map +1 -1
- package/dist/zyzgroup_core_web.umd.cjs +30 -27
- package/dist/zyzgroup_core_web.umd.cjs.map +1 -1
- package/package.json +7 -6
- package/types/Context.d.ts +6 -5
- package/types/Context.d.ts.map +1 -1
- package/types/DeviceFingerprint.d.ts +4 -0
- package/types/DeviceFingerprint.d.ts.map +1 -0
- package/types/Pagination.d.ts.map +1 -1
- package/types/WebMonitor.d.ts +15 -0
- package/types/WebMonitor.d.ts.map +1 -0
- package/types/WebSocketClient.d.ts.map +1 -1
- package/types/ajax.d.ts.map +1 -1
- package/types/animate/schedule.d.ts +3 -0
- package/types/animate/schedule.d.ts.map +1 -1
- package/types/animate/tween/Easing.d.ts +42 -39
- package/types/animate/tween/Easing.d.ts.map +1 -1
- package/types/animate/tween/index.d.ts +41 -38
- package/types/animate/tween/index.d.ts.map +1 -1
- package/types/color.d.ts +1 -0
- package/types/color.d.ts.map +1 -1
- package/types/env.d.ts +4 -16
- package/types/env.d.ts.map +1 -1
- package/types/file.d.ts +12 -4
- package/types/file.d.ts.map +1 -1
- package/types/hooks/index.d.ts +0 -1
- package/types/hooks/index.d.ts.map +1 -1
- package/types/hooks/useAttribute.d.ts +1 -2
- package/types/hooks/useAttribute.d.ts.map +1 -1
- package/types/hooks/useCookie.d.ts +3 -3
- package/types/hooks/useCookie.d.ts.map +1 -1
- package/types/hooks/useDraw/DrawContext.d.ts +3 -1
- package/types/hooks/useDraw/DrawContext.d.ts.map +1 -1
- package/types/hooks/useDraw/Shape.d.ts +134 -105
- package/types/hooks/useDraw/Shape.d.ts.map +1 -1
- package/types/hooks/useDraw/canvas/YZCanvasContext.d.ts +3 -1
- package/types/hooks/useDraw/canvas/YZCanvasContext.d.ts.map +1 -1
- package/types/hooks/useDraw/line/Arc.d.ts.map +1 -1
- package/types/hooks/useDraw/line/CubicBezier.d.ts +6 -6
- 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 +23 -15
- 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/BallShape.d.ts +3 -11
- package/types/hooks/useDraw/shapes/BallShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/ConfettiShapeCombo.d.ts +27 -0
- package/types/hooks/useDraw/shapes/ConfettiShapeCombo.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/CrossShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/CurveShape.d.ts +24 -0
- package/types/hooks/useDraw/shapes/CurveShape.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/EllipseShape.d.ts +1 -0
- package/types/hooks/useDraw/shapes/EllipseShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/LineShape.d.ts +11 -9
- package/types/hooks/useDraw/shapes/LineShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/PointsShape.d.ts +35 -0
- package/types/hooks/useDraw/shapes/PointsShape.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/RectShape.d.ts +15 -12
- package/types/hooks/useDraw/shapes/RectShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/RingIndicatorShapeCombo.d.ts +2 -2
- package/types/hooks/useDraw/shapes/RingIndicatorShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/SegmentShapeCombo.d.ts +2 -2
- package/types/hooks/useDraw/shapes/SegmentShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/ShipShapeCombo.d.ts +6 -4
- package/types/hooks/useDraw/shapes/ShipShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/SliderShapeCombo.d.ts +3 -2
- package/types/hooks/useDraw/shapes/SliderShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/TextShape.d.ts +23 -0
- package/types/hooks/useDraw/shapes/TextShape.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/TreeShapeCombo.d.ts +3 -2
- package/types/hooks/useDraw/shapes/TreeShapeCombo.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/index.d.ts +4 -0
- package/types/hooks/useDraw/shapes/index.d.ts.map +1 -1
- package/types/hooks/useDraw/svg/SVGUtil.d.ts +3 -2
- package/types/hooks/useDraw/svg/SVGUtil.d.ts.map +1 -1
- package/types/hooks/useElement.d.ts +21 -6
- package/types/hooks/useElement.d.ts.map +1 -1
- package/types/hooks/useElementEventBus.d.ts.map +1 -1
- package/types/hooks/useElementEvents.d.ts +87 -23
- package/types/hooks/useElementEvents.d.ts.map +1 -1
- package/types/hooks/useEventListener.d.ts +22 -7
- package/types/hooks/useEventListener.d.ts.map +1 -1
- package/types/hooks/useFeRouteChange.d.ts +23 -1
- package/types/hooks/useFeRouteChange.d.ts.map +1 -1
- package/types/hooks/useFetch.d.ts.map +1 -1
- package/types/hooks/useLocalStorage.d.ts +3 -6
- package/types/hooks/useLocalStorage.d.ts.map +1 -1
- package/types/hooks/useMutation.d.ts +1 -0
- package/types/hooks/useMutation.d.ts.map +1 -1
- package/types/hooks/useSafeArea.d.ts.map +1 -1
- package/types/hooks/useSessionStorage.d.ts +3 -6
- package/types/hooks/useSessionStorage.d.ts.map +1 -1
- package/types/hooks/useStyle.d.ts +20 -2
- package/types/hooks/useStyle.d.ts.map +1 -1
- package/types/hooks/useTheme.d.ts +2 -1
- package/types/hooks/useTheme.d.ts.map +1 -1
- package/types/hooks/useVnode.d.ts +5 -5
- package/types/hooks/useVnode.d.ts.map +1 -1
- package/types/index.d.ts +1 -4
- package/types/index.d.ts.map +1 -1
- package/types/math/Matrix.d.ts +3 -3
- package/types/math/Matrix.d.ts.map +1 -1
- package/types/math/ShapeGroup.d.ts +0 -34
- package/types/math/ShapeGroup.d.ts.map +1 -1
- package/types/math/shapes/Sector.d.ts +0 -65
- package/types/math/shapes/Sector.d.ts.map +1 -1
- package/types/math/shapes/Tip.d.ts +0 -21
- package/types/math/shapes/Tip.d.ts.map +1 -1
- package/types/rem.d.ts +1 -1
- package/types/rem.d.ts.map +1 -1
- package/types/signature.d.ts +29 -2
- package/types/signature.d.ts.map +1 -1
- package/types/threejs.d.ts +2 -0
- package/types/threejs.d.ts.map +1 -0
- package/types/vnode.d.ts.map +1 -1
- package/dist/better.css +0 -425
- package/dist/theme.css +0 -28
- package/types/YZMessageChannel.d.ts +0 -21
- package/types/YZMessageChannel.d.ts.map +0 -1
- package/types/YZWorker.d.ts +0 -16
- package/types/YZWorker.d.ts.map +0 -1
- package/types/axios.d.ts +0 -33
- package/types/axios.d.ts.map +0 -1
- package/types/canvas/YZCanvas.d.ts +0 -1
- package/types/canvas/YZCanvas.d.ts.map +0 -1
- package/types/hooks/useTimestampValue.d.ts +0 -11
- package/types/hooks/useTimestampValue.d.ts.map +0 -1
- package/types/math/ShapeCombo.d.ts +0 -38
- package/types/math/ShapeCombo.d.ts.map +0 -1
- package/types/math/math/cameras/Camera.d.ts +0 -1
- package/types/math/math/cameras/Camera.d.ts.map +0 -1
- package/types/math/math/controls/Controls.d.ts +0 -1
- package/types/math/math/controls/Controls.d.ts.map +0 -1
- package/types/math/math/controls/OrbitControls.d.ts +0 -1
- package/types/math/math/controls/OrbitControls.d.ts.map +0 -1
- package/types/math/math/core/BufferGeometry.d.ts +0 -1
- package/types/math/math/core/BufferGeometry.d.ts.map +0 -1
- package/types/math/math/core/GLBufferAttribute.d.ts +0 -1
- package/types/math/math/core/GLBufferAttribute.d.ts.map +0 -1
- package/types/math/math/interpolants/Interpolant.d.ts +0 -14
- package/types/math/math/interpolants/Interpolant.d.ts.map +0 -1
- package/types/math/shapes/Arrow.d.ts +0 -10
- package/types/math/shapes/Arrow.d.ts.map +0 -1
- package/types/math/shapes/Confetti.d.ts +0 -27
- package/types/math/shapes/Confetti.d.ts.map +0 -1
- package/types/math/shapes/Cross.d.ts +0 -6
- package/types/math/shapes/Cross.d.ts.map +0 -1
- package/types/math/shapes/Ellipse.d.ts +0 -22
- package/types/math/shapes/Ellipse.d.ts.map +0 -1
- package/types/math/shapes/Fox.d.ts +0 -10
- package/types/math/shapes/Fox.d.ts.map +0 -1
- package/types/math/shapes/HalfRing.d.ts +0 -27
- package/types/math/shapes/HalfRing.d.ts.map +0 -1
- package/types/math/shapes/HalfRingIndicator.d.ts +0 -34
- package/types/math/shapes/HalfRingIndicator.d.ts.map +0 -1
- package/types/math/shapes/Heart.d.ts +0 -13
- package/types/math/shapes/Heart.d.ts.map +0 -1
- package/types/math/shapes/HeartVariant.d.ts +0 -13
- package/types/math/shapes/HeartVariant.d.ts.map +0 -1
- package/types/math/shapes/Line.d.ts +0 -19
- package/types/math/shapes/Line.d.ts.map +0 -1
- package/types/math/shapes/LinePicture.d.ts +0 -15
- package/types/math/shapes/LinePicture.d.ts.map +0 -1
- package/types/math/shapes/LineQuadraticBezier.d.ts +0 -21
- package/types/math/shapes/LineQuadraticBezier.d.ts.map +0 -1
- package/types/math/shapes/Point.d.ts +0 -85
- package/types/math/shapes/Point.d.ts.map +0 -1
- package/types/math/shapes/Points.d.ts +0 -28
- package/types/math/shapes/Points.d.ts.map +0 -1
- package/types/math/shapes/Rabbit.d.ts +0 -8
- package/types/math/shapes/Rabbit.d.ts.map +0 -1
- package/types/math/shapes/Rect.d.ts +0 -33
- package/types/math/shapes/Rect.d.ts.map +0 -1
- package/types/math/shapes/Ring.d.ts +0 -24
- package/types/math/shapes/Ring.d.ts.map +0 -1
- package/types/math/shapes/RingIndicator.d.ts +0 -28
- package/types/math/shapes/RingIndicator.d.ts.map +0 -1
- package/types/math/shapes/Segment.d.ts +0 -22
- package/types/math/shapes/Segment.d.ts.map +0 -1
- package/types/math/shapes/Ship.d.ts +0 -13
- package/types/math/shapes/Ship.d.ts.map +0 -1
- package/types/math/shapes/Slider.d.ts +0 -23
- package/types/math/shapes/Slider.d.ts.map +0 -1
- package/types/math/shapes/Star.d.ts +0 -11
- package/types/math/shapes/Star.d.ts.map +0 -1
- package/types/math/shapes/Text.d.ts +0 -21
- package/types/math/shapes/Text.d.ts.map +0 -1
- package/types/math/shapes/Tree.d.ts +0 -7
- package/types/math/shapes/Tree.d.ts.map +0 -1
- package/types/math/shapes/index.d.ts +0 -29
- package/types/math/shapes/index.d.ts.map +0 -1
- package/types/svg/YZSVG.d.ts +0 -1
- package/types/svg/YZSVG.d.ts.map +0 -1
- package/types/url.d.ts +0 -21
- package/types/url.d.ts.map +0 -1
- /package/dist/{animate.css → css/animate.css} +0 -0
- /package/dist/{animate.min.css → css/animate.min.css} +0 -0
- /package/dist/{effects.css → css/effects.css} +0 -0
- /package/dist/{flex.css → css/flex.css} +0 -0
- /package/dist/{grid.css → css/grid.css} +0 -0
- /package/dist/{rem_1080.css → css/rem_1080.css} +0 -0
- /package/dist/{rem_1920.css → css/rem_1920.css} +0 -0
- /package/dist/{rem_640.css → css/rem_640.css} +0 -0
- /package/dist/{rem_720.css → css/rem_720.css} +0 -0
- /package/dist/{rem_750.css → css/rem_750.css} +0 -0
- /package/dist/{tailwind.css → css/tailwind.css} +0 -0
- /package/dist/{D-DINCondensed-number.ttf → fonts/D-DINExp/D-DINCondensed-number.ttf} +0 -0
- /package/dist/{D-DINExp.ttf → fonts/D-DINExp/D-DINExp.ttf} +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { YZCanvasContext } from "../../canvas";
|
|
4
|
-
export type TRingOptions = {
|
|
5
|
-
x?: number;
|
|
6
|
-
y?: number;
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
startDegree: number;
|
|
10
|
-
endDegree: number;
|
|
11
|
-
lineWidth: number;
|
|
12
|
-
color?: CanvasGradient | string;
|
|
13
|
-
} & TShapeOptions;
|
|
14
|
-
export declare class Ring extends Shape {
|
|
15
|
-
radius: number;
|
|
16
|
-
startDegree: number;
|
|
17
|
-
endDegree: number;
|
|
18
|
-
constructor(options: TRingOptions);
|
|
19
|
-
setPercent(percent: number): void;
|
|
20
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
21
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
22
|
-
}
|
|
23
|
-
export default Ring;
|
|
24
|
-
//# sourceMappingURL=Ring.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Ring.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Ring.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/C,MAAM,MAAM,YAAY,GAAG;IAEzB,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,cAAc,GAAG,MAAM,CAAC;CACjC,GAAG,aAAa,CAAC;AAElB,qBAAa,IAAK,SAAQ,KAAK;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;gBAEN,OAAO,EAAE,YAAY;IAyB1B,UAAU,CAAC,OAAO,EAAE,MAAM;IAIjC,aAAa,IAAI,kBAAkB,EAAE;IAqBrC,eAAe,CAAC,GAAG,EAAE,eAAe;CAWrC;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { YZCanvasContext } from "../../canvas";
|
|
2
|
-
import { TShapeOptions } from "../Shape";
|
|
3
|
-
import ShapeGroup from "../ShapeGroup";
|
|
4
|
-
import Ring from "./Ring";
|
|
5
|
-
export declare class RingIndicator extends ShapeGroup {
|
|
6
|
-
percent: number;
|
|
7
|
-
ringBg: Ring;
|
|
8
|
-
ring: Ring;
|
|
9
|
-
bgColor: string;
|
|
10
|
-
startColor: string;
|
|
11
|
-
endColor: string;
|
|
12
|
-
constructor(options: TShapeOptions & {
|
|
13
|
-
x?: number;
|
|
14
|
-
y?: number;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
lineWidth?: number;
|
|
18
|
-
bgColor?: string;
|
|
19
|
-
startColor?: string;
|
|
20
|
-
endColor?: string;
|
|
21
|
-
percent?: number;
|
|
22
|
-
});
|
|
23
|
-
setPercent(percent: number): void;
|
|
24
|
-
shapeInit(): void;
|
|
25
|
-
frameUpdate(_: any, ctx?: YZCanvasContext): void;
|
|
26
|
-
}
|
|
27
|
-
export default RingIndicator;
|
|
28
|
-
//# sourceMappingURL=RingIndicator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RingIndicator.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/RingIndicator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAc,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,IAAI,MAAM,QAAQ,CAAC;AA4B1B,qBAAa,aAAc,SAAQ,UAAU;IAC3C,OAAO,SAAK;IAEZ,MAAM,EAAE,IAAI,CAAC;IACb,IAAI,EAAE,IAAI,CAAC;IAEX,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;gBAGf,OAAO,EAAE,aAAa,GAAG;QAEvB,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;IAsCI,UAAU,CAAC,OAAO,EAAE,MAAM;IAIjC,SAAS;IAWT,WAAW,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,eAAe;CA2B1C;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { TShapeOptions } from "../Shape";
|
|
2
|
-
import ShapeGroup from "../ShapeGroup";
|
|
3
|
-
import Rect from "./Rect";
|
|
4
|
-
import Point from "./Point";
|
|
5
|
-
export declare class Segment extends ShapeGroup {
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
cornerRadius: number;
|
|
9
|
-
controlPoint: Point;
|
|
10
|
-
mainRect: Rect;
|
|
11
|
-
rightPoint: Point;
|
|
12
|
-
constructor(options: TShapeOptions & {
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
});
|
|
16
|
-
getPin(): {
|
|
17
|
-
x: number;
|
|
18
|
-
y: number;
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export default Segment;
|
|
22
|
-
//# sourceMappingURL=Segment.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Segment.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Segment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAG5B,qBAAa,OAAQ,SAAQ,UAAU;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IAErB,YAAY,EAAE,KAAK,CAAC;IACpB,QAAQ,EAAE,IAAI,CAAC;IACf,UAAU,EAAE,KAAK,CAAC;gBAEN,OAAO,EAAE,aAAa,GAAG;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;IAyCtE,MAAM;;;;CAUP;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import Shape, { TShapeOptions } from "../Shape";
|
|
2
|
-
import { ShapeGroup } from "../ShapeGroup";
|
|
3
|
-
export type TShipOptions = {
|
|
4
|
-
showFlame?: boolean;
|
|
5
|
-
} & TShapeOptions;
|
|
6
|
-
export declare class Ship extends ShapeGroup {
|
|
7
|
-
showFlame: boolean;
|
|
8
|
-
ship: Shape;
|
|
9
|
-
flame: Shape;
|
|
10
|
-
constructor(options: TShipOptions);
|
|
11
|
-
shapeInit(): void;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=Ship.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Ship.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Ship.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,aAAa,CAAC;AAElB,qBAAa,IAAK,SAAQ,UAAU;IAC3B,SAAS,EAAE,OAAO,CAAC;IAE1B,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,EAAE,KAAK,CAAC;gBAED,OAAO,EAAE,YAAY;IA2BjC,SAAS;CASV"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { TShapeOptions } from "../Shape";
|
|
2
|
-
import ShapeGroup from "../ShapeGroup";
|
|
3
|
-
import Rect from "./Rect";
|
|
4
|
-
import Point from "./Point";
|
|
5
|
-
export declare class Slider extends ShapeGroup {
|
|
6
|
-
value: number;
|
|
7
|
-
backgroundRect: Rect;
|
|
8
|
-
occupyRect: Rect;
|
|
9
|
-
handle: Point;
|
|
10
|
-
constructor(options?: TShapeOptions & {
|
|
11
|
-
min?: number;
|
|
12
|
-
max?: number;
|
|
13
|
-
step?: number;
|
|
14
|
-
defaultValue?: number;
|
|
15
|
-
barWidth?: number;
|
|
16
|
-
barHeight?: number;
|
|
17
|
-
barColor?: string;
|
|
18
|
-
handleRadius?: number;
|
|
19
|
-
handleColor?: string;
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
export default Slider;
|
|
23
|
-
//# sourceMappingURL=Slider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Slider.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAG5B,qBAAa,MAAO,SAAQ,UAAU;IAC7B,KAAK,EAAE,MAAM,CAAC;IAErB,cAAc,EAAE,IAAI,CAAC;IACrB,UAAU,EAAE,IAAI,CAAC;IACjB,MAAM,EAAE,KAAK,CAAC;gBAGZ,OAAO,CAAC,EAAE,aAAa,GAAG;QACxB,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,GAAG,CAAC,EAAE,MAAM,CAAC;QACb,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;CAqFJ;AAED,eAAe,MAAM,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
export declare class Star extends Shape {
|
|
4
|
-
r: number;
|
|
5
|
-
constructor(options?: TShapeOptions & {
|
|
6
|
-
r?: number;
|
|
7
|
-
});
|
|
8
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
9
|
-
}
|
|
10
|
-
export default Star;
|
|
11
|
-
//# sourceMappingURL=Star.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Star.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Star.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAG1D,qBAAa,IAAK,SAAQ,KAAK;IAC7B,CAAC,EAAE,MAAM,CAAC;gBAGR,OAAO,CAAC,EAAE,aAAa,GAAG;QACxB,CAAC,CAAC,EAAE,MAAM,CAAC;KACZ;IAMH,aAAa,IAAI,kBAAkB,EAAE;CAWtC;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Shape, TShapeOptions } from "../Shape";
|
|
2
|
-
import { TSVGParsedPathData } from "../../svg/DOMSVGUtil";
|
|
3
|
-
import { YZCanvasContext } from "../../canvas";
|
|
4
|
-
export declare class Text extends Shape {
|
|
5
|
-
text: string;
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
constructor(options: {
|
|
9
|
-
text: string;
|
|
10
|
-
} & TShapeOptions);
|
|
11
|
-
getBoundingClientRect(): null;
|
|
12
|
-
toSVGPathData(): TSVGParsedPathData[];
|
|
13
|
-
toCanvasContext(ctx: YZCanvasContext): void;
|
|
14
|
-
measureText(text: string, fontSize?: number, fontWeight?: number): {
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
};
|
|
18
|
-
getFixedWidthText(text: string, width: number, fontSize?: number, fontWeight?: number, isNeedEllipsis?: boolean): string;
|
|
19
|
-
}
|
|
20
|
-
export default Text;
|
|
21
|
-
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Text.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,qBAAa,IAAK,SAAQ,KAAK;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,SAAK;IACV,MAAM,SAAK;gBAGhB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,aAAa;IAuCnB,qBAAqB;IAIrB,aAAa,IAAI,kBAAkB,EAAE;IAIrC,eAAe,CAAC,GAAG,EAAE,eAAe;IAIpC,WAAW,CACT,IAAI,EAAE,MAAM,EACZ,QAAQ,SAAK,EACb,UAAU,SAAM,GACf;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE;IA0BpC,iBAAiB,CACf,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,QAAQ,SAAK,EACb,UAAU,SAAM,EAChB,cAAc,UAAO;CAwBxB;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/Tree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,UAAU,MAAM,eAAe,CAAC;AAGvC,qBAAa,IAAK,SAAQ,UAAU;gBACtB,OAAO,CAAC,EAAE,aAAa;CAiCpC;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export * from "./Line";
|
|
2
|
-
export * from "./LineQuadraticBezier";
|
|
3
|
-
export * from "./LinePicture";
|
|
4
|
-
export * from "./Point";
|
|
5
|
-
export * from "./Points";
|
|
6
|
-
export * from "./Rect";
|
|
7
|
-
export * from "./Ellipse";
|
|
8
|
-
export * from "./Arrow";
|
|
9
|
-
export * from "./Fox";
|
|
10
|
-
export * from "./Heart";
|
|
11
|
-
export * from "./HeartVariant";
|
|
12
|
-
export * from "./Star";
|
|
13
|
-
export * from "./Rabbit";
|
|
14
|
-
export * from "./Cross";
|
|
15
|
-
export * from "./Tree";
|
|
16
|
-
export * from "./Sector";
|
|
17
|
-
export * from "./Ship";
|
|
18
|
-
export * from "./Slider";
|
|
19
|
-
export * from "./Segment";
|
|
20
|
-
export * from "./Tip";
|
|
21
|
-
export * from "./HalfRing";
|
|
22
|
-
export * from "./HalfRingIndicator";
|
|
23
|
-
export * from "./Ring";
|
|
24
|
-
export * from "./RingIndicator";
|
|
25
|
-
export * from "./Text";
|
|
26
|
-
export * from "./Point3D";
|
|
27
|
-
export * from "./Point3Ds";
|
|
28
|
-
export * from "./Confetti";
|
|
29
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/math/shapes/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAE9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AAEzB,cAAc,QAAQ,CAAC;AAEvB,cAAc,WAAW,CAAC;AAE1B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAEhC,cAAc,QAAQ,CAAC;AAEvB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAE3B,cAAc,YAAY,CAAC"}
|
package/types/svg/YZSVG.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=YZSVG.d.ts.map
|
package/types/svg/YZSVG.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"YZSVG.d.ts","sourceRoot":"","sources":["../../src/svg/YZSVG.ts"],"names":[],"mappings":""}
|
package/types/url.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare function getURL(url?: string): {
|
|
2
|
-
href: string;
|
|
3
|
-
protocol: string;
|
|
4
|
-
host: string;
|
|
5
|
-
hostname: string;
|
|
6
|
-
port: string;
|
|
7
|
-
pathname: string;
|
|
8
|
-
search: string;
|
|
9
|
-
hash: string;
|
|
10
|
-
};
|
|
11
|
-
export declare function isURL(string: string): boolean;
|
|
12
|
-
export declare function trimHash(href?: string): string;
|
|
13
|
-
export declare function searchToRecord(str?: string): Record<string, string>;
|
|
14
|
-
export declare const getParameters: (url?: string) => any;
|
|
15
|
-
export declare function recordToSearch(record: Record<string, any>): string;
|
|
16
|
-
export declare function formDataToSearch(fd: FormData): string;
|
|
17
|
-
export declare function flushURL(url: string, search: string): string;
|
|
18
|
-
export declare function flushURLRecord(url: string, record: Record<string, any>): string;
|
|
19
|
-
export declare function appendURL(url: string, search: string): string;
|
|
20
|
-
export declare function appendURLRecord(url: string, record: Record<string, any>): string;
|
|
21
|
-
//# sourceMappingURL=url.d.ts.map
|
package/types/url.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../src/url.ts"],"names":[],"mappings":"AAuCA,wBAAgB,MAAM,CAAC,GAAG,SAAuB,GAAG;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,CAsBA;AAED,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,WAGnC;AAED,wBAAgB,QAAQ,CAAC,IAAI,SAAuB,UAMnD;AAMD,wBAAgB,cAAc,CAAC,GAAG,SAAkB,0BAanD;AAED,eAAO,MAAM,aAAa,GAAI,YAA0B,QASvD,CAAC;AAEF,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,UAOzD;AAqBD,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,QAAQ,UAY5C;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED,wBAAgB,cAAc,CAC5B,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAC1B,MAAM,CAER;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED,wBAAgB,eAAe,CAC7B,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAC1B,MAAM,CAER"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|