@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
package/types/signature.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AlgorithmEnum } from "@zyzgroup/core-common";
|
|
2
|
-
export declare function signature(text: string, algorithm?: AlgorithmEnum): Promise<string>;
|
|
3
|
-
export declare function objectSignature(obj: any, algorithm?: AlgorithmEnum): Promise<string>;
|
|
4
|
-
export declare function encrypt(data: string, algorithm?: AlgorithmEnum): Promise<{
|
|
5
|
-
algorithm: string;
|
|
6
|
-
iv: Uint8Array;
|
|
7
|
-
key: CryptoKey;
|
|
8
|
-
encryptedData: ArrayBuffer;
|
|
9
|
-
}>;
|
|
10
|
-
export declare function decrypt(options: {
|
|
11
|
-
algorithm: AlgorithmEnum;
|
|
12
|
-
iv: Uint8Array;
|
|
13
|
-
key: CryptoKey;
|
|
14
|
-
encryptedData: ArrayBuffer;
|
|
15
|
-
}): Promise<string>;
|
|
16
|
-
export declare function signEncrypt(data: Record<string, any>, algorithm?: AlgorithmEnum, hash?: string): Promise<{
|
|
17
|
-
algorithm: string;
|
|
18
|
-
hash: string;
|
|
19
|
-
publicKey: CryptoKey;
|
|
20
|
-
signature: ArrayBuffer;
|
|
21
|
-
encodedData: Uint8Array;
|
|
22
|
-
}>;
|
|
23
|
-
export declare function verifyDecrypt(options: {
|
|
24
|
-
algorithm: AlgorithmEnum;
|
|
25
|
-
hash: string;
|
|
26
|
-
publicKey: CryptoKey;
|
|
27
|
-
signature: ArrayBuffer;
|
|
28
|
-
encodedData: Uint8Array;
|
|
29
|
-
}): Promise<boolean>;
|
|
30
|
-
//# sourceMappingURL=signature.d.ts.map
|
package/types/signature.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../src/signature.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,aAAa,EAEd,MAAM,uBAAuB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]];
|
|
2
|
-
export declare const SVGParsedPathArgsLength: Record<string, number>;
|
|
3
|
-
export declare class DOMSVGUtil {
|
|
4
|
-
static createSVGElement(tagName?: string, attrs?: Record<string, string>): SVGGeometryElement;
|
|
5
|
-
static createSvgPath(d: string, id?: string): SVGPathElement;
|
|
6
|
-
static downloadFromSVGElement(svgContainer: SVGElement, name?: string): void;
|
|
7
|
-
static downloadFromSVGString(svgString: string, name?: string): void;
|
|
8
|
-
static getSVGRawStringFromElement(el: HTMLElement): string;
|
|
9
|
-
static isSVGPath(str: string): boolean;
|
|
10
|
-
static SVGPathDataToD(path: TSVGParsedPathData[]): string;
|
|
11
|
-
static parseSVGPath(path: string): TSVGParsedPathData[];
|
|
12
|
-
static absolutizeSVGPath(path: TSVGParsedPathData[]): TSVGParsedPathData[];
|
|
13
|
-
static relativeSVGPath(path: TSVGParsedPathData[]): TSVGParsedPathData[];
|
|
14
|
-
static normalizeSVGPath(path: TSVGParsedPathData[]): TSVGParsedPathData[];
|
|
15
|
-
static catmullRom2bezier(crp: number[]): TSVGParsedPathData[];
|
|
16
|
-
static zvhToLSVGPath(path: TSVGParsedPathData[]): TSVGParsedPathData[];
|
|
17
|
-
static longhandSVGPath(path: TSVGParsedPathData[]): TSVGParsedPathData[];
|
|
18
|
-
}
|
|
19
|
-
export default DOMSVGUtil;
|
|
20
|
-
//# sourceMappingURL=DOMSVGUtil.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DOMSVGUtil.d.ts","sourceRoot":"","sources":["../../src/svg/DOMSVGUtil.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;AAEtE,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAY1D,CAAC;AAYF,qBAAa,UAAU;IACrB,MAAM,CAAC,gBAAgB,CACrB,OAAO,S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
|
|
6
|
-
[index: string]: any;
|
|
7
|
-
};
|
|
8
|
-
children: string | VNode[];
|
|
9
|
-
el?: AnyElement;
|
|
10
|
-
alternate?: VNode;
|
|
11
|
-
}
|
|
12
|
-
export declare function h(tag: string, props?: {
|
|
13
|
-
[index: string]: any;
|
|
14
|
-
}, children?: string | VNode[], el?: AnyElement): VNode;
|
|
15
|
-
export declare function hFromEl(el: AnyElement): VNode;
|
|
16
|
-
export declare function mount(vnode: VNode, parentContainer?: AnyElement): AnyElement;
|
|
17
|
-
export declare function patch(oldVnode: VNode, newVnode: VNode): void;
|
|
18
|
-
//# sourceMappingURL=vnode.d.ts.map
|
package/types/vnode.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"vnode.d.ts","sourceRoot":"","sources":["../src/vnode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAUxD,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAChC,QAAQ,EAAE,MAAM,GAAG,KAAK,EAAE,CAAC;IAE3B,EAAE,CAAC,EAAE,UAAU,CAAC;IAEhB,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB;AAKD,wBAAgB,CAAC,CACf,GAAG,EAAE,MAAM,EACX,KAAK,GAAE;IAAE,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAA;CAAO,EACpC,QAAQ,GAAE,MAAM,GAAG,KAAK,EAAO,EAC/B,EAAE,CAAC,EAAE,UAAU,GACd,KAAK,CAQP;AAGD,wBAAgB,OAAO,CAAC,EAAE,EAAE,UAAU,GAAG,KAAK,CAO7C;AAGD,wBAAgB,KAAK,CACnB,KAAK,EAAE,KAAK,EACZ,eAAe,GAAE,UAAqC,GACrD,UAAU,CA+BZ;AAGD,wBAAgB,KAAK,CAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,GAAG,IAAI,CA+E5D"}
|
|
File without changes
|