@zyzgroup/core-web 0.1.65 → 0.1.67
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 +2 -0
- package/dist/zyzgroup_core_web.iife.js +18 -18
- package/dist/zyzgroup_core_web.iife.js.map +1 -1
- package/dist/zyzgroup_core_web.js +4762 -4515
- package/dist/zyzgroup_core_web.js.map +1 -1
- package/dist/zyzgroup_core_web.umd.cjs +18 -18
- package/dist/zyzgroup_core_web.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/types/Context.d.ts.map +1 -1
- package/types/WebSocketClientEventbus.d.ts +9 -0
- package/types/WebSocketClientEventbus.d.ts.map +1 -0
- package/types/animate/schedule.d.ts.map +1 -1
- package/types/color.d.ts +2 -2
- package/types/color.d.ts.map +1 -1
- package/types/hooks/useAttribute.d.ts.map +1 -1
- package/types/hooks/useDraw/DrawContext.d.ts +55 -0
- package/types/hooks/useDraw/DrawContext.d.ts.map +1 -0
- package/types/hooks/useDraw/canvas/CustomCanvasContext.d.ts.map +1 -1
- package/types/hooks/useDraw/index.d.ts +1 -1
- package/types/hooks/useDraw/index.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/EllipseShape.d.ts +23 -0
- package/types/hooks/useDraw/shapes/EllipseShape.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/LineShape.d.ts +6 -0
- package/types/hooks/useDraw/shapes/LineShape.d.ts.map +1 -1
- package/types/hooks/useDraw/shapes/RingIndicatorShapeCombo.d.ts +36 -0
- package/types/hooks/useDraw/shapes/RingIndicatorShapeCombo.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/RingShape.d.ts +36 -0
- package/types/hooks/useDraw/shapes/RingShape.d.ts.map +1 -0
- package/types/hooks/useDraw/shapes/index.d.ts +3 -0
- package/types/hooks/useDraw/shapes/index.d.ts.map +1 -1
- package/types/hooks/useElement.d.ts.map +1 -1
- package/types/hooks/useElementEvents.d.ts +2 -2
- package/types/hooks/useElementEvents.d.ts.map +1 -1
- package/types/hooks/useEventListener.d.ts.map +1 -1
- package/types/hooks/useFetch.d.ts.map +1 -1
- package/types/hooks/useIntersection.d.ts +1 -2
- package/types/hooks/useIntersection.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/useMutation.d.ts +0 -1
- package/types/hooks/useMutation.d.ts.map +1 -1
- package/types/hooks/useResize.d.ts +0 -1
- package/types/hooks/useResize.d.ts.map +1 -1
- package/types/hooks/useStyle.d.ts.map +1 -1
- package/types/hooks/useTimestampValue.d.ts.map +1 -1
- package/types/hooks/useVisible.d.ts.map +1 -1
- package/types/hooks/useVnode.d.ts +3 -2
- package/types/hooks/useVnode.d.ts.map +1 -1
- package/types/image/image.d.ts +1 -1
- package/types/image/image.d.ts.map +1 -1
- package/types/math/shapes/Ring.d.ts.map +1 -1
- package/types/vnode.d.ts +1 -0
- package/types/vnode.d.ts.map +1 -1
- package/types/hooks/useDraw/useDraw.d.ts +0 -20
- package/types/hooks/useDraw/useDraw.d.ts.map +0 -1
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { HTMLEventObservable } from "../useEventListener";
|
|
2
|
-
import { Shape, ShapeCombo } from "./Shape";
|
|
3
|
-
export type DrawShape = Shape | ShapeCombo;
|
|
4
|
-
export type DrawType = "svg" | "canvas";
|
|
5
|
-
export type DrawContext = ReturnType<typeof useDraw>;
|
|
6
|
-
export declare function useDraw(PARENT_EL?: HTMLEventObservable, type?: DrawType): {
|
|
7
|
-
rect: {
|
|
8
|
-
x: number;
|
|
9
|
-
y: number;
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
};
|
|
13
|
-
mousePoint: import("../useElementEvents").MousePoint;
|
|
14
|
-
shapes: Shape[];
|
|
15
|
-
draw: (...ss: DrawShape[]) => void;
|
|
16
|
-
ctx: null;
|
|
17
|
-
unsubscribe: () => void;
|
|
18
|
-
downloadSVG: () => void;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=useDraw.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useDraw.d.ts","sourceRoot":"","sources":["../../../src/hooks/useDraw/useDraw.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAQ1D,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAM5C,MAAM,MAAM,SAAS,GAAG,KAAK,GAAG,UAAU,CAAC;AAE3C,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAExC,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAErD,wBAAgB,OAAO,CACrB,SAAS,GAAE,mBAA8C,EACzD,IAAI,GAAE,QAAmB;;;;;;;;;kBA6FJ,SAAS,EAAE;;;;EAqNjC"}
|