@antv/g 5.1.2 → 5.1.3-alpha.0
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 +38 -0
- package/dist/AbstractRenderer.d.ts.map +1 -0
- package/dist/Canvas.d.ts +150 -0
- package/dist/Canvas.d.ts.map +1 -0
- package/dist/DisplayObjectPool.d.ts +10 -0
- package/dist/DisplayObjectPool.d.ts.map +1 -0
- package/dist/__tests__/utils.d.ts +2 -0
- package/dist/__tests__/utils.d.ts.map +1 -0
- package/dist/camera/Camera.d.ts +328 -0
- package/dist/camera/Camera.d.ts.map +1 -0
- package/dist/camera/Landmark.d.ts +24 -0
- package/dist/camera/Landmark.d.ts.map +1 -0
- package/dist/camera/index.d.ts +3 -0
- package/dist/camera/index.d.ts.map +1 -0
- package/dist/canvas-module.d.ts +2 -0
- package/dist/canvas-module.d.ts.map +1 -0
- package/dist/components/Cullable.d.ts +15 -0
- package/dist/components/Cullable.d.ts.map +1 -0
- package/dist/components/Geometry.d.ts +13 -0
- package/dist/components/Geometry.d.ts.map +1 -0
- package/dist/components/Renderable.d.ts +25 -0
- package/dist/components/Renderable.d.ts.map +1 -0
- package/dist/components/Sortable.d.ts +21 -0
- package/dist/components/Sortable.d.ts.map +1 -0
- package/dist/components/Transform.d.ts +29 -0
- package/dist/components/Transform.d.ts.map +1 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/css/CSS.d.ts +89 -0
- package/dist/css/CSS.d.ts.map +1 -0
- package/dist/css/CSSProperty.d.ts +42 -0
- package/dist/css/CSSProperty.d.ts.map +1 -0
- package/dist/css/StyleValueRegistry.d.ts +124 -0
- package/dist/css/StyleValueRegistry.d.ts.map +1 -0
- package/dist/css/cssom/CSSColorValue.d.ts +24 -0
- package/dist/css/cssom/CSSColorValue.d.ts.map +1 -0
- package/dist/css/cssom/CSSGradientValue.d.ts +40 -0
- package/dist/css/cssom/CSSGradientValue.d.ts.map +1 -0
- package/dist/css/cssom/CSSKeywordValue.d.ts +16 -0
- package/dist/css/cssom/CSSKeywordValue.d.ts.map +1 -0
- package/dist/css/cssom/CSSMathOperator.d.ts +12 -0
- package/dist/css/cssom/CSSMathOperator.d.ts.map +1 -0
- package/dist/css/cssom/CSSNumericSumValue.d.ts +8 -0
- package/dist/css/cssom/CSSNumericSumValue.d.ts.map +1 -0
- package/dist/css/cssom/CSSNumericValue.d.ts +213 -0
- package/dist/css/cssom/CSSNumericValue.d.ts.map +1 -0
- package/dist/css/cssom/CSSRGB.d.ts +26 -0
- package/dist/css/cssom/CSSRGB.d.ts.map +1 -0
- package/dist/css/cssom/CSSStyleValue.d.ts +54 -0
- package/dist/css/cssom/CSSStyleValue.d.ts.map +1 -0
- package/dist/css/cssom/index.d.ts +18 -0
- package/dist/css/cssom/index.d.ts.map +1 -0
- package/dist/css/cssom/types.d.ts +87 -0
- package/dist/css/cssom/types.d.ts.map +1 -0
- package/dist/css/index.d.ts +12 -0
- package/dist/css/index.d.ts.map +1 -0
- package/dist/css/interfaces.d.ts +117 -0
- package/dist/css/interfaces.d.ts.map +1 -0
- package/dist/css/layout/FragmentResult.d.ts +33 -0
- package/dist/css/layout/FragmentResult.d.ts.map +1 -0
- package/dist/css/layout/LayoutChildren.d.ts +24 -0
- package/dist/css/layout/LayoutChildren.d.ts.map +1 -0
- package/dist/css/layout/LayoutContext.d.ts +36 -0
- package/dist/css/layout/LayoutContext.d.ts.map +1 -0
- package/dist/css/layout/LayoutDefinition.d.ts +21 -0
- package/dist/css/layout/LayoutDefinition.d.ts.map +1 -0
- package/dist/css/layout/LayoutEdges.d.ts +25 -0
- package/dist/css/layout/LayoutEdges.d.ts.map +1 -0
- package/dist/css/layout/LayoutEngine.d.ts +42 -0
- package/dist/css/layout/LayoutEngine.d.ts.map +1 -0
- package/dist/css/layout/LayoutFragment.d.ts +27 -0
- package/dist/css/layout/LayoutFragment.d.ts.map +1 -0
- package/dist/css/layout/LayoutObject.d.ts +47 -0
- package/dist/css/layout/LayoutObject.d.ts.map +1 -0
- package/dist/css/layout/LayoutRegistry.d.ts +17 -0
- package/dist/css/layout/LayoutRegistry.d.ts.map +1 -0
- package/dist/css/layout/LayoutWorkTask.d.ts +15 -0
- package/dist/css/layout/LayoutWorkTask.d.ts.map +1 -0
- package/dist/css/layout/index.d.ts +12 -0
- package/dist/css/layout/index.d.ts.map +1 -0
- package/dist/css/layout/types.d.ts +105 -0
- package/dist/css/layout/types.d.ts.map +1 -0
- package/dist/css/parser/color.d.ts +7 -0
- package/dist/css/parser/color.d.ts.map +1 -0
- package/dist/css/parser/dimension.d.ts +38 -0
- package/dist/css/parser/dimension.d.ts.map +1 -0
- package/dist/css/parser/filter.d.ts +8 -0
- package/dist/css/parser/filter.d.ts.map +1 -0
- package/dist/css/parser/index.d.ts +16 -0
- package/dist/css/parser/index.d.ts.map +1 -0
- package/dist/css/parser/numeric.d.ts +20 -0
- package/dist/css/parser/numeric.d.ts.map +1 -0
- package/dist/css/parser/path.d.ts +6 -0
- package/dist/css/parser/path.d.ts.map +1 -0
- package/dist/css/parser/points.d.ts +13 -0
- package/dist/css/parser/points.d.ts.map +1 -0
- package/dist/css/parser/transform-origin.d.ts +7 -0
- package/dist/css/parser/transform-origin.d.ts.map +1 -0
- package/dist/css/parser/transform.d.ts +14 -0
- package/dist/css/parser/transform.d.ts.map +1 -0
- package/dist/css/parser/types.d.ts +3 -0
- package/dist/css/parser/types.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyClipPath.d.ts +21 -0
- package/dist/css/properties/CSSPropertyClipPath.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyColor.d.ts +5 -0
- package/dist/css/properties/CSSPropertyColor.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyFilter.d.ts +4 -0
- package/dist/css/properties/CSSPropertyFilter.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyLengthOrPercentage.d.ts +7 -0
- package/dist/css/properties/CSSPropertyLengthOrPercentage.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyLengthOrPercentage12.d.ts +12 -0
- package/dist/css/properties/CSSPropertyLengthOrPercentage12.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyLengthOrPercentage14.d.ts +22 -0
- package/dist/css/properties/CSSPropertyLengthOrPercentage14.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyLocalPosition.d.ts +7 -0
- package/dist/css/properties/CSSPropertyLocalPosition.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyOffsetDistance.d.ts +4 -0
- package/dist/css/properties/CSSPropertyOffsetDistance.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyOffsetPath.d.ts +4 -0
- package/dist/css/properties/CSSPropertyOffsetPath.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyOpacity.d.ts +7 -0
- package/dist/css/properties/CSSPropertyOpacity.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyPath.d.ts +4 -0
- package/dist/css/properties/CSSPropertyPath.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyPoints.d.ts +11 -0
- package/dist/css/properties/CSSPropertyPoints.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyShadowBlur.d.ts +3 -0
- package/dist/css/properties/CSSPropertyShadowBlur.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyText.d.ts +4 -0
- package/dist/css/properties/CSSPropertyText.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyTextTransform.d.ts +4 -0
- package/dist/css/properties/CSSPropertyTextTransform.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyTransform.d.ts +33 -0
- package/dist/css/properties/CSSPropertyTransform.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyTransformOrigin.d.ts +9 -0
- package/dist/css/properties/CSSPropertyTransformOrigin.d.ts.map +1 -0
- package/dist/css/properties/CSSPropertyZIndex.d.ts +4 -0
- package/dist/css/properties/CSSPropertyZIndex.d.ts.map +1 -0
- package/dist/css/properties/index.d.ts +19 -0
- package/dist/css/properties/index.d.ts.map +1 -0
- package/dist/display-objects/Circle.d.ts +18 -0
- package/dist/display-objects/Circle.d.ts.map +1 -0
- package/dist/display-objects/CustomElement.d.ts +25 -0
- package/dist/display-objects/CustomElement.d.ts.map +1 -0
- package/dist/display-objects/DisplayObject.d.ts +275 -0
- package/dist/display-objects/DisplayObject.d.ts.map +1 -0
- package/dist/display-objects/Ellipse.d.ts +20 -0
- package/dist/display-objects/Ellipse.d.ts.map +1 -0
- package/dist/display-objects/Group.d.ts +30 -0
- package/dist/display-objects/Group.d.ts.map +1 -0
- package/dist/display-objects/HTML.d.ts +42 -0
- package/dist/display-objects/HTML.d.ts.map +1 -0
- package/dist/display-objects/Image.d.ts +24 -0
- package/dist/display-objects/Image.d.ts.map +1 -0
- package/dist/display-objects/Line.d.ts +31 -0
- package/dist/display-objects/Line.d.ts.map +1 -0
- package/dist/display-objects/Path.d.ts +49 -0
- package/dist/display-objects/Path.d.ts.map +1 -0
- package/dist/display-objects/Polygon.d.ts +17 -0
- package/dist/display-objects/Polygon.d.ts.map +1 -0
- package/dist/display-objects/Polyline.d.ts +22 -0
- package/dist/display-objects/Polyline.d.ts.map +1 -0
- package/dist/display-objects/Rect.d.ts +25 -0
- package/dist/display-objects/Rect.d.ts.map +1 -0
- package/dist/display-objects/Text.d.ts +92 -0
- package/dist/display-objects/Text.d.ts.map +1 -0
- package/dist/display-objects/index.d.ts +14 -0
- package/dist/display-objects/index.d.ts.map +1 -0
- package/dist/dom/Animation.d.ts +133 -0
- package/dist/dom/Animation.d.ts.map +1 -0
- package/dist/dom/AnimationEffectTiming.d.ts +59 -0
- package/dist/dom/AnimationEffectTiming.d.ts.map +1 -0
- package/dist/dom/AnimationEvent.d.ts +12 -0
- package/dist/dom/AnimationEvent.d.ts.map +1 -0
- package/dist/dom/AnimationTimeline.d.ts +41 -0
- package/dist/dom/AnimationTimeline.d.ts.map +1 -0
- package/dist/dom/CustomElementRegistry.d.ts +16 -0
- package/dist/dom/CustomElementRegistry.d.ts.map +1 -0
- package/dist/dom/CustomEvent.d.ts +17 -0
- package/dist/dom/CustomEvent.d.ts.map +1 -0
- package/dist/dom/Document.d.ts +73 -0
- package/dist/dom/Document.d.ts.map +1 -0
- package/dist/dom/Element.d.ts +188 -0
- package/dist/dom/Element.d.ts.map +1 -0
- package/dist/dom/EventTarget.d.ts +41 -0
- package/dist/dom/EventTarget.d.ts.map +1 -0
- package/dist/dom/FederatedEvent.d.ts +146 -0
- package/dist/dom/FederatedEvent.d.ts.map +1 -0
- package/dist/dom/FederatedMouseEvent.d.ts +53 -0
- package/dist/dom/FederatedMouseEvent.d.ts.map +1 -0
- package/dist/dom/FederatedPointerEvent.d.ts +76 -0
- package/dist/dom/FederatedPointerEvent.d.ts.map +1 -0
- package/dist/dom/FederatedWheelEvent.d.ts +21 -0
- package/dist/dom/FederatedWheelEvent.d.ts.map +1 -0
- package/dist/dom/KeyframeEffect.d.ts +48 -0
- package/dist/dom/KeyframeEffect.d.ts.map +1 -0
- package/dist/dom/KeyframeList.d.ts +3 -0
- package/dist/dom/KeyframeList.d.ts.map +1 -0
- package/dist/dom/MutationEvent.d.ts +16 -0
- package/dist/dom/MutationEvent.d.ts.map +1 -0
- package/dist/dom/MutationObserver.d.ts +37 -0
- package/dist/dom/MutationObserver.d.ts.map +1 -0
- package/dist/dom/MutationRecord.d.ts +15 -0
- package/dist/dom/MutationRecord.d.ts.map +1 -0
- package/dist/dom/Node.d.ts +139 -0
- package/dist/dom/Node.d.ts.map +1 -0
- package/dist/dom/index.d.ts +21 -0
- package/dist/dom/index.d.ts.map +1 -0
- package/dist/dom/interfaces.d.ts +373 -0
- package/dist/dom/interfaces.d.ts.map +1 -0
- package/dist/global-module.d.ts +2 -0
- package/dist/global-module.d.ts.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +19679 -0
- package/dist/index.js +19851 -0
- package/dist/index.umd.js +29159 -0
- package/dist/index.umd.min.js +14 -28
- package/dist/plugins/CullingPlugin.d.ts +18 -0
- package/dist/plugins/CullingPlugin.d.ts.map +1 -0
- package/dist/plugins/DirtyCheckPlugin.d.ts +11 -0
- package/dist/plugins/DirtyCheckPlugin.d.ts.map +1 -0
- package/dist/plugins/EventPlugin.d.ts +30 -0
- package/dist/plugins/EventPlugin.d.ts.map +1 -0
- package/dist/plugins/FrustumCullingStrategy.d.ts +22 -0
- package/dist/plugins/FrustumCullingStrategy.d.ts.map +1 -0
- package/dist/plugins/PrepareRendererPlugin.d.ts +8 -0
- package/dist/plugins/PrepareRendererPlugin.d.ts.map +1 -0
- package/dist/services/ContextService.d.ts +14 -0
- package/dist/services/ContextService.d.ts.map +1 -0
- package/dist/services/EventService.d.ts +72 -0
- package/dist/services/EventService.d.ts.map +1 -0
- package/dist/services/OffscreenCanvasCreator.d.ts +14 -0
- package/dist/services/OffscreenCanvasCreator.d.ts.map +1 -0
- package/dist/services/RenderingContext.d.ts +27 -0
- package/dist/services/RenderingContext.d.ts.map +1 -0
- package/dist/services/RenderingService.d.ts +103 -0
- package/dist/services/RenderingService.d.ts.map +1 -0
- package/dist/services/SceneGraphSelector.d.ts +24 -0
- package/dist/services/SceneGraphSelector.d.ts.map +1 -0
- package/dist/services/SceneGraphService.d.ts +154 -0
- package/dist/services/SceneGraphService.d.ts.map +1 -0
- package/dist/services/TextService.d.ts +37 -0
- package/dist/services/TextService.d.ts.map +1 -0
- package/dist/services/aabb/CircleUpdater.d.ts +9 -0
- package/dist/services/aabb/CircleUpdater.d.ts.map +1 -0
- package/dist/services/aabb/EllipseUpdater.d.ts +9 -0
- package/dist/services/aabb/EllipseUpdater.d.ts.map +1 -0
- package/dist/services/aabb/LineUpdater.d.ts +9 -0
- package/dist/services/aabb/LineUpdater.d.ts.map +1 -0
- package/dist/services/aabb/PathUpdater.d.ts +9 -0
- package/dist/services/aabb/PathUpdater.d.ts.map +1 -0
- package/dist/services/aabb/PolylineUpdater.d.ts +9 -0
- package/dist/services/aabb/PolylineUpdater.d.ts.map +1 -0
- package/dist/services/aabb/RectUpdater.d.ts +9 -0
- package/dist/services/aabb/RectUpdater.d.ts.map +1 -0
- package/dist/services/aabb/TextUpdater.d.ts +22 -0
- package/dist/services/aabb/TextUpdater.d.ts.map +1 -0
- package/dist/services/aabb/index.d.ts +9 -0
- package/dist/services/aabb/index.d.ts.map +1 -0
- package/dist/services/aabb/interfaces.d.ts +16 -0
- package/dist/services/aabb/interfaces.d.ts.map +1 -0
- package/dist/services/index.d.ts +11 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/shapes/AABB.d.ts +36 -0
- package/dist/shapes/AABB.d.ts.map +1 -0
- package/dist/shapes/BoundingSphere.d.ts +9 -0
- package/dist/shapes/BoundingSphere.d.ts.map +1 -0
- package/dist/shapes/Frustum.d.ts +17 -0
- package/dist/shapes/Frustum.d.ts.map +1 -0
- package/dist/shapes/Plane.d.ts +15 -0
- package/dist/shapes/Plane.d.ts.map +1 -0
- package/dist/shapes/Point.d.ts +12 -0
- package/dist/shapes/Point.d.ts.map +1 -0
- package/dist/shapes/Ray.d.ts +25 -0
- package/dist/shapes/Ray.d.ts.map +1 -0
- package/dist/shapes/Rectangle.d.ts +13 -0
- package/dist/shapes/Rectangle.d.ts.map +1 -0
- package/dist/shapes/index.d.ts +8 -0
- package/dist/shapes/index.d.ts.map +1 -0
- package/dist/types.d.ts +270 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils/animation.d.ts +16 -0
- package/dist/utils/animation.d.ts.map +1 -0
- package/dist/utils/assert.d.ts +10 -0
- package/dist/utils/assert.d.ts.map +1 -0
- package/dist/utils/bezier-easing.d.ts +21 -0
- package/dist/utils/bezier-easing.d.ts.map +1 -0
- package/dist/utils/canvas.d.ts +7 -0
- package/dist/utils/canvas.d.ts.map +1 -0
- package/dist/utils/custom-easing.d.ts +16 -0
- package/dist/utils/custom-easing.d.ts.map +1 -0
- package/dist/utils/deferred.d.ts +44 -0
- package/dist/utils/deferred.d.ts.map +1 -0
- package/dist/utils/dom.d.ts +3 -0
- package/dist/utils/dom.d.ts.map +1 -0
- package/dist/utils/event.d.ts +36 -0
- package/dist/utils/event.d.ts.map +1 -0
- package/dist/utils/index.d.ts +12 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/interpolation.d.ts +5 -0
- package/dist/utils/interpolation.d.ts.map +1 -0
- package/dist/utils/math.d.ts +30 -0
- package/dist/utils/math.d.ts.map +1 -0
- package/dist/utils/path.d.ts +16 -0
- package/dist/utils/path.d.ts.map +1 -0
- package/dist/utils/string.d.ts +3 -0
- package/dist/utils/string.d.ts.map +1 -0
- package/dist/utils/text.d.ts +3 -0
- package/dist/utils/text.d.ts.map +1 -0
- package/package.json +27 -33
- package/es/AbstractRenderer.d.ts +0 -37
- package/es/AbstractRenderer.js +0 -62
- package/es/Canvas.d.ts +0 -149
- package/es/Canvas.js +0 -518
- package/es/DisplayObjectPool.d.ts +0 -7
- package/es/DisplayObjectPool.js +0 -27
- package/es/camera/Camera.d.ts +0 -327
- package/es/camera/Camera.js +0 -1154
- package/es/camera/Landmark.d.ts +0 -23
- package/es/camera/Landmark.js +0 -1
- package/es/camera/index.d.ts +0 -2
- package/es/camera/index.js +0 -2
- package/es/canvas-module.d.ts +0 -1
- package/es/canvas-module.js +0 -25
- package/es/components/Cullable.d.ts +0 -14
- package/es/components/Cullable.js +0 -28
- package/es/components/Geometry.d.ts +0 -12
- package/es/components/Geometry.js +0 -10
- package/es/components/Renderable.d.ts +0 -24
- package/es/components/Renderable.js +0 -18
- package/es/components/Sortable.d.ts +0 -20
- package/es/components/Sortable.js +0 -20
- package/es/components/Transform.d.ts +0 -28
- package/es/components/Transform.js +0 -64
- package/es/components/index.d.ts +0 -5
- package/es/components/index.js +0 -5
- package/es/css/CSS.d.ts +0 -87
- package/es/css/CSS.js +0 -121
- package/es/css/CSSProperty.d.ts +0 -41
- package/es/css/CSSProperty.js +0 -1
- package/es/css/StyleValueRegistry.d.ts +0 -92
- package/es/css/StyleValueRegistry.js +0 -882
- package/es/css/cssom/CSSColorValue.d.ts +0 -23
- package/es/css/cssom/CSSColorValue.js +0 -43
- package/es/css/cssom/CSSGradientValue.d.ts +0 -39
- package/es/css/cssom/CSSGradientValue.js +0 -54
- package/es/css/cssom/CSSImageValue.d.ts +0 -1
- package/es/css/cssom/CSSImageValue.js +0 -0
- package/es/css/cssom/CSSKeywordValue.d.ts +0 -15
- package/es/css/cssom/CSSKeywordValue.js +0 -37
- package/es/css/cssom/CSSMathOperator.d.ts +0 -11
- package/es/css/cssom/CSSMathOperator.js +0 -32
- package/es/css/cssom/CSSNumericSumValue.d.ts +0 -7
- package/es/css/cssom/CSSNumericSumValue.js +0 -1
- package/es/css/cssom/CSSNumericValue.d.ts +0 -212
- package/es/css/cssom/CSSNumericValue.js +0 -1661
- package/es/css/cssom/CSSRGB.d.ts +0 -25
- package/es/css/cssom/CSSRGB.js +0 -48
- package/es/css/cssom/CSSStyleValue.d.ts +0 -53
- package/es/css/cssom/CSSStyleValue.js +0 -625
- package/es/css/cssom/CSSTransformComponent.d.ts +0 -22
- package/es/css/cssom/CSSTransformComponent.js +0 -32
- package/es/css/cssom/CSSTransformValue.d.ts +0 -30
- package/es/css/cssom/CSSTransformValue.js +0 -48
- package/es/css/cssom/CSSTranslate.d.ts +0 -15
- package/es/css/cssom/CSSTranslate.js +0 -44
- package/es/css/cssom/index.d.ts +0 -19
- package/es/css/cssom/index.js +0 -19
- package/es/css/cssom/types.d.ts +0 -86
- package/es/css/cssom/types.js +0 -119
- package/es/css/index.d.ts +0 -11
- package/es/css/index.js +0 -11
- package/es/css/interfaces.d.ts +0 -116
- package/es/css/interfaces.js +0 -77
- package/es/css/layout/FragmentResult.d.ts +0 -32
- package/es/css/layout/FragmentResult.js +0 -32
- package/es/css/layout/LayoutChildren.d.ts +0 -23
- package/es/css/layout/LayoutChildren.js +0 -55
- package/es/css/layout/LayoutContext.d.ts +0 -35
- package/es/css/layout/LayoutContext.js +0 -35
- package/es/css/layout/LayoutDefinition.d.ts +0 -20
- package/es/css/layout/LayoutDefinition.js +0 -9
- package/es/css/layout/LayoutEdges.d.ts +0 -24
- package/es/css/layout/LayoutEdges.js +0 -41
- package/es/css/layout/LayoutEngine.d.ts +0 -41
- package/es/css/layout/LayoutEngine.js +0 -332
- package/es/css/layout/LayoutFragment.d.ts +0 -26
- package/es/css/layout/LayoutFragment.js +0 -28
- package/es/css/layout/LayoutObject.d.ts +0 -46
- package/es/css/layout/LayoutObject.js +0 -172
- package/es/css/layout/LayoutRegistry.d.ts +0 -16
- package/es/css/layout/LayoutRegistry.js +0 -78
- package/es/css/layout/LayoutWorkTask.d.ts +0 -14
- package/es/css/layout/LayoutWorkTask.js +0 -1
- package/es/css/layout/index.d.ts +0 -11
- package/es/css/layout/index.js +0 -11
- package/es/css/layout/types.d.ts +0 -104
- package/es/css/layout/types.js +0 -66
- package/es/css/parser/color.d.ts +0 -6
- package/es/css/parser/color.js +0 -241
- package/es/css/parser/dimension.d.ts +0 -37
- package/es/css/parser/dimension.js +0 -149
- package/es/css/parser/filter.d.ts +0 -7
- package/es/css/parser/filter.js +0 -43
- package/es/css/parser/index.d.ts +0 -15
- package/es/css/parser/index.js +0 -15
- package/es/css/parser/numeric.d.ts +0 -19
- package/es/css/parser/numeric.js +0 -62
- package/es/css/parser/path.d.ts +0 -5
- package/es/css/parser/path.js +0 -207
- package/es/css/parser/points.d.ts +0 -12
- package/es/css/parser/points.js +0 -58
- package/es/css/parser/transform-origin.d.ts +0 -6
- package/es/css/parser/transform-origin.js +0 -45
- package/es/css/parser/transform.d.ts +0 -13
- package/es/css/parser/transform.js +0 -289
- package/es/css/parser/types.d.ts +0 -2
- package/es/css/parser/types.js +0 -1
- package/es/css/properties/CSSPropertyClipPath.d.ts +0 -22
- package/es/css/properties/CSSPropertyClipPath.js +0 -56
- package/es/css/properties/CSSPropertyColor.d.ts +0 -14
- package/es/css/properties/CSSPropertyColor.js +0 -30
- package/es/css/properties/CSSPropertyFilter.d.ts +0 -6
- package/es/css/properties/CSSPropertyFilter.js +0 -16
- package/es/css/properties/CSSPropertyLengthOrPercentage.d.ts +0 -20
- package/es/css/properties/CSSPropertyLengthOrPercentage.js +0 -95
- package/es/css/properties/CSSPropertyLengthOrPercentage12.d.ts +0 -15
- package/es/css/properties/CSSPropertyLengthOrPercentage12.js +0 -38
- package/es/css/properties/CSSPropertyLengthOrPercentage14.d.ts +0 -25
- package/es/css/properties/CSSPropertyLengthOrPercentage14.js +0 -42
- package/es/css/properties/CSSPropertyLocalPosition.d.ts +0 -13
- package/es/css/properties/CSSPropertyLocalPosition.js +0 -85
- package/es/css/properties/CSSPropertyOffsetDistance.d.ts +0 -9
- package/es/css/properties/CSSPropertyOffsetDistance.js +0 -34
- package/es/css/properties/CSSPropertyOffsetPath.d.ts +0 -5
- package/es/css/properties/CSSPropertyOffsetPath.js +0 -31
- package/es/css/properties/CSSPropertyOpacity.d.ts +0 -10
- package/es/css/properties/CSSPropertyOpacity.js +0 -20
- package/es/css/properties/CSSPropertyPath.d.ts +0 -27
- package/es/css/properties/CSSPropertyPath.js +0 -58
- package/es/css/properties/CSSPropertyPoints.d.ts +0 -18
- package/es/css/properties/CSSPropertyPoints.js +0 -30
- package/es/css/properties/CSSPropertyShadowBlur.d.ts +0 -4
- package/es/css/properties/CSSPropertyShadowBlur.js +0 -22
- package/es/css/properties/CSSPropertyText.d.ts +0 -7
- package/es/css/properties/CSSPropertyText.js +0 -30
- package/es/css/properties/CSSPropertyTextTransform.d.ts +0 -5
- package/es/css/properties/CSSPropertyTextTransform.js +0 -29
- package/es/css/properties/CSSPropertyTransform.d.ts +0 -38
- package/es/css/properties/CSSPropertyTransform.js +0 -128
- package/es/css/properties/CSSPropertyTransformOrigin.d.ts +0 -11
- package/es/css/properties/CSSPropertyTransformOrigin.js +0 -21
- package/es/css/properties/CSSPropertyVisibility.d.ts +0 -13
- package/es/css/properties/CSSPropertyVisibility.js +0 -24
- package/es/css/properties/CSSPropertyZIndex.d.ts +0 -8
- package/es/css/properties/CSSPropertyZIndex.js +0 -33
- package/es/css/properties/index.d.ts +0 -18
- package/es/css/properties/index.js +0 -18
- package/es/display-objects/Circle.d.ts +0 -17
- package/es/display-objects/Circle.js +0 -34
- package/es/display-objects/CustomElement.d.ts +0 -26
- package/es/display-objects/CustomElement.js +0 -102
- package/es/display-objects/DisplayObject.d.ts +0 -274
- package/es/display-objects/DisplayObject.js +0 -887
- package/es/display-objects/Ellipse.d.ts +0 -19
- package/es/display-objects/Ellipse.js +0 -35
- package/es/display-objects/Group.d.ts +0 -29
- package/es/display-objects/Group.js +0 -42
- package/es/display-objects/HTML.d.ts +0 -41
- package/es/display-objects/HTML.js +0 -100
- package/es/display-objects/Image.d.ts +0 -23
- package/es/display-objects/Image.js +0 -34
- package/es/display-objects/Line.d.ts +0 -30
- package/es/display-objects/Line.js +0 -63
- package/es/display-objects/Path.d.ts +0 -48
- package/es/display-objects/Path.js +0 -131
- package/es/display-objects/Polygon.d.ts +0 -16
- package/es/display-objects/Polygon.js +0 -31
- package/es/display-objects/Polyline.d.ts +0 -21
- package/es/display-objects/Polyline.js +0 -74
- package/es/display-objects/Rect.d.ts +0 -24
- package/es/display-objects/Rect.js +0 -34
- package/es/display-objects/Text.d.ts +0 -91
- package/es/display-objects/Text.js +0 -118
- package/es/display-objects/index.d.ts +0 -13
- package/es/display-objects/index.js +0 -13
- package/es/dom/Animation.d.ts +0 -132
- package/es/dom/Animation.js +0 -503
- package/es/dom/AnimationEffectTiming.d.ts +0 -58
- package/es/dom/AnimationEffectTiming.js +0 -68
- package/es/dom/AnimationEvent.d.ts +0 -11
- package/es/dom/AnimationEvent.js +0 -34
- package/es/dom/AnimationTimeline.d.ts +0 -40
- package/es/dom/AnimationTimeline.js +0 -217
- package/es/dom/CustomElementRegistry.d.ts +0 -15
- package/es/dom/CustomElementRegistry.js +0 -42
- package/es/dom/CustomEvent.d.ts +0 -16
- package/es/dom/CustomEvent.js +0 -35
- package/es/dom/Document.d.ts +0 -72
- package/es/dom/Document.js +0 -316
- package/es/dom/Element.d.ts +0 -187
- package/es/dom/Element.js +0 -604
- package/es/dom/EventTarget.d.ts +0 -40
- package/es/dom/EventTarget.js +0 -157
- package/es/dom/FederatedEvent.d.ts +0 -145
- package/es/dom/FederatedEvent.js +0 -222
- package/es/dom/FederatedMouseEvent.d.ts +0 -52
- package/es/dom/FederatedMouseEvent.js +0 -124
- package/es/dom/FederatedPointerEvent.d.ts +0 -75
- package/es/dom/FederatedPointerEvent.js +0 -61
- package/es/dom/FederatedTouchEvent.d.ts +0 -15
- package/es/dom/FederatedTouchEvent.js +0 -19
- package/es/dom/FederatedWheelEvent.d.ts +0 -20
- package/es/dom/FederatedWheelEvent.js +0 -27
- package/es/dom/KeyframeEffect.d.ts +0 -47
- package/es/dom/KeyframeEffect.js +0 -174
- package/es/dom/KeyframeList.d.ts +0 -2
- package/es/dom/KeyframeList.js +0 -176
- package/es/dom/MutationEvent.d.ts +0 -15
- package/es/dom/MutationEvent.js +0 -29
- package/es/dom/MutationObserver.d.ts +0 -36
- package/es/dom/MutationObserver.js +0 -416
- package/es/dom/MutationRecord.d.ts +0 -14
- package/es/dom/MutationRecord.js +0 -31
- package/es/dom/Node.d.ts +0 -138
- package/es/dom/Node.js +0 -387
- package/es/dom/index.d.ts +0 -20
- package/es/dom/index.js +0 -20
- package/es/dom/interfaces.d.ts +0 -372
- package/es/dom/interfaces.js +0 -56
- package/es/global-module.d.ts +0 -1
- package/es/global-module.js +0 -155
- package/es/index.d.ts +0 -18
- package/es/index.js +0 -21
- package/es/plugins/CullingPlugin.d.ts +0 -17
- package/es/plugins/CullingPlugin.js +0 -58
- package/es/plugins/DirtyCheckPlugin.d.ts +0 -10
- package/es/plugins/DirtyCheckPlugin.js +0 -55
- package/es/plugins/EventPlugin.d.ts +0 -30
- package/es/plugins/EventPlugin.js +0 -374
- package/es/plugins/FrustumCullingStrategy.d.ts +0 -21
- package/es/plugins/FrustumCullingStrategy.js +0 -108
- package/es/plugins/PrepareRendererPlugin.d.ts +0 -7
- package/es/plugins/PrepareRendererPlugin.js +0 -79
- package/es/services/ContextService.d.ts +0 -13
- package/es/services/ContextService.js +0 -5
- package/es/services/EventService.d.ts +0 -73
- package/es/services/EventService.js +0 -1238
- package/es/services/OffscreenCanvasCreator.d.ts +0 -13
- package/es/services/OffscreenCanvasCreator.js +0 -58
- package/es/services/RenderingContext.d.ts +0 -26
- package/es/services/RenderingContext.js +0 -14
- package/es/services/RenderingService.d.ts +0 -102
- package/es/services/RenderingService.js +0 -231
- package/es/services/SceneGraphSelector.d.ts +0 -23
- package/es/services/SceneGraphSelector.js +0 -100
- package/es/services/SceneGraphService.d.ts +0 -153
- package/es/services/SceneGraphService.js +0 -819
- package/es/services/TextService.d.ts +0 -36
- package/es/services/TextService.js +0 -350
- package/es/services/aabb/CircleUpdater.d.ts +0 -8
- package/es/services/aabb/CircleUpdater.js +0 -30
- package/es/services/aabb/EllipseUpdater.d.ts +0 -8
- package/es/services/aabb/EllipseUpdater.js +0 -31
- package/es/services/aabb/LineUpdater.d.ts +0 -8
- package/es/services/aabb/LineUpdater.js +0 -37
- package/es/services/aabb/PathUpdater.d.ts +0 -8
- package/es/services/aabb/PathUpdater.js +0 -168
- package/es/services/aabb/PolylineUpdater.d.ts +0 -8
- package/es/services/aabb/PolylineUpdater.js +0 -46
- package/es/services/aabb/RectUpdater.d.ts +0 -8
- package/es/services/aabb/RectUpdater.js +0 -72
- package/es/services/aabb/TextUpdater.d.ts +0 -21
- package/es/services/aabb/TextUpdater.js +0 -136
- package/es/services/aabb/index.d.ts +0 -8
- package/es/services/aabb/index.js +0 -8
- package/es/services/aabb/interfaces.d.ts +0 -15
- package/es/services/aabb/interfaces.js +0 -3
- package/es/services/index.d.ts +0 -10
- package/es/services/index.js +0 -10
- package/es/shapes/AABB.d.ts +0 -35
- package/es/shapes/AABB.js +0 -230
- package/es/shapes/BoundingSphere.d.ts +0 -8
- package/es/shapes/BoundingSphere.js +0 -31
- package/es/shapes/Frustum.d.ts +0 -16
- package/es/shapes/Frustum.js +0 -79
- package/es/shapes/Plane.d.ts +0 -14
- package/es/shapes/Plane.js +0 -42
- package/es/shapes/Point.d.ts +0 -11
- package/es/shapes/Point.js +0 -31
- package/es/shapes/Ray.d.ts +0 -24
- package/es/shapes/Ray.js +0 -138
- package/es/shapes/Rectangle.d.ts +0 -12
- package/es/shapes/Rectangle.js +0 -20
- package/es/shapes/index.d.ts +0 -7
- package/es/shapes/index.js +0 -7
- package/es/types.d.ts +0 -289
- package/es/types.js +0 -54
- package/es/utils/animation.d.ts +0 -15
- package/es/utils/animation.js +0 -251
- package/es/utils/assert.d.ts +0 -9
- package/es/utils/assert.js +0 -33
- package/es/utils/bezier-easing.d.ts +0 -20
- package/es/utils/bezier-easing.js +0 -90
- package/es/utils/canvas.d.ts +0 -6
- package/es/utils/canvas.js +0 -18
- package/es/utils/custom-easing.d.ts +0 -64
- package/es/utils/custom-easing.js +0 -317
- package/es/utils/deferred.d.ts +0 -43
- package/es/utils/deferred.js +0 -117
- package/es/utils/dom.d.ts +0 -2
- package/es/utils/dom.js +0 -8
- package/es/utils/event.d.ts +0 -45
- package/es/utils/event.js +0 -9
- package/es/utils/index.d.ts +0 -10
- package/es/utils/index.js +0 -10
- package/es/utils/interpolation.d.ts +0 -4
- package/es/utils/interpolation.js +0 -212
- package/es/utils/math.d.ts +0 -29
- package/es/utils/math.js +0 -236
- package/es/utils/path.d.ts +0 -15
- package/es/utils/path.js +0 -387
- package/es/utils/string.d.ts +0 -2
- package/es/utils/string.js +0 -17
- package/es/utils/text.d.ts +0 -2
- package/es/utils/text.js +0 -29
- package/lib/AbstractRenderer.d.ts +0 -37
- package/lib/AbstractRenderer.js +0 -69
- package/lib/Canvas.d.ts +0 -149
- package/lib/Canvas.js +0 -540
- package/lib/DisplayObjectPool.d.ts +0 -7
- package/lib/DisplayObjectPool.js +0 -35
- package/lib/camera/Camera.d.ts +0 -327
- package/lib/camera/Camera.js +0 -1232
- package/lib/camera/Landmark.d.ts +0 -23
- package/lib/camera/Landmark.js +0 -5
- package/lib/camera/index.d.ts +0 -2
- package/lib/camera/index.js +0 -31
- package/lib/canvas-module.d.ts +0 -1
- package/lib/canvas-module.js +0 -41
- package/lib/components/Cullable.d.ts +0 -14
- package/lib/components/Cullable.js +0 -36
- package/lib/components/Geometry.d.ts +0 -12
- package/lib/components/Geometry.js +0 -17
- package/lib/components/Renderable.d.ts +0 -24
- package/lib/components/Renderable.js +0 -25
- package/lib/components/Sortable.d.ts +0 -20
- package/lib/components/Sortable.js +0 -27
- package/lib/components/Transform.d.ts +0 -28
- package/lib/components/Transform.js +0 -71
- package/lib/components/index.d.ts +0 -5
- package/lib/components/index.js +0 -70
- package/lib/css/CSS.d.ts +0 -87
- package/lib/css/CSS.js +0 -135
- package/lib/css/CSSProperty.d.ts +0 -41
- package/lib/css/CSSProperty.js +0 -5
- package/lib/css/StyleValueRegistry.d.ts +0 -92
- package/lib/css/StyleValueRegistry.js +0 -909
- package/lib/css/cssom/CSSColorValue.d.ts +0 -23
- package/lib/css/cssom/CSSColorValue.js +0 -51
- package/lib/css/cssom/CSSGradientValue.d.ts +0 -39
- package/lib/css/cssom/CSSGradientValue.js +0 -64
- package/lib/css/cssom/CSSImageValue.d.ts +0 -1
- package/lib/css/cssom/CSSImageValue.js +0 -1
- package/lib/css/cssom/CSSKeywordValue.d.ts +0 -15
- package/lib/css/cssom/CSSKeywordValue.js +0 -45
- package/lib/css/cssom/CSSMathOperator.d.ts +0 -11
- package/lib/css/cssom/CSSMathOperator.js +0 -40
- package/lib/css/cssom/CSSNumericSumValue.d.ts +0 -7
- package/lib/css/cssom/CSSNumericSumValue.js +0 -5
- package/lib/css/cssom/CSSNumericValue.d.ts +0 -212
- package/lib/css/cssom/CSSNumericValue.js +0 -1685
- package/lib/css/cssom/CSSRGB.d.ts +0 -25
- package/lib/css/cssom/CSSRGB.js +0 -56
- package/lib/css/cssom/CSSStyleValue.d.ts +0 -53
- package/lib/css/cssom/CSSStyleValue.js +0 -634
- package/lib/css/cssom/CSSTransformComponent.d.ts +0 -22
- package/lib/css/cssom/CSSTransformComponent.js +0 -39
- package/lib/css/cssom/CSSTransformValue.d.ts +0 -30
- package/lib/css/cssom/CSSTransformValue.js +0 -56
- package/lib/css/cssom/CSSTranslate.d.ts +0 -15
- package/lib/css/cssom/CSSTranslate.js +0 -53
- package/lib/css/cssom/index.d.ts +0 -19
- package/lib/css/cssom/index.js +0 -148
- package/lib/css/cssom/types.d.ts +0 -86
- package/lib/css/cssom/types.js +0 -130
- package/lib/css/index.d.ts +0 -11
- package/lib/css/index.js +0 -109
- package/lib/css/interfaces.d.ts +0 -116
- package/lib/css/interfaces.js +0 -87
- package/lib/css/layout/FragmentResult.d.ts +0 -32
- package/lib/css/layout/FragmentResult.js +0 -51
- package/lib/css/layout/LayoutChildren.d.ts +0 -23
- package/lib/css/layout/LayoutChildren.js +0 -72
- package/lib/css/layout/LayoutContext.d.ts +0 -35
- package/lib/css/layout/LayoutContext.js +0 -49
- package/lib/css/layout/LayoutDefinition.d.ts +0 -20
- package/lib/css/layout/LayoutDefinition.js +0 -16
- package/lib/css/layout/LayoutEdges.d.ts +0 -24
- package/lib/css/layout/LayoutEdges.js +0 -56
- package/lib/css/layout/LayoutEngine.d.ts +0 -41
- package/lib/css/layout/LayoutEngine.js +0 -345
- package/lib/css/layout/LayoutFragment.d.ts +0 -26
- package/lib/css/layout/LayoutFragment.js +0 -44
- package/lib/css/layout/LayoutObject.d.ts +0 -46
- package/lib/css/layout/LayoutObject.js +0 -182
- package/lib/css/layout/LayoutRegistry.d.ts +0 -16
- package/lib/css/layout/LayoutRegistry.js +0 -87
- package/lib/css/layout/LayoutWorkTask.d.ts +0 -14
- package/lib/css/layout/LayoutWorkTask.js +0 -5
- package/lib/css/layout/index.d.ts +0 -11
- package/lib/css/layout/index.js +0 -148
- package/lib/css/layout/types.d.ts +0 -104
- package/lib/css/layout/types.js +0 -74
- package/lib/css/parser/color.d.ts +0 -6
- package/lib/css/parser/color.js +0 -260
- package/lib/css/parser/dimension.d.ts +0 -37
- package/lib/css/parser/dimension.js +0 -175
- package/lib/css/parser/filter.d.ts +0 -7
- package/lib/css/parser/filter.js +0 -56
- package/lib/css/parser/index.d.ts +0 -15
- package/lib/css/parser/index.js +0 -122
- package/lib/css/parser/numeric.d.ts +0 -19
- package/lib/css/parser/numeric.js +0 -81
- package/lib/css/parser/path.d.ts +0 -5
- package/lib/css/parser/path.js +0 -221
- package/lib/css/parser/points.d.ts +0 -12
- package/lib/css/parser/points.js +0 -69
- package/lib/css/parser/transform-origin.d.ts +0 -6
- package/lib/css/parser/transform-origin.js +0 -54
- package/lib/css/parser/transform.d.ts +0 -13
- package/lib/css/parser/transform.js +0 -303
- package/lib/css/parser/types.d.ts +0 -2
- package/lib/css/parser/types.js +0 -5
- package/lib/css/properties/CSSPropertyClipPath.d.ts +0 -22
- package/lib/css/properties/CSSPropertyClipPath.js +0 -66
- package/lib/css/properties/CSSPropertyColor.d.ts +0 -14
- package/lib/css/properties/CSSPropertyColor.js +0 -40
- package/lib/css/properties/CSSPropertyFilter.d.ts +0 -6
- package/lib/css/properties/CSSPropertyFilter.js +0 -25
- package/lib/css/properties/CSSPropertyLengthOrPercentage.d.ts +0 -20
- package/lib/css/properties/CSSPropertyLengthOrPercentage.js +0 -105
- package/lib/css/properties/CSSPropertyLengthOrPercentage12.d.ts +0 -15
- package/lib/css/properties/CSSPropertyLengthOrPercentage12.js +0 -48
- package/lib/css/properties/CSSPropertyLengthOrPercentage14.d.ts +0 -25
- package/lib/css/properties/CSSPropertyLengthOrPercentage14.js +0 -52
- package/lib/css/properties/CSSPropertyLocalPosition.d.ts +0 -13
- package/lib/css/properties/CSSPropertyLocalPosition.js +0 -96
- package/lib/css/properties/CSSPropertyOffsetDistance.d.ts +0 -9
- package/lib/css/properties/CSSPropertyOffsetDistance.js +0 -44
- package/lib/css/properties/CSSPropertyOffsetPath.d.ts +0 -5
- package/lib/css/properties/CSSPropertyOffsetPath.js +0 -39
- package/lib/css/properties/CSSPropertyOpacity.d.ts +0 -10
- package/lib/css/properties/CSSPropertyOpacity.js +0 -29
- package/lib/css/properties/CSSPropertyPath.d.ts +0 -27
- package/lib/css/properties/CSSPropertyPath.js +0 -70
- package/lib/css/properties/CSSPropertyPoints.d.ts +0 -18
- package/lib/css/properties/CSSPropertyPoints.js +0 -40
- package/lib/css/properties/CSSPropertyShadowBlur.d.ts +0 -4
- package/lib/css/properties/CSSPropertyShadowBlur.js +0 -32
- package/lib/css/properties/CSSPropertyText.d.ts +0 -7
- package/lib/css/properties/CSSPropertyText.js +0 -39
- package/lib/css/properties/CSSPropertyTextTransform.d.ts +0 -5
- package/lib/css/properties/CSSPropertyTextTransform.js +0 -38
- package/lib/css/properties/CSSPropertyTransform.d.ts +0 -38
- package/lib/css/properties/CSSPropertyTransform.js +0 -138
- package/lib/css/properties/CSSPropertyTransformOrigin.d.ts +0 -11
- package/lib/css/properties/CSSPropertyTransformOrigin.js +0 -30
- package/lib/css/properties/CSSPropertyVisibility.d.ts +0 -13
- package/lib/css/properties/CSSPropertyVisibility.js +0 -32
- package/lib/css/properties/CSSPropertyZIndex.d.ts +0 -8
- package/lib/css/properties/CSSPropertyZIndex.js +0 -42
- package/lib/css/properties/index.d.ts +0 -18
- package/lib/css/properties/index.js +0 -239
- package/lib/display-objects/Circle.d.ts +0 -17
- package/lib/display-objects/Circle.js +0 -42
- package/lib/display-objects/CustomElement.d.ts +0 -26
- package/lib/display-objects/CustomElement.js +0 -109
- package/lib/display-objects/DisplayObject.d.ts +0 -274
- package/lib/display-objects/DisplayObject.js +0 -910
- package/lib/display-objects/Ellipse.d.ts +0 -19
- package/lib/display-objects/Ellipse.js +0 -43
- package/lib/display-objects/Group.d.ts +0 -29
- package/lib/display-objects/Group.js +0 -50
- package/lib/display-objects/HTML.d.ts +0 -41
- package/lib/display-objects/HTML.js +0 -111
- package/lib/display-objects/Image.d.ts +0 -23
- package/lib/display-objects/Image.js +0 -42
- package/lib/display-objects/Line.d.ts +0 -30
- package/lib/display-objects/Line.js +0 -75
- package/lib/display-objects/Path.d.ts +0 -48
- package/lib/display-objects/Path.js +0 -142
- package/lib/display-objects/Polygon.d.ts +0 -16
- package/lib/display-objects/Polygon.js +0 -39
- package/lib/display-objects/Polyline.d.ts +0 -21
- package/lib/display-objects/Polyline.js +0 -84
- package/lib/display-objects/Rect.d.ts +0 -24
- package/lib/display-objects/Rect.js +0 -42
- package/lib/display-objects/Text.d.ts +0 -91
- package/lib/display-objects/Text.js +0 -126
- package/lib/display-objects/index.d.ts +0 -13
- package/lib/display-objects/index.js +0 -174
- package/lib/dom/Animation.d.ts +0 -132
- package/lib/dom/Animation.js +0 -511
- package/lib/dom/AnimationEffectTiming.d.ts +0 -58
- package/lib/dom/AnimationEffectTiming.js +0 -75
- package/lib/dom/AnimationEvent.d.ts +0 -11
- package/lib/dom/AnimationEvent.js +0 -42
- package/lib/dom/AnimationTimeline.d.ts +0 -40
- package/lib/dom/AnimationTimeline.js +0 -228
- package/lib/dom/CustomElementRegistry.d.ts +0 -15
- package/lib/dom/CustomElementRegistry.js +0 -50
- package/lib/dom/CustomEvent.d.ts +0 -16
- package/lib/dom/CustomEvent.js +0 -42
- package/lib/dom/Document.d.ts +0 -72
- package/lib/dom/Document.js +0 -329
- package/lib/dom/Element.d.ts +0 -187
- package/lib/dom/Element.js +0 -619
- package/lib/dom/EventTarget.d.ts +0 -40
- package/lib/dom/EventTarget.js +0 -171
- package/lib/dom/FederatedEvent.d.ts +0 -145
- package/lib/dom/FederatedEvent.js +0 -229
- package/lib/dom/FederatedMouseEvent.d.ts +0 -52
- package/lib/dom/FederatedMouseEvent.js +0 -133
- package/lib/dom/FederatedPointerEvent.d.ts +0 -75
- package/lib/dom/FederatedPointerEvent.js +0 -69
- package/lib/dom/FederatedTouchEvent.d.ts +0 -15
- package/lib/dom/FederatedTouchEvent.js +0 -27
- package/lib/dom/FederatedWheelEvent.d.ts +0 -20
- package/lib/dom/FederatedWheelEvent.js +0 -35
- package/lib/dom/KeyframeEffect.d.ts +0 -47
- package/lib/dom/KeyframeEffect.js +0 -192
- package/lib/dom/KeyframeList.d.ts +0 -2
- package/lib/dom/KeyframeList.js +0 -183
- package/lib/dom/MutationEvent.d.ts +0 -15
- package/lib/dom/MutationEvent.js +0 -37
- package/lib/dom/MutationObserver.d.ts +0 -36
- package/lib/dom/MutationObserver.js +0 -426
- package/lib/dom/MutationRecord.d.ts +0 -14
- package/lib/dom/MutationRecord.js +0 -38
- package/lib/dom/Node.d.ts +0 -138
- package/lib/dom/Node.js +0 -397
- package/lib/dom/index.d.ts +0 -20
- package/lib/dom/index.js +0 -265
- package/lib/dom/interfaces.d.ts +0 -372
- package/lib/dom/interfaces.js +0 -64
- package/lib/global-module.d.ts +0 -1
- package/lib/global-module.js +0 -170
- package/lib/index.d.ts +0 -18
- package/lib/index.js +0 -198
- package/lib/plugins/CullingPlugin.d.ts +0 -17
- package/lib/plugins/CullingPlugin.js +0 -69
- package/lib/plugins/DirtyCheckPlugin.d.ts +0 -10
- package/lib/plugins/DirtyCheckPlugin.js +0 -63
- package/lib/plugins/EventPlugin.d.ts +0 -30
- package/lib/plugins/EventPlugin.js +0 -382
- package/lib/plugins/FrustumCullingStrategy.d.ts +0 -21
- package/lib/plugins/FrustumCullingStrategy.js +0 -121
- package/lib/plugins/PrepareRendererPlugin.d.ts +0 -7
- package/lib/plugins/PrepareRendererPlugin.js +0 -87
- package/lib/services/ContextService.d.ts +0 -13
- package/lib/services/ContextService.js +0 -15
- package/lib/services/EventService.d.ts +0 -73
- package/lib/services/EventService.js +0 -1263
- package/lib/services/OffscreenCanvasCreator.d.ts +0 -13
- package/lib/services/OffscreenCanvasCreator.js +0 -66
- package/lib/services/RenderingContext.d.ts +0 -26
- package/lib/services/RenderingContext.js +0 -24
- package/lib/services/RenderingService.d.ts +0 -102
- package/lib/services/RenderingService.js +0 -244
- package/lib/services/SceneGraphSelector.d.ts +0 -23
- package/lib/services/SceneGraphSelector.js +0 -114
- package/lib/services/SceneGraphService.d.ts +0 -153
- package/lib/services/SceneGraphService.js +0 -875
- package/lib/services/TextService.d.ts +0 -36
- package/lib/services/TextService.js +0 -359
- package/lib/services/aabb/CircleUpdater.d.ts +0 -8
- package/lib/services/aabb/CircleUpdater.js +0 -40
- package/lib/services/aabb/EllipseUpdater.d.ts +0 -8
- package/lib/services/aabb/EllipseUpdater.js +0 -41
- package/lib/services/aabb/LineUpdater.d.ts +0 -8
- package/lib/services/aabb/LineUpdater.js +0 -47
- package/lib/services/aabb/PathUpdater.d.ts +0 -8
- package/lib/services/aabb/PathUpdater.js +0 -179
- package/lib/services/aabb/PolylineUpdater.d.ts +0 -8
- package/lib/services/aabb/PolylineUpdater.js +0 -56
- package/lib/services/aabb/RectUpdater.d.ts +0 -8
- package/lib/services/aabb/RectUpdater.js +0 -84
- package/lib/services/aabb/TextUpdater.d.ts +0 -21
- package/lib/services/aabb/TextUpdater.js +0 -149
- package/lib/services/aabb/index.d.ts +0 -8
- package/lib/services/aabb/index.js +0 -84
- package/lib/services/aabb/interfaces.d.ts +0 -15
- package/lib/services/aabb/interfaces.js +0 -16
- package/lib/services/index.d.ts +0 -10
- package/lib/services/index.js +0 -122
- package/lib/shapes/AABB.d.ts +0 -35
- package/lib/shapes/AABB.js +0 -248
- package/lib/shapes/BoundingSphere.d.ts +0 -8
- package/lib/shapes/BoundingSphere.js +0 -41
- package/lib/shapes/Frustum.d.ts +0 -16
- package/lib/shapes/Frustum.js +0 -96
- package/lib/shapes/Plane.d.ts +0 -14
- package/lib/shapes/Plane.js +0 -51
- package/lib/shapes/Point.d.ts +0 -11
- package/lib/shapes/Point.js +0 -38
- package/lib/shapes/Ray.d.ts +0 -24
- package/lib/shapes/Ray.js +0 -169
- package/lib/shapes/Rectangle.d.ts +0 -12
- package/lib/shapes/Rectangle.js +0 -27
- package/lib/shapes/index.d.ts +0 -7
- package/lib/shapes/index.js +0 -96
- package/lib/types.d.ts +0 -289
- package/lib/types.js +0 -69
- package/lib/utils/animation.d.ts +0 -15
- package/lib/utils/animation.js +0 -275
- package/lib/utils/assert.d.ts +0 -9
- package/lib/utils/assert.js +0 -56
- package/lib/utils/bezier-easing.d.ts +0 -20
- package/lib/utils/bezier-easing.js +0 -128
- package/lib/utils/canvas.d.ts +0 -6
- package/lib/utils/canvas.js +0 -27
- package/lib/utils/custom-easing.d.ts +0 -64
- package/lib/utils/custom-easing.js +0 -392
- package/lib/utils/deferred.d.ts +0 -43
- package/lib/utils/deferred.js +0 -131
- package/lib/utils/dom.d.ts +0 -2
- package/lib/utils/dom.js +0 -17
- package/lib/utils/event.d.ts +0 -45
- package/lib/utils/event.js +0 -17
- package/lib/utils/index.d.ts +0 -10
- package/lib/utils/index.js +0 -135
- package/lib/utils/interpolation.d.ts +0 -4
- package/lib/utils/interpolation.js +0 -229
- package/lib/utils/math.d.ts +0 -29
- package/lib/utils/math.js +0 -273
- package/lib/utils/path.d.ts +0 -15
- package/lib/utils/path.js +0 -409
- package/lib/utils/string.d.ts +0 -2
- package/lib/utils/string.js +0 -27
- package/lib/utils/text.d.ts +0 -2
- package/lib/utils/text.js +0 -39
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { CSSStyleValue, CSSStyleValueType } from './CSSStyleValue';
|
|
3
|
-
/**
|
|
4
|
-
* represents transform-list values as used by the CSS transform property.
|
|
5
|
-
*
|
|
6
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/CSSTransformValue
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
var CSSTransformValue =
|
|
10
|
-
/** @class */
|
|
11
|
-
function (_super) {
|
|
12
|
-
__extends(CSSTransformValue, _super);
|
|
13
|
-
|
|
14
|
-
function CSSTransformValue(transforms) {
|
|
15
|
-
var _this = _super.call(this) || this;
|
|
16
|
-
|
|
17
|
-
_this.transforms = transforms;
|
|
18
|
-
_this.is2D = transforms.every(function (transform) {
|
|
19
|
-
return transform.is2D;
|
|
20
|
-
});
|
|
21
|
-
_this.length = transforms.length;
|
|
22
|
-
return _this;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
CSSTransformValue.prototype.clone = function () {
|
|
26
|
-
return new CSSTransformValue(this.transforms);
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
CSSTransformValue.prototype.getType = function () {
|
|
30
|
-
return CSSStyleValueType.kTransformType;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
CSSTransformValue.prototype.buildCSSText = function (n, p, result) {
|
|
34
|
-
var text = '';
|
|
35
|
-
return result += text;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* returns a DOMMatrix object
|
|
39
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/CSSTransformValue/toMatrix
|
|
40
|
-
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
CSSTransformValue.prototype.toMatrix = function () {};
|
|
44
|
-
|
|
45
|
-
return CSSTransformValue;
|
|
46
|
-
}(CSSStyleValue);
|
|
47
|
-
|
|
48
|
-
export { CSSTransformValue };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { CSSNumericValue } from './CSSNumericValue';
|
|
2
|
-
import { CSSTransformComponent } from './CSSTransformComponent';
|
|
3
|
-
/**
|
|
4
|
-
* Represents a translation value in a CSSTransformValue
|
|
5
|
-
* used for properties like "transform".
|
|
6
|
-
*
|
|
7
|
-
* @see https://drafts.css-houdini.org/css-typed-om/#csstranslate
|
|
8
|
-
*/
|
|
9
|
-
export declare class CSSTranslate extends CSSTransformComponent {
|
|
10
|
-
x: CSSNumericValue;
|
|
11
|
-
y: CSSNumericValue;
|
|
12
|
-
z: CSSNumericValue;
|
|
13
|
-
constructor(x: CSSNumericValue, y: CSSNumericValue, z: CSSNumericValue, is2D: boolean);
|
|
14
|
-
toMatrix(): DOMMatrix;
|
|
15
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
|
-
import { CSSTransformComponent } from './CSSTransformComponent'; // import { UnitType } from './types';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Represents a translation value in a CSSTransformValue
|
|
6
|
-
* used for properties like "transform".
|
|
7
|
-
*
|
|
8
|
-
* @see https://drafts.css-houdini.org/css-typed-om/#csstranslate
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
var CSSTranslate =
|
|
12
|
-
/** @class */
|
|
13
|
-
function (_super) {
|
|
14
|
-
__extends(CSSTranslate, _super);
|
|
15
|
-
|
|
16
|
-
function CSSTranslate(x, y, z, is2D) {
|
|
17
|
-
var _this = _super.call(this, is2D) || this;
|
|
18
|
-
|
|
19
|
-
_this.x = x;
|
|
20
|
-
_this.y = y;
|
|
21
|
-
_this.z = z;
|
|
22
|
-
return _this;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
CSSTranslate.prototype.toMatrix = function () {
|
|
26
|
-
// const x = this.x.to(UnitType.kPixels);
|
|
27
|
-
// const y = this.y.to(UnitType.kPixels);
|
|
28
|
-
// const z = this.z.to(UnitType.kPixels);
|
|
29
|
-
// let matrix: DOMMatrix;
|
|
30
|
-
// if (this.is2D) {
|
|
31
|
-
// matrix = new DOMMatrix([1, 0, 0, 1, 0, 0]);
|
|
32
|
-
// matrix.translateSelf(x.value, y.value);
|
|
33
|
-
// } else {
|
|
34
|
-
// matrix = new DOMMatrix();
|
|
35
|
-
// matrix.translateSelf(x.value, y.value, z.value);
|
|
36
|
-
// }
|
|
37
|
-
// return matrix;
|
|
38
|
-
return null;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
return CSSTranslate;
|
|
42
|
-
}(CSSTransformComponent);
|
|
43
|
-
|
|
44
|
-
export { CSSTranslate };
|
package/es/css/cssom/index.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* implements CSS_Typed_OM_API
|
|
3
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/CSS_Typed_OM_API/Guide
|
|
4
|
-
* @see https://github.dev/WebKit/WebKit/blob/main/Source/WebCore/css
|
|
5
|
-
*
|
|
6
|
-
* add CSSProperty API:
|
|
7
|
-
* @see https://codereview.chromium.org/2735093005
|
|
8
|
-
*/
|
|
9
|
-
export * from './types';
|
|
10
|
-
export * from './CSSColorValue';
|
|
11
|
-
export * from './CSSKeywordValue';
|
|
12
|
-
export * from './CSSMathOperator';
|
|
13
|
-
export * from './CSSNumericSumValue';
|
|
14
|
-
export * from './CSSNumericValue';
|
|
15
|
-
export * from './CSSRGB';
|
|
16
|
-
export * from './CSSGradientValue';
|
|
17
|
-
export * from './CSSStyleValue';
|
|
18
|
-
export * from './CSSTransformValue';
|
|
19
|
-
export * from './CSSTranslate';
|
package/es/css/cssom/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* implements CSS_Typed_OM_API
|
|
3
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/CSS_Typed_OM_API/Guide
|
|
4
|
-
* @see https://github.dev/WebKit/WebKit/blob/main/Source/WebCore/css
|
|
5
|
-
*
|
|
6
|
-
* add CSSProperty API:
|
|
7
|
-
* @see https://codereview.chromium.org/2735093005
|
|
8
|
-
*/
|
|
9
|
-
export * from './types';
|
|
10
|
-
export * from './CSSColorValue';
|
|
11
|
-
export * from './CSSKeywordValue';
|
|
12
|
-
export * from './CSSMathOperator';
|
|
13
|
-
export * from './CSSNumericSumValue';
|
|
14
|
-
export * from './CSSNumericValue';
|
|
15
|
-
export * from './CSSRGB';
|
|
16
|
-
export * from './CSSGradientValue';
|
|
17
|
-
export * from './CSSStyleValue';
|
|
18
|
-
export * from './CSSTransformValue';
|
|
19
|
-
export * from './CSSTranslate';
|
package/es/css/cssom/types.d.ts
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
export declare enum UnitType {
|
|
2
|
-
kUnknown = 0,
|
|
3
|
-
kNumber = 1,
|
|
4
|
-
kPercentage = 2,
|
|
5
|
-
kEms = 3,
|
|
6
|
-
kExs = 4,
|
|
7
|
-
kPixels = 5,
|
|
8
|
-
kCentimeters = 6,
|
|
9
|
-
kMillimeters = 7,
|
|
10
|
-
kInches = 8,
|
|
11
|
-
kPoints = 9,
|
|
12
|
-
kPicas = 10,
|
|
13
|
-
kQuarterMillimeters = 11,
|
|
14
|
-
kViewportWidth = 12,
|
|
15
|
-
kViewportHeight = 13,
|
|
16
|
-
kViewportInlineSize = 14,
|
|
17
|
-
kViewportBlockSize = 15,
|
|
18
|
-
kViewportMin = 16,
|
|
19
|
-
kViewportMax = 17,
|
|
20
|
-
kSmallViewportWidth = 18,
|
|
21
|
-
kSmallViewportHeight = 19,
|
|
22
|
-
kSmallViewportInlineSize = 20,
|
|
23
|
-
kSmallViewportBlockSize = 21,
|
|
24
|
-
kSmallViewportMin = 22,
|
|
25
|
-
kSmallViewportMax = 23,
|
|
26
|
-
kLargeViewportWidth = 24,
|
|
27
|
-
kLargeViewportHeight = 25,
|
|
28
|
-
kLargeViewportInlineSize = 26,
|
|
29
|
-
kLargeViewportBlockSize = 27,
|
|
30
|
-
kLargeViewportMin = 28,
|
|
31
|
-
kLargeViewportMax = 29,
|
|
32
|
-
kDynamicViewportWidth = 30,
|
|
33
|
-
kDynamicViewportHeight = 31,
|
|
34
|
-
kDynamicViewportInlineSize = 32,
|
|
35
|
-
kDynamicViewportBlockSize = 33,
|
|
36
|
-
kDynamicViewportMin = 34,
|
|
37
|
-
kDynamicViewportMax = 35,
|
|
38
|
-
kContainerWidth = 36,
|
|
39
|
-
kContainerHeight = 37,
|
|
40
|
-
kContainerInlineSize = 38,
|
|
41
|
-
kContainerBlockSize = 39,
|
|
42
|
-
kContainerMin = 40,
|
|
43
|
-
kContainerMax = 41,
|
|
44
|
-
kRems = 42,
|
|
45
|
-
kChs = 43,
|
|
46
|
-
kUserUnits = 44,
|
|
47
|
-
kDegrees = 45,
|
|
48
|
-
kRadians = 46,
|
|
49
|
-
kGradians = 47,
|
|
50
|
-
kTurns = 48,
|
|
51
|
-
kMilliseconds = 49,
|
|
52
|
-
kSeconds = 50,
|
|
53
|
-
kHertz = 51,
|
|
54
|
-
kKilohertz = 52,
|
|
55
|
-
kDotsPerPixel = 53,
|
|
56
|
-
kDotsPerInch = 54,
|
|
57
|
-
kDotsPerCentimeter = 55,
|
|
58
|
-
kFraction = 56,
|
|
59
|
-
kInteger = 57,
|
|
60
|
-
kQuirkyEms = 58
|
|
61
|
-
}
|
|
62
|
-
export declare enum UnitCategory {
|
|
63
|
-
kUNumber = 0,
|
|
64
|
-
kUPercent = 1,
|
|
65
|
-
kULength = 2,
|
|
66
|
-
kUAngle = 3,
|
|
67
|
-
kUTime = 4,
|
|
68
|
-
kUFrequency = 5,
|
|
69
|
-
kUResolution = 6,
|
|
70
|
-
kUOther = 7
|
|
71
|
-
}
|
|
72
|
-
export declare enum ValueRange {
|
|
73
|
-
kAll = 0,
|
|
74
|
-
kNonNegative = 1,
|
|
75
|
-
kInteger = 2,
|
|
76
|
-
kNonNegativeInteger = 3,
|
|
77
|
-
kPositiveInteger = 4
|
|
78
|
-
}
|
|
79
|
-
export declare enum Nested {
|
|
80
|
-
kYes = 0,
|
|
81
|
-
kNo = 1
|
|
82
|
-
}
|
|
83
|
-
export declare enum ParenLess {
|
|
84
|
-
kYes = 0,
|
|
85
|
-
kNo = 1
|
|
86
|
-
}
|
package/es/css/cssom/types.js
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
// These units are iterated through, so be careful when adding or changing the
|
|
2
|
-
// order.
|
|
3
|
-
export var UnitType;
|
|
4
|
-
|
|
5
|
-
(function (UnitType) {
|
|
6
|
-
UnitType[UnitType["kUnknown"] = 0] = "kUnknown";
|
|
7
|
-
UnitType[UnitType["kNumber"] = 1] = "kNumber";
|
|
8
|
-
UnitType[UnitType["kPercentage"] = 2] = "kPercentage"; // Length units
|
|
9
|
-
|
|
10
|
-
UnitType[UnitType["kEms"] = 3] = "kEms";
|
|
11
|
-
UnitType[UnitType["kExs"] = 4] = "kExs";
|
|
12
|
-
UnitType[UnitType["kPixels"] = 5] = "kPixels";
|
|
13
|
-
UnitType[UnitType["kCentimeters"] = 6] = "kCentimeters";
|
|
14
|
-
UnitType[UnitType["kMillimeters"] = 7] = "kMillimeters";
|
|
15
|
-
UnitType[UnitType["kInches"] = 8] = "kInches";
|
|
16
|
-
UnitType[UnitType["kPoints"] = 9] = "kPoints";
|
|
17
|
-
UnitType[UnitType["kPicas"] = 10] = "kPicas";
|
|
18
|
-
UnitType[UnitType["kQuarterMillimeters"] = 11] = "kQuarterMillimeters"; // https://drafts.csswg.org/css-values-4/#viewport-relative-lengths
|
|
19
|
-
//
|
|
20
|
-
// See also IsViewportPercentageLength.
|
|
21
|
-
|
|
22
|
-
UnitType[UnitType["kViewportWidth"] = 12] = "kViewportWidth";
|
|
23
|
-
UnitType[UnitType["kViewportHeight"] = 13] = "kViewportHeight";
|
|
24
|
-
UnitType[UnitType["kViewportInlineSize"] = 14] = "kViewportInlineSize";
|
|
25
|
-
UnitType[UnitType["kViewportBlockSize"] = 15] = "kViewportBlockSize";
|
|
26
|
-
UnitType[UnitType["kViewportMin"] = 16] = "kViewportMin";
|
|
27
|
-
UnitType[UnitType["kViewportMax"] = 17] = "kViewportMax";
|
|
28
|
-
UnitType[UnitType["kSmallViewportWidth"] = 18] = "kSmallViewportWidth";
|
|
29
|
-
UnitType[UnitType["kSmallViewportHeight"] = 19] = "kSmallViewportHeight";
|
|
30
|
-
UnitType[UnitType["kSmallViewportInlineSize"] = 20] = "kSmallViewportInlineSize";
|
|
31
|
-
UnitType[UnitType["kSmallViewportBlockSize"] = 21] = "kSmallViewportBlockSize";
|
|
32
|
-
UnitType[UnitType["kSmallViewportMin"] = 22] = "kSmallViewportMin";
|
|
33
|
-
UnitType[UnitType["kSmallViewportMax"] = 23] = "kSmallViewportMax";
|
|
34
|
-
UnitType[UnitType["kLargeViewportWidth"] = 24] = "kLargeViewportWidth";
|
|
35
|
-
UnitType[UnitType["kLargeViewportHeight"] = 25] = "kLargeViewportHeight";
|
|
36
|
-
UnitType[UnitType["kLargeViewportInlineSize"] = 26] = "kLargeViewportInlineSize";
|
|
37
|
-
UnitType[UnitType["kLargeViewportBlockSize"] = 27] = "kLargeViewportBlockSize";
|
|
38
|
-
UnitType[UnitType["kLargeViewportMin"] = 28] = "kLargeViewportMin";
|
|
39
|
-
UnitType[UnitType["kLargeViewportMax"] = 29] = "kLargeViewportMax";
|
|
40
|
-
UnitType[UnitType["kDynamicViewportWidth"] = 30] = "kDynamicViewportWidth";
|
|
41
|
-
UnitType[UnitType["kDynamicViewportHeight"] = 31] = "kDynamicViewportHeight";
|
|
42
|
-
UnitType[UnitType["kDynamicViewportInlineSize"] = 32] = "kDynamicViewportInlineSize";
|
|
43
|
-
UnitType[UnitType["kDynamicViewportBlockSize"] = 33] = "kDynamicViewportBlockSize";
|
|
44
|
-
UnitType[UnitType["kDynamicViewportMin"] = 34] = "kDynamicViewportMin";
|
|
45
|
-
UnitType[UnitType["kDynamicViewportMax"] = 35] = "kDynamicViewportMax"; // https://drafts.csswg.org/css-contain-3/#container-lengths
|
|
46
|
-
//
|
|
47
|
-
// See also IsContainerPercentageLength.
|
|
48
|
-
|
|
49
|
-
UnitType[UnitType["kContainerWidth"] = 36] = "kContainerWidth";
|
|
50
|
-
UnitType[UnitType["kContainerHeight"] = 37] = "kContainerHeight";
|
|
51
|
-
UnitType[UnitType["kContainerInlineSize"] = 38] = "kContainerInlineSize";
|
|
52
|
-
UnitType[UnitType["kContainerBlockSize"] = 39] = "kContainerBlockSize";
|
|
53
|
-
UnitType[UnitType["kContainerMin"] = 40] = "kContainerMin";
|
|
54
|
-
UnitType[UnitType["kContainerMax"] = 41] = "kContainerMax";
|
|
55
|
-
UnitType[UnitType["kRems"] = 42] = "kRems";
|
|
56
|
-
UnitType[UnitType["kChs"] = 43] = "kChs";
|
|
57
|
-
UnitType[UnitType["kUserUnits"] = 44] = "kUserUnits"; // Angle units
|
|
58
|
-
|
|
59
|
-
UnitType[UnitType["kDegrees"] = 45] = "kDegrees";
|
|
60
|
-
UnitType[UnitType["kRadians"] = 46] = "kRadians";
|
|
61
|
-
UnitType[UnitType["kGradians"] = 47] = "kGradians";
|
|
62
|
-
UnitType[UnitType["kTurns"] = 48] = "kTurns"; // Time units
|
|
63
|
-
|
|
64
|
-
UnitType[UnitType["kMilliseconds"] = 49] = "kMilliseconds";
|
|
65
|
-
UnitType[UnitType["kSeconds"] = 50] = "kSeconds";
|
|
66
|
-
UnitType[UnitType["kHertz"] = 51] = "kHertz";
|
|
67
|
-
UnitType[UnitType["kKilohertz"] = 52] = "kKilohertz"; // Resolution
|
|
68
|
-
|
|
69
|
-
UnitType[UnitType["kDotsPerPixel"] = 53] = "kDotsPerPixel";
|
|
70
|
-
UnitType[UnitType["kDotsPerInch"] = 54] = "kDotsPerInch";
|
|
71
|
-
UnitType[UnitType["kDotsPerCentimeter"] = 55] = "kDotsPerCentimeter"; // Other units
|
|
72
|
-
|
|
73
|
-
UnitType[UnitType["kFraction"] = 56] = "kFraction";
|
|
74
|
-
UnitType[UnitType["kInteger"] = 57] = "kInteger"; // This value is used to handle quirky margins in reflow roots (body, td,
|
|
75
|
-
// and th) like WinIE. The basic idea is that a stylesheet can use the value
|
|
76
|
-
// __qem (for quirky em) instead of em. When the quirky value is used, if
|
|
77
|
-
// you're in quirks mode, the margin will collapse away inside a table cell.
|
|
78
|
-
// This quirk is specified in the HTML spec but our impl is different.
|
|
79
|
-
// TODO: Remove this. crbug.com/443952
|
|
80
|
-
|
|
81
|
-
UnitType[UnitType["kQuirkyEms"] = 58] = "kQuirkyEms";
|
|
82
|
-
})(UnitType || (UnitType = {}));
|
|
83
|
-
|
|
84
|
-
export var UnitCategory;
|
|
85
|
-
|
|
86
|
-
(function (UnitCategory) {
|
|
87
|
-
UnitCategory[UnitCategory["kUNumber"] = 0] = "kUNumber";
|
|
88
|
-
UnitCategory[UnitCategory["kUPercent"] = 1] = "kUPercent";
|
|
89
|
-
UnitCategory[UnitCategory["kULength"] = 2] = "kULength";
|
|
90
|
-
UnitCategory[UnitCategory["kUAngle"] = 3] = "kUAngle";
|
|
91
|
-
UnitCategory[UnitCategory["kUTime"] = 4] = "kUTime";
|
|
92
|
-
UnitCategory[UnitCategory["kUFrequency"] = 5] = "kUFrequency";
|
|
93
|
-
UnitCategory[UnitCategory["kUResolution"] = 6] = "kUResolution";
|
|
94
|
-
UnitCategory[UnitCategory["kUOther"] = 7] = "kUOther";
|
|
95
|
-
})(UnitCategory || (UnitCategory = {}));
|
|
96
|
-
|
|
97
|
-
export var ValueRange;
|
|
98
|
-
|
|
99
|
-
(function (ValueRange) {
|
|
100
|
-
ValueRange[ValueRange["kAll"] = 0] = "kAll";
|
|
101
|
-
ValueRange[ValueRange["kNonNegative"] = 1] = "kNonNegative";
|
|
102
|
-
ValueRange[ValueRange["kInteger"] = 2] = "kInteger";
|
|
103
|
-
ValueRange[ValueRange["kNonNegativeInteger"] = 3] = "kNonNegativeInteger";
|
|
104
|
-
ValueRange[ValueRange["kPositiveInteger"] = 4] = "kPositiveInteger";
|
|
105
|
-
})(ValueRange || (ValueRange = {}));
|
|
106
|
-
|
|
107
|
-
export var Nested;
|
|
108
|
-
|
|
109
|
-
(function (Nested) {
|
|
110
|
-
Nested[Nested["kYes"] = 0] = "kYes";
|
|
111
|
-
Nested[Nested["kNo"] = 1] = "kNo";
|
|
112
|
-
})(Nested || (Nested = {}));
|
|
113
|
-
|
|
114
|
-
export var ParenLess;
|
|
115
|
-
|
|
116
|
-
(function (ParenLess) {
|
|
117
|
-
ParenLess[ParenLess["kYes"] = 0] = "kYes";
|
|
118
|
-
ParenLess[ParenLess["kNo"] = 1] = "kNo";
|
|
119
|
-
})(ParenLess || (ParenLess = {}));
|
package/es/css/index.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model
|
|
3
|
-
*/
|
|
4
|
-
export * from './interfaces';
|
|
5
|
-
export * from './cssom';
|
|
6
|
-
export * from './parser';
|
|
7
|
-
export * from './properties';
|
|
8
|
-
export * from './layout';
|
|
9
|
-
export * from './CSS';
|
|
10
|
-
export * from './CSSProperty';
|
|
11
|
-
export * from './StyleValueRegistry';
|
package/es/css/index.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model
|
|
3
|
-
*/
|
|
4
|
-
export * from './interfaces';
|
|
5
|
-
export * from './cssom';
|
|
6
|
-
export * from './parser';
|
|
7
|
-
export * from './properties';
|
|
8
|
-
export * from './layout';
|
|
9
|
-
export * from './CSS';
|
|
10
|
-
export * from './CSSProperty';
|
|
11
|
-
export * from './StyleValueRegistry';
|
package/es/css/interfaces.d.ts
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { Syringe } from 'mana-syringe';
|
|
2
|
-
import type { DisplayObject } from '../display-objects';
|
|
3
|
-
/**
|
|
4
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type
|
|
5
|
-
*/
|
|
6
|
-
export declare enum PropertySyntax {
|
|
7
|
-
/**
|
|
8
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#coordinate
|
|
9
|
-
*/
|
|
10
|
-
COORDINATE = "<coordinate>",
|
|
11
|
-
/**
|
|
12
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#color
|
|
13
|
-
*/
|
|
14
|
-
COLOR = "<color>",
|
|
15
|
-
/**
|
|
16
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#paint
|
|
17
|
-
*/
|
|
18
|
-
PAINT = "<paint>",
|
|
19
|
-
/**
|
|
20
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#number
|
|
21
|
-
*/
|
|
22
|
-
NUMBER = "<number>",
|
|
23
|
-
/**
|
|
24
|
-
* <number> with range 0..1
|
|
25
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#opacity_value
|
|
26
|
-
*/
|
|
27
|
-
OPACITY_VALUE = "<opacity-value>",
|
|
28
|
-
/**
|
|
29
|
-
* <number> with range 0..Infinity
|
|
30
|
-
*/
|
|
31
|
-
SHADOW_BLUR = "<shadow-blur>",
|
|
32
|
-
/**
|
|
33
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#length
|
|
34
|
-
*/
|
|
35
|
-
LENGTH = "<length>",
|
|
36
|
-
/**
|
|
37
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#percentage
|
|
38
|
-
*/
|
|
39
|
-
PERCENTAGE = "<percentage>",
|
|
40
|
-
LENGTH_PERCENTAGE = "<length> | <percentage>",
|
|
41
|
-
LENGTH_PERCENTAGE_12 = "[<length> | <percentage>]{1,2}",
|
|
42
|
-
/**
|
|
43
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/margin#formal_syntax
|
|
44
|
-
*/
|
|
45
|
-
LENGTH_PERCENTAGE_14 = "[<length> | <percentage>]{1,4}",
|
|
46
|
-
/**
|
|
47
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#list-of-ts
|
|
48
|
-
*/
|
|
49
|
-
LIST_OF_POINTS = "<list-of-points>",
|
|
50
|
-
PATH = "<path>",
|
|
51
|
-
/**
|
|
52
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/filter#formal_syntax
|
|
53
|
-
*/
|
|
54
|
-
FILTER = "<filter>",
|
|
55
|
-
Z_INDEX = "<z-index>",
|
|
56
|
-
OFFSET_PATH = "<offset-path>",
|
|
57
|
-
OFFSET_DISTANCE = "<offset-distance>",
|
|
58
|
-
CLIP_PATH = "<clip-path>",
|
|
59
|
-
TRANSFORM = "<transform>",
|
|
60
|
-
TRANSFORM_ORIGIN = "<transform-origin>",
|
|
61
|
-
TEXT = "<text>",
|
|
62
|
-
TEXT_TRANSFORM = "<text-transform>"
|
|
63
|
-
}
|
|
64
|
-
export interface PropertyMetadata {
|
|
65
|
-
name: string;
|
|
66
|
-
/**
|
|
67
|
-
* The interpolable flag indicates whether a property can be animated smoothly.
|
|
68
|
-
* Default to `false`.
|
|
69
|
-
*/
|
|
70
|
-
interpolable?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* The property will inherit by default if no value is specified.
|
|
73
|
-
* Default to `false`.
|
|
74
|
-
*/
|
|
75
|
-
inherited?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* This property affects only one field on ComputedStyle, and can be set
|
|
78
|
-
* directly during inheritance instead of forcing a recalc.
|
|
79
|
-
*/
|
|
80
|
-
independent?: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* This specifies the default value for this field.
|
|
83
|
-
* - for keyword fields, this is the initial keyword
|
|
84
|
-
* - for other fields, this is a string containg the C++ expression that is used to initialise the field.
|
|
85
|
-
*/
|
|
86
|
-
defaultValue?: string;
|
|
87
|
-
/**
|
|
88
|
-
* The resolved value used for getComputedStyle() depends on layout for this
|
|
89
|
-
* property, which means we may need to update layout to return the correct
|
|
90
|
-
* value from getComputedStyle().
|
|
91
|
-
*/
|
|
92
|
-
layoutDependent?: boolean;
|
|
93
|
-
/**
|
|
94
|
-
* This specifies all valid keyword values for the property.
|
|
95
|
-
*/
|
|
96
|
-
keywords?: string[];
|
|
97
|
-
/**
|
|
98
|
-
* eg. strokeWidth is an alias of lineWidth
|
|
99
|
-
*/
|
|
100
|
-
alias?: string[];
|
|
101
|
-
/**
|
|
102
|
-
* sort before init attributes according to this priority
|
|
103
|
-
*/
|
|
104
|
-
parsePriority?: number;
|
|
105
|
-
/**
|
|
106
|
-
* eg. <color> <paint> <number>
|
|
107
|
-
*/
|
|
108
|
-
syntax?: string;
|
|
109
|
-
}
|
|
110
|
-
export declare const StyleValueRegistry: Syringe.DefinedToken;
|
|
111
|
-
export interface StyleValueRegistry {
|
|
112
|
-
recalc: (displayObject: DisplayObject) => void;
|
|
113
|
-
registerMetadata: (metadata: PropertyMetadata) => void;
|
|
114
|
-
unregisterMetadata: (name: string) => void;
|
|
115
|
-
getMetadata: (name: string) => PropertyMetadata;
|
|
116
|
-
}
|
package/es/css/interfaces.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { Syringe } from 'mana-syringe';
|
|
2
|
-
/**
|
|
3
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
export var PropertySyntax;
|
|
7
|
-
|
|
8
|
-
(function (PropertySyntax) {
|
|
9
|
-
/**
|
|
10
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#coordinate
|
|
11
|
-
*/
|
|
12
|
-
PropertySyntax["COORDINATE"] = "<coordinate>";
|
|
13
|
-
/**
|
|
14
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#color
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
PropertySyntax["COLOR"] = "<color>";
|
|
18
|
-
/**
|
|
19
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#paint
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
|
-
PropertySyntax["PAINT"] = "<paint>";
|
|
23
|
-
/**
|
|
24
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#number
|
|
25
|
-
*/
|
|
26
|
-
|
|
27
|
-
PropertySyntax["NUMBER"] = "<number>";
|
|
28
|
-
/**
|
|
29
|
-
* <number> with range 0..1
|
|
30
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#opacity_value
|
|
31
|
-
*/
|
|
32
|
-
|
|
33
|
-
PropertySyntax["OPACITY_VALUE"] = "<opacity-value>";
|
|
34
|
-
/**
|
|
35
|
-
* <number> with range 0..Infinity
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
|
-
PropertySyntax["SHADOW_BLUR"] = "<shadow-blur>";
|
|
39
|
-
/**
|
|
40
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#length
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
PropertySyntax["LENGTH"] = "<length>";
|
|
44
|
-
/**
|
|
45
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#percentage
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
PropertySyntax["PERCENTAGE"] = "<percentage>";
|
|
49
|
-
PropertySyntax["LENGTH_PERCENTAGE"] = "<length> | <percentage>";
|
|
50
|
-
PropertySyntax["LENGTH_PERCENTAGE_12"] = "[<length> | <percentage>]{1,2}";
|
|
51
|
-
/**
|
|
52
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/margin#formal_syntax
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
PropertySyntax["LENGTH_PERCENTAGE_14"] = "[<length> | <percentage>]{1,4}";
|
|
56
|
-
/**
|
|
57
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/SVG/Content_type#list-of-ts
|
|
58
|
-
*/
|
|
59
|
-
|
|
60
|
-
PropertySyntax["LIST_OF_POINTS"] = "<list-of-points>";
|
|
61
|
-
PropertySyntax["PATH"] = "<path>";
|
|
62
|
-
/**
|
|
63
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/filter#formal_syntax
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
|
-
PropertySyntax["FILTER"] = "<filter>";
|
|
67
|
-
PropertySyntax["Z_INDEX"] = "<z-index>";
|
|
68
|
-
PropertySyntax["OFFSET_PATH"] = "<offset-path>";
|
|
69
|
-
PropertySyntax["OFFSET_DISTANCE"] = "<offset-distance>";
|
|
70
|
-
PropertySyntax["CLIP_PATH"] = "<clip-path>";
|
|
71
|
-
PropertySyntax["TRANSFORM"] = "<transform>";
|
|
72
|
-
PropertySyntax["TRANSFORM_ORIGIN"] = "<transform-origin>";
|
|
73
|
-
PropertySyntax["TEXT"] = "<text>";
|
|
74
|
-
PropertySyntax["TEXT_TRANSFORM"] = "<text-transform>";
|
|
75
|
-
})(PropertySyntax || (PropertySyntax = {}));
|
|
76
|
-
|
|
77
|
-
export var StyleValueRegistry = Syringe.defineToken('StyleValueRegistry');
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Syringe } from 'mana-syringe';
|
|
2
|
-
import { LayoutObject } from './LayoutObject';
|
|
3
|
-
import { LayoutContext } from './LayoutContext';
|
|
4
|
-
import type { LayoutFragment } from './LayoutFragment';
|
|
5
|
-
export declare const FragmentResultFactory: Syringe.DefinedToken;
|
|
6
|
-
export interface FragmentResultFactory {
|
|
7
|
-
(options: FragmentResultOptions): FragmentResult;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* The web developer defined layout method can return either a FragmentResultOptions or a FragmentResult.
|
|
11
|
-
*/
|
|
12
|
-
export declare const FragmentResultOptions: Syringe.DefinedToken;
|
|
13
|
-
export interface FragmentResultOptions<T = void> {
|
|
14
|
-
inlineSize: number;
|
|
15
|
-
blockSize: number;
|
|
16
|
-
autoBlockSize: number;
|
|
17
|
-
childFragments: LayoutFragment[];
|
|
18
|
-
data: T;
|
|
19
|
-
}
|
|
20
|
-
export declare const ContextNode: Syringe.DefinedToken;
|
|
21
|
-
export declare class FragmentResult<T = void> {
|
|
22
|
-
protected readonly _layoutContext: LayoutContext;
|
|
23
|
-
protected readonly _node: LayoutObject;
|
|
24
|
-
protected readonly options: FragmentResultOptions<T>;
|
|
25
|
-
private layoutContext;
|
|
26
|
-
readonly inlineSize: number;
|
|
27
|
-
readonly blockSize: number;
|
|
28
|
-
private node;
|
|
29
|
-
childFragments: LayoutFragment[];
|
|
30
|
-
data: T;
|
|
31
|
-
constructor(_layoutContext: LayoutContext, _node: LayoutObject, options: FragmentResultOptions<T>);
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { __decorate, __metadata, __param } from "tslib";
|
|
2
|
-
import { inject, injectable, Syringe } from 'mana-syringe';
|
|
3
|
-
import { LayoutObject } from './LayoutObject';
|
|
4
|
-
import { LayoutContext } from './LayoutContext';
|
|
5
|
-
export var FragmentResultFactory = Syringe.defineToken('FragmentResultFactory');
|
|
6
|
-
/**
|
|
7
|
-
* The web developer defined layout method can return either a FragmentResultOptions or a FragmentResult.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
export var FragmentResultOptions = Syringe.defineToken('FragmentResultOptions');
|
|
11
|
-
export var ContextNode = Syringe.defineToken('contextNode');
|
|
12
|
-
|
|
13
|
-
var FragmentResult =
|
|
14
|
-
/** @class */
|
|
15
|
-
function () {
|
|
16
|
-
function FragmentResult(_layoutContext, _node, options) {
|
|
17
|
-
this._layoutContext = _layoutContext;
|
|
18
|
-
this._node = _node;
|
|
19
|
-
this.options = options;
|
|
20
|
-
this.layoutContext = _layoutContext;
|
|
21
|
-
this.inlineSize = options === null || options === void 0 ? void 0 : options.inlineSize;
|
|
22
|
-
this.blockSize = options === null || options === void 0 ? void 0 : options.blockSize;
|
|
23
|
-
this.childFragments = options === null || options === void 0 ? void 0 : options.childFragments;
|
|
24
|
-
this.data = options.data;
|
|
25
|
-
this.node = _node;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
FragmentResult = __decorate([injectable(), __param(0, inject(LayoutContext)), __param(1, inject(ContextNode)), __param(2, inject(FragmentResultOptions)), __metadata("design:paramtypes", [LayoutContext, LayoutObject, Object])], FragmentResult);
|
|
29
|
-
return FragmentResult;
|
|
30
|
-
}();
|
|
31
|
-
|
|
32
|
-
export { FragmentResult };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Syringe } from 'mana-syringe';
|
|
2
|
-
import type { LayoutObject } from './LayoutObject';
|
|
3
|
-
import { LayoutContext } from './LayoutContext';
|
|
4
|
-
import type { LayoutFragment } from './LayoutFragment';
|
|
5
|
-
import type { IntrinsicSizes, LayoutConstraints } from './types';
|
|
6
|
-
export declare const LayoutChildrenFactory: Syringe.DefinedToken;
|
|
7
|
-
export interface LayoutChildrenFactory {
|
|
8
|
-
(options: LayoutChildrenOptions): LayoutChildren;
|
|
9
|
-
}
|
|
10
|
-
export declare const LayoutChildrenOptions: Syringe.DefinedToken;
|
|
11
|
-
export interface LayoutChildrenOptions {
|
|
12
|
-
node: LayoutObject;
|
|
13
|
-
}
|
|
14
|
-
export declare class LayoutChildren {
|
|
15
|
-
protected readonly _layoutContext: LayoutContext;
|
|
16
|
-
protected readonly options: LayoutChildrenOptions;
|
|
17
|
-
node: LayoutObject;
|
|
18
|
-
readonly styleMap: Map<string, any>;
|
|
19
|
-
layoutContext: LayoutContext;
|
|
20
|
-
constructor(_layoutContext: LayoutContext, options: LayoutChildrenOptions);
|
|
21
|
-
intrinsicSizes(): Promise<IntrinsicSizes>;
|
|
22
|
-
layoutNextFragment(constraints: LayoutConstraints): Promise<LayoutFragment>;
|
|
23
|
-
}
|