@antv/g-lite 1.0.70 → 1.1.0-alpha.1
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/AbstractRenderer.d.ts +49 -50
- package/dist/Canvas.d.ts +149 -150
- package/dist/camera/Camera.d.ts +279 -280
- package/dist/camera/Landmark.d.ts +23 -24
- package/dist/camera/index.d.ts +3 -4
- package/dist/camera/interfaces.d.ts +194 -195
- package/dist/components/Cullable.d.ts +12 -13
- package/dist/components/Geometry.d.ts +11 -12
- package/dist/components/RBushNode.d.ts +11 -12
- package/dist/components/Renderable.d.ts +27 -28
- package/dist/components/Sortable.d.ts +25 -26
- package/dist/components/Transform.d.ts +31 -32
- package/dist/components/index.d.ts +6 -7
- package/dist/css/CSS.d.ts +87 -88
- package/dist/css/CSSProperty.d.ts +43 -44
- package/dist/css/CSSStyleValuePool.d.ts +19 -20
- package/dist/css/StyleValueRegistry.d.ts +54 -53
- package/dist/css/cssom/CSSColorValue.d.ts +23 -24
- package/dist/css/cssom/CSSGradientValue.d.ts +31 -32
- package/dist/css/cssom/CSSKeywordValue.d.ts +15 -16
- package/dist/css/cssom/CSSMathOperator.d.ts +11 -12
- package/dist/css/cssom/CSSNumericSumValue.d.ts +7 -8
- package/dist/css/cssom/CSSNumericValue.d.ts +28 -29
- package/dist/css/cssom/CSSRGB.d.ts +25 -26
- package/dist/css/cssom/CSSStyleValue.d.ts +45 -46
- package/dist/css/cssom/index.d.ts +16 -17
- package/dist/css/cssom/types.d.ts +38 -39
- package/dist/css/index.d.ts +11 -12
- package/dist/css/interfaces.d.ts +136 -137
- package/dist/css/parser/color.d.ts +22 -23
- package/dist/css/parser/dimension.d.ts +46 -47
- package/dist/css/parser/filter.d.ts +7 -8
- package/dist/css/parser/gradient.d.ts +4 -5
- package/dist/css/parser/index.d.ts +15 -16
- package/dist/css/parser/numeric.d.ts +24 -25
- package/dist/css/parser/path.d.ts +5 -6
- package/dist/css/parser/points.d.ts +23 -24
- package/dist/css/parser/transform-origin.d.ts +8 -9
- package/dist/css/parser/transform.d.ts +15 -16
- package/dist/css/parser/types.d.ts +2 -3
- package/dist/css/properties/CSSPropertyAngle.d.ts +13 -14
- package/dist/css/properties/CSSPropertyClipPath.d.ts +9 -9
- package/dist/css/properties/CSSPropertyColor.d.ts +18 -19
- package/dist/css/properties/CSSPropertyFilter.d.ts +7 -8
- package/dist/css/properties/CSSPropertyLengthOrPercentage.d.ts +20 -21
- package/dist/css/properties/CSSPropertyLengthOrPercentage12.d.ts +16 -17
- package/dist/css/properties/CSSPropertyLengthOrPercentage14.d.ts +26 -27
- package/dist/css/properties/CSSPropertyLocalPosition.d.ts +13 -14
- package/dist/css/properties/CSSPropertyMarker.d.ts +5 -6
- package/dist/css/properties/CSSPropertyNumber.d.ts +12 -13
- package/dist/css/properties/CSSPropertyOffsetDistance.d.ts +13 -14
- package/dist/css/properties/CSSPropertyOpacity.d.ts +14 -15
- package/dist/css/properties/CSSPropertyPath.d.ts +27 -28
- package/dist/css/properties/CSSPropertyPoints.d.ts +19 -20
- package/dist/css/properties/CSSPropertyShadowBlur.d.ts +4 -5
- package/dist/css/properties/CSSPropertyText.d.ts +7 -8
- package/dist/css/properties/CSSPropertyTextTransform.d.ts +11 -12
- package/dist/css/properties/CSSPropertyTransform.d.ts +42 -43
- package/dist/css/properties/CSSPropertyTransformOrigin.d.ts +13 -14
- package/dist/css/properties/CSSPropertyZIndex.d.ts +11 -12
- package/dist/css/properties/index.d.ts +20 -21
- package/dist/display-objects/Circle.d.ts +20 -21
- package/dist/display-objects/CustomElement.d.ts +24 -25
- package/dist/display-objects/DisplayObject.d.ts +273 -274
- package/dist/display-objects/Ellipse.d.ts +22 -23
- package/dist/display-objects/Group.d.ts +29 -30
- package/dist/display-objects/HTML.d.ts +41 -42
- package/dist/display-objects/Image.d.ts +26 -27
- package/dist/display-objects/Line.d.ts +60 -61
- package/dist/display-objects/Path.d.ts +123 -134
- package/dist/display-objects/Polygon.d.ts +49 -50
- package/dist/display-objects/Polyline.d.ts +48 -49
- package/dist/display-objects/Rect.d.ts +27 -28
- package/dist/display-objects/Text.d.ts +180 -181
- package/dist/display-objects/constants.d.ts +12 -0
- package/dist/display-objects/index.d.ts +13 -14
- package/dist/dom/CustomElementRegistry.d.ts +15 -16
- package/dist/dom/CustomEvent.d.ts +15 -16
- package/dist/dom/Document.d.ts +77 -78
- package/dist/dom/Element.d.ts +206 -208
- package/dist/dom/EventTarget.d.ts +40 -41
- package/dist/dom/FederatedEvent.d.ts +147 -148
- package/dist/dom/FederatedMouseEvent.d.ts +52 -53
- package/dist/dom/FederatedPointerEvent.d.ts +87 -88
- package/dist/dom/FederatedWheelEvent.d.ts +18 -22
- package/dist/dom/MutationEvent.d.ts +15 -16
- package/dist/dom/Node.d.ts +138 -139
- package/dist/dom/index.d.ts +12 -13
- package/dist/dom/interfaces.d.ts +440 -441
- package/dist/global-runtime.d.ts +35 -36
- package/dist/index.d.ts +15 -15
- package/dist/index.esm.js +15091 -14804
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +15168 -14857
- package/dist/index.js.map +1 -0
- package/dist/index.umd.min.js +2 -1
- package/dist/index.umd.min.js.map +1 -0
- package/dist/plugins/CullingPlugin.d.ts +17 -18
- package/dist/plugins/DirtyCheckPlugin.d.ts +8 -9
- package/dist/plugins/EventPlugin.d.ts +26 -27
- package/dist/plugins/FrustumCullingStrategy.d.ts +21 -22
- package/dist/plugins/PrepareRendererPlugin.d.ts +11 -12
- package/dist/services/ContextService.d.ts +28 -29
- package/dist/services/EventService.d.ts +82 -83
- package/dist/services/OffscreenCanvasCreator.d.ts +15 -16
- package/dist/services/RenderingContext.d.ts +26 -27
- package/dist/services/RenderingService.d.ts +112 -113
- package/dist/services/SceneGraphSelector.d.ts +23 -24
- package/dist/services/SceneGraphService.d.ts +127 -128
- package/dist/services/TextService.d.ts +47 -48
- package/dist/services/aabb/CircleUpdater.d.ts +8 -9
- package/dist/services/aabb/EllipseUpdater.d.ts +8 -9
- package/dist/services/aabb/LineUpdater.d.ts +8 -9
- package/dist/services/aabb/PathUpdater.d.ts +8 -9
- package/dist/services/aabb/PolylineUpdater.d.ts +8 -9
- package/dist/services/aabb/RectUpdater.d.ts +8 -9
- package/dist/services/aabb/TextUpdater.d.ts +23 -24
- package/dist/services/aabb/index.d.ts +8 -9
- package/dist/services/aabb/interfaces.d.ts +12 -13
- package/dist/services/index.d.ts +11 -12
- package/dist/services/interfaces.d.ts +48 -49
- package/dist/shapes/AABB.d.ts +33 -34
- package/dist/shapes/Frustum.d.ts +16 -17
- package/dist/shapes/Plane.d.ts +14 -15
- package/dist/shapes/Point.d.ts +11 -12
- package/dist/shapes/Rectangle.d.ts +12 -13
- package/dist/shapes/index.d.ts +5 -6
- package/dist/types.d.ts +327 -328
- package/dist/utils/assert.d.ts +12 -13
- package/dist/utils/canvas.d.ts +6 -7
- package/dist/utils/dom.d.ts +11 -11
- package/dist/utils/error.d.ts +3 -4
- package/dist/utils/event.d.ts +35 -36
- package/dist/utils/gradient.d.ts +106 -107
- package/dist/utils/index.d.ts +15 -15
- package/dist/utils/math.d.ts +36 -40
- package/dist/utils/memoize.d.ts +7 -8
- package/dist/utils/path.d.ts +24 -29
- package/dist/utils/pointer-events.d.ts +2 -3
- package/dist/utils/raf.d.ts +14 -15
- package/dist/utils/string.d.ts +5 -6
- package/dist/utils/tapable/AsyncParallelHook.d.ts +6 -7
- package/dist/utils/tapable/AsyncSeriesWaterfallHook.d.ts +6 -7
- package/dist/utils/tapable/Hook.d.ts +1 -2
- package/dist/utils/tapable/SyncHook.d.ts +6 -7
- package/dist/utils/tapable/SyncWaterfallHook.d.ts +6 -7
- package/dist/utils/tapable/index.d.ts +4 -5
- package/dist/utils/text.d.ts +2 -3
- package/dist/utils/transform-mat4.d.ts +4 -0
- package/package.json +18 -10
- package/dist/AbstractRenderer.d.ts.map +0 -1
- package/dist/Canvas.d.ts.map +0 -1
- package/dist/camera/Camera.d.ts.map +0 -1
- package/dist/camera/Landmark.d.ts.map +0 -1
- package/dist/camera/index.d.ts.map +0 -1
- package/dist/camera/interfaces.d.ts.map +0 -1
- package/dist/components/Cullable.d.ts.map +0 -1
- package/dist/components/Geometry.d.ts.map +0 -1
- package/dist/components/RBushNode.d.ts.map +0 -1
- package/dist/components/Renderable.d.ts.map +0 -1
- package/dist/components/Sortable.d.ts.map +0 -1
- package/dist/components/Transform.d.ts.map +0 -1
- package/dist/components/index.d.ts.map +0 -1
- package/dist/css/CSS.d.ts.map +0 -1
- package/dist/css/CSSProperty.d.ts.map +0 -1
- package/dist/css/CSSStyleValuePool.d.ts.map +0 -1
- package/dist/css/StyleValueRegistry.d.ts.map +0 -1
- package/dist/css/cssom/CSSColorValue.d.ts.map +0 -1
- package/dist/css/cssom/CSSGradientValue.d.ts.map +0 -1
- package/dist/css/cssom/CSSKeywordValue.d.ts.map +0 -1
- package/dist/css/cssom/CSSMathOperator.d.ts.map +0 -1
- package/dist/css/cssom/CSSNumericSumValue.d.ts.map +0 -1
- package/dist/css/cssom/CSSNumericValue.d.ts.map +0 -1
- package/dist/css/cssom/CSSRGB.d.ts.map +0 -1
- package/dist/css/cssom/CSSStyleValue.d.ts.map +0 -1
- package/dist/css/cssom/index.d.ts.map +0 -1
- package/dist/css/cssom/types.d.ts.map +0 -1
- package/dist/css/index.d.ts.map +0 -1
- package/dist/css/interfaces.d.ts.map +0 -1
- package/dist/css/parser/color.d.ts.map +0 -1
- package/dist/css/parser/dimension.d.ts.map +0 -1
- package/dist/css/parser/filter.d.ts.map +0 -1
- package/dist/css/parser/gradient.d.ts.map +0 -1
- package/dist/css/parser/index.d.ts.map +0 -1
- package/dist/css/parser/numeric.d.ts.map +0 -1
- package/dist/css/parser/path.d.ts.map +0 -1
- package/dist/css/parser/points.d.ts.map +0 -1
- package/dist/css/parser/transform-origin.d.ts.map +0 -1
- package/dist/css/parser/transform.d.ts.map +0 -1
- package/dist/css/parser/types.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyAngle.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyClipPath.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyColor.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyFilter.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyLengthOrPercentage.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyLengthOrPercentage12.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyLengthOrPercentage14.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyLocalPosition.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyMarker.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyNumber.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyOffsetDistance.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyOpacity.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyPath.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyPoints.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyShadowBlur.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyText.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyTextTransform.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyTransform.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyTransformOrigin.d.ts.map +0 -1
- package/dist/css/properties/CSSPropertyZIndex.d.ts.map +0 -1
- package/dist/css/properties/index.d.ts.map +0 -1
- package/dist/display-objects/Circle.d.ts.map +0 -1
- package/dist/display-objects/CustomElement.d.ts.map +0 -1
- package/dist/display-objects/DisplayObject.d.ts.map +0 -1
- package/dist/display-objects/Ellipse.d.ts.map +0 -1
- package/dist/display-objects/Group.d.ts.map +0 -1
- package/dist/display-objects/HTML.d.ts.map +0 -1
- package/dist/display-objects/Image.d.ts.map +0 -1
- package/dist/display-objects/Line.d.ts.map +0 -1
- package/dist/display-objects/Path.d.ts.map +0 -1
- package/dist/display-objects/Polygon.d.ts.map +0 -1
- package/dist/display-objects/Polyline.d.ts.map +0 -1
- package/dist/display-objects/Rect.d.ts.map +0 -1
- package/dist/display-objects/Text.d.ts.map +0 -1
- package/dist/display-objects/index.d.ts.map +0 -1
- package/dist/dom/CustomElementRegistry.d.ts.map +0 -1
- package/dist/dom/CustomEvent.d.ts.map +0 -1
- package/dist/dom/Document.d.ts.map +0 -1
- package/dist/dom/Element.d.ts.map +0 -1
- package/dist/dom/EventTarget.d.ts.map +0 -1
- package/dist/dom/FederatedEvent.d.ts.map +0 -1
- package/dist/dom/FederatedMouseEvent.d.ts.map +0 -1
- package/dist/dom/FederatedPointerEvent.d.ts.map +0 -1
- package/dist/dom/FederatedWheelEvent.d.ts.map +0 -1
- package/dist/dom/MutationEvent.d.ts.map +0 -1
- package/dist/dom/Node.d.ts.map +0 -1
- package/dist/dom/index.d.ts.map +0 -1
- package/dist/dom/interfaces.d.ts.map +0 -1
- package/dist/global-runtime.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.umd.js +0 -22112
- package/dist/plugins/CullingPlugin.d.ts.map +0 -1
- package/dist/plugins/DirtyCheckPlugin.d.ts.map +0 -1
- package/dist/plugins/EventPlugin.d.ts.map +0 -1
- package/dist/plugins/FrustumCullingStrategy.d.ts.map +0 -1
- package/dist/plugins/PrepareRendererPlugin.d.ts.map +0 -1
- package/dist/services/ContextService.d.ts.map +0 -1
- package/dist/services/EventService.d.ts.map +0 -1
- package/dist/services/OffscreenCanvasCreator.d.ts.map +0 -1
- package/dist/services/RenderingContext.d.ts.map +0 -1
- package/dist/services/RenderingService.d.ts.map +0 -1
- package/dist/services/SceneGraphSelector.d.ts.map +0 -1
- package/dist/services/SceneGraphService.d.ts.map +0 -1
- package/dist/services/TextService.d.ts.map +0 -1
- package/dist/services/aabb/CircleUpdater.d.ts.map +0 -1
- package/dist/services/aabb/EllipseUpdater.d.ts.map +0 -1
- package/dist/services/aabb/LineUpdater.d.ts.map +0 -1
- package/dist/services/aabb/PathUpdater.d.ts.map +0 -1
- package/dist/services/aabb/PolylineUpdater.d.ts.map +0 -1
- package/dist/services/aabb/RectUpdater.d.ts.map +0 -1
- package/dist/services/aabb/TextUpdater.d.ts.map +0 -1
- package/dist/services/aabb/index.d.ts.map +0 -1
- package/dist/services/aabb/interfaces.d.ts.map +0 -1
- package/dist/services/index.d.ts.map +0 -1
- package/dist/services/interfaces.d.ts.map +0 -1
- package/dist/shapes/AABB.d.ts.map +0 -1
- package/dist/shapes/Frustum.d.ts.map +0 -1
- package/dist/shapes/Plane.d.ts.map +0 -1
- package/dist/shapes/Point.d.ts.map +0 -1
- package/dist/shapes/Rectangle.d.ts.map +0 -1
- package/dist/shapes/index.d.ts.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/utils/assert.d.ts.map +0 -1
- package/dist/utils/canvas.d.ts.map +0 -1
- package/dist/utils/dom.d.ts.map +0 -1
- package/dist/utils/error.d.ts.map +0 -1
- package/dist/utils/event.d.ts.map +0 -1
- package/dist/utils/gradient.d.ts.map +0 -1
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/math.d.ts.map +0 -1
- package/dist/utils/memoize.d.ts.map +0 -1
- package/dist/utils/path.d.ts.map +0 -1
- package/dist/utils/pointer-events.d.ts.map +0 -1
- package/dist/utils/raf.d.ts.map +0 -1
- package/dist/utils/string.d.ts.map +0 -1
- package/dist/utils/tapable/AsyncParallelHook.d.ts.map +0 -1
- package/dist/utils/tapable/AsyncSeriesWaterfallHook.d.ts.map +0 -1
- package/dist/utils/tapable/Hook.d.ts.map +0 -1
- package/dist/utils/tapable/SyncHook.d.ts.map +0 -1
- package/dist/utils/tapable/SyncWaterfallHook.d.ts.map +0 -1
- package/dist/utils/tapable/index.d.ts.map +0 -1
- package/dist/utils/text.d.ts.map +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { DisplayObject } from '../../display-objects';
|
|
2
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
-
export declare class CSSPropertyMarker implements Partial<CSSProperty<DisplayObject, DisplayObject>> {
|
|
4
|
-
calculator(name: string, oldMarker: DisplayObject, newMarker: DisplayObject, object: DisplayObject): DisplayObject<any, any>;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=CSSPropertyMarker.d.ts.map
|
|
1
|
+
import type { DisplayObject } from '../../display-objects';
|
|
2
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
+
export declare class CSSPropertyMarker implements Partial<CSSProperty<DisplayObject, DisplayObject>> {
|
|
4
|
+
calculator(name: string, oldMarker: DisplayObject, newMarker: DisplayObject, object: DisplayObject): DisplayObject<any, any>;
|
|
5
|
+
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import type { CSSUnitValue } from '../cssom';
|
|
2
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
-
import { mergeNumbers } from '../parser/numeric';
|
|
4
|
-
export declare class CSSPropertyNumber implements Partial<CSSProperty<CSSUnitValue, number>> {
|
|
5
|
-
mixer: typeof mergeNumbers;
|
|
6
|
-
parser: {
|
|
7
|
-
(...args: any[]): any;
|
|
8
|
-
cache: Map<any, any>;
|
|
9
|
-
};
|
|
10
|
-
parserWithCSSDisabled: any;
|
|
11
|
-
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=CSSPropertyNumber.d.ts.map
|
|
1
|
+
import type { CSSUnitValue } from '../cssom';
|
|
2
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
+
import { mergeNumbers } from '../parser/numeric';
|
|
4
|
+
export declare class CSSPropertyNumber implements Partial<CSSProperty<CSSUnitValue, number>> {
|
|
5
|
+
mixer: typeof mergeNumbers;
|
|
6
|
+
parser: {
|
|
7
|
+
(...args: any[]): any;
|
|
8
|
+
cache: Map<any, any>;
|
|
9
|
+
};
|
|
10
|
+
parserWithCSSDisabled: any;
|
|
11
|
+
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;
|
|
12
|
+
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import type { DisplayObject } from '../../display-objects';
|
|
2
|
-
import type { CSSUnitValue } from '../cssom';
|
|
3
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
4
|
-
export declare class CSSPropertyOffsetDistance implements Partial<CSSProperty<CSSUnitValue, number>> {
|
|
5
|
-
parser: {
|
|
6
|
-
(...args: any[]): any;
|
|
7
|
-
cache: Map<any, any>;
|
|
8
|
-
};
|
|
9
|
-
parserWithCSSDisabled: any;
|
|
10
|
-
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;
|
|
11
|
-
mixer: (left: number, right: number) => [number, number, (i: number) => string];
|
|
12
|
-
postProcessor(object: DisplayObject): void;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=CSSPropertyOffsetDistance.d.ts.map
|
|
1
|
+
import type { DisplayObject } from '../../display-objects';
|
|
2
|
+
import type { CSSUnitValue } from '../cssom';
|
|
3
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
4
|
+
export declare class CSSPropertyOffsetDistance implements Partial<CSSProperty<CSSUnitValue, number>> {
|
|
5
|
+
parser: {
|
|
6
|
+
(...args: any[]): any;
|
|
7
|
+
cache: Map<any, any>;
|
|
8
|
+
};
|
|
9
|
+
parserWithCSSDisabled: any;
|
|
10
|
+
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;
|
|
11
|
+
mixer: (left: number, right: number) => [number, number, (i: number) => string];
|
|
12
|
+
postProcessor(object: DisplayObject): void;
|
|
13
|
+
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import type { CSSUnitValue } from '../cssom';
|
|
2
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
-
/**
|
|
4
|
-
* opacity
|
|
5
|
-
*/
|
|
6
|
-
export declare class CSSPropertyOpacity implements Partial<CSSProperty<CSSUnitValue, number>> {
|
|
7
|
-
parser: {
|
|
8
|
-
(...args: any[]): any;
|
|
9
|
-
cache: Map<any, any>;
|
|
10
|
-
};
|
|
11
|
-
parserWithCSSDisabled: any;
|
|
12
|
-
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;
|
|
13
|
-
mixer: (left: number, right: number) => [number, number, (i: number) => string];
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=CSSPropertyOpacity.d.ts.map
|
|
1
|
+
import type { CSSUnitValue } from '../cssom';
|
|
2
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
+
/**
|
|
4
|
+
* opacity
|
|
5
|
+
*/
|
|
6
|
+
export declare class CSSPropertyOpacity implements Partial<CSSProperty<CSSUnitValue, number>> {
|
|
7
|
+
parser: {
|
|
8
|
+
(...args: any[]): any;
|
|
9
|
+
cache: Map<any, any>;
|
|
10
|
+
};
|
|
11
|
+
parserWithCSSDisabled: any;
|
|
12
|
+
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue): number;
|
|
13
|
+
mixer: (left: number, right: number) => [number, number, (i: number) => string];
|
|
14
|
+
}
|
|
@@ -1,28 +1,27 @@
|
|
|
1
|
-
import type { AbsoluteArray } from '@antv/util';
|
|
2
|
-
import type { DisplayObject, ParsedPathStyleProps } from '../../display-objects';
|
|
3
|
-
import { Rectangle } from '../../shapes';
|
|
4
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
5
|
-
import { mergePaths, parsePath } from '../parser/path';
|
|
6
|
-
export declare class CSSPropertyPath implements Partial<CSSProperty<ParsedPathStyleProps['path'], ParsedPathStyleProps['path']>> {
|
|
7
|
-
/**
|
|
8
|
-
* path2Curve
|
|
9
|
-
*/
|
|
10
|
-
parser: typeof parsePath;
|
|
11
|
-
parserWithCSSDisabled: typeof parsePath;
|
|
12
|
-
calculator(name: string, oldParsed: ParsedPathStyleProps['path'], parsed: ParsedPathStyleProps['path']): {
|
|
13
|
-
absolutePath: AbsoluteArray;
|
|
14
|
-
hasArc: boolean;
|
|
15
|
-
segments: import("../../display-objects").PathSegment[];
|
|
16
|
-
polygons: [number, number][][];
|
|
17
|
-
polylines: [number, number][][];
|
|
18
|
-
curve: import("@antv/util").CurveArray;
|
|
19
|
-
totalLength: number;
|
|
20
|
-
rect: Rectangle;
|
|
21
|
-
};
|
|
22
|
-
mixer: typeof mergePaths;
|
|
23
|
-
/**
|
|
24
|
-
* update local position
|
|
25
|
-
*/
|
|
26
|
-
postProcessor(object: DisplayObject, attributes: string[]): void;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=CSSPropertyPath.d.ts.map
|
|
1
|
+
import type { AbsoluteArray } from '@antv/util';
|
|
2
|
+
import type { DisplayObject, ParsedPathStyleProps } from '../../display-objects';
|
|
3
|
+
import { Rectangle } from '../../shapes';
|
|
4
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
5
|
+
import { mergePaths, parsePath } from '../parser/path';
|
|
6
|
+
export declare class CSSPropertyPath implements Partial<CSSProperty<ParsedPathStyleProps['path'], ParsedPathStyleProps['path']>> {
|
|
7
|
+
/**
|
|
8
|
+
* path2Curve
|
|
9
|
+
*/
|
|
10
|
+
parser: typeof parsePath;
|
|
11
|
+
parserWithCSSDisabled: typeof parsePath;
|
|
12
|
+
calculator(name: string, oldParsed: ParsedPathStyleProps['path'], parsed: ParsedPathStyleProps['path']): {
|
|
13
|
+
absolutePath: AbsoluteArray;
|
|
14
|
+
hasArc: boolean;
|
|
15
|
+
segments: import("../../display-objects").PathSegment[];
|
|
16
|
+
polygons: [number, number][][];
|
|
17
|
+
polylines: [number, number][][];
|
|
18
|
+
curve: import("@antv/util").CurveArray;
|
|
19
|
+
totalLength: number;
|
|
20
|
+
rect: Rectangle;
|
|
21
|
+
};
|
|
22
|
+
mixer: typeof mergePaths;
|
|
23
|
+
/**
|
|
24
|
+
* update local position
|
|
25
|
+
*/
|
|
26
|
+
postProcessor(object: DisplayObject, attributes: string[]): void;
|
|
27
|
+
}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import type { DisplayObject } from '../../display-objects';
|
|
2
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
-
import { parsePoints, mergePoints } from '../parser/points';
|
|
4
|
-
export declare class CSSPropertyPoints implements Partial<CSSProperty<{
|
|
5
|
-
points: [number, number][];
|
|
6
|
-
totalLength: number;
|
|
7
|
-
segments: [number, number][];
|
|
8
|
-
}, {
|
|
9
|
-
points: [number, number][];
|
|
10
|
-
totalLength: number;
|
|
11
|
-
segments: [number, number][];
|
|
12
|
-
}>> {
|
|
13
|
-
parser: typeof parsePoints;
|
|
14
|
-
/**
|
|
15
|
-
* update local position
|
|
16
|
-
*/
|
|
17
|
-
postProcessor(object: DisplayObject, attributes: string[]): void;
|
|
18
|
-
mixer: typeof mergePoints;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=CSSPropertyPoints.d.ts.map
|
|
1
|
+
import type { DisplayObject } from '../../display-objects';
|
|
2
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
+
import { parsePoints, mergePoints } from '../parser/points';
|
|
4
|
+
export declare class CSSPropertyPoints implements Partial<CSSProperty<{
|
|
5
|
+
points: [number, number][];
|
|
6
|
+
totalLength: number;
|
|
7
|
+
segments: [number, number][];
|
|
8
|
+
}, {
|
|
9
|
+
points: [number, number][];
|
|
10
|
+
totalLength: number;
|
|
11
|
+
segments: [number, number][];
|
|
12
|
+
}>> {
|
|
13
|
+
parser: typeof parsePoints;
|
|
14
|
+
/**
|
|
15
|
+
* update local position
|
|
16
|
+
*/
|
|
17
|
+
postProcessor(object: DisplayObject, attributes: string[]): void;
|
|
18
|
+
mixer: typeof mergePoints;
|
|
19
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { CSSPropertyLengthOrPercentage } from './CSSPropertyLengthOrPercentage';
|
|
2
|
-
export declare class CSSPropertyShadowBlur extends CSSPropertyLengthOrPercentage {
|
|
3
|
-
mixer: (left: number, right: number) => [number, number, (i: number) => string];
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=CSSPropertyShadowBlur.d.ts.map
|
|
1
|
+
import { CSSPropertyLengthOrPercentage } from './CSSPropertyLengthOrPercentage';
|
|
2
|
+
export declare class CSSPropertyShadowBlur extends CSSPropertyLengthOrPercentage {
|
|
3
|
+
mixer: (left: number, right: number) => [number, number, (i: number) => string];
|
|
4
|
+
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { DisplayObject } from '../../display-objects';
|
|
2
|
-
import { CSSKeywordValue } from '../cssom';
|
|
3
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
4
|
-
export declare class CSSPropertyText implements Partial<CSSProperty<CSSKeywordValue | string, string>> {
|
|
5
|
-
calculator(name: string, oldParsed: CSSKeywordValue | string, parsed: CSSKeywordValue | string, object: DisplayObject): string;
|
|
6
|
-
postProcessor(object: DisplayObject): void;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=CSSPropertyText.d.ts.map
|
|
1
|
+
import type { DisplayObject } from '../../display-objects';
|
|
2
|
+
import { CSSKeywordValue } from '../cssom';
|
|
3
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
4
|
+
export declare class CSSPropertyText implements Partial<CSSProperty<CSSKeywordValue | string, string>> {
|
|
5
|
+
calculator(name: string, oldParsed: CSSKeywordValue | string, parsed: CSSKeywordValue | string, object: DisplayObject): string;
|
|
6
|
+
postProcessor(object: DisplayObject): void;
|
|
7
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import type { TextTransform } from '../..';
|
|
2
|
-
import type { DisplayObject } from '../../display-objects';
|
|
3
|
-
import type { CSSKeywordValue } from '../cssom';
|
|
4
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
5
|
-
/**
|
|
6
|
-
* it must transform after text get parsed
|
|
7
|
-
* @see https://developer.mozilla.org/zh-CN/docs/Web/CSS/text-transform
|
|
8
|
-
*/
|
|
9
|
-
export declare class CSSPropertyTextTransform implements Partial<CSSProperty<CSSKeywordValue, TextTransform>> {
|
|
10
|
-
calculator(name: string, oldParsed: CSSKeywordValue, parsed: CSSKeywordValue, object: DisplayObject): TextTransform;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=CSSPropertyTextTransform.d.ts.map
|
|
1
|
+
import type { TextTransform } from '../..';
|
|
2
|
+
import type { DisplayObject } from '../../display-objects';
|
|
3
|
+
import type { CSSKeywordValue } from '../cssom';
|
|
4
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
5
|
+
/**
|
|
6
|
+
* it must transform after text get parsed
|
|
7
|
+
* @see https://developer.mozilla.org/zh-CN/docs/Web/CSS/text-transform
|
|
8
|
+
*/
|
|
9
|
+
export declare class CSSPropertyTextTransform implements Partial<CSSProperty<CSSKeywordValue, TextTransform>> {
|
|
10
|
+
calculator(name: string, oldParsed: CSSKeywordValue, parsed: CSSKeywordValue, object: DisplayObject): TextTransform;
|
|
11
|
+
}
|
|
@@ -1,43 +1,42 @@
|
|
|
1
|
-
import type { DisplayObject } from '../../display-objects';
|
|
2
|
-
import { CSSKeywordValue } from '../cssom';
|
|
3
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
4
|
-
import type { ParsedTransform } from '../parser/transform';
|
|
5
|
-
import { mergeTransforms, parseTransform } from '../parser/transform';
|
|
6
|
-
/**
|
|
7
|
-
* @see /zh/docs/api/animation#支持变换的属性
|
|
8
|
-
*
|
|
9
|
-
* support the following formats like CSS Transform:
|
|
10
|
-
*
|
|
11
|
-
* scale
|
|
12
|
-
* * scale(x, y)
|
|
13
|
-
* * scaleX(x)
|
|
14
|
-
* * scaleY(x)
|
|
15
|
-
* * scaleZ(z)
|
|
16
|
-
* * scale3d(x, y, z)
|
|
17
|
-
*
|
|
18
|
-
* translate (unit: none, px, %(relative to its bounds))
|
|
19
|
-
* * translate(x, y) eg. translate(0, 0) translate(0, 30px) translate(100%, 100%)
|
|
20
|
-
* * translateX(0)
|
|
21
|
-
* * translateY(0)
|
|
22
|
-
* * translateZ(0)
|
|
23
|
-
* * translate3d(0, 0, 0)
|
|
24
|
-
*
|
|
25
|
-
* rotate (unit: deg rad turn)
|
|
26
|
-
* * rotate(0.5turn) rotate(30deg) rotate(1rad)
|
|
27
|
-
*
|
|
28
|
-
* none
|
|
29
|
-
*
|
|
30
|
-
* unsupported for now:
|
|
31
|
-
* * calc() eg. translate(calc(100% + 10px))
|
|
32
|
-
* * matrix/matrix3d()
|
|
33
|
-
* * skew/skewX/skewY
|
|
34
|
-
* * perspective
|
|
35
|
-
*/
|
|
36
|
-
export declare class CSSPropertyTransform implements Partial<CSSProperty<CSSKeywordValue | ParsedTransform[], ParsedTransform[]>> {
|
|
37
|
-
parser: typeof parseTransform;
|
|
38
|
-
parserWithCSSDisabled: typeof parseTransform;
|
|
39
|
-
calculator(name: string, oldParsed: CSSKeywordValue | ParsedTransform[], parsed: CSSKeywordValue | ParsedTransform[], object: DisplayObject): ParsedTransform[];
|
|
40
|
-
mixer: typeof mergeTransforms;
|
|
41
|
-
postProcessor(object: DisplayObject): void;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=CSSPropertyTransform.d.ts.map
|
|
1
|
+
import type { DisplayObject } from '../../display-objects';
|
|
2
|
+
import { CSSKeywordValue } from '../cssom';
|
|
3
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
4
|
+
import type { ParsedTransform } from '../parser/transform';
|
|
5
|
+
import { mergeTransforms, parseTransform } from '../parser/transform';
|
|
6
|
+
/**
|
|
7
|
+
* @see /zh/docs/api/animation#支持变换的属性
|
|
8
|
+
*
|
|
9
|
+
* support the following formats like CSS Transform:
|
|
10
|
+
*
|
|
11
|
+
* scale
|
|
12
|
+
* * scale(x, y)
|
|
13
|
+
* * scaleX(x)
|
|
14
|
+
* * scaleY(x)
|
|
15
|
+
* * scaleZ(z)
|
|
16
|
+
* * scale3d(x, y, z)
|
|
17
|
+
*
|
|
18
|
+
* translate (unit: none, px, %(relative to its bounds))
|
|
19
|
+
* * translate(x, y) eg. translate(0, 0) translate(0, 30px) translate(100%, 100%)
|
|
20
|
+
* * translateX(0)
|
|
21
|
+
* * translateY(0)
|
|
22
|
+
* * translateZ(0)
|
|
23
|
+
* * translate3d(0, 0, 0)
|
|
24
|
+
*
|
|
25
|
+
* rotate (unit: deg rad turn)
|
|
26
|
+
* * rotate(0.5turn) rotate(30deg) rotate(1rad)
|
|
27
|
+
*
|
|
28
|
+
* none
|
|
29
|
+
*
|
|
30
|
+
* unsupported for now:
|
|
31
|
+
* * calc() eg. translate(calc(100% + 10px))
|
|
32
|
+
* * matrix/matrix3d()
|
|
33
|
+
* * skew/skewX/skewY
|
|
34
|
+
* * perspective
|
|
35
|
+
*/
|
|
36
|
+
export declare class CSSPropertyTransform implements Partial<CSSProperty<CSSKeywordValue | ParsedTransform[], ParsedTransform[]>> {
|
|
37
|
+
parser: typeof parseTransform;
|
|
38
|
+
parserWithCSSDisabled: typeof parseTransform;
|
|
39
|
+
calculator(name: string, oldParsed: CSSKeywordValue | ParsedTransform[], parsed: CSSKeywordValue | ParsedTransform[], object: DisplayObject): ParsedTransform[];
|
|
40
|
+
mixer: typeof mergeTransforms;
|
|
41
|
+
postProcessor(object: DisplayObject): void;
|
|
42
|
+
}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import type { CSSUnitValue } from '../cssom';
|
|
2
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
-
/**
|
|
4
|
-
* @see https://developer.mozilla.org/zh-CN/docs/Web/CSS/transform-origin
|
|
5
|
-
* @example
|
|
6
|
-
* [10px, 10px] [10%, 10%]
|
|
7
|
-
*/
|
|
8
|
-
export declare class CSSPropertyTransformOrigin implements Partial<CSSProperty<[CSSUnitValue, CSSUnitValue], [CSSUnitValue, CSSUnitValue]>> {
|
|
9
|
-
parser: {
|
|
10
|
-
(...args: any[]): any;
|
|
11
|
-
cache: Map<any, any>;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=CSSPropertyTransformOrigin.d.ts.map
|
|
1
|
+
import type { CSSUnitValue } from '../cssom';
|
|
2
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
3
|
+
/**
|
|
4
|
+
* @see https://developer.mozilla.org/zh-CN/docs/Web/CSS/transform-origin
|
|
5
|
+
* @example
|
|
6
|
+
* [10px, 10px] [10%, 10%]
|
|
7
|
+
*/
|
|
8
|
+
export declare class CSSPropertyTransformOrigin implements Partial<CSSProperty<[CSSUnitValue, CSSUnitValue], [CSSUnitValue, CSSUnitValue]>> {
|
|
9
|
+
parser: {
|
|
10
|
+
(...args: any[]): any;
|
|
11
|
+
cache: Map<any, any>;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import type { DisplayObject } from '../../display-objects';
|
|
2
|
-
import type { CSSUnitValue } from '../cssom';
|
|
3
|
-
import type { CSSProperty } from '../CSSProperty';
|
|
4
|
-
export declare class CSSPropertyZIndex implements Partial<CSSProperty<CSSUnitValue, number>> {
|
|
5
|
-
parser: {
|
|
6
|
-
(...args: any[]): any;
|
|
7
|
-
cache: Map<any, any>;
|
|
8
|
-
};
|
|
9
|
-
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue, object: DisplayObject): number;
|
|
10
|
-
postProcessor(object: DisplayObject): void;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=CSSPropertyZIndex.d.ts.map
|
|
1
|
+
import type { DisplayObject } from '../../display-objects';
|
|
2
|
+
import type { CSSUnitValue } from '../cssom';
|
|
3
|
+
import type { CSSProperty } from '../CSSProperty';
|
|
4
|
+
export declare class CSSPropertyZIndex implements Partial<CSSProperty<CSSUnitValue, number>> {
|
|
5
|
+
parser: {
|
|
6
|
+
(...args: any[]): any;
|
|
7
|
+
cache: Map<any, any>;
|
|
8
|
+
};
|
|
9
|
+
calculator(name: string, oldParsed: CSSUnitValue, computed: CSSUnitValue, object: DisplayObject): number;
|
|
10
|
+
postProcessor(object: DisplayObject): void;
|
|
11
|
+
}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
export * from './CSSPropertyAngle';
|
|
2
|
-
export * from './CSSPropertyClipPath';
|
|
3
|
-
export * from './CSSPropertyColor';
|
|
4
|
-
export * from './CSSPropertyFilter';
|
|
5
|
-
export * from './CSSPropertyLengthOrPercentage';
|
|
6
|
-
export * from './CSSPropertyLengthOrPercentage12';
|
|
7
|
-
export * from './CSSPropertyLengthOrPercentage14';
|
|
8
|
-
export * from './CSSPropertyLocalPosition';
|
|
9
|
-
export * from './CSSPropertyMarker';
|
|
10
|
-
export * from './CSSPropertyNumber';
|
|
11
|
-
export * from './CSSPropertyOffsetDistance';
|
|
12
|
-
export * from './CSSPropertyOpacity';
|
|
13
|
-
export * from './CSSPropertyPath';
|
|
14
|
-
export * from './CSSPropertyPoints';
|
|
15
|
-
export * from './CSSPropertyShadowBlur';
|
|
16
|
-
export * from './CSSPropertyText';
|
|
17
|
-
export * from './CSSPropertyTextTransform';
|
|
18
|
-
export * from './CSSPropertyTransform';
|
|
19
|
-
export * from './CSSPropertyTransformOrigin';
|
|
20
|
-
export * from './CSSPropertyZIndex';
|
|
21
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export * from './CSSPropertyAngle';
|
|
2
|
+
export * from './CSSPropertyClipPath';
|
|
3
|
+
export * from './CSSPropertyColor';
|
|
4
|
+
export * from './CSSPropertyFilter';
|
|
5
|
+
export * from './CSSPropertyLengthOrPercentage';
|
|
6
|
+
export * from './CSSPropertyLengthOrPercentage12';
|
|
7
|
+
export * from './CSSPropertyLengthOrPercentage14';
|
|
8
|
+
export * from './CSSPropertyLocalPosition';
|
|
9
|
+
export * from './CSSPropertyMarker';
|
|
10
|
+
export * from './CSSPropertyNumber';
|
|
11
|
+
export * from './CSSPropertyOffsetDistance';
|
|
12
|
+
export * from './CSSPropertyOpacity';
|
|
13
|
+
export * from './CSSPropertyPath';
|
|
14
|
+
export * from './CSSPropertyPoints';
|
|
15
|
+
export * from './CSSPropertyShadowBlur';
|
|
16
|
+
export * from './CSSPropertyText';
|
|
17
|
+
export * from './CSSPropertyTextTransform';
|
|
18
|
+
export * from './CSSPropertyTransform';
|
|
19
|
+
export * from './CSSPropertyTransformOrigin';
|
|
20
|
+
export * from './CSSPropertyZIndex';
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import type { DisplayObjectConfig } from '../dom/interfaces';
|
|
2
|
-
import type { BaseStyleProps, ParsedBaseStyleProps } from '../types';
|
|
3
|
-
import { DisplayObject } from './DisplayObject';
|
|
4
|
-
export interface CircleStyleProps extends BaseStyleProps {
|
|
5
|
-
cx?: number | string | null;
|
|
6
|
-
cy?: number | string | null;
|
|
7
|
-
cz?: number | string | null;
|
|
8
|
-
r: number | string | null;
|
|
9
|
-
isBillboard?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface ParsedCircleStyleProps extends ParsedBaseStyleProps {
|
|
12
|
-
cx: number;
|
|
13
|
-
cy: number;
|
|
14
|
-
cz?: number;
|
|
15
|
-
r: number;
|
|
16
|
-
isBillboard?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare class Circle extends DisplayObject<CircleStyleProps, ParsedCircleStyleProps> {
|
|
19
|
-
constructor({ style, ...rest }?: DisplayObjectConfig<CircleStyleProps>);
|
|
20
|
-
}
|
|
21
|
-
//# sourceMappingURL=Circle.d.ts.map
|
|
1
|
+
import type { DisplayObjectConfig } from '../dom/interfaces';
|
|
2
|
+
import type { BaseStyleProps, ParsedBaseStyleProps } from '../types';
|
|
3
|
+
import { DisplayObject } from './DisplayObject';
|
|
4
|
+
export interface CircleStyleProps extends BaseStyleProps {
|
|
5
|
+
cx?: number | string | null;
|
|
6
|
+
cy?: number | string | null;
|
|
7
|
+
cz?: number | string | null;
|
|
8
|
+
r: number | string | null;
|
|
9
|
+
isBillboard?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface ParsedCircleStyleProps extends ParsedBaseStyleProps {
|
|
12
|
+
cx: number;
|
|
13
|
+
cy: number;
|
|
14
|
+
cz?: number;
|
|
15
|
+
r: number;
|
|
16
|
+
isBillboard?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare class Circle extends DisplayObject<CircleStyleProps, ParsedCircleStyleProps> {
|
|
19
|
+
constructor({ style, ...rest }?: DisplayObjectConfig<CircleStyleProps>);
|
|
20
|
+
}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import type { DisplayObjectConfig } from '../dom';
|
|
2
|
-
import type { BaseStyleProps } from '../types';
|
|
3
|
-
import { DisplayObject } from './DisplayObject';
|
|
4
|
-
export interface BaseCustomElementStyleProps extends BaseStyleProps {
|
|
5
|
-
x?: number | string;
|
|
6
|
-
y?: number | string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* shadow root
|
|
10
|
-
* @see https://yuque.antfin-inc.com/antv/czqvg5/pgqipg
|
|
11
|
-
*/
|
|
12
|
-
export declare abstract class CustomElement<CustomElementStyleProps> extends DisplayObject<CustomElementStyleProps & BaseCustomElementStyleProps> {
|
|
13
|
-
isCustomElement: boolean;
|
|
14
|
-
constructor({ style, ...rest }?: DisplayObjectConfig<CustomElementStyleProps>);
|
|
15
|
-
/**
|
|
16
|
-
* fired after element insert into DOM tree
|
|
17
|
-
*/
|
|
18
|
-
connectedCallback?(): void;
|
|
19
|
-
/**
|
|
20
|
-
* fired before element removed from DOM tree
|
|
21
|
-
*/
|
|
22
|
-
disconnectedCallback?(): void;
|
|
23
|
-
attributeChangedCallback?<Key extends keyof CustomElementStyleProps>(name: Key, oldValue: CustomElementStyleProps[Key], newValue: CustomElementStyleProps[Key], oldParsedValue?: any, newParsedValue?: any): void;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=CustomElement.d.ts.map
|
|
1
|
+
import type { DisplayObjectConfig } from '../dom';
|
|
2
|
+
import type { BaseStyleProps } from '../types';
|
|
3
|
+
import { DisplayObject } from './DisplayObject';
|
|
4
|
+
export interface BaseCustomElementStyleProps extends BaseStyleProps {
|
|
5
|
+
x?: number | string;
|
|
6
|
+
y?: number | string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* shadow root
|
|
10
|
+
* @see https://yuque.antfin-inc.com/antv/czqvg5/pgqipg
|
|
11
|
+
*/
|
|
12
|
+
export declare abstract class CustomElement<CustomElementStyleProps> extends DisplayObject<CustomElementStyleProps & BaseCustomElementStyleProps> {
|
|
13
|
+
isCustomElement: boolean;
|
|
14
|
+
constructor({ style, ...rest }?: DisplayObjectConfig<CustomElementStyleProps>);
|
|
15
|
+
/**
|
|
16
|
+
* fired after element insert into DOM tree
|
|
17
|
+
*/
|
|
18
|
+
connectedCallback?(): void;
|
|
19
|
+
/**
|
|
20
|
+
* fired before element removed from DOM tree
|
|
21
|
+
*/
|
|
22
|
+
disconnectedCallback?(): void;
|
|
23
|
+
attributeChangedCallback?<Key extends keyof CustomElementStyleProps>(name: Key, oldValue: CustomElementStyleProps[Key], newValue: CustomElementStyleProps[Key], oldParsedValue?: any, newParsedValue?: any): void;
|
|
24
|
+
}
|